@guihz/trading-vue-editor-tes 0.0.151 → 0.0.152

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,231 @@
1
+ var Zg=Object.defineProperty;var Qg=(po,pi,Cr)=>pi in po?Zg(po,pi,{enumerable:!0,configurable:!0,writable:!0,value:Cr}):po[pi]=Cr;var k=(po,pi,Cr)=>(Qg(po,typeof pi!="symbol"?pi+"":pi,Cr),Cr);(function(){"use strict";var po={92:()=>{}},pi={};function Cr(t){var e=pi[t];if(e!==void 0)return e.exports;var n=pi[t]={exports:{}};return po[t](n,n.exports,Cr),n.exports}Cr.d=(t,e)=>{for(var n in e)Cr.o(e,n)&&!Cr.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},Cr.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);var kt={};(()=>{function t(f){return t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},t(f)}function e(f,i){for(var d=0;d<i.length;d++){var a=i[d];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(f,(p=function(c,_){if(t(c)!=="object"||c===null)return c;var o=c[Symbol.toPrimitive];if(o!==void 0){var u=o.call(c,"string");if(t(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),t(p)==="symbol"?p:String(p)),a)}var p}Cr.d(kt,{dx:()=>mn,q2:()=>fh,FO:()=>Vm,xf:()=>tu,Gy:()=>Gm,s4:()=>Is,c7:()=>Wm,_7:()=>Fm,gp:()=>Mm,cK:()=>ws,zs:()=>Vh,AV:()=>tu,Xp:()=>ve,VS:()=>re,ul:()=>Bo,hW:()=>ar,x1:()=>ja,z5:()=>Lc,oN:()=>Fh,TB:()=>Lm,u1:()=>Uc,_b:()=>tp,$F:()=>Nm,_T:()=>op,db:()=>Im,Zx:()=>Kn,_x:()=>Vo,r8:()=>Yi,JI:()=>Fe,TP:()=>an,WU:()=>n,Nj:()=>B,ZP:()=>Jg});var n=function(){function f(){(function(a,p){if(!(a instanceof p))throw new TypeError("Cannot call a class as a function")})(this,f),this.source=null,this.type=null,this.channel=null,this.start=null,this.stop=null,this.tokenIndex=null,this.line=null,this.column=null,this._text=null}var i,d;return i=f,(d=[{key:"getTokenSource",value:function(){return this.source[0]}},{key:"getInputStream",value:function(){return this.source[1]}},{key:"text",get:function(){return this._text},set:function(a){this._text=a}}])&&e(i.prototype,d),Object.defineProperty(i,"prototype",{writable:!1}),f}();function r(f,i){if(!Array.isArray(f)||!Array.isArray(i))return!1;if(f===i)return!0;if(f.length!==i.length)return!1;for(var d=0;d<f.length;d++)if(!(f[d]===i[d]||f[d].equals&&f[d].equals(i[d])))return!1;return!0}function s(f){return s=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},s(f)}n.INVALID_TYPE=0,n.EPSILON=-2,n.MIN_USER_TOKEN_TYPE=1,n.EOF=-1,n.DEFAULT_CHANNEL=0,n.HIDDEN_CHANNEL=1;var l=Math.round(Math.random()*Math.pow(2,32));function h(f){if(!f)return 0;var i,d,a=s(f),p=a==="string"?f:!(a!=="object"||!f.toString)&&f.toString();if(!p)return 0;for(var c=3&p.length,_=p.length-c,o=l,u=3432918353,E=461845907,x=0;x<_;)d=255&p.charCodeAt(x)|(255&p.charCodeAt(++x))<<8|(255&p.charCodeAt(++x))<<16|(255&p.charCodeAt(++x))<<24,++x,o=27492+(65535&(i=5*(65535&(o=(o^=d=(65535&(d=(d=(65535&d)*u+(((d>>>16)*u&65535)<<16)&4294967295)<<15|d>>>17))*E+(((d>>>16)*E&65535)<<16)&4294967295)<<13|o>>>19))+((5*(o>>>16)&65535)<<16)&4294967295))+((58964+(i>>>16)&65535)<<16);switch(d=0,c){case 3:d^=(255&p.charCodeAt(x+2))<<16;case 2:d^=(255&p.charCodeAt(x+1))<<8;case 1:o^=d=(65535&(d=(d=(65535&(d^=255&p.charCodeAt(x)))*u+(((d>>>16)*u&65535)<<16)&4294967295)<<15|d>>>17))*E+(((d>>>16)*E&65535)<<16)&4294967295}return o^=p.length,o=2246822507*(65535&(o^=o>>>16))+((2246822507*(o>>>16)&65535)<<16)&4294967295,o=3266489909*(65535&(o^=o>>>13))+((3266489909*(o>>>16)&65535)<<16)&4294967295,(o^=o>>>16)>>>0}function m(f){return m=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},m(f)}function v(f,i){for(var d=0;d<i.length;d++){var a=i[d];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(f,(p=function(c,_){if(m(c)!=="object"||c===null)return c;var o=c[Symbol.toPrimitive];if(o!==void 0){var u=o.call(c,"string");if(m(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),m(p)==="symbol"?p:String(p)),a)}var p}var S=function(){function f(){(function(p,c){if(!(p instanceof c))throw new TypeError("Cannot call a class as a function")})(this,f),this.count=0,this.hash=0}var i,d,a;return i=f,d=[{key:"update",value:function(){for(var p=0;p<arguments.length;p++){var c=arguments[p];if(c!=null)if(Array.isArray(c))this.update.apply(this,c);else{var _=0;switch(m(c)){case"undefined":case"function":continue;case"number":case"boolean":_=c;break;case"string":_=h(c);break;default:c.updateHashCode?c.updateHashCode(this):console.log("No updateHashCode for "+c.toString());continue}_=(_*=3432918353)<<15|_>>>17,_*=461845907,this.count=this.count+1;var o=this.hash^_;o=5*(o=o<<13|o>>>19)+3864292196,this.hash=o}}}},{key:"finish",value:function(){var p=this.hash^4*this.count;return p^=p>>>16,p*=2246822507,p^=p>>>13,(p*=3266489909)^p>>>16}}],a=[{key:"hashStuff",value:function(){var p=new f;return p.update.apply(p,arguments),p.finish()}}],d&&v(i.prototype,d),a&&v(i,a),Object.defineProperty(i,"prototype",{writable:!1}),f}();function C(f){return f?typeof f=="string"?h(f):f.hashCode():-1}function T(f,i){return f?f.equals(i):f===i}function I(f){return f===null?"null":f}function B(f){return Array.isArray(f)?"["+f.map(I).join(", ")+"]":"null"}function L(f){return L=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},L(f)}function b(f,i){for(var d=0;d<i.length;d++){var a=i[d];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(f,(p=function(c,_){if(L(c)!=="object"||c===null)return c;var o=c[Symbol.toPrimitive];if(o!==void 0){var u=o.call(c,"string");if(L(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),L(p)==="symbol"?p:String(p)),a)}var p}var y="h-",g=function(){function f(a,p){(function(c,_){if(!(c instanceof _))throw new TypeError("Cannot call a class as a function")})(this,f),this.data={},this.hashFunction=a||C,this.equalsFunction=p||T}var i,d;return i=f,(d=[{key:"add",value:function(a){var p=y+this.hashFunction(a);if(p in this.data){for(var c=this.data[p],_=0;_<c.length;_++)if(this.equalsFunction(a,c[_]))return c[_];return c.push(a),a}return this.data[p]=[a],a}},{key:"has",value:function(a){return this.get(a)!=null}},{key:"get",value:function(a){var p=y+this.hashFunction(a);if(p in this.data){for(var c=this.data[p],_=0;_<c.length;_++)if(this.equalsFunction(a,c[_]))return c[_]}return null}},{key:"values",value:function(){var a=this;return Object.keys(this.data).filter(function(p){return p.startsWith(y)}).flatMap(function(p){return a.data[p]},this)}},{key:"toString",value:function(){return B(this.values())}},{key:"length",get:function(){var a=this;return Object.keys(this.data).filter(function(p){return p.startsWith(y)}).map(function(p){return a.data[p].length},this).reduce(function(p,c){return p+c},0)}}])&&b(i.prototype,d),Object.defineProperty(i,"prototype",{writable:!1}),f}();function O(f,i){if(typeof i!="function"&&i!==null)throw new TypeError("Super expression must either be null or a function");f.prototype=Object.create(i&&i.prototype,{constructor:{value:f,writable:!0,configurable:!0}}),Object.defineProperty(f,"prototype",{writable:!1}),i&&R(f,i)}function R(f,i){return R=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(d,a){return d.__proto__=a,d},R(f,i)}function D(f){var i=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var d,a=H(f);if(i){var p=H(this).constructor;d=Reflect.construct(a,arguments,p)}else d=a.apply(this,arguments);return function(c,_){if(_&&(X(_)==="object"||typeof _=="function"))return _;if(_!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(o){if(o===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return o}(c)}(this,d)}}function H(f){return H=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},H(f)}function X(f){return X=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},X(f)}function ee(f,i){if(!(f instanceof i))throw new TypeError("Cannot call a class as a function")}function z(f,i){for(var d=0;d<i.length;d++){var a=i[d];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(f,(p=function(c,_){if(X(c)!=="object"||c===null)return c;var o=c[Symbol.toPrimitive];if(o!==void 0){var u=o.call(c,"string");if(X(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),X(p)==="symbol"?p:String(p)),a)}var p}function q(f,i,d){return i&&z(f.prototype,i),d&&z(f,d),Object.defineProperty(f,"prototype",{writable:!1}),f}var $=function(){function f(){ee(this,f)}return q(f,[{key:"hashCode",value:function(){var i=new S;return this.updateHashCode(i),i.finish()}},{key:"evaluate",value:function(i,d){}},{key:"evalPrecedence",value:function(i,d){return this}}],[{key:"andContext",value:function(i,d){if(i===null||i===f.NONE)return d;if(d===null||d===f.NONE)return i;var a=new ce(i,d);return a.opnds.length===1?a.opnds[0]:a}},{key:"orContext",value:function(i,d){if(i===null)return d;if(d===null)return i;if(i===f.NONE||d===f.NONE)return f.NONE;var a=new Q(i,d);return a.opnds.length===1?a.opnds[0]:a}}]),f}(),ce=function(f){O(d,f);var i=D(d);function d(a,p){var c;ee(this,d),c=i.call(this);var _=new g;a instanceof d?a.opnds.map(function(E){_.add(E)}):_.add(a),p instanceof d?p.opnds.map(function(E){_.add(E)}):_.add(p);var o=_e(_);if(o.length>0){var u=null;o.map(function(E){(u===null||E.precedence<u.precedence)&&(u=E)}),_.add(u)}return c.opnds=Array.from(_.values()),c}return q(d,[{key:"equals",value:function(a){return this===a||a instanceof d&&r(this.opnds,a.opnds)}},{key:"updateHashCode",value:function(a){a.update(this.opnds,"AND")}},{key:"evaluate",value:function(a,p){for(var c=0;c<this.opnds.length;c++)if(!this.opnds[c].evaluate(a,p))return!1;return!0}},{key:"evalPrecedence",value:function(a,p){for(var c=!1,_=[],o=0;o<this.opnds.length;o++){var u=this.opnds[o],E=u.evalPrecedence(a,p);if(c|=E!==u,E===null)return null;E!==$.NONE&&_.push(E)}if(!c)return this;if(_.length===0)return $.NONE;var x=null;return _.map(function(A){x=x===null?A:$.andContext(x,A)}),x}},{key:"toString",value:function(){var a=this.opnds.map(function(p){return p.toString()});return(a.length>3?a.slice(3):a).join("&&")}}]),d}($),Q=function(f){O(d,f);var i=D(d);function d(a,p){var c;ee(this,d),c=i.call(this);var _=new g;a instanceof d?a.opnds.map(function(x){_.add(x)}):_.add(a),p instanceof d?p.opnds.map(function(x){_.add(x)}):_.add(p);var o=_e(_);if(o.length>0){var u=o.sort(function(x,A){return x.compareTo(A)}),E=u[u.length-1];_.add(E)}return c.opnds=Array.from(_.values()),c}return q(d,[{key:"equals",value:function(a){return this===a||a instanceof d&&r(this.opnds,a.opnds)}},{key:"updateHashCode",value:function(a){a.update(this.opnds,"OR")}},{key:"evaluate",value:function(a,p){for(var c=0;c<this.opnds.length;c++)if(this.opnds[c].evaluate(a,p))return!0;return!1}},{key:"evalPrecedence",value:function(a,p){for(var c=!1,_=[],o=0;o<this.opnds.length;o++){var u=this.opnds[o],E=u.evalPrecedence(a,p);if(c|=E!==u,E===$.NONE)return $.NONE;E!==null&&_.push(E)}return c?(_.length===0||_.map(function(x){return x}),null):this}},{key:"toString",value:function(){var a=this.opnds.map(function(p){return p.toString()});return(a.length>3?a.slice(3):a).join("||")}}]),d}($);function _e(f){var i=[];return f.values().map(function(d){d instanceof $.PrecedencePredicate&&i.push(d)}),i}function ge(f){return ge=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},ge(f)}function ne(f,i){for(var d=0;d<i.length;d++){var a=i[d];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(f,(p=function(c,_){if(ge(c)!=="object"||c===null)return c;var o=c[Symbol.toPrimitive];if(o!==void 0){var u=o.call(c,"string");if(ge(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),ge(p)==="symbol"?p:String(p)),a)}var p}function pe(f,i){if(f===null){var d={state:null,alt:null,context:null,semanticContext:null};return i&&(d.reachesIntoOuterContext=0),d}var a={};return a.state=f.state||null,a.alt=f.alt===void 0?null:f.alt,a.context=f.context||null,a.semanticContext=f.semanticContext||null,i&&(a.reachesIntoOuterContext=f.reachesIntoOuterContext||0,a.precedenceFilterSuppressed=f.precedenceFilterSuppressed||!1),a}var fe=function(){function f(a,p){(function(c,_){if(!(c instanceof _))throw new TypeError("Cannot call a class as a function")})(this,f),this.checkContext(a,p),a=pe(a),p=pe(p,!0),this.state=a.state!==null?a.state:p.state,this.alt=a.alt!==null?a.alt:p.alt,this.context=a.context!==null?a.context:p.context,this.semanticContext=a.semanticContext!==null?a.semanticContext:p.semanticContext!==null?p.semanticContext:$.NONE,this.reachesIntoOuterContext=p.reachesIntoOuterContext,this.precedenceFilterSuppressed=p.precedenceFilterSuppressed}var i,d;return i=f,(d=[{key:"checkContext",value:function(a,p){a.context!==null&&a.context!==void 0||p!==null&&p.context!==null&&p.context!==void 0||(this.context=null)}},{key:"hashCode",value:function(){var a=new S;return this.updateHashCode(a),a.finish()}},{key:"updateHashCode",value:function(a){a.update(this.state.stateNumber,this.alt,this.context,this.semanticContext)}},{key:"equals",value:function(a){return this===a||a instanceof f&&this.state.stateNumber===a.state.stateNumber&&this.alt===a.alt&&(this.context===null?a.context===null:this.context.equals(a.context))&&this.semanticContext.equals(a.semanticContext)&&this.precedenceFilterSuppressed===a.precedenceFilterSuppressed}},{key:"hashCodeForConfigSet",value:function(){var a=new S;return a.update(this.state.stateNumber,this.alt,this.semanticContext),a.finish()}},{key:"equalsForConfigSet",value:function(a){return this===a||a instanceof f&&this.state.stateNumber===a.state.stateNumber&&this.alt===a.alt&&this.semanticContext.equals(a.semanticContext)}},{key:"toString",value:function(){return"("+this.state+","+this.alt+(this.context!==null?",["+this.context.toString()+"]":"")+(this.semanticContext!==$.NONE?","+this.semanticContext.toString():"")+(this.reachesIntoOuterContext>0?",up="+this.reachesIntoOuterContext:"")+")"}}])&&ne(i.prototype,d),Object.defineProperty(i,"prototype",{writable:!1}),f}();function Oe(f){return Oe=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Oe(f)}function Ie(f,i){for(var d=0;d<i.length;d++){var a=i[d];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(f,(p=function(c,_){if(Oe(c)!=="object"||c===null)return c;var o=c[Symbol.toPrimitive];if(o!==void 0){var u=o.call(c,"string");if(Oe(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Oe(p)==="symbol"?p:String(p)),a)}var p}var ve=function(){function f(a,p){(function(c,_){if(!(c instanceof _))throw new TypeError("Cannot call a class as a function")})(this,f),this.start=a,this.stop=p}var i,d;return i=f,(d=[{key:"clone",value:function(){return new f(this.start,this.stop)}},{key:"contains",value:function(a){return a>=this.start&&a<this.stop}},{key:"toString",value:function(){return this.start===this.stop-1?this.start.toString():this.start.toString()+".."+(this.stop-1).toString()}},{key:"length",get:function(){return this.stop-this.start}}])&&Ie(i.prototype,d),Object.defineProperty(i,"prototype",{writable:!1}),f}();function Ue(f){return Ue=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Ue(f)}function J(f,i){for(var d=0;d<i.length;d++){var a=i[d];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(f,(p=function(c,_){if(Ue(c)!=="object"||c===null)return c;var o=c[Symbol.toPrimitive];if(o!==void 0){var u=o.call(c,"string");if(Ue(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Ue(p)==="symbol"?p:String(p)),a)}var p}ve.INVALID_INTERVAL=new ve(-1,-2);var re=function(){function f(){(function(a,p){if(!(a instanceof p))throw new TypeError("Cannot call a class as a function")})(this,f),this.intervals=null,this.readOnly=!1}var i,d;return i=f,(d=[{key:"first",value:function(a){return this.intervals===null||this.intervals.length===0?n.INVALID_TYPE:this.intervals[0].start}},{key:"addOne",value:function(a){this.addInterval(new ve(a,a+1))}},{key:"addRange",value:function(a,p){this.addInterval(new ve(a,p+1))}},{key:"addInterval",value:function(a){if(this.intervals===null)this.intervals=[],this.intervals.push(a.clone());else{for(var p=0;p<this.intervals.length;p++){var c=this.intervals[p];if(a.stop<c.start)return void this.intervals.splice(p,0,a);if(a.stop===c.start)return void(this.intervals[p]=new ve(a.start,c.stop));if(a.start<=c.stop)return this.intervals[p]=new ve(Math.min(c.start,a.start),Math.max(c.stop,a.stop)),void this.reduce(p)}this.intervals.push(a.clone())}}},{key:"addSet",value:function(a){var p=this;return a.intervals!==null&&a.intervals.forEach(function(c){return p.addInterval(c)},this),this}},{key:"reduce",value:function(a){if(a<this.intervals.length-1){var p=this.intervals[a],c=this.intervals[a+1];p.stop>=c.stop?(this.intervals.splice(a+1,1),this.reduce(a)):p.stop>=c.start&&(this.intervals[a]=new ve(p.start,c.stop),this.intervals.splice(a+1,1))}}},{key:"complement",value:function(a,p){var c=new f;return c.addInterval(new ve(a,p+1)),this.intervals!==null&&this.intervals.forEach(function(_){return c.removeRange(_)}),c}},{key:"contains",value:function(a){if(this.intervals===null)return!1;for(var p=0;p<this.intervals.length;p++)if(this.intervals[p].contains(a))return!0;return!1}},{key:"removeRange",value:function(a){if(a.start===a.stop-1)this.removeOne(a.start);else if(this.intervals!==null)for(var p=0,c=0;c<this.intervals.length;c++){var _=this.intervals[p];if(a.stop<=_.start)return;if(a.start>_.start&&a.stop<_.stop){this.intervals[p]=new ve(_.start,a.start);var o=new ve(a.stop,_.stop);return void this.intervals.splice(p,0,o)}a.start<=_.start&&a.stop>=_.stop?(this.intervals.splice(p,1),p-=1):a.start<_.stop?this.intervals[p]=new ve(_.start,a.start):a.stop<_.stop&&(this.intervals[p]=new ve(a.stop,_.stop)),p+=1}}},{key:"removeOne",value:function(a){if(this.intervals!==null)for(var p=0;p<this.intervals.length;p++){var c=this.intervals[p];if(a<c.start)return;if(a===c.start&&a===c.stop-1)return void this.intervals.splice(p,1);if(a===c.start)return void(this.intervals[p]=new ve(c.start+1,c.stop));if(a===c.stop-1)return void(this.intervals[p]=new ve(c.start,c.stop-1));if(a<c.stop-1){var _=new ve(c.start,a);return c.start=a+1,void this.intervals.splice(p,0,_)}}}},{key:"toString",value:function(a,p,c){return a=a||null,p=p||null,c=c||!1,this.intervals===null?"{}":a!==null||p!==null?this.toTokenString(a,p):c?this.toCharString():this.toIndexString()}},{key:"toCharString",value:function(){for(var a=[],p=0;p<this.intervals.length;p++){var c=this.intervals[p];c.stop===c.start+1?c.start===n.EOF?a.push("<EOF>"):a.push("'"+String.fromCharCode(c.start)+"'"):a.push("'"+String.fromCharCode(c.start)+"'..'"+String.fromCharCode(c.stop-1)+"'")}return a.length>1?"{"+a.join(", ")+"}":a[0]}},{key:"toIndexString",value:function(){for(var a=[],p=0;p<this.intervals.length;p++){var c=this.intervals[p];c.stop===c.start+1?c.start===n.EOF?a.push("<EOF>"):a.push(c.start.toString()):a.push(c.start.toString()+".."+(c.stop-1).toString())}return a.length>1?"{"+a.join(", ")+"}":a[0]}},{key:"toTokenString",value:function(a,p){for(var c=[],_=0;_<this.intervals.length;_++)for(var o=this.intervals[_],u=o.start;u<o.stop;u++)c.push(this.elementName(a,p,u));return c.length>1?"{"+c.join(", ")+"}":c[0]}},{key:"elementName",value:function(a,p,c){return c===n.EOF?"<EOF>":c===n.EPSILON?"<EPSILON>":a[c]||p[c]}},{key:"length",get:function(){return this.intervals.map(function(a){return a.length}).reduce(function(a,p){return a+p})}}])&&J(i.prototype,d),Object.defineProperty(i,"prototype",{writable:!1}),f}();function se(f){return se=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},se(f)}function Ae(f,i){for(var d=0;d<i.length;d++){var a=i[d];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(f,(p=function(c,_){if(se(c)!=="object"||c===null)return c;var o=c[Symbol.toPrimitive];if(o!==void 0){var u=o.call(c,"string");if(se(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),se(p)==="symbol"?p:String(p)),a)}var p}var be=function(){function f(){(function(a,p){if(!(a instanceof p))throw new TypeError("Cannot call a class as a function")})(this,f),this.atn=null,this.stateNumber=f.INVALID_STATE_NUMBER,this.stateType=null,this.ruleIndex=0,this.epsilonOnlyTransitions=!1,this.transitions=[],this.nextTokenWithinRule=null}var i,d;return i=f,(d=[{key:"toString",value:function(){return this.stateNumber}},{key:"equals",value:function(a){return a instanceof f&&this.stateNumber===a.stateNumber}},{key:"isNonGreedyExitState",value:function(){return!1}},{key:"addTransition",value:function(a,p){p===void 0&&(p=-1),this.transitions.length===0?this.epsilonOnlyTransitions=a.isEpsilon:this.epsilonOnlyTransitions!==a.isEpsilon&&(this.epsilonOnlyTransitions=!1),p===-1?this.transitions.push(a):this.transitions.splice(p,1,a)}}])&&Ae(i.prototype,d),Object.defineProperty(i,"prototype",{writable:!1}),f}();function At(f){return At=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},At(f)}function jt(f,i){return jt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(d,a){return d.__proto__=a,d},jt(f,i)}function Et(f,i){if(i&&(At(i)==="object"||typeof i=="function"))return i;if(i!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Mt(f)}function Mt(f){if(f===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return f}function gt(f){return gt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},gt(f)}be.INVALID_TYPE=0,be.BASIC=1,be.RULE_START=2,be.BLOCK_START=3,be.PLUS_BLOCK_START=4,be.STAR_BLOCK_START=5,be.TOKEN_START=6,be.RULE_STOP=7,be.BLOCK_END=8,be.STAR_LOOP_BACK=9,be.STAR_LOOP_ENTRY=10,be.PLUS_LOOP_BACK=11,be.LOOP_END=12,be.serializationNames=["INVALID","BASIC","RULE_START","BLOCK_START","PLUS_BLOCK_START","STAR_BLOCK_START","TOKEN_START","RULE_STOP","BLOCK_END","STAR_LOOP_BACK","STAR_LOOP_ENTRY","PLUS_LOOP_BACK","LOOP_END"],be.INVALID_STATE_NUMBER=-1;var Ot=function(f){(function(_,o){if(typeof o!="function"&&o!==null)throw new TypeError("Super expression must either be null or a function");_.prototype=Object.create(o&&o.prototype,{constructor:{value:_,writable:!0,configurable:!0}}),Object.defineProperty(_,"prototype",{writable:!1}),o&&jt(_,o)})(c,f);var i,d,a,p=(d=c,a=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var _,o=gt(d);if(a){var u=gt(this).constructor;_=Reflect.construct(o,arguments,u)}else _=o.apply(this,arguments);return Et(this,_)});function c(){var _;return function(o,u){if(!(o instanceof u))throw new TypeError("Cannot call a class as a function")}(this,c),(_=p.call(this)).stateType=be.RULE_STOP,Et(_,Mt(_))}return i=c,Object.defineProperty(i,"prototype",{writable:!1}),i}(be);function Zt(f){return Zt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Zt(f)}function oe(f,i){for(var d=0;d<i.length;d++){var a=i[d];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(f,(p=function(c,_){if(Zt(c)!=="object"||c===null)return c;var o=c[Symbol.toPrimitive];if(o!==void 0){var u=o.call(c,"string");if(Zt(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Zt(p)==="symbol"?p:String(p)),a)}var p}function ke(f,i,d){return i&&oe(f.prototype,i),d&&oe(f,d),Object.defineProperty(f,"prototype",{writable:!1}),f}var me=ke(function f(i){if(function(d,a){if(!(d instanceof a))throw new TypeError("Cannot call a class as a function")}(this,f),i==null)throw"target cannot be null.";this.target=i,this.isEpsilon=!1,this.label=null});function bt(f){return bt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},bt(f)}function xt(f,i){for(var d=0;d<i.length;d++){var a=i[d];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(f,(p=function(c,_){if(bt(c)!=="object"||c===null)return c;var o=c[Symbol.toPrimitive];if(o!==void 0){var u=o.call(c,"string");if(bt(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),bt(p)==="symbol"?p:String(p)),a)}var p}function Dt(f,i){return Dt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(d,a){return d.__proto__=a,d},Dt(f,i)}function Un(f){return Un=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Un(f)}me.EPSILON=1,me.RANGE=2,me.RULE=3,me.PREDICATE=4,me.ATOM=5,me.ACTION=6,me.SET=7,me.NOT_SET=8,me.WILDCARD=9,me.PRECEDENCE=10,me.serializationNames=["INVALID","EPSILON","RANGE","RULE","PREDICATE","ATOM","ACTION","SET","NOT_SET","WILDCARD","PRECEDENCE"],me.serializationTypes={EpsilonTransition:me.EPSILON,RangeTransition:me.RANGE,RuleTransition:me.RULE,PredicateTransition:me.PREDICATE,AtomTransition:me.ATOM,ActionTransition:me.ACTION,SetTransition:me.SET,NotSetTransition:me.NOT_SET,WildcardTransition:me.WILDCARD,PrecedencePredicateTransition:me.PRECEDENCE};var Qt=function(f){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&Dt(o,u)})(_,f);var i,d,a,p,c=(a=_,p=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=Un(a);if(p){var E=Un(this).constructor;o=Reflect.construct(u,arguments,E)}else o=u.apply(this,arguments);return function(x,A){if(A&&(bt(A)==="object"||typeof A=="function"))return A;if(A!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(N){if(N===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return N}(x)}(this,o)});function _(o,u,E,x){var A;return function(N,te){if(!(N instanceof te))throw new TypeError("Cannot call a class as a function")}(this,_),(A=c.call(this,o)).ruleIndex=u,A.precedence=E,A.followState=x,A.serializationType=me.RULE,A.isEpsilon=!0,A}return i=_,(d=[{key:"matches",value:function(o,u,E){return!1}}])&&xt(i.prototype,d),Object.defineProperty(i,"prototype",{writable:!1}),_}(me);function dn(f){return dn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},dn(f)}function $t(f,i){for(var d=0;d<i.length;d++){var a=i[d];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(f,(p=function(c,_){if(dn(c)!=="object"||c===null)return c;var o=c[Symbol.toPrimitive];if(o!==void 0){var u=o.call(c,"string");if(dn(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),dn(p)==="symbol"?p:String(p)),a)}var p}function Pt(f,i){return Pt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(d,a){return d.__proto__=a,d},Pt(f,i)}function fn(f){return fn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},fn(f)}var xi=function(f){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&Pt(o,u)})(_,f);var i,d,a,p,c=(a=_,p=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=fn(a);if(p){var E=fn(this).constructor;o=Reflect.construct(u,arguments,E)}else o=u.apply(this,arguments);return function(x,A){if(A&&(dn(A)==="object"||typeof A=="function"))return A;if(A!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(N){if(N===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return N}(x)}(this,o)});function _(o,u){var E;return function(x,A){if(!(x instanceof A))throw new TypeError("Cannot call a class as a function")}(this,_),(E=c.call(this,o)).serializationType=me.SET,u!=null?E.label=u:(E.label=new re,E.label.addOne(n.INVALID_TYPE)),E}return i=_,(d=[{key:"matches",value:function(o,u,E){return this.label.contains(o)}},{key:"toString",value:function(){return this.label.toString()}}])&&$t(i.prototype,d),Object.defineProperty(i,"prototype",{writable:!1}),_}(me);function V(f){return V=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},V(f)}function Ne(f,i){for(var d=0;d<i.length;d++){var a=i[d];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(f,(p=function(c,_){if(V(c)!=="object"||c===null)return c;var o=c[Symbol.toPrimitive];if(o!==void 0){var u=o.call(c,"string");if(V(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),V(p)==="symbol"?p:String(p)),a)}var p}function Be(){return Be=typeof Reflect<"u"&&Reflect.get?Reflect.get.bind():function(f,i,d){var a=function(c,_){for(;!Object.prototype.hasOwnProperty.call(c,_)&&(c=ut(c))!==null;);return c}(f,i);if(a){var p=Object.getOwnPropertyDescriptor(a,i);return p.get?p.get.call(arguments.length<3?f:d):p.value}},Be.apply(this,arguments)}function Me(f,i){return Me=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(d,a){return d.__proto__=a,d},Me(f,i)}function ut(f){return ut=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},ut(f)}var on=function(f){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&Me(o,u)})(_,f);var i,d,a,p,c=(a=_,p=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=ut(a);if(p){var E=ut(this).constructor;o=Reflect.construct(u,arguments,E)}else o=u.apply(this,arguments);return function(x,A){if(A&&(V(A)==="object"||typeof A=="function"))return A;if(A!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(N){if(N===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return N}(x)}(this,o)});function _(o,u){var E;return function(x,A){if(!(x instanceof A))throw new TypeError("Cannot call a class as a function")}(this,_),(E=c.call(this,o,u)).serializationType=me.NOT_SET,E}return i=_,(d=[{key:"matches",value:function(o,u,E){return o>=u&&o<=E&&!Be(ut(_.prototype),"matches",this).call(this,o,u,E)}},{key:"toString",value:function(){return"~"+Be(ut(_.prototype),"toString",this).call(this)}}])&&Ne(i.prototype,d),Object.defineProperty(i,"prototype",{writable:!1}),_}(xi);function ft(f){return ft=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},ft(f)}function vn(f,i){for(var d=0;d<i.length;d++){var a=i[d];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(f,(p=function(c,_){if(ft(c)!=="object"||c===null)return c;var o=c[Symbol.toPrimitive];if(o!==void 0){var u=o.call(c,"string");if(ft(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),ft(p)==="symbol"?p:String(p)),a)}var p}function xn(f,i){return xn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(d,a){return d.__proto__=a,d},xn(f,i)}function fi(f){return fi=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},fi(f)}var Ln=function(f){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&xn(o,u)})(_,f);var i,d,a,p,c=(a=_,p=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=fi(a);if(p){var E=fi(this).constructor;o=Reflect.construct(u,arguments,E)}else o=u.apply(this,arguments);return function(x,A){if(A&&(ft(A)==="object"||typeof A=="function"))return A;if(A!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(N){if(N===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return N}(x)}(this,o)});function _(o){var u;return function(E,x){if(!(E instanceof x))throw new TypeError("Cannot call a class as a function")}(this,_),(u=c.call(this,o)).serializationType=me.WILDCARD,u}return i=_,(d=[{key:"matches",value:function(o,u,E){return o>=u&&o<=E}},{key:"toString",value:function(){return"."}}])&&vn(i.prototype,d),Object.defineProperty(i,"prototype",{writable:!1}),_}(me);function hn(f){return hn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},hn(f)}function lo(f,i){return lo=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(d,a){return d.__proto__=a,d},lo(f,i)}function Ci(f){return Ci=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Ci(f)}var fo=function(f){(function(_,o){if(typeof o!="function"&&o!==null)throw new TypeError("Super expression must either be null or a function");_.prototype=Object.create(o&&o.prototype,{constructor:{value:_,writable:!0,configurable:!0}}),Object.defineProperty(_,"prototype",{writable:!1}),o&&lo(_,o)})(c,f);var i,d,a,p=(d=c,a=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var _,o=Ci(d);if(a){var u=Ci(this).constructor;_=Reflect.construct(o,arguments,u)}else _=o.apply(this,arguments);return function(E,x){if(x&&(hn(x)==="object"||typeof x=="function"))return x;if(x!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(A){if(A===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return A}(E)}(this,_)});function c(_){return function(o,u){if(!(o instanceof u))throw new TypeError("Cannot call a class as a function")}(this,c),p.call(this,_)}return i=c,Object.defineProperty(i,"prototype",{writable:!1}),i}(me);function Tr(f){return Tr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Tr(f)}function Wr(f,i){for(var d=0;d<i.length;d++){var a=i[d];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(f,(p=function(c,_){if(Tr(c)!=="object"||c===null)return c;var o=c[Symbol.toPrimitive];if(o!==void 0){var u=o.call(c,"string");if(Tr(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Tr(p)==="symbol"?p:String(p)),a)}var p}function Po(f,i,d){return i&&Wr(f.prototype,i),d&&Wr(f,d),Object.defineProperty(f,"prototype",{writable:!1}),f}function Xi(f){return Xi=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Xi(f)}function Fr(f,i){return Fr=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(d,a){return d.__proto__=a,d},Fr(f,i)}function hi(f){return hi=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},hi(f)}function Fo(f){return Fo=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Fo(f)}function _t(f,i){return _t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(d,a){return d.__proto__=a,d},_t(f,i)}function or(f){return or=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},or(f)}var w=function(f){(function(_,o){if(typeof o!="function"&&o!==null)throw new TypeError("Super expression must either be null or a function");_.prototype=Object.create(o&&o.prototype,{constructor:{value:_,writable:!0,configurable:!0}}),Object.defineProperty(_,"prototype",{writable:!1}),o&&_t(_,o)})(c,f);var i,d,a,p=(d=c,a=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var _,o=or(d);if(a){var u=or(this).constructor;_=Reflect.construct(o,arguments,u)}else _=o.apply(this,arguments);return function(E,x){if(x&&(Fo(x)==="object"||typeof x=="function"))return x;if(x!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(A){if(A===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return A}(E)}(this,_)});function c(){return function(_,o){if(!(_ instanceof o))throw new TypeError("Cannot call a class as a function")}(this,c),p.apply(this,arguments)}return i=c,Object.defineProperty(i,"prototype",{writable:!1}),i}(function(f){(function(_,o){if(typeof o!="function"&&o!==null)throw new TypeError("Super expression must either be null or a function");_.prototype=Object.create(o&&o.prototype,{constructor:{value:_,writable:!0,configurable:!0}}),Object.defineProperty(_,"prototype",{writable:!1}),o&&Fr(_,o)})(c,f);var i,d,a,p=(d=c,a=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var _,o=hi(d);if(a){var u=hi(this).constructor;_=Reflect.construct(o,arguments,u)}else _=o.apply(this,arguments);return function(E,x){if(x&&(Xi(x)==="object"||typeof x=="function"))return x;if(x!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(A){if(A===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return A}(E)}(this,_)});function c(){return function(_,o){if(!(_ instanceof o))throw new TypeError("Cannot call a class as a function")}(this,c),p.apply(this,arguments)}return i=c,Object.defineProperty(i,"prototype",{writable:!1}),i}(Po(function f(){(function(i,d){if(!(i instanceof d))throw new TypeError("Cannot call a class as a function")})(this,f)})));function G(f){return G=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},G(f)}function W(f,i){for(var d=0;d<i.length;d++){var a=i[d];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(f,(p=function(c,_){if(G(c)!=="object"||c===null)return c;var o=c[Symbol.toPrimitive];if(o!==void 0){var u=o.call(c,"string");if(G(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),G(p)==="symbol"?p:String(p)),a)}var p}function Z(f,i){return Z=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(d,a){return d.__proto__=a,d},Z(f,i)}function ie(f){return ie=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},ie(f)}var Fe=function(f){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&Z(o,u)})(_,f);var i,d,a,p,c=(a=_,p=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=ie(a);if(p){var E=ie(this).constructor;o=Reflect.construct(u,arguments,E)}else o=u.apply(this,arguments);return function(x,A){if(A&&(G(A)==="object"||typeof A=="function"))return A;if(A!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(N){if(N===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return N}(x)}(this,o)});function _(){return function(o,u){if(!(o instanceof u))throw new TypeError("Cannot call a class as a function")}(this,_),c.apply(this,arguments)}return i=_,(d=[{key:"ruleContext",get:function(){throw new Error("missing interface implementation")}}])&&W(i.prototype,d),Object.defineProperty(i,"prototype",{writable:!1}),_}(w);function Pe(f){return Pe=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Pe(f)}function rt(f,i){return rt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(d,a){return d.__proto__=a,d},rt(f,i)}function Ht(f){return Ht=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Ht(f)}var an=function(f){(function(_,o){if(typeof o!="function"&&o!==null)throw new TypeError("Super expression must either be null or a function");_.prototype=Object.create(o&&o.prototype,{constructor:{value:_,writable:!0,configurable:!0}}),Object.defineProperty(_,"prototype",{writable:!1}),o&&rt(_,o)})(c,f);var i,d,a,p=(d=c,a=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var _,o=Ht(d);if(a){var u=Ht(this).constructor;_=Reflect.construct(o,arguments,u)}else _=o.apply(this,arguments);return function(E,x){if(x&&(Pe(x)==="object"||typeof x=="function"))return x;if(x!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(A){if(A===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return A}(E)}(this,_)});function c(){return function(_,o){if(!(_ instanceof o))throw new TypeError("Cannot call a class as a function")}(this,c),p.apply(this,arguments)}return i=c,Object.defineProperty(i,"prototype",{writable:!1}),i}(w);function En(f){return En=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},En(f)}function Lr(f,i){return Lr=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(d,a){return d.__proto__=a,d},Lr(f,i)}function Bt(f){return Bt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Bt(f)}var Xr=function(f){(function(_,o){if(typeof o!="function"&&o!==null)throw new TypeError("Super expression must either be null or a function");_.prototype=Object.create(o&&o.prototype,{constructor:{value:_,writable:!0,configurable:!0}}),Object.defineProperty(_,"prototype",{writable:!1}),o&&Lr(_,o)})(c,f);var i,d,a,p=(d=c,a=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var _,o=Bt(d);if(a){var u=Bt(this).constructor;_=Reflect.construct(o,arguments,u)}else _=o.apply(this,arguments);return function(E,x){if(x&&(En(x)==="object"||typeof x=="function"))return x;if(x!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(A){if(A===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return A}(E)}(this,_)});function c(){return function(_,o){if(!(_ instanceof o))throw new TypeError("Cannot call a class as a function")}(this,c),p.apply(this,arguments)}return i=c,Object.defineProperty(i,"prototype",{writable:!1}),i}(an),Ar={toStringTree:function(f,i,d){i=i||null,(d=d||null)!==null&&(i=d.ruleNames);var a=Ar.getNodeText(f,i);a=function(o,u){return o=o.replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r")}(a);var p=f.getChildCount();if(p===0)return a;var c="("+a+" ";p>0&&(a=Ar.toStringTree(f.getChild(0),i),c=c.concat(a));for(var _=1;_<p;_++)a=Ar.toStringTree(f.getChild(_),i),c=c.concat(" "+a);return c.concat(")")},getNodeText:function(f,i,d){if(i=i||null,(d=d||null)!==null&&(i=d.ruleNames),i!==null){if(f instanceof Fe){var a=f.ruleContext.getAltNumber();return a!=0?i[f.ruleIndex]+":"+a:i[f.ruleIndex]}if(f instanceof Xr)return f.toString();if(f instanceof an&&f.symbol!==null)return f.symbol.text}var p=f.getPayload();return p instanceof n?p.text:f.getPayload().toString()},getChildren:function(f){for(var i=[],d=0;d<f.getChildCount();d++)i.push(f.getChild(d));return i},getAncestors:function(f){var i=[];for(f=f.getParent();f!==null;)i=[f].concat(i),f=f.getParent();return i},findAllTokenNodes:function(f,i){return Ar.findAllNodes(f,i,!0)},findAllRuleNodes:function(f,i){return Ar.findAllNodes(f,i,!1)},findAllNodes:function(f,i,d){var a=[];return Ar._findAllNodes(f,i,d,a),a},_findAllNodes:function(f,i,d,a){d&&f instanceof an?f.symbol.type===i&&a.push(f):!d&&f instanceof Fe&&f.ruleIndex===i&&a.push(f);for(var p=0;p<f.getChildCount();p++)Ar._findAllNodes(f.getChild(p),i,d,a)},descendants:function(f){for(var i=[f],d=0;d<f.getChildCount();d++)i=i.concat(Ar.descendants(f.getChild(d)));return i}};const zu=Ar;function qi(f){return qi=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},qi(f)}function df(f,i){for(var d=0;d<i.length;d++){var a=i[d];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(f,(p=function(c,_){if(qi(c)!=="object"||c===null)return c;var o=c[Symbol.toPrimitive];if(o!==void 0){var u=o.call(c,"string");if(qi(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),qi(p)==="symbol"?p:String(p)),a)}var p}function Lo(f,i){return Lo=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(d,a){return d.__proto__=a,d},Lo(f,i)}function sa(f){return sa=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},sa(f)}var Yi=function(f){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&Lo(o,u)})(_,f);var i,d,a,p,c=(a=_,p=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=sa(a);if(p){var E=sa(this).constructor;o=Reflect.construct(u,arguments,E)}else o=u.apply(this,arguments);return function(x,A){if(A&&(qi(A)==="object"||typeof A=="function"))return A;if(A!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(N){if(N===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return N}(x)}(this,o)});function _(o,u){var E;return function(x,A){if(!(x instanceof A))throw new TypeError("Cannot call a class as a function")}(this,_),(E=c.call(this)).parentCtx=o||null,E.invokingState=u||-1,E}return i=_,(d=[{key:"depth",value:function(){for(var o=0,u=this;u!==null;)u=u.parentCtx,o+=1;return o}},{key:"isEmpty",value:function(){return this.invokingState===-1}},{key:"getSourceInterval",value:function(){return ve.INVALID_INTERVAL}},{key:"ruleContext",get:function(){return this}},{key:"getPayload",value:function(){return this}},{key:"getText",value:function(){return this.getChildCount()===0?"":this.children.map(function(o){return o.getText()}).join("")}},{key:"getAltNumber",value:function(){return 0}},{key:"setAltNumber",value:function(o){}},{key:"getChild",value:function(o){return null}},{key:"getChildCount",value:function(){return 0}},{key:"accept",value:function(o){return o.visitChildren(this)}},{key:"toStringTree",value:function(o,u){return zu.toStringTree(this,o,u)}},{key:"toString",value:function(o,u){o=o||null,u=u||null;for(var E=this,x="[";E!==null&&E!==u;){if(o===null)E.isEmpty()||(x+=E.invokingState);else{var A=E.ruleIndex;x+=A>=0&&A<o.length?o[A]:""+A}E.parentCtx===null||o===null&&E.parentCtx.isEmpty()||(x+=" "),E=E.parentCtx}return x+"]"}}])&&df(i.prototype,d),Object.defineProperty(i,"prototype",{writable:!1}),_}(Fe);function Mo(f){return Mo=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Mo(f)}function ua(f,i){for(var d=0;d<i.length;d++){var a=i[d];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(f,(p=function(c,_){if(Mo(c)!=="object"||c===null)return c;var o=c[Symbol.toPrimitive];if(o!==void 0){var u=o.call(c,"string");if(Mo(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Mo(p)==="symbol"?p:String(p)),a)}var p}var it=function(){function f(a){(function(p,c){if(!(p instanceof c))throw new TypeError("Cannot call a class as a function")})(this,f),this.cachedHashCode=a}var i,d;return i=f,(d=[{key:"isEmpty",value:function(){return this===f.EMPTY}},{key:"hasEmptyPath",value:function(){return this.getReturnState(this.length-1)===f.EMPTY_RETURN_STATE}},{key:"hashCode",value:function(){return this.cachedHashCode}},{key:"updateHashCode",value:function(a){a.update(this.cachedHashCode)}}])&&ua(i.prototype,d),Object.defineProperty(i,"prototype",{writable:!1}),f}();function j(f){return j=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},j(f)}function K(f,i){for(var d=0;d<i.length;d++){var a=i[d];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(f,(p=function(c,_){if(j(c)!=="object"||c===null)return c;var o=c[Symbol.toPrimitive];if(o!==void 0){var u=o.call(c,"string");if(j(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),j(p)==="symbol"?p:String(p)),a)}var p}function Y(f,i){return Y=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(d,a){return d.__proto__=a,d},Y(f,i)}function ue(f,i){if(i&&(j(i)==="object"||typeof i=="function"))return i;if(i!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Se(f)}function Se(f){if(f===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return f}function Ee(f){return Ee=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Ee(f)}it.EMPTY=null,it.EMPTY_RETURN_STATE=2147483647,it.globalNodeCount=1,it.id=it.globalNodeCount,it.trace_atn_sim=!1;var Te=function(f){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&Y(o,u)})(_,f);var i,d,a,p,c=(a=_,p=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=Ee(a);if(p){var E=Ee(this).constructor;o=Reflect.construct(u,arguments,E)}else o=u.apply(this,arguments);return ue(this,o)});function _(o,u){var E;(function(N,te){if(!(N instanceof te))throw new TypeError("Cannot call a class as a function")})(this,_);var x=new S;x.update(o,u);var A=x.finish();return(E=c.call(this,A)).parents=o,E.returnStates=u,ue(E,Se(E))}return i=_,(d=[{key:"isEmpty",value:function(){return this.returnStates[0]===it.EMPTY_RETURN_STATE}},{key:"getParent",value:function(o){return this.parents[o]}},{key:"getReturnState",value:function(o){return this.returnStates[o]}},{key:"equals",value:function(o){return this===o||o instanceof _&&this.hashCode()===o.hashCode()&&r(this.returnStates,o.returnStates)&&r(this.parents,o.parents)}},{key:"toString",value:function(){if(this.isEmpty())return"[]";for(var o="[",u=0;u<this.returnStates.length;u++)u>0&&(o+=", "),this.returnStates[u]!==it.EMPTY_RETURN_STATE?(o+=this.returnStates[u],this.parents[u]!==null?o=o+" "+this.parents[u]:o+="null"):o+="$";return o+"]"}},{key:"length",get:function(){return this.returnStates.length}}])&&K(i.prototype,d),Object.defineProperty(i,"prototype",{writable:!1}),_}(it);function Ke(f){return Ke=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Ke(f)}function Le(f,i){for(var d=0;d<i.length;d++){var a=i[d];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(f,(p=function(c,_){if(Ke(c)!=="object"||c===null)return c;var o=c[Symbol.toPrimitive];if(o!==void 0){var u=o.call(c,"string");if(Ke(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Ke(p)==="symbol"?p:String(p)),a)}var p}function ot(f,i){return ot=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(d,a){return d.__proto__=a,d},ot(f,i)}function Ut(f){return Ut=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Ut(f)}var ct=function(f){(function(u,E){if(typeof E!="function"&&E!==null)throw new TypeError("Super expression must either be null or a function");u.prototype=Object.create(E&&E.prototype,{constructor:{value:u,writable:!0,configurable:!0}}),Object.defineProperty(u,"prototype",{writable:!1}),E&&ot(u,E)})(o,f);var i,d,a,p,c,_=(p=o,c=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var u,E=Ut(p);if(c){var x=Ut(this).constructor;u=Reflect.construct(E,arguments,x)}else u=E.apply(this,arguments);return function(A,N){if(N&&(Ke(N)==="object"||typeof N=="function"))return N;if(N!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(te){if(te===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return te}(A)}(this,u)});function o(u,E){var x;(function(te,Re){if(!(te instanceof Re))throw new TypeError("Cannot call a class as a function")})(this,o);var A,N=new S;return u!==null?N.update(u,E):N.update(1),A=N.finish(),(x=_.call(this,A)).parentCtx=u,x.returnState=E,x}return i=o,a=[{key:"create",value:function(u,E){return E===it.EMPTY_RETURN_STATE&&u===null?it.EMPTY:new o(u,E)}}],(d=[{key:"getParent",value:function(u){return this.parentCtx}},{key:"getReturnState",value:function(u){return this.returnState}},{key:"equals",value:function(u){return this===u||u instanceof o&&this.hashCode()===u.hashCode()&&this.returnState===u.returnState&&(this.parentCtx==null?u.parentCtx==null:this.parentCtx.equals(u.parentCtx))}},{key:"toString",value:function(){var u=this.parentCtx===null?"":this.parentCtx.toString();return u.length===0?this.returnState===it.EMPTY_RETURN_STATE?"$":""+this.returnState:this.returnState+" "+u}},{key:"length",get:function(){return 1}}])&&Le(i.prototype,d),a&&Le(i,a),Object.defineProperty(i,"prototype",{writable:!1}),o}(it);function Gt(f){return Gt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Gt(f)}function Cn(f,i){for(var d=0;d<i.length;d++){var a=i[d];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(f,(p=function(c,_){if(Gt(c)!=="object"||c===null)return c;var o=c[Symbol.toPrimitive];if(o!==void 0){var u=o.call(c,"string");if(Gt(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Gt(p)==="symbol"?p:String(p)),a)}var p}function Gn(f,i){return Gn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(d,a){return d.__proto__=a,d},Gn(f,i)}function Jn(f){return Jn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Jn(f)}var Mr=function(f){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&Gn(o,u)})(_,f);var i,d,a,p,c=(a=_,p=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=Jn(a);if(p){var E=Jn(this).constructor;o=Reflect.construct(u,arguments,E)}else o=u.apply(this,arguments);return function(x,A){if(A&&(Gt(A)==="object"||typeof A=="function"))return A;if(A!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(N){if(N===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return N}(x)}(this,o)});function _(){return function(o,u){if(!(o instanceof u))throw new TypeError("Cannot call a class as a function")}(this,_),c.call(this,null,it.EMPTY_RETURN_STATE)}return i=_,(d=[{key:"isEmpty",value:function(){return!0}},{key:"getParent",value:function(o){return null}},{key:"getReturnState",value:function(o){return this.returnState}},{key:"equals",value:function(o){return this===o}},{key:"toString",value:function(){return"$"}}])&&Cn(i.prototype,d),Object.defineProperty(i,"prototype",{writable:!1}),_}(ct);function qr(f){return qr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},qr(f)}function Ts(f,i){for(var d=0;d<i.length;d++){var a=i[d];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(f,(p=function(c,_){if(qr(c)!=="object"||c===null)return c;var o=c[Symbol.toPrimitive];if(o!==void 0){var u=o.call(c,"string");if(qr(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),qr(p)==="symbol"?p:String(p)),a)}var p}it.EMPTY=new Mr;var Zn="h-",Ji=function(){function f(a,p){(function(c,_){if(!(c instanceof _))throw new TypeError("Cannot call a class as a function")})(this,f),this.data={},this.hashFunction=a||C,this.equalsFunction=p||T}var i,d;return i=f,(d=[{key:"set",value:function(a,p){var c=Zn+this.hashFunction(a);if(c in this.data){for(var _=this.data[c],o=0;o<_.length;o++){var u=_[o];if(this.equalsFunction(a,u.key)){var E=u.value;return u.value=p,E}}return _.push({key:a,value:p}),p}return this.data[c]=[{key:a,value:p}],p}},{key:"containsKey",value:function(a){var p=Zn+this.hashFunction(a);if(p in this.data)for(var c=this.data[p],_=0;_<c.length;_++){var o=c[_];if(this.equalsFunction(a,o.key))return!0}return!1}},{key:"get",value:function(a){var p=Zn+this.hashFunction(a);if(p in this.data)for(var c=this.data[p],_=0;_<c.length;_++){var o=c[_];if(this.equalsFunction(a,o.key))return o.value}return null}},{key:"entries",value:function(){var a=this;return Object.keys(this.data).filter(function(p){return p.startsWith(Zn)}).flatMap(function(p){return a.data[p]},this)}},{key:"getKeys",value:function(){return this.entries().map(function(a){return a.key})}},{key:"getValues",value:function(){return this.entries().map(function(a){return a.value})}},{key:"toString",value:function(){return"["+this.entries().map(function(a){return"{"+a.key+":"+a.value+"}"}).join(", ")+"]"}},{key:"length",get:function(){var a=this;return Object.keys(this.data).filter(function(p){return p.startsWith(Zn)}).map(function(p){return a.data[p].length},this).reduce(function(p,c){return p+c},0)}}])&&Ts(i.prototype,d),Object.defineProperty(i,"prototype",{writable:!1}),f}();function ca(f,i){if(i==null&&(i=Yi.EMPTY),i.parentCtx===null||i===Yi.EMPTY)return it.EMPTY;var d=ca(f,i.parentCtx),a=f.states[i.invokingState].transitions[0];return ct.create(d,a.followState.stateNumber)}function Wu(f,i,d){if(f.isEmpty())return f;var a=d.get(f)||null;if(a!==null)return a;if((a=i.get(f))!==null)return d.set(f,a),a;for(var p=!1,c=[],_=0;_<c.length;_++){var o=Wu(f.getParent(_),i,d);if(p||o!==f.getParent(_)){if(!p){c=[];for(var u=0;u<f.length;u++)c[u]=f.getParent(u);p=!0}c[_]=o}}if(!p)return i.add(f),d.set(f,f),f;var E;return E=c.length===0?it.EMPTY:c.length===1?ct.create(c[0],f.getReturnState(0)):new Te(c,f.returnStates),i.add(E),d.set(E,E),d.set(f,E),E}function la(f,i,d,a){if(f===i)return f;if(f instanceof ct&&i instanceof ct)return function(p,c,_,o){if(o!==null){var u=o.get(p,c);if(u!==null||(u=o.get(c,p))!==null)return u}var E=function(ze,_n,pn){if(pn){if(ze===it.EMPTY||_n===it.EMPTY)return it.EMPTY}else{if(ze===it.EMPTY&&_n===it.EMPTY)return it.EMPTY;if(ze===it.EMPTY){var zn=[_n.returnState,it.EMPTY_RETURN_STATE],Vr=[_n.parentCtx,null];return new Te(Vr,zn)}if(_n===it.EMPTY){var Ri=[ze.returnState,it.EMPTY_RETURN_STATE],wi=[ze.parentCtx,null];return new Te(wi,Ri)}}return null}(p,c,_);if(E!==null)return o!==null&&o.set(p,c,E),E;if(p.returnState===c.returnState){var x=la(p.parentCtx,c.parentCtx,_,o);if(x===p.parentCtx)return p;if(x===c.parentCtx)return c;var A=ct.create(x,p.returnState);return o!==null&&o.set(p,c,A),A}var N=null;if((p===c||p.parentCtx!==null&&p.parentCtx===c.parentCtx)&&(N=p.parentCtx),N!==null){var te=[p.returnState,c.returnState];p.returnState>c.returnState&&(te[0]=c.returnState,te[1]=p.returnState);var Re=new Te([N,N],te);return o!==null&&o.set(p,c,Re),Re}var De=[p.returnState,c.returnState],He=[p.parentCtx,c.parentCtx];p.returnState>c.returnState&&(De[0]=c.returnState,De[1]=p.returnState,He=[c.parentCtx,p.parentCtx]);var at=new Te(He,De);return o!==null&&o.set(p,c,at),at}(f,i,d,a);if(d){if(f instanceof Mr)return f;if(i instanceof Mr)return i}return f instanceof ct&&(f=new Te([f.getParent()],[f.returnState])),i instanceof ct&&(i=new Te([i.getParent()],[i.returnState])),function(p,c,_,o){if(o!==null){var u=o.get(p,c);if(u!==null||(u=o.get(c,p))!==null)return it.trace_atn_sim&&console.log("mergeArrays a="+p+",b="+c+" -> previous"),u}for(var E=0,x=0,A=0,N=new Array(p.returnStates.length+c.returnStates.length).fill(0),te=new Array(p.returnStates.length+c.returnStates.length).fill(null);E<p.returnStates.length&&x<c.returnStates.length;){var Re=p.parents[E],De=c.parents[x];if(p.returnStates[E]===c.returnStates[x]){var He=p.returnStates[E];He===it.EMPTY_RETURN_STATE&&Re===null&&De===null||Re!==null&&De!==null&&Re===De?(te[A]=Re,N[A]=He):(te[A]=la(Re,De,_,o),N[A]=He),E+=1,x+=1}else p.returnStates[E]<c.returnStates[x]?(te[A]=Re,N[A]=p.returnStates[E],E+=1):(te[A]=De,N[A]=c.returnStates[x],x+=1);A+=1}if(E<p.returnStates.length)for(var at=E;at<p.returnStates.length;at++)te[A]=p.parents[at],N[A]=p.returnStates[at],A+=1;else for(var ze=x;ze<c.returnStates.length;ze++)te[A]=c.parents[ze],N[A]=c.returnStates[ze],A+=1;if(A<te.length){if(A===1){var _n=ct.create(te[0],N[0]);return o!==null&&o.set(p,c,_n),_n}te=te.slice(0,A),N=N.slice(0,A)}var pn=new Te(te,N);return pn.equals(p)?(o!==null&&o.set(p,c,p),it.trace_atn_sim&&console.log("mergeArrays a="+p+",b="+c+" -> a"),p):pn.equals(c)?(o!==null&&o.set(p,c,c),it.trace_atn_sim&&console.log("mergeArrays a="+p+",b="+c+" -> b"),c):(function(zn){for(var Vr=new Ji,Ri=0;Ri<zn.length;Ri++){var wi=zn[Ri];Vr.containsKey(wi)||Vr.set(wi,wi)}for(var xr=0;xr<zn.length;xr++)zn[xr]=Vr.get(zn[xr])}(te),o!==null&&o.set(p,c,pn),it.trace_atn_sim&&console.log("mergeArrays a="+p+",b="+c+" -> "+pn),pn)}(f,i,d,a)}function Zi(f){return Zi=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Zi(f)}function Qi(f,i){for(var d=0;d<i.length;d++){var a=i[d];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(f,(p=function(c,_){if(Zi(c)!=="object"||c===null)return c;var o=c[Symbol.toPrimitive];if(o!==void 0){var u=o.call(c,"string");if(Zi(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Zi(p)==="symbol"?p:String(p)),a)}var p}var Br=function(){function f(){(function(a,p){if(!(a instanceof p))throw new TypeError("Cannot call a class as a function")})(this,f),this.data=[]}var i,d;return i=f,(d=[{key:"add",value:function(a){this.data[a]=!0}},{key:"or",value:function(a){var p=this;Object.keys(a.data).map(function(c){return p.add(c)},this)}},{key:"remove",value:function(a){delete this.data[a]}},{key:"has",value:function(a){return this.data[a]===!0}},{key:"values",value:function(){return Object.keys(this.data)}},{key:"minValue",value:function(){return Math.min.apply(null,this.values())}},{key:"hashCode",value:function(){return S.hashStuff(this.values())}},{key:"equals",value:function(a){return a instanceof f&&r(this.data,a.data)}},{key:"toString",value:function(){return"{"+this.values().join(", ")+"}"}},{key:"length",get:function(){return this.values().length}}])&&Qi(i.prototype,d),Object.defineProperty(i,"prototype",{writable:!1}),f}();function ho(f){return ho=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},ho(f)}function Xu(f,i){for(var d=0;d<i.length;d++){var a=i[d];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(f,(p=function(c,_){if(ho(c)!=="object"||c===null)return c;var o=c[Symbol.toPrimitive];if(o!==void 0){var u=o.call(c,"string");if(ho(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),ho(p)==="symbol"?p:String(p)),a)}var p}var Bo=function(){function f(a){(function(p,c){if(!(p instanceof c))throw new TypeError("Cannot call a class as a function")})(this,f),this.atn=a}var i,d;return i=f,(d=[{key:"getDecisionLookahead",value:function(a){if(a===null)return null;for(var p=a.transitions.length,c=[],_=0;_<p;_++){c[_]=new re;var o=new g;this._LOOK(a.transition(_).target,null,it.EMPTY,c[_],o,new Br,!1,!1),(c[_].length===0||c[_].contains(f.HIT_PRED))&&(c[_]=null)}return c}},{key:"LOOK",value:function(a,p,c){var _=new re,o=(c=c||null)!==null?ca(a.atn,c):null;return this._LOOK(a,p,o,_,new g,new Br,!0,!0),_}},{key:"_LOOK",value:function(a,p,c,_,o,u,E,x){var A=new fe({state:a,alt:0,context:c},null);if(!o.has(A)){if(o.add(A),a===p){if(c===null)return void _.addOne(n.EPSILON);if(c.isEmpty()&&x)return void _.addOne(n.EOF)}if(a instanceof Ot){if(c===null)return void _.addOne(n.EPSILON);if(c.isEmpty()&&x)return void _.addOne(n.EOF);if(c!==it.EMPTY){var N=u.has(a.ruleIndex);try{u.remove(a.ruleIndex);for(var te=0;te<c.length;te++){var Re=this.atn.states[c.getReturnState(te)];this._LOOK(Re,p,c.getParent(te),_,o,u,E,x)}}finally{N&&u.add(a.ruleIndex)}return}}for(var De=0;De<a.transitions.length;De++){var He=a.transitions[De];if(He.constructor===Qt){if(u.has(He.target.ruleIndex))continue;var at=ct.create(c,He.followState.stateNumber);try{u.add(He.target.ruleIndex),this._LOOK(He.target,p,at,_,o,u,E,x)}finally{u.remove(He.target.ruleIndex)}}else if(He instanceof fo)E?this._LOOK(He.target,p,c,_,o,u,E,x):_.addOne(f.HIT_PRED);else if(He.isEpsilon)this._LOOK(He.target,p,c,_,o,u,E,x);else if(He.constructor===Ln)_.addRange(n.MIN_USER_TOKEN_TYPE,this.atn.maxTokenType);else{var ze=He.label;ze!==null&&(He instanceof on&&(ze=ze.complement(n.MIN_USER_TOKEN_TYPE,this.atn.maxTokenType)),_.addSet(ze))}}}}}])&&Xu(i.prototype,d),Object.defineProperty(i,"prototype",{writable:!1}),f}();function As(f){return As=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},As(f)}function S0(f,i){for(var d=0;d<i.length;d++){var a=i[d];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(f,(p=function(c,_){if(As(c)!=="object"||c===null)return c;var o=c[Symbol.toPrimitive];if(o!==void 0){var u=o.call(c,"string");if(As(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),As(p)==="symbol"?p:String(p)),a)}var p}Bo.HIT_PRED=n.INVALID_TYPE;var mn=function(){function f(a,p){(function(c,_){if(!(c instanceof _))throw new TypeError("Cannot call a class as a function")})(this,f),this.grammarType=a,this.maxTokenType=p,this.states=[],this.decisionToState=[],this.ruleToStartState=[],this.ruleToStopState=null,this.modeNameToStartState={},this.ruleToTokenType=null,this.lexerActions=null,this.modeToStartState=[]}var i,d;return i=f,(d=[{key:"nextTokensInContext",value:function(a,p){return new Bo(this).LOOK(a,null,p)}},{key:"nextTokensNoContext",value:function(a){return a.nextTokenWithinRule!==null||(a.nextTokenWithinRule=this.nextTokensInContext(a,null),a.nextTokenWithinRule.readOnly=!0),a.nextTokenWithinRule}},{key:"nextTokens",value:function(a,p){return p===void 0?this.nextTokensNoContext(a):this.nextTokensInContext(a,p)}},{key:"addState",value:function(a){a!==null&&(a.atn=this,a.stateNumber=this.states.length),this.states.push(a)}},{key:"removeState",value:function(a){this.states[a.stateNumber]=null}},{key:"defineDecisionState",value:function(a){return this.decisionToState.push(a),a.decision=this.decisionToState.length-1,a.decision}},{key:"getDecisionState",value:function(a){return this.decisionToState.length===0?null:this.decisionToState[a]}},{key:"getExpectedTokens",value:function(a,p){if(a<0||a>=this.states.length)throw"Invalid state number.";var c=this.states[a],_=this.nextTokens(c);if(!_.contains(n.EPSILON))return _;var o=new re;for(o.addSet(_),o.removeOne(n.EPSILON);p!==null&&p.invokingState>=0&&_.contains(n.EPSILON);){var u=this.states[p.invokingState].transitions[0];_=this.nextTokens(u.followState),o.addSet(_),o.removeOne(n.EPSILON),p=p.parentCtx}return _.contains(n.EPSILON)&&o.addOne(n.EOF),o}}])&&S0(i.prototype,d),Object.defineProperty(i,"prototype",{writable:!1}),f}();mn.INVALID_ALT_NUMBER=0;function mf(f){return mf=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},mf(f)}function _f(f,i){return _f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(d,a){return d.__proto__=a,d},_f(f,i)}function qu(f){return qu=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},qu(f)}var Ld=function(f){(function(_,o){if(typeof o!="function"&&o!==null)throw new TypeError("Super expression must either be null or a function");_.prototype=Object.create(o&&o.prototype,{constructor:{value:_,writable:!0,configurable:!0}}),Object.defineProperty(_,"prototype",{writable:!1}),o&&_f(_,o)})(c,f);var i,d,a,p=(d=c,a=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var _,o=qu(d);if(a){var u=qu(this).constructor;_=Reflect.construct(o,arguments,u)}else _=o.apply(this,arguments);return function(E,x){if(x&&(mf(x)==="object"||typeof x=="function"))return x;if(x!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(A){if(A===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return A}(E)}(this,_)});function c(){var _;return function(o,u){if(!(o instanceof u))throw new TypeError("Cannot call a class as a function")}(this,c),(_=p.call(this)).stateType=be.BASIC,_}return i=c,Object.defineProperty(i,"prototype",{writable:!1}),i}(be);function yf(f){return yf=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},yf(f)}function gf(f,i){return gf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(d,a){return d.__proto__=a,d},gf(f,i)}function Md(f,i){if(i&&(yf(i)==="object"||typeof i=="function"))return i;if(i!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Bd(f)}function Bd(f){if(f===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return f}function Yu(f){return Yu=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Yu(f)}var fa=function(f){(function(_,o){if(typeof o!="function"&&o!==null)throw new TypeError("Super expression must either be null or a function");_.prototype=Object.create(o&&o.prototype,{constructor:{value:_,writable:!0,configurable:!0}}),Object.defineProperty(_,"prototype",{writable:!1}),o&&gf(_,o)})(c,f);var i,d,a,p=(d=c,a=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var _,o=Yu(d);if(a){var u=Yu(this).constructor;_=Reflect.construct(o,arguments,u)}else _=o.apply(this,arguments);return Md(this,_)});function c(){var _;return function(o,u){if(!(o instanceof u))throw new TypeError("Cannot call a class as a function")}(this,c),(_=p.call(this)).decision=-1,_.nonGreedy=!1,Md(_,Bd(_))}return i=c,Object.defineProperty(i,"prototype",{writable:!1}),i}(be);function bf(f){return bf=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},bf(f)}function vf(f,i){return vf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(d,a){return d.__proto__=a,d},vf(f,i)}function Ud(f,i){if(i&&(bf(i)==="object"||typeof i=="function"))return i;if(i!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Vd(f)}function Vd(f){if(f===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return f}function Ju(f){return Ju=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Ju(f)}var ha=function(f){(function(_,o){if(typeof o!="function"&&o!==null)throw new TypeError("Super expression must either be null or a function");_.prototype=Object.create(o&&o.prototype,{constructor:{value:_,writable:!0,configurable:!0}}),Object.defineProperty(_,"prototype",{writable:!1}),o&&vf(_,o)})(c,f);var i,d,a,p=(d=c,a=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var _,o=Ju(d);if(a){var u=Ju(this).constructor;_=Reflect.construct(o,arguments,u)}else _=o.apply(this,arguments);return Ud(this,_)});function c(){var _;return function(o,u){if(!(o instanceof u))throw new TypeError("Cannot call a class as a function")}(this,c),(_=p.call(this)).endState=null,Ud(_,Vd(_))}return i=c,Object.defineProperty(i,"prototype",{writable:!1}),i}(fa);function Ef(f){return Ef=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Ef(f)}function Sf(f,i){return Sf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(d,a){return d.__proto__=a,d},Sf(f,i)}function jd(f,i){if(i&&(Ef(i)==="object"||typeof i=="function"))return i;if(i!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return $d(f)}function $d(f){if(f===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return f}function Zu(f){return Zu=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Zu(f)}var Tf=function(f){(function(_,o){if(typeof o!="function"&&o!==null)throw new TypeError("Super expression must either be null or a function");_.prototype=Object.create(o&&o.prototype,{constructor:{value:_,writable:!0,configurable:!0}}),Object.defineProperty(_,"prototype",{writable:!1}),o&&Sf(_,o)})(c,f);var i,d,a,p=(d=c,a=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var _,o=Zu(d);if(a){var u=Zu(this).constructor;_=Reflect.construct(o,arguments,u)}else _=o.apply(this,arguments);return jd(this,_)});function c(){var _;return function(o,u){if(!(o instanceof u))throw new TypeError("Cannot call a class as a function")}(this,c),(_=p.call(this)).stateType=be.BLOCK_END,_.startState=null,jd(_,$d(_))}return i=c,Object.defineProperty(i,"prototype",{writable:!1}),i}(be);function Af(f){return Af=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Af(f)}function xf(f,i){return xf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(d,a){return d.__proto__=a,d},xf(f,i)}function Hd(f,i){if(i&&(Af(i)==="object"||typeof i=="function"))return i;if(i!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Gd(f)}function Gd(f){if(f===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return f}function Qu(f){return Qu=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Qu(f)}var pa=function(f){(function(_,o){if(typeof o!="function"&&o!==null)throw new TypeError("Super expression must either be null or a function");_.prototype=Object.create(o&&o.prototype,{constructor:{value:_,writable:!0,configurable:!0}}),Object.defineProperty(_,"prototype",{writable:!1}),o&&xf(_,o)})(c,f);var i,d,a,p=(d=c,a=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var _,o=Qu(d);if(a){var u=Qu(this).constructor;_=Reflect.construct(o,arguments,u)}else _=o.apply(this,arguments);return Hd(this,_)});function c(){var _;return function(o,u){if(!(o instanceof u))throw new TypeError("Cannot call a class as a function")}(this,c),(_=p.call(this)).stateType=be.LOOP_END,_.loopBackState=null,Hd(_,Gd(_))}return i=c,Object.defineProperty(i,"prototype",{writable:!1}),i}(be);function Cf(f){return Cf=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Cf(f)}function Of(f,i){return Of=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(d,a){return d.__proto__=a,d},Of(f,i)}function Kd(f,i){if(i&&(Cf(i)==="object"||typeof i=="function"))return i;if(i!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return zd(f)}function zd(f){if(f===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return f}function ec(f){return ec=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},ec(f)}var Wd=function(f){(function(_,o){if(typeof o!="function"&&o!==null)throw new TypeError("Super expression must either be null or a function");_.prototype=Object.create(o&&o.prototype,{constructor:{value:_,writable:!0,configurable:!0}}),Object.defineProperty(_,"prototype",{writable:!1}),o&&Of(_,o)})(c,f);var i,d,a,p=(d=c,a=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var _,o=ec(d);if(a){var u=ec(this).constructor;_=Reflect.construct(o,arguments,u)}else _=o.apply(this,arguments);return Kd(this,_)});function c(){var _;return function(o,u){if(!(o instanceof u))throw new TypeError("Cannot call a class as a function")}(this,c),(_=p.call(this)).stateType=be.RULE_START,_.stopState=null,_.isPrecedenceRule=!1,Kd(_,zd(_))}return i=c,Object.defineProperty(i,"prototype",{writable:!1}),i}(be);function Df(f){return Df=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Df(f)}function kf(f,i){return kf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(d,a){return d.__proto__=a,d},kf(f,i)}function Xd(f,i){if(i&&(Df(i)==="object"||typeof i=="function"))return i;if(i!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return qd(f)}function qd(f){if(f===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return f}function tc(f){return tc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},tc(f)}var T0=function(f){(function(_,o){if(typeof o!="function"&&o!==null)throw new TypeError("Super expression must either be null or a function");_.prototype=Object.create(o&&o.prototype,{constructor:{value:_,writable:!0,configurable:!0}}),Object.defineProperty(_,"prototype",{writable:!1}),o&&kf(_,o)})(c,f);var i,d,a,p=(d=c,a=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var _,o=tc(d);if(a){var u=tc(this).constructor;_=Reflect.construct(o,arguments,u)}else _=o.apply(this,arguments);return Xd(this,_)});function c(){var _;return function(o,u){if(!(o instanceof u))throw new TypeError("Cannot call a class as a function")}(this,c),(_=p.call(this)).stateType=be.TOKEN_START,Xd(_,qd(_))}return i=c,Object.defineProperty(i,"prototype",{writable:!1}),i}(fa);function Rf(f){return Rf=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Rf(f)}function wf(f,i){return wf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(d,a){return d.__proto__=a,d},wf(f,i)}function Yd(f,i){if(i&&(Rf(i)==="object"||typeof i=="function"))return i;if(i!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Jd(f)}function Jd(f){if(f===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return f}function nc(f){return nc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},nc(f)}var Zd=function(f){(function(_,o){if(typeof o!="function"&&o!==null)throw new TypeError("Super expression must either be null or a function");_.prototype=Object.create(o&&o.prototype,{constructor:{value:_,writable:!0,configurable:!0}}),Object.defineProperty(_,"prototype",{writable:!1}),o&&wf(_,o)})(c,f);var i,d,a,p=(d=c,a=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var _,o=nc(d);if(a){var u=nc(this).constructor;_=Reflect.construct(o,arguments,u)}else _=o.apply(this,arguments);return Yd(this,_)});function c(){var _;return function(o,u){if(!(o instanceof u))throw new TypeError("Cannot call a class as a function")}(this,c),(_=p.call(this)).stateType=be.PLUS_LOOP_BACK,Yd(_,Jd(_))}return i=c,Object.defineProperty(i,"prototype",{writable:!1}),i}(fa);function Nf(f){return Nf=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Nf(f)}function If(f,i){return If=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(d,a){return d.__proto__=a,d},If(f,i)}function Qd(f,i){if(i&&(Nf(i)==="object"||typeof i=="function"))return i;if(i!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return em(f)}function em(f){if(f===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return f}function rc(f){return rc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},rc(f)}var Pf=function(f){(function(_,o){if(typeof o!="function"&&o!==null)throw new TypeError("Super expression must either be null or a function");_.prototype=Object.create(o&&o.prototype,{constructor:{value:_,writable:!0,configurable:!0}}),Object.defineProperty(_,"prototype",{writable:!1}),o&&If(_,o)})(c,f);var i,d,a,p=(d=c,a=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var _,o=rc(d);if(a){var u=rc(this).constructor;_=Reflect.construct(o,arguments,u)}else _=o.apply(this,arguments);return Qd(this,_)});function c(){var _;return function(o,u){if(!(o instanceof u))throw new TypeError("Cannot call a class as a function")}(this,c),(_=p.call(this)).stateType=be.STAR_LOOP_BACK,Qd(_,em(_))}return i=c,Object.defineProperty(i,"prototype",{writable:!1}),i}(be);function Ff(f){return Ff=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Ff(f)}function Lf(f,i){return Lf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(d,a){return d.__proto__=a,d},Lf(f,i)}function tm(f,i){if(i&&(Ff(i)==="object"||typeof i=="function"))return i;if(i!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return nm(f)}function nm(f){if(f===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return f}function ic(f){return ic=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},ic(f)}var Uo=function(f){(function(_,o){if(typeof o!="function"&&o!==null)throw new TypeError("Super expression must either be null or a function");_.prototype=Object.create(o&&o.prototype,{constructor:{value:_,writable:!0,configurable:!0}}),Object.defineProperty(_,"prototype",{writable:!1}),o&&Lf(_,o)})(c,f);var i,d,a,p=(d=c,a=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var _,o=ic(d);if(a){var u=ic(this).constructor;_=Reflect.construct(o,arguments,u)}else _=o.apply(this,arguments);return tm(this,_)});function c(){var _;return function(o,u){if(!(o instanceof u))throw new TypeError("Cannot call a class as a function")}(this,c),(_=p.call(this)).stateType=be.STAR_LOOP_ENTRY,_.loopBackState=null,_.isPrecedenceDecision=null,tm(_,nm(_))}return i=c,Object.defineProperty(i,"prototype",{writable:!1}),i}(fa);function Mf(f){return Mf=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Mf(f)}function Bf(f,i){return Bf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(d,a){return d.__proto__=a,d},Bf(f,i)}function rm(f,i){if(i&&(Mf(i)==="object"||typeof i=="function"))return i;if(i!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return im(f)}function im(f){if(f===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return f}function oc(f){return oc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},oc(f)}var Uf=function(f){(function(_,o){if(typeof o!="function"&&o!==null)throw new TypeError("Super expression must either be null or a function");_.prototype=Object.create(o&&o.prototype,{constructor:{value:_,writable:!0,configurable:!0}}),Object.defineProperty(_,"prototype",{writable:!1}),o&&Bf(_,o)})(c,f);var i,d,a,p=(d=c,a=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var _,o=oc(d);if(a){var u=oc(this).constructor;_=Reflect.construct(o,arguments,u)}else _=o.apply(this,arguments);return rm(this,_)});function c(){var _;return function(o,u){if(!(o instanceof u))throw new TypeError("Cannot call a class as a function")}(this,c),(_=p.call(this)).stateType=be.PLUS_BLOCK_START,_.loopBackState=null,rm(_,im(_))}return i=c,Object.defineProperty(i,"prototype",{writable:!1}),i}(ha);function Vf(f){return Vf=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Vf(f)}function jf(f,i){return jf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(d,a){return d.__proto__=a,d},jf(f,i)}function om(f,i){if(i&&(Vf(i)==="object"||typeof i=="function"))return i;if(i!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return am(f)}function am(f){if(f===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return f}function ac(f){return ac=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},ac(f)}var $f=function(f){(function(_,o){if(typeof o!="function"&&o!==null)throw new TypeError("Super expression must either be null or a function");_.prototype=Object.create(o&&o.prototype,{constructor:{value:_,writable:!0,configurable:!0}}),Object.defineProperty(_,"prototype",{writable:!1}),o&&jf(_,o)})(c,f);var i,d,a,p=(d=c,a=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var _,o=ac(d);if(a){var u=ac(this).constructor;_=Reflect.construct(o,arguments,u)}else _=o.apply(this,arguments);return om(this,_)});function c(){var _;return function(o,u){if(!(o instanceof u))throw new TypeError("Cannot call a class as a function")}(this,c),(_=p.call(this)).stateType=be.STAR_BLOCK_START,om(_,am(_))}return i=c,Object.defineProperty(i,"prototype",{writable:!1}),i}(ha);function Hf(f){return Hf=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Hf(f)}function Gf(f,i){return Gf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(d,a){return d.__proto__=a,d},Gf(f,i)}function sm(f,i){if(i&&(Hf(i)==="object"||typeof i=="function"))return i;if(i!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return um(f)}function um(f){if(f===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return f}function sc(f){return sc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},sc(f)}var cm=function(f){(function(_,o){if(typeof o!="function"&&o!==null)throw new TypeError("Super expression must either be null or a function");_.prototype=Object.create(o&&o.prototype,{constructor:{value:_,writable:!0,configurable:!0}}),Object.defineProperty(_,"prototype",{writable:!1}),o&&Gf(_,o)})(c,f);var i,d,a,p=(d=c,a=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var _,o=sc(d);if(a){var u=sc(this).constructor;_=Reflect.construct(o,arguments,u)}else _=o.apply(this,arguments);return sm(this,_)});function c(){var _;return function(o,u){if(!(o instanceof u))throw new TypeError("Cannot call a class as a function")}(this,c),(_=p.call(this)).stateType=be.BLOCK_START,sm(_,um(_))}return i=c,Object.defineProperty(i,"prototype",{writable:!1}),i}(ha);function da(f){return da=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},da(f)}function A0(f,i){for(var d=0;d<i.length;d++){var a=i[d];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(f,(p=function(c,_){if(da(c)!=="object"||c===null)return c;var o=c[Symbol.toPrimitive];if(o!==void 0){var u=o.call(c,"string");if(da(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),da(p)==="symbol"?p:String(p)),a)}var p}function Kf(f,i){return Kf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(d,a){return d.__proto__=a,d},Kf(f,i)}function uc(f){return uc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},uc(f)}var zf=function(f){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&Kf(o,u)})(_,f);var i,d,a,p,c=(a=_,p=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=uc(a);if(p){var E=uc(this).constructor;o=Reflect.construct(u,arguments,E)}else o=u.apply(this,arguments);return function(x,A){if(A&&(da(A)==="object"||typeof A=="function"))return A;if(A!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(N){if(N===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return N}(x)}(this,o)});function _(o,u){var E;return function(x,A){if(!(x instanceof A))throw new TypeError("Cannot call a class as a function")}(this,_),(E=c.call(this,o)).label_=u,E.label=E.makeLabel(),E.serializationType=me.ATOM,E}return i=_,(d=[{key:"makeLabel",value:function(){var o=new re;return o.addOne(this.label_),o}},{key:"matches",value:function(o,u,E){return this.label_===o}},{key:"toString",value:function(){return this.label_}}])&&A0(i.prototype,d),Object.defineProperty(i,"prototype",{writable:!1}),_}(me);function ma(f){return ma=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},ma(f)}function x0(f,i){for(var d=0;d<i.length;d++){var a=i[d];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(f,(p=function(c,_){if(ma(c)!=="object"||c===null)return c;var o=c[Symbol.toPrimitive];if(o!==void 0){var u=o.call(c,"string");if(ma(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),ma(p)==="symbol"?p:String(p)),a)}var p}function Wf(f,i){return Wf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(d,a){return d.__proto__=a,d},Wf(f,i)}function cc(f){return cc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},cc(f)}var C0=function(f){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&Wf(o,u)})(_,f);var i,d,a,p,c=(a=_,p=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=cc(a);if(p){var E=cc(this).constructor;o=Reflect.construct(u,arguments,E)}else o=u.apply(this,arguments);return function(x,A){if(A&&(ma(A)==="object"||typeof A=="function"))return A;if(A!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(N){if(N===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return N}(x)}(this,o)});function _(o,u,E){var x;return function(A,N){if(!(A instanceof N))throw new TypeError("Cannot call a class as a function")}(this,_),(x=c.call(this,o)).serializationType=me.RANGE,x.start=u,x.stop=E,x.label=x.makeLabel(),x}return i=_,(d=[{key:"makeLabel",value:function(){var o=new re;return o.addRange(this.start,this.stop),o}},{key:"matches",value:function(o,u,E){return o>=this.start&&o<=this.stop}},{key:"toString",value:function(){return"'"+String.fromCharCode(this.start)+"'..'"+String.fromCharCode(this.stop)+"'"}}])&&x0(i.prototype,d),Object.defineProperty(i,"prototype",{writable:!1}),_}(me);function _a(f){return _a=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},_a(f)}function O0(f,i){for(var d=0;d<i.length;d++){var a=i[d];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(f,(p=function(c,_){if(_a(c)!=="object"||c===null)return c;var o=c[Symbol.toPrimitive];if(o!==void 0){var u=o.call(c,"string");if(_a(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),_a(p)==="symbol"?p:String(p)),a)}var p}function Xf(f,i){return Xf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(d,a){return d.__proto__=a,d},Xf(f,i)}function lc(f){return lc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},lc(f)}var lm=function(f){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&Xf(o,u)})(_,f);var i,d,a,p,c=(a=_,p=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=lc(a);if(p){var E=lc(this).constructor;o=Reflect.construct(u,arguments,E)}else o=u.apply(this,arguments);return function(x,A){if(A&&(_a(A)==="object"||typeof A=="function"))return A;if(A!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(N){if(N===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return N}(x)}(this,o)});function _(o,u,E,x){var A;return function(N,te){if(!(N instanceof te))throw new TypeError("Cannot call a class as a function")}(this,_),(A=c.call(this,o)).serializationType=me.ACTION,A.ruleIndex=u,A.actionIndex=E===void 0?-1:E,A.isCtxDependent=x!==void 0&&x,A.isEpsilon=!0,A}return i=_,(d=[{key:"matches",value:function(o,u,E){return!1}},{key:"toString",value:function(){return"action_"+this.ruleIndex+":"+this.actionIndex}}])&&O0(i.prototype,d),Object.defineProperty(i,"prototype",{writable:!1}),_}(me);function ya(f){return ya=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},ya(f)}function D0(f,i){for(var d=0;d<i.length;d++){var a=i[d];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(f,(p=function(c,_){if(ya(c)!=="object"||c===null)return c;var o=c[Symbol.toPrimitive];if(o!==void 0){var u=o.call(c,"string");if(ya(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),ya(p)==="symbol"?p:String(p)),a)}var p}function qf(f,i){return qf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(d,a){return d.__proto__=a,d},qf(f,i)}function fc(f){return fc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},fc(f)}var xs=function(f){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&qf(o,u)})(_,f);var i,d,a,p,c=(a=_,p=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=fc(a);if(p){var E=fc(this).constructor;o=Reflect.construct(u,arguments,E)}else o=u.apply(this,arguments);return function(x,A){if(A&&(ya(A)==="object"||typeof A=="function"))return A;if(A!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(N){if(N===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return N}(x)}(this,o)});function _(o,u){var E;return function(x,A){if(!(x instanceof A))throw new TypeError("Cannot call a class as a function")}(this,_),(E=c.call(this,o)).serializationType=me.EPSILON,E.isEpsilon=!0,E.outermostPrecedenceReturn=u,E}return i=_,(d=[{key:"matches",value:function(o,u,E){return!1}},{key:"toString",value:function(){return"epsilon"}}])&&D0(i.prototype,d),Object.defineProperty(i,"prototype",{writable:!1}),_}(me);function ga(f){return ga=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},ga(f)}function k0(f,i){for(var d=0;d<i.length;d++){var a=i[d];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(f,(p=function(c,_){if(ga(c)!=="object"||c===null)return c;var o=c[Symbol.toPrimitive];if(o!==void 0){var u=o.call(c,"string");if(ga(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),ga(p)==="symbol"?p:String(p)),a)}var p}function Yf(f,i){return Yf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(d,a){return d.__proto__=a,d},Yf(f,i)}function hc(f){return hc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},hc(f)}var fm=function(f){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&Yf(o,u)})(_,f);var i,d,a,p,c=(a=_,p=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=hc(a);if(p){var E=hc(this).constructor;o=Reflect.construct(u,arguments,E)}else o=u.apply(this,arguments);return function(x,A){if(A&&(ga(A)==="object"||typeof A=="function"))return A;if(A!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(N){if(N===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return N}(x)}(this,o)});function _(o,u,E){var x;return function(A,N){if(!(A instanceof N))throw new TypeError("Cannot call a class as a function")}(this,_),(x=c.call(this)).ruleIndex=o===void 0?-1:o,x.predIndex=u===void 0?-1:u,x.isCtxDependent=E!==void 0&&E,x}return i=_,(d=[{key:"evaluate",value:function(o,u){var E=this.isCtxDependent?u:null;return o.sempred(E,this.ruleIndex,this.predIndex)}},{key:"updateHashCode",value:function(o){o.update(this.ruleIndex,this.predIndex,this.isCtxDependent)}},{key:"equals",value:function(o){return this===o||o instanceof _&&this.ruleIndex===o.ruleIndex&&this.predIndex===o.predIndex&&this.isCtxDependent===o.isCtxDependent}},{key:"toString",value:function(){return"{"+this.ruleIndex+":"+this.predIndex+"}?"}}])&&k0(i.prototype,d),Object.defineProperty(i,"prototype",{writable:!1}),_}($);function ba(f){return ba=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},ba(f)}function R0(f,i){for(var d=0;d<i.length;d++){var a=i[d];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(f,(p=function(c,_){if(ba(c)!=="object"||c===null)return c;var o=c[Symbol.toPrimitive];if(o!==void 0){var u=o.call(c,"string");if(ba(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),ba(p)==="symbol"?p:String(p)),a)}var p}function Jf(f,i){return Jf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(d,a){return d.__proto__=a,d},Jf(f,i)}function pc(f){return pc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},pc(f)}$.NONE=new fm;var hm=function(f){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&Jf(o,u)})(_,f);var i,d,a,p,c=(a=_,p=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=pc(a);if(p){var E=pc(this).constructor;o=Reflect.construct(u,arguments,E)}else o=u.apply(this,arguments);return function(x,A){if(A&&(ba(A)==="object"||typeof A=="function"))return A;if(A!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(N){if(N===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return N}(x)}(this,o)});function _(o,u,E,x){var A;return function(N,te){if(!(N instanceof te))throw new TypeError("Cannot call a class as a function")}(this,_),(A=c.call(this,o)).serializationType=me.PREDICATE,A.ruleIndex=u,A.predIndex=E,A.isCtxDependent=x,A.isEpsilon=!0,A}return i=_,(d=[{key:"matches",value:function(o,u,E){return!1}},{key:"getPredicate",value:function(){return new fm(this.ruleIndex,this.predIndex,this.isCtxDependent)}},{key:"toString",value:function(){return"pred_"+this.ruleIndex+":"+this.predIndex}}])&&R0(i.prototype,d),Object.defineProperty(i,"prototype",{writable:!1}),_}(fo);function va(f){return va=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},va(f)}function w0(f,i){for(var d=0;d<i.length;d++){var a=i[d];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(f,(p=function(c,_){if(va(c)!=="object"||c===null)return c;var o=c[Symbol.toPrimitive];if(o!==void 0){var u=o.call(c,"string");if(va(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),va(p)==="symbol"?p:String(p)),a)}var p}function Zf(f,i){return Zf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(d,a){return d.__proto__=a,d},Zf(f,i)}function dc(f){return dc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},dc(f)}var pm=function(f){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&Zf(o,u)})(_,f);var i,d,a,p,c=(a=_,p=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=dc(a);if(p){var E=dc(this).constructor;o=Reflect.construct(u,arguments,E)}else o=u.apply(this,arguments);return function(x,A){if(A&&(va(A)==="object"||typeof A=="function"))return A;if(A!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(N){if(N===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return N}(x)}(this,o)});function _(o){var u;return function(E,x){if(!(E instanceof x))throw new TypeError("Cannot call a class as a function")}(this,_),(u=c.call(this)).precedence=o===void 0?0:o,u}return i=_,(d=[{key:"evaluate",value:function(o,u){return o.precpred(u,this.precedence)}},{key:"evalPrecedence",value:function(o,u){return o.precpred(u,this.precedence)?$.NONE:null}},{key:"compareTo",value:function(o){return this.precedence-o.precedence}},{key:"updateHashCode",value:function(o){o.update(this.precedence)}},{key:"equals",value:function(o){return this===o||o instanceof _&&this.precedence===o.precedence}},{key:"toString",value:function(){return"{"+this.precedence+">=prec}?"}}])&&w0(i.prototype,d),Object.defineProperty(i,"prototype",{writable:!1}),_}($);function Ea(f){return Ea=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Ea(f)}function N0(f,i){for(var d=0;d<i.length;d++){var a=i[d];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(f,(p=function(c,_){if(Ea(c)!=="object"||c===null)return c;var o=c[Symbol.toPrimitive];if(o!==void 0){var u=o.call(c,"string");if(Ea(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Ea(p)==="symbol"?p:String(p)),a)}var p}function Qf(f,i){return Qf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(d,a){return d.__proto__=a,d},Qf(f,i)}function mc(f){return mc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},mc(f)}$.PrecedencePredicate=pm;var I0=function(f){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&Qf(o,u)})(_,f);var i,d,a,p,c=(a=_,p=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=mc(a);if(p){var E=mc(this).constructor;o=Reflect.construct(u,arguments,E)}else o=u.apply(this,arguments);return function(x,A){if(A&&(Ea(A)==="object"||typeof A=="function"))return A;if(A!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(N){if(N===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return N}(x)}(this,o)});function _(o,u){var E;return function(x,A){if(!(x instanceof A))throw new TypeError("Cannot call a class as a function")}(this,_),(E=c.call(this,o)).serializationType=me.PRECEDENCE,E.precedence=u,E.isEpsilon=!0,E}return i=_,(d=[{key:"matches",value:function(o,u,E){return!1}},{key:"getPredicate",value:function(){return new pm(this.precedence)}},{key:"toString",value:function(){return this.precedence+" >= _p"}}])&&N0(i.prototype,d),Object.defineProperty(i,"prototype",{writable:!1}),_}(fo);function Cs(f){return Cs=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Cs(f)}function dm(f,i){for(var d=0;d<i.length;d++){var a=i[d];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(f,(p=function(c,_){if(Cs(c)!=="object"||c===null)return c;var o=c[Symbol.toPrimitive];if(o!==void 0){var u=o.call(c,"string");if(Cs(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Cs(p)==="symbol"?p:String(p)),a)}var p}function P0(f,i,d){return i&&dm(f.prototype,i),d&&dm(f,d),Object.defineProperty(f,"prototype",{writable:!1}),f}var Os=P0(function f(i){(function(d,a){if(!(d instanceof a))throw new TypeError("Cannot call a class as a function")})(this,f),i===void 0&&(i=null),this.readOnly=!1,this.verifyATN=i===null||i.verifyATN,this.generateRuleBypassTransitions=i!==null&&i.generateRuleBypassTransitions});Os.defaultOptions=new Os,Os.defaultOptions.readOnly=!0;function Ds(f){return Ds=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Ds(f)}function F0(f,i){for(var d=0;d<i.length;d++){var a=i[d];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(f,(p=function(c,_){if(Ds(c)!=="object"||c===null)return c;var o=c[Symbol.toPrimitive];if(o!==void 0){var u=o.call(c,"string");if(Ds(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Ds(p)==="symbol"?p:String(p)),a)}var p}var eo=function(){function f(a){(function(p,c){if(!(p instanceof c))throw new TypeError("Cannot call a class as a function")})(this,f),this.actionType=a,this.isPositionDependent=!1}var i,d;return i=f,(d=[{key:"hashCode",value:function(){var a=new S;return this.updateHashCode(a),a.finish()}},{key:"updateHashCode",value:function(a){a.update(this.actionType)}},{key:"equals",value:function(a){return this===a}}])&&F0(i.prototype,d),Object.defineProperty(i,"prototype",{writable:!1}),f}();function Sa(f){return Sa=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Sa(f)}function L0(f,i){for(var d=0;d<i.length;d++){var a=i[d];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(f,(p=function(c,_){if(Sa(c)!=="object"||c===null)return c;var o=c[Symbol.toPrimitive];if(o!==void 0){var u=o.call(c,"string");if(Sa(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Sa(p)==="symbol"?p:String(p)),a)}var p}function eh(f,i){return eh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(d,a){return d.__proto__=a,d},eh(f,i)}function _c(f){return _c=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},_c(f)}var th=function(f){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&eh(o,u)})(_,f);var i,d,a,p,c=(a=_,p=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=_c(a);if(p){var E=_c(this).constructor;o=Reflect.construct(u,arguments,E)}else o=u.apply(this,arguments);return function(x,A){if(A&&(Sa(A)==="object"||typeof A=="function"))return A;if(A!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(N){if(N===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return N}(x)}(this,o)});function _(){return function(o,u){if(!(o instanceof u))throw new TypeError("Cannot call a class as a function")}(this,_),c.call(this,6)}return i=_,(d=[{key:"execute",value:function(o){o.skip()}},{key:"toString",value:function(){return"skip"}}])&&L0(i.prototype,d),Object.defineProperty(i,"prototype",{writable:!1}),_}(eo);function Ta(f){return Ta=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Ta(f)}function M0(f,i){for(var d=0;d<i.length;d++){var a=i[d];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(f,(p=function(c,_){if(Ta(c)!=="object"||c===null)return c;var o=c[Symbol.toPrimitive];if(o!==void 0){var u=o.call(c,"string");if(Ta(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Ta(p)==="symbol"?p:String(p)),a)}var p}function nh(f,i){return nh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(d,a){return d.__proto__=a,d},nh(f,i)}function yc(f){return yc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},yc(f)}th.INSTANCE=new th;var B0=function(f){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&nh(o,u)})(_,f);var i,d,a,p,c=(a=_,p=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=yc(a);if(p){var E=yc(this).constructor;o=Reflect.construct(u,arguments,E)}else o=u.apply(this,arguments);return function(x,A){if(A&&(Ta(A)==="object"||typeof A=="function"))return A;if(A!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(N){if(N===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return N}(x)}(this,o)});function _(o){var u;return function(E,x){if(!(E instanceof x))throw new TypeError("Cannot call a class as a function")}(this,_),(u=c.call(this,0)).channel=o,u}return i=_,(d=[{key:"execute",value:function(o){o._channel=this.channel}},{key:"updateHashCode",value:function(o){o.update(this.actionType,this.channel)}},{key:"equals",value:function(o){return this===o||o instanceof _&&this.channel===o.channel}},{key:"toString",value:function(){return"channel("+this.channel+")"}}])&&M0(i.prototype,d),Object.defineProperty(i,"prototype",{writable:!1}),_}(eo);function Aa(f){return Aa=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Aa(f)}function U0(f,i){for(var d=0;d<i.length;d++){var a=i[d];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(f,(p=function(c,_){if(Aa(c)!=="object"||c===null)return c;var o=c[Symbol.toPrimitive];if(o!==void 0){var u=o.call(c,"string");if(Aa(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Aa(p)==="symbol"?p:String(p)),a)}var p}function rh(f,i){return rh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(d,a){return d.__proto__=a,d},rh(f,i)}function gc(f){return gc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},gc(f)}var V0=function(f){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&rh(o,u)})(_,f);var i,d,a,p,c=(a=_,p=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=gc(a);if(p){var E=gc(this).constructor;o=Reflect.construct(u,arguments,E)}else o=u.apply(this,arguments);return function(x,A){if(A&&(Aa(A)==="object"||typeof A=="function"))return A;if(A!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(N){if(N===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return N}(x)}(this,o)});function _(o,u){var E;return function(x,A){if(!(x instanceof A))throw new TypeError("Cannot call a class as a function")}(this,_),(E=c.call(this,1)).ruleIndex=o,E.actionIndex=u,E.isPositionDependent=!0,E}return i=_,(d=[{key:"execute",value:function(o){o.action(null,this.ruleIndex,this.actionIndex)}},{key:"updateHashCode",value:function(o){o.update(this.actionType,this.ruleIndex,this.actionIndex)}},{key:"equals",value:function(o){return this===o||o instanceof _&&this.ruleIndex===o.ruleIndex&&this.actionIndex===o.actionIndex}}])&&U0(i.prototype,d),Object.defineProperty(i,"prototype",{writable:!1}),_}(eo);function xa(f){return xa=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},xa(f)}function j0(f,i){for(var d=0;d<i.length;d++){var a=i[d];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(f,(p=function(c,_){if(xa(c)!=="object"||c===null)return c;var o=c[Symbol.toPrimitive];if(o!==void 0){var u=o.call(c,"string");if(xa(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),xa(p)==="symbol"?p:String(p)),a)}var p}function ih(f,i){return ih=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(d,a){return d.__proto__=a,d},ih(f,i)}function bc(f){return bc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},bc(f)}var oh=function(f){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&ih(o,u)})(_,f);var i,d,a,p,c=(a=_,p=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=bc(a);if(p){var E=bc(this).constructor;o=Reflect.construct(u,arguments,E)}else o=u.apply(this,arguments);return function(x,A){if(A&&(xa(A)==="object"||typeof A=="function"))return A;if(A!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(N){if(N===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return N}(x)}(this,o)});function _(){return function(o,u){if(!(o instanceof u))throw new TypeError("Cannot call a class as a function")}(this,_),c.call(this,3)}return i=_,(d=[{key:"execute",value:function(o){o.more()}},{key:"toString",value:function(){return"more"}}])&&j0(i.prototype,d),Object.defineProperty(i,"prototype",{writable:!1}),_}(eo);function Ca(f){return Ca=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Ca(f)}function $0(f,i){for(var d=0;d<i.length;d++){var a=i[d];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(f,(p=function(c,_){if(Ca(c)!=="object"||c===null)return c;var o=c[Symbol.toPrimitive];if(o!==void 0){var u=o.call(c,"string");if(Ca(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Ca(p)==="symbol"?p:String(p)),a)}var p}function ah(f,i){return ah=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(d,a){return d.__proto__=a,d},ah(f,i)}function vc(f){return vc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},vc(f)}oh.INSTANCE=new oh;var H0=function(f){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&ah(o,u)})(_,f);var i,d,a,p,c=(a=_,p=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=vc(a);if(p){var E=vc(this).constructor;o=Reflect.construct(u,arguments,E)}else o=u.apply(this,arguments);return function(x,A){if(A&&(Ca(A)==="object"||typeof A=="function"))return A;if(A!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(N){if(N===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return N}(x)}(this,o)});function _(o){var u;return function(E,x){if(!(E instanceof x))throw new TypeError("Cannot call a class as a function")}(this,_),(u=c.call(this,7)).type=o,u}return i=_,(d=[{key:"execute",value:function(o){o.type=this.type}},{key:"updateHashCode",value:function(o){o.update(this.actionType,this.type)}},{key:"equals",value:function(o){return this===o||o instanceof _&&this.type===o.type}},{key:"toString",value:function(){return"type("+this.type+")"}}])&&$0(i.prototype,d),Object.defineProperty(i,"prototype",{writable:!1}),_}(eo);function Oa(f){return Oa=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Oa(f)}function G0(f,i){for(var d=0;d<i.length;d++){var a=i[d];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(f,(p=function(c,_){if(Oa(c)!=="object"||c===null)return c;var o=c[Symbol.toPrimitive];if(o!==void 0){var u=o.call(c,"string");if(Oa(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Oa(p)==="symbol"?p:String(p)),a)}var p}function sh(f,i){return sh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(d,a){return d.__proto__=a,d},sh(f,i)}function Ec(f){return Ec=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Ec(f)}var K0=function(f){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&sh(o,u)})(_,f);var i,d,a,p,c=(a=_,p=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=Ec(a);if(p){var E=Ec(this).constructor;o=Reflect.construct(u,arguments,E)}else o=u.apply(this,arguments);return function(x,A){if(A&&(Oa(A)==="object"||typeof A=="function"))return A;if(A!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(N){if(N===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return N}(x)}(this,o)});function _(o){var u;return function(E,x){if(!(E instanceof x))throw new TypeError("Cannot call a class as a function")}(this,_),(u=c.call(this,5)).mode=o,u}return i=_,(d=[{key:"execute",value:function(o){o.pushMode(this.mode)}},{key:"updateHashCode",value:function(o){o.update(this.actionType,this.mode)}},{key:"equals",value:function(o){return this===o||o instanceof _&&this.mode===o.mode}},{key:"toString",value:function(){return"pushMode("+this.mode+")"}}])&&G0(i.prototype,d),Object.defineProperty(i,"prototype",{writable:!1}),_}(eo);function Da(f){return Da=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Da(f)}function z0(f,i){for(var d=0;d<i.length;d++){var a=i[d];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(f,(p=function(c,_){if(Da(c)!=="object"||c===null)return c;var o=c[Symbol.toPrimitive];if(o!==void 0){var u=o.call(c,"string");if(Da(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Da(p)==="symbol"?p:String(p)),a)}var p}function uh(f,i){return uh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(d,a){return d.__proto__=a,d},uh(f,i)}function Sc(f){return Sc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Sc(f)}var ch=function(f){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&uh(o,u)})(_,f);var i,d,a,p,c=(a=_,p=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=Sc(a);if(p){var E=Sc(this).constructor;o=Reflect.construct(u,arguments,E)}else o=u.apply(this,arguments);return function(x,A){if(A&&(Da(A)==="object"||typeof A=="function"))return A;if(A!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(N){if(N===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return N}(x)}(this,o)});function _(){return function(o,u){if(!(o instanceof u))throw new TypeError("Cannot call a class as a function")}(this,_),c.call(this,4)}return i=_,(d=[{key:"execute",value:function(o){o.popMode()}},{key:"toString",value:function(){return"popMode"}}])&&z0(i.prototype,d),Object.defineProperty(i,"prototype",{writable:!1}),_}(eo);function ka(f){return ka=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},ka(f)}function W0(f,i){for(var d=0;d<i.length;d++){var a=i[d];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(f,(p=function(c,_){if(ka(c)!=="object"||c===null)return c;var o=c[Symbol.toPrimitive];if(o!==void 0){var u=o.call(c,"string");if(ka(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),ka(p)==="symbol"?p:String(p)),a)}var p}function lh(f,i){return lh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(d,a){return d.__proto__=a,d},lh(f,i)}function Tc(f){return Tc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Tc(f)}ch.INSTANCE=new ch;var X0=function(f){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&lh(o,u)})(_,f);var i,d,a,p,c=(a=_,p=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=Tc(a);if(p){var E=Tc(this).constructor;o=Reflect.construct(u,arguments,E)}else o=u.apply(this,arguments);return function(x,A){if(A&&(ka(A)==="object"||typeof A=="function"))return A;if(A!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(N){if(N===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return N}(x)}(this,o)});function _(o){var u;return function(E,x){if(!(E instanceof x))throw new TypeError("Cannot call a class as a function")}(this,_),(u=c.call(this,2)).mode=o,u}return i=_,(d=[{key:"execute",value:function(o){o.mode(this.mode)}},{key:"updateHashCode",value:function(o){o.update(this.actionType,this.mode)}},{key:"equals",value:function(o){return this===o||o instanceof _&&this.mode===o.mode}},{key:"toString",value:function(){return"mode("+this.mode+")"}}])&&W0(i.prototype,d),Object.defineProperty(i,"prototype",{writable:!1}),_}(eo);function ks(f){return ks=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},ks(f)}function q0(f,i){for(var d=0;d<i.length;d++){var a=i[d];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(f,(p=function(c,_){if(ks(c)!=="object"||c===null)return c;var o=c[Symbol.toPrimitive];if(o!==void 0){var u=o.call(c,"string");if(ks(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),ks(p)==="symbol"?p:String(p)),a)}var p}function Ac(f,i){var d=[];return d[f-1]=i,d.map(function(a){return i})}var fh=function(){function f(a){(function(p,c){if(!(p instanceof c))throw new TypeError("Cannot call a class as a function")})(this,f),a==null&&(a=Os.defaultOptions),this.deserializationOptions=a,this.stateFactories=null,this.actionFactories=null}var i,d;return i=f,d=[{key:"deserialize",value:function(a){var p=this.reset(a);this.checkVersion(p),p&&this.skipUUID();var c=this.readATN();this.readStates(c,p),this.readRules(c,p),this.readModes(c);var _=[];return this.readSets(c,_,this.readInt.bind(this)),p&&this.readSets(c,_,this.readInt32.bind(this)),this.readEdges(c,_),this.readDecisions(c),this.readLexerActions(c,p),this.markPrecedenceDecisions(c),this.verifyATN(c),this.deserializationOptions.generateRuleBypassTransitions&&c.grammarType===1&&(this.generateRuleBypassTransitions(c),this.verifyATN(c)),c}},{key:"reset",value:function(a){if((a.charCodeAt?a.charCodeAt(0):a[0])===3){var p=a.split("").map(function(c){var _=c.charCodeAt(0);return _>1?_-2:_+65534});return p[0]=a.charCodeAt(0),this.data=p,this.pos=0,!0}return this.data=a,this.pos=0,!1}},{key:"skipUUID",value:function(){for(var a=0;a++<8;)this.readInt()}},{key:"checkVersion",value:function(a){var p=this.readInt();if(!a&&p!==4)throw"Could not deserialize ATN with version "+p+" (expected 4)."}},{key:"readATN",value:function(){var a=this.readInt(),p=this.readInt();return new mn(a,p)}},{key:"readStates",value:function(a,p){for(var c,_,o,u=[],E=[],x=this.readInt(),A=0;A<x;A++){var N=this.readInt();if(N!==be.INVALID_TYPE){var te=this.readInt();p&&te===65535&&(te=-1);var Re=this.stateFactory(N,te);if(N===be.LOOP_END){var De=this.readInt();u.push([Re,De])}else if(Re instanceof ha){var He=this.readInt();E.push([Re,He])}a.addState(Re)}else a.addState(null)}for(c=0;c<u.length;c++)(_=u[c])[0].loopBackState=a.states[_[1]];for(c=0;c<E.length;c++)(_=E[c])[0].endState=a.states[_[1]];var at=this.readInt();for(c=0;c<at;c++)o=this.readInt(),a.states[o].nonGreedy=!0;var ze=this.readInt();for(c=0;c<ze;c++)o=this.readInt(),a.states[o].isPrecedenceRule=!0}},{key:"readRules",value:function(a,p){var c,_=this.readInt();for(a.grammarType===0&&(a.ruleToTokenType=Ac(_,0)),a.ruleToStartState=Ac(_,0),c=0;c<_;c++){var o=this.readInt();if(a.ruleToStartState[c]=a.states[o],a.grammarType===0){var u=this.readInt();p&&u===65535&&(u=n.EOF),a.ruleToTokenType[c]=u}}for(a.ruleToStopState=Ac(_,0),c=0;c<a.states.length;c++){var E=a.states[c];E instanceof Ot&&(a.ruleToStopState[E.ruleIndex]=E,a.ruleToStartState[E.ruleIndex].stopState=E)}}},{key:"readModes",value:function(a){for(var p=this.readInt(),c=0;c<p;c++){var _=this.readInt();a.modeToStartState.push(a.states[_])}}},{key:"readSets",value:function(a,p,c){for(var _=this.readInt(),o=0;o<_;o++){var u=new re;p.push(u);var E=this.readInt();this.readInt()!==0&&u.addOne(-1);for(var x=0;x<E;x++){var A=c(),N=c();u.addRange(A,N)}}}},{key:"readEdges",value:function(a,p){var c,_,o,u,E,x=this.readInt();for(c=0;c<x;c++){var A=this.readInt(),N=this.readInt(),te=this.readInt(),Re=this.readInt(),De=this.readInt(),He=this.readInt();u=this.edgeFactory(a,te,A,N,Re,De,He,p),a.states[A].addTransition(u)}for(c=0;c<a.states.length;c++)for(o=a.states[c],_=0;_<o.transitions.length;_++){var at=o.transitions[_];if(at instanceof Qt){var ze=-1;a.ruleToStartState[at.target.ruleIndex].isPrecedenceRule&&at.precedence===0&&(ze=at.target.ruleIndex),u=new xs(at.followState,ze),a.ruleToStopState[at.target.ruleIndex].addTransition(u)}}for(c=0;c<a.states.length;c++){if((o=a.states[c])instanceof ha){if(o.endState===null||o.endState.startState!==null)throw"IllegalState";o.endState.startState=o}if(o instanceof Zd)for(_=0;_<o.transitions.length;_++)(E=o.transitions[_].target)instanceof Uf&&(E.loopBackState=o);else if(o instanceof Pf)for(_=0;_<o.transitions.length;_++)(E=o.transitions[_].target)instanceof Uo&&(E.loopBackState=o)}}},{key:"readDecisions",value:function(a){for(var p=this.readInt(),c=0;c<p;c++){var _=this.readInt(),o=a.states[_];a.decisionToState.push(o),o.decision=c}}},{key:"readLexerActions",value:function(a,p){if(a.grammarType===0){var c=this.readInt();a.lexerActions=Ac(c,null);for(var _=0;_<c;_++){var o=this.readInt(),u=this.readInt();p&&u===65535&&(u=-1);var E=this.readInt();p&&E===65535&&(E=-1),a.lexerActions[_]=this.lexerActionFactory(o,u,E)}}}},{key:"generateRuleBypassTransitions",value:function(a){var p,c=a.ruleToStartState.length;for(p=0;p<c;p++)a.ruleToTokenType[p]=a.maxTokenType+p+1;for(p=0;p<c;p++)this.generateRuleBypassTransition(a,p)}},{key:"generateRuleBypassTransition",value:function(a,p){var c,_,o=new cm;o.ruleIndex=p,a.addState(o);var u=new Tf;u.ruleIndex=p,a.addState(u),o.endState=u,a.defineDecisionState(o),u.startState=o;var E=null,x=null;if(a.ruleToStartState[p].isPrecedenceRule){for(x=null,c=0;c<a.states.length;c++)if(_=a.states[c],this.stateIsEndStateFor(_,p)){x=_,E=_.loopBackState.transitions[0];break}if(E===null)throw"Couldn't identify final state of the precedence rule prefix section."}else x=a.ruleToStopState[p];for(c=0;c<a.states.length;c++){_=a.states[c];for(var A=0;A<_.transitions.length;A++){var N=_.transitions[A];N!==E&&N.target===x&&(N.target=u)}}for(var te=a.ruleToStartState[p],Re=te.transitions.length;Re>0;)o.addTransition(te.transitions[Re-1]),te.transitions=te.transitions.slice(-1);a.ruleToStartState[p].addTransition(new xs(o)),u.addTransition(new xs(x));var De=new Ld;a.addState(De),De.addTransition(new zf(u,a.ruleToTokenType[p])),o.addTransition(new xs(De))}},{key:"stateIsEndStateFor",value:function(a,p){if(a.ruleIndex!==p||!(a instanceof Uo))return null;var c=a.transitions[a.transitions.length-1].target;return c instanceof pa&&c.epsilonOnlyTransitions&&c.transitions[0].target instanceof Ot?a:null}},{key:"markPrecedenceDecisions",value:function(a){for(var p=0;p<a.states.length;p++){var c=a.states[p];if(c instanceof Uo&&a.ruleToStartState[c.ruleIndex].isPrecedenceRule){var _=c.transitions[c.transitions.length-1].target;_ instanceof pa&&_.epsilonOnlyTransitions&&_.transitions[0].target instanceof Ot&&(c.isPrecedenceDecision=!0)}}}},{key:"verifyATN",value:function(a){if(this.deserializationOptions.verifyATN)for(var p=0;p<a.states.length;p++){var c=a.states[p];if(c!==null)if(this.checkCondition(c.epsilonOnlyTransitions||c.transitions.length<=1),c instanceof Uf)this.checkCondition(c.loopBackState!==null);else if(c instanceof Uo)if(this.checkCondition(c.loopBackState!==null),this.checkCondition(c.transitions.length===2),c.transitions[0].target instanceof $f)this.checkCondition(c.transitions[1].target instanceof pa),this.checkCondition(!c.nonGreedy);else{if(!(c.transitions[0].target instanceof pa))throw"IllegalState";this.checkCondition(c.transitions[1].target instanceof $f),this.checkCondition(c.nonGreedy)}else c instanceof Pf?(this.checkCondition(c.transitions.length===1),this.checkCondition(c.transitions[0].target instanceof Uo)):c instanceof pa?this.checkCondition(c.loopBackState!==null):c instanceof Wd?this.checkCondition(c.stopState!==null):c instanceof ha?this.checkCondition(c.endState!==null):c instanceof Tf?this.checkCondition(c.startState!==null):c instanceof fa?this.checkCondition(c.transitions.length<=1||c.decision>=0):this.checkCondition(c.transitions.length<=1||c instanceof Ot)}}},{key:"checkCondition",value:function(a,p){if(!a)throw p==null&&(p="IllegalState"),p}},{key:"readInt",value:function(){return this.data[this.pos++]}},{key:"readInt32",value:function(){return this.readInt()|this.readInt()<<16}},{key:"edgeFactory",value:function(a,p,c,_,o,u,E,x){var A=a.states[_];switch(p){case me.EPSILON:return new xs(A);case me.RANGE:return new C0(A,E!==0?n.EOF:o,u);case me.RULE:return new Qt(a.states[o],u,E,A);case me.PREDICATE:return new hm(A,o,u,E!==0);case me.PRECEDENCE:return new I0(A,o);case me.ATOM:return new zf(A,E!==0?n.EOF:o);case me.ACTION:return new lm(A,o,u,E!==0);case me.SET:return new xi(A,x[o]);case me.NOT_SET:return new on(A,x[o]);case me.WILDCARD:return new Ln(A);default:throw"The specified transition type: "+p+" is not valid."}}},{key:"stateFactory",value:function(a,p){if(this.stateFactories===null){var c=[];c[be.INVALID_TYPE]=null,c[be.BASIC]=function(){return new Ld},c[be.RULE_START]=function(){return new Wd},c[be.BLOCK_START]=function(){return new cm},c[be.PLUS_BLOCK_START]=function(){return new Uf},c[be.STAR_BLOCK_START]=function(){return new $f},c[be.TOKEN_START]=function(){return new T0},c[be.RULE_STOP]=function(){return new Ot},c[be.BLOCK_END]=function(){return new Tf},c[be.STAR_LOOP_BACK]=function(){return new Pf},c[be.STAR_LOOP_ENTRY]=function(){return new Uo},c[be.PLUS_LOOP_BACK]=function(){return new Zd},c[be.LOOP_END]=function(){return new pa},this.stateFactories=c}if(a>this.stateFactories.length||this.stateFactories[a]===null)throw"The specified state type "+a+" is not valid.";var _=this.stateFactories[a]();if(_!==null)return _.ruleIndex=p,_}},{key:"lexerActionFactory",value:function(a,p,c){if(this.actionFactories===null){var _=[];_[0]=function(o,u){return new B0(o)},_[1]=function(o,u){return new V0(o,u)},_[2]=function(o,u){return new X0(o)},_[3]=function(o,u){return oh.INSTANCE},_[4]=function(o,u){return ch.INSTANCE},_[5]=function(o,u){return new K0(o)},_[6]=function(o,u){return th.INSTANCE},_[7]=function(o,u){return new H0(o)},this.actionFactories=_}if(a>this.actionFactories.length||this.actionFactories[a]===null)throw"The specified lexer action type "+a+" is not valid.";return this.actionFactories[a](p,c)}}],d&&q0(i.prototype,d),Object.defineProperty(i,"prototype",{writable:!1}),f}();function Rs(f){return Rs=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Rs(f)}function Y0(f,i){for(var d=0;d<i.length;d++){var a=i[d];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(f,(p=function(c,_){if(Rs(c)!=="object"||c===null)return c;var o=c[Symbol.toPrimitive];if(o!==void 0){var u=o.call(c,"string");if(Rs(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Rs(p)==="symbol"?p:String(p)),a)}var p}var ws=function(){function f(){(function(a,p){if(!(a instanceof p))throw new TypeError("Cannot call a class as a function")})(this,f)}var i,d;return i=f,(d=[{key:"syntaxError",value:function(a,p,c,_,o,u){}},{key:"reportAmbiguity",value:function(a,p,c,_,o,u,E){}},{key:"reportAttemptingFullContext",value:function(a,p,c,_,o,u){}},{key:"reportContextSensitivity",value:function(a,p,c,_,o,u){}}])&&Y0(i.prototype,d),Object.defineProperty(i,"prototype",{writable:!1}),f}();function Ra(f){return Ra=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Ra(f)}function J0(f,i){for(var d=0;d<i.length;d++){var a=i[d];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(f,(p=function(c,_){if(Ra(c)!=="object"||c===null)return c;var o=c[Symbol.toPrimitive];if(o!==void 0){var u=o.call(c,"string");if(Ra(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Ra(p)==="symbol"?p:String(p)),a)}var p}function hh(f,i){return hh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(d,a){return d.__proto__=a,d},hh(f,i)}function xc(f){return xc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},xc(f)}var ph=function(f){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&hh(o,u)})(_,f);var i,d,a,p,c=(a=_,p=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=xc(a);if(p){var E=xc(this).constructor;o=Reflect.construct(u,arguments,E)}else o=u.apply(this,arguments);return function(x,A){if(A&&(Ra(A)==="object"||typeof A=="function"))return A;if(A!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(N){if(N===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return N}(x)}(this,o)});function _(){return function(o,u){if(!(o instanceof u))throw new TypeError("Cannot call a class as a function")}(this,_),c.call(this)}return i=_,(d=[{key:"syntaxError",value:function(o,u,E,x,A,N){console.error("line "+E+":"+x+" "+A)}}])&&J0(i.prototype,d),Object.defineProperty(i,"prototype",{writable:!1}),_}(ws);function wa(f){return wa=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},wa(f)}function Z0(f,i){for(var d=0;d<i.length;d++){var a=i[d];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(f,(p=function(c,_){if(wa(c)!=="object"||c===null)return c;var o=c[Symbol.toPrimitive];if(o!==void 0){var u=o.call(c,"string");if(wa(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),wa(p)==="symbol"?p:String(p)),a)}var p}function dh(f,i){return dh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(d,a){return d.__proto__=a,d},dh(f,i)}function mm(f,i){if(i&&(wa(i)==="object"||typeof i=="function"))return i;if(i!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return _m(f)}function _m(f){if(f===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return f}function Cc(f){return Cc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Cc(f)}ph.INSTANCE=new ph;var Q0=function(f){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&dh(o,u)})(_,f);var i,d,a,p,c=(a=_,p=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=Cc(a);if(p){var E=Cc(this).constructor;o=Reflect.construct(u,arguments,E)}else o=u.apply(this,arguments);return mm(this,o)});function _(o){var u;if(function(E,x){if(!(E instanceof x))throw new TypeError("Cannot call a class as a function")}(this,_),u=c.call(this),o===null)throw"delegates";return u.delegates=o,mm(u,_m(u))}return i=_,d=[{key:"syntaxError",value:function(o,u,E,x,A,N){this.delegates.map(function(te){return te.syntaxError(o,u,E,x,A,N)})}},{key:"reportAmbiguity",value:function(o,u,E,x,A,N,te){this.delegates.map(function(Re){return Re.reportAmbiguity(o,u,E,x,A,N,te)})}},{key:"reportAttemptingFullContext",value:function(o,u,E,x,A,N){this.delegates.map(function(te){return te.reportAttemptingFullContext(o,u,E,x,A,N)})}},{key:"reportContextSensitivity",value:function(o,u,E,x,A,N){this.delegates.map(function(te){return te.reportContextSensitivity(o,u,E,x,A,N)})}}],d&&Z0(i.prototype,d),Object.defineProperty(i,"prototype",{writable:!1}),_}(ws);function Ns(f){return Ns=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Ns(f)}function eg(f,i){for(var d=0;d<i.length;d++){var a=i[d];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(f,(p=function(c,_){if(Ns(c)!=="object"||c===null)return c;var o=c[Symbol.toPrimitive];if(o!==void 0){var u=o.call(c,"string");if(Ns(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Ns(p)==="symbol"?p:String(p)),a)}var p}var Oc=function(){function f(){(function(a,p){if(!(a instanceof p))throw new TypeError("Cannot call a class as a function")})(this,f),this._listeners=[ph.INSTANCE],this._interp=null,this._stateNumber=-1}var i,d;return i=f,(d=[{key:"checkVersion",value:function(a){var p="4.13.0";p!==a&&console.log("ANTLR runtime and generated code versions disagree: "+p+"!="+a)}},{key:"addErrorListener",value:function(a){this._listeners.push(a)}},{key:"removeErrorListeners",value:function(){this._listeners=[]}},{key:"getLiteralNames",value:function(){return Object.getPrototypeOf(this).constructor.literalNames||[]}},{key:"getSymbolicNames",value:function(){return Object.getPrototypeOf(this).constructor.symbolicNames||[]}},{key:"getTokenNames",value:function(){if(!this.tokenNames){var a=this.getLiteralNames(),p=this.getSymbolicNames(),c=a.length>p.length?a.length:p.length;this.tokenNames=[];for(var _=0;_<c;_++)this.tokenNames[_]=a[_]||p[_]||"<INVALID"}return this.tokenNames}},{key:"getTokenTypeMap",value:function(){var a=this.getTokenNames();if(a===null)throw"The current recognizer does not provide a list of token names.";var p=this.tokenTypeMapCache[a];return p===void 0&&((p=a.reduce(function(c,_,o){c[_]=o})).EOF=n.EOF,this.tokenTypeMapCache[a]=p),p}},{key:"getRuleIndexMap",value:function(){var a=this.ruleNames;if(a===null)throw"The current recognizer does not provide a list of rule names.";var p=this.ruleIndexMapCache[a];return p===void 0&&(p=a.reduce(function(c,_,o){c[_]=o}),this.ruleIndexMapCache[a]=p),p}},{key:"getTokenType",value:function(a){var p=this.getTokenTypeMap()[a];return p!==void 0?p:n.INVALID_TYPE}},{key:"getErrorHeader",value:function(a){return"line "+a.getOffendingToken().line+":"+a.getOffendingToken().column}},{key:"getTokenErrorDisplay",value:function(a){if(a===null)return"<no token>";var p=a.text;return p===null&&(p=a.type===n.EOF?"<EOF>":"<"+a.type+">"),"'"+(p=p.replace(`
2
+ `,"\\n").replace("\r","\\r").replace(" ","\\t"))+"'"}},{key:"getErrorListenerDispatch",value:function(){return new Q0(this._listeners)}},{key:"sempred",value:function(a,p,c){return!0}},{key:"precpred",value:function(a,p){return!0}},{key:"atn",get:function(){return this._interp.atn}},{key:"state",get:function(){return this._stateNumber},set:function(a){this._stateNumber=a}}])&&eg(i.prototype,d),Object.defineProperty(i,"prototype",{writable:!1}),f}();function Na(f){return Na=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Na(f)}function tg(f,i){for(var d=0;d<i.length;d++){var a=i[d];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(f,(p=function(c,_){if(Na(c)!=="object"||c===null)return c;var o=c[Symbol.toPrimitive];if(o!==void 0){var u=o.call(c,"string");if(Na(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Na(p)==="symbol"?p:String(p)),a)}var p}function mh(f,i){return mh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(d,a){return d.__proto__=a,d},mh(f,i)}function Dc(f){return Dc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Dc(f)}Oc.tokenTypeMapCache={},Oc.ruleIndexMapCache={};var Is=function(f){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&mh(o,u)})(_,f);var i,d,a,p,c=(a=_,p=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=Dc(a);if(p){var E=Dc(this).constructor;o=Reflect.construct(u,arguments,E)}else o=u.apply(this,arguments);return function(x,A){if(A&&(Na(A)==="object"||typeof A=="function"))return A;if(A!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(N){if(N===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return N}(x)}(this,o)});function _(o,u,E,x,A){var N;return function(te,Re){if(!(te instanceof Re))throw new TypeError("Cannot call a class as a function")}(this,_),(N=c.call(this)).source=o!==void 0?o:_.EMPTY_SOURCE,N.type=u!==void 0?u:null,N.channel=E!==void 0?E:n.DEFAULT_CHANNEL,N.start=x!==void 0?x:-1,N.stop=A!==void 0?A:-1,N.tokenIndex=-1,N.source[0]!==null?(N.line=o[0].line,N.column=o[0].column):N.column=-1,N}return i=_,(d=[{key:"clone",value:function(){var o=new _(this.source,this.type,this.channel,this.start,this.stop);return o.tokenIndex=this.tokenIndex,o.line=this.line,o.column=this.column,o.text=this.text,o}},{key:"cloneWithType",value:function(o){var u=new _(this.source,o,this.channel,this.start,this.stop);return u.tokenIndex=this.tokenIndex,u.line=this.line,u.column=this.column,o===n.EOF&&(u.text=""),u}},{key:"toString",value:function(){var o=this.text;return o=o!==null?o.replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t"):"<no text>","[@"+this.tokenIndex+","+this.start+":"+this.stop+"='"+o+"',<"+this.type+">"+(this.channel>0?",channel="+this.channel:"")+","+this.line+":"+this.column+"]"}},{key:"text",get:function(){if(this._text!==null)return this._text;var o=this.getInputStream();if(o===null)return null;var u=o.size;return this.start<u&&this.stop<u?o.getText(this.start,this.stop):"<EOF>"},set:function(o){this._text=o}}])&&tg(i.prototype,d),Object.defineProperty(i,"prototype",{writable:!1}),_}(n);function Ia(f){return Ia=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Ia(f)}function _h(f,i){return _h=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(d,a){return d.__proto__=a,d},_h(f,i)}function kc(f){return kc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},kc(f)}function ym(f,i){for(var d=0;d<i.length;d++){var a=i[d];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(f,(p=function(c,_){if(Ia(c)!=="object"||c===null)return c;var o=c[Symbol.toPrimitive];if(o!==void 0){var u=o.call(c,"string");if(Ia(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Ia(p)==="symbol"?p:String(p)),a)}var p}function gm(f,i,d){return i&&ym(f.prototype,i),d&&ym(f,d),Object.defineProperty(f,"prototype",{writable:!1}),f}function bm(f,i){if(!(f instanceof i))throw new TypeError("Cannot call a class as a function")}Is.EMPTY_SOURCE=[null,null];var yh=function(f){(function(c,_){if(typeof _!="function"&&_!==null)throw new TypeError("Super expression must either be null or a function");c.prototype=Object.create(_&&_.prototype,{constructor:{value:c,writable:!0,configurable:!0}}),Object.defineProperty(c,"prototype",{writable:!1}),_&&_h(c,_)})(p,f);var i,d,a=(i=p,d=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var c,_=kc(i);if(d){var o=kc(this).constructor;c=Reflect.construct(_,arguments,o)}else c=_.apply(this,arguments);return function(u,E){if(E&&(Ia(E)==="object"||typeof E=="function"))return E;if(E!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(x){if(x===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return x}(u)}(this,c)});function p(c){var _;return bm(this,p),(_=a.call(this)).copyText=c!==void 0&&c,_}return gm(p,[{key:"create",value:function(c,_,o,u,E,x,A,N){var te=new Is(c,_,u,E,x);return te.line=A,te.column=N,o!==null?te.text=o:this.copyText&&c[1]!==null&&(te.text=c[1].getText(E,x)),te}},{key:"createThin",value:function(c,_){var o=new Is(null,c);return o.text=_,o}}]),p}(gm(function f(){bm(this,f)}));function Pa(f){return Pa=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Pa(f)}function ng(f,i){for(var d=0;d<i.length;d++){var a=i[d];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(f,(p=function(c,_){if(Pa(c)!=="object"||c===null)return c;var o=c[Symbol.toPrimitive];if(o!==void 0){var u=o.call(c,"string");if(Pa(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Pa(p)==="symbol"?p:String(p)),a)}var p}function vm(f){if(f===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return f}function gh(f){var i=typeof Map=="function"?new Map:void 0;return gh=function(d){if(d===null||(a=d,Function.toString.call(a).indexOf("[native code]")===-1))return d;var a;if(typeof d!="function")throw new TypeError("Super expression must either be null or a function");if(i!==void 0){if(i.has(d))return i.get(d);i.set(d,p)}function p(){return bh(d,arguments,Fs(this).constructor)}return p.prototype=Object.create(d.prototype,{constructor:{value:p,enumerable:!1,writable:!0,configurable:!0}}),Ps(p,d)},gh(f)}function bh(f,i,d){return bh=Em()?Reflect.construct.bind():function(a,p,c){var _=[null];_.push.apply(_,p);var o=new(Function.bind.apply(a,_));return c&&Ps(o,c.prototype),o},bh.apply(null,arguments)}function Em(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Ps(f,i){return Ps=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(d,a){return d.__proto__=a,d},Ps(f,i)}function Fs(f){return Fs=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Fs(f)}yh.DEFAULT=new yh;var Vo=function(f){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&Ps(o,u)})(_,f);var i,d,a,p,c=(a=_,p=Em(),function(){var o,u=Fs(a);if(p){var E=Fs(this).constructor;o=Reflect.construct(u,arguments,E)}else o=u.apply(this,arguments);return function(x,A){if(A&&(Pa(A)==="object"||typeof A=="function"))return A;if(A!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return vm(x)}(this,o)});function _(o){var u;return function(E,x){if(!(E instanceof x))throw new TypeError("Cannot call a class as a function")}(this,_),u=c.call(this,o.message),Error.captureStackTrace&&Error.captureStackTrace(vm(u),_),u.message=o.message,u.recognizer=o.recognizer,u.input=o.input,u.ctx=o.ctx,u.offendingToken=null,u.offendingState=-1,u.recognizer!==null&&(u.offendingState=u.recognizer.state),u}return i=_,(d=[{key:"getExpectedTokens",value:function(){return this.recognizer!==null?this.recognizer.atn.getExpectedTokens(this.offendingState,this.ctx):null}},{key:"toString",value:function(){return this.message}}])&&ng(i.prototype,d),Object.defineProperty(i,"prototype",{writable:!1}),_}(gh(Error));function Fa(f){return Fa=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Fa(f)}function rg(f,i){for(var d=0;d<i.length;d++){var a=i[d];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(f,(p=function(c,_){if(Fa(c)!=="object"||c===null)return c;var o=c[Symbol.toPrimitive];if(o!==void 0){var u=o.call(c,"string");if(Fa(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Fa(p)==="symbol"?p:String(p)),a)}var p}function vh(f,i){return vh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(d,a){return d.__proto__=a,d},vh(f,i)}function Rc(f){return Rc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Rc(f)}var Eh=function(f){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&vh(o,u)})(_,f);var i,d,a,p,c=(a=_,p=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=Rc(a);if(p){var E=Rc(this).constructor;o=Reflect.construct(u,arguments,E)}else o=u.apply(this,arguments);return function(x,A){if(A&&(Fa(A)==="object"||typeof A=="function"))return A;if(A!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(N){if(N===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return N}(x)}(this,o)});function _(o,u,E,x){var A;return function(N,te){if(!(N instanceof te))throw new TypeError("Cannot call a class as a function")}(this,_),(A=c.call(this,{message:"",recognizer:o,input:u,ctx:null})).startIndex=E,A.deadEndConfigs=x,A}return i=_,(d=[{key:"toString",value:function(){var o="";return this.startIndex>=0&&this.startIndex<this.input.size&&(o=this.input.getText(new ve(this.startIndex,this.startIndex))),"LexerNoViableAltException"+o}}])&&rg(i.prototype,d),Object.defineProperty(i,"prototype",{writable:!1}),_}(Vo);function La(f){return La=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},La(f)}function ig(f,i){for(var d=0;d<i.length;d++){var a=i[d];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(f,(p=function(c,_){if(La(c)!=="object"||c===null)return c;var o=c[Symbol.toPrimitive];if(o!==void 0){var u=o.call(c,"string");if(La(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),La(p)==="symbol"?p:String(p)),a)}var p}function Sh(f,i){return Sh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(d,a){return d.__proto__=a,d},Sh(f,i)}function Sm(f){if(f===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return f}function wc(f){return wc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},wc(f)}var ar=function(f){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&Sh(o,u)})(_,f);var i,d,a,p,c=(a=_,p=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=wc(a);if(p){var E=wc(this).constructor;o=Reflect.construct(u,arguments,E)}else o=u.apply(this,arguments);return function(x,A){if(A&&(La(A)==="object"||typeof A=="function"))return A;if(A!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Sm(x)}(this,o)});function _(o){var u;return function(E,x){if(!(E instanceof x))throw new TypeError("Cannot call a class as a function")}(this,_),(u=c.call(this))._input=o,u._factory=yh.DEFAULT,u._tokenFactorySourcePair=[Sm(u),o],u._interp=null,u._token=null,u._tokenStartCharIndex=-1,u._tokenStartLine=-1,u._tokenStartColumn=-1,u._hitEOF=!1,u._channel=n.DEFAULT_CHANNEL,u._type=n.INVALID_TYPE,u._modeStack=[],u._mode=_.DEFAULT_MODE,u._text=null,u}return i=_,(d=[{key:"reset",value:function(){this._input!==null&&this._input.seek(0),this._token=null,this._type=n.INVALID_TYPE,this._channel=n.DEFAULT_CHANNEL,this._tokenStartCharIndex=-1,this._tokenStartColumn=-1,this._tokenStartLine=-1,this._text=null,this._hitEOF=!1,this._mode=_.DEFAULT_MODE,this._modeStack=[],this._interp.reset()}},{key:"nextToken",value:function(){if(this._input===null)throw"nextToken requires a non-null input stream.";var o=this._input.mark();try{for(;;){if(this._hitEOF)return this.emitEOF(),this._token;this._token=null,this._channel=n.DEFAULT_CHANNEL,this._tokenStartCharIndex=this._input.index,this._tokenStartColumn=this._interp.column,this._tokenStartLine=this._interp.line,this._text=null;for(var u=!1;;){this._type=n.INVALID_TYPE;var E=_.SKIP;try{E=this._interp.match(this._input,this._mode)}catch(x){if(!(x instanceof Vo))throw console.log(x.stack),x;this.notifyListeners(x),this.recover(x)}if(this._input.LA(1)===n.EOF&&(this._hitEOF=!0),this._type===n.INVALID_TYPE&&(this._type=E),this._type===_.SKIP){u=!0;break}if(this._type!==_.MORE)break}if(!u)return this._token===null&&this.emit(),this._token}}finally{this._input.release(o)}}},{key:"skip",value:function(){this._type=_.SKIP}},{key:"more",value:function(){this._type=_.MORE}},{key:"mode",value:function(o){this._mode=o}},{key:"pushMode",value:function(o){this._interp.debug&&console.log("pushMode "+o),this._modeStack.push(this._mode),this.mode(o)}},{key:"popMode",value:function(){if(this._modeStack.length===0)throw"Empty Stack";return this._interp.debug&&console.log("popMode back to "+this._modeStack.slice(0,-1)),this.mode(this._modeStack.pop()),this._mode}},{key:"emitToken",value:function(o){this._token=o}},{key:"emit",value:function(){var o=this._factory.create(this._tokenFactorySourcePair,this._type,this._text,this._channel,this._tokenStartCharIndex,this.getCharIndex()-1,this._tokenStartLine,this._tokenStartColumn);return this.emitToken(o),o}},{key:"emitEOF",value:function(){var o=this.column,u=this.line,E=this._factory.create(this._tokenFactorySourcePair,n.EOF,null,n.DEFAULT_CHANNEL,this._input.index,this._input.index-1,u,o);return this.emitToken(E),E}},{key:"getCharIndex",value:function(){return this._input.index}},{key:"getAllTokens",value:function(){for(var o=[],u=this.nextToken();u.type!==n.EOF;)o.push(u),u=this.nextToken();return o}},{key:"notifyListeners",value:function(o){var u=this._tokenStartCharIndex,E=this._input.index,x=this._input.getText(u,E),A="token recognition error at: '"+this.getErrorDisplay(x)+"'";this.getErrorListenerDispatch().syntaxError(this,null,this._tokenStartLine,this._tokenStartColumn,A,o)}},{key:"getErrorDisplay",value:function(o){for(var u=[],E=0;E<o.length;E++)u.push(o[E]);return u.join("")}},{key:"getErrorDisplayForChar",value:function(o){return o.charCodeAt(0)===n.EOF?"<EOF>":o===`
3
+ `?"\\n":o===" "?"\\t":o==="\r"?"\\r":o}},{key:"getCharErrorDisplay",value:function(o){return"'"+this.getErrorDisplayForChar(o)+"'"}},{key:"recover",value:function(o){this._input.LA(1)!==n.EOF&&(o instanceof Eh?this._interp.consume(this._input):this._input.consume())}},{key:"inputStream",get:function(){return this._input},set:function(o){this._input=null,this._tokenFactorySourcePair=[this,this._input],this.reset(),this._input=o,this._tokenFactorySourcePair=[this,this._input]}},{key:"sourceName",get:function(){return this._input.sourceName}},{key:"type",get:function(){return this._type},set:function(o){this._type=o}},{key:"line",get:function(){return this._interp.line},set:function(o){this._interp.line=o}},{key:"column",get:function(){return this._interp.column},set:function(o){this._interp.column=o}},{key:"text",get:function(){return this._text!==null?this._text:this._interp.getText(this._input)},set:function(o){this._text=o}}])&&ig(i.prototype,d),Object.defineProperty(i,"prototype",{writable:!1}),_}(Oc);function Ls(f){return Ls=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Ls(f)}function og(f,i){for(var d=0;d<i.length;d++){var a=i[d];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(f,(p=function(c,_){if(Ls(c)!=="object"||c===null)return c;var o=c[Symbol.toPrimitive];if(o!==void 0){var u=o.call(c,"string");if(Ls(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Ls(p)==="symbol"?p:String(p)),a)}var p}function ag(f){return f.hashCodeForConfigSet()}function sg(f,i){return f===i||f!==null&&i!==null&&f.equalsForConfigSet(i)}ar.DEFAULT_MODE=0,ar.MORE=-2,ar.SKIP=-3,ar.DEFAULT_TOKEN_CHANNEL=n.DEFAULT_CHANNEL,ar.HIDDEN=n.HIDDEN_CHANNEL,ar.MIN_CHAR_VALUE=0,ar.MAX_CHAR_VALUE=1114111;var Ur=function(){function f(a){(function(p,c){if(!(p instanceof c))throw new TypeError("Cannot call a class as a function")})(this,f),this.configLookup=new g(ag,sg),this.fullCtx=a===void 0||a,this.readOnly=!1,this.configs=[],this.uniqueAlt=0,this.conflictingAlts=null,this.hasSemanticContext=!1,this.dipsIntoOuterContext=!1,this.cachedHashCode=-1}var i,d;return i=f,(d=[{key:"add",value:function(a,p){if(p===void 0&&(p=null),this.readOnly)throw"This set is readonly";a.semanticContext!==$.NONE&&(this.hasSemanticContext=!0),a.reachesIntoOuterContext>0&&(this.dipsIntoOuterContext=!0);var c=this.configLookup.add(a);if(c===a)return this.cachedHashCode=-1,this.configs.push(a),!0;var _=!this.fullCtx,o=la(c.context,a.context,_,p);return c.reachesIntoOuterContext=Math.max(c.reachesIntoOuterContext,a.reachesIntoOuterContext),a.precedenceFilterSuppressed&&(c.precedenceFilterSuppressed=!0),c.context=o,!0}},{key:"getStates",value:function(){for(var a=new g,p=0;p<this.configs.length;p++)a.add(this.configs[p].state);return a}},{key:"getPredicates",value:function(){for(var a=[],p=0;p<this.configs.length;p++){var c=this.configs[p].semanticContext;c!==$.NONE&&a.push(c.semanticContext)}return a}},{key:"optimizeConfigs",value:function(a){if(this.readOnly)throw"This set is readonly";if(this.configLookup.length!==0)for(var p=0;p<this.configs.length;p++){var c=this.configs[p];c.context=a.getCachedContext(c.context)}}},{key:"addAll",value:function(a){for(var p=0;p<a.length;p++)this.add(a[p]);return!1}},{key:"equals",value:function(a){return this===a||a instanceof f&&r(this.configs,a.configs)&&this.fullCtx===a.fullCtx&&this.uniqueAlt===a.uniqueAlt&&this.conflictingAlts===a.conflictingAlts&&this.hasSemanticContext===a.hasSemanticContext&&this.dipsIntoOuterContext===a.dipsIntoOuterContext}},{key:"hashCode",value:function(){var a=new S;return a.update(this.configs),a.finish()}},{key:"updateHashCode",value:function(a){this.readOnly?(this.cachedHashCode===-1&&(this.cachedHashCode=this.hashCode()),a.update(this.cachedHashCode)):a.update(this.hashCode())}},{key:"isEmpty",value:function(){return this.configs.length===0}},{key:"contains",value:function(a){if(this.configLookup===null)throw"This method is not implemented for readonly sets.";return this.configLookup.contains(a)}},{key:"containsFast",value:function(a){if(this.configLookup===null)throw"This method is not implemented for readonly sets.";return this.configLookup.containsFast(a)}},{key:"clear",value:function(){if(this.readOnly)throw"This set is readonly";this.configs=[],this.cachedHashCode=-1,this.configLookup=new g}},{key:"setReadonly",value:function(a){this.readOnly=a,a&&(this.configLookup=null)}},{key:"toString",value:function(){return B(this.configs)+(this.hasSemanticContext?",hasSemanticContext="+this.hasSemanticContext:"")+(this.uniqueAlt!==mn.INVALID_ALT_NUMBER?",uniqueAlt="+this.uniqueAlt:"")+(this.conflictingAlts!==null?",conflictingAlts="+this.conflictingAlts:"")+(this.dipsIntoOuterContext?",dipsIntoOuterContext":"")}},{key:"items",get:function(){return this.configs}},{key:"length",get:function(){return this.configs.length}}])&&og(i.prototype,d),Object.defineProperty(i,"prototype",{writable:!1}),f}();function Ms(f){return Ms=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Ms(f)}function ug(f,i){for(var d=0;d<i.length;d++){var a=i[d];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(f,(p=function(c,_){if(Ms(c)!=="object"||c===null)return c;var o=c[Symbol.toPrimitive];if(o!==void 0){var u=o.call(c,"string");if(Ms(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Ms(p)==="symbol"?p:String(p)),a)}var p}var jo=function(){function f(a,p){return function(c,_){if(!(c instanceof _))throw new TypeError("Cannot call a class as a function")}(this,f),a===null&&(a=-1),p===null&&(p=new Ur),this.stateNumber=a,this.configs=p,this.edges=null,this.isAcceptState=!1,this.prediction=0,this.lexerActionExecutor=null,this.requiresFullContext=!1,this.predicates=null,this}var i,d;return i=f,(d=[{key:"getAltSet",value:function(){var a=new g;if(this.configs!==null)for(var p=0;p<this.configs.length;p++){var c=this.configs[p];a.add(c.alt)}return a.length===0?null:a}},{key:"equals",value:function(a){return this===a||a instanceof f&&this.configs.equals(a.configs)}},{key:"toString",value:function(){var a=this.stateNumber+":"+this.configs;return this.isAcceptState&&(a+="=>",this.predicates!==null?a+=this.predicates:a+=this.prediction),a}},{key:"hashCode",value:function(){var a=new S;return a.update(this.configs),a.finish()}}])&&ug(i.prototype,d),Object.defineProperty(i,"prototype",{writable:!1}),f}();function Bs(f){return Bs=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Bs(f)}function cg(f,i){for(var d=0;d<i.length;d++){var a=i[d];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(f,(p=function(c,_){if(Bs(c)!=="object"||c===null)return c;var o=c[Symbol.toPrimitive];if(o!==void 0){var u=o.call(c,"string");if(Bs(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Bs(p)==="symbol"?p:String(p)),a)}var p}var Oi=function(){function f(a,p){return function(c,_){if(!(c instanceof _))throw new TypeError("Cannot call a class as a function")}(this,f),this.atn=a,this.sharedContextCache=p,this}var i,d;return i=f,d=[{key:"getCachedContext",value:function(a){if(this.sharedContextCache===null)return a;var p=new Ji;return Wu(a,this.sharedContextCache,p)}}],d&&cg(i.prototype,d),Object.defineProperty(i,"prototype",{writable:!1}),f}();function Th(f){return Th=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Th(f)}function Ah(f,i){return Ah=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(d,a){return d.__proto__=a,d},Ah(f,i)}function Nc(f){return Nc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Nc(f)}Oi.ERROR=new jo(2147483647,new Ur);var Tm=function(f){(function(_,o){if(typeof o!="function"&&o!==null)throw new TypeError("Super expression must either be null or a function");_.prototype=Object.create(o&&o.prototype,{constructor:{value:_,writable:!0,configurable:!0}}),Object.defineProperty(_,"prototype",{writable:!1}),o&&Ah(_,o)})(c,f);var i,d,a,p=(d=c,a=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var _,o=Nc(d);if(a){var u=Nc(this).constructor;_=Reflect.construct(o,arguments,u)}else _=o.apply(this,arguments);return function(E,x){if(x&&(Th(x)==="object"||typeof x=="function"))return x;if(x!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(A){if(A===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return A}(E)}(this,_)});function c(){var _;return function(o,u){if(!(o instanceof u))throw new TypeError("Cannot call a class as a function")}(this,c),(_=p.call(this)).configLookup=new g,_}return i=c,Object.defineProperty(i,"prototype",{writable:!1}),i}(Ur);function Ma(f){return Ma=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Ma(f)}function lg(f,i){for(var d=0;d<i.length;d++){var a=i[d];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(f,(p=function(c,_){if(Ma(c)!=="object"||c===null)return c;var o=c[Symbol.toPrimitive];if(o!==void 0){var u=o.call(c,"string");if(Ma(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Ma(p)==="symbol"?p:String(p)),a)}var p}function xh(){return xh=typeof Reflect<"u"&&Reflect.get?Reflect.get.bind():function(f,i,d){var a=function(c,_){for(;!Object.prototype.hasOwnProperty.call(c,_)&&(c=Ba(c))!==null;);return c}(f,i);if(a){var p=Object.getOwnPropertyDescriptor(a,i);return p.get?p.get.call(arguments.length<3?f:d):p.value}},xh.apply(this,arguments)}function Ch(f,i){return Ch=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(d,a){return d.__proto__=a,d},Ch(f,i)}function Am(f,i){if(i&&(Ma(i)==="object"||typeof i=="function"))return i;if(i!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return xm(f)}function xm(f){if(f===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return f}function Ba(f){return Ba=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Ba(f)}var Di=function(f){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&Ch(o,u)})(_,f);var i,d,a,p,c=(a=_,p=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=Ba(a);if(p){var E=Ba(this).constructor;o=Reflect.construct(u,arguments,E)}else o=u.apply(this,arguments);return Am(this,o)});function _(o,u){var E;(function(A,N){if(!(A instanceof N))throw new TypeError("Cannot call a class as a function")})(this,_),E=c.call(this,o,u);var x=o.lexerActionExecutor||null;return E.lexerActionExecutor=x||(u!==null?u.lexerActionExecutor:null),E.passedThroughNonGreedyDecision=u!==null&&E.checkNonGreedyDecision(u,E.state),E.hashCodeForConfigSet=_.prototype.hashCode,E.equalsForConfigSet=_.prototype.equals,Am(E,xm(E))}return i=_,(d=[{key:"updateHashCode",value:function(o){o.update(this.state.stateNumber,this.alt,this.context,this.semanticContext,this.passedThroughNonGreedyDecision,this.lexerActionExecutor)}},{key:"equals",value:function(o){return this===o||o instanceof _&&this.passedThroughNonGreedyDecision===o.passedThroughNonGreedyDecision&&(this.lexerActionExecutor?this.lexerActionExecutor.equals(o.lexerActionExecutor):!o.lexerActionExecutor)&&xh(Ba(_.prototype),"equals",this).call(this,o)}},{key:"checkNonGreedyDecision",value:function(o,u){return o.passedThroughNonGreedyDecision||u instanceof fa&&u.nonGreedy}}])&&lg(i.prototype,d),Object.defineProperty(i,"prototype",{writable:!1}),_}(fe);function Ua(f){return Ua=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Ua(f)}function fg(f,i){for(var d=0;d<i.length;d++){var a=i[d];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(f,(p=function(c,_){if(Ua(c)!=="object"||c===null)return c;var o=c[Symbol.toPrimitive];if(o!==void 0){var u=o.call(c,"string");if(Ua(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Ua(p)==="symbol"?p:String(p)),a)}var p}function Oh(f,i){return Oh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(d,a){return d.__proto__=a,d},Oh(f,i)}function Ic(f){return Ic=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Ic(f)}var Dh=function(f){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&Oh(o,u)})(_,f);var i,d,a,p,c=(a=_,p=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=Ic(a);if(p){var E=Ic(this).constructor;o=Reflect.construct(u,arguments,E)}else o=u.apply(this,arguments);return function(x,A){if(A&&(Ua(A)==="object"||typeof A=="function"))return A;if(A!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(N){if(N===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return N}(x)}(this,o)});function _(o,u){var E;return function(x,A){if(!(x instanceof A))throw new TypeError("Cannot call a class as a function")}(this,_),(E=c.call(this,u.actionType)).offset=o,E.action=u,E.isPositionDependent=!0,E}return i=_,(d=[{key:"execute",value:function(o){this.action.execute(o)}},{key:"updateHashCode",value:function(o){o.update(this.actionType,this.offset,this.action)}},{key:"equals",value:function(o){return this===o||o instanceof _&&this.offset===o.offset&&this.action===o.action}}])&&fg(i.prototype,d),Object.defineProperty(i,"prototype",{writable:!1}),_}(eo);function Us(f){return Us=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Us(f)}function Cm(f,i){for(var d=0;d<i.length;d++){var a=i[d];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(f,(p=function(c,_){if(Us(c)!=="object"||c===null)return c;var o=c[Symbol.toPrimitive];if(o!==void 0){var u=o.call(c,"string");if(Us(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Us(p)==="symbol"?p:String(p)),a)}var p}var hg=function(){function f(p){return function(c,_){if(!(c instanceof _))throw new TypeError("Cannot call a class as a function")}(this,f),this.lexerActions=p===null?[]:p,this.cachedHashCode=S.hashStuff(p),this}var i,d,a;return i=f,a=[{key:"append",value:function(p,c){return new f(p===null?[c]:p.lexerActions.concat([c]))}}],(d=[{key:"fixOffsetBeforeMatch",value:function(p){for(var c=null,_=0;_<this.lexerActions.length;_++)!this.lexerActions[_].isPositionDependent||this.lexerActions[_]instanceof Dh||(c===null&&(c=this.lexerActions.concat([])),c[_]=new Dh(p,this.lexerActions[_]));return c===null?this:new f(c)}},{key:"execute",value:function(p,c,_){var o=!1,u=c.index;try{for(var E=0;E<this.lexerActions.length;E++){var x=this.lexerActions[E];if(x instanceof Dh){var A=x.offset;c.seek(_+A),x=x.action,o=_+A!==u}else x.isPositionDependent&&(c.seek(u),o=!1);x.execute(p)}}finally{o&&c.seek(u)}}},{key:"hashCode",value:function(){return this.cachedHashCode}},{key:"updateHashCode",value:function(p){p.update(this.cachedHashCode)}},{key:"equals",value:function(p){if(this===p)return!0;if(p instanceof f){if(this.cachedHashCode!=p.cachedHashCode||this.lexerActions.length!=p.lexerActions.length)return!1;for(var c=this.lexerActions.length,_=0;_<c;++_)if(!this.lexerActions[_].equals(p.lexerActions[_]))return!1;return!0}return!1}}])&&Cm(i.prototype,d),a&&Cm(i,a),Object.defineProperty(i,"prototype",{writable:!1}),f}();function kh(f,i){return kh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(d,a){return d.__proto__=a,d},kh(f,i)}function Pc(f){return Pc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Pc(f)}function Va(f){return Va=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Va(f)}function Om(f,i){if(!(f instanceof i))throw new TypeError("Cannot call a class as a function")}function Dm(f,i){for(var d=0;d<i.length;d++){var a=i[d];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(f,(p=function(c,_){if(Va(c)!=="object"||c===null)return c;var o=c[Symbol.toPrimitive];if(o!==void 0){var u=o.call(c,"string");if(Va(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Va(p)==="symbol"?p:String(p)),a)}var p}function km(f,i,d){return i&&Dm(f.prototype,i),d&&Dm(f,d),Object.defineProperty(f,"prototype",{writable:!1}),f}function Rm(f){f.index=-1,f.line=0,f.column=-1,f.dfaState=null}var pg=function(){function f(){Om(this,f),Rm(this)}return km(f,[{key:"reset",value:function(){Rm(this)}}]),f}(),ja=function(f){(function(c,_){if(typeof _!="function"&&_!==null)throw new TypeError("Super expression must either be null or a function");c.prototype=Object.create(_&&_.prototype,{constructor:{value:c,writable:!0,configurable:!0}}),Object.defineProperty(c,"prototype",{writable:!1}),_&&kh(c,_)})(p,f);var i,d,a=(i=p,d=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var c,_=Pc(i);if(d){var o=Pc(this).constructor;c=Reflect.construct(_,arguments,o)}else c=_.apply(this,arguments);return function(u,E){if(E&&(Va(E)==="object"||typeof E=="function"))return E;if(E!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(x){if(x===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return x}(u)}(this,c)});function p(c,_,o,u){var E;return Om(this,p),(E=a.call(this,_,u)).decisionToDFA=o,E.recog=c,E.startIndex=-1,E.line=1,E.column=0,E.mode=ar.DEFAULT_MODE,E.prevAccept=new pg,E}return km(p,[{key:"copyState",value:function(c){this.column=c.column,this.line=c.line,this.mode=c.mode,this.startIndex=c.startIndex}},{key:"match",value:function(c,_){this.mode=_;var o=c.mark();try{this.startIndex=c.index,this.prevAccept.reset();var u=this.decisionToDFA[_];return u.s0===null?this.matchATN(c):this.execATN(c,u.s0)}finally{c.release(o)}}},{key:"reset",value:function(){this.prevAccept.reset(),this.startIndex=-1,this.line=1,this.column=0,this.mode=ar.DEFAULT_MODE}},{key:"matchATN",value:function(c){var _=this.atn.modeToStartState[this.mode];p.debug&&console.log("matchATN mode "+this.mode+" start: "+_);var o=this.mode,u=this.computeStartState(c,_),E=u.hasSemanticContext;u.hasSemanticContext=!1;var x=this.addDFAState(u);E||(this.decisionToDFA[this.mode].s0=x);var A=this.execATN(c,x);return p.debug&&console.log("DFA after matchATN: "+this.decisionToDFA[o].toLexerString()),A}},{key:"execATN",value:function(c,_){p.debug&&console.log("start state closure="+_.configs),_.isAcceptState&&this.captureSimState(this.prevAccept,c,_);for(var o=c.LA(1),u=_;;){p.debug&&console.log("execATN loop starting closure: "+u.configs);var E=this.getExistingTargetState(u,o);if(E===null&&(E=this.computeTargetState(c,u,o)),E===Oi.ERROR||(o!==n.EOF&&this.consume(c),E.isAcceptState&&(this.captureSimState(this.prevAccept,c,E),o===n.EOF)))break;o=c.LA(1),u=E}return this.failOrAccept(this.prevAccept,c,u.configs,o)}},{key:"getExistingTargetState",value:function(c,_){if(c.edges===null||_<p.MIN_DFA_EDGE||_>p.MAX_DFA_EDGE)return null;var o=c.edges[_-p.MIN_DFA_EDGE];return o===void 0&&(o=null),p.debug&&o!==null&&console.log("reuse state "+c.stateNumber+" edge to "+o.stateNumber),o}},{key:"computeTargetState",value:function(c,_,o){var u=new Tm;return this.getReachableConfigSet(c,_.configs,u,o),u.items.length===0?(u.hasSemanticContext||this.addDFAEdge(_,o,Oi.ERROR),Oi.ERROR):this.addDFAEdge(_,o,null,u)}},{key:"failOrAccept",value:function(c,_,o,u){if(this.prevAccept.dfaState!==null){var E=c.dfaState.lexerActionExecutor;return this.accept(_,E,this.startIndex,c.index,c.line,c.column),c.dfaState.prediction}if(u===n.EOF&&_.index===this.startIndex)return n.EOF;throw new Eh(this.recog,_,this.startIndex,o)}},{key:"getReachableConfigSet",value:function(c,_,o,u){for(var E=mn.INVALID_ALT_NUMBER,x=0;x<_.items.length;x++){var A=_.items[x],N=A.alt===E;if(!N||!A.passedThroughNonGreedyDecision){p.debug&&console.log(`testing %s at %s
4
+ `,this.getTokenName(u),A.toString(this.recog,!0));for(var te=0;te<A.state.transitions.length;te++){var Re=A.state.transitions[te],De=this.getReachableTarget(Re,u);if(De!==null){var He=A.lexerActionExecutor;He!==null&&(He=He.fixOffsetBeforeMatch(c.index-this.startIndex));var at=u===n.EOF,ze=new Di({state:De,lexerActionExecutor:He},A);this.closure(c,ze,o,N,!0,at)&&(E=A.alt)}}}}}},{key:"accept",value:function(c,_,o,u,E,x){p.debug&&console.log(`ACTION %s
5
+ `,_),c.seek(u),this.line=E,this.column=x,_!==null&&this.recog!==null&&_.execute(this.recog,c,o)}},{key:"getReachableTarget",value:function(c,_){return c.matches(_,0,ar.MAX_CHAR_VALUE)?c.target:null}},{key:"computeStartState",value:function(c,_){for(var o=it.EMPTY,u=new Tm,E=0;E<_.transitions.length;E++){var x=_.transitions[E].target,A=new Di({state:x,alt:E+1,context:o},null);this.closure(c,A,u,!1,!1,!1)}return u}},{key:"closure",value:function(c,_,o,u,E,x){var A=null;if(p.debug&&console.log("closure("+_.toString(this.recog,!0)+")"),_.state instanceof Ot){if(p.debug&&(this.recog!==null?console.log(`closure at %s rule stop %s
6
+ `,this.recog.ruleNames[_.state.ruleIndex],_):console.log(`closure at rule stop %s
7
+ `,_)),_.context===null||_.context.hasEmptyPath()){if(_.context===null||_.context.isEmpty())return o.add(_),!0;o.add(new Di({state:_.state,context:it.EMPTY},_)),u=!0}if(_.context!==null&&!_.context.isEmpty()){for(var N=0;N<_.context.length;N++)if(_.context.getReturnState(N)!==it.EMPTY_RETURN_STATE){var te=_.context.getParent(N),Re=this.atn.states[_.context.getReturnState(N)];A=new Di({state:Re,context:te},_),u=this.closure(c,A,o,u,E,x)}}return u}_.state.epsilonOnlyTransitions||u&&_.passedThroughNonGreedyDecision||o.add(_);for(var De=0;De<_.state.transitions.length;De++){var He=_.state.transitions[De];(A=this.getEpsilonTarget(c,_,He,o,E,x))!==null&&(u=this.closure(c,A,o,u,E,x))}return u}},{key:"getEpsilonTarget",value:function(c,_,o,u,E,x){var A=null;if(o.serializationType===me.RULE){var N=ct.create(_.context,o.followState.stateNumber);A=new Di({state:o.target,context:N},_)}else{if(o.serializationType===me.PRECEDENCE)throw"Precedence predicates are not supported in lexers.";if(o.serializationType===me.PREDICATE)p.debug&&console.log("EVAL rule "+o.ruleIndex+":"+o.predIndex),u.hasSemanticContext=!0,this.evaluatePredicate(c,o.ruleIndex,o.predIndex,E)&&(A=new Di({state:o.target},_));else if(o.serializationType===me.ACTION)if(_.context===null||_.context.hasEmptyPath()){var te=hg.append(_.lexerActionExecutor,this.atn.lexerActions[o.actionIndex]);A=new Di({state:o.target,lexerActionExecutor:te},_)}else A=new Di({state:o.target},_);else o.serializationType===me.EPSILON?A=new Di({state:o.target},_):o.serializationType!==me.ATOM&&o.serializationType!==me.RANGE&&o.serializationType!==me.SET||x&&o.matches(n.EOF,0,ar.MAX_CHAR_VALUE)&&(A=new Di({state:o.target},_))}return A}},{key:"evaluatePredicate",value:function(c,_,o,u){if(this.recog===null)return!0;if(!u)return this.recog.sempred(null,_,o);var E=this.column,x=this.line,A=c.index,N=c.mark();try{return this.consume(c),this.recog.sempred(null,_,o)}finally{this.column=E,this.line=x,c.seek(A),c.release(N)}}},{key:"captureSimState",value:function(c,_,o){c.index=_.index,c.line=this.line,c.column=this.column,c.dfaState=o}},{key:"addDFAEdge",value:function(c,_,o,u){if(o===void 0&&(o=null),u===void 0&&(u=null),o===null&&u!==null){var E=u.hasSemanticContext;if(u.hasSemanticContext=!1,o=this.addDFAState(u),E)return o}return _<p.MIN_DFA_EDGE||_>p.MAX_DFA_EDGE||(p.debug&&console.log("EDGE "+c+" -> "+o+" upon "+_),c.edges===null&&(c.edges=[]),c.edges[_-p.MIN_DFA_EDGE]=o),o}},{key:"addDFAState",value:function(c){for(var _=new jo(null,c),o=null,u=0;u<c.items.length;u++){var E=c.items[u];if(E.state instanceof Ot){o=E;break}}o!==null&&(_.isAcceptState=!0,_.lexerActionExecutor=o.lexerActionExecutor,_.prediction=this.atn.ruleToTokenType[o.state.ruleIndex]);var x=this.decisionToDFA[this.mode],A=x.states.get(_);if(A!==null)return A;var N=_;return N.stateNumber=x.states.length,c.setReadonly(!0),N.configs=c,x.states.add(N),N}},{key:"getDFA",value:function(c){return this.decisionToDFA[c]}},{key:"getText",value:function(c){return c.getText(this.startIndex,c.index-1)}},{key:"consume",value:function(c){c.LA(1)===10?(this.line+=1,this.column=0):this.column+=1,c.consume()}},{key:"getTokenName",value:function(c){return c===-1?"EOF":"'"+String.fromCharCode(c)+"'"}}]),p}(Oi);function Vs(f){return Vs=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Vs(f)}function dg(f,i){for(var d=0;d<i.length;d++){var a=i[d];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(f,(p=function(c,_){if(Vs(c)!=="object"||c===null)return c;var o=c[Symbol.toPrimitive];if(o!==void 0){var u=o.call(c,"string");if(Vs(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Vs(p)==="symbol"?p:String(p)),a)}var p}ja.debug=!1,ja.dfa_debug=!1,ja.MIN_DFA_EDGE=0,ja.MAX_DFA_EDGE=127;var wm=function(){function f(a,p){(function(c,_){if(!(c instanceof _))throw new TypeError("Cannot call a class as a function")})(this,f),this.alt=p,this.pred=a}var i,d;return i=f,(d=[{key:"toString",value:function(){return"("+this.pred+", "+this.alt+")"}}])&&dg(i.prototype,d),Object.defineProperty(i,"prototype",{writable:!1}),f}();function js(f){return js=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},js(f)}function mg(f,i){for(var d=0;d<i.length;d++){var a=i[d];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(f,(p=function(c,_){if(js(c)!=="object"||c===null)return c;var o=c[Symbol.toPrimitive];if(o!==void 0){var u=o.call(c,"string");if(js(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),js(p)==="symbol"?p:String(p)),a)}var p}var _g=function(){function f(){(function(a,p){if(!(a instanceof p))throw new TypeError("Cannot call a class as a function")})(this,f),this.data={}}var i,d;return i=f,(d=[{key:"get",value:function(a){return this.data["k-"+a]||null}},{key:"set",value:function(a,p){this.data["k-"+a]=p}},{key:"values",value:function(){var a=this;return Object.keys(this.data).filter(function(p){return p.startsWith("k-")}).map(function(p){return a.data[p]},this)}}])&&mg(i.prototype,d),Object.defineProperty(i,"prototype",{writable:!1}),f}(),ki={SLL:0,LL:1,LL_EXACT_AMBIG_DETECTION:2,hasSLLConflictTerminatingPrediction:function(f,i){if(ki.allConfigsInRuleStopStates(i))return!0;if(f===ki.SLL&&i.hasSemanticContext){for(var d=new Ur,a=0;a<i.items.length;a++){var p=i.items[a];p=new fe({semanticContext:$.NONE},p),d.add(p)}i=d}var c=ki.getConflictingAltSubsets(i);return ki.hasConflictingAltSet(c)&&!ki.hasStateAssociatedWithOneAlt(i)},hasConfigInRuleStopState:function(f){for(var i=0;i<f.items.length;i++)if(f.items[i].state instanceof Ot)return!0;return!1},allConfigsInRuleStopStates:function(f){for(var i=0;i<f.items.length;i++)if(!(f.items[i].state instanceof Ot))return!1;return!0},resolvesToJustOneViableAlt:function(f){return ki.getSingleViableAlt(f)},allSubsetsConflict:function(f){return!ki.hasNonConflictingAltSet(f)},hasNonConflictingAltSet:function(f){for(var i=0;i<f.length;i++)if(f[i].length===1)return!0;return!1},hasConflictingAltSet:function(f){for(var i=0;i<f.length;i++)if(f[i].length>1)return!0;return!1},allSubsetsEqual:function(f){for(var i=null,d=0;d<f.length;d++){var a=f[d];if(i===null)i=a;else if(a!==i)return!1}return!0},getUniqueAlt:function(f){var i=ki.getAlts(f);return i.length===1?i.minValue():mn.INVALID_ALT_NUMBER},getAlts:function(f){var i=new Br;return f.map(function(d){i.or(d)}),i},getConflictingAltSubsets:function(f){var i=new Ji;return i.hashFunction=function(d){S.hashStuff(d.state.stateNumber,d.context)},i.equalsFunction=function(d,a){return d.state.stateNumber===a.state.stateNumber&&d.context.equals(a.context)},f.items.map(function(d){var a=i.get(d);a===null&&(a=new Br,i.set(d,a)),a.add(d.alt)}),i.getValues()},getStateToAltMap:function(f){var i=new _g;return f.items.map(function(d){var a=i.get(d.state);a===null&&(a=new Br,i.set(d.state,a)),a.add(d.alt)}),i},hasStateAssociatedWithOneAlt:function(f){for(var i=ki.getStateToAltMap(f).values(),d=0;d<i.length;d++)if(i[d].length===1)return!0;return!1},getSingleViableAlt:function(f){for(var i=null,d=0;d<f.length;d++){var a=f[d].minValue();if(i===null)i=a;else if(i!==a)return mn.INVALID_ALT_NUMBER}return i}};const Kn=ki;function Rh(f){return Rh=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Rh(f)}function wh(f,i){return wh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(d,a){return d.__proto__=a,d},wh(f,i)}function Fc(f){return Fc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Fc(f)}var Lc=function(f){(function(_,o){if(typeof o!="function"&&o!==null)throw new TypeError("Super expression must either be null or a function");_.prototype=Object.create(o&&o.prototype,{constructor:{value:_,writable:!0,configurable:!0}}),Object.defineProperty(_,"prototype",{writable:!1}),o&&wh(_,o)})(c,f);var i,d,a,p=(d=c,a=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var _,o=Fc(d);if(a){var u=Fc(this).constructor;_=Reflect.construct(o,arguments,u)}else _=o.apply(this,arguments);return function(E,x){if(x&&(Rh(x)==="object"||typeof x=="function"))return x;if(x!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(A){if(A===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return A}(E)}(this,_)});function c(_,o,u,E,x,A){var N;return function(te,Re){if(!(te instanceof Re))throw new TypeError("Cannot call a class as a function")}(this,c),A=A||_._ctx,E=E||_.getCurrentToken(),u=u||_.getCurrentToken(),o=o||_.getInputStream(),(N=p.call(this,{message:"",recognizer:_,input:o,ctx:A})).deadEndConfigs=x,N.startToken=u,N.offendingToken=E,N}return i=c,Object.defineProperty(i,"prototype",{writable:!1}),i}(Vo);function $s(f){return $s=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},$s(f)}function yg(f,i){for(var d=0;d<i.length;d++){var a=i[d];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(f,(p=function(c,_){if($s(c)!=="object"||c===null)return c;var o=c[Symbol.toPrimitive];if(o!==void 0){var u=o.call(c,"string");if($s(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),$s(p)==="symbol"?p:String(p)),a)}var p}var gg=function(){function f(a){(function(p,c){if(!(p instanceof c))throw new TypeError("Cannot call a class as a function")})(this,f),this.defaultMapCtor=a||Ji,this.cacheMap=new this.defaultMapCtor}var i,d;return i=f,(d=[{key:"get",value:function(a,p){var c=this.cacheMap.get(a)||null;return c===null?null:c.get(p)||null}},{key:"set",value:function(a,p,c){var _=this.cacheMap.get(a)||null;_===null&&(_=new this.defaultMapCtor,this.cacheMap.set(a,_)),_.set(p,c)}}])&&yg(i.prototype,d),Object.defineProperty(i,"prototype",{writable:!1}),f}();function $a(f){return $a=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},$a(f)}function bg(f,i){for(var d=0;d<i.length;d++){var a=i[d];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(f,(p=function(c,_){if($a(c)!=="object"||c===null)return c;var o=c[Symbol.toPrimitive];if(o!==void 0){var u=o.call(c,"string");if($a(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),$a(p)==="symbol"?p:String(p)),a)}var p}function Nh(f,i){return Nh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(d,a){return d.__proto__=a,d},Nh(f,i)}function Mc(f){return Mc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Mc(f)}var Nm=function(f){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&Nh(o,u)})(_,f);var i,d,a,p,c=(a=_,p=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=Mc(a);if(p){var E=Mc(this).constructor;o=Reflect.construct(u,arguments,E)}else o=u.apply(this,arguments);return function(x,A){if(A&&($a(A)==="object"||typeof A=="function"))return A;if(A!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(N){if(N===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return N}(x)}(this,o)});function _(o,u,E,x){var A;return function(N,te){if(!(N instanceof te))throw new TypeError("Cannot call a class as a function")}(this,_),(A=c.call(this,u,x)).parser=o,A.decisionToDFA=E,A.predictionMode=Kn.LL,A._input=null,A._startIndex=0,A._outerContext=null,A._dfa=null,A.mergeCache=null,A.debug=!1,A.debug_closure=!1,A.debug_add=!1,A.trace_atn_sim=!1,A.dfa_debug=!1,A.retry_debug=!1,A}return i=_,d=[{key:"reset",value:function(){}},{key:"adaptivePredict",value:function(o,u,E){(this.debug||this.trace_atn_sim)&&console.log("adaptivePredict decision "+u+" exec LA(1)=="+this.getLookaheadName(o)+" line "+o.LT(1).line+":"+o.LT(1).column),this._input=o,this._startIndex=o.index,this._outerContext=E;var x=this.decisionToDFA[u];this._dfa=x;var A=o.mark(),N=o.index;try{var te;if((te=x.precedenceDfa?x.getPrecedenceStartState(this.parser.getPrecedence()):x.s0)===null){E===null&&(E=Yi.EMPTY),this.debug&&console.log("predictATN decision "+x.decision+" exec LA(1)=="+this.getLookaheadName(o)+", outerContext="+E.toString(this.parser.ruleNames));var Re=this.computeStartState(x.atnStartState,Yi.EMPTY,!1);x.precedenceDfa?(x.s0.configs=Re,Re=this.applyPrecedenceFilter(Re),te=this.addDFAState(x,new jo(null,Re)),x.setPrecedenceStartState(this.parser.getPrecedence(),te)):(te=this.addDFAState(x,new jo(null,Re)),x.s0=te)}var De=this.execATN(x,te,o,N,E);return this.debug&&console.log("DFA after predictATN: "+x.toString(this.parser.literalNames,this.parser.symbolicNames)),De}finally{this._dfa=null,this.mergeCache=null,o.seek(N),o.release(A)}}},{key:"execATN",value:function(o,u,E,x,A){var N;(this.debug||this.trace_atn_sim)&&console.log("execATN decision "+o.decision+", DFA state "+u+", LA(1)=="+this.getLookaheadName(E)+" line "+E.LT(1).line+":"+E.LT(1).column);var te=u;this.debug&&console.log("s0 = "+u);for(var Re=E.LA(1);;){var De=this.getExistingTargetState(te,Re);if(De===null&&(De=this.computeTargetState(o,te,Re)),De===Oi.ERROR){var He=this.noViableAlt(E,A,te.configs,x);if(E.seek(x),(N=this.getSynValidOrSemInvalidAltThatFinishedDecisionEntryRule(te.configs,A))!==mn.INVALID_ALT_NUMBER)return N;throw He}if(De.requiresFullContext&&this.predictionMode!==Kn.SLL){var at=null;if(De.predicates!==null){this.debug&&console.log("DFA state has preds in DFA sim LL failover");var ze=E.index;if(ze!==x&&E.seek(x),(at=this.evalSemanticContext(De.predicates,A,!0)).length===1)return this.debug&&console.log("Full LL avoided"),at.minValue();ze!==x&&E.seek(ze)}this.dfa_debug&&console.log("ctx sensitive state "+A+" in "+De);var _n=this.computeStartState(o.atnStartState,A,!0);return this.reportAttemptingFullContext(o,at,De.configs,x,E.index),this.execATNWithFullContext(o,De,_n,E,x,A)}if(De.isAcceptState){if(De.predicates===null)return De.prediction;var pn=E.index;E.seek(x);var zn=this.evalSemanticContext(De.predicates,A,!0);if(zn.length===0)throw this.noViableAlt(E,A,De.configs,x);return zn.length===1||this.reportAmbiguity(o,De,x,pn,!1,zn,De.configs),zn.minValue()}te=De,Re!==n.EOF&&(E.consume(),Re=E.LA(1))}}},{key:"getExistingTargetState",value:function(o,u){var E=o.edges;return E===null?null:E[u+1]||null}},{key:"computeTargetState",value:function(o,u,E){var x=this.computeReachSet(u.configs,E,!1);if(x===null)return this.addDFAEdge(o,u,E,Oi.ERROR),Oi.ERROR;var A=new jo(null,x),N=this.getUniqueAlt(x);if(this.debug){var te=Kn.getConflictingAltSubsets(x);console.log("SLL altSubSets="+B(te)+", configs="+x+", predict="+N+", allSubsetsConflict="+Kn.allSubsetsConflict(te)+", conflictingAlts="+this.getConflictingAlts(x))}return N!==mn.INVALID_ALT_NUMBER?(A.isAcceptState=!0,A.configs.uniqueAlt=N,A.prediction=N):Kn.hasSLLConflictTerminatingPrediction(this.predictionMode,x)&&(A.configs.conflictingAlts=this.getConflictingAlts(x),A.requiresFullContext=!0,A.isAcceptState=!0,A.prediction=A.configs.conflictingAlts.minValue()),A.isAcceptState&&A.configs.hasSemanticContext&&(this.predicateDFAState(A,this.atn.getDecisionState(o.decision)),A.predicates!==null&&(A.prediction=mn.INVALID_ALT_NUMBER)),this.addDFAEdge(o,u,E,A)}},{key:"predicateDFAState",value:function(o,u){var E=u.transitions.length,x=this.getConflictingAltsOrUniqueAlt(o.configs),A=this.getPredsForAmbigAlts(x,o.configs,E);A!==null?(o.predicates=this.getPredicatePredictions(x,A),o.prediction=mn.INVALID_ALT_NUMBER):o.prediction=x.minValue()}},{key:"execATNWithFullContext",value:function(o,u,E,x,A,N){(this.debug||this.trace_atn_sim)&&console.log("execATNWithFullContext "+E);var te,Re=!1,De=E;x.seek(A);for(var He=x.LA(1),at=-1;;){if((te=this.computeReachSet(De,He,!0))===null){var ze=this.noViableAlt(x,N,De,A);x.seek(A);var _n=this.getSynValidOrSemInvalidAltThatFinishedDecisionEntryRule(De,N);if(_n!==mn.INVALID_ALT_NUMBER)return _n;throw ze}var pn=Kn.getConflictingAltSubsets(te);if(this.debug&&console.log("LL altSubSets="+pn+", predict="+Kn.getUniqueAlt(pn)+", resolvesToJustOneViableAlt="+Kn.resolvesToJustOneViableAlt(pn)),te.uniqueAlt=this.getUniqueAlt(te),te.uniqueAlt!==mn.INVALID_ALT_NUMBER){at=te.uniqueAlt;break}if(this.predictionMode!==Kn.LL_EXACT_AMBIG_DETECTION){if((at=Kn.resolvesToJustOneViableAlt(pn))!==mn.INVALID_ALT_NUMBER)break}else if(Kn.allSubsetsConflict(pn)&&Kn.allSubsetsEqual(pn)){Re=!0,at=Kn.getSingleViableAlt(pn);break}De=te,He!==n.EOF&&(x.consume(),He=x.LA(1))}return te.uniqueAlt!==mn.INVALID_ALT_NUMBER?(this.reportContextSensitivity(o,at,te,A,x.index),at):(this.reportAmbiguity(o,u,A,x.index,Re,null,te),at)}},{key:"computeReachSet",value:function(o,u,E){this.debug&&console.log("in computeReachSet, starting closure: "+o),this.mergeCache===null&&(this.mergeCache=new gg);for(var x=new Ur(E),A=null,N=0;N<o.items.length;N++){var te=o.items[N];if(this.debug&&console.log("testing "+this.getTokenName(u)+" at "+te),te.state instanceof Ot)(E||u===n.EOF)&&(A===null&&(A=[]),A.push(te),this.debug_add&&console.log("added "+te+" to skippedStopStates"));else for(var Re=0;Re<te.state.transitions.length;Re++){var De=te.state.transitions[Re],He=this.getReachableTarget(De,u);if(He!==null){var at=new fe({state:He},te);x.add(at,this.mergeCache),this.debug_add&&console.log("added "+at+" to intermediate")}}}var ze=null;if(A===null&&u!==n.EOF&&(x.items.length===1||this.getUniqueAlt(x)!==mn.INVALID_ALT_NUMBER)&&(ze=x),ze===null){ze=new Ur(E);for(var _n=new g,pn=u===n.EOF,zn=0;zn<x.items.length;zn++)this.closure(x.items[zn],ze,_n,!1,E,pn)}if(u===n.EOF&&(ze=this.removeAllConfigsNotInRuleStopState(ze,ze===x)),!(A===null||E&&Kn.hasConfigInRuleStopState(ze)))for(var Vr=0;Vr<A.length;Vr++)ze.add(A[Vr],this.mergeCache);return this.trace_atn_sim&&console.log("computeReachSet "+o+" -> "+ze),ze.items.length===0?null:ze}},{key:"removeAllConfigsNotInRuleStopState",value:function(o,u){if(Kn.allConfigsInRuleStopStates(o))return o;for(var E=new Ur(o.fullCtx),x=0;x<o.items.length;x++){var A=o.items[x];if(A.state instanceof Ot)E.add(A,this.mergeCache);else if(u&&A.state.epsilonOnlyTransitions&&this.atn.nextTokens(A.state).contains(n.EPSILON)){var N=this.atn.ruleToStopState[A.state.ruleIndex];E.add(new fe({state:N},A),this.mergeCache)}}return E}},{key:"computeStartState",value:function(o,u,E){var x=ca(this.atn,u),A=new Ur(E);this.trace_atn_sim&&console.log("computeStartState from ATN state "+o+" initialContext="+x.toString(this.parser));for(var N=0;N<o.transitions.length;N++){var te=o.transitions[N].target,Re=new fe({state:te,alt:N+1,context:x},null),De=new g;this.closure(Re,A,De,!0,E,!1)}return A}},{key:"applyPrecedenceFilter",value:function(o){for(var u,E=[],x=new Ur(o.fullCtx),A=0;A<o.items.length;A++)if((u=o.items[A]).alt===1){var N=u.semanticContext.evalPrecedence(this.parser,this._outerContext);N!==null&&(E[u.state.stateNumber]=u.context,N!==u.semanticContext?x.add(new fe({semanticContext:N},u),this.mergeCache):x.add(u,this.mergeCache))}for(var te=0;te<o.items.length;te++)if((u=o.items[te]).alt!==1){if(!u.precedenceFilterSuppressed){var Re=E[u.state.stateNumber]||null;if(Re!==null&&Re.equals(u.context))continue}x.add(u,this.mergeCache)}return x}},{key:"getReachableTarget",value:function(o,u){return o.matches(u,0,this.atn.maxTokenType)?o.target:null}},{key:"getPredsForAmbigAlts",value:function(o,u,E){for(var x=[],A=0;A<u.items.length;A++){var N=u.items[A];o.has(N.alt)&&(x[N.alt]=$.orContext(x[N.alt]||null,N.semanticContext))}for(var te=0,Re=1;Re<E+1;Re++){var De=x[Re]||null;De===null?x[Re]=$.NONE:De!==$.NONE&&(te+=1)}return te===0&&(x=null),this.debug&&console.log("getPredsForAmbigAlts result "+B(x)),x}},{key:"getPredicatePredictions",value:function(o,u){for(var E=[],x=!1,A=1;A<u.length;A++){var N=u[A];o!==null&&o.has(A)&&E.push(new wm(N,A)),N!==$.NONE&&(x=!0)}return x?E:null}},{key:"getSynValidOrSemInvalidAltThatFinishedDecisionEntryRule",value:function(o,u){var E=this.splitAccordingToSemanticValidity(o,u),x=E[0],A=E[1],N=this.getAltThatFinishedDecisionEntryRule(x);return N!==mn.INVALID_ALT_NUMBER||A.items.length>0&&(N=this.getAltThatFinishedDecisionEntryRule(A))!==mn.INVALID_ALT_NUMBER?N:mn.INVALID_ALT_NUMBER}},{key:"getAltThatFinishedDecisionEntryRule",value:function(o){for(var u=[],E=0;E<o.items.length;E++){var x=o.items[E];(x.reachesIntoOuterContext>0||x.state instanceof Ot&&x.context.hasEmptyPath())&&u.indexOf(x.alt)<0&&u.push(x.alt)}return u.length===0?mn.INVALID_ALT_NUMBER:Math.min.apply(null,u)}},{key:"splitAccordingToSemanticValidity",value:function(o,u){for(var E=new Ur(o.fullCtx),x=new Ur(o.fullCtx),A=0;A<o.items.length;A++){var N=o.items[A];N.semanticContext!==$.NONE?N.semanticContext.evaluate(this.parser,u)?E.add(N):x.add(N):E.add(N)}return[E,x]}},{key:"evalSemanticContext",value:function(o,u,E){for(var x=new Br,A=0;A<o.length;A++){var N=o[A];if(N.pred!==$.NONE){var te=N.pred.evaluate(this.parser,u);if((this.debug||this.dfa_debug)&&console.log("eval pred "+N+"="+te),te&&((this.debug||this.dfa_debug)&&console.log("PREDICT "+N.alt),x.add(N.alt),!E))break}else if(x.add(N.alt),!E)break}return x}},{key:"closure",value:function(o,u,E,x,A,N){this.closureCheckingStopState(o,u,E,x,A,0,N)}},{key:"closureCheckingStopState",value:function(o,u,E,x,A,N,te){if((this.trace_atn_sim||this.debug_closure)&&console.log("closure("+o.toString(this.parser,!0)+")"),o.state instanceof Ot){if(!o.context.isEmpty()){for(var Re=0;Re<o.context.length;Re++)if(o.context.getReturnState(Re)!==it.EMPTY_RETURN_STATE){var De=this.atn.states[o.context.getReturnState(Re)],He=o.context.getParent(Re),at={state:De,alt:o.alt,context:He,semanticContext:o.semanticContext},ze=new fe(at,null);ze.reachesIntoOuterContext=o.reachesIntoOuterContext,this.closureCheckingStopState(ze,u,E,x,A,N-1,te)}else{if(A){u.add(new fe({state:o.state,context:it.EMPTY},o),this.mergeCache);continue}this.debug&&console.log("FALLING off rule "+this.getRuleName(o.state.ruleIndex)),this.closure_(o,u,E,x,A,N,te)}return}if(A)return void u.add(o,this.mergeCache);this.debug&&console.log("FALLING off rule "+this.getRuleName(o.state.ruleIndex))}this.closure_(o,u,E,x,A,N,te)}},{key:"closure_",value:function(o,u,E,x,A,N,te){var Re=o.state;Re.epsilonOnlyTransitions||u.add(o,this.mergeCache);for(var De=0;De<Re.transitions.length;De++)if(De!==0||!this.canDropLoopEntryEdgeInLeftRecursiveRule(o)){var He=Re.transitions[De],at=x&&!(He instanceof lm),ze=this.getEpsilonTarget(o,He,at,N===0,A,te);if(ze!==null){var _n=N;if(o.state instanceof Ot){if(this._dfa!==null&&this._dfa.precedenceDfa&&He.outermostPrecedenceReturn===this._dfa.atnStartState.ruleIndex&&(ze.precedenceFilterSuppressed=!0),ze.reachesIntoOuterContext+=1,E.add(ze)!==ze)continue;u.dipsIntoOuterContext=!0,_n-=1,this.debug&&console.log("dips into outer ctx: "+ze)}else{if(!He.isEpsilon&&E.add(ze)!==ze)continue;He instanceof Qt&&_n>=0&&(_n+=1)}this.closureCheckingStopState(ze,u,E,at,A,_n,te)}}}},{key:"canDropLoopEntryEdgeInLeftRecursiveRule",value:function(o){var u=o.state;if(u.stateType!==be.STAR_LOOP_ENTRY||u.stateType!==be.STAR_LOOP_ENTRY||!u.isPrecedenceDecision||o.context.isEmpty()||o.context.hasEmptyPath())return!1;for(var E=o.context.length,x=0;x<E;x++)if(this.atn.states[o.context.getReturnState(x)].ruleIndex!==u.ruleIndex)return!1;for(var A=u.transitions[0].target.endState.stateNumber,N=this.atn.states[A],te=0;te<E;te++){var Re=o.context.getReturnState(te),De=this.atn.states[Re];if(De.transitions.length!==1||!De.transitions[0].isEpsilon)return!1;var He=De.transitions[0].target;if(!(De.stateType===be.BLOCK_END&&He===u||De===N||He===N||He.stateType===be.BLOCK_END&&He.transitions.length===1&&He.transitions[0].isEpsilon&&He.transitions[0].target===u))return!1}return!0}},{key:"getRuleName",value:function(o){return this.parser!==null&&o>=0?this.parser.ruleNames[o]:"<rule "+o+">"}},{key:"getEpsilonTarget",value:function(o,u,E,x,A,N){switch(u.serializationType){case me.RULE:return this.ruleTransition(o,u);case me.PRECEDENCE:return this.precedenceTransition(o,u,E,x,A);case me.PREDICATE:return this.predTransition(o,u,E,x,A);case me.ACTION:return this.actionTransition(o,u);case me.EPSILON:return new fe({state:u.target},o);case me.ATOM:case me.RANGE:case me.SET:return N&&u.matches(n.EOF,0,1)?new fe({state:u.target},o):null;default:return null}}},{key:"actionTransition",value:function(o,u){if(this.debug){var E=u.actionIndex===-1?65535:u.actionIndex;console.log("ACTION edge "+u.ruleIndex+":"+E)}return new fe({state:u.target},o)}},{key:"precedenceTransition",value:function(o,u,E,x,A){this.debug&&(console.log("PRED (collectPredicates="+E+") "+u.precedence+">=_p, ctx dependent=true"),this.parser!==null&&console.log("context surrounding pred is "+B(this.parser.getRuleInvocationStack())));var N=null;if(E&&x)if(A){var te=this._input.index;this._input.seek(this._startIndex);var Re=u.getPredicate().evaluate(this.parser,this._outerContext);this._input.seek(te),Re&&(N=new fe({state:u.target},o))}else{var De=$.andContext(o.semanticContext,u.getPredicate());N=new fe({state:u.target,semanticContext:De},o)}else N=new fe({state:u.target},o);return this.debug&&console.log("config from pred transition="+N),N}},{key:"predTransition",value:function(o,u,E,x,A){this.debug&&(console.log("PRED (collectPredicates="+E+") "+u.ruleIndex+":"+u.predIndex+", ctx dependent="+u.isCtxDependent),this.parser!==null&&console.log("context surrounding pred is "+B(this.parser.getRuleInvocationStack())));var N=null;if(E&&(u.isCtxDependent&&x||!u.isCtxDependent))if(A){var te=this._input.index;this._input.seek(this._startIndex);var Re=u.getPredicate().evaluate(this.parser,this._outerContext);this._input.seek(te),Re&&(N=new fe({state:u.target},o))}else{var De=$.andContext(o.semanticContext,u.getPredicate());N=new fe({state:u.target,semanticContext:De},o)}else N=new fe({state:u.target},o);return this.debug&&console.log("config from pred transition="+N),N}},{key:"ruleTransition",value:function(o,u){this.debug&&console.log("CALL rule "+this.getRuleName(u.target.ruleIndex)+", ctx="+o.context);var E=u.followState,x=ct.create(o.context,E.stateNumber);return new fe({state:u.target,context:x},o)}},{key:"getConflictingAlts",value:function(o){var u=Kn.getConflictingAltSubsets(o);return Kn.getAlts(u)}},{key:"getConflictingAltsOrUniqueAlt",value:function(o){var u=null;return o.uniqueAlt!==mn.INVALID_ALT_NUMBER?(u=new Br).add(o.uniqueAlt):u=o.conflictingAlts,u}},{key:"getTokenName",value:function(o){if(o===n.EOF)return"EOF";if(this.parser!==null&&this.parser.literalNames!==null){if(!(o>=this.parser.literalNames.length&&o>=this.parser.symbolicNames.length))return(this.parser.literalNames[o]||this.parser.symbolicNames[o])+"<"+o+">";console.log(o+" ttype out of range: "+this.parser.literalNames),console.log(""+this.parser.getInputStream().getTokens())}return""+o}},{key:"getLookaheadName",value:function(o){return this.getTokenName(o.LA(1))}},{key:"dumpDeadEndConfigs",value:function(o){console.log("dead end configs: ");for(var u=o.getDeadEndConfigs(),E=0;E<u.length;E++){var x=u[E],A="no edges";if(x.state.transitions.length>0){var N=x.state.transitions[0];N instanceof zf?A="Atom "+this.getTokenName(N.label):N instanceof xi&&(A=(N instanceof on?"~":"")+"Set "+N.set)}console.error(x.toString(this.parser,!0)+":"+A)}}},{key:"noViableAlt",value:function(o,u,E,x){return new Lc(this.parser,o,o.get(x),o.LT(1),E,u)}},{key:"getUniqueAlt",value:function(o){for(var u=mn.INVALID_ALT_NUMBER,E=0;E<o.items.length;E++){var x=o.items[E];if(u===mn.INVALID_ALT_NUMBER)u=x.alt;else if(x.alt!==u)return mn.INVALID_ALT_NUMBER}return u}},{key:"addDFAEdge",value:function(o,u,E,x){if(this.debug&&console.log("EDGE "+u+" -> "+x+" upon "+this.getTokenName(E)),x===null)return null;if(x=this.addDFAState(o,x),u===null||E<-1||E>this.atn.maxTokenType)return x;if(u.edges===null&&(u.edges=[]),u.edges[E+1]=x,this.debug){var A=this.parser===null?null:this.parser.literalNames,N=this.parser===null?null:this.parser.symbolicNames;console.log(`DFA=
8
+ `+o.toString(A,N))}return x}},{key:"addDFAState",value:function(o,u){if(u===Oi.ERROR)return u;var E=o.states.get(u);return E!==null?(this.trace_atn_sim&&console.log("addDFAState "+u+" exists"),E):(u.stateNumber=o.states.length,u.configs.readOnly||(u.configs.optimizeConfigs(this),u.configs.setReadonly(!0)),this.trace_atn_sim&&console.log("addDFAState new "+u),o.states.add(u),this.debug&&console.log("adding new DFA state: "+u),u)}},{key:"reportAttemptingFullContext",value:function(o,u,E,x,A){if(this.debug||this.retry_debug){var N=new ve(x,A+1);console.log("reportAttemptingFullContext decision="+o.decision+":"+E+", input="+this.parser.getTokenStream().getText(N))}this.parser!==null&&this.parser.getErrorListenerDispatch().reportAttemptingFullContext(this.parser,o,x,A,u,E)}},{key:"reportContextSensitivity",value:function(o,u,E,x,A){if(this.debug||this.retry_debug){var N=new ve(x,A+1);console.log("reportContextSensitivity decision="+o.decision+":"+E+", input="+this.parser.getTokenStream().getText(N))}this.parser!==null&&this.parser.getErrorListenerDispatch().reportContextSensitivity(this.parser,o,x,A,u,E)}},{key:"reportAmbiguity",value:function(o,u,E,x,A,N,te){if(this.debug||this.retry_debug){var Re=new ve(E,x+1);console.log("reportAmbiguity "+N+":"+te+", input="+this.parser.getTokenStream().getText(Re))}this.parser!==null&&this.parser.getErrorListenerDispatch().reportAmbiguity(this.parser,o,E,x,A,N,te)}}],d&&bg(i.prototype,d),Object.defineProperty(i,"prototype",{writable:!1}),_}(Oi);function Hs(f){return Hs=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Hs(f)}function vg(f,i){for(var d=0;d<i.length;d++){var a=i[d];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(f,(p=function(c,_){if(Hs(c)!=="object"||c===null)return c;var o=c[Symbol.toPrimitive];if(o!==void 0){var u=o.call(c,"string");if(Hs(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Hs(p)==="symbol"?p:String(p)),a)}var p}var Im=function(){function f(){(function(a,p){if(!(a instanceof p))throw new TypeError("Cannot call a class as a function")})(this,f),this.cache=new Ji}var i,d;return i=f,(d=[{key:"add",value:function(a){if(a===it.EMPTY)return it.EMPTY;var p=this.cache.get(a)||null;return p!==null?p:(this.cache.set(a,a),a)}},{key:"get",value:function(a){return this.cache.get(a)||null}},{key:"length",get:function(){return this.cache.length}}])&&vg(i.prototype,d),Object.defineProperty(i,"prototype",{writable:!1}),f}();const Eg={ATN:mn,ATNDeserializer:fh,LexerATNSimulator:ja,ParserATNSimulator:Nm,PredictionMode:Kn,PredictionContextCache:Im};function Gs(f){return Gs=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Gs(f)}function Sg(f,i){for(var d=0;d<i.length;d++){var a=i[d];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(f,(p=function(c,_){if(Gs(c)!=="object"||c===null)return c;var o=c[Symbol.toPrimitive];if(o!==void 0){var u=o.call(c,"string");if(Gs(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Gs(p)==="symbol"?p:String(p)),a)}var p}var Ih=function(){function f(a,p,c){(function(_,o){if(!(_ instanceof o))throw new TypeError("Cannot call a class as a function")})(this,f),this.dfa=a,this.literalNames=p||[],this.symbolicNames=c||[]}var i,d;return i=f,(d=[{key:"toString",value:function(){if(this.dfa.s0===null)return null;for(var a="",p=this.dfa.sortedStates(),c=0;c<p.length;c++){var _=p[c];if(_.edges!==null)for(var o=_.edges.length,u=0;u<o;u++){var E=_.edges[u]||null;E!==null&&E.stateNumber!==2147483647&&(a=(a=(a=(a=(a=(a=a.concat(this.getStateString(_))).concat("-")).concat(this.getEdgeLabel(u))).concat("->")).concat(this.getStateString(E))).concat(`
9
+ `))}}return a.length===0?null:a}},{key:"getEdgeLabel",value:function(a){return a===0?"EOF":this.literalNames!==null||this.symbolicNames!==null?this.literalNames[a-1]||this.symbolicNames[a-1]:String.fromCharCode(a-1)}},{key:"getStateString",value:function(a){var p=(a.isAcceptState?":":"")+"s"+a.stateNumber+(a.requiresFullContext?"^":"");return a.isAcceptState?a.predicates!==null?p+"=>"+B(a.predicates):p+"=>"+a.prediction.toString():p}}])&&Sg(i.prototype,d),Object.defineProperty(i,"prototype",{writable:!1}),f}();function Ha(f){return Ha=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Ha(f)}function Tg(f,i){for(var d=0;d<i.length;d++){var a=i[d];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(f,(p=function(c,_){if(Ha(c)!=="object"||c===null)return c;var o=c[Symbol.toPrimitive];if(o!==void 0){var u=o.call(c,"string");if(Ha(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Ha(p)==="symbol"?p:String(p)),a)}var p}function Ph(f,i){return Ph=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(d,a){return d.__proto__=a,d},Ph(f,i)}function Bc(f){return Bc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Bc(f)}var Pm=function(f){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&Ph(o,u)})(_,f);var i,d,a,p,c=(a=_,p=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=Bc(a);if(p){var E=Bc(this).constructor;o=Reflect.construct(u,arguments,E)}else o=u.apply(this,arguments);return function(x,A){if(A&&(Ha(A)==="object"||typeof A=="function"))return A;if(A!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(N){if(N===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return N}(x)}(this,o)});function _(o){return function(u,E){if(!(u instanceof E))throw new TypeError("Cannot call a class as a function")}(this,_),c.call(this,o,null)}return i=_,(d=[{key:"getEdgeLabel",value:function(o){return"'"+String.fromCharCode(o)+"'"}}])&&Tg(i.prototype,d),Object.defineProperty(i,"prototype",{writable:!1}),_}(Ih);function Ks(f){return Ks=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Ks(f)}function Ag(f,i){for(var d=0;d<i.length;d++){var a=i[d];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(f,(p=function(c,_){if(Ks(c)!=="object"||c===null)return c;var o=c[Symbol.toPrimitive];if(o!==void 0){var u=o.call(c,"string");if(Ks(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Ks(p)==="symbol"?p:String(p)),a)}var p}var Fm=function(){function f(a,p){if(function(_,o){if(!(_ instanceof o))throw new TypeError("Cannot call a class as a function")}(this,f),p===void 0&&(p=0),this.atnStartState=a,this.decision=p,this._states=new g,this.s0=null,this.precedenceDfa=!1,a instanceof Uo&&a.isPrecedenceDecision){this.precedenceDfa=!0;var c=new jo(null,new Ur);c.edges=[],c.isAcceptState=!1,c.requiresFullContext=!1,this.s0=c}}var i,d;return i=f,(d=[{key:"getPrecedenceStartState",value:function(a){if(!this.precedenceDfa)throw"Only precedence DFAs may contain a precedence start state.";return a<0||a>=this.s0.edges.length?null:this.s0.edges[a]||null}},{key:"setPrecedenceStartState",value:function(a,p){if(!this.precedenceDfa)throw"Only precedence DFAs may contain a precedence start state.";a<0||(this.s0.edges[a]=p)}},{key:"setPrecedenceDfa",value:function(a){if(this.precedenceDfa!==a){if(this._states=new g,a){var p=new jo(null,new Ur);p.edges=[],p.isAcceptState=!1,p.requiresFullContext=!1,this.s0=p}else this.s0=null;this.precedenceDfa=a}}},{key:"sortedStates",value:function(){return this._states.values().sort(function(a,p){return a.stateNumber-p.stateNumber})}},{key:"toString",value:function(a,p){return a=a||null,p=p||null,this.s0===null?"":new Ih(this,a,p).toString()}},{key:"toLexerString",value:function(){return this.s0===null?"":new Pm(this).toString()}},{key:"states",get:function(){return this._states}}])&&Ag(i.prototype,d),Object.defineProperty(i,"prototype",{writable:!1}),f}();const xg={DFA:Fm,DFASerializer:Ih,LexerDFASerializer:Pm,PredPrediction:wm},Cg={PredictionContext:it},Og={Interval:ve,IntervalSet:re};function zs(f){return zs=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},zs(f)}function Dg(f,i){for(var d=0;d<i.length;d++){var a=i[d];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(f,(p=function(c,_){if(zs(c)!=="object"||c===null)return c;var o=c[Symbol.toPrimitive];if(o!==void 0){var u=o.call(c,"string");if(zs(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),zs(p)==="symbol"?p:String(p)),a)}var p}var Fh=function(){function f(){(function(a,p){if(!(a instanceof p))throw new TypeError("Cannot call a class as a function")})(this,f)}var i,d;return i=f,(d=[{key:"visitTerminal",value:function(a){}},{key:"visitErrorNode",value:function(a){}},{key:"enterEveryRule",value:function(a){}},{key:"exitEveryRule",value:function(a){}}])&&Dg(i.prototype,d),Object.defineProperty(i,"prototype",{writable:!1}),f}();function Ws(f){return Ws=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Ws(f)}function kg(f,i){for(var d=0;d<i.length;d++){var a=i[d];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(f,(p=function(c,_){if(Ws(c)!=="object"||c===null)return c;var o=c[Symbol.toPrimitive];if(o!==void 0){var u=o.call(c,"string");if(Ws(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Ws(p)==="symbol"?p:String(p)),a)}var p}var Lm=function(){function f(){(function(a,p){if(!(a instanceof p))throw new TypeError("Cannot call a class as a function")})(this,f)}var i,d;return i=f,(d=[{key:"visit",value:function(a){return Array.isArray(a)?a.map(function(p){return p.accept(this)},this):a.accept(this)}},{key:"visitChildren",value:function(a){return a.children?this.visit(a.children):null}},{key:"visitTerminal",value:function(a){}},{key:"visitErrorNode",value:function(a){}}])&&kg(i.prototype,d),Object.defineProperty(i,"prototype",{writable:!1}),f}();function Xs(f){return Xs=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Xs(f)}function Rg(f,i){for(var d=0;d<i.length;d++){var a=i[d];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(f,(p=function(c,_){if(Xs(c)!=="object"||c===null)return c;var o=c[Symbol.toPrimitive];if(o!==void 0){var u=o.call(c,"string");if(Xs(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Xs(p)==="symbol"?p:String(p)),a)}var p}var Uc=function(){function f(){(function(a,p){if(!(a instanceof p))throw new TypeError("Cannot call a class as a function")})(this,f)}var i,d;return i=f,(d=[{key:"walk",value:function(a,p){if(p instanceof Xr||p.isErrorNode!==void 0&&p.isErrorNode())a.visitErrorNode(p);else if(p instanceof an)a.visitTerminal(p);else{this.enterRule(a,p);for(var c=0;c<p.getChildCount();c++){var _=p.getChild(c);this.walk(a,_)}this.exitRule(a,p)}}},{key:"enterRule",value:function(a,p){var c=p.ruleContext;a.enterEveryRule(c),c.enterRule(a)}},{key:"exitRule",value:function(a,p){var c=p.ruleContext;c.exitRule(a),a.exitEveryRule(c)}}])&&Rg(i.prototype,d),Object.defineProperty(i,"prototype",{writable:!1}),f}();Uc.DEFAULT=new Uc;const wg={Trees:zu,RuleNode:Fe,ErrorNode:Xr,TerminalNode:an,ParseTreeListener:Fh,ParseTreeVisitor:Lm,ParseTreeWalker:Uc};function Lh(f){return Lh=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Lh(f)}function Mh(f,i){return Mh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(d,a){return d.__proto__=a,d},Mh(f,i)}function Vc(f){return Vc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Vc(f)}var qs=function(f){(function(_,o){if(typeof o!="function"&&o!==null)throw new TypeError("Super expression must either be null or a function");_.prototype=Object.create(o&&o.prototype,{constructor:{value:_,writable:!0,configurable:!0}}),Object.defineProperty(_,"prototype",{writable:!1}),o&&Mh(_,o)})(c,f);var i,d,a,p=(d=c,a=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var _,o=Vc(d);if(a){var u=Vc(this).constructor;_=Reflect.construct(o,arguments,u)}else _=o.apply(this,arguments);return function(E,x){if(x&&(Lh(x)==="object"||typeof x=="function"))return x;if(x!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(A){if(A===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return A}(E)}(this,_)});function c(_){var o;return function(u,E){if(!(u instanceof E))throw new TypeError("Cannot call a class as a function")}(this,c),(o=p.call(this,{message:"",recognizer:_,input:_.getInputStream(),ctx:_._ctx})).offendingToken=_.getCurrentToken(),o}return i=c,Object.defineProperty(i,"prototype",{writable:!1}),i}(Vo);function Bh(f){return Bh=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Bh(f)}function Uh(f,i){return Uh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(d,a){return d.__proto__=a,d},Uh(f,i)}function jc(f){return jc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},jc(f)}var Vh=function(f){(function(_,o){if(typeof o!="function"&&o!==null)throw new TypeError("Super expression must either be null or a function");_.prototype=Object.create(o&&o.prototype,{constructor:{value:_,writable:!0,configurable:!0}}),Object.defineProperty(_,"prototype",{writable:!1}),o&&Uh(_,o)})(c,f);var i,d,a,p=(d=c,a=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var _,o=jc(d);if(a){var u=jc(this).constructor;_=Reflect.construct(o,arguments,u)}else _=o.apply(this,arguments);return function(E,x){if(x&&(Bh(x)==="object"||typeof x=="function"))return x;if(x!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(A){if(A===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return A}(E)}(this,_)});function c(_,o,u){var E;(function(A,N){if(!(A instanceof N))throw new TypeError("Cannot call a class as a function")})(this,c),E=p.call(this,{message:Ng(o,u||null),recognizer:_,input:_.getInputStream(),ctx:_._ctx});var x=_._interp.atn.states[_.state].transitions[0];return x instanceof hm?(E.ruleIndex=x.ruleIndex,E.predicateIndex=x.predIndex):(E.ruleIndex=0,E.predicateIndex=0),E.predicate=o,E.offendingToken=_.getCurrentToken(),E}return i=c,Object.defineProperty(i,"prototype",{writable:!1}),i}(Vo);function Ng(f,i){return i!==null?i:"failed predicate: {"+f+"}?"}function Ga(f){return Ga=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Ga(f)}function Ig(f,i){for(var d=0;d<i.length;d++){var a=i[d];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(f,(p=function(c,_){if(Ga(c)!=="object"||c===null)return c;var o=c[Symbol.toPrimitive];if(o!==void 0){var u=o.call(c,"string");if(Ga(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Ga(p)==="symbol"?p:String(p)),a)}var p}function jh(f,i){return jh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(d,a){return d.__proto__=a,d},jh(f,i)}function $c(f){return $c=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},$c(f)}var Mm=function(f){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&jh(o,u)})(_,f);var i,d,a,p,c=(a=_,p=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=$c(a);if(p){var E=$c(this).constructor;o=Reflect.construct(u,arguments,E)}else o=u.apply(this,arguments);return function(x,A){if(A&&(Ga(A)==="object"||typeof A=="function"))return A;if(A!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(N){if(N===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return N}(x)}(this,o)});function _(o){var u;return function(E,x){if(!(E instanceof x))throw new TypeError("Cannot call a class as a function")}(this,_),o=o||!0,(u=c.call(this)).exactOnly=o,u}return i=_,d=[{key:"reportAmbiguity",value:function(o,u,E,x,A,N,te){if(!this.exactOnly||A){var Re="reportAmbiguity d="+this.getDecisionDescription(o,u)+": ambigAlts="+this.getConflictingAlts(N,te)+", input='"+o.getTokenStream().getText(new ve(E,x))+"'";o.notifyErrorListeners(Re)}}},{key:"reportAttemptingFullContext",value:function(o,u,E,x,A,N){var te="reportAttemptingFullContext d="+this.getDecisionDescription(o,u)+", input='"+o.getTokenStream().getText(new ve(E,x))+"'";o.notifyErrorListeners(te)}},{key:"reportContextSensitivity",value:function(o,u,E,x,A,N){var te="reportContextSensitivity d="+this.getDecisionDescription(o,u)+", input='"+o.getTokenStream().getText(new ve(E,x))+"'";o.notifyErrorListeners(te)}},{key:"getDecisionDescription",value:function(o,u){var E=u.decision,x=u.atnStartState.ruleIndex,A=o.ruleNames;if(x<0||x>=A.length)return""+E;var N=A[x]||null;return N===null||N.length===0?""+E:"".concat(E," (").concat(N,")")}},{key:"getConflictingAlts",value:function(o,u){if(o!==null)return o;for(var E=new Br,x=0;x<u.items.length;x++)E.add(u.items[x].alt);return"{".concat(E.values().join(", "),"}")}}],d&&Ig(i.prototype,d),Object.defineProperty(i,"prototype",{writable:!1}),_}(ws);function $h(f){return $h=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},$h(f)}function Bm(f){if(f===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return f}function Hh(f){var i=typeof Map=="function"?new Map:void 0;return Hh=function(d){if(d===null||(a=d,Function.toString.call(a).indexOf("[native code]")===-1))return d;var a;if(typeof d!="function")throw new TypeError("Super expression must either be null or a function");if(i!==void 0){if(i.has(d))return i.get(d);i.set(d,p)}function p(){return Gh(d,arguments,Js(this).constructor)}return p.prototype=Object.create(d.prototype,{constructor:{value:p,enumerable:!1,writable:!0,configurable:!0}}),Ys(p,d)},Hh(f)}function Gh(f,i,d){return Gh=Um()?Reflect.construct.bind():function(a,p,c){var _=[null];_.push.apply(_,p);var o=new(Function.bind.apply(a,_));return c&&Ys(o,c.prototype),o},Gh.apply(null,arguments)}function Um(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Ys(f,i){return Ys=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(d,a){return d.__proto__=a,d},Ys(f,i)}function Js(f){return Js=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Js(f)}var Pg=function(f){(function(_,o){if(typeof o!="function"&&o!==null)throw new TypeError("Super expression must either be null or a function");_.prototype=Object.create(o&&o.prototype,{constructor:{value:_,writable:!0,configurable:!0}}),Object.defineProperty(_,"prototype",{writable:!1}),o&&Ys(_,o)})(c,f);var i,d,a,p=(d=c,a=Um(),function(){var _,o=Js(d);if(a){var u=Js(this).constructor;_=Reflect.construct(o,arguments,u)}else _=o.apply(this,arguments);return function(E,x){if(x&&($h(x)==="object"||typeof x=="function"))return x;if(x!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Bm(E)}(this,_)});function c(){var _;return function(o,u){if(!(o instanceof u))throw new TypeError("Cannot call a class as a function")}(this,c),_=p.call(this),Error.captureStackTrace(Bm(_),c),_}return i=c,Object.defineProperty(i,"prototype",{writable:!1}),i}(Hh(Error));function Zs(f){return Zs=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Zs(f)}function Fg(f,i){for(var d=0;d<i.length;d++){var a=i[d];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(f,(p=function(c,_){if(Zs(c)!=="object"||c===null)return c;var o=c[Symbol.toPrimitive];if(o!==void 0){var u=o.call(c,"string");if(Zs(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Zs(p)==="symbol"?p:String(p)),a)}var p}function Ka(f){return Ka=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Ka(f)}function Lg(f,i){for(var d=0;d<i.length;d++){var a=i[d];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(f,(p=function(c,_){if(Ka(c)!=="object"||c===null)return c;var o=c[Symbol.toPrimitive];if(o!==void 0){var u=o.call(c,"string");if(Ka(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Ka(p)==="symbol"?p:String(p)),a)}var p}function Kh(f,i){return Kh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(d,a){return d.__proto__=a,d},Kh(f,i)}function Hc(f){return Hc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Hc(f)}var zh=function(f){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&Kh(o,u)})(_,f);var i,d,a,p,c=(a=_,p=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=Hc(a);if(p){var E=Hc(this).constructor;o=Reflect.construct(u,arguments,E)}else o=u.apply(this,arguments);return function(x,A){if(A&&(Ka(A)==="object"||typeof A=="function"))return A;if(A!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(N){if(N===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return N}(x)}(this,o)});function _(){var o;return function(u,E){if(!(u instanceof E))throw new TypeError("Cannot call a class as a function")}(this,_),(o=c.call(this)).errorRecoveryMode=!1,o.lastErrorIndex=-1,o.lastErrorStates=null,o.nextTokensContext=null,o.nextTokenState=0,o}return i=_,d=[{key:"reset",value:function(o){this.endErrorCondition(o)}},{key:"beginErrorCondition",value:function(o){this.errorRecoveryMode=!0}},{key:"inErrorRecoveryMode",value:function(o){return this.errorRecoveryMode}},{key:"endErrorCondition",value:function(o){this.errorRecoveryMode=!1,this.lastErrorStates=null,this.lastErrorIndex=-1}},{key:"reportMatch",value:function(o){this.endErrorCondition(o)}},{key:"reportError",value:function(o,u){this.inErrorRecoveryMode(o)||(this.beginErrorCondition(o),u instanceof Lc?this.reportNoViableAlternative(o,u):u instanceof qs?this.reportInputMismatch(o,u):u instanceof Vh?this.reportFailedPredicate(o,u):(console.log("unknown recognition error type: "+u.constructor.name),console.log(u.stack),o.notifyErrorListeners(u.getOffendingToken(),u.getMessage(),u)))}},{key:"recover",value:function(o,u){this.lastErrorIndex===o.getInputStream().index&&this.lastErrorStates!==null&&this.lastErrorStates.indexOf(o.state)>=0&&o.consume(),this.lastErrorIndex=o._input.index,this.lastErrorStates===null&&(this.lastErrorStates=[]),this.lastErrorStates.push(o.state);var E=this.getErrorRecoverySet(o);this.consumeUntil(o,E)}},{key:"sync",value:function(o){if(!this.inErrorRecoveryMode(o)){var u=o._interp.atn.states[o.state],E=o.getTokenStream().LA(1),x=o.atn.nextTokens(u);if(x.contains(E))return this.nextTokensContext=null,void(this.nextTokenState=be.INVALID_STATE_NUMBER);if(x.contains(n.EPSILON))this.nextTokensContext===null&&(this.nextTokensContext=o._ctx,this.nextTokensState=o._stateNumber);else switch(u.stateType){case be.BLOCK_START:case be.STAR_BLOCK_START:case be.PLUS_BLOCK_START:case be.STAR_LOOP_ENTRY:if(this.singleTokenDeletion(o)!==null)return;throw new qs(o);case be.PLUS_LOOP_BACK:case be.STAR_LOOP_BACK:this.reportUnwantedToken(o);var A=new re;A.addSet(o.getExpectedTokens());var N=A.addSet(this.getErrorRecoverySet(o));this.consumeUntil(o,N)}}}},{key:"reportNoViableAlternative",value:function(o,u){var E,x=o.getTokenStream();E=x!==null?u.startToken.type===n.EOF?"<EOF>":x.getText(new ve(u.startToken.tokenIndex,u.offendingToken.tokenIndex)):"<unknown input>";var A="no viable alternative at input "+this.escapeWSAndQuote(E);o.notifyErrorListeners(A,u.offendingToken,u)}},{key:"reportInputMismatch",value:function(o,u){var E="mismatched input "+this.getTokenErrorDisplay(u.offendingToken)+" expecting "+u.getExpectedTokens().toString(o.literalNames,o.symbolicNames);o.notifyErrorListeners(E,u.offendingToken,u)}},{key:"reportFailedPredicate",value:function(o,u){var E="rule "+o.ruleNames[o._ctx.ruleIndex]+" "+u.message;o.notifyErrorListeners(E,u.offendingToken,u)}},{key:"reportUnwantedToken",value:function(o){if(!this.inErrorRecoveryMode(o)){this.beginErrorCondition(o);var u=o.getCurrentToken(),E="extraneous input "+this.getTokenErrorDisplay(u)+" expecting "+this.getExpectedTokens(o).toString(o.literalNames,o.symbolicNames);o.notifyErrorListeners(E,u,null)}}},{key:"reportMissingToken",value:function(o){if(!this.inErrorRecoveryMode(o)){this.beginErrorCondition(o);var u=o.getCurrentToken(),E="missing "+this.getExpectedTokens(o).toString(o.literalNames,o.symbolicNames)+" at "+this.getTokenErrorDisplay(u);o.notifyErrorListeners(E,u,null)}}},{key:"recoverInline",value:function(o){var u=this.singleTokenDeletion(o);if(u!==null)return o.consume(),u;if(this.singleTokenInsertion(o))return this.getMissingSymbol(o);throw new qs(o)}},{key:"singleTokenInsertion",value:function(o){var u=o.getTokenStream().LA(1),E=o._interp.atn,x=E.states[o.state].transitions[0].target;return!!E.nextTokens(x,o._ctx).contains(u)&&(this.reportMissingToken(o),!0)}},{key:"singleTokenDeletion",value:function(o){var u=o.getTokenStream().LA(2);if(this.getExpectedTokens(o).contains(u)){this.reportUnwantedToken(o),o.consume();var E=o.getCurrentToken();return this.reportMatch(o),E}return null}},{key:"getMissingSymbol",value:function(o){var u,E=o.getCurrentToken(),x=this.getExpectedTokens(o).first();u=x===n.EOF?"<missing EOF>":"<missing "+o.literalNames[x]+">";var A=E,N=o.getTokenStream().LT(-1);return A.type===n.EOF&&N!==null&&(A=N),o.getTokenFactory().create(A.source,x,u,n.DEFAULT_CHANNEL,-1,-1,A.line,A.column)}},{key:"getExpectedTokens",value:function(o){return o.getExpectedTokens()}},{key:"getTokenErrorDisplay",value:function(o){if(o===null)return"<no token>";var u=o.text;return u===null&&(u=o.type===n.EOF?"<EOF>":"<"+o.type+">"),this.escapeWSAndQuote(u)}},{key:"escapeWSAndQuote",value:function(o){return"'"+(o=(o=(o=o.replace(/\n/g,"\\n")).replace(/\r/g,"\\r")).replace(/\t/g,"\\t"))+"'"}},{key:"getErrorRecoverySet",value:function(o){for(var u=o._interp.atn,E=o._ctx,x=new re;E!==null&&E.invokingState>=0;){var A=u.states[E.invokingState].transitions[0],N=u.nextTokens(A.followState);x.addSet(N),E=E.parentCtx}return x.removeOne(n.EPSILON),x}},{key:"consumeUntil",value:function(o,u){for(var E=o.getTokenStream().LA(1);E!==n.EOF&&!u.contains(E);)o.consume(),E=o.getTokenStream().LA(1)}}],d&&Lg(i.prototype,d),Object.defineProperty(i,"prototype",{writable:!1}),_}(function(){function f(){(function(a,p){if(!(a instanceof p))throw new TypeError("Cannot call a class as a function")})(this,f)}var i,d;return i=f,(d=[{key:"reset",value:function(a){}},{key:"recoverInline",value:function(a){}},{key:"recover",value:function(a,p){}},{key:"sync",value:function(a){}},{key:"inErrorRecoveryMode",value:function(a){}},{key:"reportError",value:function(a){}}])&&Fg(i.prototype,d),Object.defineProperty(i,"prototype",{writable:!1}),f}());function za(f){return za=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},za(f)}function Mg(f,i){for(var d=0;d<i.length;d++){var a=i[d];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(f,(p=function(c,_){if(za(c)!=="object"||c===null)return c;var o=c[Symbol.toPrimitive];if(o!==void 0){var u=o.call(c,"string");if(za(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),za(p)==="symbol"?p:String(p)),a)}var p}function Wh(f,i){return Wh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(d,a){return d.__proto__=a,d},Wh(f,i)}function Gc(f){return Gc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Gc(f)}var Vm=function(f){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&Wh(o,u)})(_,f);var i,d,a,p,c=(a=_,p=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=Gc(a);if(p){var E=Gc(this).constructor;o=Reflect.construct(u,arguments,E)}else o=u.apply(this,arguments);return function(x,A){if(A&&(za(A)==="object"||typeof A=="function"))return A;if(A!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(N){if(N===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return N}(x)}(this,o)});function _(){return function(o,u){if(!(o instanceof u))throw new TypeError("Cannot call a class as a function")}(this,_),c.call(this)}return i=_,d=[{key:"recover",value:function(o,u){for(var E=o._ctx;E!==null;)E.exception=u,E=E.parentCtx;throw new Pg(u)}},{key:"recoverInline",value:function(o){this.recover(o,new qs(o))}},{key:"sync",value:function(o){}}],d&&Mg(i.prototype,d),Object.defineProperty(i,"prototype",{writable:!1}),_}(zh);const Bg={RecognitionException:Vo,NoViableAltException:Lc,LexerNoViableAltException:Eh,InputMismatchException:qs,FailedPredicateException:Vh,DiagnosticErrorListener:Mm,BailErrorStrategy:Vm,DefaultErrorStrategy:zh,ErrorListener:ws};function Qs(f){return Qs=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Qs(f)}function Ug(f,i){for(var d=0;d<i.length;d++){var a=i[d];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(f,(p=function(c,_){if(Qs(c)!=="object"||c===null)return c;var o=c[Symbol.toPrimitive];if(o!==void 0){var u=o.call(c,"string");if(Qs(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Qs(p)==="symbol"?p:String(p)),a)}var p}var eu=function(){function f(a,p){if(function(u,E){if(!(u instanceof E))throw new TypeError("Cannot call a class as a function")}(this,f),this.name="<empty>",this.strdata=a,this.decodeToUnicodeCodePoints=p||!1,this._index=0,this.data=[],this.decodeToUnicodeCodePoints)for(var c=0;c<this.strdata.length;){var _=this.strdata.codePointAt(c);this.data.push(_),c+=_<=65535?1:2}else{this.data=new Array(this.strdata.length);for(var o=0;o<this.strdata.length;o++)this.data[o]=this.strdata.charCodeAt(o)}this._size=this.data.length}var i,d;return i=f,(d=[{key:"reset",value:function(){this._index=0}},{key:"consume",value:function(){if(this._index>=this._size)throw"cannot consume EOF";this._index+=1}},{key:"LA",value:function(a){if(a===0)return 0;a<0&&(a+=1);var p=this._index+a-1;return p<0||p>=this._size?n.EOF:this.data[p]}},{key:"LT",value:function(a){return this.LA(a)}},{key:"mark",value:function(){return-1}},{key:"release",value:function(a){}},{key:"seek",value:function(a){a<=this._index?this._index=a:this._index=Math.min(a,this._size)}},{key:"getText",value:function(a,p){if(p>=this._size&&(p=this._size-1),a>=this._size)return"";if(this.decodeToUnicodeCodePoints){for(var c="",_=a;_<=p;_++)c+=String.fromCodePoint(this.data[_]);return c}return this.strdata.slice(a,p+1)}},{key:"toString",value:function(){return this.strdata}},{key:"index",get:function(){return this._index}},{key:"size",get:function(){return this._size}}])&&Ug(i.prototype,d),Object.defineProperty(i,"prototype",{writable:!1}),f}();function Xh(f){return Xh=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Xh(f)}function qh(f,i){return qh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(d,a){return d.__proto__=a,d},qh(f,i)}function Kc(f){return Kc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Kc(f)}var tu=function(f){(function(_,o){if(typeof o!="function"&&o!==null)throw new TypeError("Super expression must either be null or a function");_.prototype=Object.create(o&&o.prototype,{constructor:{value:_,writable:!0,configurable:!0}}),Object.defineProperty(_,"prototype",{writable:!1}),o&&qh(_,o)})(c,f);var i,d,a,p=(d=c,a=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var _,o=Kc(d);if(a){var u=Kc(this).constructor;_=Reflect.construct(o,arguments,u)}else _=o.apply(this,arguments);return function(E,x){if(x&&(Xh(x)==="object"||typeof x=="function"))return x;if(x!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(A){if(A===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return A}(E)}(this,_)});function c(_,o){return function(u,E){if(!(u instanceof E))throw new TypeError("Cannot call a class as a function")}(this,c),p.call(this,_,o)}return i=c,Object.defineProperty(i,"prototype",{writable:!1}),i}(eu),jm=Cr(92);function Wa(f){return Wa=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Wa(f)}function Vg(f,i){for(var d=0;d<i.length;d++){var a=i[d];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(f,(p=function(c,_){if(Wa(c)!=="object"||c===null)return c;var o=c[Symbol.toPrimitive];if(o!==void 0){var u=o.call(c,"string");if(Wa(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Wa(p)==="symbol"?p:String(p)),a)}var p}function Yh(f,i){return Yh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(d,a){return d.__proto__=a,d},Yh(f,i)}function zc(f){return zc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},zc(f)}var $m=typeof process<"u"&&process.versions!=null&&process.versions.node!=null,Hm=function(f){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&Yh(o,u)})(_,f);var i,d,a,p,c=(a=_,p=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=zc(a);if(p){var E=zc(this).constructor;o=Reflect.construct(u,arguments,E)}else o=u.apply(this,arguments);return function(x,A){if(A&&(Wa(A)==="object"||typeof A=="function"))return A;if(A!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(N){if(N===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return N}(x)}(this,o)});function _(o,u,E){var x;if(function(N,te){if(!(N instanceof te))throw new TypeError("Cannot call a class as a function")}(this,_),!$m)throw new Error("FileStream is only available when running in Node!");var A=jm.readFileSync(o,u||"utf-8");return(x=c.call(this,A,E)).fileName=o,x}return i=_,d=[{key:"fromPath",value:function(o,u,E){if(!$m)throw new Error("FileStream is only available when running in Node!");jm.readFile(o,u,function(x,A){var N=null;A!==null&&(N=new eu(A,!0)),E(x,N)})}}],d&&Vg(i,d),Object.defineProperty(i,"prototype",{writable:!1}),_}(tu);const Gm={fromString:function(f){return new eu(f,!0)},fromBlob:function(f,i,d,a){var p=new window.FileReader;p.onload=function(c){var _=new eu(c.target.result,!0);d(_)},p.onerror=a,p.readAsText(f,i)},fromBuffer:function(f,i){return new eu(f.toString(i),!0)},fromPath:function(f,i,d){Hm.fromPath(f,i,d)},fromPathSync:function(f,i){return new Hm(f,i)}},jg={arrayToString:B,stringToCharArray:function(f){for(var i=new Uint16Array(f.length),d=0;d<f.length;d++)i[d]=f.charCodeAt(d);return i}};function nu(f){return nu=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},nu(f)}function Km(f,i){for(var d=0;d<i.length;d++){var a=i[d];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(f,(p=function(c,_){if(nu(c)!=="object"||c===null)return c;var o=c[Symbol.toPrimitive];if(o!==void 0){var u=o.call(c,"string");if(nu(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),nu(p)==="symbol"?p:String(p)),a)}var p}function $g(f,i,d){return i&&Km(f.prototype,i),d&&Km(f,d),Object.defineProperty(f,"prototype",{writable:!1}),f}function Xa(f){return Xa=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Xa(f)}function Hg(f,i){for(var d=0;d<i.length;d++){var a=i[d];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(f,(p=function(c,_){if(Xa(c)!=="object"||c===null)return c;var o=c[Symbol.toPrimitive];if(o!==void 0){var u=o.call(c,"string");if(Xa(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Xa(p)==="symbol"?p:String(p)),a)}var p}function Jh(f,i){return Jh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(d,a){return d.__proto__=a,d},Jh(f,i)}function Wc(f){return Wc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Wc(f)}var zm=function(f){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&Jh(o,u)})(_,f);var i,d,a,p,c=(a=_,p=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=Wc(a);if(p){var E=Wc(this).constructor;o=Reflect.construct(u,arguments,E)}else o=u.apply(this,arguments);return function(x,A){if(A&&(Xa(A)==="object"||typeof A=="function"))return A;if(A!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(N){if(N===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return N}(x)}(this,o)});function _(o){var u;return function(E,x){if(!(E instanceof x))throw new TypeError("Cannot call a class as a function")}(this,_),(u=c.call(this)).tokenSource=o,u.tokens=[],u.index=-1,u.fetchedEOF=!1,u}return i=_,(d=[{key:"mark",value:function(){return 0}},{key:"release",value:function(o){}},{key:"reset",value:function(){this.seek(0)}},{key:"seek",value:function(o){this.lazyInit(),this.index=this.adjustSeekIndex(o)}},{key:"size",get:function(){return this.tokens.length}},{key:"get",value:function(o){return this.lazyInit(),this.tokens[o]}},{key:"consume",value:function(){if(!(this.index>=0&&(this.fetchedEOF?this.index<this.tokens.length-1:this.index<this.tokens.length))&&this.LA(1)===n.EOF)throw"cannot consume EOF";this.sync(this.index+1)&&(this.index=this.adjustSeekIndex(this.index+1))}},{key:"sync",value:function(o){var u=o-this.tokens.length+1;return!(u>0)||this.fetch(u)>=u}},{key:"fetch",value:function(o){if(this.fetchedEOF)return 0;for(var u=0;u<o;u++){var E=this.tokenSource.nextToken();if(E.tokenIndex=this.tokens.length,this.tokens.push(E),E.type===n.EOF)return this.fetchedEOF=!0,u+1}return o}},{key:"getTokens",value:function(o,u,E){if(E===void 0&&(E=null),o<0||u<0)return null;this.lazyInit();var x=[];u>=this.tokens.length&&(u=this.tokens.length-1);for(var A=o;A<u;A++){var N=this.tokens[A];if(N.type===n.EOF)break;(E===null||E.contains(N.type))&&x.push(N)}return x}},{key:"LA",value:function(o){return this.LT(o).type}},{key:"LB",value:function(o){return this.index-o<0?null:this.tokens[this.index-o]}},{key:"LT",value:function(o){if(this.lazyInit(),o===0)return null;if(o<0)return this.LB(-o);var u=this.index+o-1;return this.sync(u),u>=this.tokens.length?this.tokens[this.tokens.length-1]:this.tokens[u]}},{key:"adjustSeekIndex",value:function(o){return o}},{key:"lazyInit",value:function(){this.index===-1&&this.setup()}},{key:"setup",value:function(){this.sync(0),this.index=this.adjustSeekIndex(0)}},{key:"setTokenSource",value:function(o){this.tokenSource=o,this.tokens=[],this.index=-1,this.fetchedEOF=!1}},{key:"nextTokenOnChannel",value:function(o,u){if(this.sync(o),o>=this.tokens.length)return-1;for(var E=this.tokens[o];E.channel!==this.channel;){if(E.type===n.EOF)return-1;o+=1,this.sync(o),E=this.tokens[o]}return o}},{key:"previousTokenOnChannel",value:function(o,u){for(;o>=0&&this.tokens[o].channel!==u;)o-=1;return o}},{key:"getHiddenTokensToRight",value:function(o,u){if(u===void 0&&(u=-1),this.lazyInit(),o<0||o>=this.tokens.length)throw o+" not in 0.."+this.tokens.length-1;var E=this.nextTokenOnChannel(o+1,ar.DEFAULT_TOKEN_CHANNEL),x=o+1,A=E===-1?this.tokens.length-1:E;return this.filterForChannel(x,A,u)}},{key:"getHiddenTokensToLeft",value:function(o,u){if(u===void 0&&(u=-1),this.lazyInit(),o<0||o>=this.tokens.length)throw o+" not in 0.."+this.tokens.length-1;var E=this.previousTokenOnChannel(o-1,ar.DEFAULT_TOKEN_CHANNEL);if(E===o-1)return null;var x=E+1,A=o-1;return this.filterForChannel(x,A,u)}},{key:"filterForChannel",value:function(o,u,E){for(var x=[],A=o;A<u+1;A++){var N=this.tokens[A];E===-1?N.channel!==ar.DEFAULT_TOKEN_CHANNEL&&x.push(N):N.channel===E&&x.push(N)}return x.length===0?null:x}},{key:"getSourceName",value:function(){return this.tokenSource.getSourceName()}},{key:"getText",value:function(o){this.lazyInit(),this.fill(),o||(o=new ve(0,this.tokens.length-1));var u=o.start;u instanceof n&&(u=u.tokenIndex);var E=o.stop;if(E instanceof n&&(E=E.tokenIndex),u===null||E===null||u<0||E<0)return"";E>=this.tokens.length&&(E=this.tokens.length-1);for(var x="",A=u;A<E+1;A++){var N=this.tokens[A];if(N.type===n.EOF)break;x+=N.text}return x}},{key:"fill",value:function(){for(this.lazyInit();this.fetch(1e3)===1e3;);}}])&&Hg(i.prototype,d),Object.defineProperty(i,"prototype",{writable:!1}),_}($g(function f(){(function(i,d){if(!(i instanceof d))throw new TypeError("Cannot call a class as a function")})(this,f)}));function qa(f){return qa=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},qa(f)}function Gg(f,i){for(var d=0;d<i.length;d++){var a=i[d];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(f,(p=function(c,_){if(qa(c)!=="object"||c===null)return c;var o=c[Symbol.toPrimitive];if(o!==void 0){var u=o.call(c,"string");if(qa(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),qa(p)==="symbol"?p:String(p)),a)}var p}function Zh(f,i){return Zh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(d,a){return d.__proto__=a,d},Zh(f,i)}function Xc(f){return Xc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Xc(f)}Object.defineProperty(zm,"size",{get:function(){return this.tokens.length}});var Wm=function(f){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&Zh(o,u)})(_,f);var i,d,a,p,c=(a=_,p=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=Xc(a);if(p){var E=Xc(this).constructor;o=Reflect.construct(u,arguments,E)}else o=u.apply(this,arguments);return function(x,A){if(A&&(qa(A)==="object"||typeof A=="function"))return A;if(A!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(N){if(N===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return N}(x)}(this,o)});function _(o,u){var E;return function(x,A){if(!(x instanceof A))throw new TypeError("Cannot call a class as a function")}(this,_),(E=c.call(this,o)).channel=u===void 0?n.DEFAULT_CHANNEL:u,E}return i=_,(d=[{key:"adjustSeekIndex",value:function(o){return this.nextTokenOnChannel(o,this.channel)}},{key:"LB",value:function(o){if(o===0||this.index-o<0)return null;for(var u=this.index,E=1;E<=o;)u=this.previousTokenOnChannel(u-1,this.channel),E+=1;return u<0?null:this.tokens[u]}},{key:"LT",value:function(o){if(this.lazyInit(),o===0)return null;if(o<0)return this.LB(-o);for(var u=this.index,E=1;E<o;)this.sync(u+1)&&(u=this.nextTokenOnChannel(u+1,this.channel)),E+=1;return this.tokens[u]}},{key:"getNumberOfOnChannelTokens",value:function(){var o=0;this.fill();for(var u=0;u<this.tokens.length;u++){var E=this.tokens[u];if(E.channel===this.channel&&(o+=1),E.type===n.EOF)break}return o}}])&&Gg(i.prototype,d),Object.defineProperty(i,"prototype",{writable:!1}),_}(zm);function Ya(f){return Ya=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Ya(f)}function Kg(f,i){for(var d=0;d<i.length;d++){var a=i[d];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(f,(p=function(c,_){if(Ya(c)!=="object"||c===null)return c;var o=c[Symbol.toPrimitive];if(o!==void 0){var u=o.call(c,"string");if(Ya(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Ya(p)==="symbol"?p:String(p)),a)}var p}function Qh(f,i){return Qh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(d,a){return d.__proto__=a,d},Qh(f,i)}function qc(f){return qc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},qc(f)}var zg=function(f){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&Qh(o,u)})(_,f);var i,d,a,p,c=(a=_,p=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=qc(a);if(p){var E=qc(this).constructor;o=Reflect.construct(u,arguments,E)}else o=u.apply(this,arguments);return function(x,A){if(A&&(Ya(A)==="object"||typeof A=="function"))return A;if(A!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(N){if(N===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return N}(x)}(this,o)});function _(o){var u;return function(E,x){if(!(E instanceof x))throw new TypeError("Cannot call a class as a function")}(this,_),(u=c.call(this)).parser=o,u}return i=_,(d=[{key:"enterEveryRule",value:function(o){console.log("enter "+this.parser.ruleNames[o.ruleIndex]+", LT(1)="+this.parser._input.LT(1).text)}},{key:"visitTerminal",value:function(o){console.log("consume "+o.symbol+" rule "+this.parser.ruleNames[this.parser._ctx.ruleIndex])}},{key:"exitEveryRule",value:function(o){console.log("exit "+this.parser.ruleNames[o.ruleIndex]+", LT(1)="+this.parser._input.LT(1).text)}}])&&Kg(i.prototype,d),Object.defineProperty(i,"prototype",{writable:!1}),_}(Fh);function Ja(f){return Ja=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Ja(f)}function Wg(f,i){for(var d=0;d<i.length;d++){var a=i[d];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(f,(p=function(c,_){if(Ja(c)!=="object"||c===null)return c;var o=c[Symbol.toPrimitive];if(o!==void 0){var u=o.call(c,"string");if(Ja(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Ja(p)==="symbol"?p:String(p)),a)}var p}function ep(f,i){return ep=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(d,a){return d.__proto__=a,d},ep(f,i)}function Yc(f){return Yc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Yc(f)}var tp=function(f){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&ep(o,u)})(_,f);var i,d,a,p,c=(a=_,p=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=Yc(a);if(p){var E=Yc(this).constructor;o=Reflect.construct(u,arguments,E)}else o=u.apply(this,arguments);return function(x,A){if(A&&(Ja(A)==="object"||typeof A=="function"))return A;if(A!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(N){if(N===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return N}(x)}(this,o)});function _(o){var u;return function(E,x){if(!(E instanceof x))throw new TypeError("Cannot call a class as a function")}(this,_),(u=c.call(this))._input=null,u._errHandler=new zh,u._precedenceStack=[],u._precedenceStack.push(0),u._ctx=null,u.buildParseTrees=!0,u._tracer=null,u._parseListeners=null,u._syntaxErrors=0,u.setInputStream(o),u}return i=_,d=[{key:"reset",value:function(){this._input!==null&&this._input.seek(0),this._errHandler.reset(this),this._ctx=null,this._syntaxErrors=0,this.setTrace(!1),this._precedenceStack=[],this._precedenceStack.push(0),this._interp!==null&&this._interp.reset()}},{key:"match",value:function(o){var u=this.getCurrentToken();return u.type===o?(this._errHandler.reportMatch(this),this.consume()):(u=this._errHandler.recoverInline(this),this.buildParseTrees&&u.tokenIndex===-1&&this._ctx.addErrorNode(u)),u}},{key:"matchWildcard",value:function(){var o=this.getCurrentToken();return o.type>0?(this._errHandler.reportMatch(this),this.consume()):(o=this._errHandler.recoverInline(this),this.buildParseTrees&&o.tokenIndex===-1&&this._ctx.addErrorNode(o)),o}},{key:"getParseListeners",value:function(){return this._parseListeners||[]}},{key:"addParseListener",value:function(o){if(o===null)throw"listener";this._parseListeners===null&&(this._parseListeners=[]),this._parseListeners.push(o)}},{key:"removeParseListener",value:function(o){if(this._parseListeners!==null){var u=this._parseListeners.indexOf(o);u>=0&&this._parseListeners.splice(u,1),this._parseListeners.length===0&&(this._parseListeners=null)}}},{key:"removeParseListeners",value:function(){this._parseListeners=null}},{key:"triggerEnterRuleEvent",value:function(){if(this._parseListeners!==null){var o=this._ctx;this._parseListeners.forEach(function(u){u.enterEveryRule(o),o.enterRule(u)})}}},{key:"triggerExitRuleEvent",value:function(){if(this._parseListeners!==null){var o=this._ctx;this._parseListeners.slice(0).reverse().forEach(function(u){o.exitRule(u),u.exitEveryRule(o)})}}},{key:"getTokenFactory",value:function(){return this._input.tokenSource._factory}},{key:"setTokenFactory",value:function(o){this._input.tokenSource._factory=o}},{key:"getATNWithBypassAlts",value:function(){var o=this.getSerializedATN();if(o===null)throw"The current parser does not support an ATN with bypass alternatives.";var u=this.bypassAltsAtnCache[o];if(u===null){var E=new Os;E.generateRuleBypassTransitions=!0,u=new fh(E).deserialize(o),this.bypassAltsAtnCache[o]=u}return u}},{key:"getInputStream",value:function(){return this.getTokenStream()}},{key:"setInputStream",value:function(o){this.setTokenStream(o)}},{key:"getTokenStream",value:function(){return this._input}},{key:"setTokenStream",value:function(o){this._input=null,this.reset(),this._input=o}},{key:"syntaxErrorsCount",get:function(){return this._syntaxErrors}},{key:"getCurrentToken",value:function(){return this._input.LT(1)}},{key:"notifyErrorListeners",value:function(o,u,E){E=E||null,(u=u||null)===null&&(u=this.getCurrentToken()),this._syntaxErrors+=1;var x=u.line,A=u.column;this.getErrorListenerDispatch().syntaxError(this,u,x,A,o,E)}},{key:"consume",value:function(){var o=this.getCurrentToken();o.type!==n.EOF&&this.getInputStream().consume();var u,E=this._parseListeners!==null&&this._parseListeners.length>0;return(this.buildParseTrees||E)&&((u=this._errHandler.inErrorRecoveryMode(this)?this._ctx.addErrorNode(o):this._ctx.addTokenNode(o)).invokingState=this.state,E&&this._parseListeners.forEach(function(x){u instanceof Xr||u.isErrorNode!==void 0&&u.isErrorNode()?x.visitErrorNode(u):u instanceof an&&x.visitTerminal(u)})),o}},{key:"addContextToParseTree",value:function(){this._ctx.parentCtx!==null&&this._ctx.parentCtx.addChild(this._ctx)}},{key:"enterRule",value:function(o,u,E){this.state=u,this._ctx=o,this._ctx.start=this._input.LT(1),this.buildParseTrees&&this.addContextToParseTree(),this.triggerEnterRuleEvent()}},{key:"exitRule",value:function(){this._ctx.stop=this._input.LT(-1),this.triggerExitRuleEvent(),this.state=this._ctx.invokingState,this._ctx=this._ctx.parentCtx}},{key:"enterOuterAlt",value:function(o,u){o.setAltNumber(u),this.buildParseTrees&&this._ctx!==o&&this._ctx.parentCtx!==null&&(this._ctx.parentCtx.removeLastChild(),this._ctx.parentCtx.addChild(o)),this._ctx=o}},{key:"getPrecedence",value:function(){return this._precedenceStack.length===0?-1:this._precedenceStack[this._precedenceStack.length-1]}},{key:"enterRecursionRule",value:function(o,u,E,x){this.state=u,this._precedenceStack.push(x),this._ctx=o,this._ctx.start=this._input.LT(1),this.triggerEnterRuleEvent()}},{key:"pushNewRecursionContext",value:function(o,u,E){var x=this._ctx;x.parentCtx=o,x.invokingState=u,x.stop=this._input.LT(-1),this._ctx=o,this._ctx.start=x.start,this.buildParseTrees&&this._ctx.addChild(x),this.triggerEnterRuleEvent()}},{key:"unrollRecursionContexts",value:function(o){this._precedenceStack.pop(),this._ctx.stop=this._input.LT(-1);var u=this._ctx,E=this.getParseListeners();if(E!==null&&E.length>0)for(;this._ctx!==o;)this.triggerExitRuleEvent(),this._ctx=this._ctx.parentCtx;else this._ctx=o;u.parentCtx=o,this.buildParseTrees&&o!==null&&o.addChild(u)}},{key:"getInvokingContext",value:function(o){for(var u=this._ctx;u!==null;){if(u.ruleIndex===o)return u;u=u.parentCtx}return null}},{key:"precpred",value:function(o,u){return u>=this._precedenceStack[this._precedenceStack.length-1]}},{key:"inContext",value:function(o){return!1}},{key:"isExpectedToken",value:function(o){var u=this._interp.atn,E=this._ctx,x=u.states[this.state],A=u.nextTokens(x);if(A.contains(o))return!0;if(!A.contains(n.EPSILON))return!1;for(;E!==null&&E.invokingState>=0&&A.contains(n.EPSILON);){var N=u.states[E.invokingState].transitions[0];if((A=u.nextTokens(N.followState)).contains(o))return!0;E=E.parentCtx}return!(!A.contains(n.EPSILON)||o!==n.EOF)}},{key:"getExpectedTokens",value:function(){return this._interp.atn.getExpectedTokens(this.state,this._ctx)}},{key:"getExpectedTokensWithinCurrentRule",value:function(){var o=this._interp.atn,u=o.states[this.state];return o.nextTokens(u)}},{key:"getRuleIndex",value:function(o){var u=this.getRuleIndexMap()[o];return u!==null?u:-1}},{key:"getRuleInvocationStack",value:function(o){(o=o||null)===null&&(o=this._ctx);for(var u=[];o!==null;){var E=o.ruleIndex;E<0?u.push("n/a"):u.push(this.ruleNames[E]),o=o.parentCtx}return u}},{key:"getDFAStrings",value:function(){return this._interp.decisionToDFA.toString()}},{key:"dumpDFA",value:function(){for(var o=!1,u=0;u<this._interp.decisionToDFA.length;u++){var E=this._interp.decisionToDFA[u];E.states.length>0&&(o&&console.log(),this.printer.println("Decision "+E.decision+":"),this.printer.print(E.toString(this.literalNames,this.symbolicNames)),o=!0)}}},{key:"getSourceName",value:function(){return this._input.sourceName}},{key:"setTrace",value:function(o){o?(this._tracer!==null&&this.removeParseListener(this._tracer),this._tracer=new zg(this),this.addParseListener(this._tracer)):(this.removeParseListener(this._tracer),this._tracer=null)}}],d&&Wg(i.prototype,d),Object.defineProperty(i,"prototype",{writable:!1}),_}(Oc);function Za(f){return Za=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Za(f)}function Xg(f,i){for(var d=0;d<i.length;d++){var a=i[d];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(f,(p=function(c,_){if(Za(c)!=="object"||c===null)return c;var o=c[Symbol.toPrimitive];if(o!==void 0){var u=o.call(c,"string");if(Za(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Za(p)==="symbol"?p:String(p)),a)}var p}function np(f,i){return np=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(d,a){return d.__proto__=a,d},np(f,i)}function Jc(f){return Jc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Jc(f)}tp.bypassAltsAtnCache={};var Xm=function(f){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&np(o,u)})(_,f);var i,d,a,p,c=(a=_,p=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=Jc(a);if(p){var E=Jc(this).constructor;o=Reflect.construct(u,arguments,E)}else o=u.apply(this,arguments);return function(x,A){if(A&&(Za(A)==="object"||typeof A=="function"))return A;if(A!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(N){if(N===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return N}(x)}(this,o)});function _(o){var u;return function(E,x){if(!(E instanceof x))throw new TypeError("Cannot call a class as a function")}(this,_),(u=c.call(this)).parentCtx=null,u.symbol=o,u}return i=_,(d=[{key:"getChild",value:function(o){return null}},{key:"getSymbol",value:function(){return this.symbol}},{key:"getParent",value:function(){return this.parentCtx}},{key:"getPayload",value:function(){return this.symbol}},{key:"getSourceInterval",value:function(){if(this.symbol===null)return ve.INVALID_INTERVAL;var o=this.symbol.tokenIndex;return new ve(o,o)}},{key:"getChildCount",value:function(){return 0}},{key:"accept",value:function(o){return o.visitTerminal(this)}},{key:"getText",value:function(){return this.symbol.text}},{key:"toString",value:function(){return this.symbol.type===n.EOF?"<EOF>":this.symbol.text}}])&&Xg(i.prototype,d),Object.defineProperty(i,"prototype",{writable:!1}),_}(an);function Qa(f){return Qa=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Qa(f)}function qg(f,i){for(var d=0;d<i.length;d++){var a=i[d];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(f,(p=function(c,_){if(Qa(c)!=="object"||c===null)return c;var o=c[Symbol.toPrimitive];if(o!==void 0){var u=o.call(c,"string");if(Qa(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Qa(p)==="symbol"?p:String(p)),a)}var p}function rp(f,i){return rp=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(d,a){return d.__proto__=a,d},rp(f,i)}function Zc(f){return Zc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Zc(f)}var qm=function(f){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&rp(o,u)})(_,f);var i,d,a,p,c=(a=_,p=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=Zc(a);if(p){var E=Zc(this).constructor;o=Reflect.construct(u,arguments,E)}else o=u.apply(this,arguments);return function(x,A){if(A&&(Qa(A)==="object"||typeof A=="function"))return A;if(A!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(N){if(N===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return N}(x)}(this,o)});function _(o){return function(u,E){if(!(u instanceof E))throw new TypeError("Cannot call a class as a function")}(this,_),c.call(this,o)}return i=_,(d=[{key:"isErrorNode",value:function(){return!0}},{key:"accept",value:function(o){return o.visitErrorNode(this)}}])&&qg(i.prototype,d),Object.defineProperty(i,"prototype",{writable:!1}),_}(Xm);function es(f){return es=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},es(f)}function Yg(f,i){for(var d=0;d<i.length;d++){var a=i[d];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(f,(p=function(c,_){if(es(c)!=="object"||c===null)return c;var o=c[Symbol.toPrimitive];if(o!==void 0){var u=o.call(c,"string");if(es(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),es(p)==="symbol"?p:String(p)),a)}var p}function ip(f,i){return ip=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(d,a){return d.__proto__=a,d},ip(f,i)}function Qc(f){return Qc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Qc(f)}var op=function(f){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&ip(o,u)})(_,f);var i,d,a,p,c=(a=_,p=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=Qc(a);if(p){var E=Qc(this).constructor;o=Reflect.construct(u,arguments,E)}else o=u.apply(this,arguments);return function(x,A){if(A&&(es(A)==="object"||typeof A=="function"))return A;if(A!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(N){if(N===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return N}(x)}(this,o)});function _(o,u){var E;return function(x,A){if(!(x instanceof A))throw new TypeError("Cannot call a class as a function")}(this,_),(E=c.call(this,o,u)).children=null,E.start=null,E.stop=null,E.exception=null,E}return i=_,(d=[{key:"copyFrom",value:function(o){this.parentCtx=o.parentCtx,this.invokingState=o.invokingState,this.children=null,this.start=o.start,this.stop=o.stop,o.children&&(this.children=[],o.children.map(function(u){u instanceof qm&&(this.children.push(u),u.parentCtx=this)},this))}},{key:"enterRule",value:function(o){}},{key:"exitRule",value:function(o){}},{key:"addChild",value:function(o){return this.children===null&&(this.children=[]),this.children.push(o),o}},{key:"removeLastChild",value:function(){this.children!==null&&this.children.pop()}},{key:"addTokenNode",value:function(o){var u=new Xm(o);return this.addChild(u),u.parentCtx=this,u}},{key:"addErrorNode",value:function(o){var u=new qm(o);return this.addChild(u),u.parentCtx=this,u}},{key:"getChild",value:function(o,u){if(u=u||null,this.children===null||o<0||o>=this.children.length)return null;if(u===null)return this.children[o];for(var E=0;E<this.children.length;E++){var x=this.children[E];if(x instanceof u){if(o===0)return x;o-=1}}return null}},{key:"getToken",value:function(o,u){if(this.children===null||u<0||u>=this.children.length)return null;for(var E=0;E<this.children.length;E++){var x=this.children[E];if(x instanceof an&&x.symbol.type===o){if(u===0)return x;u-=1}}return null}},{key:"getTokens",value:function(o){if(this.children===null)return[];for(var u=[],E=0;E<this.children.length;E++){var x=this.children[E];x instanceof an&&x.symbol.type===o&&u.push(x)}return u}},{key:"getTypedRuleContext",value:function(o,u){return this.getChild(u,o)}},{key:"getTypedRuleContexts",value:function(o){if(this.children===null)return[];for(var u=[],E=0;E<this.children.length;E++){var x=this.children[E];x instanceof o&&u.push(x)}return u}},{key:"getChildCount",value:function(){return this.children===null?0:this.children.length}},{key:"getSourceInterval",value:function(){return this.start===null||this.stop===null?ve.INVALID_INTERVAL:new ve(this.start.tokenIndex,this.stop.tokenIndex)}}])&&Yg(i.prototype,d),Object.defineProperty(i,"prototype",{writable:!1}),_}(Yi);function ap(f,i){if(typeof i!="function"&&i!==null)throw new TypeError("Super expression must either be null or a function");f.prototype=Object.create(i&&i.prototype,{constructor:{value:f,writable:!0,configurable:!0}}),Object.defineProperty(f,"prototype",{writable:!1}),i&&sp(f,i)}function sp(f,i){return sp=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(d,a){return d.__proto__=a,d},sp(f,i)}function up(f){var i=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var d,a=el(f);if(i){var p=el(this).constructor;d=Reflect.construct(a,arguments,p)}else d=a.apply(this,arguments);return function(c,_){if(_&&(ts(_)==="object"||typeof _=="function"))return _;if(_!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(o){if(o===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return o}(c)}(this,d)}}function el(f){return el=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},el(f)}function ts(f){return ts=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},ts(f)}function ns(f,i){var d=typeof Symbol<"u"&&f[Symbol.iterator]||f["@@iterator"];if(!d){if(Array.isArray(f)||(d=function(u,E){if(u){if(typeof u=="string")return Ym(u,E);var x=Object.prototype.toString.call(u).slice(8,-1);return x==="Object"&&u.constructor&&(x=u.constructor.name),x==="Map"||x==="Set"?Array.from(u):x==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(x)?Ym(u,E):void 0}}(f))||i&&f&&typeof f.length=="number"){d&&(f=d);var a=0,p=function(){};return{s:p,n:function(){return a>=f.length?{done:!0}:{done:!1,value:f[a++]}},e:function(u){throw u},f:p}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
10
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var c,_=!0,o=!1;return{s:function(){d=d.call(f)},n:function(){var u=d.next();return _=u.done,u},e:function(u){o=!0,c=u},f:function(){try{_||d.return==null||d.return()}finally{if(o)throw c}}}}function Ym(f,i){(i==null||i>f.length)&&(i=f.length);for(var d=0,a=new Array(i);d<i;d++)a[d]=f[d];return a}function ru(f,i){if(!(f instanceof i))throw new TypeError("Cannot call a class as a function")}function Jm(f,i){for(var d=0;d<i.length;d++){var a=i[d];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(f,Zm(a.key),a)}}function iu(f,i,d){return i&&Jm(f.prototype,i),d&&Jm(f,d),Object.defineProperty(f,"prototype",{writable:!1}),f}function Zm(f){var i=function(d,a){if(ts(d)!=="object"||d===null)return d;var p=d[Symbol.toPrimitive];if(p!==void 0){var c=p.call(d,"string");if(ts(c)!=="object")return c;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(d)}(f);return ts(i)==="symbol"?i:String(i)}Yi.EMPTY=new op;var tl,nl,cp,Qm=function(){function f(i){ru(this,f),this.tokens=i,this.programs=new Map}return iu(f,[{key:"getTokenStream",value:function(){return this.tokens}},{key:"insertAfter",value:function(i,d){var a,p=arguments.length>2&&arguments[2]!==void 0?arguments[2]:f.DEFAULT_PROGRAM_NAME;a=typeof i=="number"?i:i.tokenIndex;var c=this.getProgram(p),_=new t_(this.tokens,a,c.length,d);c.push(_)}},{key:"insertBefore",value:function(i,d){var a,p=arguments.length>2&&arguments[2]!==void 0?arguments[2]:f.DEFAULT_PROGRAM_NAME;a=typeof i=="number"?i:i.tokenIndex;var c=this.getProgram(p),_=new rs(this.tokens,a,c.length,d);c.push(_)}},{key:"replaceSingle",value:function(i,d){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:f.DEFAULT_PROGRAM_NAME;this.replace(i,i,d,a)}},{key:"replace",value:function(i,d,a){var p=arguments.length>3&&arguments[3]!==void 0?arguments[3]:f.DEFAULT_PROGRAM_NAME;if(typeof i!="number"&&(i=i.tokenIndex),typeof d!="number"&&(d=d.tokenIndex),i>d||i<0||d<0||d>=this.tokens.size)throw new RangeError("replace: range invalid: ".concat(i,"..").concat(d,"(size=").concat(this.tokens.size,")"));var c=this.getProgram(p),_=new rl(this.tokens,i,d,c.length,a);c.push(_)}},{key:"delete",value:function(i,d){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:f.DEFAULT_PROGRAM_NAME;d===void 0&&(d=i),this.replace(i,d,null,a)}},{key:"getProgram",value:function(i){var d=this.programs.get(i);return d==null&&(d=this.initializeProgram(i)),d}},{key:"initializeProgram",value:function(i){var d=[];return this.programs.set(i,d),d}},{key:"getText",value:function(i){var d,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:f.DEFAULT_PROGRAM_NAME;d=i instanceof ve?i:new ve(0,this.tokens.size-1),typeof i=="string"&&(a=i);var p=this.programs.get(a),c=d.start,_=d.stop;if(_>this.tokens.size-1&&(_=this.tokens.size-1),c<0&&(c=0),p==null||p.length===0)return this.tokens.getText(new ve(c,_));for(var o=[],u=this.reduceToSingleOperationPerIndex(p),E=c;E<=_&&E<this.tokens.size;){var x=u.get(E);u.delete(E);var A=this.tokens.get(E);x==null?(A.type!==n.EOF&&o.push(String(A.text)),E++):E=x.execute(o)}if(_===this.tokens.size-1){var N,te=ns(u.values());try{for(te.s();!(N=te.n()).done;){var Re=N.value;Re.index>=this.tokens.size-1&&o.push(Re.text.toString())}}catch(De){te.e(De)}finally{te.f()}}return o.join("")}},{key:"reduceToSingleOperationPerIndex",value:function(i){for(var d=0;d<i.length;d++){var a=i[d];if(a!=null&&a instanceof rl){var p,c=a,_=ns(this.getKindOfOps(i,rs,d));try{for(_.s();!(p=_.n()).done;){var o=p.value;o.index===c.index?(i[o.instructionIndex]=void 0,c.text=o.text.toString()+(c.text!=null?c.text.toString():"")):o.index>c.index&&o.index<=c.lastIndex&&(i[o.instructionIndex]=void 0)}}catch(xr){_.e(xr)}finally{_.f()}var u,E=ns(this.getKindOfOps(i,rl,d));try{for(E.s();!(u=E.n()).done;){var x=u.value;if(x.index>=c.index&&x.lastIndex<=c.lastIndex)i[x.instructionIndex]=void 0;else{var A=x.lastIndex<c.index||x.index>c.lastIndex;if(x.text!=null||c.text!=null||A){if(!A)throw new Error("replace op boundaries of ".concat(c," overlap with previous ").concat(x))}else i[x.instructionIndex]=void 0,c.index=Math.min(x.index,c.index),c.lastIndex=Math.max(x.lastIndex,c.lastIndex)}}}catch(xr){E.e(xr)}finally{E.f()}}}for(var N=0;N<i.length;N++){var te=i[N];if(te!=null&&te instanceof rs){var Re,De=te,He=ns(this.getKindOfOps(i,rs,N));try{for(He.s();!(Re=He.n()).done;){var at=Re.value;at.index===De.index&&(at instanceof t_?(De.text=this.catOpText(at.text,De.text),i[at.instructionIndex]=void 0):at instanceof rs&&(De.text=this.catOpText(De.text,at.text),i[at.instructionIndex]=void 0))}}catch(xr){He.e(xr)}finally{He.f()}var ze,_n=ns(this.getKindOfOps(i,rl,N));try{for(_n.s();!(ze=_n.n()).done;){var pn=ze.value;if(De.index!==pn.index){if(De.index>=pn.index&&De.index<=pn.lastIndex)throw new Error("insert op ".concat(De," within boundaries of previous ").concat(pn))}else pn.text=this.catOpText(De.text,pn.text),i[N]=void 0}}catch(xr){_n.e(xr)}finally{_n.f()}}}var zn,Vr=new Map,Ri=ns(i);try{for(Ri.s();!(zn=Ri.n()).done;){var wi=zn.value;if(wi!=null){if(Vr.get(wi.index)!=null)throw new Error("should only be one op per index");Vr.set(wi.index,wi)}}}catch(xr){Ri.e(xr)}finally{Ri.f()}return Vr}},{key:"catOpText",value:function(i,d){var a="",p="";return i!=null&&(a=i.toString()),d!=null&&(p=d.toString()),a+p}},{key:"getKindOfOps",value:function(i,d,a){return i.slice(0,a).filter(function(p){return p&&p instanceof d})}}]),f}();tl=Qm,cp="default",(nl=Zm(nl="DEFAULT_PROGRAM_NAME"))in tl?Object.defineProperty(tl,nl,{value:cp,enumerable:!0,configurable:!0,writable:!0}):tl[nl]=cp;var e_=function(){function f(i,d,a,p){ru(this,f),this.tokens=i,this.instructionIndex=a,this.index=d,this.text=p===void 0?"":p}return iu(f,[{key:"toString",value:function(){var i=this.constructor.name,d=i.indexOf("$");return"<"+(i=i.substring(d+1,i.length))+"@"+this.tokens.get(this.index)+':"'+this.text+'">'}}]),f}(),rs=function(f){ap(d,f);var i=up(d);function d(a,p,c,_){return ru(this,d),i.call(this,a,p,c,_)}return iu(d,[{key:"execute",value:function(a){return this.text&&a.push(this.text.toString()),this.tokens.get(this.index).type!==n.EOF&&a.push(String(this.tokens.get(this.index).text)),this.index+1}}]),d}(e_),t_=function(f){ap(d,f);var i=up(d);function d(a,p,c,_){return ru(this,d),i.call(this,a,p+1,c,_)}return iu(d)}(rs),rl=function(f){ap(d,f);var i=up(d);function d(a,p,c,_,o){var u;return ru(this,d),(u=i.call(this,a,p,_,o)).lastIndex=c,u}return iu(d,[{key:"execute",value:function(a){return this.text&&a.push(this.text.toString()),this.lastIndex+1}},{key:"toString",value:function(){return this.text==null?"<DeleteOp@"+this.tokens.get(this.index)+".."+this.tokens.get(this.lastIndex)+">":"<ReplaceOp@"+this.tokens.get(this.index)+".."+this.tokens.get(this.lastIndex)+':"'+this.text+'">'}}]),d}(e_);const Jg={atn:Eg,dfa:xg,context:Cg,misc:Og,tree:wg,error:Bg,Token:n,CommonToken:Is,CharStreams:Gm,CharStream:tu,InputStream:tu,CommonTokenStream:Wm,Lexer:ar,Parser:tp,ParserRuleContext:op,Interval:ve,IntervalSet:re,LL1Analyzer:Bo,Utils:jg,TokenStreamRewriter:Qm}})();var Or=kt.dx,lp=kt.q2;kt.FO,kt.xf,kt.Gy;var n_=kt.s4,r_=kt.c7,fp=kt._7;kt.gp;var i_=kt.cK,o_=kt.zs,a_=kt.AV;kt.Xp,kt.VS,kt.ul;var s_=kt.hW,u_=kt.x1,di=kt.z5;kt.oN;var c_=kt.TB;kt.u1;var l_=kt._b,f_=kt.$F,Ye=kt._T,hp=kt.db,h_=kt.Zx,Je=kt._x;kt.r8,kt.JI,kt.TP;var pp=kt.WU;kt.Nj,kt.ZP;const M=class M extends l_{get grammarFileName(){return"tccScriptParser.g4"}get literalNames(){return M.literalNames}get symbolicNames(){return M.symbolicNames}get ruleNames(){return M.ruleNames}get serializedATN(){return M._serializedATN}createFailedPredicateException(e,n){return new o_(this,e,n)}constructor(e){super(e),this._interp=new f_(this,M._ATN,M.DecisionsToDFA,new hp)}program(){let e=new p_(this,this._ctx,this.state);this.enterRule(e,0,M.RULE_program);let n;try{this.enterOuterAlt(e,1);{for(this.state=106,this._errHandler.sync(this),n=this._input.LA(1);n===4||n===6||!(n-36&-32)&&1<<n-36&38635767;){switch(this.state=104,this._errHandler.sync(this),this._input.LA(1)){case 61:this.state=102,this.match(M.NEWLINE);break;case 4:case 6:case 36:case 37:case 38:case 40:case 41:case 42:case 43:case 47:case 51:case 52:case 54:case 55:case 58:this.state=103,this.globalStmt();break;default:throw new di(this)}this.state=108,this._errHandler.sync(this),n=this._input.LA(1)}this.state=109,this.match(M.EOF)}}catch(r){if(r instanceof Je)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}globalStmt(){let e=new il(this,this._ctx,this.state);this.enterRule(e,2,M.RULE_globalStmt);let n;try{switch(this.state=123,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,3,this._ctx)){case 1:this.enterOuterAlt(e,1),this.state=111,this.variableDeclarationStmt(),this.state=113,this._errHandler.sync(this),n=this._input.LA(1),n===8&&(this.state=112,this.match(M.Comma)),this.state=115,this.match(M.NEWLINE);break;case 2:this.enterOuterAlt(e,2),this.state=117,this.blockStmt();break;case 3:this.enterOuterAlt(e,3),this.state=118,this.importStmt();break;case 4:this.enterOuterAlt(e,4),this.state=119,this.arrowFunction();break;case 5:this.enterOuterAlt(e,5),this.state=120,this.arrowMethod();break;case 6:this.enterOuterAlt(e,6),this.state=121,this.typeStatement();break;case 7:this.enterOuterAlt(e,7),this.state=122,this.enumStatement();break}}catch(r){if(r instanceof Je)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}blockStmt(){let e=new dp(this,this._ctx,this.state);this.enterRule(e,4,M.RULE_blockStmt);try{let n;this.enterOuterAlt(e,1);{for(this.state=130,this._errHandler.sync(this),n=this._interp.adaptivePredict(this._input,4,this._ctx);n!==2&&n!==Or.INVALID_ALT_NUMBER;)n===1&&(this.state=125,this.variableDeclarationStmt(),this.state=126,this.match(M.Comma)),this.state=132,this._errHandler.sync(this),n=this._interp.adaptivePredict(this._input,4,this._ctx);switch(this.state=135,this._errHandler.sync(this),this._input.LA(1)){case 4:case 6:case 38:case 40:case 51:case 54:case 55:case 58:this.state=133,this.varBlockStmt();break;case 37:case 41:case 42:case 43:this.state=134,this.blockExpression();break;default:throw new di(this)}}}catch(n){if(n instanceof Je)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}stmt(){let e=new ol(this,this._ctx,this.state);this.enterRule(e,6,M.RULE_stmt);let n;try{switch(this.state=144,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,7,this._ctx)){case 1:this.enterOuterAlt(e,1),this.state=137,this.simpleStmt(),this.state=139,this._errHandler.sync(this),n=this._input.LA(1),n===8&&(this.state=138,this.match(M.Comma)),this.state=141,this.match(M.NEWLINE);break;case 2:this.enterOuterAlt(e,2),this.state=143,this.expressionBlockSequence();break}}catch(r){if(r instanceof Je)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}simpleStmt(){let e=new al(this,this._ctx,this.state);this.enterRule(e,8,M.RULE_simpleStmt);try{switch(this.state=150,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,8,this._ctx)){case 1:this.enterOuterAlt(e,1),this.state=146,this.expressionSequence();break;case 2:this.enterOuterAlt(e,2),this.state=147,this.blockSequence();break;case 3:this.enterOuterAlt(e,3),this.state=148,this.brackethesized();break;case 4:this.enterOuterAlt(e,4),this.state=149,this.flowStmt();break}}catch(n){if(n instanceof Je)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}flowStmt(){let e=new mp(this,this._ctx,this.state);this.enterRule(e,10,M.RULE_flowStmt);let n;try{this.enterOuterAlt(e,1),this.state=152,n=this._input.LA(1),n===34||n===39?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this)}catch(r){if(r instanceof Je)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}block(){let e=new is(this,this._ctx,this.state);this.enterRule(e,12,M.RULE_block);let n;try{switch(this.state=161,this._errHandler.sync(this),this._input.LA(1)){case 4:case 6:case 12:case 13:case 31:case 32:case 33:case 34:case 38:case 39:case 40:case 46:case 51:case 54:case 55:case 56:case 57:case 58:this.enterOuterAlt(e,1),this.state=154,this.simpleStmt(),this.state=156,this._errHandler.sync(this),n=this._input.LA(1),n===8&&(this.state=155,this.match(M.Comma)),this.state=158,this.match(M.NEWLINE);break;case 61:this.enterOuterAlt(e,2),this.state=160,this.blockLine();break;default:throw new di(this)}}catch(r){if(r instanceof Je)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}blockLine(){let e=new mo(this,this._ctx,this.state);this.enterRule(e,14,M.RULE_blockLine);let n;try{this.enterOuterAlt(e,1);{this.state=163,this.match(M.NEWLINE),this.state=164,this.match(M.INDENT),this.state=166,this._errHandler.sync(this),n=this._input.LA(1);do this.state=165,this.stmt(),this.state=168,this._errHandler.sync(this),n=this._input.LA(1);while(!(n&-32)&&1<<n&2147496016||!(n-32&-32)&&1<<n-32&130568167);this.state=170,this.match(M.DEDENT)}}catch(r){if(r instanceof Je)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}variableDeclarationStmt(){let e=new ou(this,this._ctx,this.state);this.enterRule(e,16,M.RULE_variableDeclarationStmt);try{let n;this.enterOuterAlt(e,1);{switch(this.state=174,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,12,this._ctx)){case 1:this.state=172,this.methodStmt();break;case 2:this.state=173,this.variableDeclarationList();break}for(this.state=183,this._errHandler.sync(this),n=this._interp.adaptivePredict(this._input,14,this._ctx);n!==2&&n!==Or.INVALID_ALT_NUMBER;){if(n===1)switch(this.state=176,this.match(M.Comma),this.state=179,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,13,this._ctx)){case 1:this.state=177,this.methodStmt();break;case 2:this.state=178,this.variableDeclarationList();break}this.state=185,this._errHandler.sync(this),n=this._interp.adaptivePredict(this._input,14,this._ctx)}}}catch(n){if(n instanceof Je)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}variableDeclarationList(){let e=new Ni(this,this._ctx,this.state);this.enterRule(e,18,M.RULE_variableDeclarationList);try{switch(this.state=194,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,15,this._ctx)){case 1:e=new m_(this,e),this.enterOuterAlt(e,1),this.state=186,this.varArrayDeclaration(),this.state=187,this.match(M.Assign),this.state=188,this.singleExpression(0);break;case 2:e=new d_(this,e),this.enterOuterAlt(e,2),this.state=190,this.name(),this.state=191,this.assignmentOperator(),this.state=192,this.singleExpression(0);break}}catch(n){if(n instanceof Je)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}varModifier(){let e=new sl(this,this._ctx,this.state);this.enterRule(e,20,M.RULE_varModifier);let n;try{this.enterOuterAlt(e,1),this.state=196,n=this._input.LA(1),n===38||n===40?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this)}catch(r){if(r instanceof Je)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}blockSequence(){let e=new _p(this,this._ctx,this.state);this.enterRule(e,22,M.RULE_blockSequence);try{let n;this.enterOuterAlt(e,1);{switch(this.state=200,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,16,this._ctx)){case 1:this.state=198,this.singleExpression(0);break;case 2:this.state=199,this.variableDeclarationList();break}for(this.state=209,this._errHandler.sync(this),n=this._interp.adaptivePredict(this._input,18,this._ctx);n!==2&&n!==Or.INVALID_ALT_NUMBER;){if(n===1)switch(this.state=202,this.match(M.Comma),this.state=205,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,17,this._ctx)){case 1:this.state=203,this.singleExpression(0);break;case 2:this.state=204,this.variableDeclarationList();break}this.state=211,this._errHandler.sync(this),n=this._interp.adaptivePredict(this._input,18,this._ctx)}}}catch(n){if(n instanceof Je)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}expressionSequence(){let e=new ul(this,this._ctx,this.state);this.enterRule(e,24,M.RULE_expressionSequence);try{let n;for(this.enterOuterAlt(e,1),this.state=212,this.singleExpression(0),this.state=217,this._errHandler.sync(this),n=this._interp.adaptivePredict(this._input,19,this._ctx);n!==2&&n!==Or.INVALID_ALT_NUMBER;)n===1&&(this.state=213,this.match(M.Comma),this.state=214,this.singleExpression(0)),this.state=219,this._errHandler.sync(this),n=this._interp.adaptivePredict(this._input,19,this._ctx)}catch(n){if(n instanceof Je)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}expressionBlockSequence(){let e=new yp(this,this._ctx,this.state);this.enterRule(e,26,M.RULE_expressionBlockSequence);try{let n;this.enterOuterAlt(e,1);{for(this.state=228,this._errHandler.sync(this),n=this._interp.adaptivePredict(this._input,21,this._ctx);n!==2&&n!==Or.INVALID_ALT_NUMBER;){if(n===1){switch(this.state=222,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,20,this._ctx)){case 1:this.state=220,this.singleExpression(0);break;case 2:this.state=221,this.variableDeclarationList();break}this.state=224,this.match(M.Comma)}this.state=230,this._errHandler.sync(this),n=this._interp.adaptivePredict(this._input,21,this._ctx)}switch(this.state=233,this._errHandler.sync(this),this._input.LA(1)){case 4:case 6:case 38:case 40:case 51:case 54:case 55:case 58:this.state=231,this.varBlockStmt();break;case 37:case 41:case 42:case 43:this.state=232,this.blockExpression();break;default:throw new di(this)}}}catch(n){if(n instanceof Je)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}varBlockStmt(){let e=new cl(this,this._ctx,this.state);this.enterRule(e,28,M.RULE_varBlockStmt);try{this.enterOuterAlt(e,1);{switch(this.state=241,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,23,this._ctx)){case 1:this.state=235,this.varArrayDeclaration(),this.state=236,this.match(M.Assign);break;case 2:this.state=238,this.name(),this.state=239,this.assignmentOperator();break}this.state=243,this.blockExpression()}}catch(n){if(n instanceof Je)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}varArrayDeclaration(){let e=new os(this,this._ctx,this.state);this.enterRule(e,30,M.RULE_varArrayDeclaration);let n;try{switch(this.state=263,this._errHandler.sync(this),this._input.LA(1)){case 38:case 40:case 51:case 54:case 55:case 58:e=new y_(this,e),this.enterOuterAlt(e,1);{switch(this.state=246,this._errHandler.sync(this),n=this._input.LA(1),(n===38||n===40)&&(this.state=245,this.varModifier()),this.state=249,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,25,this._ctx)){case 1:this.state=248,this.typeGather();break}this.state=251,this.identifier()}break;case 4:e=new __(this,e),this.enterOuterAlt(e,2);{for(this.state=252,this.match(M.OpenBracket),this.state=253,this.identifier(),this.state=258,this._errHandler.sync(this),n=this._input.LA(1);n===8;)this.state=254,this.match(M.Comma),this.state=255,this.identifier(),this.state=260,this._errHandler.sync(this),n=this._input.LA(1);this.state=261,this.match(M.CloseBracket)}break;default:throw new di(this)}}catch(r){if(r instanceof Je)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}blockExpression(){let e=new au(this,this._ctx,this.state);this.enterRule(e,32,M.RULE_blockExpression);try{switch(this.state=269,this._errHandler.sync(this),this._input.LA(1)){case 43:this.enterOuterAlt(e,1),this.state=265,this.ifStatement();break;case 37:this.enterOuterAlt(e,2),this.state=266,this.forStatement();break;case 42:this.enterOuterAlt(e,3),this.state=267,this.whileStatement();break;case 41:this.enterOuterAlt(e,4),this.state=268,this.switchStatement();break;default:throw new di(this)}}catch(n){if(n instanceof Je)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}singleExpression(e){e===void 0&&(e=0);let n=this._ctx,r=this.state,s=new Ve(this,this._ctx,r),l=s,h=34;this.enterRecursionRule(s,34,M.RULE_singleExpression,e);let m;try{let v;this.enterOuterAlt(s,1);{switch(this.state=283,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,29,this._ctx)){case 1:s=new k_(this,s),this._ctx=s,l=s,this.state=272,this.methodStmt();break;case 2:s=new C_(this,s),this._ctx=s,l=s,this.state=273,m=this._input.LA(1),m===12||m===13?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this),this.state=274,this.singleExpression(12);break;case 3:s=new O_(this,s),this._ctx=s,l=s,this.state=275,this.match(M.Not),this.state=276,this.singleExpression(11);break;case 4:s=new T_(this,s),this._ctx=s,l=s,this.state=277,this.name();break;case 5:s=new A_(this,s),this._ctx=s,l=s,this.state=278,this.literal();break;case 6:s=new g_(this,s),this._ctx=s,l=s,this.state=279,this.match(M.OpenParen),this.state=280,this.singleExpression(0),this.state=281,this.match(M.CloseParen);break}for(this._ctx.stop=this._input.LT(-1),this.state=316,this._errHandler.sync(this),v=this._interp.adaptivePredict(this._input,31,this._ctx);v!==2&&v!==Or.INVALID_ALT_NUMBER;){if(v===1)switch(this._parseListeners!=null&&this.triggerExitRuleEvent(),l=s,this.state=314,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,30,this._ctx)){case 1:{if(s=new w_(this,new Ve(this,n,r)),this.pushNewRecursionContext(s,h,M.RULE_singleExpression),this.state=285,!this.precpred(this._ctx,10))throw this.createFailedPredicateException("this.precpred(this._ctx, 10)");this.state=286,m=this._input.LA(1),!(m&-32)&&1<<m&114688?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this),this.state=287,this.singleExpression(11)}break;case 2:{if(s=new b_(this,new Ve(this,n,r)),this.pushNewRecursionContext(s,h,M.RULE_singleExpression),this.state=288,!this.precpred(this._ctx,9))throw this.createFailedPredicateException("this.precpred(this._ctx, 9)");this.state=289,m=this._input.LA(1),m===12||m===13?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this),this.state=290,this.singleExpression(10)}break;case 3:{if(s=new v_(this,new Ve(this,n,r)),this.pushNewRecursionContext(s,h,M.RULE_singleExpression),this.state=291,!this.precpred(this._ctx,8))throw this.createFailedPredicateException("this.precpred(this._ctx, 8)");this.state=292,m=this._input.LA(1),!(m&-32)&&1<<m&3932160?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this),this.state=293,this.singleExpression(9)}break;case 4:{if(s=new R_(this,new Ve(this,n,r)),this.pushNewRecursionContext(s,h,M.RULE_singleExpression),this.state=294,!this.precpred(this._ctx,7))throw this.createFailedPredicateException("this.precpred(this._ctx, 7)");this.state=295,m=this._input.LA(1),m===22||m===23?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this),this.state=296,this.singleExpression(8)}break;case 5:{if(s=new S_(this,new Ve(this,n,r)),this.pushNewRecursionContext(s,h,M.RULE_singleExpression),this.state=297,!this.precpred(this._ctx,6))throw this.createFailedPredicateException("this.precpred(this._ctx, 6)");this.state=298,this.match(M.And),this.state=299,this.singleExpression(7)}break;case 6:{if(s=new x_(this,new Ve(this,n,r)),this.pushNewRecursionContext(s,h,M.RULE_singleExpression),this.state=300,!this.precpred(this._ctx,5))throw this.createFailedPredicateException("this.precpred(this._ctx, 5)");this.state=301,this.match(M.Or),this.state=302,this.singleExpression(6)}break;case 7:{if(s=new E_(this,new Ve(this,n,r)),this.pushNewRecursionContext(s,h,M.RULE_singleExpression),this.state=303,!this.precpred(this._ctx,4))throw this.createFailedPredicateException("this.precpred(this._ctx, 4)");this.state=304,this.match(M.QuestionMark),this.state=305,this.singleExpression(0),this.state=306,this.match(M.Colon),this.state=307,this.singleExpression(4)}break;case 8:{if(s=new D_(this,new Ve(this,n,r)),this.pushNewRecursionContext(s,h,M.RULE_singleExpression),this.state=309,!this.precpred(this._ctx,13))throw this.createFailedPredicateException("this.precpred(this._ctx, 13)");this.state=310,this.match(M.OpenBracket),this.state=311,this.singleExpression(0),this.state=312,this.match(M.CloseBracket)}break}this.state=318,this._errHandler.sync(this),v=this._interp.adaptivePredict(this._input,31,this._ctx)}}}catch(v){if(v instanceof Je)s.exception=v,this._errHandler.reportError(this,v),this._errHandler.recover(this,v);else throw v}finally{this.unrollRecursionContexts(n)}return s}brackethesized(){let e=new ll(this,this._ctx,this.state);this.enterRule(e,36,M.RULE_brackethesized);try{this.enterOuterAlt(e,1),this.state=319,this.match(M.OpenBracket),this.state=320,this.expressionSequence(),this.state=321,this.match(M.CloseBracket)}catch(n){if(n instanceof Je)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}arguments(){let e=new gp(this,this._ctx,this.state);this.enterRule(e,38,M.RULE_arguments);let n;try{let r;this.enterOuterAlt(e,1);{if(this.state=323,this.match(M.OpenParen),this.state=335,this._errHandler.sync(this),n=this._input.LA(1),!(n&-32)&&1<<n&2147496016||!(n-32&-32)&&1<<n-32&130564099){for(this.state=324,this.argument(),this.state=329,this._errHandler.sync(this),r=this._interp.adaptivePredict(this._input,32,this._ctx);r!==2&&r!==Or.INVALID_ALT_NUMBER;)r===1&&(this.state=325,this.match(M.Comma),this.state=326,this.argument()),this.state=331,this._errHandler.sync(this),r=this._interp.adaptivePredict(this._input,32,this._ctx);this.state=333,this._errHandler.sync(this),n=this._input.LA(1),n===8&&(this.state=332,this.match(M.Comma))}this.state=337,this.match(M.CloseParen)}}catch(r){if(r instanceof Je)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}argument(){let e=new fl(this,this._ctx,this.state);this.enterRule(e,40,M.RULE_argument);try{this.enterOuterAlt(e,1);{switch(this.state=342,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,35,this._ctx)){case 1:this.state=339,this.identifier(),this.state=340,this.match(M.Assign);break}switch(this.state=346,this._errHandler.sync(this),this._input.LA(1)){case 6:case 12:case 13:case 31:case 32:case 33:case 46:case 51:case 54:case 55:case 56:case 57:case 58:this.state=344,this.singleExpression(0);break;case 4:this.state=345,this.brackethesized();break;default:throw new di(this)}}}catch(n){if(n instanceof Je)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}ifStatement(){let e=new bp(this,this._ctx,this.state);this.enterRule(e,42,M.RULE_ifStatement);let n;try{let r;this.enterOuterAlt(e,1);{for(this.state=348,this.match(M.If),this.state=349,this.singleExpression(0),this.state=350,this.blockLine(),this.state=358,this._errHandler.sync(this),r=this._interp.adaptivePredict(this._input,37,this._ctx);r!==2&&r!==Or.INVALID_ALT_NUMBER;)r===1&&(this.state=351,this.match(M.Else),this.state=352,this.match(M.If),this.state=353,this.singleExpression(0),this.state=354,this.blockLine()),this.state=360,this._errHandler.sync(this),r=this._interp.adaptivePredict(this._input,37,this._ctx);this.state=363,this._errHandler.sync(this),n=this._input.LA(1),n===48&&(this.state=361,this.match(M.Else),this.state=362,this.blockLine())}}catch(r){if(r instanceof Je)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}forStatement(){let e=new su(this,this._ctx,this.state);this.enterRule(e,44,M.RULE_forStatement);let n;try{switch(this.state=397,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,43,this._ctx)){case 1:e=new N_(this,e),this.enterOuterAlt(e,1);{switch(this.state=365,this.match(M.For),this.state=367,this._errHandler.sync(this),n=this._input.LA(1),(n===38||n===40)&&(this.state=366,this.varModifier()),this.state=370,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,40,this._ctx)){case 1:this.state=369,this.typeGather();break}this.state=372,this.identifier(),this.state=373,this.match(M.Assign),this.state=374,this.singleExpression(0),this.state=375,this.match(M.To),this.state=376,this.singleExpression(0),this.state=379,this._errHandler.sync(this),n=this._input.LA(1),n===50&&(this.state=377,this.match(M.By),this.state=378,this.singleExpression(0)),this.state=381,this.blockLine()}break;case 2:e=new I_(this,e),this.enterOuterAlt(e,2);{switch(this.state=383,this.match(M.For),this.state=391,this._errHandler.sync(this),this._input.LA(1)){case 51:case 54:case 55:case 58:this.state=384,this.identifier();break;case 4:this.state=385,this.match(M.OpenBracket),this.state=386,this.identifier(),this.state=387,this.match(M.Comma),this.state=388,this.identifier(),this.state=389,this.match(M.CloseBracket);break;default:throw new di(this)}this.state=393,this.match(M.In),this.state=394,this.singleExpression(0),this.state=395,this.blockLine()}break}}catch(r){if(r instanceof Je)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}switchStatement(){let e=new vp(this,this._ctx,this.state);this.enterRule(e,46,M.RULE_switchStatement);let n;try{this.enterOuterAlt(e,1);{switch(this.state=399,this.match(M.Switch),this.state=401,this._errHandler.sync(this),n=this._input.LA(1),(!(n&-32)&&1<<n&2147496e3||!(n-32&-32)&&1<<n-32&130564099)&&(this.state=400,this.singleExpression(0)),this.state=403,this.match(M.NEWLINE),this.state=404,this.match(M.INDENT),this.state=417,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,47,this._ctx)){case 1:{this.state=406,this._errHandler.sync(this),n=this._input.LA(1);do this.state=405,this.caseClause(),this.state=408,this._errHandler.sync(this),n=this._input.LA(1);while(!(n&-32)&&1<<n&2147496e3||!(n-32&-32)&&1<<n-32&130564099)}break;case 2:{for(this.state=413,this._errHandler.sync(this),n=this._input.LA(1);!(n&-32)&&1<<n&2147496e3||!(n-32&-32)&&1<<n-32&130564099;)this.state=410,this.caseClause(),this.state=415,this._errHandler.sync(this),n=this._input.LA(1);this.state=416,this.defaultCaluse()}break}this.state=419,this.match(M.DEDENT)}}catch(r){if(r instanceof Je)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}caseClause(){let e=new hl(this,this._ctx,this.state);this.enterRule(e,48,M.RULE_caseClause);try{this.enterOuterAlt(e,1),this.state=421,this.singleExpression(0),this.state=422,this.match(M.ARROW),this.state=423,this.block()}catch(n){if(n instanceof Je)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}defaultCaluse(){let e=new Ep(this,this._ctx,this.state);this.enterRule(e,50,M.RULE_defaultCaluse);try{this.enterOuterAlt(e,1),this.state=425,this.match(M.ARROW),this.state=426,this.block()}catch(n){if(n instanceof Je)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}whileStatement(){let e=new Sp(this,this._ctx,this.state);this.enterRule(e,52,M.RULE_whileStatement);try{this.enterOuterAlt(e,1),this.state=428,this.match(M.While),this.state=429,this.singleExpression(0),this.state=430,this.blockLine()}catch(n){if(n instanceof Je)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}importStmt(){let e=new Tp(this,this._ctx,this.state);this.enterRule(e,54,M.RULE_importStmt);let n;try{let r;this.enterOuterAlt(e,1);{for(this.state=432,this.importElement(),this.state=437,this._errHandler.sync(this),r=this._interp.adaptivePredict(this._input,48,this._ctx);r!==2&&r!==Or.INVALID_ALT_NUMBER;)r===1&&(this.state=433,this.match(M.Comma),this.state=434,this.importElement()),this.state=439,this._errHandler.sync(this),r=this._interp.adaptivePredict(this._input,48,this._ctx);this.state=441,this._errHandler.sync(this),n=this._input.LA(1),n===8&&(this.state=440,this.match(M.Comma)),this.state=443,this.match(M.NEWLINE)}}catch(r){if(r instanceof Je)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}importElement(){let e=new pl(this,this._ctx,this.state);this.enterRule(e,56,M.RULE_importElement);let n;try{this.enterOuterAlt(e,1),this.state=445,this.match(M.Import),this.state=446,this.identifier(),this.state=447,this.match(M.Divide),this.state=448,this.identifier(),this.state=449,this.match(M.Divide),this.state=450,this.match(M.IntegerLiteral),this.state=453,this._errHandler.sync(this),n=this._input.LA(1),n===53&&(this.state=451,this.match(M.As),this.state=452,this.identifier())}catch(r){if(r instanceof Je)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}literal(){let e=new Ap(this,this._ctx,this.state);this.enterRule(e,58,M.RULE_literal);let n;try{this.enterOuterAlt(e,1),this.state=455,n=this._input.LA(1),!(n-31&-32)&&1<<n-31&100663303?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this)}catch(r){if(r instanceof Je)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}methodStmt(){let e=new uu(this,this._ctx,this.state);this.enterRule(e,60,M.RULE_methodStmt);try{let n;for(this.enterOuterAlt(e,1),this.state=457,this.methodElement(),this.state=462,this._errHandler.sync(this),n=this._interp.adaptivePredict(this._input,51,this._ctx);n!==2&&n!==Or.INVALID_ALT_NUMBER;)n===1&&(this.state=458,this.match(M.Point),this.state=459,this.methodElement()),this.state=464,this._errHandler.sync(this),n=this._interp.adaptivePredict(this._input,51,this._ctx)}catch(n){if(n instanceof Je)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}methodElement(){let e=new as(this,this._ctx,this.state);this.enterRule(e,62,M.RULE_methodElement);try{this.enterOuterAlt(e,1),this.state=465,this.methodName(),this.state=466,this.arguments()}catch(n){if(n instanceof Je)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}methodName(){let e=new xp(this,this._ctx,this.state);this.enterRule(e,64,M.RULE_methodName);let n;try{let r;this.enterOuterAlt(e,1);{switch(this.state=481,this._errHandler.sync(this),this._input.LA(1)){case 51:case 54:case 55:case 58:for(this.state=473,this._errHandler.sync(this),r=this._interp.adaptivePredict(this._input,52,this._ctx);r!==2&&r!==Or.INVALID_ALT_NUMBER;)r===1&&(this.state=468,this.identifier(),this.state=469,this.match(M.Point)),this.state=475,this._errHandler.sync(this),r=this._interp.adaptivePredict(this._input,52,this._ctx);break;case 6:this.state=476,this.match(M.OpenParen),this.state=477,this.singleExpression(0),this.state=478,this.match(M.CloseParen),this.state=479,this.match(M.Point);break;default:throw new di(this)}this.state=483,this.identifier(),this.state=492,this._errHandler.sync(this),n=this._input.LA(1),n===18&&(this.state=484,this.match(M.LessThan),this.state=485,this.typeName(),this.state=488,this._errHandler.sync(this),n=this._input.LA(1),n===8&&(this.state=486,this.match(M.Comma),this.state=487,this.typeName()),this.state=490,this.match(M.MoreThan))}}catch(r){if(r instanceof Je)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}arrowFunction(){let e=new Cp(this,this._ctx,this.state);this.enterRule(e,66,M.RULE_arrowFunction);let n;try{this.enterOuterAlt(e,1),this.state=495,this._errHandler.sync(this),n=this._input.LA(1),n===36&&(this.state=494,this.match(M.Export)),this.state=497,this.identifier(),this.state=498,this.arrowFunctionParameters(),this.state=499,this.match(M.ARROW),this.state=500,this.block()}catch(r){if(r instanceof Je)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}arrowFunctionParameters(){let e=new Op(this,this._ctx,this.state);this.enterRule(e,68,M.RULE_arrowFunctionParameters);let n;try{this.enterOuterAlt(e,1),this.state=502,this.match(M.OpenParen),this.state=504,this._errHandler.sync(this),n=this._input.LA(1),!(n-51&-32)&&1<<n-51&153&&(this.state=503,this.formalParameterList()),this.state=506,this.match(M.CloseParen)}catch(r){if(r instanceof Je)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}formalParameterList(){let e=new dl(this,this._ctx,this.state);this.enterRule(e,70,M.RULE_formalParameterList);let n;try{for(this.enterOuterAlt(e,1),this.state=508,this.formalParameterArg(),this.state=513,this._errHandler.sync(this),n=this._input.LA(1);n===8;)this.state=509,this.match(M.Comma),this.state=510,this.formalParameterArg(),this.state=515,this._errHandler.sync(this),n=this._input.LA(1)}catch(r){if(r instanceof Je)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}formalParameterArg(){let e=new ml(this,this._ctx,this.state);this.enterRule(e,72,M.RULE_formalParameterArg);let n;try{this.enterOuterAlt(e,1);{switch(this.state=517,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,59,this._ctx)){case 1:this.state=516,this.typeGather();break}this.state=519,this.identifier(),this.state=522,this._errHandler.sync(this),n=this._input.LA(1),n===9&&(this.state=520,this.match(M.Assign),this.state=521,this.singleExpression(0))}}catch(r){if(r instanceof Je)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}arrowMethod(){let e=new Dp(this,this._ctx,this.state);this.enterRule(e,74,M.RULE_arrowMethod);let n;try{this.enterOuterAlt(e,1),this.state=525,this._errHandler.sync(this),n=this._input.LA(1),n===36&&(this.state=524,this.match(M.Export)),this.state=527,this.match(M.Method),this.state=528,this.identifier(),this.state=529,this.arrowMethodParameters(),this.state=530,this.match(M.ARROW),this.state=531,this.block()}catch(r){if(r instanceof Je)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}arrowMethodParameters(){let e=new kp(this,this._ctx,this.state);this.enterRule(e,76,M.RULE_arrowMethodParameters);let n;try{this.enterOuterAlt(e,1),this.state=533,this.match(M.OpenParen),this.state=534,this.typeGather(),this.state=535,this.identifier(),this.state=538,this._errHandler.sync(this),n=this._input.LA(1),n===9&&(this.state=536,this.match(M.Assign),this.state=537,this.singleExpression(0)),this.state=542,this._errHandler.sync(this),n=this._input.LA(1),n===8&&(this.state=540,this.match(M.Comma),this.state=541,this.formalParameterList()),this.state=544,this.match(M.CloseParen)}catch(r){if(r instanceof Je)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}typeStatement(){let e=new Rp(this,this._ctx,this.state);this.enterRule(e,78,M.RULE_typeStatement);let n;try{this.enterOuterAlt(e,1);{this.state=547,this._errHandler.sync(this),n=this._input.LA(1),n===36&&(this.state=546,this.match(M.Export)),this.state=549,this.match(M.Type),this.state=550,this.identifier(),this.state=551,this.match(M.NEWLINE),this.state=552,this.match(M.INDENT),this.state=554,this._errHandler.sync(this),n=this._input.LA(1);do this.state=553,this.typeElement(),this.state=556,this._errHandler.sync(this),n=this._input.LA(1);while(!(n-40&-32)&&1<<n-40&313345);this.state=558,this.match(M.DEDENT)}}catch(r){if(r instanceof Je)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}typeElement(){let e=new _l(this,this._ctx,this.state);this.enterRule(e,80,M.RULE_typeElement);let n;try{this.enterOuterAlt(e,1);{switch(this.state=561,this._errHandler.sync(this),n=this._input.LA(1),n===40&&(this.state=560,this.match(M.Varip)),this.state=564,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,67,this._ctx)){case 1:this.state=563,this.typeGather();break}this.state=566,this.identifier(),this.state=569,this._errHandler.sync(this),n=this._input.LA(1),n===9&&(this.state=567,this.match(M.Assign),this.state=568,this.singleExpression(0)),this.state=571,this.match(M.NEWLINE)}}catch(r){if(r instanceof Je)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}assignmentOperator(){let e=new yl(this,this._ctx,this.state);this.enterRule(e,82,M.RULE_assignmentOperator);let n;try{this.enterOuterAlt(e,1),this.state=573,n=this._input.LA(1),!(n&-32)&&1<<n&1593835520?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this)}catch(r){if(r instanceof Je)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}typeMap(){let e=new gl(this,this._ctx,this.state);this.enterRule(e,84,M.RULE_typeMap);try{this.enterOuterAlt(e,1),this.state=575,this.match(M.Map),this.state=576,this.match(M.LessThan),this.state=577,this.typeName(),this.state=578,this.match(M.Comma),this.state=579,this.typeName(),this.state=580,this.match(M.MoreThan)}catch(n){if(n instanceof Je)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}typeSeries(){let e=new wp(this,this._ctx,this.state);this.enterRule(e,86,M.RULE_typeSeries);try{switch(this.enterOuterAlt(e,1),this.state=582,this.typeName(),this.state=586,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,69,this._ctx)){case 1:this.state=583,this.typeName();break;case 2:this.state=584,this.typeArray();break;case 3:this.state=585,this.typeMap();break}}catch(n){if(n instanceof Je)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}typeArray(){let e=new bl(this,this._ctx,this.state);this.enterRule(e,88,M.RULE_typeArray);try{switch(this.state=597,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,70,this._ctx)){case 1:this.enterOuterAlt(e,1),this.state=588,this.typeName(),this.state=589,this.match(M.LessThan),this.state=590,this.typeName(),this.state=591,this.match(M.MoreThan);break;case 2:this.enterOuterAlt(e,2),this.state=593,this.typeName(),this.state=594,this.match(M.OpenBracket),this.state=595,this.match(M.CloseBracket);break}}catch(n){if(n instanceof Je)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}typeGather(){let e=new $o(this,this._ctx,this.state);this.enterRule(e,90,M.RULE_typeGather);try{switch(this.state=603,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,71,this._ctx)){case 1:this.enterOuterAlt(e,1),this.state=599,this.typeName();break;case 2:this.enterOuterAlt(e,2),this.state=600,this.typeArray();break;case 3:this.enterOuterAlt(e,3),this.state=601,this.typeMap();break;case 4:this.enterOuterAlt(e,4),this.state=602,this.typeSeries();break}}catch(n){if(n instanceof Je)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}identifier(){let e=new yn(this,this._ctx,this.state);this.enterRule(e,92,M.RULE_identifier);let n;try{this.enterOuterAlt(e,1),this.state=605,n=this._input.LA(1),!(n-51&-32)&&1<<n-51&153?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this)}catch(r){if(r instanceof Je)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}typeName(){let e=new mi(this,this._ctx,this.state);this.enterRule(e,94,M.RULE_typeName);let n;try{this.enterOuterAlt(e,1),this.state=607,this.identifier(),this.state=610,this._errHandler.sync(this),n=this._input.LA(1),n===3&&(this.state=608,this.match(M.Point),this.state=609,this.identifier())}catch(r){if(r instanceof Je)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}name(){let e=new cu(this,this._ctx,this.state);this.enterRule(e,96,M.RULE_name);try{let n;switch(this.state=633,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,76,this._ctx)){case 1:this.enterOuterAlt(e,1);{for(this.state=620,this._errHandler.sync(this),n=this._interp.adaptivePredict(this._input,74,this._ctx);n!==2&&n!==Or.INVALID_ALT_NUMBER;){if(n===1){switch(this.state=614,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,73,this._ctx)){case 1:this.state=612,this.identifier();break;case 2:this.state=613,this.methodElement();break}this.state=616,this.match(M.Point)}this.state=622,this._errHandler.sync(this),n=this._interp.adaptivePredict(this._input,74,this._ctx)}this.state=623,this.identifier()}break;case 2:this.enterOuterAlt(e,2);{this.state=624,this.match(M.OpenParen),this.state=625,this.singleExpression(0),this.state=626,this.match(M.CloseParen),this.state=629,this._errHandler.sync(this),n=1;do{switch(n){case 1:this.state=627,this.match(M.Point),this.state=628,this.identifier();break;default:throw new di(this)}this.state=631,this._errHandler.sync(this),n=this._interp.adaptivePredict(this._input,75,this._ctx)}while(n!==2&&n!==Or.INVALID_ALT_NUMBER)}break}}catch(n){if(n instanceof Je)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}enumStatement(){let e=new Np(this,this._ctx,this.state);this.enterRule(e,98,M.RULE_enumStatement);let n;try{this.enterOuterAlt(e,1);{this.state=636,this._errHandler.sync(this),n=this._input.LA(1),n===36&&(this.state=635,this.match(M.Export)),this.state=638,this.match(M.Enum),this.state=639,this.identifier(),this.state=640,this.match(M.NEWLINE),this.state=641,this.match(M.INDENT),this.state=643,this._errHandler.sync(this),n=this._input.LA(1);do this.state=642,this.enumElement(),this.state=645,this._errHandler.sync(this),n=this._input.LA(1);while(!(n-51&-32)&&1<<n-51&153);this.state=647,this.match(M.DEDENT)}}catch(r){if(r instanceof Je)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}enumElement(){let e=new vl(this,this._ctx,this.state);this.enterRule(e,100,M.RULE_enumElement);let n;try{this.enterOuterAlt(e,1),this.state=649,this.identifier(),this.state=652,this._errHandler.sync(this),n=this._input.LA(1),n===9&&(this.state=650,this.match(M.Assign),this.state=651,this.match(M.StringLiteral)),this.state=654,this.match(M.NEWLINE)}catch(r){if(r instanceof Je)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}sempred(e,n,r){switch(n){case 17:return this.singleExpression_sempred(e,r)}return!0}singleExpression_sempred(e,n){switch(n){case 0:return this.precpred(this._ctx,10);case 1:return this.precpred(this._ctx,9);case 2:return this.precpred(this._ctx,8);case 3:return this.precpred(this._ctx,7);case 4:return this.precpred(this._ctx,6);case 5:return this.precpred(this._ctx,5);case 6:return this.precpred(this._ctx,4);case 7:return this.precpred(this._ctx,13)}return!0}static get _ATN(){return M.__ATN||(M.__ATN=new lp().deserialize(M._serializedATN)),M.__ATN}};k(M,"INDENT",1),k(M,"DEDENT",2),k(M,"Point",3),k(M,"OpenBracket",4),k(M,"CloseBracket",5),k(M,"OpenParen",6),k(M,"CloseParen",7),k(M,"Comma",8),k(M,"Assign",9),k(M,"QuestionMark",10),k(M,"Colon",11),k(M,"Plus",12),k(M,"Minus",13),k(M,"Multiply",14),k(M,"Divide",15),k(M,"Modulus",16),k(M,"Hashtag",17),k(M,"LessThan",18),k(M,"MoreThan",19),k(M,"LessThanEquals",20),k(M,"GreaterThanEquals",21),k(M,"Equals_",22),k(M,"NotEquals",23),k(M,"MultiplyAssign",24),k(M,"DivideAssign",25),k(M,"ModulusAssign",26),k(M,"PlusAssign",27),k(M,"MinusAssign",28),k(M,"ARROW",29),k(M,"ColonEquals",30),k(M,"BooleanLiteral",31),k(M,"IntegerLiteral",32),k(M,"DecimalLiteral",33),k(M,"Break",34),k(M,"And",35),k(M,"Export",36),k(M,"For",37),k(M,"Var",38),k(M,"Continue",39),k(M,"Varip",40),k(M,"Switch",41),k(M,"While",42),k(M,"If",43),k(M,"In",44),k(M,"Or",45),k(M,"Not",46),k(M,"Method",47),k(M,"Else",48),k(M,"To",49),k(M,"By",50),k(M,"Type",51),k(M,"Import",52),k(M,"As",53),k(M,"Enum",54),k(M,"Map",55),k(M,"ColorLiteral",56),k(M,"StringLiteral",57),k(M,"Identifier",58),k(M,"HIDDEN_",59),k(M,"COMMENT_",60),k(M,"NEWLINE",61),k(M,"EOF",pp.EOF),k(M,"RULE_program",0),k(M,"RULE_globalStmt",1),k(M,"RULE_blockStmt",2),k(M,"RULE_stmt",3),k(M,"RULE_simpleStmt",4),k(M,"RULE_flowStmt",5),k(M,"RULE_block",6),k(M,"RULE_blockLine",7),k(M,"RULE_variableDeclarationStmt",8),k(M,"RULE_variableDeclarationList",9),k(M,"RULE_varModifier",10),k(M,"RULE_blockSequence",11),k(M,"RULE_expressionSequence",12),k(M,"RULE_expressionBlockSequence",13),k(M,"RULE_varBlockStmt",14),k(M,"RULE_varArrayDeclaration",15),k(M,"RULE_blockExpression",16),k(M,"RULE_singleExpression",17),k(M,"RULE_brackethesized",18),k(M,"RULE_arguments",19),k(M,"RULE_argument",20),k(M,"RULE_ifStatement",21),k(M,"RULE_forStatement",22),k(M,"RULE_switchStatement",23),k(M,"RULE_caseClause",24),k(M,"RULE_defaultCaluse",25),k(M,"RULE_whileStatement",26),k(M,"RULE_importStmt",27),k(M,"RULE_importElement",28),k(M,"RULE_literal",29),k(M,"RULE_methodStmt",30),k(M,"RULE_methodElement",31),k(M,"RULE_methodName",32),k(M,"RULE_arrowFunction",33),k(M,"RULE_arrowFunctionParameters",34),k(M,"RULE_formalParameterList",35),k(M,"RULE_formalParameterArg",36),k(M,"RULE_arrowMethod",37),k(M,"RULE_arrowMethodParameters",38),k(M,"RULE_typeStatement",39),k(M,"RULE_typeElement",40),k(M,"RULE_assignmentOperator",41),k(M,"RULE_typeMap",42),k(M,"RULE_typeSeries",43),k(M,"RULE_typeArray",44),k(M,"RULE_typeGather",45),k(M,"RULE_identifier",46),k(M,"RULE_typeName",47),k(M,"RULE_name",48),k(M,"RULE_enumStatement",49),k(M,"RULE_enumElement",50),k(M,"literalNames",[null,null,null,"'.'","'['","']'","'('","')'","','","'='","'?'","':'","'+'","'-'","'*'","'/'","'%'","'#'","'<'","'>'","'<='","'>='","'=='","'!='","'*='","'/='","'%='","'+='","'-='","'=>'","':='",null,null,null,"'break'","'and'","'export'","'for'","'var'","'continue'","'varip'","'switch'","'while'","'if'","'in'","'or'","'not'","'method'","'else'","'to'","'by'","'type'","'import'","'as'","'enum'","'map'"]),k(M,"symbolicNames",[null,"INDENT","DEDENT","Point","OpenBracket","CloseBracket","OpenParen","CloseParen","Comma","Assign","QuestionMark","Colon","Plus","Minus","Multiply","Divide","Modulus","Hashtag","LessThan","MoreThan","LessThanEquals","GreaterThanEquals","Equals_","NotEquals","MultiplyAssign","DivideAssign","ModulusAssign","PlusAssign","MinusAssign","ARROW","ColonEquals","BooleanLiteral","IntegerLiteral","DecimalLiteral","Break","And","Export","For","Var","Continue","Varip","Switch","While","If","In","Or","Not","Method","Else","To","By","Type","Import","As","Enum","Map","ColorLiteral","StringLiteral","Identifier","HIDDEN_","COMMENT_","NEWLINE"]),k(M,"ruleNames",["program","globalStmt","blockStmt","stmt","simpleStmt","flowStmt","block","blockLine","variableDeclarationStmt","variableDeclarationList","varModifier","blockSequence","expressionSequence","expressionBlockSequence","varBlockStmt","varArrayDeclaration","blockExpression","singleExpression","brackethesized","arguments","argument","ifStatement","forStatement","switchStatement","caseClause","defaultCaluse","whileStatement","importStmt","importElement","literal","methodStmt","methodElement","methodName","arrowFunction","arrowFunctionParameters","formalParameterList","formalParameterArg","arrowMethod","arrowMethodParameters","typeStatement","typeElement","assignmentOperator","typeMap","typeSeries","typeArray","typeGather","identifier","typeName","name","enumStatement","enumElement"]),k(M,"_serializedATN",[4,1,61,657,2,0,7,0,2,1,7,1,2,2,7,2,2,3,7,3,2,4,7,4,2,5,7,5,2,6,7,6,2,7,7,7,2,8,7,8,2,9,7,9,2,10,7,10,2,11,7,11,2,12,7,12,2,13,7,13,2,14,7,14,2,15,7,15,2,16,7,16,2,17,7,17,2,18,7,18,2,19,7,19,2,20,7,20,2,21,7,21,2,22,7,22,2,23,7,23,2,24,7,24,2,25,7,25,2,26,7,26,2,27,7,27,2,28,7,28,2,29,7,29,2,30,7,30,2,31,7,31,2,32,7,32,2,33,7,33,2,34,7,34,2,35,7,35,2,36,7,36,2,37,7,37,2,38,7,38,2,39,7,39,2,40,7,40,2,41,7,41,2,42,7,42,2,43,7,43,2,44,7,44,2,45,7,45,2,46,7,46,2,47,7,47,2,48,7,48,2,49,7,49,2,50,7,50,1,0,1,0,5,0,105,8,0,10,0,12,0,108,9,0,1,0,1,0,1,1,1,1,3,1,114,8,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,3,1,124,8,1,1,2,1,2,1,2,5,2,129,8,2,10,2,12,2,132,9,2,1,2,1,2,3,2,136,8,2,1,3,1,3,3,3,140,8,3,1,3,1,3,1,3,3,3,145,8,3,1,4,1,4,1,4,1,4,3,4,151,8,4,1,5,1,5,1,6,1,6,3,6,157,8,6,1,6,1,6,1,6,3,6,162,8,6,1,7,1,7,1,7,4,7,167,8,7,11,7,12,7,168,1,7,1,7,1,8,1,8,3,8,175,8,8,1,8,1,8,1,8,3,8,180,8,8,5,8,182,8,8,10,8,12,8,185,9,8,1,9,1,9,1,9,1,9,1,9,1,9,1,9,1,9,3,9,195,8,9,1,10,1,10,1,11,1,11,3,11,201,8,11,1,11,1,11,1,11,3,11,206,8,11,5,11,208,8,11,10,11,12,11,211,9,11,1,12,1,12,1,12,5,12,216,8,12,10,12,12,12,219,9,12,1,13,1,13,3,13,223,8,13,1,13,1,13,5,13,227,8,13,10,13,12,13,230,9,13,1,13,1,13,3,13,234,8,13,1,14,1,14,1,14,1,14,1,14,1,14,3,14,242,8,14,1,14,1,14,1,15,3,15,247,8,15,1,15,3,15,250,8,15,1,15,1,15,1,15,1,15,1,15,5,15,257,8,15,10,15,12,15,260,9,15,1,15,1,15,3,15,264,8,15,1,16,1,16,1,16,1,16,3,16,270,8,16,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,3,17,284,8,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,5,17,315,8,17,10,17,12,17,318,9,17,1,18,1,18,1,18,1,18,1,19,1,19,1,19,1,19,5,19,328,8,19,10,19,12,19,331,9,19,1,19,3,19,334,8,19,3,19,336,8,19,1,19,1,19,1,20,1,20,1,20,3,20,343,8,20,1,20,1,20,3,20,347,8,20,1,21,1,21,1,21,1,21,1,21,1,21,1,21,1,21,5,21,357,8,21,10,21,12,21,360,9,21,1,21,1,21,3,21,364,8,21,1,22,1,22,3,22,368,8,22,1,22,3,22,371,8,22,1,22,1,22,1,22,1,22,1,22,1,22,1,22,3,22,380,8,22,1,22,1,22,1,22,1,22,1,22,1,22,1,22,1,22,1,22,1,22,3,22,392,8,22,1,22,1,22,1,22,1,22,3,22,398,8,22,1,23,1,23,3,23,402,8,23,1,23,1,23,1,23,4,23,407,8,23,11,23,12,23,408,1,23,5,23,412,8,23,10,23,12,23,415,9,23,1,23,3,23,418,8,23,1,23,1,23,1,24,1,24,1,24,1,24,1,25,1,25,1,25,1,26,1,26,1,26,1,26,1,27,1,27,1,27,5,27,436,8,27,10,27,12,27,439,9,27,1,27,3,27,442,8,27,1,27,1,27,1,28,1,28,1,28,1,28,1,28,1,28,1,28,1,28,3,28,454,8,28,1,29,1,29,1,30,1,30,1,30,5,30,461,8,30,10,30,12,30,464,9,30,1,31,1,31,1,31,1,32,1,32,1,32,5,32,472,8,32,10,32,12,32,475,9,32,1,32,1,32,1,32,1,32,1,32,3,32,482,8,32,1,32,1,32,1,32,1,32,1,32,3,32,489,8,32,1,32,1,32,3,32,493,8,32,1,33,3,33,496,8,33,1,33,1,33,1,33,1,33,1,33,1,34,1,34,3,34,505,8,34,1,34,1,34,1,35,1,35,1,35,5,35,512,8,35,10,35,12,35,515,9,35,1,36,3,36,518,8,36,1,36,1,36,1,36,3,36,523,8,36,1,37,3,37,526,8,37,1,37,1,37,1,37,1,37,1,37,1,37,1,38,1,38,1,38,1,38,1,38,3,38,539,8,38,1,38,1,38,3,38,543,8,38,1,38,1,38,1,39,3,39,548,8,39,1,39,1,39,1,39,1,39,1,39,4,39,555,8,39,11,39,12,39,556,1,39,1,39,1,40,3,40,562,8,40,1,40,3,40,565,8,40,1,40,1,40,1,40,3,40,570,8,40,1,40,1,40,1,41,1,41,1,42,1,42,1,42,1,42,1,42,1,42,1,42,1,43,1,43,1,43,1,43,3,43,587,8,43,1,44,1,44,1,44,1,44,1,44,1,44,1,44,1,44,1,44,3,44,598,8,44,1,45,1,45,1,45,1,45,3,45,604,8,45,1,46,1,46,1,47,1,47,1,47,3,47,611,8,47,1,48,1,48,3,48,615,8,48,1,48,1,48,5,48,619,8,48,10,48,12,48,622,9,48,1,48,1,48,1,48,1,48,1,48,1,48,4,48,630,8,48,11,48,12,48,631,3,48,634,8,48,1,49,3,49,637,8,49,1,49,1,49,1,49,1,49,1,49,4,49,644,8,49,11,49,12,49,645,1,49,1,49,1,50,1,50,1,50,3,50,653,8,50,1,50,1,50,1,50,0,1,34,51,0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,54,56,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,0,9,2,0,34,34,39,39,2,0,38,38,40,40,1,0,12,13,1,0,14,16,1,0,18,21,1,0,22,23,2,0,31,33,56,57,2,0,24,28,30,30,3,0,51,51,54,55,58,58,707,0,106,1,0,0,0,2,123,1,0,0,0,4,130,1,0,0,0,6,144,1,0,0,0,8,150,1,0,0,0,10,152,1,0,0,0,12,161,1,0,0,0,14,163,1,0,0,0,16,174,1,0,0,0,18,194,1,0,0,0,20,196,1,0,0,0,22,200,1,0,0,0,24,212,1,0,0,0,26,228,1,0,0,0,28,241,1,0,0,0,30,263,1,0,0,0,32,269,1,0,0,0,34,283,1,0,0,0,36,319,1,0,0,0,38,323,1,0,0,0,40,342,1,0,0,0,42,348,1,0,0,0,44,397,1,0,0,0,46,399,1,0,0,0,48,421,1,0,0,0,50,425,1,0,0,0,52,428,1,0,0,0,54,432,1,0,0,0,56,445,1,0,0,0,58,455,1,0,0,0,60,457,1,0,0,0,62,465,1,0,0,0,64,481,1,0,0,0,66,495,1,0,0,0,68,502,1,0,0,0,70,508,1,0,0,0,72,517,1,0,0,0,74,525,1,0,0,0,76,533,1,0,0,0,78,547,1,0,0,0,80,561,1,0,0,0,82,573,1,0,0,0,84,575,1,0,0,0,86,582,1,0,0,0,88,597,1,0,0,0,90,603,1,0,0,0,92,605,1,0,0,0,94,607,1,0,0,0,96,633,1,0,0,0,98,636,1,0,0,0,100,649,1,0,0,0,102,105,5,61,0,0,103,105,3,2,1,0,104,102,1,0,0,0,104,103,1,0,0,0,105,108,1,0,0,0,106,104,1,0,0,0,106,107,1,0,0,0,107,109,1,0,0,0,108,106,1,0,0,0,109,110,5,0,0,1,110,1,1,0,0,0,111,113,3,16,8,0,112,114,5,8,0,0,113,112,1,0,0,0,113,114,1,0,0,0,114,115,1,0,0,0,115,116,5,61,0,0,116,124,1,0,0,0,117,124,3,4,2,0,118,124,3,54,27,0,119,124,3,66,33,0,120,124,3,74,37,0,121,124,3,78,39,0,122,124,3,98,49,0,123,111,1,0,0,0,123,117,1,0,0,0,123,118,1,0,0,0,123,119,1,0,0,0,123,120,1,0,0,0,123,121,1,0,0,0,123,122,1,0,0,0,124,3,1,0,0,0,125,126,3,16,8,0,126,127,5,8,0,0,127,129,1,0,0,0,128,125,1,0,0,0,129,132,1,0,0,0,130,128,1,0,0,0,130,131,1,0,0,0,131,135,1,0,0,0,132,130,1,0,0,0,133,136,3,28,14,0,134,136,3,32,16,0,135,133,1,0,0,0,135,134,1,0,0,0,136,5,1,0,0,0,137,139,3,8,4,0,138,140,5,8,0,0,139,138,1,0,0,0,139,140,1,0,0,0,140,141,1,0,0,0,141,142,5,61,0,0,142,145,1,0,0,0,143,145,3,26,13,0,144,137,1,0,0,0,144,143,1,0,0,0,145,7,1,0,0,0,146,151,3,24,12,0,147,151,3,22,11,0,148,151,3,36,18,0,149,151,3,10,5,0,150,146,1,0,0,0,150,147,1,0,0,0,150,148,1,0,0,0,150,149,1,0,0,0,151,9,1,0,0,0,152,153,7,0,0,0,153,11,1,0,0,0,154,156,3,8,4,0,155,157,5,8,0,0,156,155,1,0,0,0,156,157,1,0,0,0,157,158,1,0,0,0,158,159,5,61,0,0,159,162,1,0,0,0,160,162,3,14,7,0,161,154,1,0,0,0,161,160,1,0,0,0,162,13,1,0,0,0,163,164,5,61,0,0,164,166,5,1,0,0,165,167,3,6,3,0,166,165,1,0,0,0,167,168,1,0,0,0,168,166,1,0,0,0,168,169,1,0,0,0,169,170,1,0,0,0,170,171,5,2,0,0,171,15,1,0,0,0,172,175,3,60,30,0,173,175,3,18,9,0,174,172,1,0,0,0,174,173,1,0,0,0,175,183,1,0,0,0,176,179,5,8,0,0,177,180,3,60,30,0,178,180,3,18,9,0,179,177,1,0,0,0,179,178,1,0,0,0,180,182,1,0,0,0,181,176,1,0,0,0,182,185,1,0,0,0,183,181,1,0,0,0,183,184,1,0,0,0,184,17,1,0,0,0,185,183,1,0,0,0,186,187,3,30,15,0,187,188,5,9,0,0,188,189,3,34,17,0,189,195,1,0,0,0,190,191,3,96,48,0,191,192,3,82,41,0,192,193,3,34,17,0,193,195,1,0,0,0,194,186,1,0,0,0,194,190,1,0,0,0,195,19,1,0,0,0,196,197,7,1,0,0,197,21,1,0,0,0,198,201,3,34,17,0,199,201,3,18,9,0,200,198,1,0,0,0,200,199,1,0,0,0,201,209,1,0,0,0,202,205,5,8,0,0,203,206,3,34,17,0,204,206,3,18,9,0,205,203,1,0,0,0,205,204,1,0,0,0,206,208,1,0,0,0,207,202,1,0,0,0,208,211,1,0,0,0,209,207,1,0,0,0,209,210,1,0,0,0,210,23,1,0,0,0,211,209,1,0,0,0,212,217,3,34,17,0,213,214,5,8,0,0,214,216,3,34,17,0,215,213,1,0,0,0,216,219,1,0,0,0,217,215,1,0,0,0,217,218,1,0,0,0,218,25,1,0,0,0,219,217,1,0,0,0,220,223,3,34,17,0,221,223,3,18,9,0,222,220,1,0,0,0,222,221,1,0,0,0,223,224,1,0,0,0,224,225,5,8,0,0,225,227,1,0,0,0,226,222,1,0,0,0,227,230,1,0,0,0,228,226,1,0,0,0,228,229,1,0,0,0,229,233,1,0,0,0,230,228,1,0,0,0,231,234,3,28,14,0,232,234,3,32,16,0,233,231,1,0,0,0,233,232,1,0,0,0,234,27,1,0,0,0,235,236,3,30,15,0,236,237,5,9,0,0,237,242,1,0,0,0,238,239,3,96,48,0,239,240,3,82,41,0,240,242,1,0,0,0,241,235,1,0,0,0,241,238,1,0,0,0,242,243,1,0,0,0,243,244,3,32,16,0,244,29,1,0,0,0,245,247,3,20,10,0,246,245,1,0,0,0,246,247,1,0,0,0,247,249,1,0,0,0,248,250,3,90,45,0,249,248,1,0,0,0,249,250,1,0,0,0,250,251,1,0,0,0,251,264,3,92,46,0,252,253,5,4,0,0,253,258,3,92,46,0,254,255,5,8,0,0,255,257,3,92,46,0,256,254,1,0,0,0,257,260,1,0,0,0,258,256,1,0,0,0,258,259,1,0,0,0,259,261,1,0,0,0,260,258,1,0,0,0,261,262,5,5,0,0,262,264,1,0,0,0,263,246,1,0,0,0,263,252,1,0,0,0,264,31,1,0,0,0,265,270,3,42,21,0,266,270,3,44,22,0,267,270,3,52,26,0,268,270,3,46,23,0,269,265,1,0,0,0,269,266,1,0,0,0,269,267,1,0,0,0,269,268,1,0,0,0,270,33,1,0,0,0,271,272,6,17,-1,0,272,284,3,60,30,0,273,274,7,2,0,0,274,284,3,34,17,12,275,276,5,46,0,0,276,284,3,34,17,11,277,284,3,96,48,0,278,284,3,58,29,0,279,280,5,6,0,0,280,281,3,34,17,0,281,282,5,7,0,0,282,284,1,0,0,0,283,271,1,0,0,0,283,273,1,0,0,0,283,275,1,0,0,0,283,277,1,0,0,0,283,278,1,0,0,0,283,279,1,0,0,0,284,316,1,0,0,0,285,286,10,10,0,0,286,287,7,3,0,0,287,315,3,34,17,11,288,289,10,9,0,0,289,290,7,2,0,0,290,315,3,34,17,10,291,292,10,8,0,0,292,293,7,4,0,0,293,315,3,34,17,9,294,295,10,7,0,0,295,296,7,5,0,0,296,315,3,34,17,8,297,298,10,6,0,0,298,299,5,35,0,0,299,315,3,34,17,7,300,301,10,5,0,0,301,302,5,45,0,0,302,315,3,34,17,6,303,304,10,4,0,0,304,305,5,10,0,0,305,306,3,34,17,0,306,307,5,11,0,0,307,308,3,34,17,4,308,315,1,0,0,0,309,310,10,13,0,0,310,311,5,4,0,0,311,312,3,34,17,0,312,313,5,5,0,0,313,315,1,0,0,0,314,285,1,0,0,0,314,288,1,0,0,0,314,291,1,0,0,0,314,294,1,0,0,0,314,297,1,0,0,0,314,300,1,0,0,0,314,303,1,0,0,0,314,309,1,0,0,0,315,318,1,0,0,0,316,314,1,0,0,0,316,317,1,0,0,0,317,35,1,0,0,0,318,316,1,0,0,0,319,320,5,4,0,0,320,321,3,24,12,0,321,322,5,5,0,0,322,37,1,0,0,0,323,335,5,6,0,0,324,329,3,40,20,0,325,326,5,8,0,0,326,328,3,40,20,0,327,325,1,0,0,0,328,331,1,0,0,0,329,327,1,0,0,0,329,330,1,0,0,0,330,333,1,0,0,0,331,329,1,0,0,0,332,334,5,8,0,0,333,332,1,0,0,0,333,334,1,0,0,0,334,336,1,0,0,0,335,324,1,0,0,0,335,336,1,0,0,0,336,337,1,0,0,0,337,338,5,7,0,0,338,39,1,0,0,0,339,340,3,92,46,0,340,341,5,9,0,0,341,343,1,0,0,0,342,339,1,0,0,0,342,343,1,0,0,0,343,346,1,0,0,0,344,347,3,34,17,0,345,347,3,36,18,0,346,344,1,0,0,0,346,345,1,0,0,0,347,41,1,0,0,0,348,349,5,43,0,0,349,350,3,34,17,0,350,358,3,14,7,0,351,352,5,48,0,0,352,353,5,43,0,0,353,354,3,34,17,0,354,355,3,14,7,0,355,357,1,0,0,0,356,351,1,0,0,0,357,360,1,0,0,0,358,356,1,0,0,0,358,359,1,0,0,0,359,363,1,0,0,0,360,358,1,0,0,0,361,362,5,48,0,0,362,364,3,14,7,0,363,361,1,0,0,0,363,364,1,0,0,0,364,43,1,0,0,0,365,367,5,37,0,0,366,368,3,20,10,0,367,366,1,0,0,0,367,368,1,0,0,0,368,370,1,0,0,0,369,371,3,90,45,0,370,369,1,0,0,0,370,371,1,0,0,0,371,372,1,0,0,0,372,373,3,92,46,0,373,374,5,9,0,0,374,375,3,34,17,0,375,376,5,49,0,0,376,379,3,34,17,0,377,378,5,50,0,0,378,380,3,34,17,0,379,377,1,0,0,0,379,380,1,0,0,0,380,381,1,0,0,0,381,382,3,14,7,0,382,398,1,0,0,0,383,391,5,37,0,0,384,392,3,92,46,0,385,386,5,4,0,0,386,387,3,92,46,0,387,388,5,8,0,0,388,389,3,92,46,0,389,390,5,5,0,0,390,392,1,0,0,0,391,384,1,0,0,0,391,385,1,0,0,0,392,393,1,0,0,0,393,394,5,44,0,0,394,395,3,34,17,0,395,396,3,14,7,0,396,398,1,0,0,0,397,365,1,0,0,0,397,383,1,0,0,0,398,45,1,0,0,0,399,401,5,41,0,0,400,402,3,34,17,0,401,400,1,0,0,0,401,402,1,0,0,0,402,403,1,0,0,0,403,404,5,61,0,0,404,417,5,1,0,0,405,407,3,48,24,0,406,405,1,0,0,0,407,408,1,0,0,0,408,406,1,0,0,0,408,409,1,0,0,0,409,418,1,0,0,0,410,412,3,48,24,0,411,410,1,0,0,0,412,415,1,0,0,0,413,411,1,0,0,0,413,414,1,0,0,0,414,416,1,0,0,0,415,413,1,0,0,0,416,418,3,50,25,0,417,406,1,0,0,0,417,413,1,0,0,0,418,419,1,0,0,0,419,420,5,2,0,0,420,47,1,0,0,0,421,422,3,34,17,0,422,423,5,29,0,0,423,424,3,12,6,0,424,49,1,0,0,0,425,426,5,29,0,0,426,427,3,12,6,0,427,51,1,0,0,0,428,429,5,42,0,0,429,430,3,34,17,0,430,431,3,14,7,0,431,53,1,0,0,0,432,437,3,56,28,0,433,434,5,8,0,0,434,436,3,56,28,0,435,433,1,0,0,0,436,439,1,0,0,0,437,435,1,0,0,0,437,438,1,0,0,0,438,441,1,0,0,0,439,437,1,0,0,0,440,442,5,8,0,0,441,440,1,0,0,0,441,442,1,0,0,0,442,443,1,0,0,0,443,444,5,61,0,0,444,55,1,0,0,0,445,446,5,52,0,0,446,447,3,92,46,0,447,448,5,15,0,0,448,449,3,92,46,0,449,450,5,15,0,0,450,453,5,32,0,0,451,452,5,53,0,0,452,454,3,92,46,0,453,451,1,0,0,0,453,454,1,0,0,0,454,57,1,0,0,0,455,456,7,6,0,0,456,59,1,0,0,0,457,462,3,62,31,0,458,459,5,3,0,0,459,461,3,62,31,0,460,458,1,0,0,0,461,464,1,0,0,0,462,460,1,0,0,0,462,463,1,0,0,0,463,61,1,0,0,0,464,462,1,0,0,0,465,466,3,64,32,0,466,467,3,38,19,0,467,63,1,0,0,0,468,469,3,92,46,0,469,470,5,3,0,0,470,472,1,0,0,0,471,468,1,0,0,0,472,475,1,0,0,0,473,471,1,0,0,0,473,474,1,0,0,0,474,482,1,0,0,0,475,473,1,0,0,0,476,477,5,6,0,0,477,478,3,34,17,0,478,479,5,7,0,0,479,480,5,3,0,0,480,482,1,0,0,0,481,473,1,0,0,0,481,476,1,0,0,0,482,483,1,0,0,0,483,492,3,92,46,0,484,485,5,18,0,0,485,488,3,94,47,0,486,487,5,8,0,0,487,489,3,94,47,0,488,486,1,0,0,0,488,489,1,0,0,0,489,490,1,0,0,0,490,491,5,19,0,0,491,493,1,0,0,0,492,484,1,0,0,0,492,493,1,0,0,0,493,65,1,0,0,0,494,496,5,36,0,0,495,494,1,0,0,0,495,496,1,0,0,0,496,497,1,0,0,0,497,498,3,92,46,0,498,499,3,68,34,0,499,500,5,29,0,0,500,501,3,12,6,0,501,67,1,0,0,0,502,504,5,6,0,0,503,505,3,70,35,0,504,503,1,0,0,0,504,505,1,0,0,0,505,506,1,0,0,0,506,507,5,7,0,0,507,69,1,0,0,0,508,513,3,72,36,0,509,510,5,8,0,0,510,512,3,72,36,0,511,509,1,0,0,0,512,515,1,0,0,0,513,511,1,0,0,0,513,514,1,0,0,0,514,71,1,0,0,0,515,513,1,0,0,0,516,518,3,90,45,0,517,516,1,0,0,0,517,518,1,0,0,0,518,519,1,0,0,0,519,522,3,92,46,0,520,521,5,9,0,0,521,523,3,34,17,0,522,520,1,0,0,0,522,523,1,0,0,0,523,73,1,0,0,0,524,526,5,36,0,0,525,524,1,0,0,0,525,526,1,0,0,0,526,527,1,0,0,0,527,528,5,47,0,0,528,529,3,92,46,0,529,530,3,76,38,0,530,531,5,29,0,0,531,532,3,12,6,0,532,75,1,0,0,0,533,534,5,6,0,0,534,535,3,90,45,0,535,538,3,92,46,0,536,537,5,9,0,0,537,539,3,34,17,0,538,536,1,0,0,0,538,539,1,0,0,0,539,542,1,0,0,0,540,541,5,8,0,0,541,543,3,70,35,0,542,540,1,0,0,0,542,543,1,0,0,0,543,544,1,0,0,0,544,545,5,7,0,0,545,77,1,0,0,0,546,548,5,36,0,0,547,546,1,0,0,0,547,548,1,0,0,0,548,549,1,0,0,0,549,550,5,51,0,0,550,551,3,92,46,0,551,552,5,61,0,0,552,554,5,1,0,0,553,555,3,80,40,0,554,553,1,0,0,0,555,556,1,0,0,0,556,554,1,0,0,0,556,557,1,0,0,0,557,558,1,0,0,0,558,559,5,2,0,0,559,79,1,0,0,0,560,562,5,40,0,0,561,560,1,0,0,0,561,562,1,0,0,0,562,564,1,0,0,0,563,565,3,90,45,0,564,563,1,0,0,0,564,565,1,0,0,0,565,566,1,0,0,0,566,569,3,92,46,0,567,568,5,9,0,0,568,570,3,34,17,0,569,567,1,0,0,0,569,570,1,0,0,0,570,571,1,0,0,0,571,572,5,61,0,0,572,81,1,0,0,0,573,574,7,7,0,0,574,83,1,0,0,0,575,576,5,55,0,0,576,577,5,18,0,0,577,578,3,94,47,0,578,579,5,8,0,0,579,580,3,94,47,0,580,581,5,19,0,0,581,85,1,0,0,0,582,586,3,94,47,0,583,587,3,94,47,0,584,587,3,88,44,0,585,587,3,84,42,0,586,583,1,0,0,0,586,584,1,0,0,0,586,585,1,0,0,0,587,87,1,0,0,0,588,589,3,94,47,0,589,590,5,18,0,0,590,591,3,94,47,0,591,592,5,19,0,0,592,598,1,0,0,0,593,594,3,94,47,0,594,595,5,4,0,0,595,596,5,5,0,0,596,598,1,0,0,0,597,588,1,0,0,0,597,593,1,0,0,0,598,89,1,0,0,0,599,604,3,94,47,0,600,604,3,88,44,0,601,604,3,84,42,0,602,604,3,86,43,0,603,599,1,0,0,0,603,600,1,0,0,0,603,601,1,0,0,0,603,602,1,0,0,0,604,91,1,0,0,0,605,606,7,8,0,0,606,93,1,0,0,0,607,610,3,92,46,0,608,609,5,3,0,0,609,611,3,92,46,0,610,608,1,0,0,0,610,611,1,0,0,0,611,95,1,0,0,0,612,615,3,92,46,0,613,615,3,62,31,0,614,612,1,0,0,0,614,613,1,0,0,0,615,616,1,0,0,0,616,617,5,3,0,0,617,619,1,0,0,0,618,614,1,0,0,0,619,622,1,0,0,0,620,618,1,0,0,0,620,621,1,0,0,0,621,623,1,0,0,0,622,620,1,0,0,0,623,634,3,92,46,0,624,625,5,6,0,0,625,626,3,34,17,0,626,629,5,7,0,0,627,628,5,3,0,0,628,630,3,92,46,0,629,627,1,0,0,0,630,631,1,0,0,0,631,629,1,0,0,0,631,632,1,0,0,0,632,634,1,0,0,0,633,620,1,0,0,0,633,624,1,0,0,0,634,97,1,0,0,0,635,637,5,36,0,0,636,635,1,0,0,0,636,637,1,0,0,0,637,638,1,0,0,0,638,639,5,54,0,0,639,640,3,92,46,0,640,641,5,61,0,0,641,643,5,1,0,0,642,644,3,100,50,0,643,642,1,0,0,0,644,645,1,0,0,0,645,643,1,0,0,0,645,646,1,0,0,0,646,647,1,0,0,0,647,648,5,2,0,0,648,99,1,0,0,0,649,652,3,92,46,0,650,651,5,9,0,0,651,653,5,57,0,0,652,650,1,0,0,0,652,653,1,0,0,0,653,654,1,0,0,0,654,655,5,61,0,0,655,101,1,0,0,0,80,104,106,113,123,130,135,139,144,150,156,161,168,174,179,183,194,200,205,209,217,222,228,233,241,246,249,258,263,269,283,314,316,329,333,335,342,346,358,363,367,370,379,391,397,401,408,413,417,437,441,453,462,473,481,488,492,495,504,513,517,522,525,538,542,547,556,561,564,569,586,597,603,610,614,620,631,633,636,645,652]),k(M,"__ATN"),k(M,"DecisionsToDFA",M._ATN.decisionToState.map((e,n)=>new fp(e,n)));let F=M;class p_ extends Ye{constructor(e,n,r){super(n,r),this.parser=e}EOF(){return this.getToken(F.EOF,0)}NEWLINE_list(){return this.getTokens(F.NEWLINE)}NEWLINE(e){return this.getToken(F.NEWLINE,e)}globalStmt_list(){return this.getTypedRuleContexts(il)}globalStmt(e){return this.getTypedRuleContext(il,e)}get ruleIndex(){return F.RULE_program}accept(e){return e.visitProgram?e.visitProgram(this):e.visitChildren(this)}}class il extends Ye{constructor(e,n,r){super(n,r),this.parser=e}variableDeclarationStmt(){return this.getTypedRuleContext(ou,0)}NEWLINE(){return this.getToken(F.NEWLINE,0)}Comma(){return this.getToken(F.Comma,0)}blockStmt(){return this.getTypedRuleContext(dp,0)}importStmt(){return this.getTypedRuleContext(Tp,0)}arrowFunction(){return this.getTypedRuleContext(Cp,0)}arrowMethod(){return this.getTypedRuleContext(Dp,0)}typeStatement(){return this.getTypedRuleContext(Rp,0)}enumStatement(){return this.getTypedRuleContext(Np,0)}get ruleIndex(){return F.RULE_globalStmt}accept(e){return e.visitGlobalStmt?e.visitGlobalStmt(this):e.visitChildren(this)}}class dp extends Ye{constructor(e,n,r){super(n,r),this.parser=e}varBlockStmt(){return this.getTypedRuleContext(cl,0)}blockExpression(){return this.getTypedRuleContext(au,0)}variableDeclarationStmt_list(){return this.getTypedRuleContexts(ou)}variableDeclarationStmt(e){return this.getTypedRuleContext(ou,e)}Comma_list(){return this.getTokens(F.Comma)}Comma(e){return this.getToken(F.Comma,e)}get ruleIndex(){return F.RULE_blockStmt}accept(e){return e.visitBlockStmt?e.visitBlockStmt(this):e.visitChildren(this)}}class ol extends Ye{constructor(e,n,r){super(n,r),this.parser=e}simpleStmt(){return this.getTypedRuleContext(al,0)}NEWLINE(){return this.getToken(F.NEWLINE,0)}Comma(){return this.getToken(F.Comma,0)}expressionBlockSequence(){return this.getTypedRuleContext(yp,0)}get ruleIndex(){return F.RULE_stmt}accept(e){return e.visitStmt?e.visitStmt(this):e.visitChildren(this)}}class al extends Ye{constructor(e,n,r){super(n,r),this.parser=e}expressionSequence(){return this.getTypedRuleContext(ul,0)}blockSequence(){return this.getTypedRuleContext(_p,0)}brackethesized(){return this.getTypedRuleContext(ll,0)}flowStmt(){return this.getTypedRuleContext(mp,0)}get ruleIndex(){return F.RULE_simpleStmt}accept(e){return e.visitSimpleStmt?e.visitSimpleStmt(this):e.visitChildren(this)}}class mp extends Ye{constructor(e,n,r){super(n,r),this.parser=e}Break(){return this.getToken(F.Break,0)}Continue(){return this.getToken(F.Continue,0)}get ruleIndex(){return F.RULE_flowStmt}accept(e){return e.visitFlowStmt?e.visitFlowStmt(this):e.visitChildren(this)}}class is extends Ye{constructor(e,n,r){super(n,r),this.parser=e}simpleStmt(){return this.getTypedRuleContext(al,0)}NEWLINE(){return this.getToken(F.NEWLINE,0)}Comma(){return this.getToken(F.Comma,0)}blockLine(){return this.getTypedRuleContext(mo,0)}get ruleIndex(){return F.RULE_block}accept(e){return e.visitBlock?e.visitBlock(this):e.visitChildren(this)}}class mo extends Ye{constructor(e,n,r){super(n,r),this.parser=e}NEWLINE(){return this.getToken(F.NEWLINE,0)}INDENT(){return this.getToken(F.INDENT,0)}DEDENT(){return this.getToken(F.DEDENT,0)}stmt_list(){return this.getTypedRuleContexts(ol)}stmt(e){return this.getTypedRuleContext(ol,e)}get ruleIndex(){return F.RULE_blockLine}accept(e){return e.visitBlockLine?e.visitBlockLine(this):e.visitChildren(this)}}class ou extends Ye{constructor(e,n,r){super(n,r),this.parser=e}methodStmt_list(){return this.getTypedRuleContexts(uu)}methodStmt(e){return this.getTypedRuleContext(uu,e)}variableDeclarationList_list(){return this.getTypedRuleContexts(Ni)}variableDeclarationList(e){return this.getTypedRuleContext(Ni,e)}Comma_list(){return this.getTokens(F.Comma)}Comma(e){return this.getToken(F.Comma,e)}get ruleIndex(){return F.RULE_variableDeclarationStmt}accept(e){return e.visitVariableDeclarationStmt?e.visitVariableDeclarationStmt(this):e.visitChildren(this)}}class Ni extends Ye{constructor(e,n,r){super(n,r),this.parser=e}get ruleIndex(){return F.RULE_variableDeclarationList}copyFrom(e){super.copyFrom(e)}}class d_ extends Ni{constructor(e,n){super(e,n.parentCtx,n.invokingState),super.copyFrom(n)}name(){return this.getTypedRuleContext(cu,0)}assignmentOperator(){return this.getTypedRuleContext(yl,0)}singleExpression(){return this.getTypedRuleContext(Ve,0)}accept(e){return e.visitAgainAssign?e.visitAgainAssign(this):e.visitChildren(this)}}class m_ extends Ni{constructor(e,n){super(e,n.parentCtx,n.invokingState),super.copyFrom(n)}varArrayDeclaration(){return this.getTypedRuleContext(os,0)}Assign(){return this.getToken(F.Assign,0)}singleExpression(){return this.getTypedRuleContext(Ve,0)}accept(e){return e.visitDeclareAssign?e.visitDeclareAssign(this):e.visitChildren(this)}}class sl extends Ye{constructor(e,n,r){super(n,r),this.parser=e}Var(){return this.getToken(F.Var,0)}Varip(){return this.getToken(F.Varip,0)}get ruleIndex(){return F.RULE_varModifier}accept(e){return e.visitVarModifier?e.visitVarModifier(this):e.visitChildren(this)}}class _p extends Ye{constructor(e,n,r){super(n,r),this.parser=e}singleExpression_list(){return this.getTypedRuleContexts(Ve)}singleExpression(e){return this.getTypedRuleContext(Ve,e)}variableDeclarationList_list(){return this.getTypedRuleContexts(Ni)}variableDeclarationList(e){return this.getTypedRuleContext(Ni,e)}Comma_list(){return this.getTokens(F.Comma)}Comma(e){return this.getToken(F.Comma,e)}get ruleIndex(){return F.RULE_blockSequence}accept(e){return e.visitBlockSequence?e.visitBlockSequence(this):e.visitChildren(this)}}class ul extends Ye{constructor(e,n,r){super(n,r),this.parser=e}singleExpression_list(){return this.getTypedRuleContexts(Ve)}singleExpression(e){return this.getTypedRuleContext(Ve,e)}Comma_list(){return this.getTokens(F.Comma)}Comma(e){return this.getToken(F.Comma,e)}get ruleIndex(){return F.RULE_expressionSequence}accept(e){return e.visitExpressionSequence?e.visitExpressionSequence(this):e.visitChildren(this)}}class yp extends Ye{constructor(e,n,r){super(n,r),this.parser=e}varBlockStmt(){return this.getTypedRuleContext(cl,0)}blockExpression(){return this.getTypedRuleContext(au,0)}Comma_list(){return this.getTokens(F.Comma)}Comma(e){return this.getToken(F.Comma,e)}singleExpression_list(){return this.getTypedRuleContexts(Ve)}singleExpression(e){return this.getTypedRuleContext(Ve,e)}variableDeclarationList_list(){return this.getTypedRuleContexts(Ni)}variableDeclarationList(e){return this.getTypedRuleContext(Ni,e)}get ruleIndex(){return F.RULE_expressionBlockSequence}accept(e){return e.visitExpressionBlockSequence?e.visitExpressionBlockSequence(this):e.visitChildren(this)}}class cl extends Ye{constructor(e,n,r){super(n,r),this.parser=e}blockExpression(){return this.getTypedRuleContext(au,0)}varArrayDeclaration(){return this.getTypedRuleContext(os,0)}Assign(){return this.getToken(F.Assign,0)}name(){return this.getTypedRuleContext(cu,0)}assignmentOperator(){return this.getTypedRuleContext(yl,0)}get ruleIndex(){return F.RULE_varBlockStmt}accept(e){return e.visitVarBlockStmt?e.visitVarBlockStmt(this):e.visitChildren(this)}}class os extends Ye{constructor(e,n,r){super(n,r),this.parser=e}get ruleIndex(){return F.RULE_varArrayDeclaration}copyFrom(e){super.copyFrom(e)}}class __ extends os{constructor(e,n){super(e,n.parentCtx,n.invokingState),super.copyFrom(n)}OpenBracket(){return this.getToken(F.OpenBracket,0)}identifier_list(){return this.getTypedRuleContexts(yn)}identifier(e){return this.getTypedRuleContext(yn,e)}CloseBracket(){return this.getToken(F.CloseBracket,0)}Comma_list(){return this.getTokens(F.Comma)}Comma(e){return this.getToken(F.Comma,e)}accept(e){return e.visitVarMultiple?e.visitVarMultiple(this):e.visitChildren(this)}}class y_ extends os{constructor(e,n){super(e,n.parentCtx,n.invokingState),super.copyFrom(n)}identifier(){return this.getTypedRuleContext(yn,0)}varModifier(){return this.getTypedRuleContext(sl,0)}typeGather(){return this.getTypedRuleContext($o,0)}accept(e){return e.visitVarSingle?e.visitVarSingle(this):e.visitChildren(this)}}class au extends Ye{constructor(e,n,r){super(n,r),this.parser=e}ifStatement(){return this.getTypedRuleContext(bp,0)}forStatement(){return this.getTypedRuleContext(su,0)}whileStatement(){return this.getTypedRuleContext(Sp,0)}switchStatement(){return this.getTypedRuleContext(vp,0)}get ruleIndex(){return F.RULE_blockExpression}accept(e){return e.visitBlockExpression?e.visitBlockExpression(this):e.visitChildren(this)}}class Ve extends Ye{constructor(e,n,r){super(n,r),this.parser=e}get ruleIndex(){return F.RULE_singleExpression}copyFrom(e){super.copyFrom(e)}}class g_ extends Ve{constructor(e,n){super(e,n.parentCtx,n.invokingState),super.copyFrom(n)}OpenParen(){return this.getToken(F.OpenParen,0)}singleExpression(){return this.getTypedRuleContext(Ve,0)}CloseParen(){return this.getToken(F.CloseParen,0)}accept(e){return e.visitParenthesizedExpression?e.visitParenthesizedExpression(this):e.visitChildren(this)}}class b_ extends Ve{constructor(e,n){super(e,n.parentCtx,n.invokingState),super.copyFrom(n)}singleExpression_list(){return this.getTypedRuleContexts(Ve)}singleExpression(e){return this.getTypedRuleContext(Ve,e)}Plus(){return this.getToken(F.Plus,0)}Minus(){return this.getToken(F.Minus,0)}accept(e){return e.visitAdditiveExpression?e.visitAdditiveExpression(this):e.visitChildren(this)}}class v_ extends Ve{constructor(e,n){super(e,n.parentCtx,n.invokingState),super.copyFrom(n)}singleExpression_list(){return this.getTypedRuleContexts(Ve)}singleExpression(e){return this.getTypedRuleContext(Ve,e)}LessThan(){return this.getToken(F.LessThan,0)}MoreThan(){return this.getToken(F.MoreThan,0)}LessThanEquals(){return this.getToken(F.LessThanEquals,0)}GreaterThanEquals(){return this.getToken(F.GreaterThanEquals,0)}accept(e){return e.visitRelationalExpression?e.visitRelationalExpression(this):e.visitChildren(this)}}class E_ extends Ve{constructor(e,n){super(e,n.parentCtx,n.invokingState),super.copyFrom(n)}singleExpression_list(){return this.getTypedRuleContexts(Ve)}singleExpression(e){return this.getTypedRuleContext(Ve,e)}QuestionMark(){return this.getToken(F.QuestionMark,0)}Colon(){return this.getToken(F.Colon,0)}accept(e){return e.visitTernaryExpression?e.visitTernaryExpression(this):e.visitChildren(this)}}class S_ extends Ve{constructor(e,n){super(e,n.parentCtx,n.invokingState),super.copyFrom(n)}singleExpression_list(){return this.getTypedRuleContexts(Ve)}singleExpression(e){return this.getTypedRuleContext(Ve,e)}And(){return this.getToken(F.And,0)}accept(e){return e.visitLogicalAndExpression?e.visitLogicalAndExpression(this):e.visitChildren(this)}}class T_ extends Ve{constructor(e,n){super(e,n.parentCtx,n.invokingState),super.copyFrom(n)}name(){return this.getTypedRuleContext(cu,0)}accept(e){return e.visitNameExpression?e.visitNameExpression(this):e.visitChildren(this)}}class A_ extends Ve{constructor(e,n){super(e,n.parentCtx,n.invokingState),super.copyFrom(n)}literal(){return this.getTypedRuleContext(Ap,0)}accept(e){return e.visitLiteralExpression?e.visitLiteralExpression(this):e.visitChildren(this)}}class x_ extends Ve{constructor(e,n){super(e,n.parentCtx,n.invokingState),super.copyFrom(n)}singleExpression_list(){return this.getTypedRuleContexts(Ve)}singleExpression(e){return this.getTypedRuleContext(Ve,e)}Or(){return this.getToken(F.Or,0)}accept(e){return e.visitLogicalOrExpression?e.visitLogicalOrExpression(this):e.visitChildren(this)}}class C_ extends Ve{constructor(e,n){super(e,n.parentCtx,n.invokingState),super.copyFrom(n)}singleExpression(){return this.getTypedRuleContext(Ve,0)}Minus(){return this.getToken(F.Minus,0)}Plus(){return this.getToken(F.Plus,0)}accept(e){return e.visitUnaryExpression?e.visitUnaryExpression(this):e.visitChildren(this)}}class O_ extends Ve{constructor(e,n){super(e,n.parentCtx,n.invokingState),super.copyFrom(n)}Not(){return this.getToken(F.Not,0)}singleExpression(){return this.getTypedRuleContext(Ve,0)}accept(e){return e.visitNotExpression?e.visitNotExpression(this):e.visitChildren(this)}}class D_ extends Ve{constructor(e,n){super(e,n.parentCtx,n.invokingState),super.copyFrom(n)}singleExpression_list(){return this.getTypedRuleContexts(Ve)}singleExpression(e){return this.getTypedRuleContext(Ve,e)}OpenBracket(){return this.getToken(F.OpenBracket,0)}CloseBracket(){return this.getToken(F.CloseBracket,0)}accept(e){return e.visitMemberIndexExpression?e.visitMemberIndexExpression(this):e.visitChildren(this)}}class k_ extends Ve{constructor(e,n){super(e,n.parentCtx,n.invokingState),super.copyFrom(n)}methodStmt(){return this.getTypedRuleContext(uu,0)}accept(e){return e.visitMethodExpression?e.visitMethodExpression(this):e.visitChildren(this)}}class R_ extends Ve{constructor(e,n){super(e,n.parentCtx,n.invokingState),super.copyFrom(n)}singleExpression_list(){return this.getTypedRuleContexts(Ve)}singleExpression(e){return this.getTypedRuleContext(Ve,e)}Equals_(){return this.getToken(F.Equals_,0)}NotEquals(){return this.getToken(F.NotEquals,0)}accept(e){return e.visitEqualityExpression?e.visitEqualityExpression(this):e.visitChildren(this)}}class w_ extends Ve{constructor(e,n){super(e,n.parentCtx,n.invokingState),super.copyFrom(n)}singleExpression_list(){return this.getTypedRuleContexts(Ve)}singleExpression(e){return this.getTypedRuleContext(Ve,e)}Multiply(){return this.getToken(F.Multiply,0)}Divide(){return this.getToken(F.Divide,0)}Modulus(){return this.getToken(F.Modulus,0)}accept(e){return e.visitMultiplicativeExpression?e.visitMultiplicativeExpression(this):e.visitChildren(this)}}class ll extends Ye{constructor(e,n,r){super(n,r),this.parser=e}OpenBracket(){return this.getToken(F.OpenBracket,0)}expressionSequence(){return this.getTypedRuleContext(ul,0)}CloseBracket(){return this.getToken(F.CloseBracket,0)}get ruleIndex(){return F.RULE_brackethesized}accept(e){return e.visitBrackethesized?e.visitBrackethesized(this):e.visitChildren(this)}}class gp extends Ye{constructor(e,n,r){super(n,r),this.parser=e}OpenParen(){return this.getToken(F.OpenParen,0)}CloseParen(){return this.getToken(F.CloseParen,0)}argument_list(){return this.getTypedRuleContexts(fl)}argument(e){return this.getTypedRuleContext(fl,e)}Comma_list(){return this.getTokens(F.Comma)}Comma(e){return this.getToken(F.Comma,e)}get ruleIndex(){return F.RULE_arguments}accept(e){return e.visitArguments?e.visitArguments(this):e.visitChildren(this)}}class fl extends Ye{constructor(e,n,r){super(n,r),this.parser=e}singleExpression(){return this.getTypedRuleContext(Ve,0)}brackethesized(){return this.getTypedRuleContext(ll,0)}identifier(){return this.getTypedRuleContext(yn,0)}Assign(){return this.getToken(F.Assign,0)}get ruleIndex(){return F.RULE_argument}accept(e){return e.visitArgument?e.visitArgument(this):e.visitChildren(this)}}class bp extends Ye{constructor(e,n,r){super(n,r),this.parser=e}If_list(){return this.getTokens(F.If)}If(e){return this.getToken(F.If,e)}singleExpression_list(){return this.getTypedRuleContexts(Ve)}singleExpression(e){return this.getTypedRuleContext(Ve,e)}blockLine_list(){return this.getTypedRuleContexts(mo)}blockLine(e){return this.getTypedRuleContext(mo,e)}Else_list(){return this.getTokens(F.Else)}Else(e){return this.getToken(F.Else,e)}get ruleIndex(){return F.RULE_ifStatement}accept(e){return e.visitIfStatement?e.visitIfStatement(this):e.visitChildren(this)}}class su extends Ye{constructor(e,n,r){super(n,r),this.parser=e}get ruleIndex(){return F.RULE_forStatement}copyFrom(e){super.copyFrom(e)}}class N_ extends su{constructor(e,n){super(e,n.parentCtx,n.invokingState),super.copyFrom(n)}For(){return this.getToken(F.For,0)}identifier(){return this.getTypedRuleContext(yn,0)}Assign(){return this.getToken(F.Assign,0)}singleExpression_list(){return this.getTypedRuleContexts(Ve)}singleExpression(e){return this.getTypedRuleContext(Ve,e)}To(){return this.getToken(F.To,0)}blockLine(){return this.getTypedRuleContext(mo,0)}varModifier(){return this.getTypedRuleContext(sl,0)}typeGather(){return this.getTypedRuleContext($o,0)}By(){return this.getToken(F.By,0)}accept(e){return e.visitForToStatement?e.visitForToStatement(this):e.visitChildren(this)}}class I_ extends su{constructor(e,n){super(e,n.parentCtx,n.invokingState),super.copyFrom(n)}For(){return this.getToken(F.For,0)}In(){return this.getToken(F.In,0)}singleExpression(){return this.getTypedRuleContext(Ve,0)}blockLine(){return this.getTypedRuleContext(mo,0)}identifier_list(){return this.getTypedRuleContexts(yn)}identifier(e){return this.getTypedRuleContext(yn,e)}OpenBracket(){return this.getToken(F.OpenBracket,0)}Comma(){return this.getToken(F.Comma,0)}CloseBracket(){return this.getToken(F.CloseBracket,0)}accept(e){return e.visitForInStatement?e.visitForInStatement(this):e.visitChildren(this)}}class vp extends Ye{constructor(e,n,r){super(n,r),this.parser=e}Switch(){return this.getToken(F.Switch,0)}NEWLINE(){return this.getToken(F.NEWLINE,0)}INDENT(){return this.getToken(F.INDENT,0)}DEDENT(){return this.getToken(F.DEDENT,0)}singleExpression(){return this.getTypedRuleContext(Ve,0)}defaultCaluse(){return this.getTypedRuleContext(Ep,0)}caseClause_list(){return this.getTypedRuleContexts(hl)}caseClause(e){return this.getTypedRuleContext(hl,e)}get ruleIndex(){return F.RULE_switchStatement}accept(e){return e.visitSwitchStatement?e.visitSwitchStatement(this):e.visitChildren(this)}}class hl extends Ye{constructor(e,n,r){super(n,r),this.parser=e}singleExpression(){return this.getTypedRuleContext(Ve,0)}ARROW(){return this.getToken(F.ARROW,0)}block(){return this.getTypedRuleContext(is,0)}get ruleIndex(){return F.RULE_caseClause}accept(e){return e.visitCaseClause?e.visitCaseClause(this):e.visitChildren(this)}}class Ep extends Ye{constructor(e,n,r){super(n,r),this.parser=e}ARROW(){return this.getToken(F.ARROW,0)}block(){return this.getTypedRuleContext(is,0)}get ruleIndex(){return F.RULE_defaultCaluse}accept(e){return e.visitDefaultCaluse?e.visitDefaultCaluse(this):e.visitChildren(this)}}class Sp extends Ye{constructor(e,n,r){super(n,r),this.parser=e}While(){return this.getToken(F.While,0)}singleExpression(){return this.getTypedRuleContext(Ve,0)}blockLine(){return this.getTypedRuleContext(mo,0)}get ruleIndex(){return F.RULE_whileStatement}accept(e){return e.visitWhileStatement?e.visitWhileStatement(this):e.visitChildren(this)}}class Tp extends Ye{constructor(e,n,r){super(n,r),this.parser=e}importElement_list(){return this.getTypedRuleContexts(pl)}importElement(e){return this.getTypedRuleContext(pl,e)}NEWLINE(){return this.getToken(F.NEWLINE,0)}Comma_list(){return this.getTokens(F.Comma)}Comma(e){return this.getToken(F.Comma,e)}get ruleIndex(){return F.RULE_importStmt}accept(e){return e.visitImportStmt?e.visitImportStmt(this):e.visitChildren(this)}}class pl extends Ye{constructor(e,n,r){super(n,r),this.parser=e}Import(){return this.getToken(F.Import,0)}identifier_list(){return this.getTypedRuleContexts(yn)}identifier(e){return this.getTypedRuleContext(yn,e)}Divide_list(){return this.getTokens(F.Divide)}Divide(e){return this.getToken(F.Divide,e)}IntegerLiteral(){return this.getToken(F.IntegerLiteral,0)}As(){return this.getToken(F.As,0)}get ruleIndex(){return F.RULE_importElement}accept(e){return e.visitImportElement?e.visitImportElement(this):e.visitChildren(this)}}class Ap extends Ye{constructor(e,n,r){super(n,r),this.parser=e}BooleanLiteral(){return this.getToken(F.BooleanLiteral,0)}ColorLiteral(){return this.getToken(F.ColorLiteral,0)}StringLiteral(){return this.getToken(F.StringLiteral,0)}IntegerLiteral(){return this.getToken(F.IntegerLiteral,0)}DecimalLiteral(){return this.getToken(F.DecimalLiteral,0)}get ruleIndex(){return F.RULE_literal}accept(e){return e.visitLiteral?e.visitLiteral(this):e.visitChildren(this)}}class uu extends Ye{constructor(e,n,r){super(n,r),this.parser=e}methodElement_list(){return this.getTypedRuleContexts(as)}methodElement(e){return this.getTypedRuleContext(as,e)}Point_list(){return this.getTokens(F.Point)}Point(e){return this.getToken(F.Point,e)}get ruleIndex(){return F.RULE_methodStmt}accept(e){return e.visitMethodStmt?e.visitMethodStmt(this):e.visitChildren(this)}}class as extends Ye{constructor(e,n,r){super(n,r),this.parser=e}methodName(){return this.getTypedRuleContext(xp,0)}arguments(){return this.getTypedRuleContext(gp,0)}get ruleIndex(){return F.RULE_methodElement}accept(e){return e.visitMethodElement?e.visitMethodElement(this):e.visitChildren(this)}}class xp extends Ye{constructor(e,n,r){super(n,r),this.parser=e}identifier_list(){return this.getTypedRuleContexts(yn)}identifier(e){return this.getTypedRuleContext(yn,e)}OpenParen(){return this.getToken(F.OpenParen,0)}singleExpression(){return this.getTypedRuleContext(Ve,0)}CloseParen(){return this.getToken(F.CloseParen,0)}Point_list(){return this.getTokens(F.Point)}Point(e){return this.getToken(F.Point,e)}LessThan(){return this.getToken(F.LessThan,0)}typeName_list(){return this.getTypedRuleContexts(mi)}typeName(e){return this.getTypedRuleContext(mi,e)}MoreThan(){return this.getToken(F.MoreThan,0)}Comma(){return this.getToken(F.Comma,0)}get ruleIndex(){return F.RULE_methodName}accept(e){return e.visitMethodName?e.visitMethodName(this):e.visitChildren(this)}}class Cp extends Ye{constructor(e,n,r){super(n,r),this.parser=e}identifier(){return this.getTypedRuleContext(yn,0)}arrowFunctionParameters(){return this.getTypedRuleContext(Op,0)}ARROW(){return this.getToken(F.ARROW,0)}block(){return this.getTypedRuleContext(is,0)}Export(){return this.getToken(F.Export,0)}get ruleIndex(){return F.RULE_arrowFunction}accept(e){return e.visitArrowFunction?e.visitArrowFunction(this):e.visitChildren(this)}}class Op extends Ye{constructor(e,n,r){super(n,r),this.parser=e}OpenParen(){return this.getToken(F.OpenParen,0)}CloseParen(){return this.getToken(F.CloseParen,0)}formalParameterList(){return this.getTypedRuleContext(dl,0)}get ruleIndex(){return F.RULE_arrowFunctionParameters}accept(e){return e.visitArrowFunctionParameters?e.visitArrowFunctionParameters(this):e.visitChildren(this)}}class dl extends Ye{constructor(e,n,r){super(n,r),this.parser=e}formalParameterArg_list(){return this.getTypedRuleContexts(ml)}formalParameterArg(e){return this.getTypedRuleContext(ml,e)}Comma_list(){return this.getTokens(F.Comma)}Comma(e){return this.getToken(F.Comma,e)}get ruleIndex(){return F.RULE_formalParameterList}accept(e){return e.visitFormalParameterList?e.visitFormalParameterList(this):e.visitChildren(this)}}class ml extends Ye{constructor(e,n,r){super(n,r),this.parser=e}identifier(){return this.getTypedRuleContext(yn,0)}typeGather(){return this.getTypedRuleContext($o,0)}Assign(){return this.getToken(F.Assign,0)}singleExpression(){return this.getTypedRuleContext(Ve,0)}get ruleIndex(){return F.RULE_formalParameterArg}accept(e){return e.visitFormalParameterArg?e.visitFormalParameterArg(this):e.visitChildren(this)}}class Dp extends Ye{constructor(e,n,r){super(n,r),this.parser=e}Method(){return this.getToken(F.Method,0)}identifier(){return this.getTypedRuleContext(yn,0)}arrowMethodParameters(){return this.getTypedRuleContext(kp,0)}ARROW(){return this.getToken(F.ARROW,0)}block(){return this.getTypedRuleContext(is,0)}Export(){return this.getToken(F.Export,0)}get ruleIndex(){return F.RULE_arrowMethod}accept(e){return e.visitArrowMethod?e.visitArrowMethod(this):e.visitChildren(this)}}class kp extends Ye{constructor(e,n,r){super(n,r),this.parser=e}OpenParen(){return this.getToken(F.OpenParen,0)}typeGather(){return this.getTypedRuleContext($o,0)}identifier(){return this.getTypedRuleContext(yn,0)}CloseParen(){return this.getToken(F.CloseParen,0)}Assign(){return this.getToken(F.Assign,0)}singleExpression(){return this.getTypedRuleContext(Ve,0)}Comma(){return this.getToken(F.Comma,0)}formalParameterList(){return this.getTypedRuleContext(dl,0)}get ruleIndex(){return F.RULE_arrowMethodParameters}accept(e){return e.visitArrowMethodParameters?e.visitArrowMethodParameters(this):e.visitChildren(this)}}class Rp extends Ye{constructor(e,n,r){super(n,r),this.parser=e}Type(){return this.getToken(F.Type,0)}identifier(){return this.getTypedRuleContext(yn,0)}NEWLINE(){return this.getToken(F.NEWLINE,0)}INDENT(){return this.getToken(F.INDENT,0)}DEDENT(){return this.getToken(F.DEDENT,0)}Export(){return this.getToken(F.Export,0)}typeElement_list(){return this.getTypedRuleContexts(_l)}typeElement(e){return this.getTypedRuleContext(_l,e)}get ruleIndex(){return F.RULE_typeStatement}accept(e){return e.visitTypeStatement?e.visitTypeStatement(this):e.visitChildren(this)}}class _l extends Ye{constructor(e,n,r){super(n,r),this.parser=e}identifier(){return this.getTypedRuleContext(yn,0)}NEWLINE(){return this.getToken(F.NEWLINE,0)}Varip(){return this.getToken(F.Varip,0)}typeGather(){return this.getTypedRuleContext($o,0)}Assign(){return this.getToken(F.Assign,0)}singleExpression(){return this.getTypedRuleContext(Ve,0)}get ruleIndex(){return F.RULE_typeElement}accept(e){return e.visitTypeElement?e.visitTypeElement(this):e.visitChildren(this)}}class yl extends Ye{constructor(e,n,r){super(n,r),this.parser=e}ColonEquals(){return this.getToken(F.ColonEquals,0)}MultiplyAssign(){return this.getToken(F.MultiplyAssign,0)}DivideAssign(){return this.getToken(F.DivideAssign,0)}ModulusAssign(){return this.getToken(F.ModulusAssign,0)}PlusAssign(){return this.getToken(F.PlusAssign,0)}MinusAssign(){return this.getToken(F.MinusAssign,0)}get ruleIndex(){return F.RULE_assignmentOperator}accept(e){return e.visitAssignmentOperator?e.visitAssignmentOperator(this):e.visitChildren(this)}}class gl extends Ye{constructor(e,n,r){super(n,r),this.parser=e}Map(){return this.getToken(F.Map,0)}LessThan(){return this.getToken(F.LessThan,0)}Comma(){return this.getToken(F.Comma,0)}typeName_list(){return this.getTypedRuleContexts(mi)}typeName(e){return this.getTypedRuleContext(mi,e)}MoreThan(){return this.getToken(F.MoreThan,0)}get ruleIndex(){return F.RULE_typeMap}accept(e){return e.visitTypeMap?e.visitTypeMap(this):e.visitChildren(this)}}class wp extends Ye{constructor(e,n,r){super(n,r),this.parser=e}typeName_list(){return this.getTypedRuleContexts(mi)}typeName(e){return this.getTypedRuleContext(mi,e)}typeArray(){return this.getTypedRuleContext(bl,0)}typeMap(){return this.getTypedRuleContext(gl,0)}get ruleIndex(){return F.RULE_typeSeries}accept(e){return e.visitTypeSeries?e.visitTypeSeries(this):e.visitChildren(this)}}class bl extends Ye{constructor(e,n,r){super(n,r),this.parser=e}typeName_list(){return this.getTypedRuleContexts(mi)}typeName(e){return this.getTypedRuleContext(mi,e)}LessThan(){return this.getToken(F.LessThan,0)}MoreThan(){return this.getToken(F.MoreThan,0)}OpenBracket(){return this.getToken(F.OpenBracket,0)}CloseBracket(){return this.getToken(F.CloseBracket,0)}get ruleIndex(){return F.RULE_typeArray}accept(e){return e.visitTypeArray?e.visitTypeArray(this):e.visitChildren(this)}}class $o extends Ye{constructor(e,n,r){super(n,r),this.parser=e}typeName(){return this.getTypedRuleContext(mi,0)}typeArray(){return this.getTypedRuleContext(bl,0)}typeMap(){return this.getTypedRuleContext(gl,0)}typeSeries(){return this.getTypedRuleContext(wp,0)}get ruleIndex(){return F.RULE_typeGather}accept(e){return e.visitTypeGather?e.visitTypeGather(this):e.visitChildren(this)}}class yn extends Ye{constructor(e,n,r){super(n,r),this.parser=e}Identifier(){return this.getToken(F.Identifier,0)}Map(){return this.getToken(F.Map,0)}Type(){return this.getToken(F.Type,0)}Enum(){return this.getToken(F.Enum,0)}get ruleIndex(){return F.RULE_identifier}accept(e){return e.visitIdentifier?e.visitIdentifier(this):e.visitChildren(this)}}class mi extends Ye{constructor(e,n,r){super(n,r),this.parser=e}identifier_list(){return this.getTypedRuleContexts(yn)}identifier(e){return this.getTypedRuleContext(yn,e)}Point(){return this.getToken(F.Point,0)}get ruleIndex(){return F.RULE_typeName}accept(e){return e.visitTypeName?e.visitTypeName(this):e.visitChildren(this)}}class cu extends Ye{constructor(e,n,r){super(n,r),this.parser=e}identifier_list(){return this.getTypedRuleContexts(yn)}identifier(e){return this.getTypedRuleContext(yn,e)}Point_list(){return this.getTokens(F.Point)}Point(e){return this.getToken(F.Point,e)}methodElement_list(){return this.getTypedRuleContexts(as)}methodElement(e){return this.getTypedRuleContext(as,e)}OpenParen(){return this.getToken(F.OpenParen,0)}singleExpression(){return this.getTypedRuleContext(Ve,0)}CloseParen(){return this.getToken(F.CloseParen,0)}get ruleIndex(){return F.RULE_name}accept(e){return e.visitName?e.visitName(this):e.visitChildren(this)}}class Np extends Ye{constructor(e,n,r){super(n,r),this.parser=e}Enum(){return this.getToken(F.Enum,0)}identifier(){return this.getTypedRuleContext(yn,0)}NEWLINE(){return this.getToken(F.NEWLINE,0)}INDENT(){return this.getToken(F.INDENT,0)}DEDENT(){return this.getToken(F.DEDENT,0)}Export(){return this.getToken(F.Export,0)}enumElement_list(){return this.getTypedRuleContexts(vl)}enumElement(e){return this.getTypedRuleContext(vl,e)}get ruleIndex(){return F.RULE_enumStatement}accept(e){return e.visitEnumStatement?e.visitEnumStatement(this):e.visitChildren(this)}}class vl extends Ye{constructor(e,n,r){super(n,r),this.parser=e}identifier(){return this.getTypedRuleContext(yn,0)}NEWLINE(){return this.getToken(F.NEWLINE,0)}Assign(){return this.getToken(F.Assign,0)}StringLiteral(){return this.getToken(F.StringLiteral,0)}get ruleIndex(){return F.RULE_enumElement}accept(e){return e.visitEnumElement?e.visitEnumElement(this):e.visitChildren(this)}}class P_ extends s_{constructor(n){super(n);k(this,"tokens");k(this,"indents");k(this,"opened");this.tokens=[],this.indents=[],this.opened=0}reset(){this.tokens=[],this.indents=[],this.opened=0,super.reset()}emitToken(n){super.emitToken(n),this.tokens.push(n)}nextToken(){if(this._input.LA(1)===F.EOF&&this.indents.length){for(this.tokens=this.tokens.filter(function(r){return r.type!==F.EOF}),this.emitToken(this.commonToken(F.NEWLINE,`
11
+ `));this.indents.length;)this.emitToken(this.createDedent()),this.indents.pop();this.emitToken(this.commonToken(F.EOF,"<EOF>"))}const n=super.nextToken();return this.tokens.length?this.tokens.shift():n}createDedent(){return this.commonToken(F.DEDENT,"")}getCharIndex(){return this._input.index}commonToken(n,r){const s=this.getCharIndex()-1,l=r.length?s-r.length+1:s;return new n_([this,this._input],n,0,l,s)}getIndentationCount(n){let r=0;for(let s=0;s<n.length;s++)n[s]===" "?r+=4-r%4:r++;return r}atStartOfInput(){return this.getCharIndex()===0}openBrace(){this.opened++}closeBrace(){this.opened--}onNewLine(){const n=this.text.replace(/[^\r\n]+/g,""),r=this.text.replace(/[\r\n]+/g,""),s=this._input.LA(1),l=this._input.LA(2),h=this.getIndentationCount(r);if(this.opened>0||l!=-1&&(s===13||s===10||s===47&&l===47||h%4))this.skip();else{this.emitToken(this.commonToken(F.NEWLINE,n));const m=this.indents.length?this.indents[this.indents.length-1]:0;if(h===m)this.skip();else if(h>m)this.indents.push(h),this.emitToken(this.commonToken(F.INDENT,r));else for(;this.indents.length&&this.indents[this.indents.length-1]>h;)this.emitToken(this.createDedent()),this.indents.pop()}}}const we=class we extends P_{constructor(e){super(e),this._interp=new u_(this,we._ATN,we.DecisionsToDFA,new hp)}get grammarFileName(){return"tccScriptLexer.g4"}get literalNames(){return we.literalNames}get symbolicNames(){return we.symbolicNames}get ruleNames(){return we.ruleNames}get serializedATN(){return we._serializedATN}get channelNames(){return we.channelNames}get modeNames(){return we.modeNames}action(e,n,r){switch(n){case 1:this.OpenBracket_action(e,r);break;case 2:this.CloseBracket_action(e,r);break;case 3:this.OpenParen_action(e,r);break;case 4:this.CloseParen_action(e,r);break;case 58:this.NEWLINE_action(e,r);break}}OpenBracket_action(e,n){switch(n){case 0:this.openBrace();break}}CloseBracket_action(e,n){switch(n){case 1:this.closeBrace();break}}OpenParen_action(e,n){switch(n){case 2:this.openBrace();break}}CloseParen_action(e,n){switch(n){case 3:this.closeBrace();break}}NEWLINE_action(e,n){switch(n){case 4:this.onNewLine();break}}sempred(e,n,r){switch(n){case 58:return this.NEWLINE_sempred(e,r)}return!0}NEWLINE_sempred(e,n){switch(n){case 0:return this.atStartOfInput()}return!0}static get _ATN(){return we.__ATN||(we.__ATN=new lp().deserialize(we._serializedATN)),we.__ATN}};k(we,"INDENT",1),k(we,"DEDENT",2),k(we,"Point",3),k(we,"OpenBracket",4),k(we,"CloseBracket",5),k(we,"OpenParen",6),k(we,"CloseParen",7),k(we,"Comma",8),k(we,"Assign",9),k(we,"QuestionMark",10),k(we,"Colon",11),k(we,"Plus",12),k(we,"Minus",13),k(we,"Multiply",14),k(we,"Divide",15),k(we,"Modulus",16),k(we,"Hashtag",17),k(we,"LessThan",18),k(we,"MoreThan",19),k(we,"LessThanEquals",20),k(we,"GreaterThanEquals",21),k(we,"Equals_",22),k(we,"NotEquals",23),k(we,"MultiplyAssign",24),k(we,"DivideAssign",25),k(we,"ModulusAssign",26),k(we,"PlusAssign",27),k(we,"MinusAssign",28),k(we,"ARROW",29),k(we,"ColonEquals",30),k(we,"BooleanLiteral",31),k(we,"IntegerLiteral",32),k(we,"DecimalLiteral",33),k(we,"Break",34),k(we,"And",35),k(we,"Export",36),k(we,"For",37),k(we,"Var",38),k(we,"Continue",39),k(we,"Varip",40),k(we,"Switch",41),k(we,"While",42),k(we,"If",43),k(we,"In",44),k(we,"Or",45),k(we,"Not",46),k(we,"Method",47),k(we,"Else",48),k(we,"To",49),k(we,"By",50),k(we,"Type",51),k(we,"Import",52),k(we,"As",53),k(we,"Enum",54),k(we,"Map",55),k(we,"ColorLiteral",56),k(we,"StringLiteral",57),k(we,"Identifier",58),k(we,"HIDDEN_",59),k(we,"COMMENT_",60),k(we,"NEWLINE",61),k(we,"EOF",pp.EOF),k(we,"channelNames",["DEFAULT_TOKEN_CHANNEL","HIDDEN"]),k(we,"literalNames",[null,null,null,"'.'","'['","']'","'('","')'","','","'='","'?'","':'","'+'","'-'","'*'","'/'","'%'","'#'","'<'","'>'","'<='","'>='","'=='","'!='","'*='","'/='","'%='","'+='","'-='","'=>'","':='",null,null,null,"'break'","'and'","'export'","'for'","'var'","'continue'","'varip'","'switch'","'while'","'if'","'in'","'or'","'not'","'method'","'else'","'to'","'by'","'type'","'import'","'as'","'enum'","'map'"]),k(we,"symbolicNames",[null,"INDENT","DEDENT","Point","OpenBracket","CloseBracket","OpenParen","CloseParen","Comma","Assign","QuestionMark","Colon","Plus","Minus","Multiply","Divide","Modulus","Hashtag","LessThan","MoreThan","LessThanEquals","GreaterThanEquals","Equals_","NotEquals","MultiplyAssign","DivideAssign","ModulusAssign","PlusAssign","MinusAssign","ARROW","ColonEquals","BooleanLiteral","IntegerLiteral","DecimalLiteral","Break","And","Export","For","Var","Continue","Varip","Switch","While","If","In","Or","Not","Method","Else","To","By","Type","Import","As","Enum","Map","ColorLiteral","StringLiteral","Identifier","HIDDEN_","COMMENT_","NEWLINE"]),k(we,"modeNames",["DEFAULT_MODE"]),k(we,"ruleNames",["Point","OpenBracket","CloseBracket","OpenParen","CloseParen","Comma","Assign","QuestionMark","Colon","Plus","Minus","Multiply","Divide","Modulus","Hashtag","LessThan","MoreThan","LessThanEquals","GreaterThanEquals","Equals_","NotEquals","MultiplyAssign","DivideAssign","ModulusAssign","PlusAssign","MinusAssign","ARROW","ColonEquals","BooleanLiteral","IntegerLiteral","DecimalLiteral","Break","And","Export","For","Var","Continue","Varip","Switch","While","If","In","Or","Not","Method","Else","To","By","Type","Import","As","Enum","Map","ColorLiteral","StringLiteral","Identifier","HIDDEN_","COMMENT_","NEWLINE","SHORT_STRING","DIGIT","DIGITS","HEX_DIGIT","SPACES","COMMENT","EXP"]),k(we,"_serializedATN",[4,0,61,447,6,-1,2,0,7,0,2,1,7,1,2,2,7,2,2,3,7,3,2,4,7,4,2,5,7,5,2,6,7,6,2,7,7,7,2,8,7,8,2,9,7,9,2,10,7,10,2,11,7,11,2,12,7,12,2,13,7,13,2,14,7,14,2,15,7,15,2,16,7,16,2,17,7,17,2,18,7,18,2,19,7,19,2,20,7,20,2,21,7,21,2,22,7,22,2,23,7,23,2,24,7,24,2,25,7,25,2,26,7,26,2,27,7,27,2,28,7,28,2,29,7,29,2,30,7,30,2,31,7,31,2,32,7,32,2,33,7,33,2,34,7,34,2,35,7,35,2,36,7,36,2,37,7,37,2,38,7,38,2,39,7,39,2,40,7,40,2,41,7,41,2,42,7,42,2,43,7,43,2,44,7,44,2,45,7,45,2,46,7,46,2,47,7,47,2,48,7,48,2,49,7,49,2,50,7,50,2,51,7,51,2,52,7,52,2,53,7,53,2,54,7,54,2,55,7,55,2,56,7,56,2,57,7,57,2,58,7,58,2,59,7,59,2,60,7,60,2,61,7,61,2,62,7,62,2,63,7,63,2,64,7,64,2,65,7,65,1,0,1,0,1,1,1,1,1,1,1,2,1,2,1,2,1,3,1,3,1,3,1,4,1,4,1,4,1,5,1,5,1,6,1,6,1,7,1,7,1,8,1,8,1,9,1,9,1,10,1,10,1,11,1,11,1,12,1,12,1,13,1,13,1,14,1,14,1,15,1,15,1,16,1,16,1,17,1,17,1,17,1,18,1,18,1,18,1,19,1,19,1,19,1,20,1,20,1,20,1,21,1,21,1,21,1,22,1,22,1,22,1,23,1,23,1,23,1,24,1,24,1,24,1,25,1,25,1,25,1,26,1,26,1,26,1,27,1,27,1,27,1,28,1,28,1,28,1,28,1,28,1,28,1,28,1,28,1,28,3,28,214,8,28,1,29,1,29,1,30,1,30,1,30,3,30,221,8,30,1,30,1,30,1,30,1,30,3,30,227,8,30,3,30,229,8,30,1,30,3,30,232,8,30,3,30,234,8,30,1,31,1,31,1,31,1,31,1,31,1,31,1,32,1,32,1,32,1,32,1,33,1,33,1,33,1,33,1,33,1,33,1,33,1,34,1,34,1,34,1,34,1,35,1,35,1,35,1,35,1,36,1,36,1,36,1,36,1,36,1,36,1,36,1,36,1,36,1,37,1,37,1,37,1,37,1,37,1,37,1,38,1,38,1,38,1,38,1,38,1,38,1,38,1,39,1,39,1,39,1,39,1,39,1,39,1,40,1,40,1,40,1,41,1,41,1,41,1,42,1,42,1,42,1,43,1,43,1,43,1,43,1,44,1,44,1,44,1,44,1,44,1,44,1,44,1,45,1,45,1,45,1,45,1,45,1,46,1,46,1,46,1,47,1,47,1,47,1,48,1,48,1,48,1,48,1,48,1,49,1,49,1,49,1,49,1,49,1,49,1,49,1,50,1,50,1,50,1,51,1,51,1,51,1,51,1,51,1,52,1,52,1,52,1,52,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,3,53,362,8,53,1,54,1,54,1,55,1,55,5,55,368,8,55,10,55,12,55,371,9,55,1,56,1,56,1,56,1,56,1,57,1,57,1,57,1,57,1,58,1,58,1,58,3,58,384,8,58,1,58,1,58,3,58,388,8,58,1,58,3,58,391,8,58,3,58,393,8,58,1,58,1,58,1,59,1,59,1,59,1,59,5,59,401,8,59,10,59,12,59,404,9,59,1,59,1,59,1,59,1,59,1,59,5,59,411,8,59,10,59,12,59,414,9,59,1,59,3,59,417,8,59,1,60,1,60,1,61,4,61,422,8,61,11,61,12,61,423,1,62,1,62,1,63,4,63,429,8,63,11,63,12,63,430,1,64,1,64,1,64,1,64,5,64,437,8,64,10,64,12,64,440,9,64,1,65,1,65,3,65,444,8,65,1,65,1,65,0,0,66,1,3,3,4,5,5,7,6,9,7,11,8,13,9,15,10,17,11,19,12,21,13,23,14,25,15,27,16,29,17,31,18,33,19,35,20,37,21,39,22,41,23,43,24,45,25,47,26,49,27,51,28,53,29,55,30,57,31,59,32,61,33,63,34,65,35,67,36,69,37,71,38,73,39,75,40,77,41,79,42,81,43,83,44,85,45,87,46,89,47,91,48,93,49,95,50,97,51,99,52,101,53,103,54,105,55,107,56,109,57,111,58,113,59,115,60,117,61,119,0,121,0,123,0,125,0,127,0,129,0,131,0,1,0,10,3,0,65,90,95,95,97,122,4,0,48,57,65,90,95,95,97,122,1,0,39,39,1,0,34,34,1,0,48,57,3,0,48,57,65,70,97,102,3,0,9,9,32,32,160,160,2,0,10,10,12,13,2,0,69,69,101,101,2,0,43,43,45,45,460,0,1,1,0,0,0,0,3,1,0,0,0,0,5,1,0,0,0,0,7,1,0,0,0,0,9,1,0,0,0,0,11,1,0,0,0,0,13,1,0,0,0,0,15,1,0,0,0,0,17,1,0,0,0,0,19,1,0,0,0,0,21,1,0,0,0,0,23,1,0,0,0,0,25,1,0,0,0,0,27,1,0,0,0,0,29,1,0,0,0,0,31,1,0,0,0,0,33,1,0,0,0,0,35,1,0,0,0,0,37,1,0,0,0,0,39,1,0,0,0,0,41,1,0,0,0,0,43,1,0,0,0,0,45,1,0,0,0,0,47,1,0,0,0,0,49,1,0,0,0,0,51,1,0,0,0,0,53,1,0,0,0,0,55,1,0,0,0,0,57,1,0,0,0,0,59,1,0,0,0,0,61,1,0,0,0,0,63,1,0,0,0,0,65,1,0,0,0,0,67,1,0,0,0,0,69,1,0,0,0,0,71,1,0,0,0,0,73,1,0,0,0,0,75,1,0,0,0,0,77,1,0,0,0,0,79,1,0,0,0,0,81,1,0,0,0,0,83,1,0,0,0,0,85,1,0,0,0,0,87,1,0,0,0,0,89,1,0,0,0,0,91,1,0,0,0,0,93,1,0,0,0,0,95,1,0,0,0,0,97,1,0,0,0,0,99,1,0,0,0,0,101,1,0,0,0,0,103,1,0,0,0,0,105,1,0,0,0,0,107,1,0,0,0,0,109,1,0,0,0,0,111,1,0,0,0,0,113,1,0,0,0,0,115,1,0,0,0,0,117,1,0,0,0,1,133,1,0,0,0,3,135,1,0,0,0,5,138,1,0,0,0,7,141,1,0,0,0,9,144,1,0,0,0,11,147,1,0,0,0,13,149,1,0,0,0,15,151,1,0,0,0,17,153,1,0,0,0,19,155,1,0,0,0,21,157,1,0,0,0,23,159,1,0,0,0,25,161,1,0,0,0,27,163,1,0,0,0,29,165,1,0,0,0,31,167,1,0,0,0,33,169,1,0,0,0,35,171,1,0,0,0,37,174,1,0,0,0,39,177,1,0,0,0,41,180,1,0,0,0,43,183,1,0,0,0,45,186,1,0,0,0,47,189,1,0,0,0,49,192,1,0,0,0,51,195,1,0,0,0,53,198,1,0,0,0,55,201,1,0,0,0,57,213,1,0,0,0,59,215,1,0,0,0,61,233,1,0,0,0,63,235,1,0,0,0,65,241,1,0,0,0,67,245,1,0,0,0,69,252,1,0,0,0,71,256,1,0,0,0,73,260,1,0,0,0,75,269,1,0,0,0,77,275,1,0,0,0,79,282,1,0,0,0,81,288,1,0,0,0,83,291,1,0,0,0,85,294,1,0,0,0,87,297,1,0,0,0,89,301,1,0,0,0,91,308,1,0,0,0,93,313,1,0,0,0,95,316,1,0,0,0,97,319,1,0,0,0,99,324,1,0,0,0,101,331,1,0,0,0,103,334,1,0,0,0,105,339,1,0,0,0,107,361,1,0,0,0,109,363,1,0,0,0,111,365,1,0,0,0,113,372,1,0,0,0,115,376,1,0,0,0,117,392,1,0,0,0,119,416,1,0,0,0,121,418,1,0,0,0,123,421,1,0,0,0,125,425,1,0,0,0,127,428,1,0,0,0,129,432,1,0,0,0,131,441,1,0,0,0,133,134,5,46,0,0,134,2,1,0,0,0,135,136,5,91,0,0,136,137,6,1,0,0,137,4,1,0,0,0,138,139,5,93,0,0,139,140,6,2,1,0,140,6,1,0,0,0,141,142,5,40,0,0,142,143,6,3,2,0,143,8,1,0,0,0,144,145,5,41,0,0,145,146,6,4,3,0,146,10,1,0,0,0,147,148,5,44,0,0,148,12,1,0,0,0,149,150,5,61,0,0,150,14,1,0,0,0,151,152,5,63,0,0,152,16,1,0,0,0,153,154,5,58,0,0,154,18,1,0,0,0,155,156,5,43,0,0,156,20,1,0,0,0,157,158,5,45,0,0,158,22,1,0,0,0,159,160,5,42,0,0,160,24,1,0,0,0,161,162,5,47,0,0,162,26,1,0,0,0,163,164,5,37,0,0,164,28,1,0,0,0,165,166,5,35,0,0,166,30,1,0,0,0,167,168,5,60,0,0,168,32,1,0,0,0,169,170,5,62,0,0,170,34,1,0,0,0,171,172,5,60,0,0,172,173,5,61,0,0,173,36,1,0,0,0,174,175,5,62,0,0,175,176,5,61,0,0,176,38,1,0,0,0,177,178,5,61,0,0,178,179,5,61,0,0,179,40,1,0,0,0,180,181,5,33,0,0,181,182,5,61,0,0,182,42,1,0,0,0,183,184,5,42,0,0,184,185,5,61,0,0,185,44,1,0,0,0,186,187,5,47,0,0,187,188,5,61,0,0,188,46,1,0,0,0,189,190,5,37,0,0,190,191,5,61,0,0,191,48,1,0,0,0,192,193,5,43,0,0,193,194,5,61,0,0,194,50,1,0,0,0,195,196,5,45,0,0,196,197,5,61,0,0,197,52,1,0,0,0,198,199,5,61,0,0,199,200,5,62,0,0,200,54,1,0,0,0,201,202,5,58,0,0,202,203,5,61,0,0,203,56,1,0,0,0,204,205,5,116,0,0,205,206,5,114,0,0,206,207,5,117,0,0,207,214,5,101,0,0,208,209,5,102,0,0,209,210,5,97,0,0,210,211,5,108,0,0,211,212,5,115,0,0,212,214,5,101,0,0,213,204,1,0,0,0,213,208,1,0,0,0,214,58,1,0,0,0,215,216,3,123,61,0,216,60,1,0,0,0,217,218,5,46,0,0,218,220,3,123,61,0,219,221,3,131,65,0,220,219,1,0,0,0,220,221,1,0,0,0,221,234,1,0,0,0,222,231,3,123,61,0,223,228,5,46,0,0,224,226,3,123,61,0,225,227,3,131,65,0,226,225,1,0,0,0,226,227,1,0,0,0,227,229,1,0,0,0,228,224,1,0,0,0,228,229,1,0,0,0,229,232,1,0,0,0,230,232,3,131,65,0,231,223,1,0,0,0,231,230,1,0,0,0,232,234,1,0,0,0,233,217,1,0,0,0,233,222,1,0,0,0,234,62,1,0,0,0,235,236,5,98,0,0,236,237,5,114,0,0,237,238,5,101,0,0,238,239,5,97,0,0,239,240,5,107,0,0,240,64,1,0,0,0,241,242,5,97,0,0,242,243,5,110,0,0,243,244,5,100,0,0,244,66,1,0,0,0,245,246,5,101,0,0,246,247,5,120,0,0,247,248,5,112,0,0,248,249,5,111,0,0,249,250,5,114,0,0,250,251,5,116,0,0,251,68,1,0,0,0,252,253,5,102,0,0,253,254,5,111,0,0,254,255,5,114,0,0,255,70,1,0,0,0,256,257,5,118,0,0,257,258,5,97,0,0,258,259,5,114,0,0,259,72,1,0,0,0,260,261,5,99,0,0,261,262,5,111,0,0,262,263,5,110,0,0,263,264,5,116,0,0,264,265,5,105,0,0,265,266,5,110,0,0,266,267,5,117,0,0,267,268,5,101,0,0,268,74,1,0,0,0,269,270,5,118,0,0,270,271,5,97,0,0,271,272,5,114,0,0,272,273,5,105,0,0,273,274,5,112,0,0,274,76,1,0,0,0,275,276,5,115,0,0,276,277,5,119,0,0,277,278,5,105,0,0,278,279,5,116,0,0,279,280,5,99,0,0,280,281,5,104,0,0,281,78,1,0,0,0,282,283,5,119,0,0,283,284,5,104,0,0,284,285,5,105,0,0,285,286,5,108,0,0,286,287,5,101,0,0,287,80,1,0,0,0,288,289,5,105,0,0,289,290,5,102,0,0,290,82,1,0,0,0,291,292,5,105,0,0,292,293,5,110,0,0,293,84,1,0,0,0,294,295,5,111,0,0,295,296,5,114,0,0,296,86,1,0,0,0,297,298,5,110,0,0,298,299,5,111,0,0,299,300,5,116,0,0,300,88,1,0,0,0,301,302,5,109,0,0,302,303,5,101,0,0,303,304,5,116,0,0,304,305,5,104,0,0,305,306,5,111,0,0,306,307,5,100,0,0,307,90,1,0,0,0,308,309,5,101,0,0,309,310,5,108,0,0,310,311,5,115,0,0,311,312,5,101,0,0,312,92,1,0,0,0,313,314,5,116,0,0,314,315,5,111,0,0,315,94,1,0,0,0,316,317,5,98,0,0,317,318,5,121,0,0,318,96,1,0,0,0,319,320,5,116,0,0,320,321,5,121,0,0,321,322,5,112,0,0,322,323,5,101,0,0,323,98,1,0,0,0,324,325,5,105,0,0,325,326,5,109,0,0,326,327,5,112,0,0,327,328,5,111,0,0,328,329,5,114,0,0,329,330,5,116,0,0,330,100,1,0,0,0,331,332,5,97,0,0,332,333,5,115,0,0,333,102,1,0,0,0,334,335,5,101,0,0,335,336,5,110,0,0,336,337,5,117,0,0,337,338,5,109,0,0,338,104,1,0,0,0,339,340,5,109,0,0,340,341,5,97,0,0,341,342,5,112,0,0,342,106,1,0,0,0,343,344,5,35,0,0,344,345,3,125,62,0,345,346,3,125,62,0,346,347,3,125,62,0,347,348,3,125,62,0,348,349,3,125,62,0,349,350,3,125,62,0,350,362,1,0,0,0,351,352,5,35,0,0,352,353,3,125,62,0,353,354,3,125,62,0,354,355,3,125,62,0,355,356,3,125,62,0,356,357,3,125,62,0,357,358,3,125,62,0,358,359,3,125,62,0,359,360,3,125,62,0,360,362,1,0,0,0,361,343,1,0,0,0,361,351,1,0,0,0,362,108,1,0,0,0,363,364,3,119,59,0,364,110,1,0,0,0,365,369,7,0,0,0,366,368,7,1,0,0,367,366,1,0,0,0,368,371,1,0,0,0,369,367,1,0,0,0,369,370,1,0,0,0,370,112,1,0,0,0,371,369,1,0,0,0,372,373,3,127,63,0,373,374,1,0,0,0,374,375,6,56,4,0,375,114,1,0,0,0,376,377,3,129,64,0,377,378,1,0,0,0,378,379,6,57,5,0,379,116,1,0,0,0,380,381,4,58,0,0,381,393,3,127,63,0,382,384,5,13,0,0,383,382,1,0,0,0,383,384,1,0,0,0,384,385,1,0,0,0,385,388,5,10,0,0,386,388,2,12,13,0,387,383,1,0,0,0,387,386,1,0,0,0,388,390,1,0,0,0,389,391,3,127,63,0,390,389,1,0,0,0,390,391,1,0,0,0,391,393,1,0,0,0,392,380,1,0,0,0,392,387,1,0,0,0,393,394,1,0,0,0,394,395,6,58,6,0,395,118,1,0,0,0,396,402,5,39,0,0,397,401,8,2,0,0,398,399,5,92,0,0,399,401,5,39,0,0,400,397,1,0,0,0,400,398,1,0,0,0,401,404,1,0,0,0,402,400,1,0,0,0,402,403,1,0,0,0,403,405,1,0,0,0,404,402,1,0,0,0,405,417,5,39,0,0,406,412,5,34,0,0,407,411,8,3,0,0,408,409,5,92,0,0,409,411,5,34,0,0,410,407,1,0,0,0,410,408,1,0,0,0,411,414,1,0,0,0,412,410,1,0,0,0,412,413,1,0,0,0,413,415,1,0,0,0,414,412,1,0,0,0,415,417,5,34,0,0,416,396,1,0,0,0,416,406,1,0,0,0,417,120,1,0,0,0,418,419,7,4,0,0,419,122,1,0,0,0,420,422,3,121,60,0,421,420,1,0,0,0,422,423,1,0,0,0,423,421,1,0,0,0,423,424,1,0,0,0,424,124,1,0,0,0,425,426,7,5,0,0,426,126,1,0,0,0,427,429,7,6,0,0,428,427,1,0,0,0,429,430,1,0,0,0,430,428,1,0,0,0,430,431,1,0,0,0,431,128,1,0,0,0,432,433,5,47,0,0,433,434,5,47,0,0,434,438,1,0,0,0,435,437,8,7,0,0,436,435,1,0,0,0,437,440,1,0,0,0,438,436,1,0,0,0,438,439,1,0,0,0,439,130,1,0,0,0,440,438,1,0,0,0,441,443,7,8,0,0,442,444,7,9,0,0,443,442,1,0,0,0,443,444,1,0,0,0,444,445,1,0,0,0,445,446,3,123,61,0,446,132,1,0,0,0,22,0,213,220,226,228,231,233,361,369,383,387,390,392,400,402,410,412,416,423,430,438,443,7,1,1,0,1,2,1,1,3,2,1,4,3,0,1,0,0,2,0,1,58,4]),k(we,"__ATN"),k(we,"DecisionsToDFA",we._ATN.decisionToState.map((e,n)=>new fp(e,n)));let El=we;var U=(t=>(t.BOOL="bool",t.INT="int",t.FLOAT="float",t.ARRAY="array",t.BOX="box",t.CHART_POINT="chart.point",t.COLOR="color",t.CONST="const",t.LABEL="label",t.LINE="line",t.LINEFILL="linefill",t.MAP="map",t.MATRIX="matrix",t.POLYLINE="polyline",t.SERIES="series",t.SIMPLE="simple",t.STRING="string",t.TABLE="table",t.UNDETERMINED="undetermined type",t.INPUT="input",t.NA="na",t.VOID="void",t.ENUM="enum",t))(U||{}),le=(t=>(t.FlowStmt="FlowStmt",t.DeclareAssign="DeclareAssign",t.VarBlockStmt="VarBlockStmt",t.VarSingle="VarSingle",t.VarMultiple="VarMultiple",t.ParenthesizedExpression="ParenthesizedExpression",t.AdditiveExpression="AdditiveExpression",t.RelationalExpression="RelationalExpression",t.EqualityExpression="EqualityExpression",t.TernaryExpression="TernaryExpression",t.UnaryExpression="UnaryExpression",t.NotExpression="NotExpression",t.MemberIndexExpression="MemberIndexExpression",t.MethodExpression="MethodExpression",t.LogicalAndExpression="LogicalAndExpression",t.LogicalOrExpression="LogicalOrExpression",t.MultiplicativeExpression="MultiplicativeExpression",t.Brackethesized="Brackethesized",t.IfStatement="IfStatement",t.ForToStatement="ForToStatement",t.ForInStatement="ForInStatement",t.SwitchStatement="SwitchStatement",t.CaseClause="CaseClause",t.DefaultCaluse="DefaultCaluse",t.WhileStatement="WhileStatement",t.ImportElement="ImportElement",t.Literal="Literal",t.ArrowFunction="ArrowFunction",t.ArrowMethod="ArrowMethod",t.TypeStatement="TypeStatement",t.Name="Name",t.AgainAssign="AgainAssign",t.EnumStatement="EnumStatement",t))(le||{}),Kt=(t=>(t.description="description",t.field="field",t.function="function",t.param="param",t.returns="returns",t.type="type",t.variable="variable",t.enum="enum",t))(Kt||{}),Ii=(t=>(t.library="library",t.indicator="indicator",t.strategy="strategy",t))(Ii||{});const de={onlyInLoop:"'$text' is only allowed inside loops",invalidType:"Invalid argument 'expr$index' in 'operator SQBR' call",typeUseError:"Cannot specify a type form '$text' without also specifying the type.",notTypeKeyword:"'$text' is not a valid type keyword in variable declaration",undeclared:"Undeclared identifier '$name'",repeatVar:"'$name' is already defined",typeRepeatErr:"$keyword '$name' is already defined.",typeMismatch:"Cannot call '$operator' with argument '$index'. An argument of '$typeE' type was used but a '$typeR' is expected.",assignTypeMismatch:"Cannot assign a value of the `$typeE` type to the '$name' variable. The variable is declared with the `$typeR` type.",voidNotVar:"Void expression cannot be assigned to a variable",declareTypeErr:"Declared type '$type' is not compatible with assigned type '$valueType'",mapKeyValErr:"Cannot put <$typeA, $typeB> pairs into a map containing `$typeC` keys and `$typeD` values. The maps passed into the `$name()` function must have the same key types and value types.",inputSourceErr:"Invalid value for the '$name' parameter of the '$funcName' function. Possible values: [open, high, low, close, hl2, hlc3, ohlc4, hlcc4, volume].",buildInUseErr:"Cannot use '$name' as the default value of a type's field. The default value cannot be a function, variable or calculation.",argsLenErr:"Too many arguments passed into the `$name()` function call. Passed $lenA arguments but expected $lenB.",requiredParamErr:"No value assigned to the `$argName` parameter in $name()",argsSyntaxErr:"Syntax error after the argument for `$argName`. Arguments without their parameter name cannot be used after arguments with parameter names.",requestArgsErr:"Type $type cannot be used in $name '$argName' argument",mapKeyErr:"Incorrect `key` type `$type` in the variable. The `key` type must be one of the following: int, float, string, bool, color.",templateErr:"Incorrect number of arguments for the template: $countA expected, $countB passed.",templateNoSupportErr:"The '$name()' function does not support templates",ifOrSwitchTypeErr:"Return type of one of the '$keyword' blocks is not compatible with return type of other block(s) ($types)",argsNameErr:"The '$name' function does not have an argument with the name '$argName'",noFiledErr:"Object has no field $name",methodNotExistErr:"Could not find method or method reference '$methodName' for '$name'",tupleVarErr:"Syntax error: The quantities of tuple elements on each side of the assignment operator do not match. The right side has $indexA but the left side has $indexB.",tupleLeftVarErr:"Invalid assignment. Cannot assign a tuple to a variable '$name'.",tupleRightVarErr:"Cannot assign a variable to a tuple. The right side must be a function call or structure ('if', 'switch', 'for', 'while') returning a tuple with the same number of elements.",tempateTypeErr:"Syntax error: Only templates for arrays and matrices consist of a single type identifier enclosed in angle brackets.",qualifierErr:"'$name' is not a valid type qualifier. Possible values: 'const', 'simple', 'series'",notFindFuncErr:"Could not find function or function reference '$name'",naVarErr:"Value with NA type cannot be assigned to a variable that was defined without type keyword",notHistoryErr:"Variable '$name' doesn't have history values",defaultValueErr:"The default value cannot be a function, variable or calculation.",defaultValueTypeErr:"Default value of type $typeE can not be assigned to an argument of type $typeR",typeFieldErr:"In a type declaration, all fields without a default value must be explicitly typified.",unaryErr:"Syntax error at input '$sign'",funcArgAssignErr:"Function arguments cannot be mutable ('$name')",declaredErr:"A variable declared with the '$prefix' keyword cannot accept values of the '$type' form. Assign a '$prefix' value to this variable or remove the '$prefix' keyword from its declaration.",globalFuncErr:"Cannot use '$name' in local scope",onlyStatementErr:"Scripts must contain one declaration statement: `indicator()`, `strategy()` or `library()`, Your script has $count.",modifyGlobalVarErr:"Cannot modify global variable '$name' in function",inputDefvalErr:"Arguments of input function must be of constant type, or 'source' builtin variables.",objectIsNaErr:"Cannot access the '$name' $type of an na object. The object is 'na'.",buidinAssignErr:"Cannot assign a new value to the built-in variable '$name'.",buidinVarErr:"Cannot shadow the built-in variable `$name` because it has already been used as a built-in.",useNaErr:"Cannot use an `na` value of an unspecified type in the `$name` function.",libraryTitleErr:"Invalid argument 'title' in 'library' call. It cannot contain spaces, special characters or begin with a digit.",exportFuncArgErr:"All exported functions args should be typified",indiRunErr:"An indicator must contain at least one of the following: any `plot*()` function, `barcolor()`, `bgcolor()`, `hline()`, `alertcondition()`, or any drawing (line, label, box, table, polyline).",libraryExportErr:"A library must contain at least one exported function, method, or type.",strategyRunErr:"A strategy must contain at least one of the following: any `strategy.*()` function that creates orders, any `plot*()` function, `barcolor()`, `bgcolor()`, `hline()`, or any drawing (line, label, box, table, polyline).",exportUseErr:"Only libraries can contain exported $type.",funcRepeatErr:"The '$name' function has overloads with the same parameters. The type of parameters must be different in overloaded versions of functions.",importMultipleErr:"Cannot import a library more than once",importNotExitErr:"The user '$username' does not have a published library titled '$libraryName'",importNameRepeatErr:"More than one import uses the same alias: $name. Previous usage at line: $line",exportFuncHasInputErr:"The exported function '$func' depends on the '$name' input variable, which is not allowed.",libraryTitleIsKeywordErr:"Invalid argument 'title' in 'library' call. Token: '$name' can't be used as library title.",exportFuncUseGlobalVarErr:"Cannot use global variables in exported functions. Function: $func",loopRuntimeErr:"Loop takes too long to execute (> 500 ms)",paramsErr:"Invalid value '$value' for '$param' parameter of the '$func' function. Possible values: $targetVal",displayErr:"Invalid argument 'display' in '$func' call. Possible values: $values",exportFuncUseReqErr:"Cannot use `request.*()` call in exported function `$name()`",requestExprErr:"Type series $type cannot be used in $name 'expression' argument",argDefaultErr:"The default value assigned to a parameter must be either a literal value (e.g., `5`) or a built-in variable (e.g., `close`)",overloadFuncErr:"Cannot use global variables or any values qualified as 'input' in the local scopes of overloaded functions or methods. Remove any global variables or inputs from the scopes of all '$name()' overloads.",againAssignErr:"Unable to determine the object for the field assignment. Try putting the object into a separate variable before assigning values to its fields.",requestUserInLoopErr:"Cannot use `request.*()` call within loops or conditional structures.",enumVarNameErr:"Invalid enum name '$name': `bool`, `int`, `float`, `string`, and `color` are not allowed.",enumVarNameBuiltinErr:"Invalid object name: $name. Namespaces of built-ins cannot be used.",typeNameErr:"Invalid user-defined type name '$name': `bool`, `int`, `float`, `string`, and `color` are not allowed.",enumUseErr:"Cannot use the '$name' as a value. Use one of the enum's fields instead.",conditionalErr:"'$name' conditional expression must be of a bool type!",fortoErr:'The value of the "for" loop must be a number.',indicatorUseStrategyFuncErr:"You cannot use strategy $type ($name) in indicator script.",arrEmptyErr:"Array must not be empty",arrLengthDiffErr:"Arrays have different lengths",arrTypeErr:"数组类型错误,array.$name方法只能使用$type类型数组!",inputOptErr:"input's defval should be in options, but '$defval' is not in [$args]",mathRandomErr:"min must be less than max",matrixRehapeErr:"New matrix must be of same area as original matrix",strategyExitErr:"strategy.exit must have at least one of the following parameters: 'profit', 'limit', 'loss', 'stop' or one of the following pairs: 'trail_offset' and 'trail_price' / 'trail_points'. To close the position at market price, use 'strategy.close'",arrLenErr:"Invalid array length"},Dr={repeatVar:"Shadowing variable '$name' which exists in parent scope. Did you want to use the ':=' operator instead of '=' ?",typeMismatch:"The `$index` parameter of the `$operator` function accepts a '$type' argument. To avoid potential unexpected results, pass a '$type' value or expression to this parameter.",moreSameArg:"More than one '$arg' arguments are supplied. Only the first one will be used.",localScopeGetHistory:"The variable '$name' is declared in local scope, which may not be executed at every update. So, obtaining its historical values may lead to unexpected results",localScopeWarning:"The function '$name' should be called on each calculation for consistency. It is recommended to extract the call from this scope",strategyCalcTickWarn:"Strategies without `calc_on_every_tick = true` only calculate on confirmed chart bars. In this case, `barstate.islast` may not initially return `true` on realtime bars, as the last bar is unconfirmed until it closes. If you need to check whether a bar is the latest before it closes, enable `calc_on_every_tick` in the `strategy()` function.",conditionWarning:"The `condition` parameter of the `$name` accepts a 'bool' argument. To avoid potential unexpected results, pass a 'bool' value or expression to this parameter."},Pi=[U.SERIES,U.SIMPLE,U.INPUT,U.CONST],lu=[U.INT,U.FLOAT,U.BOOL,U.COLOR,U.STRING],Sl=["indicator","strategy","library"],Tl=["plot","plotbar","plotchar","plotarrow","plotshape","plotcandle","hline","alertcondition","barcolor","bgcolor","fill"],F_=[...Tl,"indicator","library","strategy","strategy.risk.max_drawdown","strategy.risk.allow_entry_in","strategy.risk.max_cons_loss_days","max_intraday_filled_orders","strategy.risk.max_intraday_loss","strategy.risk.max_position_size"],L_=[...Tl,"table.new","label.new","line.new","box.new","polyline.new","linefill.new"],M_=["strategy.entry","strategy.order","strategy.exit","strategy.close","strategy.cancel","strategy.close_all","strategy.cancel_all"],Ip=["strategy","input","table","color","line","linefill","label","box"],Al=["close","open","high","low","hl2","hlc3","hlcc4","ohlc4","volume"],B_=/^\/\/\s*@(description|field|function|param|returns|type|enum|variable)/,kn=["case","catch","default","delete","do","finally","function","instanceof","new","return","this","throw","try","typeof","void","with"],Pp=["session","ta","syminfo","timeframe","strategy","barstate","label","line","linefill","box","table","chart","earnings","polyline","math","adjustment","hline","position","size","plot","format","dayofweek","shape","location","scale","currency","barmerge","xloc","yloc","extend","display","text","font","order","alert","dividends","splits","color","input","str","request","ticker","array","matrix","runtime","log","map"];var Fp=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},U_={exports:{}};(function(t,e){(function(n,r){t.exports=r()})(Fp,function(){var n=1e3,r=6e4,s=36e5,l="millisecond",h="second",m="minute",v="hour",S="day",C="week",T="month",I="quarter",B="year",L="date",b="Invalid Date",y=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,g=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,O={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(ge){var ne=["th","st","nd","rd"],pe=ge%100;return"["+ge+(ne[(pe-20)%10]||ne[pe]||ne[0])+"]"}},R=function(ge,ne,pe){var fe=String(ge);return!fe||fe.length>=ne?ge:""+Array(ne+1-fe.length).join(pe)+ge},D={s:R,z:function(ge){var ne=-ge.utcOffset(),pe=Math.abs(ne),fe=Math.floor(pe/60),Oe=pe%60;return(ne<=0?"+":"-")+R(fe,2,"0")+":"+R(Oe,2,"0")},m:function ge(ne,pe){if(ne.date()<pe.date())return-ge(pe,ne);var fe=12*(pe.year()-ne.year())+(pe.month()-ne.month()),Oe=ne.clone().add(fe,T),Ie=pe-Oe<0,ve=ne.clone().add(fe+(Ie?-1:1),T);return+(-(fe+(pe-Oe)/(Ie?Oe-ve:ve-Oe))||0)},a:function(ge){return ge<0?Math.ceil(ge)||0:Math.floor(ge)},p:function(ge){return{M:T,y:B,w:C,d:S,D:L,h:v,m,s:h,ms:l,Q:I}[ge]||String(ge||"").toLowerCase().replace(/s$/,"")},u:function(ge){return ge===void 0}},H="en",X={};X[H]=O;var ee="$isDayjsObject",z=function(ge){return ge instanceof Q||!(!ge||!ge[ee])},q=function ge(ne,pe,fe){var Oe;if(!ne)return H;if(typeof ne=="string"){var Ie=ne.toLowerCase();X[Ie]&&(Oe=Ie),pe&&(X[Ie]=pe,Oe=Ie);var ve=ne.split("-");if(!Oe&&ve.length>1)return ge(ve[0])}else{var Ue=ne.name;X[Ue]=ne,Oe=Ue}return!fe&&Oe&&(H=Oe),Oe||!fe&&H},$=function(ge,ne){if(z(ge))return ge.clone();var pe=typeof ne=="object"?ne:{};return pe.date=ge,pe.args=arguments,new Q(pe)},ce=D;ce.l=q,ce.i=z,ce.w=function(ge,ne){return $(ge,{locale:ne.$L,utc:ne.$u,x:ne.$x,$offset:ne.$offset})};var Q=function(){function ge(pe){this.$L=q(pe.locale,null,!0),this.parse(pe),this.$x=this.$x||pe.x||{},this[ee]=!0}var ne=ge.prototype;return ne.parse=function(pe){this.$d=function(fe){var Oe=fe.date,Ie=fe.utc;if(Oe===null)return new Date(NaN);if(ce.u(Oe))return new Date;if(Oe instanceof Date)return new Date(Oe);if(typeof Oe=="string"&&!/Z$/i.test(Oe)){var ve=Oe.match(y);if(ve){var Ue=ve[2]-1||0,J=(ve[7]||"0").substring(0,3);return Ie?new Date(Date.UTC(ve[1],Ue,ve[3]||1,ve[4]||0,ve[5]||0,ve[6]||0,J)):new Date(ve[1],Ue,ve[3]||1,ve[4]||0,ve[5]||0,ve[6]||0,J)}}return new Date(Oe)}(pe),this.init()},ne.init=function(){var pe=this.$d;this.$y=pe.getFullYear(),this.$M=pe.getMonth(),this.$D=pe.getDate(),this.$W=pe.getDay(),this.$H=pe.getHours(),this.$m=pe.getMinutes(),this.$s=pe.getSeconds(),this.$ms=pe.getMilliseconds()},ne.$utils=function(){return ce},ne.isValid=function(){return this.$d.toString()!==b},ne.isSame=function(pe,fe){var Oe=$(pe);return this.startOf(fe)<=Oe&&Oe<=this.endOf(fe)},ne.isAfter=function(pe,fe){return $(pe)<this.startOf(fe)},ne.isBefore=function(pe,fe){return this.endOf(fe)<$(pe)},ne.$g=function(pe,fe,Oe){return ce.u(pe)?this[fe]:this.set(Oe,pe)},ne.unix=function(){return Math.floor(this.valueOf()/1e3)},ne.valueOf=function(){return this.$d.getTime()},ne.startOf=function(pe,fe){var Oe=this,Ie=!!ce.u(fe)||fe,ve=ce.p(pe),Ue=function(Et,Mt){var gt=ce.w(Oe.$u?Date.UTC(Oe.$y,Mt,Et):new Date(Oe.$y,Mt,Et),Oe);return Ie?gt:gt.endOf(S)},J=function(Et,Mt){return ce.w(Oe.toDate()[Et].apply(Oe.toDate("s"),(Ie?[0,0,0,0]:[23,59,59,999]).slice(Mt)),Oe)},re=this.$W,se=this.$M,Ae=this.$D,be="set"+(this.$u?"UTC":"");switch(ve){case B:return Ie?Ue(1,0):Ue(31,11);case T:return Ie?Ue(1,se):Ue(0,se+1);case C:var At=this.$locale().weekStart||0,jt=(re<At?re+7:re)-At;return Ue(Ie?Ae-jt:Ae+(6-jt),se);case S:case L:return J(be+"Hours",0);case v:return J(be+"Minutes",1);case m:return J(be+"Seconds",2);case h:return J(be+"Milliseconds",3);default:return this.clone()}},ne.endOf=function(pe){return this.startOf(pe,!1)},ne.$set=function(pe,fe){var Oe,Ie=ce.p(pe),ve="set"+(this.$u?"UTC":""),Ue=(Oe={},Oe[S]=ve+"Date",Oe[L]=ve+"Date",Oe[T]=ve+"Month",Oe[B]=ve+"FullYear",Oe[v]=ve+"Hours",Oe[m]=ve+"Minutes",Oe[h]=ve+"Seconds",Oe[l]=ve+"Milliseconds",Oe)[Ie],J=Ie===S?this.$D+(fe-this.$W):fe;if(Ie===T||Ie===B){var re=this.clone().set(L,1);re.$d[Ue](J),re.init(),this.$d=re.set(L,Math.min(this.$D,re.daysInMonth())).$d}else Ue&&this.$d[Ue](J);return this.init(),this},ne.set=function(pe,fe){return this.clone().$set(pe,fe)},ne.get=function(pe){return this[ce.p(pe)]()},ne.add=function(pe,fe){var Oe,Ie=this;pe=Number(pe);var ve=ce.p(fe),Ue=function(se){var Ae=$(Ie);return ce.w(Ae.date(Ae.date()+Math.round(se*pe)),Ie)};if(ve===T)return this.set(T,this.$M+pe);if(ve===B)return this.set(B,this.$y+pe);if(ve===S)return Ue(1);if(ve===C)return Ue(7);var J=(Oe={},Oe[m]=r,Oe[v]=s,Oe[h]=n,Oe)[ve]||1,re=this.$d.getTime()+pe*J;return ce.w(re,this)},ne.subtract=function(pe,fe){return this.add(-1*pe,fe)},ne.format=function(pe){var fe=this,Oe=this.$locale();if(!this.isValid())return Oe.invalidDate||b;var Ie=pe||"YYYY-MM-DDTHH:mm:ssZ",ve=ce.z(this),Ue=this.$H,J=this.$m,re=this.$M,se=Oe.weekdays,Ae=Oe.months,be=Oe.meridiem,At=function(Mt,gt,Ot,Zt){return Mt&&(Mt[gt]||Mt(fe,Ie))||Ot[gt].slice(0,Zt)},jt=function(Mt){return ce.s(Ue%12||12,Mt,"0")},Et=be||function(Mt,gt,Ot){var Zt=Mt<12?"AM":"PM";return Ot?Zt.toLowerCase():Zt};return Ie.replace(g,function(Mt,gt){return gt||function(Ot){switch(Ot){case"YY":return String(fe.$y).slice(-2);case"YYYY":return ce.s(fe.$y,4,"0");case"M":return re+1;case"MM":return ce.s(re+1,2,"0");case"MMM":return At(Oe.monthsShort,re,Ae,3);case"MMMM":return At(Ae,re);case"D":return fe.$D;case"DD":return ce.s(fe.$D,2,"0");case"d":return String(fe.$W);case"dd":return At(Oe.weekdaysMin,fe.$W,se,2);case"ddd":return At(Oe.weekdaysShort,fe.$W,se,3);case"dddd":return se[fe.$W];case"H":return String(Ue);case"HH":return ce.s(Ue,2,"0");case"h":return jt(1);case"hh":return jt(2);case"a":return Et(Ue,J,!0);case"A":return Et(Ue,J,!1);case"m":return String(J);case"mm":return ce.s(J,2,"0");case"s":return String(fe.$s);case"ss":return ce.s(fe.$s,2,"0");case"SSS":return ce.s(fe.$ms,3,"0");case"Z":return ve}return null}(Mt)||ve.replace(":","")})},ne.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},ne.diff=function(pe,fe,Oe){var Ie,ve=this,Ue=ce.p(fe),J=$(pe),re=(J.utcOffset()-this.utcOffset())*r,se=this-J,Ae=function(){return ce.m(ve,J)};switch(Ue){case B:Ie=Ae()/12;break;case T:Ie=Ae();break;case I:Ie=Ae()/3;break;case C:Ie=(se-re)/6048e5;break;case S:Ie=(se-re)/864e5;break;case v:Ie=se/s;break;case m:Ie=se/r;break;case h:Ie=se/n;break;default:Ie=se}return Oe?Ie:ce.a(Ie)},ne.daysInMonth=function(){return this.endOf(T).$D},ne.$locale=function(){return X[this.$L]},ne.locale=function(pe,fe){if(!pe)return this.$L;var Oe=this.clone(),Ie=q(pe,fe,!0);return Ie&&(Oe.$L=Ie),Oe},ne.clone=function(){return ce.w(this.$d,this)},ne.toDate=function(){return new Date(this.valueOf())},ne.toJSON=function(){return this.isValid()?this.toISOString():null},ne.toISOString=function(){return this.$d.toISOString()},ne.toString=function(){return this.$d.toUTCString()},ge}(),_e=Q.prototype;return $.prototype=_e,[["$ms",l],["$s",h],["$m",m],["$H",v],["$W",S],["$M",T],["$y",B],["$D",L]].forEach(function(ge){_e[ge[1]]=function(ne){return this.$g(ne,ge[0],ge[1])}}),$.extend=function(ge,ne){return ge.$i||(ge(ne,Q,$),ge.$i=!0),$},$.locale=q,$.isDayjs=z,$.unix=function(ge){return $(1e3*ge)},$.en=X[H],$.Ls=X,$.p={},$})})(U_);function ye(t,e){return t.replace(/\$(\w+)/g,(n,r)=>String(e[r])||n)}function Lp(t){var e=encodeURI(t),n=btoa(e);return n}class V_ extends c_{constructor(){super(...arguments);k(this,"visitProgram");k(this,"visitGlobalStmt");k(this,"visitBlockStmt");k(this,"visitStmt");k(this,"visitSimpleStmt");k(this,"visitFlowStmt");k(this,"visitBlock");k(this,"visitBlockLine");k(this,"visitVariableDeclarationStmt");k(this,"visitDeclareAssign");k(this,"visitAgainAssign");k(this,"visitVarModifier");k(this,"visitBlockSequence");k(this,"visitExpressionSequence");k(this,"visitExpressionBlockSequence");k(this,"visitVarBlockStmt");k(this,"visitVarSingle");k(this,"visitVarMultiple");k(this,"visitBlockExpression");k(this,"visitParenthesizedExpression");k(this,"visitAdditiveExpression");k(this,"visitRelationalExpression");k(this,"visitTernaryExpression");k(this,"visitLogicalAndExpression");k(this,"visitNameExpression");k(this,"visitLiteralExpression");k(this,"visitLogicalOrExpression");k(this,"visitUnaryExpression");k(this,"visitNotExpression");k(this,"visitMemberIndexExpression");k(this,"visitMethodExpression");k(this,"visitEqualityExpression");k(this,"visitMultiplicativeExpression");k(this,"visitBrackethesized");k(this,"visitArguments");k(this,"visitArgument");k(this,"visitIfStatement");k(this,"visitForToStatement");k(this,"visitForInStatement");k(this,"visitSwitchStatement");k(this,"visitCaseClause");k(this,"visitDefaultCaluse");k(this,"visitWhileStatement");k(this,"visitImportStmt");k(this,"visitImportElement");k(this,"visitLiteral");k(this,"visitMethodStmt");k(this,"visitMethodElement");k(this,"visitMethodName");k(this,"visitArrowFunction");k(this,"visitArrowFunctionParameters");k(this,"visitFormalParameterList");k(this,"visitFormalParameterArg");k(this,"visitArrowMethod");k(this,"visitArrowMethodParameters");k(this,"visitTypeStatement");k(this,"visitTypeElement");k(this,"visitAssignmentOperator");k(this,"visitTypeMap");k(this,"visitTypeSeries");k(this,"visitTypeArray");k(this,"visitTypeGather");k(this,"visitIdentifier");k(this,"visitTypeName");k(this,"visitName");k(this,"visitEnumStatement");k(this,"visitEnumElement")}}class j_ extends V_{constructor(n){super();k(this,"_buildinVariables");k(this,"_buildinTypes");k(this,"_buildinConstants");k(this,"_buildinMethods");k(this,"_buildinFunctions");this._buildinVariables=new Map,this._buildinConstants=new Map,this._buildinFunctions=new Map,this._buildinTypes=new Map,this._buildinMethods=new Map,this._buildinHandle(n)}_buildinHandle(n){for(const r in n){const s=new Map(Object.entries(n[r]));switch(r){case"constants":this._buildinConstants=s;break;case"functions":this._buildinFunctions=s;break;case"methods":this._buildinMethods=s;break;case"types":this._buildinTypes=s;break;case"variables":this._buildinVariables=s;break}}}_typeHandle(n=[],r){if(!n.length)return U.UNDETERMINED;if(n=n.filter(h=>!h.endsWith(U.NA)),!n.length)return`${U.SIMPLE} ${U.NA}`;let s=100,l="";for(const h of n){if(h===U.UNDETERMINED)return U.UNDETERMINED;h.startsWith(U.SERIES)?s=0:h.startsWith(U.SIMPLE)&&s>0?s=1:h.startsWith(U.INPUT)&&s>1?s=2:h.startsWith(U.CONST)&&s>2&&(s=3);const m=this._removePrefix(h);(m!==U.INT||!l)&&(l=m)}return s===100?l:`${Pi[s]} ${r||l}`}_returnTypesOtherHandle(n,r,s,l){if(!s.length||s[0].includes("<>")){const h=n.type;let m=h;if(!h||h===U.UNDETERMINED)return[U.UNDETERMINED];switch(r){case"series <type>":m=this._getArrayType(h),m||(m=this._removePrefix(h)),s=[this._typeAddSeries(m)];break;case"array<type>":case"matrix<type>":case"type[]":if(this._isMapType(h)){const v=this._getMapType(h)||[];l.includes("keys")?m=v[0]:m=v[1]}else m=this._getArrayType(h),m||(m=this._removePrefix(h));s=[this._typeReplace(r,m)];break;case"<matrix_type>":m=this._getArrayType(h),s=[this._typeAddSeries(m)];break;case"map<keyType, valueType>":s=[m];break;case"<value_type>":m=this._getMapType(h),s=[m[1]];break}}return s}_checkMethodThisType(n,r){if(!n||!n.length||n[0].includes("<>"))return!0;const s=r.replace("int","float");return n.some(l=>l===r||s===l||l.endsWith(r))}_priorityComparison(n,r){if(!n)return!1;if(this._isArrayType(n)||this._isMatrixType(n))return this._getArrayType(r)!==U.INT;{const s=this._getPrefix(n),l=this._getPrefix(r);return s===l?!!n.endsWith(U.INT):!(Pi.indexOf(s)<Pi.indexOf(l))}}_compareType(n,r){if(n===U.UNDETERMINED||r===U.UNDETERMINED)return!0;const s=[U.FLOAT,U.INT];if(this._isArrayType(n)||this._isMatrixType(n)){const l=this._getArrayType(n)||"",h=this._getArrayType(r)||"";return l===h||s.includes(l)&&s.includes(h)}else if(this._isMapType(n)){const l=this._getMapType(n)||[],h=this._getMapType(r)||[];return(l[0]===h[0]||s.includes(l[0])&&s.includes(h[0]))&&(l[1]===h[1]||s.includes(l[1])&&s.includes(h[1]))}else{const l=this._removePrefix(n),h=this._removePrefix(r);return l===U.NA||h===U.NA||l===h||s.includes(l)&&s.includes(h)}}_typeAddSeries(n){return this._buildinTypes.get(n)&&n!==U.CHART_POINT?`${U.SERIES} ${n}`:n}_typeAddConst(n){return lu.includes(n)?`${U.CONST} ${n}`:this._typeAddSeries(n)}_getOriginMethodName(n,r){let s="";return this._isArrayType(n)?s=`${U.ARRAY}.${r}`:this._isMatrixType(n)?s=`${U.MATRIX}.${r}`:this._isMapType(n)?s=`${U.MAP}.${r}`:s=`${this._removePrefix(n)}.${r}`,s}_returnedTypesParse(n){if(!n||!n.length)return[];const r=n[0];return/^\[.+\]$/.test(r)?r.replace(/[[\]]/g,"").split(",").map(s=>s.trim()):n}_removePrefix(n=""){return n.replace(/(series|simple|const|input)\s+([\w\d.]+)/,"$2")}_getPrefix(n){if(!n)return"";const r=n.replace(/(series|simple|const|input).+/,"$1");return Pi.includes(r)?r:""}_getArrayType(n){let r=/\w+<([\w\d.]+)>/.exec(n);return r||(r=/([\w\d.]+)\[\]/.exec(n)),r==null?void 0:r[1]}_getMapType(n){const r=/\w+<(\w+),\s*([\w\d.]+)>/.exec(n);return(r==null?void 0:r[1])&&(r==null?void 0:r[2])&&[r==null?void 0:r[1],r==null?void 0:r[2]]}_isMatrixType(n){return/^matrix<[\w\d.]+>$/.test(n)}_isArrayType(n){return/^array<[\w\d.]+>$/.test(n)||/^[\w\d.]+\[\]$/.test(n)}_isMapType(n){return/^map<\w+,\s*[\w\d.]+>$/.test(n)}_arrayTypeConvert(n){return!this._isArrayType(n)||!n.includes("<")?n:`${this._getArrayType(n)}[]`}_getMethodTypeName(n){return this._isArrayType(n)?U.ARRAY:this._isMapType(n)?U.MAP:this._isMatrixType(n)?U.MATRIX:this._removePrefix(n)}_typeReplace(n,r){return r===U.UNDETERMINED?r:(r=this._removePrefix(r),this._arrayTypeConvert(n.startsWith(U.SERIES)?n.replace("<type>",r):n.replace("type",r)))}}var Mn=(t=>(t[t.Hint=1]="Hint",t[t.Info=2]="Info",t[t.Warning=4]="Warning",t[t.Error=8]="Error",t))(Mn||{});class Mp extends j_{constructor(n,r,s){super(n);k(this,"_loopCount");k(this,"_errors");k(this,"_variables");k(this,"_functions");k(this,"_methods");k(this,"_types");k(this,"_enums");k(this,"_currentBlockVars");k(this,"_currentFuncParams");k(this,"_isNeedCalc");k(this,"_blockCount");k(this,"_isInFunc");k(this,"_currentExportFunc");k(this,"_onlyStatementsCount");k(this,"_blockRanges");k(this,"_overloadsFuncs");k(this,"_hasMemberIndex");k(this,"_isInLocalScop");k(this,"_comments");k(this,"_currentLine",0);k(this,"_hasDrawFunc",!1);k(this,"_hasCreateOrderFunc",!1);k(this,"_scriptType");k(this,"_exportFunctions");k(this,"_exportMethods");k(this,"_exportTypes");k(this,"_exportEnums");k(this,"_exportPositions");k(this,"_description","");k(this,"_endExport");k(this,"_importLibs");k(this,"_getImportLibraryFunc");k(this,"_isEndExpr");k(this,"_inputVarName");k(this,"_hasRequest");k(this,"_strategyFuncName");k(this,"_strategyVarName");k(this,"visitProgram",async n=>{const{children:r}=n;let s=0;const l=[];for(this._pushBlockRanges(n);s<r.length;s++){const h=r[s];h.ruleIndex===F.RULE_globalStmt&&l.push(await this.visit(h))}return this._onlyStatementsCount<=0?this._errors.push({startColumn:0,endColumn:0,startLineNumber:0,endLineNumber:0,type:Mn.Error,message:ye(de.onlyStatementErr,{count:this._onlyStatementsCount})}):this._scriptType===Ii.indicator&&(this._strategyFuncName?this._errorHandle(ye(de.indicatorUseStrategyFuncErr,{name:this._strategyFuncName.name,type:"functions"}),this._strategyFuncName.ctx):this._strategyVarName&&this._errorHandle(ye(de.indicatorUseStrategyFuncErr,{name:this._strategyVarName.name,type:"variables"}),this._strategyVarName.ctx)),l});k(this,"visitGlobalStmt",async n=>{const{children:r}=n;if(r&&r.length){const s=r[0],l=await this.visit(s);return s.ruleIndex===F.RULE_methodStmt&&Sl.includes(l.exprs[0].name)&&(this._onlyStatementsCount++,this._onlyStatementsCount>1?this._errorHandle(ye(de.onlyStatementErr,{count:this._onlyStatementsCount}),s):this._scriptType=l.exprs[0].name),l}return null});k(this,"visitBlockStmt",n=>{const{children:r}=n;let s=0;const l=[];for(;s<r.length;s++){const h=r[s];switch(h.ruleIndex){case F.RULE_variableDeclarationStmt:l.push(...this.visit(h));break;case F.RULE_varBlockStmt:l.push(this.visit(h));break;case F.RULE_blockExpression:l.push(this.visit(h));break}}return l});k(this,"visitStmt",n=>{const{children:r}=n;if(r&&r.length){const s=r[0];return this.visit(s)}return null});k(this,"visitSimpleStmt",n=>{const{children:r}=n;if(r&&r.length){const s=r[0];return this.visit(s)}return null});k(this,"visitFlowStmt",n=>{const{children:r}=n,{column:s,line:l,text:h}=r[0].symbol;if(this._currentLine=l,this._loopCount<=0){const m=s+1;this._errors.push({startColumn:m,endColumn:parseInt(m+h.length),startLineNumber:l,endLineNumber:l,message:ye(de.onlyInLoop,{text:h})})}return{ruleType:le.FlowStmt,value:h}});k(this,"visitBlock",n=>{const{children:r}=n;if(r&&r.length){const s=r[0];return s.ruleIndex===F.RULE_simpleStmt?this._inBlock(s):this.visit(s)}return null});k(this,"visitBlockLine",n=>{const{children:r}=n;if(!r)return null;let s=0;const l=[];this._blockCount++,this._pushBlockRanges(n);const h=this._isEndExpr;for(;s<r.length;s++){const m=r[s];m.ruleIndex===F.RULE_stmt&&(this._isInFunc&&(this._isEndExpr=r.length-2===s&&h),l.push(this.visit(m)))}return this._blockCount--,this._blockRanges.pop(),this._currentBlockVars.splice(this._blockCount+1),l});k(this,"visitDeclareAssign",n=>{var h;const{children:r}=n;let s=0;const l={ruleType:le.DeclareAssign};for(;s<r.length;s++){const m=r[s];switch(m.ruleIndex){case F.RULE_varArrayDeclaration:l.nameList=this.visit(m),this._inputVarName=(h=l.nameList)==null?void 0:h.name;break;case F.RULE_singleExpression:l.value=this.visit(m),this._inputVarName=void 0;break}}return this._variablesHandle(l,n),l});k(this,"visitAgainAssign",n=>{const{children:r,start:s}=n;if(this._currentLine=s.line,r.length>=3){const l=this.visit(r[0]);this._verifyGloablVar(l,r[0]);const h=this.visit(r[2]),m=this.visit(r[1]);return l.type?this._againAssignHandle([l,h],[r[0],r[2]],m):null}return null});k(this,"visitVarModifier",n=>{const{children:r}=n;return r[0].symbol.text});k(this,"visitExpressionSequence",n=>{const{children:r,start:s}=n;let l=0;const h=[];for(this._currentLine=s.line;l<r.length;l++){const m=r[l];if(m.ruleIndex===F.RULE_singleExpression){const v=this.visit(m);v&&(v.ctx=m,h.push(v))}}return h});k(this,"visitExpressionBlockSequence",n=>{const{children:r}=n;let s=0;const l=[];for(;s<r.length;s++){const h=r[s];switch(h.ruleIndex){case F.RULE_singleExpression:l.push(this.visit(h));break;case F.RULE_variableDeclarationList:l.push(this.visit(h));break;case F.RULE_blockExpression:l.push(this.visit(h));break;case F.RULE_varBlockStmt:l.push(this.visit(h));break}}return l});k(this,"visitBlockSequence",n=>{const{children:r}=n;let s=0;const l=[];for(;s<r.length;s++){const h=r[s];switch(h.ruleIndex){case F.RULE_variableDeclarationList:l.push(this.visit(h));break;case F.RULE_singleExpression:l.push(this.visit(h));break}}return l});k(this,"visitVariableDeclarationStmt",n=>{const{children:r}=n;let s=0;const l=[];for(;s<r.length;s++){const h=r[s];switch(h.ruleIndex){case F.RULE_variableDeclarationList:l.push(this.visit(h));break;case F.RULE_methodStmt:const m=this.visit(h);Sl.includes(m.exprs[0].name)&&(this._onlyStatementsCount++,this._onlyStatementsCount>1?this._errorHandle(ye(de.onlyStatementErr,{count:this._onlyStatementsCount}),h):this._scriptType=m.exprs[0].name),l.push(m);break}}return l});k(this,"visitVarBlockStmt",n=>{const{children:r}=n;let s=0;const l={ruleType:le.VarBlockStmt,ctx:n},h=[];for(;s<r.length;s++){const m=r[s];switch(m.ruleIndex){case F.RULE_varArrayDeclaration:l.nameList=this.visit(m);break;case F.RULE_assignmentOperator:l.operator=this.visit(m);break;case F.RULE_name:h.push(m),l.name=this.visit(m);break;case F.RULE_blockExpression:if(this._isNeedCalc=!0,l.value=this.visit(m),!l.value)break;h.push(m);const v=this._getBlockReturnTypes(l.value);v.length===1?l.value.type=v[0]:l.value.types=v,this._isNeedCalc=!1;break}}return l.name?this._againAssignHandle([l.name,l.value],h,l.operator):(this._variablesHandle(l,n),l)});k(this,"visitVarSingle",n=>{const{children:r,start:s}=n,l={ruleType:le.VarSingle};let h=0;const m=this._commentsParser(s.line,[Kt.variable]);l.desc=m==null?void 0:m[Kt.variable],this._currentLine=s.line;let v={lineNumber:0,column:0};for(;h<r.length;h++){const S=r[h];switch(S.ruleIndex){case F.RULE_varModifier:l.declare=this.visit(S);break;case F.RULE_typeGather:const C=this.visit(S);l.prefix=this._getPrefix(C),l.type=C&&this._typeAddConst(C);break;case F.RULE_identifier:const T=this.visit(S);this._repeatVarJudge(T,S),v={lineNumber:S.start.line,column:S.start.column},l.name=T,l.pos=v;break}}return l});k(this,"_commentsParser",(n,r,s=!1)=>{var S;const l=this._comments.filter(C=>C.line<n&&C.line>=this._currentLine),h={},m={line:0,key:"",secKey:""},v=[Kt.field,Kt.param];for(const C of l){const[T,I]=B_.exec(C.text)||[];if(I&&r.includes(I)){const B=C.text.replace(T,"").trim();if(Object.assign(m,{line:C.line,key:I}),v.includes(I)){const[L,...b]=B.split(" ");L&&(Object.assign(m,{secKey:L}),h[I]=Object.assign(h[I]||{},{[L]:b.join(" ").trim()}))}else h[I]=[B]}else if(s&&m.key){const B=C.text.replace("//","").trim();v.includes(m.key)?h[m.key][m.secKey]+=` ${B}`:(S=h[m.key])==null||S.push(B)}}return h});k(this,"visitVarMultiple",n=>{const{children:r,start:s}=n;let l=0;const h=[],m=[];for(this._currentLine=s.line;l<r.length;l++){const v=r[l];if(v.ruleIndex===F.RULE_identifier){const S=this.visit(v);this._repeatVarJudge(S,v),h.push(S),m.push({lineNumber:v.start.line,column:v.start.column})}}return{ruleType:le.VarMultiple,names:h,posList:m}});k(this,"visitBlockExpression",n=>{const{children:r,start:s}=n;if(this._currentLine=s.line,r&&r.length){const l=r[0];return this.visit(l)}return null});k(this,"visitParenthesizedExpression",n=>{const{children:r}=n,s=r[1],l=this.visit(s);return{ruleType:le.ParenthesizedExpression,type:l.type,ctx:n,exprs:l}});k(this,"visitAdditiveExpression",n=>{const{children:r}=n;let s=0,l="";const h=[];for(;s<r.length;s++){const v=r[s];v.ruleIndex===F.RULE_singleExpression?h.push(this.visit(v)):l=v.symbol.text}const m={ruleType:le.AdditiveExpression,operator:l,ctx:n,exprs:h};if(["+","-"].includes(l)){const v=[U.UNDETERMINED,U.INT,U.FLOAT];l==="+"&&v.push(U.STRING);const S=this._sameTypeJudge(h,[r[0],r[2]],l,v);m.type=this._typeHandle(S)}else{const v=this._calcTypeJudge(h[0],r[0],l),S=this._calcTypeJudge(h[1],r[2],l,1);m.type=this._typeHandle([v,S])}return m});k(this,"visitRelationalExpression",n=>{const{children:r}=n;let s=0,l="";const h=[];for(;s<r.length;s++){const S=r[s];S.ruleIndex===F.RULE_singleExpression?h.push(this.visit(S)):l=S.symbol.text}const m=this._calcTypeJudge(h[0],r[0],l),v=this._calcTypeJudge(h[1],r[2],l,1);return{ruleType:le.RelationalExpression,operator:l,ctx:n,type:this._typeHandle([m,v],U.BOOL),exprs:h}});k(this,"visitEqualityExpression",n=>{const{children:r}=n;let s=0,l="";const h=[];for(;s<r.length;s++){const v=r[s];v.ruleIndex===F.RULE_singleExpression?h.push(this.visit(v)):l=v.symbol.text}const m=this._sameTypeJudge(h,[r[0],r[2]],l,[U.UNDETERMINED,U.COLOR,U.STRING,U.BOOL,U.INT,U.FLOAT]);return{ruleType:le.EqualityExpression,operator:l,ctx:n,type:this._typeHandle(m,U.BOOL),exprs:h}});k(this,"visitTernaryExpression",n=>{const{children:r}=n;let s=0;const l=[];for(;s<r.length;s++){const m=r[s];m.ruleIndex===F.RULE_singleExpression&&l.push(this.visit(m))}let h=U.UNDETERMINED;if(l.length>=3){this._boolTypeJudge(l[0],r[0],"?:");const m=this._sameTypeJudge(l.slice(1),[r[2],r[4]],"?:",[]),v=this._getPrefix(l[0].type);h=this._typeHandle(m),v&&this._getPrefix(h)&&(h=this._typeHandle([h,`${v} ${this._removePrefix(h)}`]))}return{ruleType:le.TernaryExpression,type:h,ctx:n,exprs:l}});k(this,"visitNameExpression",n=>{const{children:r}=n;if(r&&r.length){const s=r[0];return this.visit(s)}return null});k(this,"visitLiteralExpression",n=>{const{children:r}=n;if(r&&r.length){const s=r[0];return this.visit(s)}return null});k(this,"visitUnaryExpression",n=>{var S;const{children:r}=n,[s,l]=r,h=[this.visit(l)],m=s.symbol.text,v=this._calcTypeJudge(h[0],l,m);return((S=h[0])==null?void 0:S.ruleType)===le.UnaryExpression&&this._errors.push({message:ye(de.unaryErr,{sign:m}),startColumn:s.symbol.column+1,startLineNumber:s.symbol.line,endColumn:s.symbol.column+2,endLineNumber:s.symbol.line}),{ruleType:le.UnaryExpression,operator:m,type:v,ctx:n,exprs:h}});k(this,"visitNotExpression",n=>{const{children:r}=n,s=r[1],l=[this.visit(s)],h=this._boolTypeJudge(l[0],s,"not");return{ruleType:le.NotExpression,ctx:n,type:this._typeHandle([h],U.BOOL),exprs:l}});k(this,"visitMemberIndexExpression",n=>{var h,m;const{children:r}=n;let s=0;const l=[];for(;s<r.length;s++){const v=r[s];v.ruleIndex===F.RULE_singleExpression&&l.push(this.visit(v))}if(this._memberIndexVerify(l[0],n),this._hasMemberIndex=!0,((h=l[0])==null?void 0:h.ruleType)===le.MemberIndexExpression){const v=r[1];this._errors.push({message:ye(de.unaryErr,{sign:"["}),startColumn:v.symbol.column+1,startLineNumber:v.symbol.line,endColumn:v.symbol.column+2,endLineNumber:v.symbol.line}),this._hasMemberIndex=!1}return{ruleType:le.MemberIndexExpression,type:(m=l[0])==null?void 0:m.type,ctx:n,isInFunc:this._isInFunc,exprs:l}});k(this,"visitMethodStmt",n=>{var C;const{children:r,start:s}=n;let l=0;const h=[],m=[],v=this._commentsParser(s.line,[Kt.description],!0);this._currentLine=s.line;let S;for(;l<r.length;l++){const T=r[l];T.ruleIndex===F.RULE_methodElement&&(h.push(this.visit(T)),m.push(T))}return((C=h[0])==null?void 0:C.name)===Ii.library&&v.description&&(this._description=v.description.join(`
12
+ `)),S=this._getMethodTypes(h,m)||[],this._inputFuncTitleVerify(h,n),{ruleType:le.MethodExpression,types:S.length>1||S.isBrackethesized||S.isUnknown?S:void 0,ctx:n,type:S.length===1?S[0]:void 0,exprs:h}});k(this,"visitMethodExpression",n=>{const{children:r}=n;if(r&&r.length){const s=r[0];return this.visit(s)}return null});k(this,"visitLogicalAndExpression",n=>{const{children:r}=n;let s=0,l="";const h=[];for(;s<r.length;s++){const S=r[s];S.ruleIndex===F.RULE_singleExpression?h.push(this.visit(S)):l=S.symbol.text}const m=this._boolTypeJudge(h[0],r[0],l),v=this._boolTypeJudge(h[1],r[2],l,1);return{ruleType:le.LogicalAndExpression,type:this._typeHandle([m,v],U.BOOL),operator:l,ctx:n,exprs:h}});k(this,"visitLogicalOrExpression",n=>{const{children:r}=n;let s=0,l="";const h=[];for(;s<r.length;s++){const S=r[s];S.ruleIndex===F.RULE_singleExpression?h.push(this.visit(S)):l=S.symbol.text}const m=this._boolTypeJudge(h[0],r[0],l),v=this._boolTypeJudge(h[1],r[2],l,1);return{ruleType:le.LogicalOrExpression,operator:l,ctx:n,type:this._typeHandle([m,v],U.BOOL),exprs:h}});k(this,"visitMultiplicativeExpression",n=>{const{children:r}=n;let s=0,l="";const h=[];for(;s<r.length;s++){const S=r[s];S.ruleIndex===F.RULE_singleExpression?h.push(this.visit(S)):l=S.symbol.text}const m=this._calcTypeJudge(h[0],r[0],l),v=this._calcTypeJudge(h[1],r[2],l,1);return{ruleType:le.MultiplicativeExpression,operator:l,ctx:n,type:this._typeHandle([m,v]),exprs:h}});k(this,"visitBrackethesized",n=>{const{children:r,start:s}=n,l=r[1];return this._currentLine=s.line,{ruleType:le.Brackethesized,ctx:n,exprs:this.visit(l)}});k(this,"visitArguments",n=>{const{children:r}=n;let s=0;const l={params:[]};let h="";for(;s<r.length;s++){const m=r[s];if(m.ruleIndex===F.RULE_argument){const v=this.visit(m),S=v.paramKey;S?(h=S,l[S]?this._errorHandle(ye(Dr.moreSameArg,{arg:S}),n.parentCtx,Mn.Warning):(l[S]=v.param,l[S].ctx=m)):h?this._errorHandle(ye(de.argsSyntaxErr,{argName:h}),m):(v.ctx=m,l.params.push(v))}}return l});k(this,"visitArgument",n=>{const{children:r}=n;return r.length===1?this.visit(r[0]):{paramKey:this.visit(r[0]),param:this.visit(r[2])}});k(this,"visitIfStatement",n=>{const{children:r}=n;let s=0;const l={ruleType:le.IfStatement,condition:[],block:[],ctx:n,typeList:[]};for(;s<r.length;s++){const h=r[s];switch(h.ruleIndex){case F.RULE_singleExpression:const m=this.visit(h);if(!m)break;m.ctx=h,l.condition.push(m);break;case F.RULE_blockLine:const v=this._isInLocalScop;this._isInLocalScop=!0;const S=this.visit(h);l.typeList.push(this._getBlockReturnTypes(S)),l.block.push(S),this._isInLocalScop=v;break}}return this._verifyIf(l),l});k(this,"visitForToStatement",n=>{const{children:r}=n;let s=0;const l={ruleType:le.ForToStatement,numerical:[],ctx:n,block:[]};for(;s<r.length;s++){const h=r[s];switch(h.ruleIndex){case F.RULE_varModifier:l.declare=this.visit(h);break;case F.RULE_typeGather:const m=this.visit(h);l.type=m&&this._typeAddSeries(m);break;case F.RULE_identifier:l.name=this.visit(h);break;case F.RULE_singleExpression:const v=this.visit(h);v&&(v.ctx=h,l.numerical.push(v));break;case F.RULE_blockLine:if(this._blockCount++,this._pushBlockRanges(n),l.name){const C=l.numerical[0].type;this._variablesHandle({nameList:{name:l.name,isForVar:!0,type:l.type},value:{type:C||`${U.SERIES} ${U.INT}`}},n)}this._blockCount--,this._blockRanges.pop(),this._loopCount++;const S=this._isInLocalScop;this._isInLocalScop=!0,l.block=this.visit(h),this._loopCount--,this._isInLocalScop=S,l.returnedTypes=this._getBlockReturnTypes(l.block);break}}return this._verifyForTo(l),l});k(this,"visitForInStatement",n=>{const{children:r}=n;let s=0;const l={ruleType:le.ForInStatement,ctx:n,names:[]};for(;s<r.length;s++){const h=r[s];switch(h.ruleIndex){case F.RULE_identifier:const m=this.visit(h);l.names.push(m);break;case F.RULE_singleExpression:l.array=this.visit(h);const v=l.array.type;this._isArrayType(v)||this._isMatrixType(v)||v===U.UNDETERMINED||this._errorHandle(ye(de.typeMismatch,{operator:"foreach",index:"id",typeE:v,typeR:"array<fun_arg>"}),h);break;case F.RULE_blockLine:if(this._blockCount++,this._pushBlockRanges(n),l.names.length){let[C,T]=l.names;const I=l.array.type;T?this._variablesHandle({nameList:{name:C,isForVar:!0,type:`${U.SERIES} ${U.INT}`},value:{type:`${U.SERIES} ${U.INT}`}},n):T=C;const B=I===U.UNDETERMINED?I:this._isMatrixType(I)?`${this._getArrayType(I)}[]`:this._typeAddSeries(this._getArrayType(I));this._variablesHandle({nameList:{name:T,isForVar:!0,type:B},value:{type:B}},n)}this._blockCount--,this._blockRanges.pop(),this._loopCount++;const S=this._isInLocalScop;this._isInLocalScop=!0,l.block=this.visit(h),this._isInLocalScop=S,this._loopCount--,l.returnedTypes=this._getBlockReturnTypes(l.block);break}}return l});k(this,"visitSwitchStatement",n=>{const{children:r}=n;let s=0;const l={ruleType:le.SwitchStatement,condition:!0,ctx:n,cases:[],defaultCase:void 0};for(;s<r.length;s++){const h=r[s];switch(h.ruleIndex){case F.RULE_singleExpression:if(l.condition=this.visit(h),!h.children)break;l.condition.ctx=h;break;case F.RULE_caseClause:l.cases.push(this.visit(h));break;case F.RULE_defaultCaluse:l.defaultCase=this.visit(h);break}}return this._verifySwitch(l),l});k(this,"visitCaseClause",n=>{const{children:r}=n,s={ruleType:le.CaseClause},l=this._isInLocalScop;return this._isInLocalScop=!0,s.condition=this.visit(r[0]),s.condition&&(s.condition.ctx=r[0],s.block=this.visit(r[2]),this._isInLocalScop=l,s.returnedTypes=this._getBlockReturnTypes(s.block)),s});k(this,"visitDefaultCaluse",n=>{const{children:r}=n,s={ruleType:le.DefaultCaluse},l=this._isInLocalScop;return this._isInLocalScop=!0,s.block=this.visit(r[1]),this._isInLocalScop=l,s.returnedTypes=this._getBlockReturnTypes(s.block),s});k(this,"visitWhileStatement",n=>{const{children:r}=n,s={ruleType:le.WhileStatement,ctx:n};if(s.condition=this.visit(r[1]),!s.condition)return s;s.condition.ctx=r[1],this._loopCount++;const l=this._isInLocalScop;return this._isInLocalScop=!0,s.block=this.visit(r[2]),this._isInLocalScop=l,this._loopCount--,s.returnedTypes=this._getBlockReturnTypes(s.block),this._verifyWhile(s),s});k(this,"visitImportStmt",async n=>{const{children:r,start:s}=n;let l=0;const h=[];for(this._currentLine=s.line;l<r.length;l++){const m=r[l];if(m.ruleIndex===F.RULE_importElement){const v=await this.visit(m);v&&h.push(v)}}return h});k(this,"visitImportElement",async n=>{const{children:r}=n;if(!r||!r.length)return;let s=0;const l=[],h={ruleType:le.ImportElement,ctx:n};for(;s<r.length;s++){const m=r[s];m.ruleIndex===F.RULE_identifier?l.push(this.visit(m)):m.symbol&&m.symbol.type===F.IntegerLiteral&&(h.libraryVersion=m.symbol.text)}return h.username=l[0],h.libraryName=l[1],h.name=l[2],await this._importHandle(h,n),h});k(this,"visitLiteral",n=>{const{children:r}=n,s=r[0],{type:l,text:h}=s.symbol,m={ruleType:le.Literal,ctx:n,type:"",value:h};switch(l){case F.ColorLiteral:m.type=U.COLOR;break;case F.BooleanLiteral:m.type=U.BOOL;break;case F.StringLiteral:if(m.type=U.STRING,h.includes(`
13
+ `)){const v=h.replace(/\s*(\n|\r)\s*/g," ");m.value=`\`${v.substring(1,v.length-1)}\``}break;case F.IntegerLiteral:m.type=U.INT;break;case F.DecimalLiteral:m.type=U.FLOAT;break}return m.type&&(m.type=`${U.CONST} ${m.type}`),m});k(this,"visitMethodElement",n=>{const{children:r}=n,[s,l]=r,[h,m,v]=this.visit(s),S=this.visit(l);return h.startsWith("request.")&&this._isInFunc&&(this._currentExportFunc&&this._errorHandle(ye(de.exportFuncUseReqErr,{name:h}),n),this._hasRequest=!0),{name:h,type:m,args:S,expr:v}});k(this,"visitMethodName",n=>{const{children:r}=n,s=[],l=[];let h=0,m=null;for(;h<r.length;h++){const S=r[h],C=S.ruleIndex,T=S.symbol;switch(C){case F.RULE_identifier:s.push(this.visit(S));break;case F.RULE_singleExpression:m=this.visit(S);break;case F.RULE_typeName:const I=this.visit(S);l.push(I),this._typeCheck(I,F.RULE_typeName,S);break;default:T&&T.text==="."&&s.push(".")}}const v=s.join("");return L_.includes(v)?this._hasDrawFunc=!0:M_.includes(v)&&(this._hasCreateOrderFunc=!0),[v,l,m]});k(this,"visitArrowFunction",n=>{const{children:r,start:s,stop:l}=n,h={ruleType:le.ArrowFunction,returnedTypes:[]};let m=0,v={lineNumber:0,column:0};const S=this._commentsParser(s.line,[Kt.function,Kt.param,Kt.returns],!0);Object.assign(h,{desc:S[Kt.function],paramsDesc:S[Kt.param],returnsDesc:S[Kt.returns]}),this._currentLine=s.line;let C=null;for(;m<r.length;m++){const T=r[m],I=T.ruleIndex,B=T.symbol;switch(I){case F.RULE_identifier:v={lineNumber:T.start.line,column:T.start.column},h.name=this.visit(T);break;case F.RULE_arrowFunctionParameters:h.params=this.visit(T),h.isExport&&this._exportArgsTypeVerify(h.params),this._setFuncParams(h,{endColumn:l.column,endLineNumber:l.line-1,startColumn:s.column,startLineNumber:s.line}),C=T;break;case F.RULE_block:this._isInFunc=!0,h.isExport&&(this._currentExportFunc=h.name),this._hasMemberIndex=!1,this._hasRequest=!1,h.block=this.visit(T),h.hasMemberIndex=this._hasMemberIndex,h.returnedTypes=this._getBlockReturnTypes(h.block),this._isInFunc=!1,this._currentExportFunc="";break;default:B&&B.type===F.Export&&(h.isExport=!0,this._addExportPos(B,"functions"))}}return h.hasRequest=this._hasRequest,this._setFunc(h,v,C,l.line-1),this._hasRequest=!1,this._currentFuncParams.clear(),h});k(this,"visitArrowFunctionParameters",n=>{const{children:r}=n;let s=0,l=[];for(;s<r.length;s++){const h=r[s];h.ruleIndex===F.RULE_formalParameterList&&(l=this.visit(h))}return l});k(this,"visitFormalParameterList",n=>{const{children:r}=n;let s=0;const l=[];for(;s<r.length;s++){const h=r[s];h.ruleIndex===F.RULE_formalParameterArg&&l.push(this.visit(h))}return l});k(this,"visitFormalParameterArg",n=>{const{children:r}=n;let s=0;const l={};for(;s<r.length;s++){const h=r[s];switch(h.ruleIndex){case F.RULE_typeGather:const m=this.visit(h);l.type=m&&this._typeAddSeries(m);break;case F.RULE_identifier:l.name=this.visit(h);break;case F.RULE_singleExpression:l.defaultValue=this.visit(h),delete l.defaultValue.ctx}}return l.ctx=n,this._verifyArgsDefaultValue(l,n),l.type=l.type||U.UNDETERMINED,l});k(this,"visitArrowMethod",n=>{const{children:r,start:s,stop:l}=n;let h=0;const m={ruleType:le.ArrowMethod,returnedTypes:[]};let v={lineNumber:0,column:0};const S=this._commentsParser(s.line,[Kt.function,Kt.param,Kt.returns],!0);Object.assign(m,{desc:S[Kt.function],paramsDesc:S[Kt.param],returnsDesc:S[Kt.returns]}),this._currentLine=s.line;let C=null;for(;h<r.length;h++){const T=r[h];switch(T.ruleIndex){case F.RULE_identifier:v={lineNumber:T.start.line,column:T.start.column},m.name=this.visit(T);break;case F.RULE_arrowMethodParameters:m.params=this.visit(T),m.isExport&&this._exportArgsTypeVerify(m.params),this._setFuncParams(m,{endColumn:l.column,endLineNumber:l.line-1,startColumn:s.column,startLineNumber:s.line}),C=T;break;case F.RULE_block:this._isInFunc=!0,m.isExport&&(this._currentExportFunc=m.name),this._hasMemberIndex=!1,this._hasRequest=!1,m.block=this.visit(T),m.hasMemberIndex=this._hasMemberIndex,m.returnedTypes=this._getBlockReturnTypes(m.block),this._isInFunc=!1,this._currentExportFunc="";break;default:T.symbol&&T.symbol.type===F.Export&&(m.isExport=!0,this._addExportPos(T.symbol,"methods"));break}}return m.hasRequest=this._hasRequest,this._setFunc(m,v,C,l.line-1),this._setMethod(m,v),this._hasRequest=!1,this._currentFuncParams.clear(),m});k(this,"visitArrowMethodParameters",n=>{const{children:r}=n;let s=0;const l={};let h=[];for(;s<r.length;s++){const m=r[s];switch(m.ruleIndex){case F.RULE_typeGather:const v=this.visit(m);l.type=v&&this._typeAddSeries(v);break;case F.RULE_identifier:l.ctx=m,l.name=this.visit(m);break;case F.RULE_formalParameterList:h=this.visit(m);break}}return[l,...h]});k(this,"visitTypeStatement",n=>{const{children:r,start:s,stop:l}=n;let h=0;const m={ruleType:le.TypeStatement,fields:[]},v=this._commentsParser(s.line,[Kt.type,Kt.field]);Object.assign(m,{desc:v[Kt.type],fieldsDesc:v[Kt.field]}),this._currentLine=s.line;let S={lineNumber:0,column:0},C=null;for(;h<r.length;h++){const T=r[h];switch(T.ruleIndex){case F.RULE_identifier:S={lineNumber:T.start.line,column:T.start.column},C=T,m.name=this.visit(T),this._verifyTypeName(m.name,T);break;case F.RULE_typeElement:m.fields.push(this.visit(T));break;default:T.symbol&&T.symbol.type===F.Export&&(m.isExport=!0,this._addExportPos(T.symbol,"types"));break}}if(m.isExport){const T=l.line-1,{line:I=0}=this._endExport;T>I&&(this._endExport={line:T,name:m.name})}return this._setUserType(m,S,C),this._setNewFunc(m,S),this._setCopyFunc(m,S),this._setCopyMethod(m,S),m});k(this,"visitTypeElement",n=>{const{children:r,start:s}=n;let l=0;const h={};let m=null,v=null;for(this._currentLine=s.line;l<r.length;l++){const S=r[l];switch(S.ruleIndex){case F.RULE_typeGather:const C=this.visit(S);if(S.children[0].ruleIndex===F.RULE_typeSeries){const{column:T,line:I,text:B}=S.start,L=T+1;this._errors.push({startColumn:L,endColumn:parseInt(L+B.length),startLineNumber:I,endLineNumber:I,message:ye(this._buildinTypes.has(B)?de.typeUseError:de.notTypeKeyword,{text:B})}),h.type=U.UNDETERMINED}else h.type=C&&this._typeAddSeries(C);break;case F.RULE_identifier:h.name=this.visit(S),v=S;break;case F.RULE_singleExpression:m=S,h.value=this.visit(S);break;default:S.symbol&&S.symbol.type===F.Varip&&(h.isVarip=!0);break}}return this._typeElementVerify(h,m,v),h});k(this,"visitAssignmentOperator",n=>{const{children:r}=n;return r&&r[0].symbol.text});k(this,"visitTypeMap",n=>{const{children:r}=n;let s=0;const l=[];for(;s<r.length;s++){const h=r[s];if(h.ruleIndex===F.RULE_typeName){const m=this.visit(h);l.push(m),this._typeCheck(m,F.RULE_typeName,h)}}return`map<${l[0]},${l[1]}>`});k(this,"visitTypeSeries",n=>{const{children:r}=n,[s,l]=r,h=this.visit(s),m=this.visit(l);return this._typeCheck(h,F.RULE_typeSeries,s),this._typeCheck(m,F.RULE_typeName,l),`${h} ${m}`});k(this,"visitTypeArray",n=>{const{children:r}=n,s=r[0];let l=this.visit(s),h=l;if(r.length===3)l=U.ARRAY;else{this._typeCheck(l,F.RULE_typeArray,s);let m=1;for(;m<r.length;m++){const v=r[m];v.ruleIndex===F.RULE_typeName&&(h=this.visit(v),this._typeCheck(h,F.RULE_typeName,v))}}return this._arrayTypeConvert(`${l}<${h}>`)});k(this,"visitTypeGather",n=>{const{children:r}=n;if(r&&r.length){const s=r[0],l=this.visit(s);return s.ruleIndex===F.RULE_typeName&&this._typeCheck(l,F.RULE_typeName,s),l}return null});k(this,"visitIdentifier",n=>n.children&&n.children[0].symbol.text);k(this,"visitTypeName",n=>{const{children:r}=n;let s=0,l="";for(;s<r.length;s++){const h=r[s];h.ruleIndex===F.RULE_identifier?l=`${l}${this.visit(h)}`:l=`${l}.`}return l});k(this,"visitEnumStatement",n=>{const{children:r,start:s,stop:l}=n;let h=0;const m={ruleType:le.EnumStatement,fields:[]},v=this._commentsParser(s.line,[Kt.enum,Kt.field]);Object.assign(m,{desc:v[Kt.enum],fieldsDesc:v[Kt.field]}),this._currentLine=s.line;let S={lineNumber:0,column:0},C=null;for(;h<r.length;h++){const T=r[h];switch(T.ruleIndex){case F.RULE_identifier:S={lineNumber:T.start.line,column:T.start.column},C=T,m.name=this.visit(T),this._verifyEnumName(m.name,T);break;case F.RULE_enumElement:m.fields.push(this.visit(T));break;default:T.symbol&&T.symbol.type===F.Export&&(m.isExport=!0,this._addExportPos(T.symbol,"enums"));break}}if(m.isExport){const T=l.line-1,{line:I=0}=this._endExport;T>I&&(this._endExport={line:T,name:m.name})}return this._setUserEnum(m,S,C),m});k(this,"visitEnumElement",n=>{const{children:r,start:s}=n;let l=0;const h={};for(this._currentLine=s.line;l<r.length;l++){const m=r[l];switch(m.ruleIndex){case F.RULE_identifier:h.name=this.visit(m);break;default:m.symbol&&m.symbol.type===F.StringLiteral&&(h.value=m.symbol.text);break}}return h});k(this,"visitName",n=>{const{children:r}=n;let s=0,l=!1;const h=[];let m=null;for(;s<r.length;s++){const v=r[s];switch(v.ruleIndex){case F.RULE_identifier:h.push(this.visit(v));break;case F.RULE_singleExpression:m=this.visit(v);break;case F.RULE_methodElement:l=!0;const S=this.visit(v);S.ctx=v,h.push(S);break}}return this._nameHandle(l,h,m,n)});this._loopCount=0,this._errors=[],this._variables=new Map,this._functions=new Map,this._methods=new Map,this._currentFuncParams=new Map,this._types=new Map,this._enums=new Map,this._currentBlockVars=[new Map],this._blockCount=0,this._isInFunc=!1,this._isNeedCalc=!1,this._blockRanges=[],this._overloadsFuncs=[],this._hasMemberIndex=!1,this._isInLocalScop=!1,this._onlyStatementsCount=0,this._comments=r,this._exportFunctions=[],this._exportMethods=[],this._exportTypes=[],this._exportEnums=[],this._exportPositions=[],this._endExport={},this._importLibs=new Map,this._getImportLibraryFunc=s}get overloadsFuncs(){return this._overloadsFuncs}get errors(){return this._errors}get userEnums(){return this._enums}get userTypes(){return this._types}get userFunctions(){return this._functions}get userVariables(){return this._variables}get userMethods(){return this._methods}get hasUseDrawFunc(){return this._hasDrawFunc}get hasUseCreateOrderFunc(){return this._hasCreateOrderFunc}get scriptType(){return this._scriptType}get exportLibs(){return{functions:[...this._exportFunctions],methods:[...this._exportMethods],types:[...this._exportTypes],enums:[...this._exportEnums]}}get description(){return this._description}get exportPositions(){return this._exportPositions}get endExport(){return this._endExport}get imports(){return this._importLibs}_verifyGloablVar(n,r){const{name:s,varPos:l,isBuiltIn:h}=n;if(h&&this._errorHandle(ye(de.buidinAssignErr,{name:s}),r),!l)return;const m=this._currentBlockVars[0].get(s);if(!m)return;const{column:v,lineNumber:S}=m.pos||{};this._isInFunc&&v===l.column&&S===l.lineNumber?this._errorHandle(ye(de.modifyGlobalVarErr,{name:s}),r):m.hasAssigned=!0}_inputFuncTitleVerify(n,r){if(!(n!=null&&n.length)||n.length>1)return;const{name:s,args:l,isBuiltIn:h}=n[0];if(h&&!this._strategyFuncName&&s.startsWith(Ii.strategy))this._strategyFuncName={ctx:r,name:s};else if(!s.startsWith(U.INPUT))return;this._inputVarName&&!(l.params.some(m=>m.originName==="title")||l.title)&&(l.title={value:`"${this._inputVarName}"`,ruleType:le.Literal,type:`${U.CONST} ${U.STRING}`})}_verifyIf(n){const{condition:r}=n;if(r!=null&&r.length)for(const s of r){const{type:l,ctx:h}=s;if(l===U.UNDETERMINED)continue;const m=this._removePrefix(l);[U.INT,U.FLOAT].includes(m)?this._errorHandle(ye(Dr.conditionWarning,{name:"if"}),h,Mn.Warning):m!==U.BOOL&&this._errorHandle(ye(de.conditionalErr,{name:"if"}),h)}}_verifyForTo(n){const{numerical:r}=n;if(r!=null&&r.length)for(const s of r){const{type:l,ctx:h}=s;if(l===U.UNDETERMINED)continue;const m=this._removePrefix(l);[U.INT,U.FLOAT].includes(m)||this._errorHandle(de.fortoErr,h)}}_verifySwitch(n){var r;if(n.cases){const s=(r=n.condition)==null?void 0:r.type;if(s===U.UNDETERMINED)return;if(s&&this._types.has(s)){this._errorHandle(ye(de.typeMismatch,{operator:"switch",index:"expr0",typeE:s,typeR:`${U.SIMPLE} ${U.STRING}`}),n.condition.ctx);return}for(const l of n.cases){const{condition:{type:h,ctx:m}}=l;if(h!==U.UNDETERMINED)if(this._types.has(h))this._errorHandle(ye(de.typeMismatch,{operator:"case",index:"expr1",typeE:h,typeR:`${U.SIMPLE} ${U.STRING}`}),m);else if(s){if(!this._compareType(s,h)){const v=this._removePrefix(s),S=this._removePrefix(h);v===U.BOOL&&[U.INT,U.FLOAT].includes(S)?this._errorHandle(ye(Dr.conditionWarning,{name:"switch"}),m,Mn.Warning):[U.INT,U.FLOAT].includes(v)&&S===U.BOOL?this._errorHandle(ye(Dr.conditionWarning,{name:"switch"}),n.condition.ctx,Mn.Warning):this._errorHandle(ye(de.typeMismatch,{operator:"case",index:"expr1",typeE:h,typeR:`${s}`}),m)}}else{const v=this._removePrefix(h);[U.INT,U.FLOAT].includes(v)?this._errorHandle(ye(Dr.conditionWarning,{name:"switch"}),m,Mn.Warning):v!==U.BOOL&&this._errorHandle(ye(de.conditionalErr,{name:"switch"}),m)}}}}_verifyWhile(n){const{condition:r}=n;if(r){const{type:s,ctx:l}=r;if(s===U.UNDETERMINED)return;const h=this._removePrefix(s);[U.INT,U.FLOAT].includes(h)?this._errorHandle(ye(Dr.conditionWarning,{name:"while"}),l,Mn.Warning):h!==U.BOOL&&this._errorHandle(ye(de.conditionalErr,{name:"while"}),l)}}async _importHandle(n,r){const{stop:s,start:l}=r,{username:h,libraryName:m,libraryVersion:v,name:S}=n,C=`${h}/${m}/${v}`;if(this._importLibs.has(C))return this._errorHandle(de.importMultipleErr,r),n;for(const[B,L]of this._importLibs)if(L.name&&L.name===S||!L.name&&!S&&L.libraryName===m)return this._errorHandle(ye(de.importNameRepeatErr,{name:S,line:L.startLine}),r),n;let T=S||m;const I=await this._getImportLibraryFunc({...n,libraryId:C,ctx:void 0,startLine:l.line,endLine:s.line,startColumn:l.column,endColumn:s.column+s.text.length+1});if(I){const{codeStr:B,description:L}=I;this._importLibs.set(C,{...n,libraryId:C,startLine:l.line,endLine:s.line,ctx:void 0,desc:L}),this._importDataHandle(I,T),kn.includes(T)&&(T=`$${T}`),n.code=B.replace("$name",T)}else this._errorHandle(ye(de.importNotExitErr,{username:h,libraryName:m}),r)}_importDataHandle(n,r){const{functions:s,methods:l,types:h}=n;for(const m of s){const{name:v}=m,S=`${r}.${v}`,C=this._functions.get(S)||[];C.push({...this._importTypeUpdate(m,h,r),name:S,isUser:void 0,isImport:!0}),this._functions.set(S,C)}for(const m of l){const v=this._importTypeUpdate(m,h,r),S=v.originalName||v.name,C=this._methods.get(S)||[];C.push({...v,isImport:!0,isUser:void 0}),this._methods.set(S,C)}for(const m of h){const v=`${r}.${m.name}`,S=this._types.get(v)||[];S.push({...this._importTypeUpdate(m,h,r),name:v,isImport:!0}),this._types.set(v,S)}}_importTypeUpdate(n,r,s){var B;let{args:l,returnedTypes:h,thisType:m,fields:v,name:S,originalName:C}=n,T="";if(l&&l.length&&(l=l.map(L=>{const{allowedTypeIDs:b,displayType:y,name:g}=L,O=y&&this._replaceTypeName(y,r,s);return T=T?`${T}, ${O} ${g}`:`${O} ${g}`,{...L,allowedTypeIDs:b==null?void 0:b.map(R=>this._replaceTypeName(R,r,s)),displayType:O}})),h!=null&&h.length&&(h=[this._replaceTypeName(h[0],r,s)]),m!=null&&m.length){const L=this._replaceTypeName(m[0],r,s);L!==m[0]&&(C=`${s}.${C||S}`),m=[L]}v!=null&&v.length&&(v=v.map(L=>{const{type:b}=L;return{...L,type:b&&this._replaceTypeName(b,r,s)}}));const I={...n,args:l,returnedTypes:h,thisType:m,fields:v,originalName:C};return(B=I.syntax)!=null&&B.length&&(I.syntax=[`${C||`${s}.${S}`}(${T}) → ${(h==null?void 0:h[0])||"void"}`]),I}_replaceTypeName(n,r,s){const l=r.find(h=>n.includes(h.name));return l?n.replace(l.name,`${s}.${l.name}`):n}_verifyArgsDefaultValue(n,r){const{defaultValue:s,type:l}=n;if(!s)return;const{ruleType:h,isBuiltIn:m,type:v}=s,S=this._removePrefix(v);if(h!==le.Literal&&!m)delete n.defaultValue,this._errorHandle(de.argDefaultErr,r);else if(l&&l!==U.UNDETERMINED&&v!==U.UNDETERMINED){const C=this._removePrefix(l);if(C===U.FLOAT&&S===U.INT)return;S!==C&&this._errorHandle(ye(de.defaultValueTypeErr,{typeE:v,typeR:l}),r)}else l||(n.type=this._typeAddSeries(S===U.INT?U.FLOAT:S))}_exportArgsTypeVerify(n){for(const r of n)(r.type===U.UNDETERMINED||!r.type)&&this._errorHandle(de.exportFuncArgErr,r.ctx)}_verifyTypeName(n,r){lu.includes(n)?this._errorHandle(ye(de.typeNameErr,{name:n}),r):Pp.includes(n)&&this._errorHandle(ye(de.enumVarNameBuiltinErr,{name:n}),r)}_addExportPos(n,r){const{line:s,column:l,text:h}=n;this._exportPositions.push({startLineNumber:s,startColumn:l,endLineNumber:s,endColumn:l+h.length+1,type:r})}_verifyEnumName(n,r){lu.includes(n)?this._errorHandle(ye(de.enumVarNameErr,{name:n}),r):Pp.includes(n)&&this._errorHandle(ye(de.enumVarNameBuiltinErr,{name:n}),r)}_nameHandle(n,r,s,l){var m,v;const h={ruleType:le.Name,hasMethod:n,exprs:r,expr:s};if(n){let S="";const C=[];for(const I of r)typeof I=="string"?S=S?`${S}.${I}`:I:(S&&(I.name=`${S}.${I.name}`),C.push(I),S="");h.exprs=[...C,S];const T=this._getMethodTypes(C,Array.from(C,()=>l));if(T&&T.length){const I=ye(de.noFiledErr,{name:S});T.length>1&&this._errorHandle(I,l),h.type=((v=this._nameCheck(this._getOriginMethodName(T[0],S),l,I))==null?void 0:v.type)||U.UNDETERMINED}}else{let S=r.join(".");if(s&&s.type&&s.type===U.UNDETERMINED)h.type=U.UNDETERMINED,S=`expr0.${S}`;else{s&&s.type&&(S=`${this._getMethodTypeName(s.type)}.${S}`);const C=this._nameCheck(S,l)||{};(m=C.title)!=null&&m.startsWith("built-in")&&(h.isBuiltIn=!0,h.isConst=C.isConst,!this._strategyVarName&&S.startsWith(Ii.strategy)&&(this._strategyVarName={ctx:l,name:S})),h.enumName=C.enumName,h.varPos=C.pos,h.varScope=C.scope,h.declare=C.declare,h.type=(C==null?void 0:C.type)||U.UNDETERMINED,C!=null&&C.isArg&&(h.arg=C),h.scope=this._blockCount,C.isEnum?this._errorHandle(ye(de.enumUseErr,{name:S}),l):this._isInFunc&&this._currentExportFunc&&(h.type.startsWith(U.INPUT)?this._errorHandle(ye(de.exportFuncHasInputErr,{name:S,func:this._currentExportFunc}),l):C.scope===0&&C.hasAssigned&&this._errorHandle(ye(de.exportFuncUseGlobalVarErr,{func:this._currentExportFunc}),l))}h.name=S}return h}_typeElementVerify(n,r,s){var v,S;const{type:l,value:h}=n;if(!h){l||this._errorHandle(de.typeFieldErr,s);return}if(![le.Literal,le.UnaryExpression].includes(h.ruleType)&&!h.isBuiltIn){this._errorHandle(de.defaultValueErr,r);return}else if(h.ruleType===le.UnaryExpression){const{exprs:C}=h;if(![le.Literal,le.UnaryExpression].includes((v=C[0])==null?void 0:v.ruleType)&&!((S=C[0])!=null&&S.isBuiltIn)){this._errorHandle(de.defaultValueErr,r);return}}if(!l){const C=h.type,T=this._getPrefix(C);n.type=T?this._typeAddSeries(this._removePrefix(C)):C;return}(!this._compareType(l,h.type)||l.endsWith(U.INT)&&h.type.endsWith(U.FLOAT))&&this._errorHandle(ye(de.defaultValueTypeErr,{typeE:h.type,typeR:l}),r)}_memberIndexVerify(n,r){if(n.ruleType===le.Name&&!n.hasMethod&&this._blockCount){const l=this._currentBlockVars[this._blockCount],h=l&&l.get(n.name);h&&(h.isForVar?this._errorHandle(ye(de.notHistoryErr,{name:n.name}),r):!(this._blockCount===1&&this._isInFunc)&&this._errorHandle(ye(Dr.localScopeGetHistory,{name:n.name}),r,Mn.Warning))}const s=n&&n.type;if(s){const l=this._removePrefix(s);!this._types.has(l)&&!this._buildinTypes.has(l)&&!this._isArrayType(l)&&!this._isMatrixType(l)&&!this._isMapType(l)&&l!==U.UNDETERMINED&&this._errorHandle(ye(de.invalidType,{index:0}),r)}}_setFuncParams(n,r){var s;for(const l of n.params){const h=(s=this._types.get(l.type))==null?void 0:s[0];if(l.scope=this._blockCount+1,h&&h.fields)for(const m of h.fields){const v=`${l.name}.${m.name}`;this._currentFuncParams.set(v,{...m,originName:v,varScope:l.scope})}delete l.ctx,l.range=r,this._setVariablesMap(l,!0),this._currentFuncParams.set(l.name,l)}}_pushBlockRanges(n){!n||!n.start||!n.stop||this._blockRanges.push({startColumn:n.start.column,endColumn:n.stop.column,startLineNumber:n.start.line,endLineNumber:n.stop.line})}_setUserEnum(n,r,s){const{fields:l,name:h,desc:m,fieldsDesc:v}=n,S={members:l.map(C=>({name:C.name,value:C.value,enumName:h,isEnumMember:!0,desc:v==null?void 0:v[C.name],type:`${U.CONST} ${h}`})),name:h,desc:m,pos:r};if(this._enums.has(h)){this._errorHandle(ye(de.typeRepeatErr,{name:h,keyword:Kt.enum}),s);return}else if(this._types.has(h)){this._errorHandle(ye(de.typeRepeatErr,{name:h,keyword:Kt.type}),s);return}n.isExport&&this._exportEnums.push(S),this._enums.set(h,[{...S}]),this._addEnumToMap(h,h,r)}_setUserType(n,r,s){const{fields:l,name:h,desc:m,fieldsDesc:v}=n,S={fields:l.map(C=>({name:C.name,desc:v==null?void 0:v[C.name],type:C.type})),name:h,desc:m,pos:r};if(this._enums.has(h)){this._errorHandle(ye(de.typeRepeatErr,{name:h,keyword:Kt.enum}),s);return}else if(this._types.has(h)){this._errorHandle(ye(de.typeRepeatErr,{name:h,keyword:Kt.type}),s);return}n.isExport&&this._exportTypes.push(S),this._types.set(h,[{...S}]),this._addVarToMap(h,h,r,!1,!1)}_againAssignHandle(n,r,s){const l=s!==":="?s.replace("=",""):s,h=s!==":="?[U.UNDETERMINED,U.INT,U.FLOAT]:[];l==="+"&&h.push(U.STRING);const[m,v]=n;m.arg&&!m.name.includes(".")&&this._errorHandle(ye(de.funcArgAssignErr,{name:m.name}),r[0]);const S=this._sameTypeJudge(n,r,l,h);let C=this._typeHandle(S);return this._updateUserVar(m.name,C,v.type),m.type=C,{ruleType:le.AgainAssign,name:m,operator:s,type:C,value:v}}_typeCheck(n,r,s){const l=[U.SERIES,U.SIMPLE,U.CONST];switch(r){case F.RULE_typeName:const h=this._buildinTypes.get(n);h&&![...l,U.ARRAY,U.MATRIX,U.MAP].includes(h[0].name)||this._types.get(n)||this._errorHandle(ye(de.notTypeKeyword,{text:n}),s);break;case F.RULE_typeArray:[U.ARRAY,U.MATRIX].includes(n)||this._errorHandle(de.tempateTypeErr,s);break;case F.RULE_typeSeries:l.includes(n)||this._errorHandle(ye(de.qualifierErr,{name:n}),s);break}}_getBuildVar(n){const r=this._buildinVariables.get(n);if(r&&r[0])return r[0];const s=this._buildinConstants.get(n);return s&&s[0]?Object.assign(s[0],{isConst:!0}):this._specialTreatmentChartPoint(n)}_specialTreatmentChartPoint(n){var r,s;if(n.startsWith("chart.point")){const l=n.split("."),h=l.pop(),m=l.join(".");return(((s=(r=this._buildinTypes.get(m))==null?void 0:r[0])==null?void 0:s.fields)||[]).find(S=>S.name===h)}}_verifyName(n,r){var l,h;const s=this._getBuildVar(n);if(s)return s;if(n.includes(".")){const m=n.split("."),v=m.pop(),S=m.join(".");let C=this._blockCount;for(;C>=0;){if(!this._currentBlockVars[C]){C--;continue}const I=this._currentBlockVars[C].get(S);if(r&&this._judgeGatherValue(v||"",r,I==null?void 0:I.valueType,!0),(I==null?void 0:I.type)==="chart.point"){const L=(((h=(l=this._buildinTypes.get(I.type))==null?void 0:l[0])==null?void 0:h.fields)||[]).find(b=>b.name===v);if(L)return Object.assign(L,{pos:I.pos})}C--}const T=this._specialTreatmentChartPoint(n);if(T)return T}return this._getUserVar(n)}_judgeGatherValue(n,r,s,l){return s!==`${U.SIMPLE} ${U.NA}`?!0:(l&&this._errorHandle(ye(de.objectIsNaErr,{name:n,type:"field"}),r),!1)}_nameCheck(n,r,s=ye(de.undeclared,{name:n})){const l=this._verifyName(n,r);return l||this._errorHandle(s,r),l}_inBlock(n){this._blockCount++,this._pushBlockRanges(n);const r=this.visit(n);return this._blockCount--,this._blockRanges.pop(),this._currentBlockVars.splice(this._blockCount+1),r}_errorHandle(n,r,s=Mn.Error){this._errors.push({message:n,startColumn:r.start.column+1,startLineNumber:r.start.line,endColumn:r.start.column+2+r.stop.stop-r.start.start,endLineNumber:r.stop.line,type:s})}_boolTypeJudge(n,r,s,l=0){return this._typeJudge(n,r,s,U.BOOL,[U.UNDETERMINED,U.INT,U.FLOAT,U.BOOL],l)}_calcTypeJudge(n,r,s,l=0){return this._typeJudge(n,r,s,"int/float",[U.UNDETERMINED,U.INT,U.FLOAT],l)}_typeJudge(n,r,s,l,h,m=0){const v=n&&n.type;if(v){const S=this._removePrefix(v);if(!h.includes(S)&&S!==U.NA)return this._errorHandle(ye(de.typeMismatch,{operator:`operator ${s}`,index:`expr${m}`,typeE:S,typeR:l}),r),U.UNDETERMINED;l===U.BOOL&&[U.INT,U.FLOAT].includes(S)&&this._errorHandle(ye(Dr.typeMismatch,{operator:`operator ${s}`,index:`expr${m}`,type:U.BOOL}),r,Mn.Warning)}return v||U.UNDETERMINED}_sameTypeJudge(n,r,s,l){let h="";const m=[],v=["plot_display","plot_simple_display"];["+","-","+=","-="].includes(s)&&(l=l.concat(v));for(const[S,C]of n.entries()){let T=C&&C.type||U.UNDETERMINED;const I=this._removePrefix(T);if(h||(h=I),!l.includes(I)&&l.length&&I!==U.NA){this._errorHandle(ye(de.typeMismatch,{operator:`operator ${s}`,index:`expr${S}`,typeE:T,typeR:l.slice(1).join("/")}),r[S]),h=U.UNDETERMINED,m.push(h);continue}if(h===U.UNDETERMINED||I===U.UNDETERMINED)T=h=U.UNDETERMINED;else if(h!==I&&h!==U.NA&&I!==U.NA&&(![U.INT,U.FLOAT].includes(h)||![U.INT,U.FLOAT].includes(I)))if(s===":=")this._errorHandle(ye(de.assignTypeMismatch,{typeE:I,name:n[0].name,typeR:h}),r[0]),T=h=U.UNDETERMINED;else if(["==","!=","?:"].includes(s)&&[U.INT,U.FLOAT,U.BOOL].includes(h)&&[U.INT,U.FLOAT,U.BOOL].includes(I))this._errorHandle(ye(Dr.typeMismatch,{operator:`operator ${s}`,index:`expr${S}`,type:h}),r[S],Mn.Warning),T=h=U.UNDETERMINED;else if(v.includes(h)&&v.includes(I)){if(h!==I){const B=this._getPrefix(T);m[S-1]=`${this._getPrefix(m[S-1])} ${v[0]}`,T=h=`${B} ${v[0]}`}}else this._errorHandle(ye(de.typeMismatch,{operator:`operator ${s}`,index:`expr${S}`,typeE:I,typeR:h}),r[S]),T=h=U.UNDETERMINED;m.push(T)}return m}_getUserVar(n,r=!1){for(let s=this._blockCount;s>=0;s--){const l=this._currentBlockVars[s];if(s<=0){const h=this._currentFuncParams.get(n);if(h)return h.isArg=!0,h}if(l){const h=l.get(n);if(h)return h}}if(n.includes(".")&&!r){let s=!1,l=null;if(n.split(".").reduce((h,m)=>{let v=h?`${h}.${m}`:m;const S=this._getUserVar(v,!0);return S!=null&&S.type?S.type===U.UNDETERMINED?s=!0:(v=S.type,l=S):l=null,v},""),s)return{name:n,type:U.UNDETERMINED};if(l)return l}return null}_repeatVarJudge(n,r){this._getBuildVar(n)&&this._errorHandle(ye(de.buidinVarErr,{name:n}),r);for(let l=0;l<=this._blockCount;l++){const h=this._currentBlockVars[l];if(h&&h.get(n)){if(this._blockCount===l)return this._errorHandle(ye(de.repeatVar,{name:n}),r),!0;this._errorHandle(ye(Dr.repeatVar,{name:n}),r,Mn.Warning)}}}_judgeVarBuildIn(n){for(let r=0;r<=this._blockCount;r++){const s=this._currentBlockVars[r];if(s&&s.get(n))return!0}return!1}_updateUserVar(n,r,s){for(let l=0;l<=this._blockCount;l++){const h=this._currentBlockVars[l];if(h){const m=h.get(n);if(m){m.type=r,m.valueType=s;return}}}}_variablesHandle(n,r){var h,m,v,S;if(!(n&&n.nameList))return;const s=n.nameList;if(s.name==="_")return;const l=n.value;if(s.ruleType===le.VarMultiple){s.types=[],this._checkVarMultiple(s.names,l,r);for(const[C,T]of s.names.entries()){const I=this._varTypeJudge("",((h=l==null?void 0:l.types)==null?void 0:h[C])||U.UNDETERMINED,r);s.types.push(I),this._addVarToMap(T,I,s.posList[C],!0)}}else{const C=(l==null?void 0:l.type)||((m=l==null?void 0:l.returnedTypes)==null?void 0:m[0]);((v=l==null?void 0:l.types)!=null&&v.isBrackethesized||(S=l==null?void 0:l.returnedTypes)!=null&&S.isBrackethesized)&&this._errorHandle(ye(de.tupleLeftVarErr,{name:s.name}),r),!s.type&&C===`${U.SIMPLE} ${U.NA}`&&this._errorHandle(de.naVarErr,r),s.prefix&&Pi.indexOf(s.prefix)>Pi.indexOf(this._getPrefix(C))&&this._errorHandle(ye(de.declaredErr,{prefix:s.prefix,type:C}),r);const T=this._varTypeJudge(s.type,C||U.UNDETERMINED,r);s.type=T,this._addVarToMap(s.name,T,s.pos,!0,s.isForVar,s.declare,l==null?void 0:l.type,s.desc)}}_checkVarMultiple(n,r,s){var S,C,T,I;const l=n.length,h=((r==null?void 0:r.types)||(r==null?void 0:r.returnedTypes)||[]).length,m=((S=r==null?void 0:r.types)==null?void 0:S.isBrackethesized)||((C=r==null?void 0:r.returnedTypes)==null?void 0:C.isBrackethesized);(T=r==null?void 0:r.types)!=null&&T.isUnknown||(I=r==null?void 0:r.returnedTypes)!=null&&I.isUnknown||(h===1&&!m||!h?this._errorHandle(de.tupleRightVarErr,s):l!==h&&this._errorHandle(ye(de.tupleVarErr,{indexA:h,indexB:l}),s))}_addEnumToMap(n,r,s){var v;const l=this._currentBlockVars[this._blockCount]||new Map,h=(v=this._enums.get(n))==null?void 0:v[0];if(h&&h.members)for(const S of h.members)l.set(`${n}.${S.name}`,S);const m={name:n,isEnum:!0,type:`${U.CONST} ${r}`,pos:s};l.set(n,m),this._currentBlockVars[this._blockCount]=l}_addVarToMap(n,r,s,l=!0,h=!1,m,v,S){var B;const C=this._currentBlockVars[this._blockCount]||new Map,T=(B=this._types.get(r))==null?void 0:B[0];if(T&&T.fields)for(const L of T.fields)C.set(`${n}.${L.name}`,L);const I={name:n,type:r,pos:s,valueType:v,desc:S};l&&this._setVariablesMap(I),C.set(n,Object.assign(I,{isForVar:h,declare:m})),this._currentBlockVars[this._blockCount]=C}_setVariablesMap(n,r=!1){const s=this._blockRanges[this._blockCount];r||(n.range=s,n.scope=this._blockCount);const l=this._variables.get(n.name)||[];l.push(n),this._variables.set(n.name,l)}_varTypeJudge(n,r,s){if(r===U.VOID)return this._errorHandle(de.voidNotVar,s),U.UNDETERMINED;if(n&&r!==U.UNDETERMINED){const l=this._removePrefix(n),h=this._removePrefix(r);return h!==l&&h!==U.NA&&!(l===U.FLOAT&&h===U.INT)?(this._errorHandle(ye(de.declareTypeErr,{type:n,valueType:r}),s),U.UNDETERMINED):this._typeHandle([n,r])}else if(r===U.UNDETERMINED)return U.UNDETERMINED;return n||r||U.UNDETERMINED}_getAllowTypes(n){const r=[];if(n===U.UNDETERMINED)return r;const s=this._getPrefix(n);if(s){const l=this._removePrefix(n);let h=-1;for(const[m,v]of Pi.entries())v===s&&(h=m),h>=0&&h<=m&&(l===U.FLOAT&&r.push(`${v} ${U.INT}`),r.push(`${v} ${l}`))}else n=this._arrayTypeConvert(n)||"",r.push(n),n.includes(U.FLOAT)&&r.push(n.replace(/float/,U.INT));return r}_setNewFunc(n,r){const s=`${n.name}.new`,l=[],h=[];for(const v of n.fields)l.push({name:v.name,required:!1,allowedTypeIDs:this._getAllowTypes(v.type),displayType:v.type}),h.push(`${v.type} ${v.name}`);const m={name:s,args:l,returnedTypes:[n.name],pos:r,syntax:[`${s}(${h.join(", ")}) → ${n.name}`]};n.isExport&&this._exportFunctions.push(m),this._functions.set(s,[{...m,isUser:!0}])}_setCopyFunc(n,r){const s=n.name,l=`${s}.copy`,h={name:l,args:[{name:"object",required:!0,allowedTypeIDs:[s],displayType:s}],returnedTypes:[s],pos:r,info:"The identifier of the object to be copied.",syntax:[`${l}(${s} object) → ${s}`]};n.isExport&&this._exportFunctions.push(h),this._functions.set(l,[{...h,isUser:!0}])}_setCopyMethod(n,r){const s=n.name,l=`${s}.copy`,h={name:l,originalName:l,args:[],returnedTypes:[s],thisType:[s],pos:r,syntax:[`${l}() → ${s}`]};n.isExport&&this._exportMethods.push(h),this._methods.set(l,[{...h,isUser:!0}])}_setFunc(n,r,s,l){const h=[],m=[],{desc:v,paramsDesc:S,returnsDesc:C,params:T,hasMemberIndex:I}=n;for(const O of T){const{type:R,name:D,defaultValue:H}=O;h.push({name:D,desc:S==null?void 0:S[D],required:!H,allowedTypeIDs:this._getAllowTypes(R),displayType:R}),m.push(`${R===U.UNDETERMINED?"":`${R} `}${D}`)}const{returnedTypes:B=[]}=n,L=n.name,b=B.length>1?`[${B.join(", ")}]`:B.toString(),y={name:L,desc:v,args:h,syntax:[`${L}(${m.join(", ")}) → ${b||"void"}`],hasMemberIndex:I,pos:r,isUser:!0,returnedTypes:B,returns:C,hasRequest:this._hasRequest};let g=this._functions.get(L);if(g){const O=g.length;y.index=O,n.index=O,this._verifyFuncRepeat(g,y,s),g.push(y),this._overloadsFuncs.push({name:L,index:O,line:r.lineNumber,startColumn:r.column+1,endColumn:r.column+L.length})}else g=[y];if(n.isExport){const{line:O=0}=this._endExport;l>O&&(this._endExport={line:l,name:L,index:y.index}),this._exportFunctions.push(y)}this._functions.set(L,g)}_setMethod(n,r){var R;const{name:s,returnedTypes:l,params:h,desc:m,paramsDesc:v,returnsDesc:S}=n,C=h[0].type,T=[],I=[];for(const D of h.slice(1)){const{type:H,name:X,defaultValue:ee}=D;T.push({name:X,desc:v==null?void 0:v[X],required:!ee,allowedTypeIDs:this._getAllowTypes(H),displayType:H}),I.push(`${H} ${X}`)}const B=l.length>1?`[${l.join(", ")}]`:l.toString(),L=this._getMethodTypeName(C),b=`${L}.${s}`;n.typeName=L;const y={name:s,args:T,desc:m,originalName:b,syntax:[`${s}(${I.join(", ")}) → ${B||"void"}`],returnedTypes:l,hasMemberIndex:n.hasMemberIndex,pos:r,thisType:[C],returns:S,hasRequest:this._hasRequest};let g=this._methods.get(b),O=this._functions.get(s);if(O){const D=O.filter(ee=>!ee.isImport).length,H=((R=g==null?void 0:g.filter(ee=>!ee.isImport))==null?void 0:R.length)||0;let X=D;D>H&&(X=D-1),y.index=X,n.index=X}g?g.push(y):g=[y],n.isExport&&this._exportMethods.push(y),this._methods.set(b,g)}_verifyFuncRepeat(n,r,s){const{args:l}=r;n.some(m=>{const{args:v}=m;return(v==null?void 0:v.length)!=(l==null?void 0:l.length)?!1:!(v!=null&&v.length)&&!(l!=null&&l.length)?!0:v==null?void 0:v.every((S,C)=>{var T;return S.displayType===((T=l==null?void 0:l[C])==null?void 0:T.displayType)})})&&this._errorHandle(ye(de.funcRepeatErr,{name:r.name}),s)}_getMethodTypes(n,r){let s;for(const[l,h]of n.entries()){const{type:m,expr:v,args:S}=h;let{name:C}=h;const T=r[l];if(v){if(v.type===U.UNDETERMINED)return[U.UNDETERMINED];C=`${this._getMethodTypeName(v.type)}${C}`,S.params.unshift(v)}if(s&&s.length>=1)if(s.length===1){const I=s[0];if(I===U.UNDETERMINED)return[U.UNDETERMINED];const B=this._getOriginMethodName(I,C);C.includes(".")?s=this._getOtherNamesMethodType(B,s,T,S,h):s=this._expandMethodHandle(B,T,S,{type:I},I,h)}else this._errorHandle(ye(de.noFiledErr,{name:C}),T);else{const[I,B]=this._tempFuncNameHandle(C,T,m);C=B;const L=this._buildinFunctions.get(I);if(L)this._globalFuncVerify(L[0],T),this._hasMemberIndexVerify(L[0],T,h),h.isBuiltIn=!0,s=this._getBuildInReturnTypes(L,S,C,T,void 0,m);else{const b=this._functions.get(C);if(b)if(b.length<=1){this._hasMemberIndexVerify(b[0],T,h),s=b[0].returnedTypes;const{hasErr:y}=this._checkArgs(S,b[0].args||[],C,T,s[0]);if(y)return[U.UNDETERMINED]}else{const y=this._overloadsFuncGetTypes(b,S,T,void 0,h);s=this._returnedTypesParse([y])}else s=this._getOtherNamesMethodType(C,s,T,S,h)}}h.returnTypes=s}return s===void 0&&this._errorHandle(ye(de.notFindFuncErr,{name:n[0].name}),r[0]),s}_globalFuncVerify(n,r){this._blockCount!==0&&F_.includes(n.name)&&this._errorHandle(ye(de.globalFuncErr,{name:n.name}),r)}_hasMemberIndexVerify(n,r,s){n.hasRequest&&(s.hasRequest=!0,this._hasRequest=!0),n.hasMemberIndex||n.name.startsWith("ta.")||n.name==="math.sum"?(this._hasMemberIndex=this._isInFunc,s.hasMemberIndex=!0,s.position=r.start.tokenIndex):n.name.startsWith("request.")&&this._isInLocalScop&&this._errorHandle(de.requestUserInLoopErr,r)}_tempFuncNameHandle(n,r,s){let l=n;if(s&&s.length>=1){const h=["array.new","matrix.new"].includes(n),m=n==="map.new";if(s.length===1)if(h)l=`${n}<type>`,n=`${n}<${s[0]}>`;else return m?this._errorHandle(ye(de.templateErr,{countA:2,countB:1}),r):this._errorHandle(ye(de.templateNoSupportErr,{name:n}),r),[U.UNDETERMINED];else{if(!m)return h?this._errorHandle(ye(de.templateErr,{countA:1,countB:2}),r):this._errorHandle(ye(de.templateNoSupportErr,{name:n}),r),[U.UNDETERMINED];if(!lu.includes(s[0]))return this._errorHandle(ye(de.mapKeyErr,{type:this._typeAddSeries(s[0])}),r),[U.UNDETERMINED];l=`${n}<type,type>`,n=`${n}<${s[0]},${s[1]}>`}}return[l,n]}_getOtherNamesMethodType(n,r,s,l,h){const m=n.split("."),v=m.length-1,S=m.slice(0,v).join("."),C=this._getUserVar(S);this._judgeGatherValue(m[v],s,C==null?void 0:C.valueType)||(h.name=`${S}?.${m[v]}`);const I=C==null?void 0:C.type;if(I){if(I===U.UNDETERMINED)return r=[U.UNDETERMINED],r.isUnknown=!0,r;const B=this._getOriginMethodName(I,m[v]);h.varScope=C.scope,r=this._expandMethodHandle(B,s,l,C,S,h)}else{let B="",L="",b="";for(const y of m.slice(0,v)){B?L=this._getOriginMethodName(B,y):L=L?`${L}.${y}`:y;const g=this._verifyName(L);if(g!=null&&g.type){if(B=g.type,b="",g.title.startsWith("built-in variable")){const O=this._getOriginMethodName(B,m[v]);r=this._expandMethodHandle(O,s,l,C,S,h),h.hasVarPrefix=!0}}else this._buildinTypes.get(L)?b=ye(de.methodNotExistErr,{name:L,methodName:m[v]}):b=ye(de.noFiledErr,{name:y})}b&&this._errorHandle(b,s)}return r}_expandMethodHandle(n,r,s,l,h,m){var C,T;let v;const S=this._buildinMethods.get(n);if(S)m.name=m.name.split(".").join("?."),v=this._getBuildInReturnTypes(S,s,n,r,l);else{const I=this._methods.get(n);if(I&&I.length)if(I.length<=1){const B=I[0],L=this._getMethodTypeName(((C=B.thisType)==null?void 0:C[0])||"");if(this._types.get(L))m.name=m.name.split(".").join("?.");else{const g=this._functions.get(B.name);g&&(m.selfArg=(T=g[B.index||0].args)==null?void 0:T[0])}m.funcName=B.name,m.index=B.index,this._hasMemberIndexVerify(B,r,m),v=B.returnedTypes;const{hasErr:y}=this._checkArgs(s,B.args||[],n,r,(v==null?void 0:v[0])||"");if(y)return[U.UNDETERMINED]}else{const B=this._overloadsFuncGetTypes(I,s,r,l,m);v=this._returnedTypesParse([B])}else this._errorHandle(ye(de.methodNotExistErr,{methodName:n.split(".").slice(-1)[0],name:h}),r)}return v}_getBuildInReturnTypes(n,r,s,l,h,m){var S;let v;if(n.length===1){const{returnedTypes:C,syntax:T,args:I=[],thisType:B}=n[0],L=T[0].split("→")[1].trim(),b=h||r.params[0]||((S=I[0])==null?void 0:S.name)&&r[I[0].name];b&&!this._checkMethodThisType(B,b.type)&&this._errorHandle(ye(de.typeMismatch,{operator:s,index:b.name||"id",typeE:b.type,typeR:B[0]}),l);const{hasErr:y,types:g}=this._checkArgs(r,I,s,l,L,b);if(y)return[U.UNDETERMINED];if(v=g.length&&g||this._returnedTypesParse(C),v.length>1)return v;(m==null?void 0:m.length)===1?v=[this._typeReplace(L,m[0])]:(m==null?void 0:m.length)===2&&(v=[`${U.MAP}<${m[0]},${m[1]}>`]),v=this._returnTypesOtherHandle(b,L,v,s)}else{const C=this._overloadsFuncGetTypes(n,r,l,h);v=this._returnedTypesParse([C])}return v}_overloadsFuncGetTypes(n,r,s,l,h){var L,b,y;let m="",v=[],S=[],C=0,T=0;for(const[g,O]of n.entries()){const{args:R,returnedTypes:D,name:H,thisType:X}=O,ee=l||r.params[0]||r[R[0].name],{errMsg:z,warnMsg:q,matchCount:$}=this._overloadsCheckArgs(r,R,H,s,ee);$>T&&(C=g,T=$),ee&&!this._checkMethodThisType(X,ee.type)&&z.unshift({msg:ye(de.typeMismatch,{operator:H,index:ee.name||"id",typeE:ee.type,typeR:X[0]}),ctx:s}),g===0?(v=z,S=q,!z.length&&(m=D[0])):z.length?((L=v[0])!=null&&L.isLenErr&&!((b=z[0])!=null&&b.isLenErr)||v.length>z.length)&&(v=z,S=q,C=g):this._priorityComparison(m,D[0])||(D[0]===`${U.ARRAY}<>`?m=`${ee.type}[]`:m=D[0],v=z,S=q,C=g)}for(const g of v)this._errorHandle(g.msg,g.ctx);for(const g of S)this._errorHandle(g.msg,g.ctx,Mn.Warning);const I=s.children[0],B=n[0].name;if(I&&this._overloadsFuncs.push({name:B,index:C,line:I.start.line,startColumn:I.start.column+1,endColumn:I.start.column+B.length}),h){const g=n[C],{thisType:O,name:R,index:D}=g;if(this._hasMemberIndexVerify(g,s,h),h.index=D||C,O){const H=this._getMethodTypeName((O==null?void 0:O[0])||"");if(this._types.get(H))h.name=h.name.split(".").join("?.");else{const ee=this._functions.get(R);ee&&(h.selfArg=(y=ee[0].args)==null?void 0:y[0])}}}return this._funcArgsAddOriginName(r,n[C].args,B),m||U.UNDETERMINED}_funcArgsAddOriginName(n,r,s){const l=n.params||[];for(const[h,m]of r.entries())h<l.length&&(l[h].originName=m.name);if(s==="input"){const h=l[0]||n.defval;Object.assign(n,{inputType:{name:`'${h!=null&&h.isSourceType?"source":this._removePrefix(h==null?void 0:h.type)}'`}})}}_overloadsCheckArgs(n,r,s,l,h){const m={...n},v=m.params;delete m.params;const S=Object.keys(m).length+v.length,C=r.length,T=[],I=[];let B=0;S>C&&(r.some(b=>["arg0, arg1, ...","number0, number1, ..."].includes(b.name))||T.push({msg:ye(de.argsLenErr,{name:s,lenA:S,lenB:C}),isLenErr:!0,ctx:l}));for(const[L,b]of r.entries()){let y=m[b.name];if(L<v.length&&(y&&I.push({msg:ye(Dr.moreSameArg,{arg:b.name}),ctx:l}),y=v[L]),!y)b.required&&T.push({msg:ye(de.requiredParamErr,{name:s,argName:b.name}),ctx:l});else{const g=y.type!==`${U.SIMPLE} na`?this._checkArg(y,b,s,h,y.ctx,!0):"";g?T.push({msg:g,ctx:y.ctx}):g!==!1&&B++,delete m[b.name]}if(["arg0, arg1, ...","number0, number1, ..."].includes(b.name)&&v.length>L+1){const g=v.slice(L+1);let O=v[L];for(const R of g){O.type===`${U.SIMPLE} ${U.NA}`&&(O=R);const D=R.type!==`${U.SIMPLE} ${U.NA}`?this._checkArg(R,b,s,O,R.ctx,!0):"";D&&T.push({msg:D,ctx:R.ctx})}}}if(Object.keys(m).length)for(const L of Object.keys(m))T.push({msg:ye(de.argsNameErr,{name:s,argName:L}),ctx:m[L].ctx});return{errMsg:T,warnMsg:I,matchCount:B}}_checkArgs(n,r,s,l,h,m){var L;const v={...n},S=v.params;delete v.params;const C=Object.keys(v).length+S.length,T=r.length;let I=!1,B=[];if(C>T&&!r.some(y=>["arg0, arg1, ...","number0, number1, ..."].includes(y.name)))return this._errorHandle(ye(de.argsLenErr,{name:s,lenA:C,lenB:T}),l),I=!0,{hasErr:I,types:B};for(const[b,y]of r.entries()){let g=v[y.name];if(b<S.length&&(g&&this._errorHandle(ye(Dr.moreSameArg,{arg:y.name}),l,Mn.Warning),g=S[b],g.originName=y.name),!g)y.required&&(this._errorHandle(ye(de.requiredParamErr,{name:s,argName:y.name}),l),I=!0);else{const O=g.type!==`${U.SIMPLE} ${U.NA}`?this._checkArg(g,y,s,m,g.ctx):"";if(O)this._errorHandle(O,g.ctx),I=!0;else if(O===!1)I=!0;else if(s.startsWith("request.")&&y.name==="expression")if(g.ruleType===le.Brackethesized)B=g.exprs.map(R=>this._typeReplace(h,R.type));else if((L=g.types||g.returnedTypes)!=null&&L.isBrackethesized)B=(g.types||g.returnedTypes).map(R=>this._typeReplace(h,R));else{const R=this._typeReplace(h,g.type);B.push(R)}else if(s==="input.enum"&&y.name==="defval"){const R=this._removePrefix(g.type);B.push(`${U.INPUT} ${R}`)}delete v[y.name]}}if(Object.keys(v).length)for(const b of Object.keys(v))this._errorHandle(ye(de.argsNameErr,{name:s,argName:b}),v[b].ctx),I=!0;return{hasErr:I,types:B}}_checkArg(n,r,s,l,h,m){var b,y;const{ruleType:v,exprs:S,name:C}=n;let T=n.type;v===le.Brackethesized&&(T=`[${S.map(g=>g.type).join(", ")}]`);const{allowedTypeIDs:I=[],displayType:B,name:L}=r;if(!(!T||T===U.UNDETERMINED||B===U.UNDETERMINED)){if(s==="input"&&L==="defval"&&!T.startsWith(U.CONST))if(Al.includes(C))n.isSourceType=!0;else return de.inputDefvalErr;if(!(this._checkMethodThisType(I,this._arrayTypeConvert(T))&&!(["input.source","input.enum"].includes(s)&&L==="defval"))){if(L==="condition"&&(B!=null&&B.endsWith(U.BOOL))){if(T.endsWith(U.INT)||T.endsWith(U.FLOAT)){h&&this._errorHandle(ye(Dr.typeMismatch,{index:L,operator:s,type:U.BOOL}),h,Mn.Warning);return}}else if(s==="str.tostring"&&L==="value"){const g=this._removePrefix(T);if(this._enums.get(g))return}switch(B){case"tuple of const string values: [val1, val2, ...]":return this._tupleToCheck(n,r,[`${U.CONST} ${U.STRING}`],s,T);case"tuple of const int/float values: [val1, val2, ...]":return this._tupleToCheck(n,r,[`${U.CONST} ${U.FLOAT}`,`${U.CONST} ${U.INT}`],s,T);case"tuple of const int values: [val1, val2, ...]":return this._tupleToCheck(n,r,[`${U.CONST} ${U.INT}`],s,T);case"open/high/low/close/hl2/hlc3/ohlc4/hlcc4":if(!C||!Al.includes(C))return ye(de.inputSourceErr,{name:L,funcName:s});if(this._judgeVarBuildIn(C))return ye(de.buildInUseErr,{name:C});n.isSourceType=!0;break;case"<matrix_type>":case"<array_type>":const g=this._getArrayType(s)||"";if(!T.endsWith(g)&&!(T.endsWith(U.INT)&&g===U.FLOAT))return ye(de.typeMismatch,{operator:s,index:L,typeE:T,typeR:this._typeAddSeries(g)});break;case"any matrix type":if(this._isMatrixType(T)){if(L==="id2"){const q=this._getArrayType(l==null?void 0:l.type);if(!q)return;const $=this._getArrayType(T)||"";if(q!==$)return ye(de.typeMismatch,{operator:s,index:L,typeE:$,typeR:q})}}else return ye(de.typeMismatch,{operator:s,index:L,typeE:T,typeR:"matrix<fun_arg>"});break;case"any array type":if(this._isArrayType(T)){if(L==="id2"){const q=this._getArrayType(l==null?void 0:l.type);if(!q)return;const $=this._getArrayType(T)||"";if(q!==$)return ye(de.typeMismatch,{operator:s,index:L,typeE:$,typeR:q})}}else return ye(de.typeMismatch,{operator:s,index:L,typeE:T,typeR:"array<fun_arg>"});break;case"series <type of the matrix's elements>":case"series <type of the array's elements>":const O=this._getArrayType(l==null?void 0:l.type)||"";if(!T.endsWith(O)&&!(T.endsWith(U.INT)&&O===U.FLOAT))return ye(de.typeMismatch,{operator:s,index:L,typeE:T,typeR:this._typeAddSeries(O)});break;case"any map type":if(this._isMapType(T)){if(L==="id2"){const q=this._getMapType(l==null?void 0:l.type);if(!q)return;const $=this._getMapType(T)||[];if(q[0]!==$[0]||q[1]!==$[1])return ye(de.mapKeyValErr,{typeA:this._typeAddSeries($[0]),typeB:this._typeAddSeries($[1]),typeC:this._typeAddSeries(q[0]),typeD:this._typeAddSeries(q[1]),name:s})}}else return ye(de.typeMismatch,{operator:s,index:L,typeE:T,typeR:"map<type, type>"});break;case"series <type of the map's elements>":const R=this._getMapType(l==null?void 0:l.type);if(!R)return;const D=L==="key"?0:1;if(!T.endsWith(R[D])&&!(T.endsWith(U.INT)&&R[D]===U.FLOAT))return ye(de.typeMismatch,{operator:s,index:L,typeE:T,typeR:this._typeAddSeries(R[D])});break;case"<arg_expr_type>":if(v===le.Brackethesized)return ye(de.typeMismatch,{operator:s,index:L,typeE:T,typeR:B||""});break;case"<arg_type>":case"variable, function, object, array or matrix of series int/float/bool/string/color, or a tuple of these":const H=this._removePrefix(T);if([U.BOX,U.LABEL,U.LINE,U.LINEFILL,U.POLYLINE,U.TABLE].includes(H))return h&&this._errorHandle(ye(de.requestExprErr,{type:H,name:s}),h),!1;break;case"variable, object or function of series int/float/bool/string/color, or a tuple of these":if(v===le.Brackethesized){for(const q of S)if(!I.includes(q.type))return this._errorHandle(ye(de.requestArgsErr,{name:s,argName:L,type:q.type}),q.ctx),!1}break;case"const int/float/bool/string/color or source-type built-ins":if(Al.includes(n.name)&&I[0].endsWith(this._removePrefix(T)))n.isSourceType=!0;else return ye(de.typeMismatch,{operator:s,index:L,typeE:T,typeR:"const int/float/bool/string/color"});break;case"<arg..._type>":if(v===le.Brackethesized||this._isArrayType(T)||this._isMapType(T)||this._isMatrixType(T))return ye(de.typeMismatch,{operator:s,index:L,typeE:T,typeR:`${U.SERIES} ${U.INT}`});if(T!==(l==null?void 0:l.type))return ye(de.typeMismatch,{operator:s,index:L,typeE:T,typeR:l==null?void 0:l.type});break;case"simple enum":const X=this._removePrefix(T);if(!this._enums.has(X))return ye(de.typeMismatch,{operator:s,index:L,typeE:T,typeR:"const enum"});break;case"tuple of enum fields: [enumName.field1, enumName.field2, ...]":const ee=l==null?void 0:l.enumName;if(ee&&!((b=n.exprs)==null?void 0:b.every($=>$.enumName===ee)))return ye(de.typeMismatch,{operator:s,index:L,typeE:`${n.exprs?`[${(y=n.exprs)==null?void 0:y.map($=>$.type).join(", ")}]`:n.type}`,typeR:`[const ${ee}...]`});break;default:const z=this._removePrefix(n.type);if(n.arg&&n.arg.isArg&&!m){const q=I.find($=>$.endsWith(z));if(q){n.type=q,n.arg.type=q;return}}if(I.length===1&&this._removePrefix(I[0])===z){const q=this._getPrefix(n.type),$=this._getPrefix(I[0]);if(Pi.indexOf(q)>=Pi.indexOf($))return}if(B)return ye(de.typeMismatch,{operator:s,index:L,typeE:T,typeR:B})}}}}_tupleToCheck(n,r,s,l,h){var m,v;if(s.push(`${U.SIMPLE} ${U.NA}`),n.ruleType===le.Brackethesized){const S=[];let C=!1;for(const T of n.exprs)S.push(T.type),s.includes(T.type)||(C=!0);if(C)return ye(de.typeMismatch,{operator:l,index:r.name,typeE:`[${S.join(", ")}]`,typeR:((m=r.allowedTypeIDs)==null?void 0:m[0])||""})}else return ye(de.typeMismatch,{operator:l,index:r.name,typeE:h,typeR:((v=r.allowedTypeIDs)==null?void 0:v[0])||""})}_getBlockReturnTypes(n){var I,B;let r=n;if(Array.isArray(n)&&(r=n.slice(-1)[0],Array.isArray(r)&&(r=r.slice(-1)[0])),!r)return[U.UNDETERMINED];const{ruleType:s,type:l,types:h,returnedTypes:m,exprs:v,nameList:S,typeList:C,block:T}=r;if(h&&h.length)return h;if(m&&m.length)return m;if(l)return[l];switch(s){case le.Brackethesized:const L=v.map(ee=>ee.type);return L.isBrackethesized=!0,L;case le.VarBlockStmt:case le.DeclareAssign:return S?S.ruleType===le.VarMultiple?S.types:[S.type]:[((I=r.name)==null?void 0:I.type)||U.UNDETERMINED];case le.SwitchStatement:if(!this._isNeedCalc&&this._isInFunc&&this._isEndExpr===!1)return[U.UNDETERMINED];const b=[...r.cases];r.defaultCase&&b.push(r.defaultCase);let y=((B=b[0])==null?void 0:B.returnedTypes)||[],g=y.length<=1?y[0]:`[${y.join(", ")}]`,O=null;for(const ee of b.slice(1)){const z=ee.returnedTypes||[U.UNDETERMINED];g+=z.length<=1?`; ${z[0]}`:`; [${z.join(", ")}]`;const q=Array.isArray(ee.block)?ee.block.slice(-1)[0]:ee.block;if(z.length!==y.length)O=q.ctx;else for(const[$,ce]of y.entries())if(this._compareType(z[$],ce))(z[$].includes(U.FLOAT)&&!ce.includes(U.FLOAT)||y[$]===`${U.SIMPLE} ${U.NA}`||y[$]===U.UNDETERMINED)&&(y[$]=z[$]);else{O=q.ctx;break}}return O&&(this._errorHandle(ye(de.ifOrSwitchTypeErr,{keyword:"switch",types:g}),O),y=y.map(()=>U.UNDETERMINED)),r.returnedTypes=y,y;case le.IfStatement:if(!this._isNeedCalc&&!this._isInFunc)return[U.UNDETERMINED];if(!C.filter(ee=>ee&&ee.length).length)return[U.UNDETERMINED];let R=C[0]||[],D=R.length<=1?R[0]:`[${R.join(", ")}]`,H=0,X=0;for(const ee of C.slice(1))if(ee)if(H++,D+=ee.length<=1?`; ${ee[0]}`:`; [${ee.join(", ")}]`,ee.length!==R.length)X=H;else for(const[z,q]of R.entries())if(this._compareType(ee[z],q))(ee[z].includes(U.FLOAT)&&!q.includes(U.FLOAT)||R[z]===`${U.SIMPLE} ${U.NA}`)&&(R[z]=ee[z]);else{X=H;break}if(X){const ee=T[X].slice(-1)[0],z=Array.isArray(ee)?ee.slice(-1)[0]:ee;this._errorHandle(ye(de.ifOrSwitchTypeErr,{keyword:"if",types:D}),z.ctx),R=R.map(()=>U.UNDETERMINED)}return r.returnedTypes=R,R}return[U.UNDETERMINED]}}class $_{constructor(e){k(this,"_nameMap");k(this,"_prefixNameVar");k(this,"_prefixNameFunc");k(this,"_prefixNameConst");k(this,"_userTypes");k(this,"_isInFunc");k(this,"_currentFuncName");k(this,"_varlist");k(this,"_memberIndexList");k(this,"_blockCount");k(this,"_inputCount");k(this,"_count");k(this,"_isSwitch",!1);k(this,"_isInLoop",!1);k(this,"_codesCol");k(this,"_dependsObj");k(this,"_enums");k(this,"_preRunMembers");k(this,"_isInConditionalStmt",!1);k(this,"_preRunMembersFuncs");k(this,"_preRunMemberFuncsCount",0);this._nameMap=new Map,this._prefixNameVar=`${e}_var`,this._prefixNameFunc=`${e}_func`,this._prefixNameConst=`${e}_const`,this._userTypes=[],this._isInFunc=!1,this._varlist=[{}],this._memberIndexList=[{}],this._blockCount=0,this._inputCount=0,this._count=0,this._codesCol=[[]],this._dependsObj={},this._enums=new Map,this._preRunMembers=[],this._preRunMembersFuncs=[]}preParser(e){var r,s;const n=[];for(const l of e){if(!l)return;if(Array.isArray(l)){for(const h of l)if(n.push(this._parserStmt(h)),Sl.includes((s=(r=h.exprs)==null?void 0:r[0])==null?void 0:s.name))return n.join(`;
14
+ `).replace(/;+/g,";")}else n.push(this._parserStmt(l))}return""}parser(e){const n=[];for(const s of e){if(!s)return;if(Array.isArray(s))for(const l of s)n.push(this._parserStmt(l));else n.push(this._parserStmt(s))}const r=this._memberIndexList[this._blockCount]||{};return n.push(...Object.values(r)),n.join(`;
15
+ `).replace(/;+/g,";")}_parserStmt(e,n=!1){let r="";switch(e==null?void 0:e.ruleType){case le.DeclareAssign:r=this._parserDeclareAssign(e);break;case le.MethodExpression:r=`${this._parserMethodExpression(e)}`;break;case le.ArrowFunction:r=this._parserArrowFunction(e);break;case le.ArrowMethod:r=this._parserArrowMethod(e);break;case le.IfStatement:r=this._parserIfStatement(e,n);break;case le.WhileStatement:r=this._parserWhileStatement(e,n);break;case le.SwitchStatement:r=this._parserSwitchStatement(e,n);break;case le.ForInStatement:r=this._parserForInStatement(e,n);break;case le.ForToStatement:r=this._parserForToStatement(e,n);break;case le.AgainAssign:r=this._parserAgainAssign(e);break;case le.ImportElement:r=e.code||"";break;case le.TypeStatement:r=this._parserTypeStatement(e);break;case le.VarBlockStmt:r=this._parserVarBlockStmt(e);break;case le.FlowStmt:if(this._isSwitch&&e.value==="break"){if(this._isInLoop){r="$$isBreak = true;";break}r="";break}r=`${e.value};`;break;case le.Brackethesized:r=this._parserBrackethesized(e);break;case le.EnumStatement:r=this._parserEnumStatement(e);break;default:r=this._parserSingleExpression(e);break}let s="";const l=this._preRunMembersFuncs[this._blockCount];l!=null&&l.length&&(s=l.join(`;
16
+ `),this._preRunMembersFuncs[this._blockCount]=[]);const h=this._preRunMembers[this._blockCount];return h!=null&&h.length&&(s=`${s}
17
+ ${h.join(`;
18
+ `)}`,this._preRunMembers[this._blockCount]=[]),s&&(r=`${s}${n?`
19
+ /****/
20
+ `:`;
21
+ `}${r}`),r}_parserEnumStatement(e){let{name:n,fields:r}=e;const s=[],l=[];for(const m of r){const{name:v,value:S}=m,C=S===void 0?`"${v}"`:S;l.push(C),s.push(`${v}: ${C}`)}kn.includes(n)&&(n=`$${n}`),this._enums.set(n,l);const h=`const ${n} = {${s.join(", ")}}`;return this._codesCol[this._blockCount].push({code:h,varNames:[n],depends:[]}),h}_parserTypeStatement(e){const n=[],r=[];for(const h of e.fields){const{name:m,value:v}=h;h.isVarip&&r.push(`"${m}"`),n.push(`${m}: ${v?this._parserSingleExpression(v):"undefined"}`)}this._userTypes.push(e.name);let s=e.name;kn.includes(s)&&(s=`$${s}`);const l=`const ${s} = ${this._prefixNameVar}.getTypeInstance({${n.join(", ")}}, [${r.join()}])`;return this._codesCol[this._blockCount].push({code:l,varNames:[s],depends:[]}),l}_parserVarBlockStmt(e){const{nameList:n,value:r}=e;this._addVarList(n);const s=this._parserDeclareAssignNames(n),l=`$${s}_${this._blockCount}`;this._dependsObj[l]=new Map;const h=this._parserStmt(r,!0),m=h.split(`
22
+ /****/
23
+ `);let v="";m.length>1?v=`${m[0]}
24
+ let ${s} = ${m[1]}
25
+ `:v=`let ${s} = ${h}`;const S={code:v,varNames:s.replace(/[\[\]]/g,"").split(", "),depends:this._getDepends(l)};return this._codesCol[this._blockCount].push(S),v}_getDepends(e){const n=[];for(const[r,s]of this._dependsObj[e])(s.scope||0)>this._blockCount||n.push(s);return delete this._dependsObj[e],n}_parserForToStatement(e,n=!1){let{numerical:r,block:s,name:l}=e;const[h,m,v]=r,S=this._isInLoop;this._isInLoop=!0;const C=`$start${this._count++}`,T=`$$count${this._count}`,I=`$forTo${this._blockCount}`;n||(this._dependsObj[I]=new Map);const B=this._parserSingleExpression(h),L=this._parserSingleExpression(m),b=v?this._parserSingleExpression(v):"",y=this._parserBlockLine(s,n,!1,!0);kn.includes(l)&&(l=`$${l}`);const g=`const ${C} = Date.now()`,O=`for (let ${l}=${B}; ${l}>=(${L}); ${l}-=(${b||"1"})){
26
+ if (Date.now() - ${C} > 500) {
27
+ throw new Error('${de.loopRuntimeErr}')
28
+ }
29
+ ${T}++
30
+ ${y}
31
+ }`,R=`for (let ${l}=${B};${l}<=(${L}); ${l}+=(${b||"1"})){
32
+ if (Date.now() - ${C} > 500) {
33
+ throw new Error('${de.loopRuntimeErr}')
34
+ }
35
+ ${T}++
36
+ ${y}
37
+ }`;let D="";return(h==null?void 0:h.ruleType)==="Literal"&&(m==null?void 0:m.ruleType)==="Literal"?D=Number(h.value)>Number(m.value)?O:R:D=`if ((${B})>(${L})) {
38
+ ${O}
39
+ } else {
40
+ ${R}
41
+ }`,D=`${g};
42
+ let ${T} = 0
43
+ ${D}`,n||this._codesCol[this._blockCount].push({code:D,depends:this._getDepends(I)}),this._isInLoop=S,n?this._functionalProcess(D):D}_parserForInStatement(e,n=!1){const{names:r,block:s,array:l}=e,h=this._isInLoop;this._isInLoop=!0;const m=`$start${this._count++}`,v=`$$count${this._count}`,S=this._parserBlockLine(s,n,!1,!0);let C="",[T,I]=r;kn.includes(T)&&(T=`$${T}`);const B=`const ${m} = Date.now()`;return r.length===1?C=`for (const ${T} of ${this._parserSingleExpression(l)}._value) {
44
+ if (Date.now() - ${m} > 500) {
45
+ throw new Error('${de.loopRuntimeErr}')
46
+ }
47
+ ${v}++
48
+ ${S}
49
+ }`:(kn.includes(I)&&(I=`$${I}`),C=`for (const [${T},${I}] of (${this._parserSingleExpression(l)})._value.entries()) {
50
+ if (Date.now() - ${m} > 500) {
51
+ throw new Error('${de.loopRuntimeErr}')
52
+ }
53
+ ${v}++
54
+ ${S}
55
+ }`),this._isInLoop=h,C=`${B};
56
+ let ${v} = 0;
57
+ ${C}`,n?this._functionalProcess(C):C}_parserAgainAssign(e){const{operator:n,name:r,value:s}=e,{varPos:l,declare:h}=r,m=`$againAssign${this._blockCount}`;this._dependsObj[m]=new Map;const v=this._parserName(r,!0);let S="",C=this._parserStmt(s,!0);const T=C.split(`
58
+ /****/
59
+ `);let I="";T.length>1&&(I=T[0],C=T[1]);const B=`$_tmp_${v.split(".").pop()}`;n===":="&&(I=`${I}
60
+ var ${B} = ${C}`);let L=`${v} ${n===":="?`= ${B}`:`${n} ${C}`}`;const b=`${l==null?void 0:l.column}_${l==null?void 0:l.lineNumber}`;if(h){const g=this._isInFunc?`$posStr + "_${b}"`:`"${b}"`;S=`;
61
+ ${this._prefixNameVar}.setVarValue("${v}", ${g}, ${v}, "${h}")`}n==="-="?L=`${v} = ${this._prefixNameVar}.sub(${v}, ${C})`:n==="+="?L=`${v} = ${this._prefixNameVar}.add(${v}, ${C})`:n===":="&&(I=`${I};
62
+ ${this._prefixNameVar}.againAssignParse(${v}, ${B});
63
+ `);const y=`${I}${L}${S}`;return this._codesCol[this._blockCount].push({code:y,depends:this._getDepends(m)}),y}_parserSwitchStatement(e,n=!1){const{condition:r,cases:s,defaultCase:l}=e;let h=`$switch${this._blockCount}`;n||(this._dependsObj[h]=new Map);const m=this._isSwitch;this._isSwitch=!0;const v=s.length?this._parserCases(s,n):"",S=l?this._parserDefaultCase(l,n):"",C=`switch (${r===!0?r:this._parserSingleExpression(r)}) {
64
+ ${v}
65
+ ${S}
66
+ }`;n||this._codesCol[this._blockCount].push({code:C,depends:this._getDepends(h)});const T=n?this._functionalProcess(C):C;return this._isSwitch=m,T}_parserCases(e,n=!1){const r=[];for(const s of e)r.push(this._parserCase(s,n));return r.join(`
67
+ `)}_parserDefaultCase(e,n=!1){return`default:
68
+ { ${this._parserBlock(e.block,n)} }
69
+ break;`}_parserCase(e,n=!1){const{condition:r,block:s}=e;return`case ${this._parserSingleExpression(r)}:
70
+ { ${this._parserBlock(s,n)} }
71
+ break;`}_parserWhileStatement(e,n=!1){const{condition:r,block:s}=e;let l=`$while${this._blockCount}`;n||(this._dependsObj[l]=new Map);const h=this._isInLoop;this._isInLoop=!0;const m=`$start${this._count++}`,v=`const ${m} = Date.now()`,S=`$$count${this._count}`;let C=`while (${this._parserSingleExpression(r)}) {
72
+ if (Date.now() - ${m} > 500) {
73
+ throw new Error('${de.loopRuntimeErr}')
74
+ }
75
+ ${S}++
76
+ ${this._parserBlockLine(s,n,!1,!0)}
77
+ }`;return C=`${v};
78
+ let ${S} = 0;
79
+ ${C}`,n||this._codesCol[this._blockCount].push({code:C,depends:this._getDepends(l)}),this._isInLoop=h,n?this._functionalProcess(C):C}_parserIfStatement(e,n=!1){const{condition:r,block:s}=e;let l="",h=`$if${this._blockCount}`;n||(this._dependsObj[h]=new Map);for(const[m,v]of s.entries()){const S=this._parserBlockLine(v,n),C=r[m]&&this._parserSingleExpression(r[m]);m===0?l=`if (${C}) {
80
+ ${S}
81
+ }`:C?l+=`else if (${C}) {
82
+ ${S}
83
+ }`:l+=`else {
84
+ ${S}
85
+ }`}return n||this._codesCol[this._blockCount].push({code:l,depends:this._getDepends(h)}),n?this._functionalProcess(l):l}_parserBlockLine(e,n=!1,r=!1,s=!1){const l=[],h=e.length;this._blockCount++,this._codesCol[this._blockCount]=[];let m=e.slice(-1)[0];(m==null?void 0:m.ruleType)===le.FlowStmt&&(m=e.slice(-2)[0]),s&&l.push("let $$isBreak = false;");for(const[v,S]of e.entries()){const C=n&&v===h-1;if(Array.isArray(S)){const T=[...S];C&&(m=T.pop(),(m==null?void 0:m.ruleType)===le.FlowStmt&&(m=T.pop()));for(const I of T){const B=this._parserStmt(I);B&&l.push(B),(I==null?void 0:I.ruleType)===le.SwitchStatement&&s&&l.push(`
86
+ if ($$isBreak) {
87
+ break;
88
+ }
89
+ `)}}else C||(l.push(this._parserStmt(S)),(S==null?void 0:S.ruleType)===le.SwitchStatement&&s&&l.push(`
90
+ if ($$isBreak) {
91
+ break;
92
+ }
93
+ `))}if(n&&m){const v=this._parserReturnBlock(m,r);l.push(v),(m==null?void 0:m.ruleType)===le.SwitchStatement&&s&&l.push(`
94
+ if ($$isBreak) {
95
+ break;
96
+ }
97
+ `)}else l.push(this._getMembersCode());return this._varlist[this._blockCount]={},this._memberIndexList[this._blockCount]={},this._codesCol[this._blockCount]=[],this._blockCount--,`${l.filter(v=>v).join(`;
98
+ `)}`}_parserReturnBlock(e,n=!1){let r="",s="",l="";switch(e.ruleType){case le.AgainAssign:return r=this._parserStmt(e),s=this._getMembersCode(),n?`${r};
99
+ ${s}
100
+ return ${this._parserName(e.name,!0)}`:`${r};
101
+ ${s}
102
+ $$_result = ${this._parserName(e.name,!0)}`;case le.DeclareAssign:l=this._parserStmt(e),s=`${l}
103
+ ${this._getMembersCode()}`,r=this._parserDeclareAssignNames(e.nameList);break;case le.FlowStmt:return this._getMembersCode();case le.VarBlockStmt:l=this._parserStmt(e),s=`${l}
104
+ ${this._getMembersCode()}`,r=this._parserDeclareAssignNames(e.nameList);break;default:r=this._parserStmt(e,!0),s=this._getMembersCode();const h=r.split(`
105
+ /****/
106
+ `);h.length>1&&(s=`${s}
107
+ ${h[0]}`,r=h[1]);break}return n?`${s}
108
+ return ${r}`:`${s}
109
+ $$_result = ${r}`}_getMembersCode(){const e=this._memberIndexList[this._blockCount]||{};return Object.values(e).join(`;
110
+ `)}_parserArrowMethod(e){let n=`$_${e.name}`;this._nameMap.set(e.name,n);const r=[...e.params],s=e.index?`$${e.index}`:"";e.hasMemberIndex&&r.push({name:`${this._prefixNameVar}_position`}),n=`${n}${s}`,this._currentFuncName=n,this._dependsObj[n]=new Map;const l=this._parserBlock(e.block,!0,!0),h=e.hasRequest?", $paramsExpr":"";let m=`const ${n} = (${this._parserParameters(r)}$posStr${h}) => {
111
+ ${l}
112
+ }`;if(this._userTypes.includes(e.typeName)){let v=e.typeName;kn.includes(v)&&(v=`$${v}`),m=`${m}
113
+ ${v}.addNewMethod("${e.name}${s}", function (${this._parserParameters(r.slice(1))}$posStr${h}) {
114
+ const ${r[0].name} = this;
115
+ ${l}
116
+ })
117
+ `}return this._isInFunc=!1,this._currentFuncName="",this._codesCol[this._blockCount].push({funcName:n,depends:this._getDepends(n),hasRequest:e.hasRequest,code:m}),m}_parserArrowFunction(e){let n=`$_${e.name}`;this._nameMap.set(e.name,n);const r=[...e.params];e.hasMemberIndex&&r.push({name:`${this._prefixNameVar}_position`}),n=`${n}${e.index?`$${e.index}`:""}`,this._currentFuncName=n,this._dependsObj[n]=new Map;const s=e.hasRequest?", $paramsExpr":"",l=`const ${n} = (${this._parserParameters(r)}$posStr${s}) => {
118
+ ${this._parserBlock(e.block,!0,!0)}
119
+ }`;return this._isInFunc=!1,this._currentFuncName="",this._codesCol[this._blockCount].push({funcName:n,depends:this._getDepends(n),hasRequest:e.hasRequest,code:l}),l}_parserParameters(e){return e.length?`{${e.map(n=>{const{name:r,defaultValue:s}=n;let l=r;if(s){const h=this._parserSingleExpression(s);l=`${l} = ${h}`}return l}).join(", ")}},`:""}_parserBlock(e,n=!1,r=!1){return r&&(this._isInFunc=!0),this._parserBlockLine(Array.isArray(e)?e:[e],n,r)}_addVarList(e){const n=this._varlist[this._blockCount]||{};if(e.names)for(const[r,s]of e.names.entries())n[s]=e.posList[r];else n[e.name]=e.pos;this._varlist[this._blockCount]=n}_parserDeclareAssign(e){var S;const{nameList:n,value:r}=e;if(n.name==="_")return"";const s=this._parserDeclareAssignNames(n);this._addVarList(n);const l={code:"",varNames:s.replace(/[\[\]]/g,"").split(", "),depends:[]},h=`$${s}_${this._blockCount}`;this._dependsObj[h]=new Map;const m=this._parserSingleExpression(r);let v=`let ${s} = ${m}`;if(n.declare){const C=`${n.pos.column}_${n.pos.lineNumber}`,T=this._isInFunc?`$posStr + "_${C}"`:`"${C}"`;v=`let ${s} = ${this._prefixNameVar}.getVarValue("${s}", ${T}, "${n.declare}") || ${this._prefixNameVar}.setVarValue("${s}", ${T}, ${m}, "${n.declare}")`}return l.code=v,l.depends=this._getDepends(h),(S=this._codesCol[this._blockCount])==null||S.push(l),v}_parserDeclareAssignNames(e){switch(e==null?void 0:e.ruleType){case"VarMultiple":return`[${e.names.map(n=>kn.includes(n)?`$${n}`:n).join(", ")}]`;case"VarSingle":return kn.includes(e.name)?`$${e.name}`:e.name}return""}_parserSingleExpression(e){if(!e)return"";const{exprs:n,operator:r}=e;let s="",l=this._isInConditionalStmt;switch(e.ruleType){case le.MemberIndexExpression:return this._parserMemberIndexExpression(e);case le.MethodExpression:return this._parserMethodExpression(e);case le.UnaryExpression:return`${r}${this._parserSingleExpression(n[0])}`;case le.NotExpression:return`!${this._parserSingleExpression(n[0])}`;case le.AdditiveExpression:return this._parserAdditiveExpression(e);case le.MultiplicativeExpression:case le.RelationalExpression:case le.EqualityExpression:return`${this._parserSingleExpression(n[0])} ${r} ${this._parserSingleExpression(n[1])}`;case le.LogicalAndExpression:return this._isInConditionalStmt=!0,s=`${this._parserSingleExpression(n[0])} && ${this._parserSingleExpression(n[1])}`,this._isInConditionalStmt=l,s;case le.LogicalOrExpression:return this._isInConditionalStmt=!0,s=`${this._parserSingleExpression(n[0])} || ${this._parserSingleExpression(n[1])}`,this._isInConditionalStmt=l,s;case le.TernaryExpression:return this._isInConditionalStmt=!0,s=`${this._parserSingleExpression(n[0])} ? ${this._parserSingleExpression(n[1])} : ${this._parserSingleExpression(n[2])}`,this._isInConditionalStmt=l,s;case le.Name:return this._parserName(e);case le.Literal:return this._parseLiteral(e);case le.ParenthesizedExpression:return`(${this._parserSingleExpression(e.exprs)})`;default:return e.name||""}}_parserAdditiveExpression(e){const{exprs:n,operator:r}=e,s=this._parserSingleExpression(n[0]),l=this._parserSingleExpression(n[1]);return r==="-"?`${this._prefixNameVar}.sub(${s}, ${l})`:`${this._prefixNameVar}.add(${s}, ${l})`}_parserMemberIndexExpression(e){const{exprs:n,isInFunc:r,ctx:s}=e,l=n[0],h=this._parserSingleExpression(n[1]);let m=this._parserSingleExpression(l);const v=s.start.tokenIndex,S=r?`${this._prefixNameVar}_position`:v;if(l.ruleType===le.Name&&!l.hasMethod){let C=this._blockCount;const T=l.name;for(l.isBuiltIn||this._setDepend({name:T,scope:l.varScope});C>=0;){const I=this._varlist[C]||{},B=I[T];if(B)return this._getUserVarMemberIndexs(B,T,C,h,r);if(l.isBuiltIn){const L=this._memberIndexList[0]||{};return L[T]=`${this._prefixNameVar}.setCacheData("${T}", ${m})`,`${this._prefixNameVar}.getCacheData("${T}", ${h}, ${m})`}if(T.includes(".")){const L=T.split(".")[0],b=I[L];if(b)return this._getUserVarMemberIndexs(b,T,C,h,r)}C--}return this._getOtherVarMemberIndexs(`${T}_${l.varScope||l.scope}`,T,l.varScope||l.scope,h,r)}else{const C=this._preRunMembers[this._blockCount]||[],T=`$$m${v}_${S}`;C.push(`const ${T} = ${m};
120
+ ${this._prefixNameVar}.setCacheData("m${v}_" + ${S}, ${T})`),this._preRunMembers[this._blockCount]=C}return`${this._prefixNameVar}.getCacheData("m${v}_" + ${S}, ${h}, ${m})`}_getOtherVarMemberIndexs(e,n,r,s,l){const h=this._memberIndexList[r]||{};return e=l&&r!==0?`"${e}_" + $posStr`:`"${e}"`,h[e]=`${this._prefixNameVar}.setCacheData(${e}, ${n})`,this._memberIndexList[r]=h,`${this._prefixNameVar}.getCacheData(${e}, ${s}, ${n})`}_getUserVarMemberIndexs(e,n,r,s,l){return this._getOtherVarMemberIndexs(`${n}_${e.lineNumber}_${e.column}`,n,r,s,l)}_parseLiteral(e){return e.type.endsWith(U.COLOR)?`"${this._colorToRgba(e.value)}"`:e.value}_colorToRgba(e){if(e.startsWith("#")){let n;const r=parseInt(e.substring(1,3),16),s=parseInt(e.substring(3,5),16),l=parseInt(e.substring(5,7),16),h=e.substring(7);return h?n=parseInt(h,16)/255:n=1,`rgba(${Math.round(r)}, ${Math.round(s)}, ${Math.round(l)}, ${n.toFixed(2)})`}return e}_parserName(e,n=!1){const{exprs:r,varScope:s,hasMethod:l,arg:h}=e,m=r.map(v=>{var I;if(typeof v=="string")return v;const{column:S,line:C}=((I=v==null?void 0:v.ctx)==null?void 0:I.start)||{},T=`${C}_${S}`;return this._parserMethodElement(v,T)});if(e.expr&&m.unshift(`(${this._parserSingleExpression(e.expr)})`),e.isBuiltIn)m.join(".")==="strategy.opentrades"&&m.push("opentrades"),m.unshift(e.isConst?this._prefixNameConst:this._prefixNameVar);else if(kn.includes(m[0])&&(m[0]=`$${m[0]}`),!l){const v={name:m[0],scope:s||(h==null?void 0:h.varScope)||0,isAgainAssign:n,isArg:h==null?void 0:h.isArg,functionName:this._currentFuncName};this._setDepend(v)}return m.join(".")}_setDepend(e){const n=e.name;for(const r of Object.values(this._dependsObj)){const s=r.get(n),l={...e};s&&s.isAgainAssign&&(l.isAgainAssign=!0),r.set(n,l)}}_parserMethodExpression(e){const{exprs:n,ctx:r}=e,{column:s,line:l}=r.start,h=`${l}_${s}`;let m=this._isInFunc?`$posStr + "__${h}"`:`"${h}"`;m=this._isInLoop?`$$count${this._count} + ${m}`:m;let v=!1;const C=n.map(T=>(T.hasMemberIndex&&(v=!0),this._parserMethodElement(T,m))).join(".");if(this._isInConditionalStmt&&v){const T=`$$result_${this._preRunMemberFuncsCount}`;this._preRunMemberFuncsCount++;const I=this._preRunMembersFuncs[this._blockCount]||[];return I.push(`const ${T} = ${C}`),this._preRunMembersFuncs[this._blockCount]=I,T}return C}_parserMethodElement(e,n){let r="",s="";const l={...e.args};e.hasMemberIndex&&(s=`${this._prefixNameVar}_position: ${e.position}`),e.expr&&(r=`(${this._parserSingleExpression(e.expr)})`),r=r?`${r}.${e.name}`:this._nameMap.get(e.name)||e.name,e.hasVarPrefix&&(r=`${this._prefixNameVar}.${r}`);let h=!1;if(e.isBuiltIn){if(Ip.includes(r))r=`${r}.${r}`;else if(r==="max_bars_back"){const{name:v,varPos:S}=l.var||l.params[0];s=`var_name: "${S?`${v}_${S.lineNumber}_${S.column}`:v}"`}r.startsWith(U.INPUT)?(s=`index: ${this._inputCount}`,this._inputCount++):r.startsWith("request.")&&(h=!0),r=`${this._prefixNameFunc}.${r}`}else{const v=r.split(".");let S=v[0];kn.includes(S)&&(S=`$${S}`,r=v.join("."))}if(e.selfArg){const v=r.split("."),S=v.length;Object.assign(l,{[e.selfArg.name]:{name:v.slice(0,S-1).join(".")}}),r=v[S-1],r=this._nameMap.get(r)||r,this._setDepend({name:v[0],scope:e.varScope||0})}r=`${r}${e.index?`$${e.index}`:""}`;const m=this._parserArguments(l,s,n,h,e.hasRequest,r);if(!e.isBuiltIn){const v=r.split(".");if(v.length>1?this._setDepend({name:v[0],scope:e.varScope||0}):this._setDepend({name:r,scope:0,hasRequest:e.hasRequest,isFunc:!0}),e.funcName){const S=this._nameMap.get(e.funcName)||e.funcName;this._setDepend({name:S,originName:r,scope:0,hasRequest:e.hasRequest,isFunc:!0})}}return r+m}_parserArguments(e,n,r,s=!1,l=!1,h){const m=e.params||[];delete e.params;const v=[],S=[];let C=[],T;const I=(L,b)=>{l&&(this._dependsObj[r]=new Map),s&&b==="expression"&&(this._dependsObj[`$arg_${b}${r}`]=new Map);let y=L.ruleType===le.Brackethesized?this._parserBrackethesized(L):this._parserSingleExpression(L);if(b&&!["arg0, arg1, ...","number0, number1, ..."].includes(b)){L.isSourceType?v.push(`sourceTypeName: "${L.name}"`):b==="defval"&&h===`${this._prefixNameFunc}.input.enum`&&(T=this._enums.get(L.enumName));const g=this._requestParamsHandle(s,b,r,l,y,h);y=(g==null?void 0:g.code)||y,g!=null&&g.paramsExpr&&C.push(g==null?void 0:g.paramsExpr),v.push(`${b}: ${y}`)}else S.push(y)};for(const L of m)I(L,L.originName);for(const L of Object.keys(e))I(e[L],L);s&&this._isInFunc&&v.push("paramsExpr: $paramsExpr"),n&&v.push(n),T&&v.unshift(`options: [${T.join(", ")}]`);const B=C.length?`, [${this._isInFunc?"...$paramsExpr, ":""}${C.join(", ")}]`:"";return S.length?`({${v.join(", ")}}, [${S.join(", ")}], ${r}${B})`:v.length?`({${v.join(", ")}}, ${r}${B})`:`(${r}${B})`}_requestParamsHandle(e,n,r,s,l,h){if(e&&n==="expression"){const m=this._getDepends(`$arg_${n}${r}`),v=this._getExpressionContext(m);return v.push({scope:1,depends:m.map(S=>(S.isArg&&(S.functionName=this._currentFuncName),S)),code:l}),{code:`'${Lp(JSON.stringify(v))}'`}}else if(s){const m=this._getDepends(r),v=this._getExpressionContext(m);return v.push({scope:2,varNames:n,methodName:h,depends:m,dependSelf:m.some(S=>S.name===n),code:`${n} = ${l}`}),{paramsExpr:`'${Lp(JSON.stringify(v))}'`}}}_getExpressionContext(e){const n=[],r=[];return this._getDependsCode(e,n,r),n}_getDependsCode(e,n,r){var s,l;for(const h of e)if(!h.isArg){const m=this._codesCol[h.scope||0],v=m.find(C=>{var T;return((T=C.varNames)==null?void 0:T.includes(h.name))||C.funcName===h.name});v&&(r.includes(v)||(r.push(v),v.depends.length&&this._getDependsCode(v.depends,n,r),n.push({scope:h.scope||0,code:v.code,depends:v.depends,funcName:v.funcName,varNames:(s=v.varNames)==null?void 0:s.join(", ")})));const S=m.filter(C=>C.depends.some(T=>T.name===h.name&&T.scope===h.scope&&T.isAgainAssign));for(const C of S)r.includes(C)||(r.push(C),C.depends.length&&this._getDependsCode(C.depends,n,r),n.push({scope:h.scope||0,code:C.code,depends:C.depends,funcName:C.funcName,varNames:(l=C.varNames)==null?void 0:l.join(", ")}))}}_parserBrackethesized(e){return`[${e.exprs.map(r=>this._parserSingleExpression(r)).join(", ")}]`}_functionalProcess(e){return`(function () {
121
+ let $$_result=undefined;
122
+ ${e}
123
+ return $$_result
124
+ })()`}}class H_{constructor(e,n){k(this,"_nameMap");k(this,"_prefixNameVar");k(this,"_prefixNameFunc");k(this,"_prefixNameConst");k(this,"_userTypes");k(this,"_isInFunc");k(this,"_varlist");k(this,"_memberIndexList");k(this,"_blockCount");k(this,"_libTitle");k(this,"_exportEles");k(this,"_inputCount");this._nameMap=new Map,this._prefixNameVar=`${e}_var`,this._prefixNameFunc=`${e}_func`,this._prefixNameConst=`${e}_const`,this._userTypes=[],this._isInFunc=!1,this._varlist=[{}],this._memberIndexList=[{}],this._blockCount=0,this._libTitle=n,this._exportEles=[],this._inputCount=0}parser(e){const n=[];for(const l of e){if(!l)return;if(Array.isArray(l))for(const h of l)n.push(this._parserStmt(h));else n.push(this._parserStmt(l))}const r=this._memberIndexList[this._blockCount]||{};return n.push(...Object.values(r)),`const $name = (function () {
125
+ ${n.join(`;
126
+ `).replace(/;+/g,";")}
127
+ return {
128
+ ${this._exportEles.map(l=>`${l.key}: ${l.name}`).join(", ")}
129
+ }
130
+ })();`}_parserStmt(e,n=!1){switch(e==null?void 0:e.ruleType){case le.DeclareAssign:return this._parserDeclareAssign(e);case le.MethodExpression:return`${this._parserMethodExpression(e)}`;case le.ArrowFunction:return this._parserArrowFunction(e);case le.ArrowMethod:return this._parserArrowMethod(e);case le.IfStatement:return this._parserIfStatement(e,n);case le.WhileStatement:return this._parserWhileStatement(e,n);case le.SwitchStatement:return this._parserSwitchStatement(e,n);case le.ForInStatement:return this._parserForInStatement(e,n);case le.ForToStatement:return this._parserForToStatement(e,n);case le.AgainAssign:return this._parserAgainAssign(e);case le.ImportElement:return e.code||"";case le.TypeStatement:return this._parserTypeStatement(e);case le.VarBlockStmt:return this._parserVarBlockStmt(e);case le.FlowStmt:return`${e.value};`;case le.Brackethesized:return this._parserBrackethesized(e);case le.EnumStatement:return this._parserEnumStatement(e);default:return this._parserSingleExpression(e)}}_parserEnumStatement(e){let{name:n,fields:r}=e;const s=[];for(const h of r){const{name:m,value:v}=h;s.push(`${m}: ${v===void 0?`"${m}"`:v}`)}return kn.includes(n)&&(n=`$${n}`),`const ${n} = {${s.join(", ")}}`}_parserTypeStatement(e){const n=[],r=[];for(const l of e.fields){const{name:h,value:m}=l;l.isVarip&&r.push(`"${h}"`),n.push(`${h}: ${m?this._parserSingleExpression(m):"undefined"}`)}this._userTypes.push(e.name),e.isExport&&this._exportEles.push({key:e.name,name:e.name});let s=e.name;return kn.includes(s)&&(s=`$${s}`),`const ${s} = ${this._prefixNameVar}.getTypeInstance({${n.join(", ")}}, [${r.join()}])`}_parserVarBlockStmt(e){const{nameList:n,value:r}=e,s=this._parserStmt(r,!0);return this._addVarList(n),`let ${this._parserDeclareAssignNames(n)} = ${s}`}_parserForToStatement(e,n=!1){let{numerical:r,block:s,name:l}=e;const[h,m,v]=r,S=this._parserBlockLine(s,n),C=this._parserSingleExpression(h),T=this._parserSingleExpression(m),I=v?this._parserSingleExpression(v):"";kn.includes(l)&&(l=`$${l}`);const B=`for (let ${l}=${C}; ${l}>=(${T}); ${l}+=(${I||"-1"})){
131
+ ${S}
132
+ }`,L=`for (let ${l}=${C};${l}<=(${T}); ${l}+=(${I||"1"})){
133
+ ${S}
134
+ }`;let b="";return(h==null?void 0:h.ruleType)==="Literal"&&(m==null?void 0:m.ruleType)==="Literal"?b=Number(h.value)>Number(m.value)?B:L:b=`if ((${C})>(${T})) {
135
+ ${B}
136
+ } else {
137
+ ${L}
138
+ }`,n?this._functionalProcess(b):b}_parserForInStatement(e,n=!1){const{names:r,block:s,array:l}=e,h=this._parserBlockLine(s,n);let m="",[v,S]=r;return kn.includes(v)&&(v=`$${v}`),r.length===1?m=`for (const ${v} of ${this._parserSingleExpression(l)}._value) {
139
+ ${h}
140
+ }`:(kn.includes(S)&&(S=`$${S}`),m=`for (const [${v},${S}] of (${this._parserSingleExpression(l)})._value.entries()) {
141
+ ${h}
142
+ }`),n?this._functionalProcess(m):m}_parserAgainAssign(e){const{operator:n,name:r,value:s}=e,{varPos:l,declare:h}=r,m=this._parserName(r);let v="";const S=this._parserStmt(s,!0);let C="";const T=`$_tmp_${m.split(".").pop()}`;n===":="&&(C=`var ${T} = ${S}`);let I=`${m} ${n===":="?`= ${T}`:`${n} ${S}`}`;const B=`${l==null?void 0:l.column}_${l==null?void 0:l.lineNumber}`;if(h){const L=this._isInFunc?`posStr + '_${B}'`:`"export_${this._libTitle}_${B}"`;v=`;
143
+ ${this._prefixNameVar}.setVarValue("${m}", ${L}, ${m}, "${h}")`}return n==="-="?I=`${m} = ${this._prefixNameVar}.sub(${m}, ${S})`:n==="+="?I=`${m} = ${this._prefixNameVar}.add(${m}, ${S})`:n===":="&&(C=`${C};
144
+ ${this._prefixNameVar}.againAssignParse(${m}, ${T});
145
+ `),`${C}${I}${v}`}_parserSwitchStatement(e,n=!1){const{condition:r,cases:s,defaultCase:l}=e,h=s.length?this._parserCases(s,n):"",m=l?this._parserDefaultCase(l,n):"",v=`switch (${r===!0?r:this._parserSingleExpression(r)}) {
146
+ ${h}
147
+ ${m}
148
+ }`;return n?this._functionalProcess(v):v}_parserCases(e,n=!1){const r=[];for(const s of e)r.push(this._parserCase(s,n));return r.join(`
149
+ `)}_parserDefaultCase(e,n=!1){return`default:
150
+ ${this._parserBlock(e.block,n)};`}_parserCase(e,n=!1){const{condition:r,block:s}=e;return`case ${this._parserSingleExpression(r)}:
151
+ ${this._parserBlock(s,n)}
152
+ break;`}_parserWhileStatement(e,n=!1){const{condition:r,block:s}=e,l=`while (${this._parserSingleExpression(r)}) {
153
+ ${this._parserBlockLine(s,n)}
154
+ }`;return n?this._functionalProcess(l):l}_parserIfStatement(e,n=!1){const{condition:r,block:s}=e;let l="";for(const[h,m]of s.entries()){const v=this._parserBlockLine(m,n),S=r[h]&&this._parserSingleExpression(r[h]);h===0?l=`if (${S}) {
155
+ ${v}
156
+ }`:S?l+=`else if (${S}) {
157
+ ${v}
158
+ }`:l+=`else {
159
+ ${v}
160
+ }`}return n?this._functionalProcess(l):l}_parserBlockLine(e,n=!1,r=!1){const s=[],l=e.length;this._blockCount++;let h=e.slice(-1)[0];for(const[m,v]of e.entries()){const S=n&&m===l-1;if(Array.isArray(v)){const C=[...v];S&&(h=C.pop());const T=C.map(I=>this._parserStmt(I)).join(`;
161
+ `);T&&s.push(T)}else S||s.push(this._parserStmt(v))}if(n&&h){const m=this._parserReturnBlock(h,r);s.push(m)}else s.push(this._getMembersCode());return this._varlist[this._blockCount]={},this._memberIndexList[this._blockCount]={},this._blockCount--,`${s.join(`;
162
+ `)};`}_parserReturnBlock(e,n=!1){let r="",s="";switch(e.ruleType){case le.AgainAssign:return r=this._parserAgainAssign(e),s=this._getMembersCode(),n?`${r};
163
+ ${s}
164
+ return ${this._parserName(e.name)}`:`${r};
165
+ ${s}
166
+ $_result = ${this._parserName(e.name)}`;case le.DeclareAssign:r=this._parserSingleExpression(e.value),s=this._getMembersCode();break;default:r=this._parserStmt(e,!0),s=this._getMembersCode()}return n?`${s}
167
+
168
+ return ${r}`:`${s}
169
+
170
+ $_result = ${r}`}_getMembersCode(){const e=this._memberIndexList[this._blockCount]||{};return Object.values(e).join(`;
171
+ `)}_parserArrowMethod(e){let n=`$_${e.name}`;this._nameMap.set(e.name,n);const r=e.index?`$${e.index}`:"";n=`${n}${r}`,e.isExport&&this._exportEles.push({key:`${e.name}${r}`,name:n});const s=[...e.params];e.hasMemberIndex&&s.push({name:`${this._prefixNameVar}_position`});let l=`const ${n} = (${this._parserParameters(s)}posStr) => {
172
+ if (posStr.startsWith('export')) return;
173
+ ${this._parserBlock(e.block,!0,!0)}
174
+ }`;if(this._userTypes.includes(e.typeName)){let h=e.typeName;kn.includes(h)&&(h=`$${h}`),l=`${l}
175
+ ${h}.addNewMethod("${e.name}${r}", function (${this._parserParameters(s.slice(1))}posStr) {
176
+ if (posStr.startsWith('export')) return;
177
+ const ${s[0].name} = this;
178
+ ${this._parserBlock(e.block,!0,!0)}
179
+ })
180
+ `}return this._isInFunc=!1,l}_parserArrowFunction(e){let n=`$_${e.name}`;this._nameMap.set(e.name,n);const r=e.index?`$${e.index}`:"";n=`${n}${r}`,e.isExport&&this._exportEles.push({key:`${e.name}${r}`,name:n});const s=[...e.params];e.hasMemberIndex&&s.push({name:`${this._prefixNameVar}_position`});const l=`const ${n} = (${this._parserParameters(s)}posStr) => {
181
+ if (posStr.startsWith('export')) return;
182
+ ${this._parserBlock(e.block,!0,!0)}
183
+ }`;return this._isInFunc=!1,l}_parserParameters(e){return e.length?`{${e.map(n=>{const{name:r,defaultValue:s}=n;let l=r;if(s){const h=this._parserSingleExpression(s);l=`${l} = ${h}`}return l}).join(", ")}},`:""}_parserBlock(e,n=!1,r=!1){return r&&(this._isInFunc=!0),this._parserBlockLine(Array.isArray(e)?e:[e],n,r)}_addVarList(e){const n=this._varlist[this._blockCount]||{};if(e.names)for(const[r,s]of e.names.entries())n[s]=e.posList[r];else n[e.name]=e.pos;this._varlist[this._blockCount]=n}_parserDeclareAssign(e){const{nameList:n,value:r}=e;if(n.name==="_")return"";const s=this._parserDeclareAssignNames(n);this._addVarList(n);const l=this._parserSingleExpression(r);if(n.declare){const h=`${n.pos.column}_${n.pos.lineNumber}`,m=this._isInFunc?`posStr + '_' + '${h}'`:`"export_${this._libTitle}_${h}"`;return`let ${s} = ${this._prefixNameVar}.getVarValue("${s}", ${m}, "${n.declare}") || ${this._prefixNameVar}.setVarValue("${s}", ${m}, ${l}, "${n.declare}")`}return`let ${s} = ${l}`}_parserDeclareAssignNames(e){switch(e==null?void 0:e.ruleType){case"VarMultiple":return`[${e.names.map(n=>kn.includes(n)?`$${n}`:n).join(", ")}]`;case"VarSingle":return kn.includes(e.name)?`$${e.name}`:e.name}return""}_parserSingleExpression(e){if(!e)return"";const{exprs:n,operator:r}=e;switch(e.ruleType){case le.MemberIndexExpression:return this._parserMemberIndexExpression(e);case le.MethodExpression:return this._parserMethodExpression(e);case le.UnaryExpression:return`${r}${this._parserSingleExpression(n[0])}`;case le.NotExpression:return`!${this._parserSingleExpression(n[0])}`;case le.AdditiveExpression:return this._parserAdditiveExpression(e);case le.MultiplicativeExpression:case le.RelationalExpression:case le.EqualityExpression:return`${this._parserSingleExpression(n[0])} ${r} ${this._parserSingleExpression(n[1])}`;case le.LogicalAndExpression:return`${this._parserSingleExpression(n[0])} && ${this._parserSingleExpression(n[1])}`;case le.LogicalOrExpression:return`${this._parserSingleExpression(n[0])} || ${this._parserSingleExpression(n[1])}`;case le.TernaryExpression:return`${this._parserSingleExpression(n[0])} ? ${this._parserSingleExpression(n[1])} : ${this._parserSingleExpression(n[2])}`;case le.Name:return this._parserName(e);case le.Literal:return this._parseLiteral(e);case le.ParenthesizedExpression:return`(${this._parserSingleExpression(e.exprs)})`;default:return e.name||""}}_parserAdditiveExpression(e){const{exprs:n,operator:r}=e,s=this._parserSingleExpression(n[0]),l=this._parserSingleExpression(n[1]);return r==="-"?`${this._prefixNameVar}.sub(${s}, ${l})`:`${this._prefixNameVar}.add(${s}, ${l})`}_parserMemberIndexExpression(e){const{exprs:n,isInFunc:r,ctx:s}=e,l=n[0],h=this._parserSingleExpression(n[1]);if(l.ruleType===le.Name&&!l.hasMethod){let C=this._blockCount;const T=l.name;for(;C>=0;){const I=this._varlist[C]||{},B=I[T];if(B)return this._getUserVarMemberIndexs(B,T,C,h,r);if(l.isBuiltIn){const L=this._parserSingleExpression(l),b=this._memberIndexList[0]||{};return b[T]=`${this._prefixNameVar}.setCacheData('${T}', ${L})`,`${this._prefixNameVar}.getCacheData('${T}', ${h}, ${L})`}else if(T.includes(".")){const L=T.split(".")[0],b=I[L];if(b)return this._getUserVarMemberIndexs(b,T,C,h,r)}C--}}const m=s.start.tokenIndex,v=this._parserSingleExpression(l),S=r?`${this._prefixNameVar}_position`:m;return`${this._prefixNameVar}.getCacheData('m${m}_' + ${S}, ${h}, ${v})`}_getUserVarMemberIndexs(e,n,r,s,l){const h=this._memberIndexList[r]||{};let m=`${n}_${e.lineNumber}_${e.column}`;return m=l&&r!==0?`'${m}' + '_' + posStr`:`'${m}'`,h[m]=`${this._prefixNameVar}.setCacheData(${m}, ${n})`,this._memberIndexList[r]=h,`${this._prefixNameVar}.getCacheData(${m}, ${s}, ${n})`}_parseLiteral(e){return e.type.endsWith(U.COLOR)?`"${this._colorToRgba(e.value)}"`:e.value}_colorToRgba(e){if(e.startsWith("#")){let n;const r=parseInt(e.substring(1,3),16),s=parseInt(e.substring(3,5),16),l=parseInt(e.substring(5,7),16),h=e.substring(7);return h?n=(255-parseInt(h,16))/255:n=1,`rgba(${Math.round(r)}, ${Math.round(s)}, ${Math.round(l)}, ${n.toFixed(2)})`}return e}_parserName(e){const{exprs:n,ctx:r}=e,{column:s,line:l}=(r==null?void 0:r.start)||{},h=this._isInFunc?`${l}_${s}`:`export_${this._libTitle}_${l}_${s}`,m=n.map(v=>typeof v=="string"?v:this._parserMethodElement(v,h));return e.expr&&m.unshift(`(${this._parserSingleExpression(e.expr)})`),e.isBuiltIn?(m.join(".")==="strategy.opentrades"&&m.push("opentrades"),m.unshift(e.isConst?this._prefixNameConst:this._prefixNameVar)):kn.includes(m[0])&&(m[0]=`$${m[0]}`),m.join(".")}_parserMethodExpression(e){const{exprs:n,ctx:r}=e,{column:s,line:l}=r.start,h=`${l}_${s}`,m=this._isInFunc?`posStr + "_${h}"`:`"export_${this._libTitle}_${h}"`,v=n.map(S=>this._parserMethodElement(S,m));return v.length===1&&[...Tl,Ii.library].some(S=>v[0].startsWith(`${this._prefixNameFunc}.${S}`))?"":v.join(".")}_parserMethodElement(e,n){let r="",s="";const l={...e.args};if(e.hasMemberIndex&&(s=`${this._prefixNameVar}_position: ${e.position}`),e.expr&&(r=`(${this._parserSingleExpression(e.expr)})`),r=r?`${r}.${e.name}`:this._nameMap.get(e.name)||e.name,e.isBuiltIn){if(Ip.includes(r))r=`${r}.${r}`;else if(r==="max_bars_back"){const{name:m,varPos:v}=l.var||l.params[0];s=`var_name: '${v?`${m}_${v.lineNumber}_${v.column}`:m}'`}r.startsWith(U.INPUT)&&(s=`index: ${this._inputCount}`,this._inputCount++),r=`${this._prefixNameFunc}.${r}`}else{const m=r.split(".");kn.includes(m[0])&&(m[0]=`$${m[0]}`,r=m.join("."))}if(e.selfArg){const m=r.split("."),v=m.length;Object.assign(l,{[e.selfArg.name]:{name:m.slice(0,v-1).join(".")}}),r=m[v-1],r=this._nameMap.get(r)||r}r=`${r}${e.index?`$${e.index}`:""}`;const h=this._parserArguments(l,s,n);return r+h}_parserArguments(e,n,r){const s=e.params||[];delete e.params;const l=[],h=[],m=[];for(const v of s){const S=v.ruleType===le.Brackethesized?this._parserBrackethesized(v):this._parserSingleExpression(v);v.originName&&!["arg0, arg1, ...","number0, number1, ..."].includes(v.originName)?(l.push(`${v.originName}: ${S}`),v.isSourceType?l.push(`sourceTypeName: '${v.name}'`):v.type===`${U.SERIES} ${U.COLOR}`&&m.push(`'${v.originName}'`)):h.push(S)}for(const v of Object.keys(e)){const S=e[v],C=S.ruleType===le.Brackethesized?this._parserBrackethesized(S):this._parserSingleExpression(S);l.push(`${v}: ${C}`),S.type===`${U.SERIES} ${U.COLOR}`&&m.push(`'${v}'`)}return m.length&&l.push(`seriesColors: [${m.join(",")}]`),n&&l.push(n),h.length?`({${l.join(", ")}}, [${h.join(", ")}], ${r})`:l.length?`({${l.join(", ")}}, ${r})`:`(${r})`}_parserBrackethesized(e){return`[${e.exprs.map(r=>this._parserSingleExpression(r)).join(", ")}]`}_functionalProcess(e){return`(function () {
184
+ let $_result=undefined;
185
+ ${e}
186
+ return $_result
187
+ })();`}}/**
188
+ * @license
189
+ * Copyright 2019 Google LLC
190
+ * SPDX-License-Identifier: Apache-2.0
191
+ */const Bp=Symbol("Comlink.proxy"),G_=Symbol("Comlink.endpoint"),K_=Symbol("Comlink.releaseProxy"),xl=Symbol("Comlink.finalizer"),fu=Symbol("Comlink.thrown"),Up=t=>typeof t=="object"&&t!==null||typeof t=="function",z_={canHandle:t=>Up(t)&&t[Bp],serialize(t){const{port1:e,port2:n}=new MessageChannel;return Cl(t,e),[n,[n]]},deserialize(t){return t.start(),Y_(t)}},W_={canHandle:t=>Up(t)&&fu in t,serialize({value:t}){let e;return t instanceof Error?e={isError:!0,value:{message:t.message,name:t.name,stack:t.stack}}:e={isError:!1,value:t},[e,[]]},deserialize(t){throw t.isError?Object.assign(new Error(t.value.message),t.value):t.value}},Vp=new Map([["proxy",z_],["throw",W_]]);function X_(t,e){for(const n of t)if(e===n||n==="*"||n instanceof RegExp&&n.test(e))return!0;return!1}function Cl(t,e=globalThis,n=["*"]){e.addEventListener("message",function r(s){if(!s||!s.data)return;if(!X_(n,s.origin)){console.warn(`Invalid origin '${s.origin}' for comlink proxy`);return}const{id:l,type:h,path:m}=Object.assign({path:[]},s.data),v=(s.data.argumentList||[]).map(_o);let S;try{const C=m.slice(0,-1).reduce((I,B)=>I[B],t),T=m.reduce((I,B)=>I[B],t);switch(h){case"GET":S=T;break;case"SET":C[m.slice(-1)[0]]=_o(s.data.value),S=!0;break;case"APPLY":S=T.apply(C,v);break;case"CONSTRUCT":{const I=new T(...v);S=ty(I)}break;case"ENDPOINT":{const{port1:I,port2:B}=new MessageChannel;Cl(t,B),S=ey(I,[I])}break;case"RELEASE":S=void 0;break;default:return}}catch(C){S={value:C,[fu]:0}}Promise.resolve(S).catch(C=>({value:C,[fu]:0})).then(C=>{const[T,I]=mu(C);e.postMessage(Object.assign(Object.assign({},T),{id:l}),I),h==="RELEASE"&&(e.removeEventListener("message",r),jp(e),xl in t&&typeof t[xl]=="function"&&t[xl]())}).catch(C=>{const[T,I]=mu({value:new TypeError("Unserializable return value"),[fu]:0});e.postMessage(Object.assign(Object.assign({},T),{id:l}),I)})}),e.start&&e.start()}function q_(t){return t.constructor.name==="MessagePort"}function jp(t){q_(t)&&t.close()}function Y_(t,e){return Ol(t,[],e)}function hu(t){if(t)throw new Error("Proxy has been released and is not useable")}function $p(t){return Ho(t,{type:"RELEASE"}).then(()=>{jp(t)})}const pu=new WeakMap,du="FinalizationRegistry"in globalThis&&new FinalizationRegistry(t=>{const e=(pu.get(t)||0)-1;pu.set(t,e),e===0&&$p(t)});function J_(t,e){const n=(pu.get(e)||0)+1;pu.set(e,n),du&&du.register(t,e,t)}function Z_(t){du&&du.unregister(t)}function Ol(t,e=[],n=function(){}){let r=!1;const s=new Proxy(n,{get(l,h){if(hu(r),h===K_)return()=>{Z_(s),$p(t),r=!0};if(h==="then"){if(e.length===0)return{then:()=>s};const m=Ho(t,{type:"GET",path:e.map(v=>v.toString())}).then(_o);return m.then.bind(m)}return Ol(t,[...e,h])},set(l,h,m){hu(r);const[v,S]=mu(m);return Ho(t,{type:"SET",path:[...e,h].map(C=>C.toString()),value:v},S).then(_o)},apply(l,h,m){hu(r);const v=e[e.length-1];if(v===G_)return Ho(t,{type:"ENDPOINT"}).then(_o);if(v==="bind")return Ol(t,e.slice(0,-1));const[S,C]=Hp(m);return Ho(t,{type:"APPLY",path:e.map(T=>T.toString()),argumentList:S},C).then(_o)},construct(l,h){hu(r);const[m,v]=Hp(h);return Ho(t,{type:"CONSTRUCT",path:e.map(S=>S.toString()),argumentList:m},v).then(_o)}});return J_(s,t),s}function Q_(t){return Array.prototype.concat.apply([],t)}function Hp(t){const e=t.map(mu);return[e.map(n=>n[0]),Q_(e.map(n=>n[1]))]}const Gp=new WeakMap;function ey(t,e){return Gp.set(t,e),t}function ty(t){return Object.assign(t,{[Bp]:!0})}function mu(t){for(const[e,n]of Vp)if(n.canHandle(t)){const[r,s]=n.serialize(t);return[{type:"HANDLER",name:e,value:r},s]}return[{type:"RAW",value:t},Gp.get(t)||[]]}function _o(t){switch(t.type){case"HANDLER":return Vp.get(t.name).deserialize(t.value);case"RAW":return t.value}}function Ho(t,e,n){return new Promise(r=>{const s=ny();t.addEventListener("message",function l(h){!h.data||!h.data.id||h.data.id!==s||(t.removeEventListener("message",l),r(h.data))}),t.start&&t.start(),t.postMessage(Object.assign({id:s},e),n)})}function ny(){return new Array(4).fill(0).map(()=>Math.floor(Math.random()*Number.MAX_SAFE_INTEGER).toString(16)).join("-")}function Go(t){return t.split("")}function Dl(t,e){return e.includes(t)}class ry extends Error{constructor(e,n){super(),this.name="DefaultsError",this.message=e,this.defs=n}}function _i(t,e,n){t===!0?t={}:t!=null&&typeof t=="object"&&(t={...t});const r=t||{};if(n){for(const s in r)if(tr(r,s)&&!tr(e,s))throw new ry("`"+s+"` is not a supported option",e)}for(const s in e)if(tr(e,s))if(!t||!tr(t,s))r[s]=e[s];else if(s==="ecma"){let l=t[s]|0;l>5&&l<2015&&(l+=2009),r[s]=l}else r[s]=t&&tr(t,s)?t[s]:e[s];return r}function mr(){}function vt(){return!1}function er(){return!0}function yo(){return this}function to(){return null}var qt=function(){function t(n,r,s=!0){const l=[];for(let h=0;h<n.length;++h){let v=n[h].transform(r,s);v instanceof Ce?l.push(v):v instanceof e&&l.push(...v.v)}return l}t.splice=function(n){return new e(n)},t.skip={};function e(n){this.v=n}return t}();function P(t,e,n){return n||(n={}),e&&(n.start||(n.start=e.start),n.end||(n.end=e.end)),new t(n)}function go(t,e){t.includes(e)||t.push(e)}function _u(t,e){return t.replace(/{(.+?)}/g,function(n,r){return e&&e[r]})}function Ko(t,e){for(var n=t.length;--n>=0;)t[n]===e&&t.splice(n,1)}function Kp(t,e){if(t.length<2)return t.slice();function n(s,l){for(var h=[],m=0,v=0,S=0;m<s.length&&v<l.length;)e(s[m],l[v])<=0?h[S++]=s[m++]:h[S++]=l[v++];return m<s.length&&h.push.apply(h,s.slice(m)),v<l.length&&h.push.apply(h,l.slice(v)),h}function r(s){if(s.length<=1)return s;var l=Math.floor(s.length/2),h=s.slice(0,l),m=s.slice(l);return h=r(h),m=r(m),n(h,m)}return r(t)}function Ct(t){return Array.isArray(t)||(t=t.split(" ")),new Set(t.sort())}function yu(t,e,n){t.has(e)?t.get(e).push(n):t.set(e,[n])}function iy(t){var e=new Map;for(var n in t)tr(t,n)&&n.charAt(0)==="$"&&e.set(n.substr(1),t[n]);return e}function oy(t){var e=Object.create(null);return t.forEach(function(n,r){e["$"+r]=n}),e}function tr(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function zo(t,e){return t===!0||t instanceof RegExp&&t.test(e)}var ay={"\0":"0","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"};function gu(t){return t.replace(/[\0\n\r\u2028\u2029]/g,function(e,n){var r=t[n-1]=="\\"&&(t[n-2]!="\\"||/(?:^|[^\\])(?:\\{2})*$/.test(t.slice(0,n-1)));return(r?"":"\\")+ay[e]})}const sy=/^[\\/|\0\s\w^$.[\]()]*$/,zp=t=>sy.test(t),uy="dgimsuyv";function cy(t){const e=new Set(t.split(""));let n="";for(const r of uy)e.has(r)&&(n+=r,e.delete(r));return e.size&&e.forEach(r=>{n+=r}),n}function sr(t,e){return t._annotations&e}function ss(t,e){t._annotations|=e}function Wp(t,e){t._annotations&=~e}var bu="",us=new Map,vu="break case catch class const continue debugger default delete do else export extends finally for function if in instanceof let new return switch throw try typeof var void while with",Eu="false null true",cs="enum import super this "+Eu+" "+vu,no="implements interface package private protected public static "+cs,kl="return new delete throw else case yield await";vu=Ct(vu),cs=Ct(cs),kl=Ct(kl),Eu=Ct(Eu),no=Ct(no);var ly=Ct(Go("+-*&%=<>!?|~^")),fy=/[0-9a-f]/i,Xp=/^0x[0-9a-f]+$/i,qp=/^0[0-7]+$/,hy=/^0o[0-7]+$/i,py=/^0b[01]+$/i,dy=/^\d*\.?\d*(?:e[+-]?\d*(?:\d\.?|\.?\d)\d*)?$/i,my=/^(0[xob])?[0-9a-f]+n$/i,Yp=Ct(["in","instanceof","typeof","new","void","delete","++","--","+","-","!","~","&","|","^","*","**","/","%",">>","<<",">>>","<",">","<=",">=","==","===","!=","!==","?","=","+=","-=","||=","&&=","??=","/=","*=","**=","%=",">>=","<<=",">>>=","|=","^=","&=","&&","??","||"]),_y=Ct(Go(`  
192
+ \r \f\v​           \u2028\u2029   \uFEFF`)),Rl=Ct(Go(`
193
+ \r\u2028\u2029`)),yy=Ct(Go(";]),:")),gy=Ct(Go("[{(,;:")),by=Ct(Go("[]{}(),;:")),Su={ID_Start:/[$A-Z_a-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AD\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]/,ID_Continue:/(?:[$0-9A-Z_a-z\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFC-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AD\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C4\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDEC0-\uDEF8]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF])+/};function Tu(t,e){if(Au(t.charCodeAt(e))){if(wl(t.charCodeAt(e+1)))return t.charAt(e)+t.charAt(e+1)}else if(wl(t.charCodeAt(e))&&Au(t.charCodeAt(e-1)))return t.charAt(e-1)+t.charAt(e);return t.charAt(e)}function vy(t,e){return Au(t.charCodeAt(e))?65536+(t.charCodeAt(e)-55296<<10)+t.charCodeAt(e+1)-56320:t.charCodeAt(e)}function Ey(t){for(var e=0,n=0;n<t.length;n++)Au(t.charCodeAt(n))&&wl(t.charCodeAt(n+1))&&(e++,n++);return t.length-e}function Sy(t){return t>65535?(t-=65536,String.fromCharCode((t>>10)+55296)+String.fromCharCode(t%1024+56320)):String.fromCharCode(t)}function Au(t){return t>=55296&&t<=56319}function wl(t){return t>=56320&&t<=57343}function Jp(t){return t>=48&&t<=57}function Nl(t){return Su.ID_Start.test(t)}function xu(t){return Su.ID_Continue.test(t)}const Zp=/^[a-z_$][a-z0-9_$]*$/i;function Cu(t){return Zp.test(t)}function Qp(t,e){if(Zp.test(t))return!0;if(!e&&/[\ud800-\udfff]/.test(t))return!1;var n=Su.ID_Start.exec(t);return!n||n.index!==0?!1:(t=t.slice(n[0].length),t?(n=Su.ID_Continue.exec(t),!!n&&n[0].length===t.length):!0)}function ed(t,e=!0){if(!e&&t.includes("e"))return NaN;if(Xp.test(t))return parseInt(t.substr(2),16);if(qp.test(t))return parseInt(t.substr(1),8);if(hy.test(t))return parseInt(t.substr(2),8);if(py.test(t))return parseInt(t.substr(2),2);if(dy.test(t))return parseFloat(t);var n=parseFloat(t);if(n==t)return n}class td extends Error{constructor(e,n,r,s,l){super(),this.name="SyntaxError",this.message=e,this.filename=n,this.line=r,this.col=s,this.pos=l}}function Ou(t,e,n,r,s){throw new td(t,e,n,r,s)}function ur(t,e,n){return t.type==e&&(n==null||t.value==n)}var Il={};function Ty(t,e,n,r){var s={text:t,filename:e,pos:0,tokpos:0,line:1,tokline:0,col:0,tokcol:0,newline_before:!1,regex_allowed:!1,brace_counter:0,template_braces:[],comments_before:[],directives:{},directive_stack:[]};function l(){return Tu(s.text,s.pos)}function h(){if(!(s.text.charCodeAt(s.pos+1)===46))return!1;const re=s.text.charCodeAt(s.pos+2);return re<48||re>57}function m(J,re){var se=Tu(s.text,s.pos++);if(J&&!se)throw Il;return Rl.has(se)?(s.newline_before=s.newline_before||!re,++s.line,s.col=0,se=="\r"&&l()==`
194
+ `&&(++s.pos,se=`
195
+ `)):(se.length>1&&(++s.pos,++s.col),++s.col),se}function v(J){for(;J--;)m()}function S(J){return s.text.substr(s.pos,J.length)==J}function C(){for(var J=s.text,re=s.pos,se=s.text.length;re<se;++re){var Ae=J[re];if(Rl.has(Ae))return re}return-1}function T(J,re){var se=s.text.indexOf(J,s.pos);if(re&&se==-1)throw Il;return se}function I(){s.tokline=s.line,s.tokcol=s.col,s.tokpos=s.pos}var B=!1,L=null;function b(J,re,se){s.regex_allowed=J=="operator"&&!nd.has(re)||J=="keyword"&&kl.has(re)||J=="punc"&&gy.has(re)||J=="arrow",J=="punc"&&(re=="."||re=="?.")?B=!0:se||(B=!1);const Ae=s.tokline,be=s.tokcol,At=s.tokpos,jt=s.newline_before,Et=e;let Mt=[],gt=[];se||(Mt=s.comments_before,gt=s.comments_before=[]),s.newline_before=!1;const Ot=new Pl(J,re,Ae,be,At,jt,Mt,gt,Et);return se||(L=Ot),Ot}function y(){for(;_y.has(l());)m()}function g(J){for(var re="",se,Ae=0;(se=l())&&J(se,Ae++);)re+=m();return re}function O(J){Ou(J,e,s.tokline,s.tokcol,s.tokpos)}function R(J){var re=!1,se=!1,Ae=!1,be=J==".",At=!1,jt=!1,Et=g(function(gt,Ot){if(At)return!1;var Zt=gt.charCodeAt(0);switch(Zt){case 95:return jt=!0;case 98:case 66:return Ae=!0;case 111:case 79:case 120:case 88:return Ae?!1:Ae=!0;case 101:case 69:return Ae?!0:re?!1:re=se=!0;case 45:return se||Ot==0&&!J;case 43:return se;case(se=!1,46):return!be&&!Ae&&!re?be=!0:!1}return gt==="n"?(At=!0,!0):fy.test(gt)});if(J&&(Et=J+Et),bu=Et,qp.test(Et)&&Ue.has_directive("use strict")&&O("Legacy octal literals are not allowed in strict mode"),jt&&(Et.endsWith("_")?O("Numeric separators are not allowed at the end of numeric literals"):Et.includes("__")&&O("Only one underscore is allowed as numeric separator"),Et=Et.replace(/_/g,"")),Et.endsWith("n")){const gt=Et.slice(0,-1),Ot=Xp.test(gt),Zt=ed(gt,Ot);if(!be&&my.test(Et)&&!isNaN(Zt))return b("big_int",gt);O("Invalid or unexpected token")}var Mt=ed(Et);if(isNaN(Mt))O("Invalid syntax: "+Et);else return b("num",Mt)}function D(J){return J>="0"&&J<="7"}function H(J,re,se){var Ae=m(!0,J);switch(Ae.charCodeAt(0)){case 110:return`
196
+ `;case 114:return"\r";case 116:return" ";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 120:return String.fromCharCode(ee(2,re));case 117:if(l()=="{"){for(m(!0),l()==="}"&&O("Expecting hex-character between {}");l()=="0";)m(!0);var be,At=T("}",!0)-s.pos;return(At>6||(be=ee(At,re))>1114111)&&O("Unicode reference out of bounds"),m(!0),Sy(be)}return String.fromCharCode(ee(4,re));case 10:return"";case 13:if(l()==`
197
+ `)return m(!0,J),""}return D(Ae)?(se&&re&&(Ae==="0"&&!D(l())||O("Octal escape sequences are not allowed in template strings")),X(Ae,re)):Ae}function X(J,re){var se=l();return se>="0"&&se<="7"&&(J+=m(!0),J[0]<="3"&&(se=l())>="0"&&se<="7"&&(J+=m(!0))),J==="0"?"\0":(J.length>0&&Ue.has_directive("use strict")&&re&&O("Legacy octal escape sequences are not allowed in strict mode"),String.fromCharCode(parseInt(J,8)))}function ee(J,re){for(var se=0;J>0;--J){if(!re&&isNaN(parseInt(l(),16)))return parseInt(se,16)||"";var Ae=m(!0);isNaN(parseInt(Ae,16))&&O("Invalid hex-character pattern in string"),se+=Ae}return parseInt(se,16)}var z=ve("Unterminated string constant",function(){const J=s.pos;for(var re=m(),se=[];;){var Ae=m(!0,!0);if(Ae=="\\")Ae=H(!0,!0);else if(Ae=="\r"||Ae==`
198
+ `)O("Unterminated string constant");else if(Ae==re)break;se.push(Ae)}var be=b("string",se.join(""));return bu=s.text.slice(J,s.pos),be.quote=re,be}),q=ve("Unterminated template",function(J){J&&s.template_braces.push(s.brace_counter);var re="",se="",Ae,be;for(m(!0,!0);(Ae=m(!0,!0))!="`";){if(Ae=="\r")l()==`
199
+ `&&++s.pos,Ae=`
200
+ `;else if(Ae=="$"&&l()=="{")return m(!0,!0),s.brace_counter++,be=b(J?"template_head":"template_substitution",re),us.set(be,se),be.template_end=!1,be;if(se+=Ae,Ae=="\\"){var At=s.pos,jt=L&&(L.type==="name"||L.type==="punc"&&(L.value===")"||L.value==="]"));Ae=H(!0,!jt,!0),se+=s.text.substr(At,s.pos-At)}re+=Ae}return s.template_braces.pop(),be=b(J?"template_head":"template_substitution",re),us.set(be,se),be.template_end=!0,be});function $(J){var re=s.regex_allowed,se=C(),Ae;return se==-1?(Ae=s.text.substr(s.pos),s.pos=s.text.length):(Ae=s.text.substring(s.pos,se),s.pos=se),s.col=s.tokcol+(s.pos-s.tokpos),s.comments_before.push(b(J,Ae,!0)),s.regex_allowed=re,Ue}var ce=ve("Unterminated multiline comment",function(){var J=s.regex_allowed,re=T("*/",!0),se=s.text.substring(s.pos,re).replace(/\r\n|\r|\u2028|\u2029/g,`
201
+ `);return v(Ey(se)+2),s.comments_before.push(b("comment2",se,!0)),s.newline_before=s.newline_before||se.includes(`
202
+ `),s.regex_allowed=J,Ue}),Q=ve("Unterminated identifier name",function(){var J=[],re,se=!1,Ae=function(){return se=!0,m(),l()!=="u"&&O("Expecting UnicodeEscapeSequence -- uXXXX or u{XXXX}"),H(!1,!0)};if((re=l())==="\\")re=Ae(),Nl(re)||O("First identifier char is an invalid identifier char");else if(Nl(re))m();else return"";for(J.push(re);(re=l())!=null;){if((re=l())==="\\")re=Ae(),xu(re)||O("Invalid escaped identifier char");else{if(!xu(re))break;m()}J.push(re)}const be=J.join("");return cs.has(be)&&se&&O("Escaped characters are not allowed in keywords"),be}),_e=ve("Unterminated regular expression",function(J){for(var re=!1,se,Ae=!1;se=m(!0);)if(Rl.has(se))O("Unexpected line terminator");else if(re)/^[\u0000-\u007F]$/.test(se)?J+="\\"+se:J+=se,re=!1;else if(se=="[")Ae=!0,J+=se;else if(se=="]"&&Ae)Ae=!1,J+=se;else{if(se=="/"&&!Ae)break;se=="\\"?re=!0:J+=se}const be=Q();return b("regexp","/"+J+"/"+be)});function ge(J){function re(se){if(!l())return se;var Ae=se+l();return Yp.has(Ae)?(m(),re(Ae)):se}return b("operator",re(J||m()))}function ne(){switch(m(),l()){case"/":return m(),$("comment1");case"*":return m(),ce()}return s.regex_allowed?_e(""):ge("/")}function pe(){return m(),l()===">"?(m(),b("arrow","=>")):ge("=")}function fe(){return m(),Jp(l().charCodeAt(0))?R("."):l()==="."?(m(),m(),b("expand","...")):b("punc",".")}function Oe(){var J=Q();return B?b("name",J):Eu.has(J)?b("atom",J):vu.has(J)?Yp.has(J)?b("operator",J):b("keyword",J):b("name",J)}function Ie(){return m(),b("privatename",Q())}function ve(J,re){return function(se){try{return re(se)}catch(Ae){if(Ae===Il)O(J);else throw Ae}}}function Ue(J){if(J!=null)return _e(J);for(r&&s.pos==0&&S("#!")&&(I(),v(2),$("comment5"));;){if(y(),I(),n){if(S("<!--")){v(4),$("comment3");continue}if(S("-->")&&s.newline_before){v(3),$("comment4");continue}}var re=l();if(!re)return b("eof");var se=re.charCodeAt(0);switch(se){case 34:case 39:return z();case 46:return fe();case 47:{var Ae=ne();if(Ae===Ue)continue;return Ae}case 61:return pe();case 63:{if(!h())break;return m(),m(),b("punc","?.")}case 96:return q(!0);case 123:s.brace_counter++;break;case 125:if(s.brace_counter--,s.template_braces.length>0&&s.template_braces[s.template_braces.length-1]===s.brace_counter)return q(!1);break}if(Jp(se))return R();if(by.has(re))return b("punc",m());if(ly.has(re))return ge();if(se==92||Nl(re))return Oe();if(se==35)return Ie();break}O("Unexpected character '"+re+"'")}return Ue.next=m,Ue.peek=l,Ue.context=function(J){return J&&(s=J),s},Ue.add_directive=function(J){s.directive_stack[s.directive_stack.length-1].push(J),s.directives[J]===void 0?s.directives[J]=1:s.directives[J]++},Ue.push_directives_stack=function(){s.directive_stack.push([])},Ue.pop_directives_stack=function(){for(var J=s.directive_stack[s.directive_stack.length-1],re=0;re<J.length;re++)s.directives[J[re]]--;s.directive_stack.pop()},Ue.has_directive=function(J){return s.directives[J]>0},Ue}var Ay=Ct(["typeof","void","delete","--","++","!","~","-","+"]),nd=Ct(["--","++"]),xy=Ct(["=","+=","-=","??=","&&=","||=","/=","*=","**=","%=",">>=","<<=",">>>=","|=","^=","&="]),Cy=Ct(["??=","&&=","||="]),kr=function(t,e){for(var n=0;n<t.length;++n)for(const r of t[n])e[r]=n+1;return e}([["||"],["??"],["&&"],["|"],["^"],["&"],["==","===","!=","!=="],["<",">","<=",">=","in","instanceof"],[">>","<<",">>>"],["+","-"],["*","/","%"],["**"]],{}),Oy=Ct(["atom","num","big_int","string","regexp","name"]);function ls(t,e){const n=new WeakMap;e=_i(e,{bare_returns:!1,ecma:null,expression:!1,filename:null,html5_comments:!0,module:!1,shebang:!0,strict:!1,toplevel:null},!0);var r={input:typeof t=="string"?Ty(t,e.filename,e.html5_comments,e.shebang):t,token:null,prev:null,peeked:null,in_function:0,in_async:-1,in_generator:-1,in_directives:!0,in_loop:0,labels:[]};r.token=h();function s(w,G){return ur(r.token,w,G)}function l(){return r.peeked||(r.peeked=r.input())}function h(){return r.prev=r.token,r.peeked||l(),r.token=r.peeked,r.peeked=null,r.in_directives=r.in_directives&&(r.token.type=="string"||s("punc",";")),r.token}function m(){return r.prev}function v(w,G,W,Z){var ie=r.input.context();Ou(w,ie.filename,G??ie.tokline,W??ie.tokcol,Z??ie.tokpos)}function S(w,G){v(G,w.line,w.col)}function C(w){w==null&&(w=r.token),S(w,"Unexpected token: "+w.type+" ("+w.value+")")}function T(w,G){if(s(w,G))return h();S(r.token,"Unexpected token "+r.token.type+" «"+r.token.value+"», expected "+w+" «"+G+"»")}function I(w){return T("punc",w)}function B(w){return w.nlb||!w.comments_before.every(G=>!G.nlb)}function L(){return!e.strict&&(s("eof")||s("punc","}")||B(r.token))}function b(){return r.in_generator===r.in_function}function y(){return r.in_async===r.in_function}function g(){return r.in_async===r.in_function||r.in_function===0&&r.input.has_directive("use strict")}function O(w){s("punc",";")?h():!w&&!L()&&C()}function R(){I("(");var w=_t(!0);return I(")"),w}function D(w){return function(...W){const Z=r.token,ie=w(...W);return ie.start=Z,ie.end=m(),ie}}function H(){(s("operator","/")||s("operator","/="))&&(r.peeked=null,r.token=r.input(r.token.value.substr(1)))}var X=D(function w(G,W,Z){switch(H(),r.token.type){case"string":if(r.in_directives){var ie=l();!bu.includes("\\")&&(ur(ie,"punc",";")||ur(ie,"punc","}")||B(ie)||ur(ie,"eof"))?r.input.add_directive(r.token.value):r.in_directives=!1}var Fe=r.in_directives,Pe=z();return Fe&&Pe.body instanceof dt?new nr(Pe.body):Pe;case"template_head":case"num":case"big_int":case"regexp":case"operator":case"atom":return z();case"name":case"privatename":if(s("privatename")&&!r.in_class&&v("Private field must be used in an enclosing class"),r.token.value=="async"&&ur(l(),"keyword","function"))return h(),h(),W&&v("functions are not allowed as the body of a loop"),ne(en,!1,!0,G);if(r.token.value=="import"&&!ur(l(),"punc","(")&&!ur(l(),"punc",".")){h();var rt=fn();return O(),rt}return ur(l(),"punc",":")?ee():z();case"punc":switch(r.token.value){case"{":return new Ze({start:r.token,body:Ae(),end:m()});case"[":case"(":return z();case";":return r.in_directives=!1,h(),new Rt;default:C()}case"keyword":switch(r.token.value){case"break":return h(),q(Rr);case"continue":return h(),q(ro);case"debugger":return h(),O(),new Fi;case"do":h();var Ht=or(w);T("keyword","while");var an=R();return O(!0),new yi({body:Ht,condition:an});case"while":return h(),new Li({condition:R(),body:or(function(){return w(!1,!0)})});case"for":return h(),$();case"class":return h(),W&&v("classes are not allowed as the body of a loop"),Z&&v("classes are not allowed as the body of an if"),Qt(Kr,G);case"function":return h(),W&&v("functions are not allowed as the body of a loop"),ne(en,!1,!1,G);case"if":return h(),se();case"return":r.in_function==0&&!e.bare_returns&&v("'return' outside of function"),h();var En=null;return s("punc",";")?h():L()||(En=_t(!0),O()),new sn({value:En});case"switch":return h(),new qn({expression:R(),body:or(be)});case"throw":h(),B(r.token)&&v("Illegal newline after 'throw'");var En=_t(!0);return O(),new hs({value:En});case"try":return h(),At();case"var":h();var rt=Et();return O(),rt;case"let":h();var rt=Mt();return O(),rt;case"const":h();var rt=gt();return O(),rt;case"with":return r.input.has_directive("use strict")&&v("Strict mode may not include a with statement"),h(),new _r({expression:R(),body:w()});case"export":if(!ur(l(),"punc","(")){h();var rt=Me();return s("punc",";")&&O(),rt}}}C()});function ee(){var w=xn(ps);w.name==="await"&&y()&&S(r.prev,"await cannot be used as label inside async function"),r.labels.some(W=>W.name===w.name)&&v("Label "+w.name+" defined twice"),I(":"),r.labels.push(w);var G=X();return r.labels.pop(),G instanceof jr||w.references.forEach(function(W){W instanceof ro&&(W=W.label.start,v("Continue label `"+w.name+"` refers to non-IterationStatement.",W.line,W.col,W.pos))}),new Qn({body:G,label:w})}function z(w){return new $e({body:(w=_t(!0),O(),w)})}function q(w){var G=null,W;L()||(G=xn(Ll,!0)),G!=null?(W=r.labels.find(ie=>ie.name===G.name),W||v("Undefined label "+G.name),G.thedef=W):r.in_loop==0&&v(w.TYPE+" not inside a loop or switch"),O();var Z=new w({label:G});return W&&W.references.push(Z),Z}function $(){var w="`for await` invalid in this context",G=r.token;G.type=="name"&&G.value=="await"?(g()||S(G,w),h()):G=!1,I("(");var W=null;if(s("punc",";"))G&&S(G,w);else{W=s("keyword","var")?(h(),Et(!0)):s("keyword","let")?(h(),Mt(!0)):s("keyword","const")?(h(),gt(!0)):_t(!0,!0);var Z=s("operator","in"),ie=s("name","of");if(G&&!ie&&S(G,w),Z||ie)return W instanceof un?W.definitions.length>1&&S(W.start,"Only one variable declaration allowed in for..in loop"):Xi(W)||(W=Fr(W))instanceof Vt||S(W.start,"Invalid left-hand side in for..in loop"),h(),Z?_e(W):Q(W,!!G)}return ce(W)}function ce(w){I(";");var G=s("punc",";")?null:_t(!0);I(";");var W=s("punc",")")?null:_t(!0);return I(")"),new Tn({init:w,condition:G,step:W,body:or(function(){return X(!1,!0)})})}function Q(w,G){var W=w instanceof un?w.definitions[0].name:null,Z=_t(!0);return I(")"),new Eo({await:G,init:w,name:W,object:Z,body:or(function(){return X(!1,!0)})})}function _e(w){var G=_t(!0);return I(")"),new Wn({init:w,object:G,body:or(function(){return X(!1,!0)})})}var ge=function(w,G,W){B(r.token)&&v("Unexpected newline before arrow (=>)"),T("arrow","=>");var Z=Ue(s("punc","{"),!1,W),ie=Z instanceof Array&&Z.length?Z[Z.length-1].end:Z instanceof Array?w:Z.end;return new Yt({start:w,end:ie,async:W,argnames:G,body:Z})},ne=function(w,G,W,Z){var ie=w===en,Fe=s("operator","*");Fe&&h();var Pe=s("name")?xn(ie?Ti:oi):null;ie&&!Pe&&(Z?w=Ft:C()),Pe&&w!==Mi&&!(Pe instanceof Nn)&&C(m());var rt=[],Ht=Ue(!0,Fe||G,W,Pe,rt);return new w({start:rt.start,end:Ht.end,is_generator:Fe,async:W,name:Pe,argnames:rt,body:Ht})};class pe{constructor(G,W,Z=!1){this.is_parameter=G,this.duplicates_ok=Z,this.parameters=new Set,this.duplicate=null,this.default_assignment=!1,this.spread=!1,this.strict_mode=!!W}add_parameter(G){if(this.parameters.has(G.value))this.duplicate===null&&(this.duplicate=G),this.check_strict();else if(this.parameters.add(G.value),this.is_parameter)switch(G.value){case"arguments":case"eval":case"yield":this.strict_mode&&S(G,"Unexpected "+G.value+" identifier as parameter inside strict mode");break;default:cs.has(G.value)&&C()}}mark_default_assignment(G){this.default_assignment===!1&&(this.default_assignment=G)}mark_spread(G){this.spread===!1&&(this.spread=G)}mark_strict_mode(){this.strict_mode=!0}is_strict(){return this.default_assignment!==!1||this.spread!==!1||this.strict_mode}check_strict(){this.is_strict()&&this.duplicate!==null&&!this.duplicates_ok&&S(this.duplicate,"Parameter "+this.duplicate.value+" was used already")}}function fe(w){var G=new pe(!0,r.input.has_directive("use strict"));for(I("(");!s("punc",")");){var W=Oe(G);if(w.push(W),s("punc",")")||I(","),W instanceof ht)break}h()}function Oe(w,G){var W,Z=!1;return w===void 0&&(w=new pe(!0,r.input.has_directive("use strict"))),s("expand","...")&&(Z=r.token,w.mark_spread(r.token),h()),W=Ie(w,G),s("operator","=")&&Z===!1&&(w.mark_default_assignment(r.token),h(),W=new Nr({start:W.start,left:W,operator:"=",right:_t(!1),end:r.token})),Z!==!1&&(s("punc",")")||C(),W=new ht({start:Z,expression:W,end:Z})),w.check_strict(),W}function Ie(w,G){var W=[],Z=!0,ie=!1,Fe,Pe=r.token;if(w===void 0){const Lr=r.input.has_directive("use strict"),Bt=G===ji;w=new pe(!1,Lr,Bt)}if(G=G===void 0?In:G,s("punc","[")){for(h();!s("punc","]");){if(Z?Z=!1:I(","),s("expand","...")&&(ie=!0,Fe=r.token,w.mark_spread(r.token),h()),s("punc"))switch(r.token.value){case",":W.push(new Ir({start:r.token,end:r.token}));continue;case"]":break;case"[":case"{":W.push(Ie(w,G));break;default:C()}else s("name")?(w.add_parameter(r.token),W.push(xn(G))):v("Invalid function parameter");s("operator","=")&&ie===!1&&(w.mark_default_assignment(r.token),h(),W[W.length-1]=new Nr({start:W[W.length-1].start,left:W[W.length-1],operator:"=",right:_t(!1),end:r.token})),ie&&(s("punc","]")||v("Rest element must be last element"),W[W.length-1]=new ht({start:Fe,expression:W[W.length-1],end:Fe}))}return I("]"),w.check_strict(),new Vt({start:Pe,names:W,is_array:!0,end:m()})}else if(s("punc","{")){for(h();!s("punc","}");){if(Z?Z=!1:I(","),s("expand","...")&&(ie=!0,Fe=r.token,w.mark_spread(r.token),h()),s("name")&&(ur(l(),"punc")||ur(l(),"operator"))&&[",","}","="].includes(l().value)){w.add_parameter(r.token);var rt=m(),Ht=xn(G);ie?W.push(new ht({start:Fe,expression:Ht,end:Ht.end})):W.push(new Jt({start:rt,key:Ht.name,value:Ht,end:Ht.end}))}else{if(s("punc","}"))continue;var an=r.token,En=ut();En===null?C(m()):m().type==="name"&&!s("punc",":")?W.push(new Jt({start:m(),key:En,value:new G({start:m(),name:En,end:m()}),end:m()})):(I(":"),W.push(new Jt({start:an,quote:an.quote,key:En,value:Ie(w,G),end:m()})))}ie?s("punc","}")||v("Rest element must be last element"):s("operator","=")&&(w.mark_default_assignment(r.token),h(),W[W.length-1].value=new Nr({start:W[W.length-1].value.start,left:W[W.length-1].value,operator:"=",right:_t(!1),end:r.token}))}return I("}"),w.check_strict(),new Vt({start:Pe,names:W,is_array:!1,end:m()})}else{if(s("name"))return w.add_parameter(r.token),xn(G);v("Invalid function parameter")}}function ve(w,G){var W,Z,ie,Fe=[];for(I("(");!s("punc",")");)W&&C(W),s("expand","...")?(W=r.token,G&&(Z=r.token),h(),Fe.push(new ht({start:m(),expression:_t(),end:r.token}))):Fe.push(_t()),s("punc",")")||(I(","),s("punc",")")&&(ie=m(),G&&(Z=ie)));return I(")"),w&&s("arrow","=>")?W&&ie&&C(ie):Z&&C(Z),Fe}function Ue(w,G,W,Z,ie){var Fe=r.in_loop,Pe=r.labels,rt=r.in_generator,Ht=r.in_async;if(++r.in_function,G&&(r.in_generator=r.in_function),W&&(r.in_async=r.in_function),ie&&fe(ie),w&&(r.in_directives=!0),r.in_loop=0,r.labels=[],w){r.input.push_directives_stack();var an=Ae();Z&&vn(Z),ie&&ie.forEach(vn),r.input.pop_directives_stack()}else var an=[new sn({start:r.token,value:_t(!1),end:r.token})];return--r.in_function,r.in_loop=Fe,r.labels=Pe,r.in_generator=rt,r.in_async=Ht,an}function J(){return g()||v("Unexpected await expression outside async function",r.prev.line,r.prev.col,r.prev.pos),new yr({start:m(),end:r.token,expression:Ci(!0)})}function re(){b()||v("Unexpected yield expression outside generator function",r.prev.line,r.prev.col,r.prev.pos);var w=r.token,G=!1,W=!0;return L()||s("punc")&&yy.has(r.token.value)?W=!1:s("operator","*")&&(G=!0,h()),new gr({start:w,is_star:G,expression:W?_t():null,end:m()})}function se(){var w=R(),G=X(!1,!1,!0),W=null;return s("keyword","else")&&(h(),W=X(!1,!1,!0)),new wt({condition:w,body:G,alternative:W})}function Ae(){I("{");for(var w=[];!s("punc","}");)s("eof")&&C(),w.push(X());return h(),w}function be(){I("{");for(var w=[],G=null,W=null,Z;!s("punc","}");)s("eof")&&C(),s("keyword","case")?(W&&(W.end=m()),G=[],W=new Jr({start:(Z=r.token,h(),Z),expression:_t(!0),body:G}),w.push(W),I(":")):s("keyword","default")?(W&&(W.end=m()),G=[],W=new So({start:(Z=r.token,h(),I(":"),Z),body:G}),w.push(W)):(G||C(),G.push(X()));return W&&(W.end=m()),h(),w}function At(){var w,G=null,W=null;if(w=new wu({start:r.token,body:Ae(),end:m()}),s("keyword","catch")){var Z=r.token;if(h(),s("punc","{"))var ie=null;else{I("(");var ie=Oe(void 0,zr);I(")")}G=new Zr({start:Z,argname:ie,body:Ae(),end:m()})}if(s("keyword","finally")){var Z=r.token;h(),W=new Wo({start:Z,body:Ae(),end:m()})}return!G&&!W&&v("Missing catch/finally blocks"),new br({body:w,bcatch:G,bfinally:W})}function jt(w,G){for(var W=[],Z;;){var ie=G==="var"?ji:G==="const"?io:G==="let"?qo:null;if(s("punc","{")||s("punc","[")?Z=new Lt({start:r.token,name:Ie(void 0,ie),value:s("operator","=")?(T("operator","="),_t(!1,w)):null,end:m()}):(Z=new Lt({start:r.token,name:xn(ie),value:s("operator","=")?(h(),_t(!1,w)):!w&&G==="const"?v("Missing initializer in const declaration"):null,end:m()}),Z.name.name=="import"&&v("Unexpected token: import")),W.push(Z),!s("punc",","))break;h()}return W}var Et=function(w){return new wn({start:m(),definitions:jt(w,"var"),end:m()})},Mt=function(w){return new Qr({start:m(),definitions:jt(w,"let"),end:m()})},gt=function(w){return new ei({start:m(),definitions:jt(w,"const"),end:m()})},Ot=function(w){var G=r.token;if(T("operator","new"),s("punc","."))return h(),T("name","target"),hn(new Xo({start:G,end:m()}),w);var W=ke(!1),Z;s("punc","(")?(h(),Z=bt(")",!0)):Z=[];var ie=new rr({start:G,expression:W,args:Z,end:m()});return Ln(ie),hn(ie,w)};function Zt(){var w=r.token,G;switch(w.type){case"name":G=ft(xe);break;case"num":G=new Qe({start:w,end:w,value:w.value,raw:bu});break;case"big_int":G=new ai({start:w,end:w,value:w.value});break;case"string":G=new dt({start:w,end:w,value:w.value,quote:w.quote}),Ln(G);break;case"regexp":const[W,Z,ie]=w.value.match(/^\/(.*)\/(\w*)$/);G=new fr({start:w,end:w,value:{source:Z,flags:ie}});break;case"atom":switch(w.value){case"false":G=new Gi({start:w,end:w});break;case"true":G=new vr({start:w,end:w});break;case"null":G=new hr({start:w,end:w});break}break}return h(),G}function oe(w,G){var W=function(Z,ie){return ie?new Nr({start:Z.start,left:Z,operator:"=",right:ie,end:ie.end}):Z};if(w instanceof Nt)return W(new Vt({start:w.start,end:w.end,is_array:!1,names:w.properties.map(Z=>oe(Z))}),G);if(w instanceof Jt)return w.value=oe(w.value),W(w,G);if(w instanceof Ir)return w;if(w instanceof Vt)return w.names=w.names.map(Z=>oe(Z)),W(w,G);if(w instanceof xe)return W(new In({name:w.name,start:w.start,end:w.end}),G);if(w instanceof ht)return w.expression=oe(w.expression),W(w,G);if(w instanceof St)return W(new Vt({start:w.start,end:w.end,is_array:!0,names:w.elements.map(Z=>oe(Z))}),G);if(w instanceof st)return W(oe(w.left,w.right),G);if(w instanceof Nr)return w.left=oe(w.left),w;v("Invalid function parameter",w.start.line,w.start.col)}var ke=function(w,G){if(s("operator","new"))return Ot(w);if(s("name","import")&&ur(l(),"punc","."))return xi(w);var W=r.token,Z,ie=s("name","async")&&(Z=l()).value!="["&&Z.type!="arrow"&&Zt();if(s("punc")){switch(r.token.value){case"(":if(ie&&!w)break;var Fe=ve(G,!ie);if(G&&s("arrow","=>"))return ge(W,Fe.map(Bt=>oe(Bt)),!!ie);var Pe=ie?new je({expression:ie,args:Fe}):Fo(W,Fe);if(Pe.start){const Bt=W.comments_before.length;if(n.set(W,Bt),Pe.start.comments_before.unshift(...W.comments_before),W.comments_before=Pe.start.comments_before,Bt==0&&W.comments_before.length>0){var rt=W.comments_before[0];rt.nlb||(rt.nlb=W.nlb,W.nlb=!1)}W.comments_after=Pe.start.comments_after}Pe.start=W;var Ht=m();return Pe.end&&(Ht.comments_before=Pe.end.comments_before,Pe.end.comments_after.push(...Ht.comments_after),Ht.comments_after=Pe.end.comments_after),Pe.end=Ht,Pe instanceof je&&Ln(Pe),hn(Pe,w);case"[":return hn(xt(),w);case"{":return hn(Un(),w)}ie||C()}if(G&&s("name")&&ur(l(),"arrow")){var an=new In({name:r.token.value,start:W,end:W});return h(),ge(W,[an],!!ie)}if(s("keyword","function")){h();var En=ne(Ft,!1,!!ie);return En.start=W,En.end=m(),hn(En,w)}if(ie)return hn(ie,w);if(s("keyword","class")){h();var Lr=Qt(Si);return Lr.start=W,Lr.end=m(),hn(Lr,w)}if(s("template_head"))return hn(me(),w);if(Oy.has(r.token.type))return hn(Zt(),w);C()};function me(){var w=[],G=r.token;for(w.push(new gi({start:r.token,raw:us.get(r.token),value:r.token.value,end:r.token}));!r.token.template_end;)h(),H(),w.push(_t(!0)),w.push(new gi({start:r.token,raw:us.get(r.token),value:r.token.value,end:r.token}));return h(),new Xn({start:G,segments:w,end:r.token})}function bt(w,G,W){for(var Z=!0,ie=[];!s("punc",w)&&(Z?Z=!1:I(","),!(G&&s("punc",w)));)s("punc",",")&&W?ie.push(new Ir({start:r.token,end:r.token})):s("expand","...")?(h(),ie.push(new ht({start:m(),expression:_t(),end:r.token}))):ie.push(_t(!1));return h(),ie}var xt=D(function(){return I("["),new St({elements:bt("]",!e.strict,!0)})}),Dt=D((w,G)=>ne(Mi,w,G)),Un=D(function(){var G=r.token,W=!0,Z=[];for(I("{");!s("punc","}")&&(W?W=!1:I(","),!(!e.strict&&s("punc","}")));){if(G=r.token,G.type=="expand"){h(),Z.push(new ht({start:G,expression:_t(!1),end:m()}));continue}s("privatename")&&v("private fields are not allowed in an object");var ie=ut(),Fe;if(s("punc",":"))ie===null?C(m()):(h(),Fe=_t(!1));else{var Pe=dn(ie,G);if(Pe){Z.push(Pe);continue}Fe=new xe({start:m(),name:ie,end:m()})}s("operator","=")&&(h(),Fe=new st({start:G,left:Fe,operator:"=",right:_t(!1),logical:!1,end:m()}));const rt=new Jt({start:G,quote:G.quote,key:ie instanceof Ce?ie:""+ie,value:Fe,end:m()});Z.push(Ln(rt))}return h(),new Nt({properties:Z})});function Qt(w,G){var W,Z,ie,Fe,Pe=[];r.input.push_directives_stack(),r.input.add_directive("use strict"),r.token.type=="name"&&r.token.value!="extends"&&(ie=xn(w===Kr?Nu:Iu)),w===Kr&&!ie&&(G?w=Si:C()),r.token.value=="extends"&&(h(),Fe=_t(!0)),I("{");const rt=r.in_class;for(r.in_class=!0;s("punc",";");)h();for(;!s("punc","}");)for(W=r.token,Z=dn(ut(),W,!0),Z||C(),Pe.push(Z);s("punc",";");)h();return r.in_class=rt,r.input.pop_directives_stack(),h(),new w({start:W,name:ie,extends:Fe,properties:Pe,end:m()})}function dn(w,G,W){const Z=(Bt,Xr=Vn)=>typeof Bt=="string"||typeof Bt=="number"?new Xr({start:G,name:""+Bt,end:m()}):(Bt===null&&C(),Bt),ie=()=>!s("punc","(")&&!s("punc",",")&&!s("punc","}")&&!s("punc",";")&&!s("operator","=");var Fe=!1,Pe=!1,rt=!1,Ht=!1,an=null;if(W&&w==="static"&&ie()){const Bt=$t();if(Bt!=null)return Bt;Pe=!0,w=ut()}w==="async"&&ie()&&(Fe=!0,w=ut()),m().type==="operator"&&m().value==="*"&&(rt=!0,w=ut()),(w==="get"||w==="set")&&ie()&&(an=w,w=ut()),m().type==="privatename"&&(Ht=!0);const En=m();if(an!=null)if(Ht){const Bt=an==="get"?ni:bi;return Ln(new Bt({start:G,static:Pe,key:Z(w),value:Dt(),end:m()}))}else{const Bt=an==="get"?Gr:ri;return w=Z(w),Ln(new Bt({start:G,static:Pe,key:w,quote:w instanceof Vn?En.quote:void 0,value:Dt(),end:m()}))}if(s("punc","(")){w=Z(w);const Bt=Ht?vi:Bn;var Lr=new Bt({start:G,static:Pe,is_generator:rt,async:Fe,key:w,quote:w instanceof Vn?En.quote:void 0,value:Dt(rt,Fe),end:m()});return Ln(Lr)}if(W){const Bt=Z(w,Hi),Xr=Bt instanceof Hi?En.quote:void 0,Ar=Ht?Ei:lr;if(s("operator","="))return h(),Ln(new Ar({start:G,static:Pe,quote:Xr,key:Bt,value:_t(!1),end:m()}));if(s("name")||s("privatename")||s("operator","*")||s("punc",";")||s("punc","}"))return Ln(new Ar({start:G,static:Pe,quote:Xr,key:Bt,end:m()}))}}function $t(){if(!s("punc","{"))return null;const w=r.token,G=[];for(h();!s("punc","}");)G.push(X());return h(),new Yn({start:w,body:G,end:m()})}function Pt(){return s("name","assert")&&!B(r.token)?(h(),Un()):null}function fn(){var w=m(),G,W;s("name")&&(G=xn(Yo)),s("punc",",")&&h(),W=Be(!0),(W||G)&&T("name","from");var Z=r.token;Z.type!=="string"&&C(),h();const ie=Pt();return new wr({start:w,imported_name:G,imported_names:W,module_name:new dt({start:Z,value:Z.value,quote:Z.quote,end:Z}),assert_clause:ie,end:r.token})}function xi(w){var G=r.token;return T("name","import"),T("punc","."),T("name","meta"),hn(new Ui({start:G,end:m()}),w)}function V(w){function G(rt,Ht){return new rt({name:ut(),quote:Ht||void 0,start:m(),end:m()})}var W=w?To:Ai,Z=w?Yo:Ao,ie=r.token,Fe,Pe;return w?Fe=G(W,ie.quote):Pe=G(Z,ie.quote),s("name","as")?(h(),w?Pe=G(Z):Fe=G(W,r.token.quote)):w?Pe=new Z(Fe):Fe=new W(Pe),new ti({start:ie,foreign_name:Fe,name:Pe,end:m()})}function Ne(w,G){var W=w?To:Ai,Z=w?Yo:Ao,ie=r.token,Fe,Pe,rt=m();return w?Fe=G:Pe=G,Fe=Fe||new Z({start:ie,name:"*",end:rt}),Pe=Pe||new W({start:ie,name:"*",end:rt}),new ti({start:ie,foreign_name:Pe,name:Fe,end:rt})}function Be(w){var G;if(s("punc","{")){for(h(),G=[];!s("punc","}");)G.push(V(w)),s("punc",",")&&h();h()}else if(s("operator","*")){var W;h(),s("name","as")&&(h(),W=w?xn(Yo):fi(Ai)),G=[Ne(w,W)]}return G}function Me(){var w=r.token,G,W;if(s("keyword","default"))G=!0,h();else if(W=Be(!1))if(s("name","from")){h();var Z=r.token;Z.type!=="string"&&C(),h();const rt=Pt();return new On({start:w,is_default:G,exported_names:W,module_name:new dt({start:Z,value:Z.value,quote:Z.quote,end:Z}),end:m(),assert_clause:rt})}else return new On({start:w,is_default:G,exported_names:W,end:m()});var ie,Fe,Pe;return s("punc","{")||G&&(s("keyword","class")||s("keyword","function"))&&ur(l(),"punc")?(Fe=_t(!1),O()):(ie=X(G))instanceof un&&G?C(ie.start):ie instanceof un||ie instanceof en||ie instanceof Kr?Pe=ie:ie instanceof Si||ie instanceof Ft?Fe=ie:ie instanceof $e?Fe=ie.body:C(ie.start),new On({start:w,is_default:G,exported_value:Fe,exported_definition:Pe,end:m(),assert_clause:null})}function ut(){var w=r.token;switch(w.type){case"punc":if(w.value==="["){h();var G=_t(!1);return I("]"),G}else C(w);case"operator":if(w.value==="*")return h(),null;["delete","in","instanceof","new","typeof","void"].includes(w.value)||C(w);case"name":case"privatename":case"string":case"num":case"big_int":case"keyword":case"atom":return h(),w.value;default:C(w)}}function on(){var w=r.token;return w.type!="name"&&w.type!="privatename"&&C(),h(),w.value}function ft(w){var G=r.token.value;return new(G=="this"?jn:G=="super"?Jo:w)({name:String(G),start:r.token,end:r.token})}function vn(w){var G=w.name;b()&&G=="yield"&&S(w.start,"Yield cannot be used as identifier inside generators"),r.input.has_directive("use strict")&&(G=="yield"&&S(w.start,"Unexpected yield identifier inside strict mode"),w instanceof Nn&&(G=="arguments"||G=="eval")&&S(w.start,"Unexpected "+G+" in strict mode"))}function xn(w,G){if(!s("name"))return G||v("Name expected"),null;var W=ft(w);return vn(W),h(),W}function fi(w){if(!s("name")){s("string")||v("Name or string expected");var G=r.token,W=new w({start:G,end:G,name:G.value,quote:G.quote});return h(),W}var Z=ft(w);return vn(Z),h(),Z}function Ln(w,G=w.start){var W=G.comments_before;const Z=n.get(G);for(var ie=Z??W.length;--ie>=0;){var Fe=W[ie];if(/[@#]__/.test(Fe.value)){if(/[@#]__PURE__/.test(Fe.value)){ss(w,Ml);break}if(/[@#]__INLINE__/.test(Fe.value)){ss(w,Bl);break}if(/[@#]__NOINLINE__/.test(Fe.value)){ss(w,xo);break}if(/[@#]__KEY__/.test(Fe.value)){ss(w,_s);break}if(/[@#]__MANGLE_PROP__/.test(Fe.value)){ss(w,ys);break}}}return w}var hn=function(w,G,W){var Z=w.start;if(s("punc",".")){h(),s("privatename")&&!r.in_class&&v("Private field must be used in an enclosing class");const Pe=s("privatename")?Hr:Wt;return Ln(hn(new Pe({start:Z,expression:w,optional:!1,property:on(),end:m()}),G,W))}if(s("punc","[")){h();var ie=_t(!0);return I("]"),Ln(hn(new An({start:Z,expression:w,optional:!1,property:ie,end:m()}),G,W))}if(G&&s("punc","(")){h();var Fe=new je({start:Z,expression:w,optional:!1,args:lo(),end:m()});return Ln(Fe),hn(Fe,!0,W)}if(s("punc","?.")){h();let Pe;if(G&&s("punc","(")){h();const rt=new je({start:Z,optional:!0,expression:w,args:lo(),end:m()});Ln(rt),Pe=hn(rt,!0,!0)}else if(s("name")||s("privatename")){s("privatename")&&!r.in_class&&v("Private field must be used in an enclosing class");const rt=s("privatename")?Hr:Wt;Pe=Ln(hn(new rt({start:Z,expression:w,optional:!0,property:on(),end:m()}),G,!0))}else if(s("punc","[")){h();const rt=_t(!0);I("]"),Pe=Ln(hn(new An({start:Z,expression:w,optional:!0,property:rt,end:m()}),G,!0))}return Pe||C(),Pe instanceof gn?Pe:new gn({start:Z,expression:Pe,end:m()})}return s("template_head")?(W&&C(),hn(new $r({start:Z,prefix:w,template_string:me(),end:m()}),G)):w};function lo(){for(var w=[];!s("punc",")");)s("expand","...")?(h(),w.push(new ht({start:m(),expression:_t(!1),end:m()}))):w.push(_t(!1)),s("punc",")")||I(",");return h(),w}var Ci=function(w,G){var W=r.token;if(W.type=="name"&&W.value=="await"&&g())return h(),J();if(s("operator")&&Ay.has(W.value)){h(),H();var Z=fo(We,W,Ci(w));return Z.start=W,Z.end=m(),Z}for(var ie=ke(w,G);s("operator")&&nd.has(r.token.value)&&!B(r.token);)ie instanceof Yt&&C(),ie=fo(Vi,r.token,ie),ie.start=W,ie.end=r.token,h();return ie};function fo(w,G,W){var Z=G.value;switch(Z){case"++":case"--":Xi(W)||v("Invalid use of "+Z+" operator",G.line,G.col,G.pos);break;case"delete":W instanceof xe&&r.input.has_directive("use strict")&&v("Calling delete on expression not allowed in strict mode",W.start.line,W.start.col,W.start.pos);break}return new w({operator:Z,expression:W})}var Tr=function(w,G,W){var Z=s("operator")?r.token.value:null;Z=="in"&&W&&(Z=null),Z=="**"&&w instanceof We&&!ur(w.start,"punc","(")&&w.operator!=="--"&&w.operator!=="++"&&C(w.start);var ie=Z!=null?kr[Z]:null;if(ie!=null&&(ie>G||Z==="**"&&G===ie)){h();var Fe=Wr(W,ie,!0);return Tr(new ae({start:w.start,left:w,operator:Z,right:Fe,end:Fe.end}),G,W)}return w};function Wr(w,G,W,Z){if(!w&&G<kr.in&&s("privatename")){r.in_class||v("Private field must be used in an enclosing class");const ie=r.token,Fe=new ds({start:ie,name:ie.value,end:ie});h(),T("operator","in");const Pe=new ii({start:ie,key:Fe,value:Wr(w,kr.in,!0),end:m()});return Tr(Pe,0,w)}else return Tr(Ci(W,Z),G,w)}var Po=function(w){var G=r.token,W=Wr(w,0,!0,!0);if(s("operator","?")){h();var Z=_t(!1);return I(":"),new tt({start:G,condition:W,consequent:Z,alternative:_t(!1,w),end:m()})}return W};function Xi(w){return w instanceof Xe||w instanceof xe}function Fr(w){if(w instanceof Nt)w=new Vt({start:w.start,names:w.properties.map(Fr),is_array:!1,end:w.end});else if(w instanceof St){for(var G=[],W=0;W<w.elements.length;W++)w.elements[W]instanceof ht&&(W+1!==w.elements.length&&S(w.elements[W].start,"Spread must the be last element in destructuring array"),w.elements[W].expression=Fr(w.elements[W].expression)),G.push(Fr(w.elements[W]));w=new Vt({start:w.start,names:G,is_array:!0,end:w.end})}else w instanceof cn?w.value=Fr(w.value):w instanceof st&&(w=new Nr({start:w.start,left:w.left,operator:"=",right:w.right,end:w.end}));return w}var hi=function(w){H();var G=r.token;if(G.type=="name"&&G.value=="yield"){if(b())return h(),re();r.input.has_directive("use strict")&&S(r.token,"Unexpected yield identifier inside strict mode")}var W=Po(w),Z=r.token.value;if(s("operator")&&xy.has(Z)){if(Xi(W)||(W=Fr(W))instanceof Vt)return h(),new st({start:G,left:W,operator:Z,right:hi(w),logical:Cy.has(Z),end:m()});v("Invalid assignment")}return W},Fo=function(w,G){if(G.length===1)return G[0];if(G.length>1)return new lt({start:w,expressions:G,end:l()});v("Invalid parenthesized expression")},_t=function(w,G){for(var W=r.token,Z=[];Z.push(hi(G)),!(!w||!s("punc",","));)h(),w=!0;return Fo(W,Z)};function or(w){++r.in_loop;var G=w();return--r.in_loop,G}return e.expression?_t(!0):function(){var G=r.token,W=[];for(r.input.push_directives_stack(),e.module&&r.input.add_directive("use strict");!s("eof");)W.push(X());r.input.pop_directives_stack();var Z=m(),ie=e.toplevel;return ie?(ie.body=ie.body.concat(W),ie.end=Z):ie=new zt({start:G,body:W,end:Z}),us=new Map,ie}()}function he(t,e,n,r,s=Ce){e?e=e.split(/\s+/):e=[];var l=e;s&&s.PROPS&&(e=e.concat(s.PROPS));const h=s&&Object.create(s.prototype);if(h&&(n.prototype=h,n.BASE=s),s&&s.SUBCLASSES.push(n),n.prototype.CTOR=n,n.prototype.constructor=n,n.PROPS=e||null,n.SELF_PROPS=l,n.SUBCLASSES=[],t&&(n.prototype.TYPE=n.TYPE=t),r)for(let m in r)tr(r,m)&&(m[0]==="$"?n[m.substr(1)]=r[m]:n.prototype[m]=r[m]);return n.DEFMETHOD=function(m,v){this.prototype[m]=v},n}const Du=(t,e)=>!!(t.flags&e),ku=(t,e,n)=>{n?t.flags|=e:t.flags&=~e},rd=1,id=2,od=4,ad=8;class Pl{constructor(e,n,r,s,l,h,m,v,S){this.flags=h?1:0,this.type=e,this.value=n,this.line=r,this.col=s,this.pos=l,this.comments_before=m,this.comments_after=v,this.file=S,Object.seal(this)}[Symbol.for("nodejs.util.inspect.custom")](e,n){const r=h=>n.stylize(h,"special"),s=typeof this.value=="string"&&this.value.includes("`")?"'":"`",l=`${s}${this.value}${s}`;return`${r("[AST_Token")} ${l} at ${this.line}:${this.col}${r("]")}`}get nlb(){return Du(this,rd)}set nlb(e){ku(this,rd,e)}get quote(){return Du(this,od)?Du(this,id)?"'":'"':""}set quote(e){ku(this,id,e==="'"),ku(this,od,!!e)}get template_end(){return Du(this,ad)}set template_end(e){ku(this,ad,e)}}var Ce=he("Node","start end",function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{_clone:function(t){if(t){var e=this.clone();return e.transform(new dr(function(n){if(n!==e)return n.clone(!0)}))}return new this.CTOR(this)},clone:function(t){return this._clone(t)},$documentation:"Base class of all AST nodes",$propdoc:{start:"[AST_Token] The first token of this node",end:"[AST_Token] The last token of this node"},_walk:function(t){return t._visit(this)},walk:function(t){return this._walk(t)},_children_backwards:()=>{}},null),Rn=he("Statement",null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Base class of all statements"}),Fi=he("Debugger",null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Represents a debugger statement"},Rn),nr=he("Directive","value quote",function(e){e&&(this.value=e.value,this.quote=e.quote,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:'Represents a directive, like "use strict";',$propdoc:{value:"[string] The value of this directive as a plain string (it's not an AST_String!)",quote:"[string] the original quote character"}},Rn),$e=he("SimpleStatement","body",function(e){e&&(this.body=e.body,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A statement consisting of an expression, i.e. a = 1 + 2",$propdoc:{body:"[AST_Node] an expression node (should not be instanceof AST_Statement)"},_walk:function(t){return t._visit(this,function(){this.body._walk(t)})},_children_backwards(t){t(this.body)}},Rn);function bo(t,e){const n=t.body;for(var r=0,s=n.length;r<s;r++)n[r]._walk(e)}function Fl(t){var e=this._clone(t);return this.block_scope&&(e.block_scope=this.block_scope.clone()),e}var Sn=he("Block","body block_scope",function(e){e&&(this.body=e.body,this.block_scope=e.block_scope,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A body of statements (usually braced)",$propdoc:{body:"[AST_Statement*] an array of statements",block_scope:"[AST_Scope] the block scope"},_walk:function(t){return t._visit(this,function(){bo(this,t)})},_children_backwards(t){let e=this.body.length;for(;e--;)t(this.body[e])},clone:Fl},Rn),Ze=he("BlockStatement",null,function(e){e&&(this.body=e.body,this.block_scope=e.block_scope,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A block statement"},Sn),Rt=he("EmptyStatement",null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"The empty statement (empty block or simply a semicolon)"},Rn),vo=he("StatementWithBody","body",function(e){e&&(this.body=e.body,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Base class for all statements that contain one nested body: `For`, `ForIn`, `Do`, `While`, `With`",$propdoc:{body:"[AST_Statement] the body; this should always be present, even if it's an AST_EmptyStatement"}},Rn),Qn=he("LabeledStatement","label",function(e){e&&(this.label=e.label,this.body=e.body,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Statement with a label",$propdoc:{label:"[AST_Label] a label definition"},_walk:function(t){return t._visit(this,function(){this.label._walk(t),this.body._walk(t)})},_children_backwards(t){t(this.body),t(this.label)},clone:function(t){var e=this._clone(t);if(t){var n=e.label,r=this.label;e.walk(new Fn(function(s){s instanceof Yr&&s.label&&s.label.thedef===r&&(s.label.thedef=n,n.references.push(s))}))}return e}},vo),jr=he("IterationStatement","block_scope",function(e){e&&(this.block_scope=e.block_scope,this.body=e.body,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Internal class. All loops inherit from it.",$propdoc:{block_scope:"[AST_Scope] the block scope for this iteration statement."},clone:Fl},vo),Ru=he("DWLoop","condition",function(e){e&&(this.condition=e.condition,this.block_scope=e.block_scope,this.body=e.body,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Base class for do/while statements",$propdoc:{condition:"[AST_Node] the loop condition. Should not be instanceof AST_Statement"}},jr),yi=he("Do",null,function(e){e&&(this.condition=e.condition,this.block_scope=e.block_scope,this.body=e.body,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `do` statement",_walk:function(t){return t._visit(this,function(){this.body._walk(t),this.condition._walk(t)})},_children_backwards(t){t(this.condition),t(this.body)}},Ru),Li=he("While",null,function(e){e&&(this.condition=e.condition,this.block_scope=e.block_scope,this.body=e.body,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `while` statement",_walk:function(t){return t._visit(this,function(){this.condition._walk(t),this.body._walk(t)})},_children_backwards(t){t(this.body),t(this.condition)}},Ru),Tn=he("For","init condition step",function(e){e&&(this.init=e.init,this.condition=e.condition,this.step=e.step,this.block_scope=e.block_scope,this.body=e.body,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `for` statement",$propdoc:{init:"[AST_Node?] the `for` initialization code, or null if empty",condition:"[AST_Node?] the `for` termination clause, or null if empty",step:"[AST_Node?] the `for` update clause, or null if empty"},_walk:function(t){return t._visit(this,function(){this.init&&this.init._walk(t),this.condition&&this.condition._walk(t),this.step&&this.step._walk(t),this.body._walk(t)})},_children_backwards(t){t(this.body),this.step&&t(this.step),this.condition&&t(this.condition),this.init&&t(this.init)}},jr),Wn=he("ForIn","init object",function(e){e&&(this.init=e.init,this.object=e.object,this.block_scope=e.block_scope,this.body=e.body,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `for ... in` statement",$propdoc:{init:"[AST_Node] the `for/in` initialization code",object:"[AST_Node] the object that we're looping through"},_walk:function(t){return t._visit(this,function(){this.init._walk(t),this.object._walk(t),this.body._walk(t)})},_children_backwards(t){t(this.body),this.object&&t(this.object),this.init&&t(this.init)}},jr),Eo=he("ForOf","await",function(e){e&&(this.await=e.await,this.init=e.init,this.object=e.object,this.block_scope=e.block_scope,this.body=e.body,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `for ... of` statement"},Wn),_r=he("With","expression",function(e){e&&(this.expression=e.expression,this.body=e.body,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `with` statement",$propdoc:{expression:"[AST_Node] the `with` expression"},_walk:function(t){return t._visit(this,function(){this.expression._walk(t),this.body._walk(t)})},_children_backwards(t){t(this.body),t(this.expression)}},vo),qe=he("Scope","variables uses_with uses_eval parent_scope enclosed cname",function(e){e&&(this.variables=e.variables,this.uses_with=e.uses_with,this.uses_eval=e.uses_eval,this.parent_scope=e.parent_scope,this.enclosed=e.enclosed,this.cname=e.cname,this.body=e.body,this.block_scope=e.block_scope,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Base class for all statements introducing a lexical scope",$propdoc:{variables:"[Map/S] a map of name -> SymbolDef for all variables/functions defined in this scope",uses_with:"[boolean/S] tells whether this scope uses the `with` statement",uses_eval:"[boolean/S] tells whether this scope contains a direct call to the global `eval`",parent_scope:"[AST_Scope?/S] link to the parent scope",enclosed:"[SymbolDef*/S] a list of all symbol definitions that are accessed from this scope or any subscopes",cname:"[integer/S] current index for mangling variables (used internally by the mangler)"},get_defun_scope:function(){for(var t=this;t.is_block_scope();)t=t.parent_scope;return t},clone:function(t,e){var n=this._clone(t);return t&&this.variables&&e&&!this._block_scope?n.figure_out_scope({},{toplevel:e,parent_scope:this.parent_scope}):(this.variables&&(n.variables=new Map(this.variables)),this.enclosed&&(n.enclosed=this.enclosed.slice()),this._block_scope&&(n._block_scope=this._block_scope)),n},pinned:function(){return this.uses_eval||this.uses_with}},Sn),zt=he("Toplevel","globals",function(e){e&&(this.globals=e.globals,this.variables=e.variables,this.uses_with=e.uses_with,this.uses_eval=e.uses_eval,this.parent_scope=e.parent_scope,this.enclosed=e.enclosed,this.cname=e.cname,this.body=e.body,this.block_scope=e.block_scope,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"The toplevel scope",$propdoc:{globals:"[Map/S] a map of name -> SymbolDef for all undeclared names"},wrap_commonjs:function(t){var e=this.body,n="(function(exports){'$ORIG';})(typeof "+t+"=='undefined'?("+t+"={}):"+t+");";return n=ls(n),n=n.transform(new dr(function(r){if(r instanceof nr&&r.value=="$ORIG")return qt.splice(e)})),n},wrap_enclose:function(t){typeof t!="string"&&(t="");var e=t.indexOf(":");e<0&&(e=t.length);var n=this.body;return ls(["(function(",t.slice(0,e),'){"$ORIG"})(',t.slice(e+1),")"].join("")).transform(new dr(function(r){if(r instanceof nr&&r.value=="$ORIG")return qt.splice(n)}))}},qe),ht=he("Expansion","expression",function(e){e&&(this.expression=e.expression,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"An expandible argument, such as ...rest, a splat, such as [1,2,...all], or an expansion in a variable declaration, such as var [first, ...rest] = list",$propdoc:{expression:"[AST_Node] the thing to be expanded"},_walk:function(t){return t._visit(this,function(){this.expression.walk(t)})},_children_backwards(t){t(this.expression)}}),Ge=he("Lambda","name argnames uses_arguments is_generator async",function(e){e&&(this.name=e.name,this.argnames=e.argnames,this.uses_arguments=e.uses_arguments,this.is_generator=e.is_generator,this.async=e.async,this.variables=e.variables,this.uses_with=e.uses_with,this.uses_eval=e.uses_eval,this.parent_scope=e.parent_scope,this.enclosed=e.enclosed,this.cname=e.cname,this.body=e.body,this.block_scope=e.block_scope,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Base class for functions",$propdoc:{name:"[AST_SymbolDeclaration?] the name of this function",argnames:"[AST_SymbolFunarg|AST_Destructuring|AST_Expansion|AST_DefaultAssign*] array of function arguments, destructurings, or expanding arguments",uses_arguments:"[boolean/S] tells whether this function accesses the arguments array",is_generator:"[boolean] is this a generator method",async:"[boolean] is this method async"},args_as_names:function(){for(var t=[],e=0;e<this.argnames.length;e++)this.argnames[e]instanceof Vt?t.push(...this.argnames[e].all_symbols()):t.push(this.argnames[e]);return t},_walk:function(t){return t._visit(this,function(){this.name&&this.name._walk(t);for(var e=this.argnames,n=0,r=e.length;n<r;n++)e[n]._walk(t);bo(this,t)})},_children_backwards(t){let e=this.body.length;for(;e--;)t(this.body[e]);for(e=this.argnames.length;e--;)t(this.argnames[e]);this.name&&t(this.name)},is_braceless(){return this.body[0]instanceof sn&&this.body[0].value},length_property(){let t=0;for(const e of this.argnames)(e instanceof In||e instanceof Vt)&&t++;return t}},qe),Mi=he("Accessor",null,function(e){e&&(this.name=e.name,this.argnames=e.argnames,this.uses_arguments=e.uses_arguments,this.is_generator=e.is_generator,this.async=e.async,this.variables=e.variables,this.uses_with=e.uses_with,this.uses_eval=e.uses_eval,this.parent_scope=e.parent_scope,this.enclosed=e.enclosed,this.cname=e.cname,this.body=e.body,this.block_scope=e.block_scope,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A setter/getter function. The `name` property is always null."},Ge),Ft=he("Function",null,function(e){e&&(this.name=e.name,this.argnames=e.argnames,this.uses_arguments=e.uses_arguments,this.is_generator=e.is_generator,this.async=e.async,this.variables=e.variables,this.uses_with=e.uses_with,this.uses_eval=e.uses_eval,this.parent_scope=e.parent_scope,this.enclosed=e.enclosed,this.cname=e.cname,this.body=e.body,this.block_scope=e.block_scope,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A function expression"},Ge),Yt=he("Arrow",null,function(e){e&&(this.name=e.name,this.argnames=e.argnames,this.uses_arguments=e.uses_arguments,this.is_generator=e.is_generator,this.async=e.async,this.variables=e.variables,this.uses_with=e.uses_with,this.uses_eval=e.uses_eval,this.parent_scope=e.parent_scope,this.enclosed=e.enclosed,this.cname=e.cname,this.body=e.body,this.block_scope=e.block_scope,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"An ES6 Arrow function ((a) => b)"},Ge),en=he("Defun",null,function(e){e&&(this.name=e.name,this.argnames=e.argnames,this.uses_arguments=e.uses_arguments,this.is_generator=e.is_generator,this.async=e.async,this.variables=e.variables,this.uses_with=e.uses_with,this.uses_eval=e.uses_eval,this.parent_scope=e.parent_scope,this.enclosed=e.enclosed,this.cname=e.cname,this.body=e.body,this.block_scope=e.block_scope,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A function definition"},Ge),Vt=he("Destructuring","names is_array",function(e){e&&(this.names=e.names,this.is_array=e.is_array,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A destructuring of several names. Used in destructuring assignment and with destructuring function argument names",$propdoc:{names:"[AST_Node*] Array of properties or elements",is_array:"[Boolean] Whether the destructuring represents an object or array"},_walk:function(t){return t._visit(this,function(){this.names.forEach(function(e){e._walk(t)})})},_children_backwards(t){let e=this.names.length;for(;e--;)t(this.names[e])},all_symbols:function(){var t=[];return Pn(this,e=>{if(e instanceof Nn&&t.push(e),e instanceof Ge)return!0}),t}}),$r=he("PrefixedTemplateString","template_string prefix",function(e){e&&(this.template_string=e.template_string,this.prefix=e.prefix,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A templatestring with a prefix, such as String.raw`foobarbaz`",$propdoc:{template_string:"[AST_TemplateString] The template string",prefix:"[AST_Node] The prefix, which will get called."},_walk:function(t){return t._visit(this,function(){this.prefix._walk(t),this.template_string._walk(t)})},_children_backwards(t){t(this.template_string),t(this.prefix)}}),Xn=he("TemplateString","segments",function(e){e&&(this.segments=e.segments,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A template string literal",$propdoc:{segments:"[AST_Node*] One or more segments, starting with AST_TemplateSegment. AST_Node may follow AST_TemplateSegment, but each AST_Node must be followed by AST_TemplateSegment."},_walk:function(t){return t._visit(this,function(){this.segments.forEach(function(e){e._walk(t)})})},_children_backwards(t){let e=this.segments.length;for(;e--;)t(this.segments[e])}}),gi=he("TemplateSegment","value raw",function(e){e&&(this.value=e.value,this.raw=e.raw,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A segment of a template string literal",$propdoc:{value:"Content of the segment",raw:"Raw source of the segment"}}),fs=he("Jump",null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Base class for “jumps” (for now that's `return`, `throw`, `break` and `continue`)"},Rn),cr=he("Exit","value",function(e){e&&(this.value=e.value,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Base class for “exits” (`return` and `throw`)",$propdoc:{value:"[AST_Node?] the value returned or thrown by this statement; could be null for AST_Return"},_walk:function(t){return t._visit(this,this.value&&function(){this.value._walk(t)})},_children_backwards(t){this.value&&t(this.value)}},fs),sn=he("Return",null,function(e){e&&(this.value=e.value,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `return` statement"},cr),hs=he("Throw",null,function(e){e&&(this.value=e.value,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `throw` statement"},cr),Yr=he("LoopControl","label",function(e){e&&(this.label=e.label,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Base class for loop control statements (`break` and `continue`)",$propdoc:{label:"[AST_LabelRef?] the label, or null if none"},_walk:function(t){return t._visit(this,this.label&&function(){this.label._walk(t)})},_children_backwards(t){this.label&&t(this.label)}},fs),Rr=he("Break",null,function(e){e&&(this.label=e.label,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `break` statement"},Yr),ro=he("Continue",null,function(e){e&&(this.label=e.label,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `continue` statement"},Yr),yr=he("Await","expression",function(e){e&&(this.expression=e.expression,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"An `await` statement",$propdoc:{expression:"[AST_Node] the mandatory expression being awaited"},_walk:function(t){return t._visit(this,function(){this.expression._walk(t)})},_children_backwards(t){t(this.expression)}}),gr=he("Yield","expression is_star",function(e){e&&(this.expression=e.expression,this.is_star=e.is_star,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `yield` statement",$propdoc:{expression:"[AST_Node?] the value returned or thrown by this statement; could be null (representing undefined) but only when is_star is set to false",is_star:"[Boolean] Whether this is a yield or yield* statement"},_walk:function(t){return t._visit(this,this.expression&&function(){this.expression._walk(t)})},_children_backwards(t){this.expression&&t(this.expression)}}),wt=he("If","condition alternative",function(e){e&&(this.condition=e.condition,this.alternative=e.alternative,this.body=e.body,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `if` statement",$propdoc:{condition:"[AST_Node] the `if` condition",alternative:"[AST_Statement?] the `else` part, or null if not present"},_walk:function(t){return t._visit(this,function(){this.condition._walk(t),this.body._walk(t),this.alternative&&this.alternative._walk(t)})},_children_backwards(t){this.alternative&&t(this.alternative),t(this.body),t(this.condition)}},vo),qn=he("Switch","expression",function(e){e&&(this.expression=e.expression,this.body=e.body,this.block_scope=e.block_scope,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `switch` statement",$propdoc:{expression:"[AST_Node] the `switch` “discriminant”"},_walk:function(t){return t._visit(this,function(){this.expression._walk(t),bo(this,t)})},_children_backwards(t){let e=this.body.length;for(;e--;)t(this.body[e]);t(this.expression)}},Sn),Bi=he("SwitchBranch",null,function(e){e&&(this.body=e.body,this.block_scope=e.block_scope,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Base class for `switch` branches"},Sn),So=he("Default",null,function(e){e&&(this.body=e.body,this.block_scope=e.block_scope,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `default` switch branch"},Bi),Jr=he("Case","expression",function(e){e&&(this.expression=e.expression,this.body=e.body,this.block_scope=e.block_scope,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `case` switch branch",$propdoc:{expression:"[AST_Node] the `case` expression"},_walk:function(t){return t._visit(this,function(){this.expression._walk(t),bo(this,t)})},_children_backwards(t){let e=this.body.length;for(;e--;)t(this.body[e]);t(this.expression)}},Bi),br=he("Try","body bcatch bfinally",function(e){e&&(this.body=e.body,this.bcatch=e.bcatch,this.bfinally=e.bfinally,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `try` statement",$propdoc:{body:"[AST_TryBlock] the try block",bcatch:"[AST_Catch?] the catch block, or null if not present",bfinally:"[AST_Finally?] the finally block, or null if not present"},_walk:function(t){return t._visit(this,function(){this.body._walk(t),this.bcatch&&this.bcatch._walk(t),this.bfinally&&this.bfinally._walk(t)})},_children_backwards(t){this.bfinally&&t(this.bfinally),this.bcatch&&t(this.bcatch),t(this.body)}},Rn),wu=he("TryBlock",null,function(e){e&&(this.body=e.body,this.block_scope=e.block_scope,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"The `try` block of a try statement"},Sn),Zr=he("Catch","argname",function(e){e&&(this.argname=e.argname,this.body=e.body,this.block_scope=e.block_scope,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `catch` node; only makes sense as part of a `try` statement",$propdoc:{argname:"[AST_SymbolCatch|AST_Destructuring|AST_Expansion|AST_DefaultAssign] symbol for the exception"},_walk:function(t){return t._visit(this,function(){this.argname&&this.argname._walk(t),bo(this,t)})},_children_backwards(t){let e=this.body.length;for(;e--;)t(this.body[e]);this.argname&&t(this.argname)}},Sn),Wo=he("Finally",null,function(e){e&&(this.body=e.body,this.block_scope=e.block_scope,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `finally` node; only makes sense as part of a `try` statement"},Sn),un=he("Definitions","definitions",function(e){e&&(this.definitions=e.definitions,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Base class for `var` or `const` nodes (variable declarations/initializations)",$propdoc:{definitions:"[AST_VarDef*] array of variable definitions"},_walk:function(t){return t._visit(this,function(){for(var e=this.definitions,n=0,r=e.length;n<r;n++)e[n]._walk(t)})},_children_backwards(t){let e=this.definitions.length;for(;e--;)t(this.definitions[e])}},Rn),wn=he("Var",null,function(e){e&&(this.definitions=e.definitions,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `var` statement"},un),Qr=he("Let",null,function(e){e&&(this.definitions=e.definitions,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `let` statement"},un),ei=he("Const",null,function(e){e&&(this.definitions=e.definitions,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `const` statement"},un),Lt=he("VarDef","name value",function(e){e&&(this.name=e.name,this.value=e.value,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A variable declaration; only appears in a AST_Definitions node",$propdoc:{name:"[AST_Destructuring|AST_SymbolConst|AST_SymbolLet|AST_SymbolVar] name of the variable",value:"[AST_Node?] initializer, or null of there's no initializer"},_walk:function(t){return t._visit(this,function(){this.name._walk(t),this.value&&this.value._walk(t)})},_children_backwards(t){this.value&&t(this.value),t(this.name)},declarations_as_names(){return this.name instanceof Nn?[this]:this.name.all_symbols()}}),ti=he("NameMapping","foreign_name name",function(e){e&&(this.foreign_name=e.foreign_name,this.name=e.name,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"The part of the export/import statement that declare names from a module.",$propdoc:{foreign_name:"[AST_SymbolExportForeign|AST_SymbolImportForeign] The name being exported/imported (as specified in the module)",name:"[AST_SymbolExport|AST_SymbolImport] The name as it is visible to this module."},_walk:function(t){return t._visit(this,function(){this.foreign_name._walk(t),this.name._walk(t)})},_children_backwards(t){t(this.name),t(this.foreign_name)}}),wr=he("Import","imported_name imported_names module_name assert_clause",function(e){e&&(this.imported_name=e.imported_name,this.imported_names=e.imported_names,this.module_name=e.module_name,this.assert_clause=e.assert_clause,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"An `import` statement",$propdoc:{imported_name:"[AST_SymbolImport] The name of the variable holding the module's default export.",imported_names:"[AST_NameMapping*] The names of non-default imported variables",module_name:"[AST_String] String literal describing where this module came from",assert_clause:"[AST_Object?] The import assertion"},_walk:function(t){return t._visit(this,function(){this.imported_name&&this.imported_name._walk(t),this.imported_names&&this.imported_names.forEach(function(e){e._walk(t)}),this.module_name._walk(t)})},_children_backwards(t){if(t(this.module_name),this.imported_names){let e=this.imported_names.length;for(;e--;)t(this.imported_names[e])}this.imported_name&&t(this.imported_name)}}),Ui=he("ImportMeta",null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A reference to import.meta"}),On=he("Export","exported_definition exported_value is_default exported_names module_name assert_clause",function(e){e&&(this.exported_definition=e.exported_definition,this.exported_value=e.exported_value,this.is_default=e.is_default,this.exported_names=e.exported_names,this.module_name=e.module_name,this.assert_clause=e.assert_clause,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"An `export` statement",$propdoc:{exported_definition:"[AST_Defun|AST_Definitions|AST_DefClass?] An exported definition",exported_value:"[AST_Node?] An exported value",exported_names:"[AST_NameMapping*?] List of exported names",module_name:"[AST_String?] Name of the file to load exports from",is_default:"[Boolean] Whether this is the default exported value of this module",assert_clause:"[AST_Object?] The import assertion"},_walk:function(t){return t._visit(this,function(){this.exported_definition&&this.exported_definition._walk(t),this.exported_value&&this.exported_value._walk(t),this.exported_names&&this.exported_names.forEach(function(e){e._walk(t)}),this.module_name&&this.module_name._walk(t)})},_children_backwards(t){if(this.module_name&&t(this.module_name),this.exported_names){let e=this.exported_names.length;for(;e--;)t(this.exported_names[e])}this.exported_value&&t(this.exported_value),this.exported_definition&&t(this.exported_definition)}},Rn),je=he("Call","expression args optional _annotations",function(e){e&&(this.expression=e.expression,this.args=e.args,this.optional=e.optional,this._annotations=e._annotations,this.start=e.start,this.end=e.end,this.initialize()),this.flags=0},{$documentation:"A function call expression",$propdoc:{expression:"[AST_Node] expression to invoke as function",args:"[AST_Node*] array of arguments",optional:"[boolean] whether this is an optional call (IE ?.() )",_annotations:"[number] bitfield containing information about the call"},initialize(){this._annotations==null&&(this._annotations=0)},_walk(t){return t._visit(this,function(){for(var e=this.args,n=0,r=e.length;n<r;n++)e[n]._walk(t);this.expression._walk(t)})},_children_backwards(t){let e=this.args.length;for(;e--;)t(this.args[e]);t(this.expression)}}),rr=he("New",null,function(e){e&&(this.expression=e.expression,this.args=e.args,this.optional=e.optional,this._annotations=e._annotations,this.start=e.start,this.end=e.end,this.initialize()),this.flags=0},{$documentation:"An object instantiation. Derives from a function call since it has exactly the same properties"},je),lt=he("Sequence","expressions",function(e){e&&(this.expressions=e.expressions,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A sequence expression (comma-separated expressions)",$propdoc:{expressions:"[AST_Node*] array of expressions (at least two)"},_walk:function(t){return t._visit(this,function(){this.expressions.forEach(function(e){e._walk(t)})})},_children_backwards(t){let e=this.expressions.length;for(;e--;)t(this.expressions[e])}}),Xe=he("PropAccess","expression property optional",function(e){e&&(this.expression=e.expression,this.property=e.property,this.optional=e.optional,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:'Base class for property access expressions, i.e. `a.foo` or `a["foo"]`',$propdoc:{expression:"[AST_Node] the “container” expression",property:"[AST_Node|string] the property to access. For AST_Dot & AST_DotHash this is always a plain string, while for AST_Sub it's an arbitrary AST_Node",optional:"[boolean] whether this is an optional property access (IE ?.)"}}),Wt=he("Dot","quote",function(e){e&&(this.quote=e.quote,this.expression=e.expression,this.property=e.property,this.optional=e.optional,this._annotations=e._annotations,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A dotted property access expression",$propdoc:{quote:"[string] the original quote character when transformed from AST_Sub"},_walk:function(t){return t._visit(this,function(){this.expression._walk(t)})},_children_backwards(t){t(this.expression)}},Xe),Hr=he("DotHash","",function(e){e&&(this.expression=e.expression,this.property=e.property,this.optional=e.optional,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A dotted property access to a private property",_walk:function(t){return t._visit(this,function(){this.expression._walk(t)})},_children_backwards(t){t(this.expression)}},Xe),An=he("Sub",null,function(e){e&&(this.expression=e.expression,this.property=e.property,this.optional=e.optional,this._annotations=e._annotations,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:'Index-style property access, i.e. `a["foo"]`',_walk:function(t){return t._visit(this,function(){this.expression._walk(t),this.property._walk(t)})},_children_backwards(t){t(this.property),t(this.expression)}},Xe),gn=he("Chain","expression",function(e){e&&(this.expression=e.expression,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A chain expression like a?.b?.(c)?.[d]",$propdoc:{expression:"[AST_Call|AST_Dot|AST_DotHash|AST_Sub] chain element."},_walk:function(t){return t._visit(this,function(){this.expression._walk(t)})},_children_backwards(t){t(this.expression)}}),Xt=he("Unary","operator expression",function(e){e&&(this.operator=e.operator,this.expression=e.expression,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Base class for unary expressions",$propdoc:{operator:"[string] the operator",expression:"[AST_Node] expression that this unary operator applies to"},_walk:function(t){return t._visit(this,function(){this.expression._walk(t)})},_children_backwards(t){t(this.expression)}}),We=he("UnaryPrefix",null,function(e){e&&(this.operator=e.operator,this.expression=e.expression,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Unary prefix expression, i.e. `typeof i` or `++i`"},Xt),Vi=he("UnaryPostfix",null,function(e){e&&(this.operator=e.operator,this.expression=e.expression,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Unary postfix expression, i.e. `i++`"},Xt),ae=he("Binary","operator left right",function(e){e&&(this.operator=e.operator,this.left=e.left,this.right=e.right,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Binary expression, i.e. `a + b`",$propdoc:{left:"[AST_Node] left-hand side expression",operator:"[string] the operator",right:"[AST_Node] right-hand side expression"},_walk:function(t){return t._visit(this,function(){this.left._walk(t),this.right._walk(t)})},_children_backwards(t){t(this.right),t(this.left)}}),tt=he("Conditional","condition consequent alternative",function(e){e&&(this.condition=e.condition,this.consequent=e.consequent,this.alternative=e.alternative,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Conditional expression using the ternary operator, i.e. `a ? b : c`",$propdoc:{condition:"[AST_Node]",consequent:"[AST_Node]",alternative:"[AST_Node]"},_walk:function(t){return t._visit(this,function(){this.condition._walk(t),this.consequent._walk(t),this.alternative._walk(t)})},_children_backwards(t){t(this.alternative),t(this.consequent),t(this.condition)}}),st=he("Assign","logical",function(e){e&&(this.logical=e.logical,this.operator=e.operator,this.left=e.left,this.right=e.right,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"An assignment expression — `a = b + 5`",$propdoc:{logical:"Whether it's a logical assignment"}},ae),Nr=he("DefaultAssign",null,function(e){e&&(this.operator=e.operator,this.left=e.left,this.right=e.right,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A default assignment expression like in `(a = 3) => a`"},ae),St=he("Array","elements",function(e){e&&(this.elements=e.elements,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"An array literal",$propdoc:{elements:"[AST_Node*] array of elements"},_walk:function(t){return t._visit(this,function(){for(var e=this.elements,n=0,r=e.length;n<r;n++)e[n]._walk(t)})},_children_backwards(t){let e=this.elements.length;for(;e--;)t(this.elements[e])}}),Nt=he("Object","properties",function(e){e&&(this.properties=e.properties,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"An object literal",$propdoc:{properties:"[AST_ObjectProperty*] array of properties"},_walk:function(t){return t._visit(this,function(){for(var e=this.properties,n=0,r=e.length;n<r;n++)e[n]._walk(t)})},_children_backwards(t){let e=this.properties.length;for(;e--;)t(this.properties[e])}}),cn=he("ObjectProperty","key value",function(e){e&&(this.key=e.key,this.value=e.value,this.start=e.start,this.end=e.end,this._annotations=e._annotations),this.flags=0},{$documentation:"Base class for literal object properties",$propdoc:{key:"[string|AST_Node] property name. For ObjectKeyVal this is a string. For getters, setters and computed property this is an AST_Node.",value:"[AST_Node] property value. For getters and setters this is an AST_Accessor."},_walk:function(t){return t._visit(this,function(){this.key instanceof Ce&&this.key._walk(t),this.value._walk(t)})},_children_backwards(t){t(this.value),this.key instanceof Ce&&t(this.key)}}),Jt=he("ObjectKeyVal","quote",function(e){e&&(this.quote=e.quote,this.key=e.key,this.value=e.value,this.start=e.start,this.end=e.end,this._annotations=e._annotations),this.flags=0},{$documentation:"A key: value object property",$propdoc:{quote:"[string] the original quote character"},computed_key(){return this.key instanceof Ce}},cn),bi=he("PrivateSetter","static",function(e){e&&(this.static=e.static,this.key=e.key,this.value=e.value,this.start=e.start,this.end=e.end),this.flags=0},{$propdoc:{static:"[boolean] whether this is a static private setter"},$documentation:"A private setter property",computed_key(){return!1}},cn),ni=he("PrivateGetter","static",function(e){e&&(this.static=e.static,this.key=e.key,this.value=e.value,this.start=e.start,this.end=e.end),this.flags=0},{$propdoc:{static:"[boolean] whether this is a static private getter"},$documentation:"A private getter property",computed_key(){return!1}},cn),ri=he("ObjectSetter","quote static",function(e){e&&(this.quote=e.quote,this.static=e.static,this.key=e.key,this.value=e.value,this.start=e.start,this.end=e.end,this._annotations=e._annotations),this.flags=0},{$propdoc:{quote:"[string|undefined] the original quote character, if any",static:"[boolean] whether this is a static setter (classes only)"},$documentation:"An object setter property",computed_key(){return!(this.key instanceof Vn)}},cn),Gr=he("ObjectGetter","quote static",function(e){e&&(this.quote=e.quote,this.static=e.static,this.key=e.key,this.value=e.value,this.start=e.start,this.end=e.end,this._annotations=e._annotations),this.flags=0},{$propdoc:{quote:"[string|undefined] the original quote character, if any",static:"[boolean] whether this is a static getter (classes only)"},$documentation:"An object getter property",computed_key(){return!(this.key instanceof Vn)}},cn),Bn=he("ConciseMethod","quote static is_generator async",function(e){e&&(this.quote=e.quote,this.static=e.static,this.is_generator=e.is_generator,this.async=e.async,this.key=e.key,this.value=e.value,this.start=e.start,this.end=e.end,this._annotations=e._annotations),this.flags=0},{$propdoc:{quote:"[string|undefined] the original quote character, if any",static:"[boolean] is this method static (classes only)",is_generator:"[boolean] is this a generator method",async:"[boolean] is this method async"},$documentation:"An ES6 concise method inside an object or class",computed_key(){return!(this.key instanceof Vn)}},cn),vi=he("PrivateMethod","",function(e){e&&(this.quote=e.quote,this.static=e.static,this.is_generator=e.is_generator,this.async=e.async,this.key=e.key,this.value=e.value,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A private class method inside a class"},Bn),yt=he("Class","name extends properties",function(e){e&&(this.name=e.name,this.extends=e.extends,this.properties=e.properties,this.variables=e.variables,this.uses_with=e.uses_with,this.uses_eval=e.uses_eval,this.parent_scope=e.parent_scope,this.enclosed=e.enclosed,this.cname=e.cname,this.body=e.body,this.block_scope=e.block_scope,this.start=e.start,this.end=e.end),this.flags=0},{$propdoc:{name:"[AST_SymbolClass|AST_SymbolDefClass?] optional class name.",extends:"[AST_Node]? optional parent class",properties:"[AST_ObjectProperty*] array of properties"},$documentation:"An ES6 class",_walk:function(t){return t._visit(this,function(){this.name&&this.name._walk(t),this.extends&&this.extends._walk(t),this.properties.forEach(e=>e._walk(t))})},_children_backwards(t){let e=this.properties.length;for(;e--;)t(this.properties[e]);this.extends&&t(this.extends),this.name&&t(this.name)},visit_nondeferred_class_parts(t){this.extends&&this.extends._walk(t),this.properties.forEach(e=>{if(e instanceof Yn){e._walk(t);return}e.computed_key()&&(t.push(e),e.key._walk(t),t.pop()),(e instanceof Ei||e instanceof lr)&&e.static&&e.value&&(t.push(e),e.value._walk(t),t.pop())})},visit_deferred_class_parts(t){this.properties.forEach(e=>{e instanceof Bn?e.walk(t):e instanceof lr&&!e.static&&e.value&&(t.push(e),e.value._walk(t),t.pop())})},is_self_referential:function(){const t=this.name&&this.name.definition().id;let e=!1,n=!0;return this.visit_nondeferred_class_parts(new Fn((r,s)=>{if(e)return!0;if(r instanceof jn)return e=n;if(r instanceof xe)return e=r.definition().id===t;if(r instanceof Ge&&!(r instanceof Yt)){const l=n;return n=!1,s(),n=l,!0}})),e}},qe),lr=he("ClassProperty","static quote",function(e){e&&(this.static=e.static,this.quote=e.quote,this.key=e.key,this.value=e.value,this.start=e.start,this.end=e.end,this._annotations=e._annotations),this.flags=0},{$documentation:"A class property",$propdoc:{static:"[boolean] whether this is a static key",quote:"[string] which quote is being used"},_walk:function(t){return t._visit(this,function(){this.key instanceof Ce&&this.key._walk(t),this.value instanceof Ce&&this.value._walk(t)})},_children_backwards(t){this.value instanceof Ce&&t(this.value),this.key instanceof Ce&&t(this.key)},computed_key(){return!(this.key instanceof Hi)}},cn),Ei=he("ClassPrivateProperty","",function(e){e&&(this.static=e.static,this.quote=e.quote,this.key=e.key,this.value=e.value,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A class property for a private property"},lr),ii=he("PrivateIn","key value",function(e){e&&(this.key=e.key,this.value=e.value,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"An `in` binop when the key is private, eg #x in this",_walk:function(t){return t._visit(this,function(){this.key._walk(t),this.value._walk(t)})},_children_backwards(t){t(this.value),t(this.key)}}),Kr=he("DefClass",null,function(e){e&&(this.name=e.name,this.extends=e.extends,this.properties=e.properties,this.variables=e.variables,this.uses_with=e.uses_with,this.uses_eval=e.uses_eval,this.parent_scope=e.parent_scope,this.enclosed=e.enclosed,this.cname=e.cname,this.body=e.body,this.block_scope=e.block_scope,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A class definition"},yt),Yn=he("ClassStaticBlock","body block_scope",function(e){this.body=e.body,this.block_scope=e.block_scope,this.start=e.start,this.end=e.end},{$documentation:"A block containing statements to be executed in the context of the class",$propdoc:{body:"[AST_Statement*] an array of statements"},_walk:function(t){return t._visit(this,function(){bo(this,t)})},_children_backwards(t){let e=this.body.length;for(;e--;)t(this.body[e])},clone:Fl,computed_key:()=>!1},qe),Si=he("ClassExpression",null,function(e){e&&(this.name=e.name,this.extends=e.extends,this.properties=e.properties,this.variables=e.variables,this.uses_with=e.uses_with,this.uses_eval=e.uses_eval,this.parent_scope=e.parent_scope,this.enclosed=e.enclosed,this.cname=e.cname,this.body=e.body,this.block_scope=e.block_scope,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A class expression."},yt),pt=he("Symbol","scope name thedef",function(e){e&&(this.scope=e.scope,this.name=e.name,this.thedef=e.thedef,this.start=e.start,this.end=e.end),this.flags=0},{$propdoc:{name:"[string] name of this symbol",scope:"[AST_Scope/S] the current scope (not necessarily the definition scope)",thedef:"[SymbolDef/S] the definition of this symbol"},$documentation:"Base class for all symbols"}),Xo=he("NewTarget",null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A reference to new.target"}),Nn=he("SymbolDeclaration","init",function(e){e&&(this.init=e.init,this.scope=e.scope,this.name=e.name,this.thedef=e.thedef,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A declaration symbol (symbol in var/const, function name or argument, symbol in catch)"},pt),ji=he("SymbolVar",null,function(e){e&&(this.init=e.init,this.scope=e.scope,this.name=e.name,this.thedef=e.thedef,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Symbol defining a variable"},Nn),$i=he("SymbolBlockDeclaration",null,function(e){e&&(this.init=e.init,this.scope=e.scope,this.name=e.name,this.thedef=e.thedef,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Base class for block-scoped declaration symbols"},Nn),io=he("SymbolConst",null,function(e){e&&(this.init=e.init,this.scope=e.scope,this.name=e.name,this.thedef=e.thedef,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A constant declaration"},$i),qo=he("SymbolLet",null,function(e){e&&(this.init=e.init,this.scope=e.scope,this.name=e.name,this.thedef=e.thedef,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A block-scoped `let` declaration"},$i),In=he("SymbolFunarg",null,function(e){e&&(this.init=e.init,this.scope=e.scope,this.name=e.name,this.thedef=e.thedef,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Symbol naming a function argument"},ji),Ti=he("SymbolDefun",null,function(e){e&&(this.init=e.init,this.scope=e.scope,this.name=e.name,this.thedef=e.thedef,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Symbol defining a function"},Nn),Vn=he("SymbolMethod",null,function(e){e&&(this.scope=e.scope,this.name=e.name,this.thedef=e.thedef,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Symbol in an object defining a method"},pt),Hi=he("SymbolClassProperty",null,function(e){e&&(this.scope=e.scope,this.name=e.name,this.thedef=e.thedef,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Symbol for a class property"},pt),oi=he("SymbolLambda",null,function(e){e&&(this.init=e.init,this.scope=e.scope,this.name=e.name,this.thedef=e.thedef,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Symbol naming a function expression"},Nn),Nu=he("SymbolDefClass",null,function(e){e&&(this.init=e.init,this.scope=e.scope,this.name=e.name,this.thedef=e.thedef,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Symbol naming a class's name in a class declaration. Lexically scoped to its containing scope, and accessible within the class."},$i),Iu=he("SymbolClass",null,function(e){e&&(this.init=e.init,this.scope=e.scope,this.name=e.name,this.thedef=e.thedef,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Symbol naming a class's name. Lexically scoped to the class."},Nn),zr=he("SymbolCatch",null,function(e){e&&(this.init=e.init,this.scope=e.scope,this.name=e.name,this.thedef=e.thedef,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Symbol naming the exception in catch"},$i),Yo=he("SymbolImport",null,function(e){e&&(this.init=e.init,this.scope=e.scope,this.name=e.name,this.thedef=e.thedef,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Symbol referring to an imported name"},$i),To=he("SymbolImportForeign",null,function(e){e&&(this.scope=e.scope,this.name=e.name,this.thedef=e.thedef,this.quote=e.quote,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A symbol imported from a module, but it is defined in the other module, and its real name is irrelevant for this module's purposes"},pt),ps=he("Label","references",function(e){e&&(this.references=e.references,this.scope=e.scope,this.name=e.name,this.thedef=e.thedef,this.start=e.start,this.end=e.end,this.initialize()),this.flags=0},{$documentation:"Symbol naming a label (declaration)",$propdoc:{references:"[AST_LoopControl*] a list of nodes referring to this label"},initialize:function(){this.references=[],this.thedef=this}},pt),xe=he("SymbolRef",null,function(e){e&&(this.scope=e.scope,this.name=e.name,this.thedef=e.thedef,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Reference to some symbol (not definition/declaration)"},pt),Ao=he("SymbolExport",null,function(e){e&&(this.scope=e.scope,this.name=e.name,this.thedef=e.thedef,this.quote=e.quote,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Symbol referring to a name to export"},xe),Ai=he("SymbolExportForeign",null,function(e){e&&(this.scope=e.scope,this.name=e.name,this.thedef=e.thedef,this.quote=e.quote,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A symbol exported from this module, but it is used in the other module, and its real name is irrelevant for this module's purposes"},pt),Ll=he("LabelRef",null,function(e){e&&(this.scope=e.scope,this.name=e.name,this.thedef=e.thedef,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Reference to a label symbol"},pt),ds=he("SymbolPrivateProperty",null,function(e){e&&(this.scope=e.scope,this.name=e.name,this.thedef=e.thedef,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A symbol that refers to a private property"},pt),jn=he("This",null,function(e){e&&(this.scope=e.scope,this.name=e.name,this.thedef=e.thedef,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"The `this` symbol"},pt),Jo=he("Super",null,function(e){e&&(this.scope=e.scope,this.name=e.name,this.thedef=e.thedef,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"The `super` symbol"},jn),Tt=he("Constant",null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Base class for all constants",getValue:function(){return this.value}}),dt=he("String","value quote",function(e){e&&(this.value=e.value,this.quote=e.quote,this.start=e.start,this.end=e.end,this._annotations=e._annotations),this.flags=0},{$documentation:"A string literal",$propdoc:{value:"[string] the contents of this string",quote:"[string] the original quote character"}},Tt),Qe=he("Number","value raw",function(e){e&&(this.value=e.value,this.raw=e.raw,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A number literal",$propdoc:{value:"[number] the numeric value",raw:"[string] numeric value as string"}},Tt),ai=he("BigInt","value",function(e){e&&(this.value=e.value,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A big int literal",$propdoc:{value:"[string] big int value"}},Tt),fr=he("RegExp","value",function(e){e&&(this.value=e.value,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A regexp literal",$propdoc:{value:"[RegExp] the actual regexp"}},Tt),oo=he("Atom",null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Base class for atoms"},Tt),hr=he("Null",null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"The `null` atom",value:null},oo),ms=he("NaN",null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"The impossible value",value:NaN},oo),tn=he("Undefined",null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"The `undefined` value",value:function(){}()},oo),Ir=he("Hole",null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A hole in an array",value:function(){}()},oo),ao=he("Infinity",null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"The `Infinity` value",value:1/0},oo),Pu=he("Boolean",null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Base class for booleans"},oo),Gi=he("False",null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"The `false` atom",value:!1},Pu),vr=he("True",null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"The `true` atom",value:!0},Pu);function Pn(t,e,n=[t]){const r=n.push.bind(n);for(;n.length;){const s=n.pop(),l=e(s,n);if(l){if(l===pr)return!0;continue}s._children_backwards(r)}return!1}function sd(t,e,n){const r=[t],s=r.push.bind(r),l=n?n.slice():[],h=[];let m;const v={parent:(S=0)=>S===-1?m:n&&S>=l.length?(S-=l.length,n[n.length-(S+1)]):l[l.length-(1+S)]};for(;r.length;){for(m=r.pop();h.length&&r.length==h[h.length-1];)l.pop(),h.pop();const S=e(m,v);if(S){if(S===pr)return!0;continue}const C=r.length;m._children_backwards(s),r.length>C&&(l.push(m),h.push(C-1))}return!1}const pr=Symbol("abort walk");class Fn{constructor(e){this.visit=e,this.stack=[],this.directives=Object.create(null)}_visit(e,n){this.push(e);var r=this.visit(e,n?function(){n.call(e)}:mr);return!r&&n&&n.call(e),this.pop(),r}parent(e){return this.stack[this.stack.length-2-(e||0)]}push(e){e instanceof Ge?this.directives=Object.create(this.directives):e instanceof nr&&!this.directives[e.value]?this.directives[e.value]=e:e instanceof yt&&(this.directives=Object.create(this.directives),this.directives["use strict"]||(this.directives["use strict"]=e)),this.stack.push(e)}pop(){var e=this.stack.pop();(e instanceof Ge||e instanceof yt)&&(this.directives=Object.getPrototypeOf(this.directives))}self(){return this.stack[this.stack.length-1]}find_parent(e){for(var n=this.stack,r=n.length;--r>=0;){var s=n[r];if(s instanceof e)return s}}find_scope(){for(var e=this.stack,n=e.length;--n>=0;){const r=e[n];if(r instanceof zt||r instanceof Ge)return r;if(r.block_scope)return r.block_scope}}has_directive(e){var n=this.directives[e];if(n)return n;var r=this.stack[this.stack.length-1];if(r instanceof qe&&r.body)for(var s=0;s<r.body.length;++s){var l=r.body[s];if(!(l instanceof nr))break;if(l.value==e)return l}}loopcontrol_target(e){var n=this.stack;if(e.label)for(var r=n.length;--r>=0;){var s=n[r];if(s instanceof Qn&&s.label.name==e.label.name)return s.body}else for(var r=n.length;--r>=0;){var s=n[r];if(s instanceof jr||e instanceof Rr&&s instanceof qn)return s}}}class dr extends Fn{constructor(e,n){super(),this.before=e,this.after=n}}const Ml=1,Bl=2,xo=4,_s=8,ys=16;function mt(t,e){t.DEFMETHOD("transform",function(n,r){let s;if(n.push(this),n.before&&(s=n.before(this,e,r)),s===void 0&&(s=this,e(s,n),n.after)){const l=n.after(s,r);l!==void 0&&(s=l)}return n.pop(),s})}mt(Ce,mr),mt(Qn,function(t,e){t.label=t.label.transform(e),t.body=t.body.transform(e)}),mt($e,function(t,e){t.body=t.body.transform(e)}),mt(Sn,function(t,e){t.body=qt(t.body,e)}),mt(yi,function(t,e){t.body=t.body.transform(e),t.condition=t.condition.transform(e)}),mt(Li,function(t,e){t.condition=t.condition.transform(e),t.body=t.body.transform(e)}),mt(Tn,function(t,e){t.init&&(t.init=t.init.transform(e)),t.condition&&(t.condition=t.condition.transform(e)),t.step&&(t.step=t.step.transform(e)),t.body=t.body.transform(e)}),mt(Wn,function(t,e){t.init=t.init.transform(e),t.object=t.object.transform(e),t.body=t.body.transform(e)}),mt(_r,function(t,e){t.expression=t.expression.transform(e),t.body=t.body.transform(e)}),mt(cr,function(t,e){t.value&&(t.value=t.value.transform(e))}),mt(Yr,function(t,e){t.label&&(t.label=t.label.transform(e))}),mt(wt,function(t,e){t.condition=t.condition.transform(e),t.body=t.body.transform(e),t.alternative&&(t.alternative=t.alternative.transform(e))}),mt(qn,function(t,e){t.expression=t.expression.transform(e),t.body=qt(t.body,e)}),mt(Jr,function(t,e){t.expression=t.expression.transform(e),t.body=qt(t.body,e)}),mt(br,function(t,e){t.body=t.body.transform(e),t.bcatch&&(t.bcatch=t.bcatch.transform(e)),t.bfinally&&(t.bfinally=t.bfinally.transform(e))}),mt(Zr,function(t,e){t.argname&&(t.argname=t.argname.transform(e)),t.body=qt(t.body,e)}),mt(un,function(t,e){t.definitions=qt(t.definitions,e)}),mt(Lt,function(t,e){t.name=t.name.transform(e),t.value&&(t.value=t.value.transform(e))}),mt(Vt,function(t,e){t.names=qt(t.names,e)}),mt(Ge,function(t,e){t.name&&(t.name=t.name.transform(e)),t.argnames=qt(t.argnames,e,!1),t.body instanceof Ce?t.body=t.body.transform(e):t.body=qt(t.body,e)}),mt(je,function(t,e){t.expression=t.expression.transform(e),t.args=qt(t.args,e,!1)}),mt(lt,function(t,e){const n=qt(t.expressions,e);t.expressions=n.length?n:[new Qe({value:0})]}),mt(Xe,function(t,e){t.expression=t.expression.transform(e)}),mt(An,function(t,e){t.expression=t.expression.transform(e),t.property=t.property.transform(e)}),mt(gn,function(t,e){t.expression=t.expression.transform(e)}),mt(gr,function(t,e){t.expression&&(t.expression=t.expression.transform(e))}),mt(yr,function(t,e){t.expression=t.expression.transform(e)}),mt(Xt,function(t,e){t.expression=t.expression.transform(e)}),mt(ae,function(t,e){t.left=t.left.transform(e),t.right=t.right.transform(e)}),mt(ii,function(t,e){t.key=t.key.transform(e),t.value=t.value.transform(e)}),mt(tt,function(t,e){t.condition=t.condition.transform(e),t.consequent=t.consequent.transform(e),t.alternative=t.alternative.transform(e)}),mt(St,function(t,e){t.elements=qt(t.elements,e)}),mt(Nt,function(t,e){t.properties=qt(t.properties,e)}),mt(cn,function(t,e){t.key instanceof Ce&&(t.key=t.key.transform(e)),t.value&&(t.value=t.value.transform(e))}),mt(yt,function(t,e){t.name&&(t.name=t.name.transform(e)),t.extends&&(t.extends=t.extends.transform(e)),t.properties=qt(t.properties,e)}),mt(Yn,function(t,e){t.body=qt(t.body,e)}),mt(ht,function(t,e){t.expression=t.expression.transform(e)}),mt(ti,function(t,e){t.foreign_name=t.foreign_name.transform(e),t.name=t.name.transform(e)}),mt(wr,function(t,e){t.imported_name&&(t.imported_name=t.imported_name.transform(e)),t.imported_names&&qt(t.imported_names,e),t.module_name=t.module_name.transform(e)}),mt(On,function(t,e){t.exported_definition&&(t.exported_definition=t.exported_definition.transform(e)),t.exported_value&&(t.exported_value=t.exported_value.transform(e)),t.exported_names&&qt(t.exported_names,e),t.module_name&&(t.module_name=t.module_name.transform(e))}),mt(Xn,function(t,e){t.segments=qt(t.segments,e)}),mt($r,function(t,e){t.prefix=t.prefix.transform(e),t.template_string=t.template_string.transform(e)}),function(){var t=function(b){for(var y=0;y<b.length;y++)if(b[y]instanceof Rn&&b[y].body instanceof dt)b[y]=new nr({start:b[y].start,end:b[y].end,value:b[y].body.value});else return b;return b};const e=b=>b&&b.length>0?new Nt({start:s(b),end:l(b),properties:b.map(y=>new Jt({start:s(y),end:l(y),key:y.key.name||y.key.value,value:m(y.value)}))}):null;var n={Program:function(b){return new zt({start:s(b),end:l(b),body:t(b.body.map(m))})},ArrayPattern:function(b){return new Vt({start:s(b),end:l(b),names:b.elements.map(function(y){return y===null?new Ir:m(y)}),is_array:!0})},ObjectPattern:function(b){return new Vt({start:s(b),end:l(b),names:b.properties.map(m),is_array:!1})},AssignmentPattern:function(b){return new Nr({start:s(b),end:l(b),left:m(b.left),operator:"=",right:m(b.right)})},SpreadElement:function(b){return new ht({start:s(b),end:l(b),expression:m(b.argument)})},RestElement:function(b){return new ht({start:s(b),end:l(b),expression:m(b.argument)})},TemplateElement:function(b){return new gi({start:s(b),end:l(b),value:b.value.cooked,raw:b.value.raw})},TemplateLiteral:function(b){for(var y=[],g=0;g<b.quasis.length;g++)y.push(m(b.quasis[g])),b.expressions[g]&&y.push(m(b.expressions[g]));return new Xn({start:s(b),end:l(b),segments:y})},TaggedTemplateExpression:function(b){return new $r({start:s(b),end:l(b),template_string:m(b.quasi),prefix:m(b.tag)})},FunctionDeclaration:function(b){return new en({start:s(b),end:l(b),name:m(b.id),argnames:b.params.map(m),is_generator:b.generator,async:b.async,body:t(m(b.body).body)})},FunctionExpression:function(b){return new Ft({start:s(b),end:l(b),name:m(b.id),argnames:b.params.map(m),is_generator:b.generator,async:b.async,body:t(m(b.body).body)})},ArrowFunctionExpression:function(b){const y=b.body.type==="BlockStatement"?m(b.body).body:[P(sn,{},{value:m(b.body)})];return new Yt({start:s(b),end:l(b),argnames:b.params.map(m),body:y,async:b.async})},ExpressionStatement:function(b){return new $e({start:s(b),end:l(b),body:m(b.expression)})},TryStatement:function(b){var y=b.handlers||[b.handler];if(y.length>1||b.guardedHandlers&&b.guardedHandlers.length)throw new Error("Multiple catch clauses are not supported.");return new br({start:s(b),end:l(b),body:new wu(m(b.block)),bcatch:m(y[0]),bfinally:b.finalizer?new Wo(m(b.finalizer)):null})},Property:function(b){var y=b.key,g={start:s(y||b.value),end:l(b.value),key:y.type=="Identifier"?y.name:y.value,value:m(b.value)};if(b.computed&&(g.key=m(b.key)),b.method)return g.is_generator=b.value.generator,g.async=b.value.async,b.computed?g.key=m(b.key):g.key=new Vn({name:g.key}),new Bn(g);if(b.kind=="init")return y.type!="Identifier"&&y.type!="Literal"&&(g.key=m(y)),new Jt(g);if((typeof g.key=="string"||typeof g.key=="number")&&(g.key=new Vn({name:g.key})),g.value=new Mi(g.value),b.kind=="get")return new Gr(g);if(b.kind=="set")return new ri(g);if(b.kind=="method")return g.async=b.value.async,g.is_generator=b.value.generator,g.quote=b.computed?'"':null,new Bn(g)},MethodDefinition:function(b){const y=b.key.type==="PrivateIdentifier",g=b.computed?m(b.key):new Vn({name:b.key.name||b.key.value});var O={start:s(b),end:l(b),key:g,value:m(b.value),static:b.static};return b.kind=="get"?new(y?ni:Gr)(O):b.kind=="set"?new(y?bi:ri)(O):(O.is_generator=b.value.generator,O.async=b.value.async,new(y?vi:Bn)(O))},FieldDefinition:function(b){let y;if(b.computed)y=m(b.key);else{if(b.key.type!=="Identifier")throw new Error("Non-Identifier key in FieldDefinition");y=m(b.key)}return new lr({start:s(b),end:l(b),key:y,value:m(b.value),static:b.static})},PropertyDefinition:function(b){let y;if(b.computed)y=m(b.key);else{if(b.key.type==="PrivateIdentifier")return new Ei({start:s(b),end:l(b),key:m(b.key),value:m(b.value),static:b.static});if(b.key.type!=="Identifier")throw new Error("Non-Identifier key in PropertyDefinition");y=m(b.key)}return new lr({start:s(b),end:l(b),key:y,value:m(b.value),static:b.static})},PrivateIdentifier:function(b){return new ds({start:s(b),end:l(b),name:b.name})},StaticBlock:function(b){return new Yn({start:s(b),end:l(b),body:b.body.map(m)})},ArrayExpression:function(b){return new St({start:s(b),end:l(b),elements:b.elements.map(function(y){return y===null?new Ir:m(y)})})},ObjectExpression:function(b){return new Nt({start:s(b),end:l(b),properties:b.properties.map(function(y){return y.type==="SpreadElement"||(y.type="Property"),m(y)})})},SequenceExpression:function(b){return new lt({start:s(b),end:l(b),expressions:b.expressions.map(m)})},MemberExpression:function(b){return b.property.type==="PrivateIdentifier"?new Hr({start:s(b),end:l(b),property:b.property.name,expression:m(b.object),optional:b.optional||!1}):new(b.computed?An:Wt)({start:s(b),end:l(b),property:b.computed?m(b.property):b.property.name,expression:m(b.object),optional:b.optional||!1})},ChainExpression:function(b){return new gn({start:s(b),end:l(b),expression:m(b.expression)})},SwitchCase:function(b){return new(b.test?Jr:So)({start:s(b),end:l(b),expression:m(b.test),body:b.consequent.map(m)})},VariableDeclaration:function(b){return new(b.kind==="const"?ei:b.kind==="let"?Qr:wn)({start:s(b),end:l(b),definitions:b.declarations.map(m)})},ImportDeclaration:function(b){var y=null,g=null;return b.specifiers.forEach(function(O){O.type==="ImportSpecifier"||O.type==="ImportNamespaceSpecifier"?(g||(g=[]),g.push(m(O))):O.type==="ImportDefaultSpecifier"&&(y=m(O))}),new wr({start:s(b),end:l(b),imported_name:y,imported_names:g,module_name:m(b.source),assert_clause:e(b.assertions)})},ImportSpecifier:function(b){return new ti({start:s(b),end:l(b),foreign_name:m(b.imported),name:m(b.local)})},ImportDefaultSpecifier:function(b){return m(b.local)},ImportNamespaceSpecifier:function(b){return new ti({start:s(b),end:l(b),foreign_name:new To({name:"*"}),name:m(b.local)})},ExportAllDeclaration:function(b){var y=b.exported==null?new Ai({name:"*"}):m(b.exported);return new On({start:s(b),end:l(b),exported_names:[new ti({name:new Ai({name:"*"}),foreign_name:y})],module_name:m(b.source),assert_clause:e(b.assertions)})},ExportNamedDeclaration:function(b){return new On({start:s(b),end:l(b),exported_definition:m(b.declaration),exported_names:b.specifiers&&b.specifiers.length?b.specifiers.map(m):null,module_name:m(b.source),assert_clause:e(b.assertions)})},ExportDefaultDeclaration:function(b){return new On({start:s(b),end:l(b),exported_value:m(b.declaration),is_default:!0})},ExportSpecifier:function(b){return new ti({foreign_name:m(b.exported),name:m(b.local)})},Literal:function(b){var y=b.value,g={start:s(b),end:l(b)},O=b.regex;if(O&&O.pattern)return g.value={source:O.pattern,flags:O.flags},new fr(g);if(O){const D=b.raw||y,H=D.match(/^\/(.*)\/(\w*)$/);if(!H)throw new Error("Invalid regex source "+D);const[X,ee,z]=H;return g.value={source:ee,flags:z},new fr(g)}if(y===null)return new hr(g);switch(typeof y){case"string":g.quote='"';var R=h[h.length-2];return R.type=="ImportSpecifier"?(g.name=y,new To(g)):R.type=="ExportSpecifier"?(g.name=y,b==R.exported?new Ai(g):new Ao(g)):R.type=="ExportAllDeclaration"&&b==R.exported?(g.name=y,new Ai(g)):(g.value=y,new dt(g));case"number":return g.value=y,g.raw=b.raw||y.toString(),new Qe(g);case"boolean":return new(y?vr:Gi)(g)}},MetaProperty:function(b){if(b.meta.name==="new"&&b.property.name==="target")return new Xo({start:s(b),end:l(b)});if(b.meta.name==="import"&&b.property.name==="meta")return new Ui({start:s(b),end:l(b)})},Identifier:function(b){var y=h[h.length-2];return new(y.type=="LabeledStatement"?ps:y.type=="VariableDeclarator"&&y.id===b?y.kind=="const"?io:y.kind=="let"?qo:ji:/Import.*Specifier/.test(y.type)?y.local===b?Yo:To:y.type=="ExportSpecifier"?y.local===b?Ao:Ai:y.type=="FunctionExpression"?y.id===b?oi:In:y.type=="FunctionDeclaration"?y.id===b?Ti:In:y.type=="ArrowFunctionExpression"?y.params.includes(b)?In:xe:y.type=="ClassExpression"?y.id===b?Iu:xe:y.type=="Property"?y.key===b&&y.computed||y.value===b?xe:Vn:y.type=="PropertyDefinition"||y.type==="FieldDefinition"?y.key===b&&y.computed||y.value===b?xe:Hi:y.type=="ClassDeclaration"?y.id===b?Nu:xe:y.type=="MethodDefinition"?y.computed?xe:Vn:y.type=="CatchClause"?zr:y.type=="BreakStatement"||y.type=="ContinueStatement"?Ll:xe)({start:s(b),end:l(b),name:b.name})},BigIntLiteral(b){return new ai({start:s(b),end:l(b),value:b.value})},EmptyStatement:function(b){return new Rt({start:s(b),end:l(b)})},BlockStatement:function(b){return new Ze({start:s(b),end:l(b),body:b.body.map(m)})},IfStatement:function(b){return new wt({start:s(b),end:l(b),condition:m(b.test),body:m(b.consequent),alternative:m(b.alternate)})},LabeledStatement:function(b){return new Qn({start:s(b),end:l(b),label:m(b.label),body:m(b.body)})},BreakStatement:function(b){return new Rr({start:s(b),end:l(b),label:m(b.label)})},ContinueStatement:function(b){return new ro({start:s(b),end:l(b),label:m(b.label)})},WithStatement:function(b){return new _r({start:s(b),end:l(b),expression:m(b.object),body:m(b.body)})},SwitchStatement:function(b){return new qn({start:s(b),end:l(b),expression:m(b.discriminant),body:b.cases.map(m)})},ReturnStatement:function(b){return new sn({start:s(b),end:l(b),value:m(b.argument)})},ThrowStatement:function(b){return new hs({start:s(b),end:l(b),value:m(b.argument)})},WhileStatement:function(b){return new Li({start:s(b),end:l(b),condition:m(b.test),body:m(b.body)})},DoWhileStatement:function(b){return new yi({start:s(b),end:l(b),condition:m(b.test),body:m(b.body)})},ForStatement:function(b){return new Tn({start:s(b),end:l(b),init:m(b.init),condition:m(b.test),step:m(b.update),body:m(b.body)})},ForInStatement:function(b){return new Wn({start:s(b),end:l(b),init:m(b.left),object:m(b.right),body:m(b.body)})},ForOfStatement:function(b){return new Eo({start:s(b),end:l(b),init:m(b.left),object:m(b.right),body:m(b.body),await:b.await})},AwaitExpression:function(b){return new yr({start:s(b),end:l(b),expression:m(b.argument)})},YieldExpression:function(b){return new gr({start:s(b),end:l(b),expression:m(b.argument),is_star:b.delegate})},DebuggerStatement:function(b){return new Fi({start:s(b),end:l(b)})},VariableDeclarator:function(b){return new Lt({start:s(b),end:l(b),name:m(b.id),value:m(b.init)})},CatchClause:function(b){return new Zr({start:s(b),end:l(b),argname:m(b.param),body:m(b.body).body})},ThisExpression:function(b){return new jn({start:s(b),end:l(b)})},Super:function(b){return new Jo({start:s(b),end:l(b)})},BinaryExpression:function(b){return b.left.type==="PrivateIdentifier"?new ii({start:s(b),end:l(b),key:new ds({start:s(b.left),end:l(b.left),name:b.left.name}),value:m(b.right)}):new ae({start:s(b),end:l(b),operator:b.operator,left:m(b.left),right:m(b.right)})},LogicalExpression:function(b){return new ae({start:s(b),end:l(b),operator:b.operator,left:m(b.left),right:m(b.right)})},AssignmentExpression:function(b){return new st({start:s(b),end:l(b),operator:b.operator,left:m(b.left),right:m(b.right)})},ConditionalExpression:function(b){return new tt({start:s(b),end:l(b),condition:m(b.test),consequent:m(b.consequent),alternative:m(b.alternate)})},NewExpression:function(b){return new rr({start:s(b),end:l(b),expression:m(b.callee),args:b.arguments.map(m)})},CallExpression:function(b){return new je({start:s(b),end:l(b),expression:m(b.callee),optional:b.optional,args:b.arguments.map(m)})}};n.UpdateExpression=n.UnaryExpression=function(y){var g="prefix"in y?y.prefix:y.type=="UnaryExpression";return new(g?We:Vi)({start:s(y),end:l(y),operator:y.operator,expression:m(y.argument)})},n.ClassDeclaration=n.ClassExpression=function(y){return new(y.type==="ClassDeclaration"?Kr:Si)({start:s(y),end:l(y),name:m(y.id),extends:m(y.superClass),properties:y.body.body.map(m)})},S(Rt,function(){return{type:"EmptyStatement"}}),S(Ze,function(y){return{type:"BlockStatement",body:y.body.map(T)}}),S(wt,function(y){return{type:"IfStatement",test:T(y.condition),consequent:T(y.body),alternate:T(y.alternative)}}),S(Qn,function(y){return{type:"LabeledStatement",label:T(y.label),body:T(y.body)}}),S(Rr,function(y){return{type:"BreakStatement",label:T(y.label)}}),S(ro,function(y){return{type:"ContinueStatement",label:T(y.label)}}),S(_r,function(y){return{type:"WithStatement",object:T(y.expression),body:T(y.body)}}),S(qn,function(y){return{type:"SwitchStatement",discriminant:T(y.expression),cases:y.body.map(T)}}),S(sn,function(y){return{type:"ReturnStatement",argument:T(y.value)}}),S(hs,function(y){return{type:"ThrowStatement",argument:T(y.value)}}),S(Li,function(y){return{type:"WhileStatement",test:T(y.condition),body:T(y.body)}}),S(yi,function(y){return{type:"DoWhileStatement",test:T(y.condition),body:T(y.body)}}),S(Tn,function(y){return{type:"ForStatement",init:T(y.init),test:T(y.condition),update:T(y.step),body:T(y.body)}}),S(Wn,function(y){return{type:"ForInStatement",left:T(y.init),right:T(y.object),body:T(y.body)}}),S(Eo,function(y){return{type:"ForOfStatement",left:T(y.init),right:T(y.object),body:T(y.body),await:y.await}}),S(yr,function(y){return{type:"AwaitExpression",argument:T(y.expression)}}),S(gr,function(y){return{type:"YieldExpression",argument:T(y.expression),delegate:y.is_star}}),S(Fi,function(){return{type:"DebuggerStatement"}}),S(Lt,function(y){return{type:"VariableDeclarator",id:T(y.name),init:T(y.value)}}),S(Zr,function(y){return{type:"CatchClause",param:T(y.argname),body:B(y)}}),S(jn,function(){return{type:"ThisExpression"}}),S(Jo,function(){return{type:"Super"}}),S(ae,function(y){return{type:"BinaryExpression",operator:y.operator,left:T(y.left),right:T(y.right)}}),S(ae,function(y){return{type:"LogicalExpression",operator:y.operator,left:T(y.left),right:T(y.right)}}),S(st,function(y){return{type:"AssignmentExpression",operator:y.operator,left:T(y.left),right:T(y.right)}}),S(tt,function(y){return{type:"ConditionalExpression",test:T(y.condition),consequent:T(y.consequent),alternate:T(y.alternative)}}),S(rr,function(y){return{type:"NewExpression",callee:T(y.expression),arguments:y.args.map(T)}}),S(je,function(y){return{type:"CallExpression",callee:T(y.expression),optional:y.optional,arguments:y.args.map(T)}}),S(zt,function(y){return L("Program",y)}),S(ht,function(y){return{type:I()?"RestElement":"SpreadElement",argument:T(y.expression)}}),S($r,function(y){return{type:"TaggedTemplateExpression",tag:T(y.prefix),quasi:T(y.template_string)}}),S(Xn,function(y){for(var g=[],O=[],R=0;R<y.segments.length;R++)R%2!==0?O.push(T(y.segments[R])):g.push({type:"TemplateElement",value:{raw:y.segments[R].raw,cooked:y.segments[R].value},tail:R===y.segments.length-1});return{type:"TemplateLiteral",quasis:g,expressions:O}}),S(en,function(y){return{type:"FunctionDeclaration",id:T(y.name),params:y.argnames.map(T),generator:y.is_generator,async:y.async,body:L("BlockStatement",y)}}),S(Ft,function(y,g){var O=g.is_generator!==void 0?g.is_generator:y.is_generator;return{type:"FunctionExpression",id:T(y.name),params:y.argnames.map(T),generator:O,async:y.async,body:L("BlockStatement",y)}}),S(Yt,function(y){var g={type:"BlockStatement",body:y.body.map(T)};return{type:"ArrowFunctionExpression",params:y.argnames.map(T),async:y.async,body:g}}),S(Vt,function(y){return y.is_array?{type:"ArrayPattern",elements:y.names.map(T)}:{type:"ObjectPattern",properties:y.names.map(T)}}),S(nr,function(y){return{type:"ExpressionStatement",expression:{type:"Literal",value:y.value,raw:y.print_to_string()},directive:y.value}}),S($e,function(y){return{type:"ExpressionStatement",expression:T(y.body)}}),S(Bi,function(y){return{type:"SwitchCase",test:T(y.expression),consequent:y.body.map(T)}}),S(br,function(y){return{type:"TryStatement",block:B(y.body),handler:T(y.bcatch),guardedHandlers:[],finalizer:T(y.bfinally)}}),S(Zr,function(y){return{type:"CatchClause",param:T(y.argname),guard:null,body:B(y)}}),S(un,function(y){return{type:"VariableDeclaration",kind:y instanceof ei?"const":y instanceof Qr?"let":"var",declarations:y.definitions.map(T)}});const r=b=>{const y=[];if(b)for(const{key:g,value:O}of b.properties){const R=Cu(g)?{type:"Identifier",name:g}:{type:"Literal",value:g,raw:JSON.stringify(g)};y.push({type:"ImportAttribute",key:R,value:T(O)})}return y};S(On,function(y){if(y.exported_names){var g=y.exported_names[0],O=g.name;if(O.name==="*"&&!O.quote){var R=g.foreign_name,D=R.name==="*"&&!R.quote?null:T(R);return{type:"ExportAllDeclaration",source:T(y.module_name),exported:D,assertions:r(y.assert_clause)}}return{type:"ExportNamedDeclaration",specifiers:y.exported_names.map(function(H){return{type:"ExportSpecifier",exported:T(H.foreign_name),local:T(H.name)}}),declaration:T(y.exported_definition),source:T(y.module_name),assertions:r(y.assert_clause)}}return{type:y.is_default?"ExportDefaultDeclaration":"ExportNamedDeclaration",declaration:T(y.exported_value||y.exported_definition)}}),S(wr,function(y){var g=[];if(y.imported_name&&g.push({type:"ImportDefaultSpecifier",local:T(y.imported_name)}),y.imported_names){var O=y.imported_names[0].foreign_name;O.name==="*"&&!O.quote?g.push({type:"ImportNamespaceSpecifier",local:T(y.imported_names[0].name)}):y.imported_names.forEach(function(R){g.push({type:"ImportSpecifier",local:T(R.name),imported:T(R.foreign_name)})})}return{type:"ImportDeclaration",specifiers:g,source:T(y.module_name),assertions:r(y.assert_clause)}}),S(Ui,function(){return{type:"MetaProperty",meta:{type:"Identifier",name:"import"},property:{type:"Identifier",name:"meta"}}}),S(lt,function(y){return{type:"SequenceExpression",expressions:y.expressions.map(T)}}),S(Hr,function(y){return{type:"MemberExpression",object:T(y.expression),computed:!1,property:{type:"PrivateIdentifier",name:y.property},optional:y.optional}}),S(Xe,function(y){var g=y instanceof An;return{type:"MemberExpression",object:T(y.expression),computed:g,property:g?T(y.property):{type:"Identifier",name:y.property},optional:y.optional}}),S(gn,function(y){return{type:"ChainExpression",expression:T(y.expression)}}),S(Xt,function(y){return{type:y.operator=="++"||y.operator=="--"?"UpdateExpression":"UnaryExpression",operator:y.operator,prefix:y instanceof We,argument:T(y.expression)}}),S(ae,function(y){return y.operator=="="&&I()?{type:"AssignmentPattern",left:T(y.left),right:T(y.right)}:{type:y.operator=="&&"||y.operator=="||"||y.operator==="??"?"LogicalExpression":"BinaryExpression",left:T(y.left),operator:y.operator,right:T(y.right)}}),S(ii,function(y){return{type:"BinaryExpression",left:{type:"PrivateIdentifier",name:y.key.name},operator:"in",right:T(y.value)}}),S(St,function(y){return{type:"ArrayExpression",elements:y.elements.map(T)}}),S(Nt,function(y){return{type:"ObjectExpression",properties:y.properties.map(T)}}),S(cn,function(y,g){var O=y.key instanceof Ce?T(y.key):{type:"Identifier",value:y.key};typeof y.key=="number"&&(O={type:"Literal",value:Number(y.key)}),typeof y.key=="string"&&(O={type:"Identifier",name:y.key});var R,D=typeof y.key=="string"||typeof y.key=="number",H=D?!1:!(y.key instanceof pt)||y.key instanceof xe;return y instanceof Jt?(R="init",H=!D):y instanceof Gr?R="get":y instanceof ri&&(R="set"),y instanceof ni||y instanceof bi?{type:"MethodDefinition",computed:!1,kind:y instanceof ni?"get":"set",static:y.static,key:{type:"PrivateIdentifier",name:y.key.name},value:T(y.value)}:y instanceof Ei?{type:"PropertyDefinition",key:{type:"PrivateIdentifier",name:y.key.name},value:T(y.value),computed:!1,static:y.static}:y instanceof lr?{type:"PropertyDefinition",key:O,value:T(y.value),computed:H,static:y.static}:g instanceof yt?{type:"MethodDefinition",computed:H,kind:R,static:y.static,key:T(y.key),value:T(y.value)}:{type:"Property",computed:H,kind:R,key:O,value:T(y.value)}}),S(Bn,function(y,g){if(g instanceof Nt)return{type:"Property",computed:!(y.key instanceof pt)||y.key instanceof xe,kind:"init",method:!0,shorthand:!1,key:T(y.key),value:T(y.value)};const O=y instanceof vi?{type:"PrivateIdentifier",name:y.key.name}:T(y.key);return{type:"MethodDefinition",kind:y.key==="constructor"?"constructor":"method",key:O,value:T(y.value),computed:!(y.key instanceof pt)||y.key instanceof xe,static:y.static}}),S(yt,function(y){var g=y instanceof Si?"ClassExpression":"ClassDeclaration";return{type:g,superClass:T(y.extends),id:y.name?T(y.name):null,body:{type:"ClassBody",body:y.properties.map(T)}}}),S(Yn,function(y){return{type:"StaticBlock",body:y.body.map(T)}}),S(Xo,function(){return{type:"MetaProperty",meta:{type:"Identifier",name:"new"},property:{type:"Identifier",name:"target"}}}),S(pt,function(y,g){if(y instanceof Vn&&g.quote||(y instanceof To||y instanceof Ai||y instanceof Ao)&&y.quote)return{type:"Literal",value:y.name};var O=y.definition();return{type:"Identifier",name:O?O.mangled_name||O.name:y.name}}),S(fr,function(y){const g=y.value.source,O=y.value.flags;return{type:"Literal",value:null,raw:y.print_to_string(),regex:{pattern:g,flags:O}}}),S(Tt,function(y){var g=y.value;return{type:"Literal",value:g,raw:y.raw||y.print_to_string()}}),S(oo,function(y){return{type:"Identifier",name:String(y.value)}}),S(ai,b=>({type:"BigIntLiteral",value:b.value})),Pu.DEFMETHOD("to_mozilla_ast",Tt.prototype.to_mozilla_ast),hr.DEFMETHOD("to_mozilla_ast",Tt.prototype.to_mozilla_ast),Ir.DEFMETHOD("to_mozilla_ast",function(){return null}),Sn.DEFMETHOD("to_mozilla_ast",Ze.prototype.to_mozilla_ast),Ge.DEFMETHOD("to_mozilla_ast",Ft.prototype.to_mozilla_ast);function s(b){var y=b.loc,g=y&&y.start,O=b.range;return new Pl("","",g&&g.line||0,g&&g.column||0,O?O[0]:b.start,!1,[],[],y&&y.source)}function l(b){var y=b.loc,g=y&&y.end,O=b.range;return new Pl("","",g&&g.line||0,g&&g.column||0,O?O[0]:b.end,!1,[],[],y&&y.source)}var h=null;function m(b){h.push(b);var y=b!=null?n[b.type](b):null;return h.pop(),y}Ce.from_mozilla_ast=function(b){var y=h;h=[];var g=m(b);return h=y,g};function v(b,y){var g=b.start,O=b.end;return g&&O&&(g.pos!=null&&O.endpos!=null&&(y.range=[g.pos,O.endpos]),g.line&&(y.loc={start:{line:g.line,column:g.col},end:O.endline?{line:O.endline,column:O.endcol}:null},g.file&&(y.loc.source=g.file))),y}function S(b,y){b.DEFMETHOD("to_mozilla_ast",function(g){return v(this,y(this,g))})}var C=null;function T(b){C===null&&(C=[]),C.push(b);var y=b!=null?b.to_mozilla_ast(C[C.length-2]):null;return C.pop(),C.length===0&&(C=null),y}function I(){for(var b=C.length;b--;)if(C[b]instanceof Vt)return!0;return!1}function B(b){return{type:"BlockStatement",body:b.body.map(T)}}function L(b,y){var g=y.body.map(T);return y.body[0]instanceof $e&&y.body[0].body instanceof dt&&g.unshift(T(new Rt(y.body[0]))),{type:b,body:g}}}();function si(t){let e=t.parent(-1);for(let n=0,r;r=t.parent(n);n++){if(r instanceof Rn&&r.body===e)return!0;if(r instanceof lt&&r.expressions[0]===e||r.TYPE==="Call"&&r.expression===e||r instanceof $r&&r.prefix===e||r instanceof Wt&&r.expression===e||r instanceof An&&r.expression===e||r instanceof gn&&r.expression===e||r instanceof tt&&r.condition===e||r instanceof ae&&r.left===e||r instanceof Vi&&r.expression===e)e=r;else return!1}}function Ki(t){return t instanceof Nt?!0:t instanceof lt?Ki(t.expressions[0]):t.TYPE==="Call"?Ki(t.expression):t instanceof $r?Ki(t.prefix):t instanceof Wt||t instanceof An||t instanceof gn?Ki(t.expression):t instanceof tt?Ki(t.condition):t instanceof ae?Ki(t.left):t instanceof Vi?Ki(t.expression):!1}const ud=10,cd=32,ld=/[@#]__(PURE|INLINE|NOINLINE)__/;function Dy(t){return(t.type==="comment2"||t.type==="comment1")&&/@preserve|@copyright|@lic|@cc_on|^\**!/i.test(t.value)}const ky=8*1e3;class Ry{constructor(){this.committed="",this.current=""}append(e){this.current.length>ky?(this.committed+=this.current+e,this.current=""):this.current+=e}insertAt(e,n){const{committed:r,current:s}=this;n<r.length?this.committed=r.slice(0,n)+e+r.slice(n):n===r.length?this.committed+=e:(n-=r.length,this.committed+=s.slice(0,n)+e,this.current=s.slice(n))}charAt(e){const{committed:n}=this;return e<n.length?n[e]:this.current[e-n.length]}charCodeAt(e){const{committed:n}=this;return e<n.length?n.charCodeAt(e):this.current.charCodeAt(e-n.length)}length(){return this.committed.length+this.current.length}expectDirective(){let e,n=this.length();if(n<=0)return!0;for(;(e=this.charCodeAt(--n))&&(e==cd||e==ud););return!e||e===59||e===123}hasNLB(){let e=this.length()-1;for(;e>=0;){const n=this.charCodeAt(e--);if(n===ud)return!0;if(n!==cd)return!1}return!0}toString(){return this.committed+this.current}}function Ul(t){var e=!t;t=_i(t,{ascii_only:!1,beautify:!1,braces:!1,comments:"some",ecma:5,ie8:!1,indent_level:4,indent_start:0,inline_script:!0,keep_numbers:!1,keep_quoted_props:!1,max_line_len:!1,preamble:null,preserve_annotations:!1,quote_keys:!1,quote_style:0,safari10:!1,semicolons:!0,shebang:!0,shorthand:void 0,source_map:null,webkit:!1,width:80,wrap_iife:!1,wrap_func_args:!0,_destroy_ast:!1},!0),t.shorthand===void 0&&(t.shorthand=t.ecma>5);var n=vt;if(t.comments){let oe=t.comments;if(typeof t.comments=="string"&&/^\/.*\/[a-zA-Z]*$/.test(t.comments)){var r=t.comments.lastIndexOf("/");oe=new RegExp(t.comments.substr(1,r-1),t.comments.substr(r+1))}oe instanceof RegExp?n=function(ke){return ke.type!="comment5"&&oe.test(ke.value)}:typeof oe=="function"?n=function(ke){return ke.type!="comment5"&&oe(this,ke)}:oe==="some"?n=Dy:n=er}if(t.preserve_annotations){let oe=n;n=function(ke){return ld.test(ke.value)||oe.apply(this,arguments)}}var s=0,l=0,h=1,m=0,v=new Ry;let S=new Set;var C=t.ascii_only?function(oe,ke=!1,me=!1){return t.ecma>=2015&&!t.safari10&&!me&&(oe=oe.replace(/[\ud800-\udbff][\udc00-\udfff]/g,function(bt){var xt=vy(bt,0).toString(16);return"\\u{"+xt+"}"})),oe.replace(/[\u0000-\u001f\u007f-\uffff]/g,function(bt){var xt=bt.charCodeAt(0).toString(16);if(xt.length<=2&&!ke){for(;xt.length<2;)xt="0"+xt;return"\\x"+xt}else{for(;xt.length<4;)xt="0"+xt;return"\\u"+xt}})}:function(oe){return oe.replace(/[\ud800-\udbff][\udc00-\udfff]|([\ud800-\udbff]|[\udc00-\udfff])/g,function(ke,me){return me?"\\u"+me.charCodeAt(0).toString(16):ke})};function T(oe,ke){var me=0,bt=0;oe=oe.replace(/[\\\b\f\n\r\v\t\x22\x27\u2028\u2029\0\ufeff]/g,function(Qt,dn){switch(Qt){case'"':return++me,'"';case"'":return++bt,"'";case"\\":return"\\\\";case`
203
+ `:return"\\n";case"\r":return"\\r";case" ":return"\\t";case"\b":return"\\b";case"\f":return"\\f";case"\v":return t.ie8?"\\x0B":"\\v";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";case"\uFEFF":return"\\ufeff";case"\0":return/[0-9]/.test(Tu(oe,dn+1))?"\\x00":"\\0"}return Qt});function xt(){return"'"+oe.replace(/\x27/g,"\\'")+"'"}function Dt(){return'"'+oe.replace(/\x22/g,'\\"')+'"'}function Un(){return"`"+oe.replace(/`/g,"\\`")+"`"}if(oe=C(oe),ke==="`")return Un();switch(t.quote_style){case 1:return xt();case 2:return Dt();case 3:return ke=="'"?xt():Dt();default:return me>bt?xt():Dt()}}function I(oe,ke){var me=T(oe,ke);return t.inline_script&&(me=me.replace(/<\x2f(script)([>\/\t\n\f\r ])/gi,"<\\/$1$2"),me=me.replace(/\x3c!--/g,"\\x3c!--"),me=me.replace(/--\x3e/g,"--\\x3e")),me}function B(oe){return oe=oe.toString(),oe=C(oe,!0),oe}function L(oe){return" ".repeat(t.indent_start+s-oe*t.indent_level)}var b=!1,y=!1,g=!1,O=0,R=!1,D=!1,H=-1,X="",ee,z,q=t.source_map&&[],$=q?function(){q.forEach(function(oe){try{let{name:ke,token:me}=oe;ke!==!1&&(me.type=="name"||me.type==="privatename"?ke=me.value:ke instanceof pt&&(ke=me.type==="string"?me.value:ke.name)),t.source_map.add(oe.token.file,oe.line,oe.col,oe.token.line,oe.token.col,Cu(ke)?ke:void 0)}catch{}}),q=[]}:mr,ce=t.max_line_len?function(){if(l>t.max_line_len&&O){v.insertAt(`
204
+ `,O);const ke=v.length()-O-1;if(q){var oe=ke-l;q.forEach(function(me){me.line++,me.col+=oe})}h++,m++,l=ke}O&&(O=0,$())}:mr,Q=Ct("( [ + * / - , . `");function _e(oe){oe=String(oe);var ke=Tu(oe,0);R&&ke&&(R=!1,ke!==`
205
+ `&&(_e(`
206
+ `),pe())),D&&ke&&(D=!1,/[\s;})]/.test(ke)||ne()),H=-1;var me=X.charAt(X.length-1);g&&(g=!1,(me===":"&&ke==="}"||(!ke||!";}".includes(ke))&&me!==";")&&(t.semicolons||Q.has(ke)?(v.append(";"),l++,m++):(ce(),l>0&&(v.append(`
207
+ `),m++,h++,l=0),/^\s+$/.test(oe)&&(g=!0)),t.beautify||(y=!1))),y&&((xu(me)&&(xu(ke)||ke=="\\")||ke=="/"&&ke==me||(ke=="+"||ke=="-")&&ke==X)&&(v.append(" "),l++,m++),y=!1),ee&&(q.push({token:ee,name:z,line:h,col:l}),ee=!1,O||$()),v.append(oe),b=oe[oe.length-1]=="(",m+=oe.length;var bt=oe.split(/\r?\n/),xt=bt.length-1;h+=xt,l+=bt[0].length,xt>0&&(ce(),l=bt[xt].length),X=oe}var ge=function(){_e("*")},ne=t.beautify?function(){_e(" ")}:function(){y=!0},pe=t.beautify?function(oe){t.beautify&&_e(L(oe?.5:0))}:mr,fe=t.beautify?function(oe,ke){oe===!0&&(oe=Ue());var me=s;s=oe;var bt=ke();return s=me,bt}:function(oe,ke){return ke()},Oe=t.beautify?function(){if(H<0)return _e(`
208
+ `);v.charAt(H)!=`
209
+ `&&(v.insertAt(`
210
+ `,H),m++,h++),H++}:t.max_line_len?function(){ce(),O=v.length()}:mr,Ie=t.beautify?function(){_e(";")}:function(){g=!0};function ve(){g=!1,_e(";")}function Ue(){return s+t.indent_level}function J(oe){var ke;return _e("{"),Oe(),fe(Ue(),function(){ke=oe()}),pe(),_e("}"),ke}function re(oe){_e("(");var ke=oe();return _e(")"),ke}function se(oe){_e("[");var ke=oe();return _e("]"),ke}function Ae(){_e(","),ne()}function be(){_e(":"),ne()}var At=q?function(oe,ke){ee=oe,z=ke}:mr;function jt(){return O&&ce(),v.toString()}function Et(oe){return t.preserve_annotations||(oe=oe.replace(ld," ")),/^\s*$/.test(oe)?"":oe.replace(/(<\s*\/\s*)(script)/i,"<\\/$2")}function Mt(oe){var ke=this,me=oe.start;if(!me)return;var bt=ke.printed_comments;const xt=oe instanceof cr&&oe.value||(oe instanceof yr||oe instanceof gr)&&oe.expression;if(me.comments_before&&bt.has(me.comments_before))if(xt)me.comments_before=[];else return;var Dt=me.comments_before;if(Dt||(Dt=me.comments_before=[]),bt.add(Dt),xt){var Un=new Fn(function($t){var Pt=Un.parent();if(Pt instanceof cr||Pt instanceof yr||Pt instanceof gr||Pt instanceof ae&&Pt.left===$t||Pt.TYPE=="Call"&&Pt.expression===$t||Pt instanceof tt&&Pt.condition===$t||Pt instanceof Wt&&Pt.expression===$t||Pt instanceof lt&&Pt.expressions[0]===$t||Pt instanceof An&&Pt.expression===$t||Pt instanceof Vi){if(!$t.start)return;var fn=$t.start.comments_before;fn&&!bt.has(fn)&&(bt.add(fn),Dt=Dt.concat(fn))}else return!0});Un.push(oe),xt.walk(Un)}if(m==0){Dt.length>0&&t.shebang&&Dt[0].type==="comment5"&&!bt.has(Dt[0])&&(_e("#!"+Dt.shift().value+`
211
+ `),pe());var Qt=t.preamble;Qt&&_e(Qt.replace(/\r\n?|[\n\u2028\u2029]|\s*$/g,`
212
+ `))}if(Dt=Dt.filter(n,oe).filter($t=>!bt.has($t)),Dt.length!=0){var dn=v.hasNLB();Dt.forEach(function($t,Pt){if(bt.add($t),dn||($t.nlb?(_e(`
213
+ `),pe(),dn=!0):Pt>0&&ne()),/comment[134]/.test($t.type)){var fn=Et($t.value);fn&&(_e("//"+fn+`
214
+ `),pe()),dn=!0}else if($t.type=="comment2"){var fn=Et($t.value);fn&&_e("/*"+fn+"*/"),dn=!1}}),dn||(me.nlb?(_e(`
215
+ `),pe()):ne())}}function gt(oe,ke){var me=this,bt=oe.end;if(bt){var xt=me.printed_comments,Dt=bt[ke?"comments_before":"comments_after"];if(!(!Dt||xt.has(Dt))&&(oe instanceof Rn||Dt.every(Qt=>!/comment[134]/.test(Qt.type)))){xt.add(Dt);var Un=v.length();Dt.filter(n,oe).forEach(function(Qt,dn){if(!xt.has(Qt)){if(xt.add(Qt),D=!1,R?(_e(`
216
+ `),pe(),R=!1):Qt.nlb&&(dn>0||!v.hasNLB())?(_e(`
217
+ `),pe()):(dn>0||!ke)&&ne(),/comment[134]/.test(Qt.type)){const $t=Et(Qt.value);$t&&_e("//"+$t),R=!0}else if(Qt.type=="comment2"){const $t=Et(Qt.value);$t&&_e("/*"+$t+"*/"),D=!0}}}),v.length()>Un&&(H=Un)}}}const Ot=t._destroy_ast?function(ke){ke.body.length=0,ke.argnames.length=0}:mr;var Zt=[];return{get:jt,toString:jt,indent:pe,in_directive:!1,use_asm:null,active_scope:null,indentation:function(){return s},current_width:function(){return l-s},should_break:function(){return t.width&&this.current_width()>=t.width},has_parens:function(){return b},newline:Oe,print:_e,star:ge,space:ne,comma:Ae,colon:be,last:function(){return X},semicolon:Ie,force_semicolon:ve,to_utf8:C,print_name:function(oe){_e(B(oe))},print_string:function(oe,ke,me){var bt=I(oe,ke);me===!0&&!bt.includes("\\")&&(v.expectDirective()||ve(),ve()),_e(bt)},print_template_string_chars:function(oe){var ke=I(oe,"`").replace(/\${/g,"\\${");return _e(ke.substr(1,ke.length-2))},encode_string:I,next_indent:Ue,with_indent:fe,with_block:J,with_parens:re,with_square:se,add_mapping:At,option:function(oe){return t[oe]},gc_scope:Ot,printed_comments:S,prepend_comments:e?mr:Mt,append_comments:e||n===vt?mr:gt,line:function(){return h},col:function(){return l},pos:function(){return m},push_node:function(oe){Zt.push(oe)},pop_node:function(){return Zt.pop()},parent:function(oe){return Zt[Zt.length-2-(oe||0)]}}}(function(){function t(y,g){y.DEFMETHOD("_codegen",g)}Ce.DEFMETHOD("print",function(y,g){var O=this,R=O._codegen;O instanceof qe?y.active_scope=O:!y.use_asm&&O instanceof nr&&O.value=="use asm"&&(y.use_asm=y.active_scope);function D(){y.prepend_comments(O),O.add_source_map(y),R(O,y),y.append_comments(O)}y.push_node(O),g||O.needs_parens(y)?y.with_parens(D):D(),y.pop_node(),O===y.use_asm&&(y.use_asm=null)}),Ce.DEFMETHOD("_print",Ce.prototype.print),Ce.DEFMETHOD("print_to_string",function(y){var g=Ul(y);return this.print(g),g.get()});function e(y,g){Array.isArray(y)?y.forEach(function(O){e(O,g)}):y.DEFMETHOD("needs_parens",g)}e(Ce,vt),e(Ft,function(y){if(!y.has_parens()&&si(y))return!0;if(y.option("webkit")){var g=y.parent();if(g instanceof Xe&&g.expression===this)return!0}if(y.option("wrap_iife")){var g=y.parent();if(g instanceof je&&g.expression===this)return!0}if(y.option("wrap_func_args")){var g=y.parent();if(g instanceof je&&g.args.includes(this))return!0}return!1}),e(Yt,function(y){var g=y.parent();return y.option("wrap_func_args")&&g instanceof je&&g.args.includes(this)?!0:g instanceof Xe&&g.expression===this||g instanceof tt&&g.condition===this}),e(Nt,function(y){return!y.has_parens()&&si(y)}),e(Si,si),e(Xt,function(y){var g=y.parent();return g instanceof Xe&&g.expression===this||g instanceof je&&g.expression===this||g instanceof ae&&g.operator==="**"&&this instanceof We&&g.left===this&&this.operator!=="++"&&this.operator!=="--"}),e(yr,function(y){var g=y.parent();return g instanceof Xe&&g.expression===this||g instanceof je&&g.expression===this||g instanceof ae&&g.operator==="**"&&g.left===this||y.option("safari10")&&g instanceof We}),e(lt,function(y){var g=y.parent();return g instanceof je||g instanceof Xt||g instanceof ae||g instanceof Lt||g instanceof Xe||g instanceof St||g instanceof cn||g instanceof tt||g instanceof Yt||g instanceof Nr||g instanceof ht||g instanceof Eo&&this===g.object||g instanceof gr||g instanceof On}),e(ae,function(y){var g=y.parent();if(g instanceof je&&g.expression===this||g instanceof Xt||g instanceof Xe&&g.expression===this)return!0;if(g instanceof ae){const O=g.operator,R=this.operator;if(R==="??"&&(O==="||"||O==="&&")||O==="??"&&(R==="||"||R==="&&"))return!0;const D=kr[O],H=kr[R];if(D>H||D==H&&(this===g.right||O=="**"))return!0}if(g instanceof ii){const O=this.operator,R=kr.in,D=kr[O];if(R>D||R==D&&this===g.value)return!0}}),e(ii,function(y){var g=y.parent();if(g instanceof je&&g.expression===this||g instanceof Xt||g instanceof Xe&&g.expression===this)return!0;if(g instanceof ae){const O=g.operator,R=kr[O],D=kr.in;if(R>D||R==D&&(this===g.right||O=="**"))return!0}if(g instanceof ii&&this===g.value)return!0}),e(gr,function(y){var g=y.parent();if(g instanceof ae&&g.operator!=="="||g instanceof je&&g.expression===this||g instanceof tt&&g.condition===this||g instanceof Xt||g instanceof Xe&&g.expression===this)return!0}),e(gn,function(y){var g=y.parent();return g instanceof je||g instanceof Xe?g.expression===this:!1}),e(Xe,function(y){var g=y.parent();if(g instanceof rr&&g.expression===this)return Pn(this,O=>{if(O instanceof qe)return!0;if(O instanceof je)return pr})}),e(je,function(y){var g=y.parent(),O;return g instanceof rr&&g.expression===this||g instanceof On&&g.is_default&&this.expression instanceof Ft?!0:this.expression instanceof Ft&&g instanceof Xe&&g.expression===this&&(O=y.parent(1))instanceof st&&O.left===g}),e(rr,function(y){var g=y.parent();if(this.args.length===0&&(g instanceof Xe||g instanceof je&&g.expression===this||g instanceof $r&&g.prefix===this))return!0}),e(Qe,function(y){var g=y.parent();if(g instanceof Xe&&g.expression===this){var O=this.getValue();if(O<0||/^0/.test(B(O)))return!0}}),e(ai,function(y){var g=y.parent();if(g instanceof Xe&&g.expression===this){var O=this.getValue();if(O.startsWith("-"))return!0}}),e([st,tt],function(y){var g=y.parent();if(g instanceof Xt||g instanceof ae&&!(g instanceof st)||g instanceof je&&g.expression===this||g instanceof tt&&g.condition===this||g instanceof Xe&&g.expression===this||this instanceof st&&this.left instanceof Vt&&this.left.is_array===!1)return!0}),t(nr,function(y,g){g.print_string(y.value,y.quote),g.semicolon()}),t(ht,function(y,g){g.print("..."),y.expression.print(g)}),t(Vt,function(y,g){g.print(y.is_array?"[":"{");var O=y.names.length;y.names.forEach(function(R,D){D>0&&g.comma(),R.print(g),D==O-1&&R instanceof Ir&&g.comma()}),g.print(y.is_array?"]":"}")}),t(Fi,function(y,g){g.print("debugger"),g.semicolon()});function n(y,g,O,R){var D=y.length-1;O.in_directive=R,y.forEach(function(H,X){O.in_directive===!0&&!(H instanceof nr||H instanceof Rt||H instanceof $e&&H.body instanceof dt)&&(O.in_directive=!1),H instanceof Rt||(O.indent(),H.print(O),X==D&&g||(O.newline(),g&&O.newline())),O.in_directive===!0&&H instanceof $e&&H.body instanceof dt&&(O.in_directive=!1)}),O.in_directive=!1}vo.DEFMETHOD("_do_print_body",function(y){T(this.body,y)}),t(Rn,function(y,g){y.body.print(g),g.semicolon()}),t(zt,function(y,g){n(y.body,!0,g,!0),g.print("")}),t(Qn,function(y,g){y.label.print(g),g.colon(),y.body.print(g)}),t($e,function(y,g){y.body.print(g),g.semicolon()});function r(y,g){g.print("{"),g.with_indent(g.next_indent(),function(){g.append_comments(y,!0)}),g.add_mapping(y.end),g.print("}")}function s(y,g,O){y.body.length>0?g.with_block(function(){n(y.body,!1,g,O),g.add_mapping(y.end)}):r(y,g)}t(Ze,function(y,g){s(y,g)}),t(Rt,function(y,g){g.semicolon()}),t(yi,function(y,g){g.print("do"),g.space(),L(y.body,g),g.space(),g.print("while"),g.space(),g.with_parens(function(){y.condition.print(g)}),g.semicolon()}),t(Li,function(y,g){g.print("while"),g.space(),g.with_parens(function(){y.condition.print(g)}),g.space(),y._do_print_body(g)}),t(Tn,function(y,g){g.print("for"),g.space(),g.with_parens(function(){y.init?(y.init instanceof un?y.init.print(g):h(y.init,g,!0),g.print(";"),g.space()):g.print(";"),y.condition?(y.condition.print(g),g.print(";"),g.space()):g.print(";"),y.step&&y.step.print(g)}),g.space(),y._do_print_body(g)}),t(Wn,function(y,g){g.print("for"),y.await&&(g.space(),g.print("await")),g.space(),g.with_parens(function(){y.init.print(g),g.space(),g.print(y instanceof Eo?"of":"in"),g.space(),y.object.print(g)}),g.space(),y._do_print_body(g)}),t(_r,function(y,g){g.print("with"),g.space(),g.with_parens(function(){y.expression.print(g)}),g.space(),y._do_print_body(g)}),Ge.DEFMETHOD("_do_print",function(y,g){var O=this;g||(O.async&&(y.print("async"),y.space()),y.print("function"),O.is_generator&&y.star(),O.name&&y.space()),O.name instanceof pt?O.name.print(y):g&&O.name instanceof Ce&&y.with_square(function(){O.name.print(y)}),y.with_parens(function(){O.argnames.forEach(function(R,D){D&&y.comma(),R.print(y)})}),y.space(),s(O,y,!0)}),t(Ge,function(y,g){y._do_print(g),g.gc_scope(y)}),t($r,function(y,g){var O=y.prefix,R=O instanceof Ge||O instanceof ae||O instanceof tt||O instanceof lt||O instanceof Xt||O instanceof Wt&&O.expression instanceof Nt;R&&g.print("("),y.prefix.print(g),R&&g.print(")"),y.template_string.print(g)}),t(Xn,function(y,g){var O=g.parent()instanceof $r;g.print("`");for(var R=0;R<y.segments.length;R++)y.segments[R]instanceof gi?O?g.print(y.segments[R].raw):g.print_template_string_chars(y.segments[R].value):(g.print("${"),y.segments[R].print(g),g.print("}"));g.print("`")}),t(gi,function(y,g){g.print_template_string_chars(y.value)}),Yt.DEFMETHOD("_do_print",function(y){var g=this,O=y.parent(),R=O instanceof ae&&!(O instanceof st)||O instanceof Xt||O instanceof je&&g===O.expression;R&&y.print("("),g.async&&(y.print("async"),y.space()),g.argnames.length===1&&g.argnames[0]instanceof pt?g.argnames[0].print(y):y.with_parens(function(){g.argnames.forEach(function(H,X){X&&y.comma(),H.print(y)})}),y.space(),y.print("=>"),y.space();const D=g.body[0];if(g.body.length===1&&D instanceof sn){const H=D.value;H?Ki(H)?(y.print("("),H.print(y),y.print(")")):H.print(y):y.print("{}")}else s(g,y);R&&y.print(")"),y.gc_scope(g)}),cr.DEFMETHOD("_do_print",function(y,g){if(y.print(g),this.value){y.space();const O=this.value.start.comments_before;O&&O.length&&!y.printed_comments.has(O)?(y.print("("),this.value.print(y),y.print(")")):this.value.print(y)}y.semicolon()}),t(sn,function(y,g){y._do_print(g,"return")}),t(hs,function(y,g){y._do_print(g,"throw")}),t(gr,function(y,g){var O=y.is_star?"*":"";g.print("yield"+O),y.expression&&(g.space(),y.expression.print(g))}),t(yr,function(y,g){g.print("await"),g.space();var O=y.expression,R=!(O instanceof je||O instanceof xe||O instanceof Xe||O instanceof Xt||O instanceof Tt||O instanceof yr||O instanceof Nt);R&&g.print("("),y.expression.print(g),R&&g.print(")")}),Yr.DEFMETHOD("_do_print",function(y,g){y.print(g),this.label&&(y.space(),this.label.print(y)),y.semicolon()}),t(Rr,function(y,g){y._do_print(g,"break")}),t(ro,function(y,g){y._do_print(g,"continue")});function l(y,g){var O=y.body;if(g.option("braces")||g.option("ie8")&&O instanceof yi)return L(O,g);if(!O)return g.force_semicolon();for(;;)if(O instanceof wt){if(!O.alternative){L(y.body,g);return}O=O.alternative}else if(O instanceof vo)O=O.body;else break;T(y.body,g)}t(wt,function(y,g){g.print("if"),g.space(),g.with_parens(function(){y.condition.print(g)}),g.space(),y.alternative?(l(y,g),g.space(),g.print("else"),g.space(),y.alternative instanceof wt?y.alternative.print(g):T(y.alternative,g)):y._do_print_body(g)}),t(qn,function(y,g){g.print("switch"),g.space(),g.with_parens(function(){y.expression.print(g)}),g.space();var O=y.body.length-1;O<0?r(y,g):g.with_block(function(){y.body.forEach(function(R,D){g.indent(!0),R.print(g),D<O&&R.body.length>0&&g.newline()})})}),Bi.DEFMETHOD("_do_print_body",function(y){y.newline(),this.body.forEach(function(g){y.indent(),g.print(y),y.newline()})}),t(So,function(y,g){g.print("default:"),y._do_print_body(g)}),t(Jr,function(y,g){g.print("case"),g.space(),y.expression.print(g),g.print(":"),y._do_print_body(g)}),t(br,function(y,g){g.print("try"),g.space(),y.body.print(g),y.bcatch&&(g.space(),y.bcatch.print(g)),y.bfinally&&(g.space(),y.bfinally.print(g))}),t(wu,function(y,g){s(y,g)}),t(Zr,function(y,g){g.print("catch"),y.argname&&(g.space(),g.with_parens(function(){y.argname.print(g)})),g.space(),s(y,g)}),t(Wo,function(y,g){g.print("finally"),g.space(),s(y,g)}),un.DEFMETHOD("_do_print",function(y,g){y.print(g),y.space(),this.definitions.forEach(function(H,X){X&&y.comma(),H.print(y)});var O=y.parent(),R=O instanceof Tn||O instanceof Wn,D=!R||O&&O.init!==this;D&&y.semicolon()}),t(Qr,function(y,g){y._do_print(g,"let")}),t(wn,function(y,g){y._do_print(g,"var")}),t(ei,function(y,g){y._do_print(g,"const")}),t(wr,function(y,g){g.print("import"),g.space(),y.imported_name&&y.imported_name.print(g),y.imported_name&&y.imported_names&&(g.print(","),g.space()),y.imported_names&&(y.imported_names.length===1&&y.imported_names[0].foreign_name.name==="*"&&!y.imported_names[0].foreign_name.quote?y.imported_names[0].print(g):(g.print("{"),y.imported_names.forEach(function(O,R){g.space(),O.print(g),R<y.imported_names.length-1&&g.print(",")}),g.space(),g.print("}"))),(y.imported_name||y.imported_names)&&(g.space(),g.print("from"),g.space()),y.module_name.print(g),y.assert_clause&&(g.print("assert"),y.assert_clause.print(g)),g.semicolon()}),t(Ui,function(y,g){g.print("import.meta")}),t(ti,function(y,g){var O=g.parent()instanceof wr,R=y.name.definition(),D=y.foreign_name,H=(R&&R.mangled_name||y.name.name)!==D.name;!H&&D.name==="*"&&D.quote!=y.name.quote&&(H=!0);var X=D.quote==null;H?(O?X?g.print(D.name):g.print_string(D.name,D.quote):y.name.quote==null?y.name.print(g):g.print_string(y.name.name,y.name.quote),g.space(),g.print("as"),g.space(),O?y.name.print(g):X?g.print(D.name):g.print_string(D.name,D.quote)):y.name.quote==null?y.name.print(g):g.print_string(y.name.name,y.name.quote)}),t(On,function(y,g){if(g.print("export"),g.space(),y.is_default&&(g.print("default"),g.space()),y.exported_names)y.exported_names.length===1&&y.exported_names[0].name.name==="*"&&!y.exported_names[0].name.quote?y.exported_names[0].print(g):(g.print("{"),y.exported_names.forEach(function(O,R){g.space(),O.print(g),R<y.exported_names.length-1&&g.print(",")}),g.space(),g.print("}"));else if(y.exported_value)y.exported_value.print(g);else if(y.exported_definition&&(y.exported_definition.print(g),y.exported_definition instanceof un))return;y.module_name&&(g.space(),g.print("from"),g.space(),y.module_name.print(g)),y.assert_clause&&(g.print("assert"),y.assert_clause.print(g)),(y.exported_value&&!(y.exported_value instanceof en||y.exported_value instanceof Ft||y.exported_value instanceof yt)||y.module_name||y.exported_names)&&g.semicolon()});function h(y,g,O){var R=!1;O&&(R=Pn(y,D=>{if(D instanceof qe&&!(D instanceof Yt))return!0;if(D instanceof ae&&D.operator=="in"||D instanceof ii)return pr})),y.print(g,R)}t(Lt,function(y,g){if(y.name.print(g),y.value){g.space(),g.print("="),g.space();var O=g.parent(1),R=O instanceof Tn||O instanceof Wn;h(y.value,g,R)}}),t(je,function(y,g){y.expression.print(g),!(y instanceof rr&&y.args.length===0)&&((y.expression instanceof je||y.expression instanceof Ge)&&g.add_mapping(y.start),y.optional&&g.print("?."),g.with_parens(function(){y.args.forEach(function(O,R){R&&g.comma(),O.print(g)})}))}),t(rr,function(y,g){g.print("new"),g.space(),je.prototype._codegen(y,g)}),lt.DEFMETHOD("_do_print",function(y){this.expressions.forEach(function(g,O){O>0&&(y.comma(),y.should_break()&&(y.newline(),y.indent())),g.print(y)})}),t(lt,function(y,g){y._do_print(g)}),t(Wt,function(y,g){var O=y.expression;O.print(g);var R=y.property,D=no.has(R)?g.option("ie8"):!Qp(R,g.option("ecma")>=2015&&!g.option("safari10"));y.optional&&g.print("?."),D?(g.print("["),g.add_mapping(y.end),g.print_string(R),g.print("]")):(O instanceof Qe&&O.getValue()>=0&&(/[xa-f.)]/i.test(g.last())||g.print(".")),y.optional||g.print("."),g.add_mapping(y.end),g.print_name(R))}),t(Hr,function(y,g){var O=y.expression;O.print(g);var R=y.property;y.optional&&g.print("?"),g.print(".#"),g.add_mapping(y.end),g.print_name(R)}),t(An,function(y,g){y.expression.print(g),y.optional&&g.print("?."),g.print("["),y.property.print(g),g.print("]")}),t(gn,function(y,g){y.expression.print(g)}),t(We,function(y,g){var O=y.operator;O==="--"&&g.last().endsWith("!")&&g.print(" "),g.print(O),(/^[a-z]/i.test(O)||/[+-]$/.test(O)&&y.expression instanceof We&&/^[+-]/.test(y.expression.operator))&&g.space(),y.expression.print(g)}),t(Vi,function(y,g){y.expression.print(g),g.print(y.operator)}),t(ae,function(y,g){var O=y.operator;y.left.print(g),O[0]==">"&&g.last().endsWith("--")?g.print(" "):g.space(),g.print(O),g.space(),y.right.print(g)}),t(tt,function(y,g){y.condition.print(g),g.space(),g.print("?"),g.space(),y.consequent.print(g),g.space(),g.colon(),y.alternative.print(g)}),t(St,function(y,g){g.with_square(function(){var O=y.elements,R=O.length;R>0&&g.space(),O.forEach(function(D,H){H&&g.comma(),D.print(g),H===R-1&&D instanceof Ir&&g.comma()}),R>0&&g.space()})}),t(Nt,function(y,g){y.properties.length>0?g.with_block(function(){y.properties.forEach(function(O,R){R&&(g.print(","),g.newline()),g.indent(),O.print(g)}),g.newline()}):r(y,g)}),t(yt,function(y,g){if(g.print("class"),g.space(),y.name&&(y.name.print(g),g.space()),y.extends){var O=!(y.extends instanceof xe)&&!(y.extends instanceof Xe)&&!(y.extends instanceof Si)&&!(y.extends instanceof Ft);g.print("extends"),O?g.print("("):g.space(),y.extends.print(g),O?g.print(")"):g.space()}y.properties.length>0?g.with_block(function(){y.properties.forEach(function(R,D){D&&g.newline(),g.indent(),R.print(g)}),g.newline()}):g.print("{}")}),t(Xo,function(y,g){g.print("new.target")});function m(y,g,O){if(O.option("quote_keys"))return O.print_string(y),!1;if(""+ +y==y&&y>=0)return O.option("keep_numbers")?(O.print(y),!1):(O.print(B(y)),!1);var R=no.has(y)?O.option("ie8"):O.option("ecma")<2015||O.option("safari10")?!Cu(y):!Qp(y,!0);return R||g&&O.option("keep_quoted_props")?(O.print_string(y,g),!1):(O.print_name(y),!0)}t(Jt,function(y,g){function O(D){var H=D.definition();return H?H.mangled_name||H.name:D.name}const R=g.option("shorthand")&&!(y.key instanceof Ce);R&&y.value instanceof pt&&O(y.value)===y.key&&!no.has(y.key)?m(y.key,y.quote,g)||(g.colon(),y.value.print(g)):R&&y.value instanceof Nr&&y.value.left instanceof pt&&O(y.value.left)===y.key?(m(y.key,y.quote,g)||(g.colon(),y.value.left.print(g)),g.space(),g.print("="),g.space(),y.value.right.print(g)):(y.key instanceof Ce?g.with_square(function(){y.key.print(g)}):m(y.key,y.quote,g),g.colon(),y.value.print(g))}),t(Ei,(y,g)=>{y.static&&(g.print("static"),g.space()),g.print("#"),m(y.key.name,y.quote,g),y.value&&(g.print("="),y.value.print(g)),g.semicolon()}),t(lr,(y,g)=>{y.static&&(g.print("static"),g.space()),y.key instanceof Hi?m(y.key.name,y.quote,g):(g.print("["),y.key.print(g),g.print("]")),y.value&&(g.print("="),y.value.print(g)),g.semicolon()}),cn.DEFMETHOD("_print_getter_setter",function(y,g,O){var R=this;R.static&&(O.print("static"),O.space()),y&&(O.print(y),O.space()),R.key instanceof Vn?(g&&O.print("#"),m(R.key.name,R.quote,O),R.key.add_source_map(O)):O.with_square(function(){R.key.print(O)}),R.value._do_print(O,!0)}),t(ri,function(y,g){y._print_getter_setter("set",!1,g)}),t(Gr,function(y,g){y._print_getter_setter("get",!1,g)}),t(bi,function(y,g){y._print_getter_setter("set",!0,g)}),t(ni,function(y,g){y._print_getter_setter("get",!0,g)}),t(vi,function(y,g){var O;y.is_generator&&y.async?O="async*":y.is_generator?O="*":y.async&&(O="async"),y._print_getter_setter(O,!0,g)}),t(ii,function(y,g){y.key.print(g),g.space(),g.print("in"),g.space(),y.value.print(g)}),t(ds,function(y,g){g.print("#"+y.name)}),t(Bn,function(y,g){var O;y.is_generator&&y.async?O="async*":y.is_generator?O="*":y.async&&(O="async"),y._print_getter_setter(O,!1,g)}),t(Yn,function(y,g){g.print("static"),g.space(),s(y,g)}),pt.DEFMETHOD("_do_print",function(y){var g=this.definition();y.print_name(g?g.mangled_name||g.name:this.name)}),t(pt,function(y,g){y._do_print(g)}),t(Ir,mr),t(jn,function(y,g){g.print("this")}),t(Jo,function(y,g){g.print("super")}),t(Tt,function(y,g){g.print(y.getValue())}),t(dt,function(y,g){g.print_string(y.getValue(),y.quote,g.in_directive)}),t(Qe,function(y,g){(g.option("keep_numbers")||g.use_asm)&&y.raw?g.print(y.raw):g.print(B(y.getValue()))}),t(ai,function(y,g){g.print(y.getValue()+"n")});const v=/(<\s*\/\s*script)/i,S=/^\s*script/i,C=(y,g)=>g.replace("/","\\/");t(fr,function(y,g){let{source:O,flags:R}=y.getValue();O=gu(O),R=R?cy(R):"",O=O.replace(v,C),S.test(O)&&g.last().endsWith("<")&&g.print(" "),g.print(g.to_utf8(`/${O}/${R}`,!1,!0));const D=g.parent();D instanceof ae&&/^\w/.test(D.operator)&&D.left===y&&g.print(" ")});function T(y,g){g.option("braces")?L(y,g):!y||y instanceof Rt?g.force_semicolon():y instanceof Qr||y instanceof ei||y instanceof yt?L(y,g):y.print(g)}function I(y){for(var g=y[0],O=g.length,R=1;R<y.length;++R)y[R].length<O&&(g=y[R],O=g.length);return g}function B(y){var g=y.toString(10).replace(/^0\./,".").replace("e+","e"),O=[g];Math.floor(y)===y&&(y<0?O.push("-0x"+(-y).toString(16).toLowerCase()):O.push("0x"+y.toString(16).toLowerCase()));var R,D,H;return(R=/^\.0+/.exec(g))?(D=R[0].length,H=g.slice(D),O.push(H+"e-"+(H.length+D-1))):(R=/0+$/.exec(g))?(D=R[0].length,O.push(g.slice(0,-D)+"e"+D)):(R=/^(\d)\.(\d+)e(-?\d+)$/.exec(g))&&O.push(R[1]+R[2]+"e"+(R[3]-R[2].length)),I(O)}function L(y,g){!y||y instanceof Rt?g.print("{}"):y instanceof Ze?y.print(g):g.with_block(function(){g.indent(),y.print(g),g.newline()})}function b(y,g){y.forEach(function(O){O.DEFMETHOD("add_source_map",g)})}b([Ce,Qn,zt],mr),b([St,Ze,Zr,yt,Tt,Fi,un,nr,Wo,fs,Ge,rr,Nt,vo,pt,qn,Bi,Xn,gi,br],function(y){y.add_mapping(this.start)}),b([Gr,ri,ni,bi,Bn,vi],function(y){y.add_mapping(this.start,!1)}),b([Vn,ds],function(y){const g=this.end&&this.end.type;g==="name"||g==="privatename"?y.add_mapping(this.end,this.name):y.add_mapping(this.end)}),b([cn],function(y){y.add_mapping(this.start,this.key)})})();const fd=(t,e)=>t===null&&e===null||t.TYPE===e.TYPE&&t.shallow_cmp(e),wy=(t,e)=>{if(!fd(t,e))return!1;const n=[t],r=[e],s=n.push.bind(n),l=r.push.bind(r);for(;n.length&&r.length;){const h=n.pop(),m=r.pop();if(!fd(h,m)||(h._children_backwards(s),m._children_backwards(l),n.length!==r.length))return!1}return n.length==0&&r.length==0},It=()=>!0;Ce.prototype.shallow_cmp=function(){throw new Error("did not find a shallow_cmp function for "+this.constructor.name)},Fi.prototype.shallow_cmp=It,nr.prototype.shallow_cmp=function(t){return this.value===t.value},$e.prototype.shallow_cmp=It,Sn.prototype.shallow_cmp=It,Rt.prototype.shallow_cmp=It,Qn.prototype.shallow_cmp=function(t){return this.label.name===t.label.name},yi.prototype.shallow_cmp=It,Li.prototype.shallow_cmp=It,Tn.prototype.shallow_cmp=function(t){return(this.init==null?t.init==null:this.init===t.init)&&(this.condition==null?t.condition==null:this.condition===t.condition)&&(this.step==null?t.step==null:this.step===t.step)},Wn.prototype.shallow_cmp=It,Eo.prototype.shallow_cmp=It,_r.prototype.shallow_cmp=It,zt.prototype.shallow_cmp=It,ht.prototype.shallow_cmp=It,Ge.prototype.shallow_cmp=function(t){return this.is_generator===t.is_generator&&this.async===t.async},Vt.prototype.shallow_cmp=function(t){return this.is_array===t.is_array},$r.prototype.shallow_cmp=It,Xn.prototype.shallow_cmp=It,gi.prototype.shallow_cmp=function(t){return this.value===t.value},fs.prototype.shallow_cmp=It,Yr.prototype.shallow_cmp=It,yr.prototype.shallow_cmp=It,gr.prototype.shallow_cmp=function(t){return this.is_star===t.is_star},wt.prototype.shallow_cmp=function(t){return this.alternative==null?t.alternative==null:this.alternative===t.alternative},qn.prototype.shallow_cmp=It,Bi.prototype.shallow_cmp=It,br.prototype.shallow_cmp=function(t){return this.body===t.body&&(this.bcatch==null?t.bcatch==null:this.bcatch===t.bcatch)&&(this.bfinally==null?t.bfinally==null:this.bfinally===t.bfinally)},Zr.prototype.shallow_cmp=function(t){return this.argname==null?t.argname==null:this.argname===t.argname},Wo.prototype.shallow_cmp=It,un.prototype.shallow_cmp=It,Lt.prototype.shallow_cmp=function(t){return this.value==null?t.value==null:this.value===t.value},ti.prototype.shallow_cmp=It,wr.prototype.shallow_cmp=function(t){return(this.imported_name==null?t.imported_name==null:this.imported_name===t.imported_name)&&(this.imported_names==null?t.imported_names==null:this.imported_names===t.imported_names)},Ui.prototype.shallow_cmp=It,On.prototype.shallow_cmp=function(t){return(this.exported_definition==null?t.exported_definition==null:this.exported_definition===t.exported_definition)&&(this.exported_value==null?t.exported_value==null:this.exported_value===t.exported_value)&&(this.exported_names==null?t.exported_names==null:this.exported_names===t.exported_names)&&this.module_name===t.module_name&&this.is_default===t.is_default},je.prototype.shallow_cmp=It,lt.prototype.shallow_cmp=It,Xe.prototype.shallow_cmp=It,gn.prototype.shallow_cmp=It,Wt.prototype.shallow_cmp=function(t){return this.property===t.property},Hr.prototype.shallow_cmp=function(t){return this.property===t.property},Xt.prototype.shallow_cmp=function(t){return this.operator===t.operator},ae.prototype.shallow_cmp=function(t){return this.operator===t.operator},tt.prototype.shallow_cmp=It,St.prototype.shallow_cmp=It,Nt.prototype.shallow_cmp=It,cn.prototype.shallow_cmp=It,Jt.prototype.shallow_cmp=function(t){return this.key===t.key},ri.prototype.shallow_cmp=function(t){return this.static===t.static},Gr.prototype.shallow_cmp=function(t){return this.static===t.static},Bn.prototype.shallow_cmp=function(t){return this.static===t.static&&this.is_generator===t.is_generator&&this.async===t.async},yt.prototype.shallow_cmp=function(t){return(this.name==null?t.name==null:this.name===t.name)&&(this.extends==null?t.extends==null:this.extends===t.extends)},lr.prototype.shallow_cmp=function(t){return this.static===t.static},pt.prototype.shallow_cmp=function(t){return this.name===t.name},Xo.prototype.shallow_cmp=It,jn.prototype.shallow_cmp=It,Jo.prototype.shallow_cmp=It,dt.prototype.shallow_cmp=function(t){return this.value===t.value},Qe.prototype.shallow_cmp=function(t){return this.value===t.value},ai.prototype.shallow_cmp=function(t){return this.value===t.value},fr.prototype.shallow_cmp=function(t){return this.value.flags===t.value.flags&&this.value.source===t.value.source},oo.prototype.shallow_cmp=It;const Fu=1,Ny=2;let Zo=null,Qo=null,ea=null;class ta{constructor(e,n,r){this.name=n.name,this.orig=[n],this.init=r,this.eliminated=0,this.assignments=0,this.scope=e,this.replaced=0,this.global=!1,this.export=0,this.mangled_name=null,this.undeclared=!1,this.id=ta.next_id++,this.chained=!1,this.direct_access=!1,this.escaped=0,this.recursive_refs=0,this.references=[],this.should_replace=void 0,this.single_use=!1,this.fixed=!1,Object.seal(this)}fixed_value(){return!this.fixed||this.fixed instanceof Ce?this.fixed:this.fixed()}unmangleable(e){return e||(e={}),Zo&&Zo.has(this.id)&&zo(e.keep_fnames,this.orig[0].name)?!0:this.global&&!e.toplevel||this.export&Fu||this.undeclared||!e.eval&&this.scope.pinned()||(this.orig[0]instanceof oi||this.orig[0]instanceof Ti)&&zo(e.keep_fnames,this.orig[0].name)||this.orig[0]instanceof Vn||(this.orig[0]instanceof Iu||this.orig[0]instanceof Nu)&&zo(e.keep_classnames,this.orig[0].name)}mangle(e){const n=e.cache&&e.cache.props;if(this.global&&n&&n.has(this.name))this.mangled_name=n.get(this.name);else if(!this.mangled_name&&!this.unmangleable(e)){var r=this.scope,s=this.orig[0];e.ie8&&s instanceof oi&&(r=r.parent_scope);const l=Vl(this);this.mangled_name=l?l.mangled_name||l.name:r.next_mangled(e,this),this.global&&n&&n.set(this.name,this.mangled_name)}}}ta.next_id=1;function Vl(t){if(t.orig[0]instanceof zr&&t.scope.is_block_scope())return t.scope.get_defun_scope().variables.get(t.name)}qe.DEFMETHOD("figure_out_scope",function(t,{parent_scope:e=null,toplevel:n=this}={}){if(t=_i(t,{cache:null,ie8:!1,safari10:!1,module:!1}),!(n instanceof zt))throw new Error("Invalid toplevel scope");var r=this.parent_scope=e,s=new Map,l=null,h=null,m=[],C=new Fn((T,I)=>{if(T.is_block_scope()){const D=r;if(T.block_scope=r=new qe(T),r._block_scope=!0,r.init_scope_vars(D),r.uses_with=D.uses_with,r.uses_eval=D.uses_eval,t.safari10&&(T instanceof Tn||T instanceof Wn||T instanceof Eo)&&m.push(r),T instanceof qn){const H=r;r=D,T.expression.walk(C),r=H;for(let X=0;X<T.body.length;X++)T.body[X].walk(C)}else I();return r=D,!0}if(T instanceof Vt){const D=h;return h=T,I(),h=D,!0}if(T instanceof qe){T.init_scope_vars(r);var B=r,L=l,b=s;return l=r=T,s=new Map,I(),r=B,l=L,s=b,!0}if(T instanceof Qn){var y=T.label;if(s.has(y.name))throw new Error(_u("Label {name} defined twice",y));return s.set(y.name,y),I(),s.delete(y.name),!0}if(T instanceof _r){for(var g=r;g;g=g.parent_scope)g.uses_with=!0;return}if(T instanceof pt&&(T.scope=r),T instanceof ps&&(T.thedef=T,T.references=[]),T instanceof oi)l.def_function(T,T.name=="arguments"?void 0:l);else if(T instanceof Ti){const D=l.parent_scope;T.scope=C.directives["use strict"]?D:D.get_defun_scope(),v(T.scope.def_function(T,l),1)}else if(T instanceof Iu)v(l.def_variable(T,l),1);else if(T instanceof Yo)r.def_variable(T);else if(T instanceof Nu)v((T.scope=l.parent_scope).def_function(T,l),1);else if(T instanceof ji||T instanceof qo||T instanceof io||T instanceof zr){var O;if(T instanceof $i?O=r.def_variable(T,null):O=l.def_variable(T,T.TYPE=="SymbolVar"?null:void 0),O.orig.every(D=>D===T?!0:T instanceof $i?D instanceof oi:!(D instanceof qo||D instanceof io))||Ou(`"${T.name}" is redeclared`,T.start.file,T.start.line,T.start.col,T.start.pos),T instanceof In||v(O,2),l!==r){T.mark_enclosed();var O=r.find_variable(T);T.thedef!==O&&(T.thedef=O,T.reference())}}else if(T instanceof Ll){var R=s.get(T.name);if(!R)throw new Error(_u("Undefined label {name} [{line},{col}]",{name:T.name,line:T.start.line,col:T.start.col}));T.thedef=R}!(r instanceof zt)&&(T instanceof On||T instanceof wr)&&Ou(`"${T.TYPE}" statement may only appear at the top level`,T.start.file,T.start.line,T.start.col,T.start.pos)});t.module&&(C.directives["use strict"]=!0),this.walk(C);function v(T,I){if(h){var B=0;do I++;while(C.parent(B++)!==h)}var L=C.parent(I);if(T.export=L instanceof On?Fu:0){var b=L.exported_definition;(b instanceof en||b instanceof Kr)&&L.is_default&&(T.export=Ny)}}this instanceof zt&&(this.globals=new Map);var C=new Fn(T=>{if(T instanceof Yr&&T.label)return T.label.thedef.references.push(T),!0;if(T instanceof xe){var I=T.name;if(I=="eval"&&C.parent()instanceof je)for(var B=T.scope;B&&!B.uses_eval;B=B.parent_scope)B.uses_eval=!0;var L;return C.parent()instanceof ti&&C.parent(1).module_name||!(L=T.scope.find_variable(I))?(L=n.def_global(T),T instanceof Ao&&(L.export=Fu)):L.scope instanceof Ge&&I=="arguments"&&(L.scope.get_defun_scope().uses_arguments=!0),T.thedef=L,T.reference(),T.scope.is_block_scope()&&!(L.orig[0]instanceof $i)&&(T.scope=T.scope.get_defun_scope()),!0}var b;if(T instanceof zr&&(b=Vl(T.definition())))for(var B=T.scope;B&&(go(B.enclosed,b),B!==b.scope);)B=B.parent_scope});if(this.walk(C),(t.ie8||t.safari10)&&Pn(this,T=>{if(T instanceof zr){var I=T.name,B=T.thedef.references,L=T.scope.get_defun_scope(),b=L.find_variable(I)||n.globals.get(I)||L.def_variable(T);return B.forEach(function(y){y.thedef=b,y.reference()}),T.thedef=b,T.reference(),!0}}),t.safari10)for(const T of m)T.parent_scope.variables.forEach(function(I){go(T.enclosed,I)})}),zt.DEFMETHOD("def_global",function(t){var e=this.globals,n=t.name;if(e.has(n))return e.get(n);var r=new ta(this,t);return r.undeclared=!0,r.global=!0,e.set(n,r),r}),qe.DEFMETHOD("init_scope_vars",function(t){this.variables=new Map,this.uses_with=!1,this.uses_eval=!1,this.parent_scope=t,this.enclosed=[],this.cname=-1}),qe.DEFMETHOD("conflicting_def",function(t){return this.enclosed.find(e=>e.name===t)||this.variables.has(t)||this.parent_scope&&this.parent_scope.conflicting_def(t)}),qe.DEFMETHOD("conflicting_def_shallow",function(t){return this.enclosed.find(e=>e.name===t)||this.variables.has(t)}),qe.DEFMETHOD("add_child_scope",function(t){if(t.parent_scope===this)return;t.parent_scope=this,t instanceof Yt&&!this.uses_arguments&&(this.uses_arguments=Pn(t,s=>{if(s instanceof xe&&s.scope instanceof Ge&&s.name==="arguments")return pr;if(s instanceof Ge&&!(s instanceof Yt))return!0})),this.uses_with=this.uses_with||t.uses_with,this.uses_eval=this.uses_eval||t.uses_eval;const e=(()=>{const s=[];let l=this;do s.push(l);while(l=l.parent_scope);return s.reverse(),s})(),n=new Set(t.enclosed),r=[];for(const s of e){r.forEach(l=>go(s.enclosed,l));for(const l of s.variables.values())n.has(l)&&(go(r,l),go(s.enclosed,l))}});function Iy(t){const e=new Set;for(const n of new Set(t))(function r(s){s==null||e.has(s)||(e.add(s),r(s.parent_scope))})(n);return[...e]}qe.DEFMETHOD("create_symbol",function(t,{source:e,tentative_name:n,scope:r,conflict_scopes:s=[r],init:l=null}={}){let h;if(s=Iy(s),n){n=h=n.replace(/(?:^[^a-z_$]|[^a-z0-9_$])/ig,"_");let v=0;for(;s.find(S=>S.conflicting_def_shallow(h));)h=n+"$"+v++}if(!h)throw new Error("No symbol name could be generated in create_symbol()");const m=P(t,e,{name:h,scope:r});return this.def_variable(m,l||null),m.mark_enclosed(),m}),Ce.DEFMETHOD("is_block_scope",vt),yt.DEFMETHOD("is_block_scope",vt),Ge.DEFMETHOD("is_block_scope",vt),zt.DEFMETHOD("is_block_scope",vt),Bi.DEFMETHOD("is_block_scope",vt),Sn.DEFMETHOD("is_block_scope",er),qe.DEFMETHOD("is_block_scope",function(){return this._block_scope||!1}),jr.DEFMETHOD("is_block_scope",er),Ge.DEFMETHOD("init_scope_vars",function(){qe.prototype.init_scope_vars.apply(this,arguments),this.uses_arguments=!1,this.def_variable(new In({name:"arguments",start:this.start,end:this.end}))}),Yt.DEFMETHOD("init_scope_vars",function(){qe.prototype.init_scope_vars.apply(this,arguments),this.uses_arguments=!1}),pt.DEFMETHOD("mark_enclosed",function(){for(var t=this.definition(),e=this.scope;e&&(go(e.enclosed,t),e!==t.scope);)e=e.parent_scope}),pt.DEFMETHOD("reference",function(){this.definition().references.push(this),this.mark_enclosed()}),qe.DEFMETHOD("find_variable",function(t){return t instanceof pt&&(t=t.name),this.variables.get(t)||this.parent_scope&&this.parent_scope.find_variable(t)}),qe.DEFMETHOD("def_function",function(t,e){var n=this.def_variable(t,e);return(!n.init||n.init instanceof en)&&(n.init=e),n}),qe.DEFMETHOD("def_variable",function(t,e){var n=this.variables.get(t.name);return n?(n.orig.push(t),n.init&&(n.scope!==t.scope||n.init instanceof Ft)&&(n.init=e)):(n=new ta(this,t,e),this.variables.set(t.name,n),n.global=!this.parent_scope),t.thedef=n});function jl(t,e){let n;ea&&(n=t.get_defun_scope())&&ea.has(n)&&(t=n);var r=t.enclosed,s=e.nth_identifier;e:for(;;){var l=s.get(++t.cname);if(!no.has(l)&&!e.reserved.has(l)){if(Qo&&Qo.has(l))continue e;for(let h=r.length;--h>=0;){const m=r[h],v=m.mangled_name||m.unmangleable(e)&&m.name;if(l==v)continue e}return l}}}qe.DEFMETHOD("next_mangled",function(t){return jl(this,t)}),zt.DEFMETHOD("next_mangled",function(t){let e;const n=this.mangled_names;do e=jl(this,t);while(n.has(e));return e}),Ft.DEFMETHOD("next_mangled",function(t,e){for(var n=e.orig[0]instanceof In&&this.name&&this.name.definition(),r=n?n.mangled_name||n.name:null;;){var s=jl(this,t);if(!r||r!=s)return s}}),pt.DEFMETHOD("unmangleable",function(t){var e=this.definition();return!e||e.unmangleable(t)}),ps.DEFMETHOD("unmangleable",vt),pt.DEFMETHOD("unreferenced",function(){return!this.definition().references.length&&!this.scope.pinned()}),pt.DEFMETHOD("definition",function(){return this.thedef}),pt.DEFMETHOD("global",function(){return this.thedef.global});function Lu(t){return t=_i(t,{eval:!1,nth_identifier:gs,ie8:!1,keep_classnames:!1,keep_fnames:!1,module:!1,reserved:[],toplevel:!1}),t.module&&(t.toplevel=!0),!Array.isArray(t.reserved)&&!(t.reserved instanceof Set)&&(t.reserved=[]),t.reserved=new Set(t.reserved),t.reserved.add("arguments"),t}zt.DEFMETHOD("mangle_names",function(t){t=Lu(t);var e=t.nth_identifier,n=-1,r=[];t.keep_fnames&&(Zo=new Set);const s=this.mangled_names=new Set;Qo=new Set,t.cache&&(this.globals.forEach(h),t.cache.props&&t.cache.props.forEach(function(m){s.add(m)}));var l=new Fn(function(m,v){if(m instanceof Qn){var S=n;return v(),n=S,!0}if(m instanceof en&&!(l.parent()instanceof qe)&&(ea=ea||new Set,ea.add(m.parent_scope.get_defun_scope())),m instanceof qe){m.variables.forEach(h);return}if(m.is_block_scope()){m.block_scope.variables.forEach(h);return}if(Zo&&m instanceof Lt&&m.value instanceof Ge&&!m.value.name&&zo(t.keep_fnames,m.name.name)){Zo.add(m.name.definition().id);return}if(m instanceof ps){let C;do C=e.get(++n);while(no.has(C));return m.mangled_name=C,!0}if(!(t.ie8||t.safari10)&&m instanceof zr){r.push(m.definition());return}});this.walk(l),(t.keep_fnames||t.keep_classnames)&&r.forEach(m=>{m.name.length<6&&m.unmangleable(t)&&Qo.add(m.name)}),r.forEach(m=>{m.mangle(t)}),Zo=null,Qo=null,ea=null;function h(m){m.export&Fu?Qo.add(m.name):t.reserved.has(m.name)||r.push(m)}}),zt.DEFMETHOD("find_colliding_names",function(t){const e=t.cache&&t.cache.props,n=new Set;return t.reserved.forEach(r),this.globals.forEach(s),this.walk(new Fn(function(l){l instanceof qe&&l.variables.forEach(s),l instanceof zr&&s(l.definition())})),n;function r(l){n.add(l)}function s(l){var h=l.name;if(l.global&&e&&e.has(h))h=e.get(h);else if(!l.unmangleable(t))return;r(h)}}),zt.DEFMETHOD("expand_names",function(t){t=Lu(t);var e=t.nth_identifier;e.reset&&e.sort&&(e.reset(),e.sort());var n=this.find_colliding_names(t),r=0;this.globals.forEach(l),this.walk(new Fn(function(h){h instanceof qe&&h.variables.forEach(l),h instanceof zr&&l(h.definition())}));function s(){var h;do h=e.get(r++);while(n.has(h)||no.has(h));return h}function l(h){if(h.global&&t.cache||h.unmangleable(t)||t.reserved.has(h.name))return;const m=Vl(h),v=h.name=m?m.name:s();h.orig.forEach(function(S){S.name=v}),h.references.forEach(function(S){S.name=v})}}),Ce.DEFMETHOD("tail_node",yo),lt.DEFMETHOD("tail_node",function(){return this.expressions[this.expressions.length-1]}),zt.DEFMETHOD("compute_char_frequency",function(t){t=Lu(t);var e=t.nth_identifier;if(!e.reset||!e.consider||!e.sort)return;e.reset();try{Ce.prototype.print=function(r,s){this._print(r,s),this instanceof pt&&!this.unmangleable(t)?e.consider(this.name,-1):t.properties&&(this instanceof Hr?e.consider("#"+this.property,-1):this instanceof Wt?e.consider(this.property,-1):this instanceof An&&n(this.property))},e.consider(this.print_to_string(),1)}finally{Ce.prototype.print=Ce.prototype._print}e.sort();function n(r){r instanceof dt?e.consider(r.value,-1):r instanceof tt?(n(r.consequent),n(r.alternative)):r instanceof lt&&n(r.tail_node())}});const gs=(()=>{const t="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ$_".split(""),e="0123456789".split("");let n,r;function s(){r=new Map,t.forEach(function(S){r.set(S,0)}),e.forEach(function(S){r.set(S,0)})}function l(S,C){for(var T=S.length;--T>=0;)r.set(S[T],r.get(S[T])+C)}function h(S,C){return r.get(C)-r.get(S)}function m(){n=Kp(t,h).concat(Kp(e,h))}s(),m();function v(S){var C="",T=54;S++;do S--,C+=n[S%T],S=Math.floor(S/T),T=64;while(S>0);return C}return{get:v,consider:l,reset:s,sort:m}})();let Mu;Ce.prototype.size=function(t,e){Mu=t&&t._mangle_options;let n=0;return sd(this,(r,s)=>{if(n+=r._size(s),r instanceof Yt&&r.is_braceless())return n+=r.body[0].value._size(s),!0},e||t&&t.stack),Mu=void 0,n},Ce.prototype._size=()=>0,Fi.prototype._size=()=>8,nr.prototype._size=function(){return 2+this.value.length};const nn=t=>t.length&&t.length-1;Sn.prototype._size=function(){return 2+nn(this.body)},zt.prototype._size=function(){return nn(this.body)},Rt.prototype._size=()=>1,Qn.prototype._size=()=>2,yi.prototype._size=()=>9,Li.prototype._size=()=>7,Tn.prototype._size=()=>8,Wn.prototype._size=()=>8,_r.prototype._size=()=>6,ht.prototype._size=()=>3;const bs=t=>(t.is_generator?1:0)+(t.async?6:0);Mi.prototype._size=function(){return bs(this)+4+nn(this.argnames)+nn(this.body)},Ft.prototype._size=function(t){return!!si(t)*2+bs(this)+12+nn(this.argnames)+nn(this.body)},en.prototype._size=function(){return bs(this)+13+nn(this.argnames)+nn(this.body)},Yt.prototype._size=function(){let t=2+nn(this.argnames);this.argnames.length===1&&this.argnames[0]instanceof pt||(t+=2);const e=this.is_braceless()?0:nn(this.body)+2;return bs(this)+t+e},Vt.prototype._size=()=>2,Xn.prototype._size=function(){return 2+Math.floor(this.segments.length/2)*3},gi.prototype._size=function(){return this.value.length},sn.prototype._size=function(){return this.value?7:6},hs.prototype._size=()=>6,Rr.prototype._size=function(){return this.label?6:5},ro.prototype._size=function(){return this.label?9:8},wt.prototype._size=()=>4,qn.prototype._size=function(){return 8+nn(this.body)},Jr.prototype._size=function(){return 5+nn(this.body)},So.prototype._size=function(){return 8+nn(this.body)},br.prototype._size=()=>3,Zr.prototype._size=function(){let t=7+nn(this.body);return this.argname&&(t+=2),t},Wo.prototype._size=function(){return 7+nn(this.body)},wn.prototype._size=function(){return 4+nn(this.definitions)},Qr.prototype._size=function(){return 4+nn(this.definitions)},ei.prototype._size=function(){return 6+nn(this.definitions)},Lt.prototype._size=function(){return this.value?1:0},ti.prototype._size=function(){return this.name?4:0},wr.prototype._size=function(){let t=6;return this.imported_name&&(t+=1),(this.imported_name||this.imported_names)&&(t+=5),this.imported_names&&(t+=2+nn(this.imported_names)),t},Ui.prototype._size=()=>11,On.prototype._size=function(){let t=7+(this.is_default?8:0);return this.exported_value&&(t+=this.exported_value._size()),this.exported_names&&(t+=2+nn(this.exported_names)),this.module_name&&(t+=5),t},je.prototype._size=function(){return this.optional?4+nn(this.args):2+nn(this.args)},rr.prototype._size=function(){return 6+nn(this.args)},lt.prototype._size=function(){return nn(this.expressions)},Wt.prototype._size=function(){return this.optional?this.property.length+2:this.property.length+1},Hr.prototype._size=function(){return this.optional?this.property.length+3:this.property.length+2},An.prototype._size=function(){return this.optional?4:2},Xt.prototype._size=function(){return this.operator==="typeof"?7:this.operator==="void"?5:this.operator.length},ae.prototype._size=function(t){if(this.operator==="in")return 4;let e=this.operator.length;return(this.operator==="+"||this.operator==="-")&&this.right instanceof Xt&&this.right.operator===this.operator&&(e+=1),this.needs_parens(t)&&(e+=2),e},tt.prototype._size=()=>3,St.prototype._size=function(){return 2+nn(this.elements)},Nt.prototype._size=function(t){let e=2;return si(t)&&(e+=2),e+nn(this.properties)};const Bu=t=>typeof t=="string"?t.length:0;Jt.prototype._size=function(){return Bu(this.key)+1};const Uu=t=>t?7:0;Gr.prototype._size=function(){return 5+Uu(this.static)+Bu(this.key)},ri.prototype._size=function(){return 5+Uu(this.static)+Bu(this.key)},Bn.prototype._size=function(){return Uu(this.static)+Bu(this.key)+bs(this)},vi.prototype._size=function(){return Bn.prototype._size.call(this)+1},ni.prototype._size=bi.prototype._size=function(){return Bn.prototype._size.call(this)+4},ii.prototype._size=function(){return 5},yt.prototype._size=function(){return(this.name?8:7)+(this.extends?8:0)},Yn.prototype._size=function(){return 8+nn(this.body)},lr.prototype._size=function(){return Uu(this.static)+(typeof this.key=="string"?this.key.length+2:0)+(this.value?1:0)},Ei.prototype._size=function(){return lr.prototype._size.call(this)+1},pt.prototype._size=function(){return Mu&&this.thedef&&!this.thedef.unmangleable(Mu)?1:this.name.length},Hi.prototype._size=function(){return this.name.length},xe.prototype._size=Nn.prototype._size=function(){return this.name==="arguments"?9:pt.prototype._size.call(this)},Xo.prototype._size=()=>10,To.prototype._size=function(){return this.name.length},Ai.prototype._size=function(){return this.name.length},jn.prototype._size=()=>4,Jo.prototype._size=()=>5,dt.prototype._size=function(){return this.value.length+2},Qe.prototype._size=function(){const{value:t}=this;return t===0?1:t>0&&Math.floor(t)===t?Math.floor(Math.log10(t)+1):t.toString().length},ai.prototype._size=function(){return this.value.length},fr.prototype._size=function(){return this.value.toString().length},hr.prototype._size=()=>4,ms.prototype._size=()=>3,tn.prototype._size=()=>6,Ir.prototype._size=()=>0,ao.prototype._size=()=>8,vr.prototype._size=()=>4,Gi.prototype._size=()=>5,yr.prototype._size=()=>6,gr.prototype._size=()=>6;const so=1,$l=2,Hl=4,Gl=8,vs=16,na=32,Co=256,Kl=512,zl=1024,Py=Co|Kl|zl,$n=(t,e)=>t.flags&e,Er=(t,e)=>{t.flags|=e},ra=(t,e)=>{t.flags&=~e};function Wl(t,e){return e instanceof lt?t.push(...e.expressions):t.push(e),t}function nt(t,e){if(e.length==1)return e[0];if(e.length==0)throw new Error("trying to create a sequence with length zero!");return P(lt,t,{expressions:e.reduce(Wl,[])})}function ir(t,e){switch(typeof t){case"string":return P(dt,e,{value:t});case"number":return isNaN(t)?P(ms,e):isFinite(t)?1/t<0?P(We,e,{operator:"-",expression:P(Qe,e,{value:-t})}):P(Qe,e,{value:t}):t<0?P(We,e,{operator:"-",expression:P(ao,e)}):P(ao,e);case"bigint":return P(ai,e,{value:t.toString()});case"boolean":return P(t?vr:Gi,e);case"undefined":return P(tn,e);default:if(t===null)return P(hr,e,{value:null});if(t instanceof RegExp)return P(fr,e,{value:{source:gu(t.source),flags:t.flags}});throw new Error(_u("Can't handle constant of type: {type}",{type:typeof t}))}}function zi(t,e){return t.size()>e.size()?e:t}function Fy(t,e){return zi(P($e,t,{body:t}),P($e,e,{body:e})).body}function Sr(t,e,n){return si(t)?Fy(e,n):zi(e,n)}function hd(t){if(t instanceof Tt)return t.getValue();if(!(t instanceof We&&t.operator=="void"&&t.expression instanceof Tt))return t}function pd(t,e){if(e=hd(e),!(e instanceof Ce)){var n;if(t instanceof St){var r=t.elements;if(e=="length")return ir(r.length,t);typeof e=="number"&&e in r&&(n=r[e])}else if(t instanceof Nt){e=""+e;for(var s=t.properties,l=s.length;--l>=0;){var h=s[l];if(!(h instanceof Jt))return;!n&&s[l].key===e&&(n=s[l].value)}}return n instanceof xe&&n.fixed_value()||n}}function Xl(t,e){var n=!1,r=new Fn(function(s){if(n||s instanceof qe)return!0;if(s instanceof Yr&&r.loopcontrol_target(s)===t)return n=!0});return e instanceof Qn&&r.push(e),r.push(t),t.body.walk(r),n}function Oo(t,e,n){if(t instanceof We&&t.operator=="delete"||t instanceof je&&t.expression===e&&(n instanceof gn||n instanceof Xe||n instanceof xe&&n.name=="eval")){const r=P(Qe,e,{value:0});return nt(e,[r,n])}else return n}function Vu(t){return t instanceof Yt||t instanceof Ft}function ql(t){return t.TYPE!="Call"?!1:t.expression instanceof Ft||ql(t.expression)}function uo(t){return t===null||t instanceof Rt?!0:t instanceof Ze?t.body.length==0:!1}const dd=Ct("Infinity NaN undefined");function md(t){return t instanceof ao||t instanceof ms||t instanceof tn}function Yl(t,e){if(!(t instanceof xe))return!1;for(var n=t.definition().orig,r=n.length;--r>=0;)if(n[r]instanceof e)return!0}function Jl(t){return!(t instanceof Kr||t instanceof en||t instanceof Qr||t instanceof ei||t instanceof On||t instanceof wr)}function ju(t){if(t===null)return[];if(t instanceof Ze)return t.body;if(t instanceof Rt)return[];if(t instanceof Rn)return[t];throw new Error("Can't convert thing to statement array")}function _d(t,e){const n=r=>{if(r instanceof xe&&e.includes(r.definition()))return pr};return sd(t,(r,s)=>{if(r instanceof qe&&r!==t){var l=s.parent();return l instanceof je&&l.expression===r&&!(r.async||r.is_generator)?void 0:Pn(r,n)?pr:!0}})}function Zl(t,e){for(var n,r=0;n=t.parent(r);r++)if(n instanceof Ge||n instanceof yt){var s=n.name;if(s&&s.definition()===e)return!0}return!1}function yd(t,e){return e.top_retain&&t instanceof en&&$n(t,zl)&&t.name&&e.top_retain(t.name.definition())}function Ql(t){const e=new Map;for(var n of Object.keys(t))e.set(n,Ct(t[n]));return(s,l)=>{const h=e.get(s);return h!=null&&h.has(l)}}const $u=new Set(["Number","String","Array","Object","Function","Promise"]),Do=["constructor","toString","valueOf"],gd=Ql({Array:["at","flat","includes","indexOf","join","lastIndexOf","slice",...Do],Boolean:Do,Function:Do,Number:["toExponential","toFixed","toPrecision",...Do],Object:Do,RegExp:["test",...Do],String:["at","charAt","charCodeAt","charPointAt","concat","endsWith","fromCharCode","fromCodePoint","includes","indexOf","italics","lastIndexOf","localeCompare","match","matchAll","normalize","padStart","padEnd","repeat","replace","replaceAll","search","slice","split","startsWith","substr","substring","repeat","toLocaleLowerCase","toLocaleUpperCase","toLowerCase","toUpperCase","trim","trimEnd","trimStart",...Do]}),bd=Ql({Array:["isArray"],Math:["abs","acos","asin","atan","ceil","cos","exp","floor","log","round","sin","sqrt","tan","atan2","pow","max","min"],Number:["isFinite","isNaN"],Object:["create","getOwnPropertyDescriptor","getOwnPropertyNames","getPrototypeOf","isExtensible","isFrozen","isSealed","hasOwn","keys"],String:["fromCharCode"]}),Ly=Ql({Math:["E","LN10","LN2","LOG2E","LOG10E","PI","SQRT1_2","SQRT2"],Number:["MAX_VALUE","MIN_VALUE","NaN","NEGATIVE_INFINITY","POSITIVE_INFINITY"]}),ui=t=>t instanceof xe&&t.definition().undeclared,ef=Ct("<<< >> << & | ^ ~"),ko=Ct("&& || ??"),Hu=Ct("delete ++ --");(function(t){const e=Ct("! delete"),n=Ct("in instanceof == != === !== < <= >= >");t(Ce,vt),t(We,function(){return e.has(this.operator)}),t(ae,function(){return n.has(this.operator)||ko.has(this.operator)&&this.left.is_boolean()&&this.right.is_boolean()}),t(tt,function(){return this.consequent.is_boolean()&&this.alternative.is_boolean()}),t(st,function(){return this.operator=="="&&this.right.is_boolean()}),t(lt,function(){return this.tail_node().is_boolean()}),t(vr,er),t(Gi,er)})(function(t,e){t.DEFMETHOD("is_boolean",e)}),function(t){t(Ce,vt),t(Qe,er);const e=Ct("+ - ~ ++ --");t(Xt,function(){return e.has(this.operator)&&!(this.expression instanceof ai)});const n=Ct("- * / % & | ^ << >> >>>");t(ae,function(r){return n.has(this.operator)||this.operator=="+"&&this.left.is_number(r)&&this.right.is_number(r)}),t(st,function(r){return n.has(this.operator.slice(0,-1))||this.operator=="="&&this.right.is_number(r)}),t(lt,function(r){return this.tail_node().is_number(r)}),t(tt,function(r){return this.consequent.is_number(r)&&this.alternative.is_number(r)})}(function(t,e){t.DEFMETHOD("is_number",e)}),function(t){t(Ce,vt),t(Qe,function(){return this.value===(this.value|0)}),t(We,function(){return this.operator=="~"?this.expression.is_number():this.operator==="+"?this.expression.is_32_bit_integer():!1}),t(ae,function(){return ef.has(this.operator)})}(function(t,e){t.DEFMETHOD("is_32_bit_integer",e)}),function(t){t(Ce,vt),t(dt,er),t(Xn,er),t(We,function(){return this.operator=="typeof"}),t(ae,function(e){return this.operator=="+"&&(this.left.is_string(e)||this.right.is_string(e))}),t(st,function(e){return(this.operator=="="||this.operator=="+=")&&this.right.is_string(e)}),t(lt,function(e){return this.tail_node().is_string(e)}),t(tt,function(e){return this.consequent.is_string(e)&&this.alternative.is_string(e)})}(function(t,e){t.DEFMETHOD("is_string",e)});function ci(t,e){return $n(t,Gl)||t instanceof tn||t instanceof We&&t.operator=="void"&&!t.expression.has_side_effects(e)}function vd(t,e){let n;return t instanceof hr||ci(t,e)||t instanceof xe&&(n=t.definition().fixed)instanceof Ce&&li(n,e)}function ia(t,e){return t instanceof Xe||t instanceof je?t.optional&&vd(t.expression,e)||ia(t.expression,e):t instanceof gn?ia(t.expression,e):!1}function li(t,e){return vd(t,e)?!0:ia(t,e)}(function(t){t(Ce,er),t(Rt,vt),t(Tt,vt),t(jn,vt);function e(n,r){for(var s=n.length;--s>=0;)if(n[s].has_side_effects(r))return!0;return!1}t(Sn,function(n){return e(this.body,n)}),t(je,function(n){return!this.is_callee_pure(n)&&(!this.expression.is_call_pure(n)||this.expression.has_side_effects(n))?!0:e(this.args,n)}),t(qn,function(n){return this.expression.has_side_effects(n)||e(this.body,n)}),t(Jr,function(n){return this.expression.has_side_effects(n)||e(this.body,n)}),t(br,function(n){return this.body.has_side_effects(n)||this.bcatch&&this.bcatch.has_side_effects(n)||this.bfinally&&this.bfinally.has_side_effects(n)}),t(wt,function(n){return this.condition.has_side_effects(n)||this.body&&this.body.has_side_effects(n)||this.alternative&&this.alternative.has_side_effects(n)}),t(Ui,vt),t(Qn,function(n){return this.body.has_side_effects(n)}),t($e,function(n){return this.body.has_side_effects(n)}),t(Ge,vt),t(yt,function(n){return this.extends&&this.extends.has_side_effects(n)?!0:e(this.properties,n)}),t(Yn,function(n){return e(this.body,n)}),t(ae,function(n){return this.left.has_side_effects(n)||this.right.has_side_effects(n)}),t(st,er),t(tt,function(n){return this.condition.has_side_effects(n)||this.consequent.has_side_effects(n)||this.alternative.has_side_effects(n)}),t(Xt,function(n){return Hu.has(this.operator)||this.expression.has_side_effects(n)}),t(xe,function(n){return!this.is_declared(n)&&!$u.has(this.name)}),t(Hi,vt),t(Nn,vt),t(Nt,function(n){return e(this.properties,n)}),t(cn,function(n){return this.computed_key()&&this.key.has_side_effects(n)||this.value&&this.value.has_side_effects(n)}),t(lr,function(n){return this.computed_key()&&this.key.has_side_effects(n)||this.static&&this.value&&this.value.has_side_effects(n)}),t(Bn,function(n){return this.computed_key()&&this.key.has_side_effects(n)}),t(Gr,function(n){return this.computed_key()&&this.key.has_side_effects(n)}),t(ri,function(n){return this.computed_key()&&this.key.has_side_effects(n)}),t(St,function(n){return e(this.elements,n)}),t(Wt,function(n){return li(this,n)?this.expression.has_side_effects(n):!this.optional&&this.expression.may_throw_on_access(n)?!0:this.expression.has_side_effects(n)}),t(An,function(n){if(li(this,n))return this.expression.has_side_effects(n);if(!this.optional&&this.expression.may_throw_on_access(n))return!0;var r=this.property.has_side_effects(n);return r&&this.optional?!0:r||this.expression.has_side_effects(n)}),t(gn,function(n){return this.expression.has_side_effects(n)}),t(lt,function(n){return e(this.expressions,n)}),t(un,function(n){return e(this.definitions,n)}),t(Lt,function(){return this.value}),t(gi,vt),t(Xn,function(n){return e(this.segments,n)})})(function(t,e){t.DEFMETHOD("has_side_effects",e)}),function(t){t(Ce,er),t(Tt,vt),t(Rt,vt),t(Ge,vt),t(Nn,vt),t(jn,vt),t(Ui,vt);function e(n,r){for(var s=n.length;--s>=0;)if(n[s].may_throw(r))return!0;return!1}t(yt,function(n){return this.extends&&this.extends.may_throw(n)?!0:e(this.properties,n)}),t(Yn,function(n){return e(this.body,n)}),t(St,function(n){return e(this.elements,n)}),t(st,function(n){return this.right.may_throw(n)?!0:!n.has_directive("use strict")&&this.operator=="="&&this.left instanceof xe?!1:this.left.may_throw(n)}),t(ae,function(n){return this.left.may_throw(n)||this.right.may_throw(n)}),t(Sn,function(n){return e(this.body,n)}),t(je,function(n){return li(this,n)?!1:e(this.args,n)?!0:this.is_callee_pure(n)?!1:this.expression.may_throw(n)?!0:!(this.expression instanceof Ge)||e(this.expression.body,n)}),t(Jr,function(n){return this.expression.may_throw(n)||e(this.body,n)}),t(tt,function(n){return this.condition.may_throw(n)||this.consequent.may_throw(n)||this.alternative.may_throw(n)}),t(un,function(n){return e(this.definitions,n)}),t(wt,function(n){return this.condition.may_throw(n)||this.body&&this.body.may_throw(n)||this.alternative&&this.alternative.may_throw(n)}),t(Qn,function(n){return this.body.may_throw(n)}),t(Nt,function(n){return e(this.properties,n)}),t(cn,function(n){return this.value?this.value.may_throw(n):!1}),t(lr,function(n){return this.computed_key()&&this.key.may_throw(n)||this.static&&this.value&&this.value.may_throw(n)}),t(Bn,function(n){return this.computed_key()&&this.key.may_throw(n)}),t(Gr,function(n){return this.computed_key()&&this.key.may_throw(n)}),t(ri,function(n){return this.computed_key()&&this.key.may_throw(n)}),t(sn,function(n){return this.value&&this.value.may_throw(n)}),t(lt,function(n){return e(this.expressions,n)}),t($e,function(n){return this.body.may_throw(n)}),t(Wt,function(n){return li(this,n)?!1:!this.optional&&this.expression.may_throw_on_access(n)||this.expression.may_throw(n)}),t(An,function(n){return li(this,n)?!1:!this.optional&&this.expression.may_throw_on_access(n)||this.expression.may_throw(n)||this.property.may_throw(n)}),t(gn,function(n){return this.expression.may_throw(n)}),t(qn,function(n){return this.expression.may_throw(n)||e(this.body,n)}),t(xe,function(n){return!this.is_declared(n)&&!$u.has(this.name)}),t(Hi,vt),t(br,function(n){return this.bcatch?this.bcatch.may_throw(n):this.body.may_throw(n)||this.bfinally&&this.bfinally.may_throw(n)}),t(Xt,function(n){return this.operator=="typeof"&&this.expression instanceof xe?!1:this.expression.may_throw(n)}),t(Lt,function(n){return this.value?this.value.may_throw(n):!1})}(function(t,e){t.DEFMETHOD("may_throw",e)}),function(t){function e(n){let r=!0;return Pn(this,s=>{if(s instanceof xe){if($n(this,vs))return r=!1,pr;var l=s.definition();if(Dl(l,this.enclosed)&&!this.variables.has(l.name)){if(n){var h=n.find_variable(s);if(l.undeclared?!h:h===l)return r="f",!0}return r=!1,pr}return!0}if(s instanceof jn&&this instanceof Yt)return r=!1,pr}),r}t(Ce,vt),t(Tt,er),t(yt,function(n){if(this.extends&&!this.extends.is_constant_expression(n))return!1;for(const r of this.properties)if(r.computed_key()&&!r.key.is_constant_expression(n)||r.static&&r.value&&!r.value.is_constant_expression(n)||r instanceof Yn)return!1;return e.call(this,n)}),t(Ge,e),t(Xt,function(){return this.expression.is_constant_expression()}),t(ae,function(){return this.left.is_constant_expression()&&this.right.is_constant_expression()}),t(St,function(){return this.elements.every(n=>n.is_constant_expression())}),t(Nt,function(){return this.properties.every(n=>n.is_constant_expression())}),t(cn,function(){return!!(!(this.key instanceof Ce)&&this.value&&this.value.is_constant_expression())})}(function(t,e){t.DEFMETHOD("is_constant_expression",e)}),function(t){Ce.DEFMETHOD("may_throw_on_access",function(n){return!n.option("pure_getters")||this._dot_throw(n)});function e(n){return/strict/.test(n.option("pure_getters"))}t(Ce,e),t(hr,er),t(tn,er),t(Tt,vt),t(St,vt),t(Nt,function(n){if(!e(n))return!1;for(var r=this.properties.length;--r>=0;)if(this.properties[r]._dot_throw(n))return!0;return!1}),t(yt,vt),t(cn,vt),t(Gr,er),t(ht,function(n){return this.expression._dot_throw(n)}),t(Ft,vt),t(Yt,vt),t(Vi,vt),t(We,function(){return this.operator=="void"}),t(ae,function(n){return(this.operator=="&&"||this.operator=="||"||this.operator=="??")&&(this.left._dot_throw(n)||this.right._dot_throw(n))}),t(st,function(n){return this.logical?!0:this.operator=="="&&this.right._dot_throw(n)}),t(tt,function(n){return this.consequent._dot_throw(n)||this.alternative._dot_throw(n)}),t(Wt,function(n){return e(n)?this.property=="prototype"?!(this.expression instanceof Ft||this.expression instanceof yt):!0:!1}),t(gn,function(n){return this.expression._dot_throw(n)}),t(lt,function(n){return this.tail_node()._dot_throw(n)}),t(xe,function(n){if(this.name==="arguments"&&this.scope instanceof Ge)return!1;if($n(this,Gl))return!0;if(!e(n)||ui(this)&&this.is_declared(n)||this.is_immutable())return!1;var r=this.fixed_value();return!r||r._dot_throw(n)})}(function(t,e){t.DEFMETHOD("_dot_throw",e)});function Ro(t,e){if(e instanceof Xt&&Hu.has(e.operator))return e.expression;if(e instanceof st&&e.left===t||e instanceof Wn&&e.init===t)return t}(function(t){function e(r){return P(We,r,{operator:"!",expression:r})}function n(r,s,l){var h=e(r);if(l){var m=P($e,s,{body:s});return zi(h,m)===m?s:h}return zi(h,s)}t(Ce,function(){return e(this)}),t(Rn,function(){throw new Error("Cannot negate a statement")}),t(Ft,function(){return e(this)}),t(yt,function(){return e(this)}),t(Yt,function(){return e(this)}),t(We,function(){return this.operator=="!"?this.expression:e(this)}),t(lt,function(r){var s=this.expressions.slice();return s.push(s.pop().negate(r)),nt(this,s)}),t(tt,function(r,s){var l=this.clone();return l.consequent=l.consequent.negate(r),l.alternative=l.alternative.negate(r),n(this,l,s)}),t(ae,function(r,s){var l=this.clone(),h=this.operator;if(r.option("unsafe_comps"))switch(h){case"<=":return l.operator=">",l;case"<":return l.operator=">=",l;case">=":return l.operator="<",l;case">":return l.operator="<=",l}switch(h){case"==":return l.operator="!=",l;case"!=":return l.operator="==",l;case"===":return l.operator="!==",l;case"!==":return l.operator="===",l;case"&&":return l.operator="||",l.left=l.left.negate(r,s),l.right=l.right.negate(r),n(this,l,s);case"||":return l.operator="&&",l.left=l.left.negate(r,s),l.right=l.right.negate(r),n(this,l,s)}return e(this)})})(function(t,e){t.DEFMETHOD("negate",function(n,r){return e.call(this,n,r)})}),function(t){function e(n){return P(We,n,{operator:"~",expression:n})}t(Ce,function(){return e(this)}),t(Qe,function(){const n=~this.value;return n.toString().length>this.value.toString().length?e(this):P(Qe,this,{value:n})}),t(We,function(n){return this.operator=="~"&&(n||this.expression.is_32_bit_integer())?this.expression:e(this)})}(function(t,e){t.DEFMETHOD("bitwise_negate",e)});var My=Ct("Boolean decodeURI decodeURIComponent Date encodeURI encodeURIComponent Error escape EvalError isFinite isNaN Number Object parseFloat parseInt RangeError ReferenceError String SyntaxError TypeError unescape URIError");je.DEFMETHOD("is_callee_pure",function(t){if(t.option("unsafe")){var e=this.expression,n=this.args&&this.args[0]&&this.args[0].evaluate(t);if(e.expression&&e.expression.name==="hasOwnProperty"&&(n==null||n.thedef&&n.thedef.undeclared))return!1;if(ui(e)&&My.has(e.name)||e instanceof Wt&&ui(e.expression)&&bd(e.expression.name,e.property))return!0}return this instanceof rr&&t.option("pure_new")||t.option("side_effects")&&sr(this,Ml)?!0:!t.pure_funcs(this)}),Ce.DEFMETHOD("is_call_pure",vt),Wt.DEFMETHOD("is_call_pure",function(t){if(!t.option("unsafe"))return;const e=this.expression;let n;return e instanceof St?n="Array":e.is_boolean()?n="Boolean":e.is_number(t)?n="Number":e instanceof fr?n="RegExp":e.is_string(t)?n="String":this.may_throw_on_access(t)||(n="Object"),n!=null&&gd(n,this.property)});const Pr=t=>t&&t.aborts();(function(t){t(Rn,to),t(fs,yo);function e(){for(var n=0;n<this.body.length;n++)if(Pr(this.body[n]))return this.body[n];return null}t(wr,to),t(Ze,e),t(Bi,e),t(Kr,function(){for(const n of this.properties)if(n instanceof Yn&&n.aborts())return n;return null}),t(Yn,e),t(wt,function(){return this.alternative&&Pr(this.body)&&Pr(this.alternative)&&this})})(function(t,e){t.DEFMETHOD("aborts",e)}),Ce.DEFMETHOD("contains_this",function(){return Pn(this,t=>{if(t instanceof jn)return pr;if(t!==this&&t instanceof qe&&!(t instanceof Yt))return!0})});function oa(t,e,n,r,s,l){var h=e.parent(s),m=Ro(n,h);if(m)return m;if(!l&&h instanceof je&&h.expression===n&&!(r instanceof Yt)&&!(r instanceof yt)&&!h.is_callee_pure(t)&&(!(r instanceof Ft)||!(h instanceof rr)&&r.contains_this()))return!0;if(h instanceof St)return oa(t,e,h,h,s+1);if(h instanceof Jt&&n===h.value){var v=e.parent(s+1);return oa(t,e,v,v,s+2)}if(h instanceof Xe&&h.expression===n){var S=pd(r,h.property);return!l&&oa(t,e,h,S,s+1)}}function Hn(t,e){t.DEFMETHOD("_eval",e)}const aa=Symbol("This AST_Chain is nullish");Ce.DEFMETHOD("evaluate",function(t){if(!t.option("evaluate"))return this;var e=this._eval(t,1);if(!e||e instanceof RegExp)return e;if(typeof e=="function"||typeof e=="object"||e==aa)return this;if(typeof e=="string"){const n=this.size(t);if(e.length+2>n)return this}return e});var By=Ct("! ~ - + void");Ce.DEFMETHOD("is_constant",function(){return this instanceof Tt?!(this instanceof fr):this instanceof We&&this.expression instanceof Tt&&By.has(this.operator)}),Hn(Rn,function(){throw new Error(_u("Cannot evaluate a statement [{file}:{line},{col}]",this.start))}),Hn(Ge,yo),Hn(yt,yo),Hn(Ce,yo),Hn(Tt,function(){return this.getValue()});const Uy=typeof BigInt=="function";Hn(ai,function(){return Uy?BigInt(this.value):this}),Hn(fr,function(t){let e=t.evaluated_regexps.get(this.value);if(e===void 0&&zp(this.value.source)){try{const{source:n,flags:r}=this.value;e=new RegExp(n,r)}catch{e=null}t.evaluated_regexps.set(this.value,e)}return e||this}),Hn(Xn,function(){return this.segments.length!==1?this:this.segments[0].value}),Hn(Ft,function(t){if(t.option("unsafe")){var e=function(){};return e.node=this,e.toString=()=>this.print_to_string(),e}return this}),Hn(St,function(t,e){if(t.option("unsafe")){for(var n=[],r=0,s=this.elements.length;r<s;r++){var l=this.elements[r],h=l._eval(t,e);if(l===h)return this;n.push(h)}return n}return this}),Hn(Nt,function(t,e){if(t.option("unsafe")){for(var n={},r=0,s=this.properties.length;r<s;r++){var l=this.properties[r];if(l instanceof ht)return this;var h=l.key;if(h instanceof pt)h=h.name;else if(h instanceof Ce&&(h=h._eval(t,e),h===l.key))return this;if(typeof Object.prototype[h]=="function")return this;if(!(l.value instanceof Ft)&&(n[h]=l.value._eval(t,e),n[h]===l.value))return this}return n}return this});var Vy=Ct("! typeof void");Hn(We,function(t,e){var n=this.expression;if(t.option("typeofs")&&this.operator=="typeof"&&(n instanceof Ge||n instanceof xe&&n.fixed_value()instanceof Ge))return"function";if(Vy.has(this.operator)||e++,n=n._eval(t,e),n===this.expression)return this;switch(this.operator){case"!":return!n;case"typeof":return n instanceof RegExp?this:typeof n;case"void":return;case"~":return~n;case"-":return-n;case"+":return+n}return this});var jy=Ct("&& || ?? === !==");const $y=Ct("== != === !=="),Ed=t=>typeof t=="object"||typeof t=="function"||typeof t=="symbol";Hn(ae,function(t,e){jy.has(this.operator)||e++;var n=this.left._eval(t,e);if(n===this.left)return this;var r=this.right._eval(t,e);if(r===this.right)return this;if(n!=null&&r!=null&&$y.has(this.operator)&&Ed(n)&&Ed(r)&&typeof n==typeof r)return this;if(typeof n=="bigint"!=(typeof r=="bigint")||typeof n=="bigint"&&(this.operator===">>>"||this.operator==="/"&&Number(r)===0))return this;var s;switch(this.operator){case"&&":s=n&&r;break;case"||":s=n||r;break;case"??":s=n??r;break;case"|":s=n|r;break;case"&":s=n&r;break;case"^":s=n^r;break;case"+":s=n+r;break;case"*":s=n*r;break;case"**":s=n**r;break;case"/":s=n/r;break;case"%":s=n%r;break;case"-":s=n-r;break;case"<<":s=n<<r;break;case">>":s=n>>r;break;case">>>":s=n>>>r;break;case"==":s=n==r;break;case"===":s=n===r;break;case"!=":s=n!=r;break;case"!==":s=n!==r;break;case"<":s=n<r;break;case"<=":s=n<=r;break;case">":s=n>r;break;case">=":s=n>=r;break;default:return this}return typeof s=="number"&&isNaN(s)&&t.find_parent(_r)?this:s}),Hn(tt,function(t,e){var n=this.condition._eval(t,e);if(n===this.condition)return this;var r=n?this.consequent:this.alternative,s=r._eval(t,e);return s===r?this:s});const tf=new Set;Hn(xe,function(t,e){if(tf.has(this))return this;var n=this.fixed_value();if(!n)return this;tf.add(this);const r=n._eval(t,e);if(tf.delete(this),r===n)return this;if(r&&typeof r=="object"){var s=this.definition().escaped;if(s&&e>s)return this}return r});const Sd={Array,Math,Number,Object,String},Hy=new Set(["dotAll","global","ignoreCase","multiline","sticky","unicode"]);Hn(Xe,function(t,e){let n=this.expression._eval(t,e+1);if(n===aa||this.optional&&n==null)return aa;if(this.property==="length"){if(typeof n=="string")return n.length;if(n instanceof St&&n.elements.every(v=>!(v instanceof ht))&&n.elements.every(v=>!v.has_side_effects(t)))return n.elements.length}if(t.option("unsafe")){var r=this.property;if(r instanceof Ce&&(r=r._eval(t,e),r===this.property))return this;var s=this.expression;if(ui(s)){var l,h=s.name==="hasOwnProperty"&&r==="call"&&(l=t.parent()&&t.parent().args)&&l&&l[0]&&l[0].evaluate(t);if(h=h instanceof Wt?h.expression:h,h==null||h.thedef&&h.thedef.undeclared)return this.clone();if(!Ly(s.name,r))return this;n=Sd[s.name]}else{if(n instanceof RegExp){if(r=="source")return gu(n.source);if(r=="flags"||Hy.has(r))return n[r]}if(!n||n===s||!tr(n,r))return this;if(typeof n=="function")switch(r){case"name":return n.node.name?n.node.name.name:"";case"length":return n.node.length_property();default:return this}}return n[r]}return this}),Hn(gn,function(t,e){const n=this.expression._eval(t,e);return n===aa?void 0:n===this.expression?this:n}),Hn(je,function(t,e){var n=this.expression;const r=n._eval(t,e);if(r===aa||this.optional&&r==null)return aa;if(t.option("unsafe")&&n instanceof Xe){var s=n.property;if(s instanceof Ce&&(s=s._eval(t,e),s===n.property))return this;var l,h=n.expression;if(ui(h)){var m=h.name==="hasOwnProperty"&&s==="call"&&this.args[0]&&this.args[0].evaluate(t);if(m=m instanceof Wt?m.expression:m,m==null||m.thedef&&m.thedef.undeclared)return this.clone();if(!bd(h.name,s))return this;l=Sd[h.name]}else{if(l=h._eval(t,e+1),l===h||!l)return this;if(!gd(l.constructor.name,s))return this}for(var v=[],S=0,C=this.args.length;S<C;S++){var T=this.args[S],I=T._eval(t,e);if(T===I)return this;if(T instanceof Ge)return this;v.push(I)}try{return l[s].apply(l,v)}catch{}}return this}),Hn(rr,yo);function rn(t,e){t.DEFMETHOD("drop_side_effect_free",e)}function Es(t,e,n){var r=t.length;if(!r)return null;for(var s=[],l=!1,h=0;h<r;h++){var m=t[h].drop_side_effect_free(e,n);l|=m!==t[h],m&&(s.push(m),n=!1)}return l?s.length?s:null:t}rn(Ce,yo),rn(Tt,to),rn(jn,to),rn(je,function(t,e){if(ia(this,t))return this.expression.drop_side_effect_free(t,e);if(!this.is_callee_pure(t)){if(this.expression.is_call_pure(t)){var n=this.args.slice();return n.unshift(this.expression.expression),n=Es(n,t,e),n&&nt(this,n)}if(Vu(this.expression)&&(!this.expression.name||!this.expression.name.definition().references.length)){var r=this.clone();return r.expression.process_expression(!1,t),r}return this}var s=Es(this.args,t,e);return s&&nt(this,s)}),rn(Mi,to),rn(Ft,to),rn(Yt,to),rn(yt,function(t){const e=[];if(this.is_self_referential()&&this.has_side_effects(t))return this;const n=this.extends&&this.extends.drop_side_effect_free(t);n&&e.push(n);for(const s of this.properties)if(s instanceof Yn){if(s.has_side_effects(t))return this}else{const l=s.drop_side_effect_free(t);l&&e.push(l)}if(!e.length)return null;const r=nt(this,e);return this instanceof Kr?P($e,this,{body:r}):r}),rn(lr,function(t){const e=this.computed_key()&&this.key.drop_side_effect_free(t),n=this.static&&this.value&&this.value.drop_side_effect_free(t);return e&&n?nt(this,[e,n]):e||n||null}),rn(ae,function(t,e){var n=this.right.drop_side_effect_free(t);if(!n)return this.left.drop_side_effect_free(t,e);if(ko.has(this.operator)){if(n===this.right)return this;var r=this.clone();return r.right=n,r}else{var s=this.left.drop_side_effect_free(t,e);return s?nt(this,[s,n]):this.right.drop_side_effect_free(t,e)}}),rn(st,function(t){if(this.logical)return this;var e=this.left;if(e.has_side_effects(t)||t.has_directive("use strict")&&e instanceof Xe&&e.expression.is_constant())return this;for(Er(this,na);e instanceof Xe;)e=e.expression;return e.is_constant_expression(t.find_parent(qe))?this.right.drop_side_effect_free(t):this}),rn(tt,function(t){var e=this.consequent.drop_side_effect_free(t),n=this.alternative.drop_side_effect_free(t);if(e===this.consequent&&n===this.alternative)return this;if(!e)return n?P(ae,this,{operator:"||",left:this.condition,right:n}):this.condition.drop_side_effect_free(t);if(!n)return P(ae,this,{operator:"&&",left:this.condition,right:e});var r=this.clone();return r.consequent=e,r.alternative=n,r}),rn(Xt,function(t,e){if(Hu.has(this.operator))return this.expression.has_side_effects(t)?ra(this,na):Er(this,na),this;if(this.operator=="typeof"&&this.expression instanceof xe)return null;var n=this.expression.drop_side_effect_free(t,e);return e&&n&&ql(n)?n===this.expression&&this.operator=="!"?this:n.negate(t,e):n}),rn(xe,function(t){return this.is_declared(t)||$u.has(this.name)?null:this}),rn(Nt,function(t,e){var n=Es(this.properties,t,e);return n&&nt(this,n)}),rn(cn,function(t,e){const r=this instanceof Jt&&this.key instanceof Ce&&this.key.drop_side_effect_free(t,e),s=this.value&&this.value.drop_side_effect_free(t,e);return r&&s?nt(this,[r,s]):r||s}),rn(Bn,function(){return this.computed_key()?this.key:null}),rn(Gr,function(){return this.computed_key()?this.key:null}),rn(ri,function(){return this.computed_key()?this.key:null}),rn(St,function(t,e){var n=Es(this.elements,t,e);return n&&nt(this,n)}),rn(Wt,function(t,e){return ia(this,t)?this.expression.drop_side_effect_free(t,e):!this.optional&&this.expression.may_throw_on_access(t)?this:this.expression.drop_side_effect_free(t,e)}),rn(An,function(t,e){if(ia(this,t))return this.expression.drop_side_effect_free(t,e);if(!this.optional&&this.expression.may_throw_on_access(t))return this;var n=this.property.drop_side_effect_free(t);if(n&&this.optional)return this;var r=this.expression.drop_side_effect_free(t,e);return r&&n?nt(this,[r,n]):r||n}),rn(gn,function(t,e){return this.expression.drop_side_effect_free(t,e)}),rn(lt,function(t){var e=this.tail_node(),n=e.drop_side_effect_free(t);if(n===e)return this;var r=this.expressions.slice(0,-1);return n&&r.push(n),r.length?nt(this,r):P(Qe,this,{value:0})}),rn(ht,function(t,e){return this.expression.drop_side_effect_free(t,e)}),rn(gi,to),rn(Xn,function(t){var e=Es(this.segments,t,si);return e&&nt(this,e)});const Gy=/keep_assign/;qe.DEFMETHOD("drop_unused",function(t){if(!t.option("unused")||t.has_directive("use asm")||!this.variables)return;var e=this;if(e.pinned())return;var n=!(e instanceof zt)||t.toplevel.funcs,r=!(e instanceof zt)||t.toplevel.vars;const s=Gy.test(t.option("unused"))?vt:function(L){if(L instanceof st&&!L.logical&&($n(L,na)||L.operator=="="))return L.left;if(L instanceof Xt&&$n(L,na))return L.expression};var l=new Map,h=new Map;e instanceof zt&&t.top_retain&&e.variables.forEach(function(L){t.top_retain(L)&&l.set(L.id,L)});var m=new Map,v=new Map,S=new Set,C=this,T=new Fn(function(L,b){if(L instanceof Ge&&L.uses_arguments&&!T.has_directive("use strict")&&L.argnames.forEach(function(O){if(O instanceof Nn){var R=O.definition();l.set(R.id,R)}}),L===e)return;if(L instanceof yt&&L.has_side_effects(t)&&(L.is_self_referential()&&S.add(L),L.visit_nondeferred_class_parts(T)),L instanceof en||L instanceof Kr){var y=L.name.definition();return(T.parent()instanceof On||!n&&C===e)&&y.global&&l.set(y.id,y),yu(v,y.id,L),!0}const g=C===e;if(L instanceof In&&g&&yu(m,L.definition().id,L),L instanceof un&&g){const O=T.parent()instanceof On;return L.definitions.forEach(function(R){if(R.name instanceof ji&&yu(m,R.name.definition().id,R),(O||!r)&&Pn(R.name,H=>{if(H instanceof Nn){const X=H.definition();X.global&&l.set(X.id,X)}}),R.name instanceof Vt&&R.walk(T),R.name instanceof Nn&&R.value){var D=R.name.definition();yu(v,D.id,R.value),!D.chained&&R.name.fixed_value()===R.value&&h.set(D.id,R),R.value.has_side_effects(t)&&R.value.walk(T)}}),!0}return B(L,b)});e.walk(T),T=new Fn(B),l.forEach(function(L){var b=v.get(L.id);b&&b.forEach(function(y){y.walk(T)})}),S.forEach(function(L){L.walk(T)});var I=new dr(function(b,y,g){var O=I.parent();if(r){const ne=s(b);if(ne instanceof xe){var D=ne.definition(),R=l.has(D.id);if(b instanceof st){if(!R||h.has(D.id)&&h.get(D.id)!==b)return Oo(O,b,b.right.transform(I))}else if(!R)return g?qt.skip:P(Qe,b,{value:0})}}if(C===e){var D;if(b.name&&(b instanceof Si&&!zo(t.option("keep_classnames"),(D=b.name.definition()).name)||b instanceof Ft&&!zo(t.option("keep_fnames"),(D=b.name.definition()).name))&&(!l.has(D.id)||D.orig.length>1)&&(b.name=null),b instanceof Ge&&!(b instanceof Mi))for(var H=!t.option("keep_fargs"),X=b.argnames,ee=X.length;--ee>=0;){var z=X[ee];z instanceof ht&&(z=z.expression),z instanceof Nr&&(z=z.left),!(z instanceof Vt)&&!l.has(z.definition().id)?(Er(z,so),H&&X.pop()):H=!1}if(b instanceof Kr&&b!==e){const ne=b.name.definition();if(y(b,this),!(ne.global&&!n||l.has(ne.id))){const fe=b.drop_side_effect_free(t);return fe??(ne.eliminated++,g?qt.skip:P(Rt,b))}return b}if(b instanceof en&&b!==e){const ne=b.name.definition();if(!(ne.global&&!n||l.has(ne.id)))return ne.eliminated++,g?qt.skip:P(Rt,b)}if(b instanceof un&&!(O instanceof Wn&&O.init===b)){var q=!(O instanceof zt)&&!(b instanceof wn),$=[],ce=[],Q=[],_e=[];switch(b.definitions.forEach(function(ne){ne.value&&(ne.value=ne.value.transform(I));var pe=ne.name instanceof Vt,fe=pe?new ta(null,{name:"<destructure>"}):ne.name.definition();if(q&&fe.global)return Q.push(ne);if(!(r||q)||pe&&(ne.name.names.length||ne.name.is_array||t.option("pure_getters")!=!0)||l.has(fe.id)){if(ne.value&&h.has(fe.id)&&h.get(fe.id)!==ne&&(ne.value=ne.value.drop_side_effect_free(t)),ne.name instanceof ji){var Oe=m.get(fe.id);if(Oe.length>1&&(!ne.value||fe.orig.indexOf(ne.name)>fe.eliminated)){if(ne.value){var Ie=P(xe,ne.name,ne.name);fe.references.push(Ie);var ve=P(st,ne,{operator:"=",logical:!1,left:Ie,right:ne.value});h.get(fe.id)===ne&&h.set(fe.id,ve),_e.push(ve.transform(I))}Ko(Oe,ne),fe.eliminated++;return}}ne.value?(_e.length>0&&(Q.length>0?(_e.push(ne.value),ne.value=nt(ne.value,_e)):$.push(P($e,b,{body:nt(b,_e)})),_e=[]),Q.push(ne)):ce.push(ne)}else if(fe.orig[0]instanceof zr){var Ue=ne.value&&ne.value.drop_side_effect_free(t);Ue&&_e.push(Ue),ne.value=null,ce.push(ne)}else{var Ue=ne.value&&ne.value.drop_side_effect_free(t);Ue&&_e.push(Ue),fe.eliminated++}}),(ce.length>0||Q.length>0)&&(b.definitions=ce.concat(Q),$.push(b)),_e.length>0&&$.push(P($e,b,{body:nt(b,_e)})),$.length){case 0:return g?qt.skip:P(Rt,b);case 1:return $[0];default:return g?qt.splice($):P(Ze,b,{body:$})}}if(b instanceof Tn){y(b,this);var ge;return b.init instanceof Ze&&(ge=b.init,b.init=ge.body.pop(),ge.body.push(b)),b.init instanceof $e?b.init=b.init.body:uo(b.init)&&(b.init=null),ge?g?qt.splice(ge.body):ge:b}if(b instanceof Qn&&b.body instanceof Tn){if(y(b,this),b.body instanceof Ze){var ge=b.body;return b.body=ge.body.pop(),ge.body.push(b),g?qt.splice(ge.body):ge}return b}if(b instanceof Ze)return y(b,this),g&&b.body.every(Jl)?qt.splice(b.body):b;if(b instanceof qe&&!(b instanceof Yn)){const ne=C;return C=b,y(b,this),C=ne,b}}});e.transform(I);function B(L,b){var y;const g=s(L);if(g instanceof xe&&!Yl(L.left,$i)&&e.variables.get(g.name)===(y=g.definition()))return L instanceof st&&(L.right.walk(T),!y.chained&&L.left.fixed_value()===L.right&&h.set(y.id,L)),!0;if(L instanceof xe){if(y=L.definition(),!l.has(y.id)&&(l.set(y.id,y),y.orig[0]instanceof zr)){const R=y.scope.is_block_scope()&&y.scope.get_defun_scope().variables.get(y.name);R&&l.set(R.id,R)}return!0}if(L instanceof yt)return b(),!0;if(L instanceof qe&&!(L instanceof Yn)){var O=C;return C=L,b(),C=O,!0}}});function ln(t,e){t.DEFMETHOD("reduce_vars",e)}ln(Ce,mr);function nf(t,e){e.assignments=0,e.chained=!1,e.direct_access=!1,e.escaped=0,e.recursive_refs=0,e.references=[],e.single_use=void 0,e.scope.pinned()||e.orig[0]instanceof In&&e.scope.uses_arguments?e.fixed=!1:e.orig[0]instanceof io||!t.exposed(e)?e.fixed=e.init:e.fixed=!1}function rf(t,e,n){n.variables.forEach(function(r){nf(e,r),r.fixed===null?(t.defs_to_safe_ids.set(r.id,t.safe_ids),Wi(t,r,!0)):r.fixed&&(t.loop_ids.set(r.id,t.in_loop),Wi(t,r,!0))})}function wo(t,e){e.block_scope&&e.block_scope.variables.forEach(n=>{nf(t,n)})}function bn(t){t.safe_ids=Object.create(t.safe_ids)}function Dn(t){t.safe_ids=Object.getPrototypeOf(t.safe_ids)}function Wi(t,e,n){t.safe_ids[e.id]=n}function Td(t,e){if(e.single_use=="m")return!1;if(t.safe_ids[e.id]){if(e.fixed==null){var n=e.orig[0];if(n instanceof In||n.name=="arguments")return!1;e.fixed=P(tn,n)}return!0}return e.fixed instanceof en}function of(t,e,n,r){if(e.fixed===void 0)return!0;let s;return e.fixed===null&&(s=t.defs_to_safe_ids.get(e.id))?(s[e.id]=!1,t.defs_to_safe_ids.delete(e.id),!0):!tr(t.safe_ids,e.id)||!Td(t,e)||e.fixed===!1||e.fixed!=null&&(!r||e.references.length>e.assignments)?!1:e.fixed instanceof en?r instanceof Ce&&e.fixed.parent_scope===n:e.orig.every(l=>!(l instanceof io||l instanceof Ti||l instanceof oi))}function Ky(t,e,n){return e.option("unused")&&!n.scope.pinned()&&n.references.length-n.recursive_refs==1&&t.loop_ids.get(n.id)===t.in_loop}function zy(t){return t?t.is_constant()||t instanceof Ge||t instanceof jn:!1}function Ss(t,e,n,r,s,l=0,h=1){var m=t.parent(l);if(!(s&&(s.is_constant()||s instanceof Si))){if(m instanceof st&&(m.operator==="="||m.logical)&&r===m.right||m instanceof je&&(r!==m.expression||m instanceof rr)||m instanceof cr&&r===m.value&&r.scope!==e.scope||m instanceof Lt&&r===m.value||m instanceof gr&&r===m.value&&r.scope!==e.scope){h>1&&!(s&&s.is_constant_expression(n))&&(h=1),(!e.escaped||e.escaped>h)&&(e.escaped=h);return}else if(m instanceof St||m instanceof yr||m instanceof ae&&ko.has(m.operator)||m instanceof tt&&r!==m.condition||m instanceof ht||m instanceof lt&&r===m.tail_node())Ss(t,e,n,m,m,l+1,h);else if(m instanceof Jt&&r===m.value){var v=t.parent(l+1);Ss(t,e,n,v,v,l+2,h)}else if(m instanceof Xe&&r===m.expression&&(s=pd(s,m.property),Ss(t,e,n,m,s,l+1,h+1),s))return;l>0||m instanceof lt&&r!==m.tail_node()||m instanceof $e||(e.direct_access=!0)}}const af=t=>Pn(t,e=>{if(e instanceof pt){var n=e.definition();n&&(e instanceof xe&&n.references.push(e),n.fixed=!1)}});ln(Mi,function(t,e,n){return bn(t),rf(t,n,this),e(),Dn(t),!0}),ln(st,function(t,e,n){var r=this;if(r.left instanceof Vt){af(r.left);return}const s=()=>{if(r.logical)return r.left.walk(t),bn(t),r.right.walk(t),Dn(t),!0};var l=r.left;if(!(l instanceof xe))return s();var h=l.definition(),m=of(t,h,l.scope,r.right);if(h.assignments++,!m)return s();var v=h.fixed;if(!v&&r.operator!="="&&!r.logical)return s();var S=r.operator=="=",C=S?r.right:r;return oa(n,t,r,C,0)?s():(h.references.push(l),r.logical||(S||(h.chained=!0),h.fixed=S?function(){return r.right}:function(){return P(ae,r,{operator:r.operator.slice(0,-1),left:v instanceof Ce?v:v(),right:r.right})}),r.logical?(Wi(t,h,!1),bn(t),r.right.walk(t),Dn(t),!0):(Wi(t,h,!1),r.right.walk(t),Wi(t,h,!0),Ss(t,h,l.scope,r,C,0,1),!0))}),ln(ae,function(t){if(ko.has(this.operator))return this.left.walk(t),bn(t),this.right.walk(t),Dn(t),!0}),ln(Sn,function(t,e,n){wo(n,this)}),ln(Jr,function(t){return bn(t),this.expression.walk(t),Dn(t),bn(t),bo(this,t),Dn(t),!0}),ln(yt,function(t,e){return ra(this,vs),bn(t),e(),Dn(t),!0}),ln(Yn,function(t,e,n){wo(n,this)}),ln(tt,function(t){return this.condition.walk(t),bn(t),this.consequent.walk(t),Dn(t),bn(t),this.alternative.walk(t),Dn(t),!0}),ln(gn,function(t,e){const n=t.safe_ids;return e(),t.safe_ids=n,!0}),ln(je,function(t){this.expression.walk(t),this.optional&&bn(t);for(const e of this.args)e.walk(t);return!0}),ln(Xe,function(t){if(this.optional)return this.expression.walk(t),bn(t),this.property instanceof Ce&&this.property.walk(t),!0}),ln(So,function(t,e){return bn(t),e(),Dn(t),!0});function Wy(t,e,n){ra(this,vs),bn(t),rf(t,n,this);var r;return!this.name&&!this.uses_arguments&&!this.pinned()&&(r=t.parent())instanceof je&&r.expression===this&&!r.args.some(s=>s instanceof ht)&&this.argnames.every(s=>s instanceof pt)&&this.argnames.forEach((s,l)=>{if(s.definition){var h=s.definition();h.orig.length>1||(h.fixed===void 0&&(!this.uses_arguments||t.has_directive("use strict"))?(h.fixed=function(){return r.args[l]||P(tn,r)},t.loop_ids.set(h.id,t.in_loop),Wi(t,h,!0)):h.fixed=!1)}}),e(),Dn(t),Ad(this),!0}function Ad(t){const e=[];Pn(t,l=>{if(l!==t&&(l instanceof en&&e.push(l),l instanceof qe||l instanceof $e))return!0});const n=new Set,r=new Set,s=[];for(const l of e){const h=l.name.definition(),m=e.some(v=>v!==l&&v.enclosed.indexOf(h)!==-1);for(const v of l.enclosed)if(!(v.fixed===!1||v===h||v.scope.get_defun_scope()!==t)&&!(v.assignments===0&&v.orig.length===1&&v.orig[0]instanceof Ti)){if(m){v.fixed=!1;continue}s.push({defun:l,def:v,fname_def:h}),n.add(v.id),n.add(h.id),r.add(l)}}if(s.length){const l=[],h=new Set,m=new Map;let v;t.walk(v=new Fn((S,C)=>{if(S instanceof en&&r.has(S)){const T=l.length;C();const I=l.length;return m.set(S,{start:T,end:I}),!0}if(S instanceof pt&&S.thedef){const T=S.definition().id;n.has(T)&&((S instanceof Nn||Ro(S,v))&&h.add(l.length),l.push(T))}}));for(const{def:S,defun:C,fname_def:T}of s){const I=m.get(C),B=(g,O=0,R=!1)=>{let D=O;for(;D=l.indexOf(g,D),D!==-1;)if(D>=I.start&&D<I.end){D=I.end;continue}else if(R&&!h.has(D)){D++;continue}else break;return D},L=B(T.id),b=B(S.id,L+1,!0);L!=-1&&b!=-1&&b>L&&(S.fixed=!1)}}}ln(Ge,Wy),ln(yi,function(t,e,n){wo(n,this);const r=t.in_loop;return t.in_loop=this,bn(t),this.body.walk(t),Xl(this)&&(Dn(t),bn(t)),this.condition.walk(t),Dn(t),t.in_loop=r,!0}),ln(Tn,function(t,e,n){wo(n,this),this.init&&this.init.walk(t);const r=t.in_loop;return t.in_loop=this,bn(t),this.condition&&this.condition.walk(t),this.body.walk(t),this.step&&(Xl(this)&&(Dn(t),bn(t)),this.step.walk(t)),Dn(t),t.in_loop=r,!0}),ln(Wn,function(t,e,n){wo(n,this),af(this.init),this.object.walk(t);const r=t.in_loop;return t.in_loop=this,bn(t),this.body.walk(t),Dn(t),t.in_loop=r,!0}),ln(wt,function(t){return this.condition.walk(t),bn(t),this.body.walk(t),Dn(t),this.alternative&&(bn(t),this.alternative.walk(t),Dn(t)),!0}),ln(Qn,function(t){return bn(t),this.body.walk(t),Dn(t),!0}),ln(zr,function(){this.definition().fixed=!1}),ln(xe,function(t,e,n){var r=this.definition();r.references.push(this),r.references.length==1&&!r.fixed&&r.orig[0]instanceof Ti&&t.loop_ids.set(r.id,t.in_loop);var s;r.fixed===void 0||!Td(t,r)?r.fixed=!1:r.fixed&&(s=this.fixed_value(),s instanceof Ge&&Zl(t,r)?r.recursive_refs++:s&&!n.exposed(r)&&Ky(t,n,r)?r.single_use=s instanceof Ge&&!s.pinned()||s instanceof yt||r.scope===this.scope&&s.is_constant_expression():r.single_use=!1,oa(n,t,this,s,0,zy(s))&&(r.single_use?r.single_use="m":r.fixed=!1)),Ss(t,r,this.scope,this,s,0,1)}),ln(zt,function(t,e,n){return this.globals.forEach(function(r){nf(n,r)}),rf(t,n,this),e(),Ad(this),!0}),ln(br,function(t,e,n){return wo(n,this),bn(t),this.body.walk(t),Dn(t),this.bcatch&&(bn(t),this.bcatch.walk(t),Dn(t)),this.bfinally&&this.bfinally.walk(t),!0}),ln(Xt,function(t){var e=this;if(!(e.operator!=="++"&&e.operator!=="--")){var n=e.expression;if(n instanceof xe){var r=n.definition(),s=of(t,r,n.scope,!0);if(r.assignments++,!!s){var l=r.fixed;if(l)return r.references.push(n),r.chained=!0,r.fixed=function(){return P(ae,e,{operator:e.operator.slice(0,-1),left:P(We,e,{operator:"+",expression:l instanceof Ce?l:l()}),right:P(Qe,e,{value:1})})},Wi(t,r,!0),!0}}}}),ln(Lt,function(t,e){var n=this;if(n.name instanceof Vt){af(n.name);return}var r=n.name.definition();if(n.value){if(of(t,r,n.name.scope,n.value))return r.fixed=function(){return n.value},t.loop_ids.set(r.id,t.in_loop),Wi(t,r,!1),e(),Wi(t,r,!0),!0;r.fixed=!1}}),ln(Li,function(t,e,n){wo(n,this);const r=t.in_loop;return t.in_loop=this,bn(t),e(),Dn(t),t.in_loop=r,!0});function sf(t){return t instanceof jr&&t.body instanceof Ze?t.body:t}function xd(t){if(t instanceof jn)return!0;if(t instanceof xe)return t.definition().orig[0]instanceof oi;if(t instanceof Xe){if(t=t.expression,t instanceof xe){if(t.is_immutable())return!1;t=t.fixed_value()}return t?t instanceof fr?!1:t instanceof Tt?!0:xd(t):!0}return!1}function Xy(t){var e=[];return t.definitions.forEach(function(n){n.name instanceof Nn?(n.value=null,e.push(n)):n.declarations_as_names().forEach(r=>{e.push(P(Lt,n,{name:r,value:null}))})}),e.length?P(wn,t,{definitions:e}):null}function No(t,e,n){Pn(e,r=>{if(r instanceof wn){const s=Xy(r);return s&&n.push(s),!0}if(r instanceof en&&(r===e||!t.has_directive("use strict")))return n.push(r===e?r:P(wn,r,{definitions:[P(Lt,r,{name:P(ji,r.name,r.name),value:null})]})),!0;if(r instanceof On||r instanceof wr)return n.push(r),!0;if(r instanceof qe)return!0})}function Gu(t,e){const n=e.find_scope(),r=n.get_defun_scope(),{in_loop:s,in_try:l}=v();var h,m=10;do h=!1,C(t),e.option("dead_code")&&I(t,e),e.option("if_return")&&T(t,e),e.sequences_limit>0&&(L(t,e),y(t,e)),e.option("join_vars")&&O(t),e.option("collapse_vars")&&S(t,e);while(h&&m-- >0);function v(){var R=e.self(),D=0,H=!1,X=!1;do if(R instanceof jr)H=!0;else{if(R instanceof qe)break;R instanceof wu&&(X=!0)}while(R=e.parent(D++));return{in_loop:H,in_try:X}}function S(R,D){if(n.pinned()||r.pinned())return R;for(var H,X=[],ee=R.length,z=new dr(function(V){if(se)return V;if(!re)return V!==$[ce]?V:(ce++,ce<$.length?Et(V):(re=!0,ge=ke(V,0),ge===V&&(se=!0),V));var Ne=z.parent();if(V instanceof st&&(V.logical||V.operator!="="&&pe.equivalent_to(V.left))||V instanceof yr||V instanceof je&&pe instanceof Xe&&pe.equivalent_to(V.expression)||(V instanceof je||V instanceof Xe)&&V.optional||V instanceof Fi||V instanceof Vt||V instanceof ht&&V.expression instanceof pt&&(V.expression instanceof jn||V.expression.definition().references.length>1)||V instanceof jr&&!(V instanceof Tn)||V instanceof Yr||V instanceof br||V instanceof _r||V instanceof gr||V instanceof On||V instanceof yt||Ne instanceof Tn&&V!==Ne.init||!ve&&V instanceof xe&&!V.is_declared(D)&&!$u.has(V)||V instanceof xe&&Ne instanceof je&&sr(Ne,xo)||V instanceof cn&&V.key instanceof Ce)return se=!0,V;if(!ne&&(!Oe||!ve)&&(Ne instanceof ae&&ko.has(Ne.operator)&&Ne.left!==V||Ne instanceof tt&&Ne.condition!==V||Ne instanceof wt&&Ne.condition!==V)&&(ne=Ne),be&&!(V instanceof Nn)&&pe.equivalent_to(V)&&!xi(z.find_scope()||n,fe)){if(ne)return se=!0,V;if(Ro(V,Ne))return _e&&Ae++,V;if(Ae++,_e&&Q instanceof Lt)return V;if(h=se=!0,Q instanceof Vi)return P(We,Q,Q);if(Q instanceof Lt){var Be=Q.name.definition(),Me=Q.value;return Be.references.length-Be.replaced==1&&!D.exposed(Be)?(Be.replaced++,J&&md(Me)?Me.transform(D):Oo(Ne,V,Me)):P(st,Q,{operator:"=",logical:!1,left:P(xe,Q.name,Q.name),right:Me})}return ra(Q,na),Q}var ut;return(V instanceof je||V instanceof cr&&(Ie||pe instanceof Xe||Pt(pe))||V instanceof Xe&&(Ie||V.expression.may_throw_on_access(D))||V instanceof xe&&(fe.has(V.name)&&fe.get(V.name).modified||Ie&&Pt(V))||V instanceof Lt&&V.value&&(fe.has(V.name.name)||Ie&&Pt(V.name))||(ut=Ro(V.left,V))&&(ut instanceof Xe||fe.has(ut.name))||Ue&&(l?V.has_side_effects(D):fn(V)))&&(ge=V,V instanceof qe&&(se=!0)),Et(V)},function(V){se||(ge===V&&(se=!0),ne===V&&(ne=null))}),q=new dr(function(V){if(se)return V;if(!re)return V!==$[ce]?V:(ce++,ce<$.length?void 0:(re=!0,V));if(V instanceof xe&&V.name==jt.name)return--Ae||(se=!0),Ro(V,q.parent())?V:(jt.replaced++,_e.replaced--,Q.value);if(V instanceof So||V instanceof qe)return V});--ee>=0;){ee==0&&D.option("unused")&&Zt();var $=[];for(oe(R[ee]);X.length>0;){$=X.pop();var ce=0,Q=$[$.length-1],_e=null,ge=null,ne=null,pe=bt(Q);if(!(!pe||xd(pe)||pe.has_side_effects(D))){var fe=Dt(Q),Oe=Qt(pe);pe instanceof xe&&fe.set(pe.name,{def:pe.definition(),modified:!1});var Ie=dn(Q),ve=$t(),Ue=Q.may_throw(D),J=Q.name instanceof In,re=J,se=!1,Ae=0,be=!H||!re;if(!be){for(let V=D.self().argnames.lastIndexOf(Q.name)+1;!se&&V<H.length;V++)H[V].transform(z);be=!0}for(var At=ee;!se&&At<R.length;At++)R[At].transform(z);if(_e){var jt=Q.name.definition();if(se&&jt.references.length-jt.replaced>Ae)Ae=!1;else{se=!1,ce=0,re=J;for(var At=ee;!se&&At<R.length;At++)R[At].transform(q);_e.single_use=!1}}Ae&&!Un(Q)&&R.splice(ee,1)}}}function Et(V){if(V instanceof qe)return V;if(V instanceof qn){V.expression=V.expression.transform(z);for(var Ne=0,Be=V.body.length;!se&&Ne<Be;Ne++){var Me=V.body[Ne];if(Me instanceof Jr){if(!re){if(Me!==$[ce])continue;ce++}if(Me.expression=Me.expression.transform(z),!ve)break}}return se=!0,V}}function Mt(V,Ne){if(V.global)return!1;let Be=V.scope;for(;Be&&Be!==Ne;){if(Be.variables.has(V.name))return!0;Be=Be.parent_scope}return!1}function gt(V,Ne,Be){var Me=!1,ut=!(V instanceof Yt);return Ne.walk(new Fn(function(on,ft){if(Me)return!0;if(on instanceof xe&&(V.variables.has(on.name)||Mt(on.definition(),V))){var vn=on.definition().scope;if(vn!==r){for(;vn=vn.parent_scope;)if(vn===r)return!0}return Me=!0}if((Be||ut)&&on instanceof jn)return Me=!0;if(on instanceof qe&&!(on instanceof Yt)){var xn=ut;return ut=!1,ft(),ut=xn,!0}})),Me}function Ot(V){return!(V instanceof ht||Pn(V,Be=>{if(Be instanceof yr)return pr}))}function Zt(){var V,Ne=D.self();if(Vu(Ne)&&!Ne.name&&!Ne.uses_arguments&&!Ne.pinned()&&(V=D.parent())instanceof je&&V.expression===Ne&&V.args.every(Ot)){var Be=D.has_directive("use strict");Be&&!Dl(Be,Ne.body)&&(Be=!1);var Me=Ne.argnames.length;H=V.args.slice(Me);for(var ut=new Set,on=Me;--on>=0;){var ft=Ne.argnames[on],vn=V.args[on];const fi=ft.definition&&ft.definition();if(!(fi&&fi.orig.length>1)&&(H.unshift(P(Lt,ft,{name:ft,value:vn})),!ut.has(ft.name)))if(ut.add(ft.name),ft instanceof ht){var xn=V.args.slice(on);xn.every(hn=>!gt(Ne,hn,Be))&&X.unshift([P(Lt,ft,{name:ft.expression,value:P(St,V,{elements:xn})})])}else vn?(vn instanceof Ge&&vn.pinned()||gt(Ne,vn,Be))&&(vn=null):vn=P(tn,ft).transform(D),vn&&X.unshift([P(Lt,ft,{name:ft,value:vn})])}}}function oe(V){if($.push(V),V instanceof st)!V.left.has_side_effects(D)&&!(V.right instanceof gn)&&X.push($.slice()),oe(V.right);else if(V instanceof ae)oe(V.left),oe(V.right);else if(V instanceof je&&!sr(V,xo))oe(V.expression),V.args.forEach(oe);else if(V instanceof Jr)oe(V.expression);else if(V instanceof tt)oe(V.condition),oe(V.consequent),oe(V.alternative);else if(V instanceof un){var Ne=V.definitions.length,Be=Ne-200;for(Be<0&&(Be=0);Be<Ne;Be++)oe(V.definitions[Be])}else V instanceof Ru?(oe(V.condition),V.body instanceof Sn||oe(V.body)):V instanceof cr?V.value&&oe(V.value):V instanceof Tn?(V.init&&oe(V.init),V.condition&&oe(V.condition),V.step&&oe(V.step),V.body instanceof Sn||oe(V.body)):V instanceof Wn?(oe(V.object),V.body instanceof Sn||oe(V.body)):V instanceof wt?(oe(V.condition),V.body instanceof Sn||oe(V.body),V.alternative&&!(V.alternative instanceof Sn)&&oe(V.alternative)):V instanceof lt?V.expressions.forEach(oe):V instanceof $e?oe(V.body):V instanceof qn?(oe(V.expression),V.body.forEach(oe)):V instanceof Xt?(V.operator=="++"||V.operator=="--")&&X.push($.slice()):V instanceof Lt&&V.value&&!(V.value instanceof gn)&&(X.push($.slice()),oe(V.value));$.pop()}function ke(V,Ne,Be){var Me=z.parent(Ne);return Me instanceof st?Be&&!Me.logical&&!(Me.left instanceof Xe||fe.has(Me.left.name))?ke(Me,Ne+1,Be):V:Me instanceof ae?Be&&(!ko.has(Me.operator)||Me.left===V)?ke(Me,Ne+1,Be):V:Me instanceof je||Me instanceof Jr?V:Me instanceof tt?Be&&Me.condition===V?ke(Me,Ne+1,Be):V:Me instanceof un?ke(Me,Ne+1,!0):Me instanceof cr?Be?ke(Me,Ne+1,Be):V:Me instanceof wt?Be&&Me.condition===V?ke(Me,Ne+1,Be):V:Me instanceof jr?V:Me instanceof lt?ke(Me,Ne+1,Me.tail_node()!==V):Me instanceof $e?ke(Me,Ne+1,!0):Me instanceof qn||Me instanceof Lt?V:null}function me(V){var Ne=V.value;if(Ne instanceof xe&&Ne.name!="arguments"){var Be=Ne.definition();if(!Be.undeclared)return _e=Be}}function bt(V){if(V instanceof st&&V.logical)return!1;if(V instanceof Lt&&V.name instanceof Nn){var Ne=V.name.definition();if(!Dl(V.name,Ne.orig))return;var Be=Ne.references.length-Ne.replaced;if(!Be)return;var Me=Ne.orig.length-Ne.eliminated;if(Me>1&&!(V.name instanceof In)||(Be>1?me(V):!D.exposed(Ne)))return P(xe,V.name,V.name)}else{const ut=V instanceof st?V.left:V.expression;return!Yl(ut,io)&&!Yl(ut,qo)&&ut}}function xt(V){return V instanceof st?V.right:V.value}function Dt(V){var Ne=new Map;if(V instanceof Xt)return Ne;var Be=new Fn(function(Me){for(var ut=Me;ut instanceof Xe;)ut=ut.expression;if(ut instanceof xe){const on=Ne.get(ut.name);(!on||!on.modified)&&Ne.set(ut.name,{def:ut.definition(),modified:oa(D,Be,Me,Me,0)})}});return xt(V).walk(Be),Ne}function Un(V){if(V.name instanceof In){var Ne=D.parent(),Be=D.self().argnames,Me=Be.indexOf(V.name);if(Me<0)Ne.args.length=Math.min(Ne.args.length,Be.length-1);else{var ut=Ne.args;ut[Me]&&(ut[Me]=P(Qe,ut[Me],{value:0}))}return!0}var on=!1;return R[ee].transform(new dr(function(ft,vn,xn){if(on)return ft;if(ft===V||ft.body===V)return on=!0,ft instanceof Lt?(ft.value=ft.name instanceof io?P(tn,ft.value):null,ft):xn?qt.skip:null},function(ft){if(ft instanceof lt)switch(ft.expressions.length){case 0:return null;case 1:return ft.expressions[0]}}))}function Qt(V){for(;V instanceof Xe;)V=V.expression;return V instanceof xe&&V.definition().scope.get_defun_scope()===r&&!(s&&(fe.has(V.name)||Q instanceof Xt||Q instanceof st&&!Q.logical&&Q.operator!="="))}function dn(V){return V instanceof Xt?Hu.has(V.operator):xt(V).has_side_effects(D)}function $t(){if(Ie)return!1;if(_e)return!0;if(pe instanceof xe){var V=pe.definition();if(V.references.length-V.replaced==(Q instanceof Lt?1:2))return!0}return!1}function Pt(V){if(!V.definition)return!0;var Ne=V.definition();return Ne.orig.length==1&&Ne.orig[0]instanceof Ti?!1:Ne.scope.get_defun_scope()!==r?!0:Ne.references.some(Be=>Be.scope.get_defun_scope()!==r)}function fn(V,Ne){if(V instanceof st)return fn(V.left,!0);if(V instanceof Xt)return fn(V.expression,!0);if(V instanceof Lt)return V.value&&fn(V.value);if(Ne){if(V instanceof Wt||V instanceof An)return fn(V.expression,!0);if(V instanceof xe)return V.definition().scope.get_defun_scope()!==r}return!1}function xi(V,Ne){for(const{def:Be}of Ne.values()){const Me=V.find_variable(Be.name);if(Me){if(Me===Be)continue;return!0}}return!1}}function C(R){for(var D=[],H=0;H<R.length;){var X=R[H];X instanceof Ze&&X.body.every(Jl)?(h=!0,C(X.body),R.splice(H,1,...X.body),H+=X.body.length):X instanceof Rt?(h=!0,R.splice(H,1)):X instanceof nr?D.indexOf(X.value)<0?(H++,D.push(X.value)):(h=!0,R.splice(H,1)):H++}}function T(R,D){var H=D.self(),X=ne(R),ee=H instanceof Ge;const z=Math.min(R.length,500);for(var q=z;--q>=0;){var $=R[q],ce=ve(q),Q=R[ce];if(ee&&!Q&&$ instanceof sn){if(!$.value){h=!0,R.splice(q,1);continue}if($.value instanceof We&&$.value.operator=="void"){h=!0,R[q]=P($e,$,{body:$.value.expression});continue}}if($ instanceof wt){let J,re;if(J=Pr($.body),fe(J)&&(re=Ie($.body,J))){J.label&&Ko(J.label.thedef.references,J),h=!0,$=$.clone(),$.condition=$.condition.negate(D),$.body=P(Ze,$,{body:ju($.alternative).concat(Oe())}),$.alternative=P(Ze,$,{body:re}),R[q]=$.transform(D);continue}if(J=Pr($.alternative),fe(J)&&(re=Ie($.alternative,J))){J.label&&Ko(J.label.thedef.references,J),h=!0,$=$.clone(),$.body=P(Ze,$.body,{body:ju($.body).concat(Oe())}),$.alternative=P(Ze,$.alternative,{body:re}),R[q]=$.transform(D);continue}}if($ instanceof wt&&$.body instanceof sn){var _e=$.body.value;if(!_e&&!$.alternative&&(ee&&!Q||Q instanceof sn&&!Q.value)){h=!0,R[q]=P($e,$.condition,{body:$.condition});continue}if(_e&&!$.alternative&&Q instanceof sn&&Q.value){h=!0,$=$.clone(),$.alternative=Q,R[q]=$.transform(D),R.splice(ce,1);continue}if(_e&&!$.alternative&&(!Q&&ee&&X||Q instanceof sn)){h=!0,$=$.clone(),$.alternative=Q||P(sn,$,{value:null}),R[q]=$.transform(D),Q&&R.splice(ce,1);continue}var ge=R[Ue(q)];if(D.option("sequences")&&ee&&!$.alternative&&ge instanceof wt&&ge.body instanceof sn&&ve(ce)==R.length&&Q instanceof $e){h=!0,$=$.clone(),$.alternative=P(Ze,Q,{body:[Q,P(sn,Q,{value:null})]}),R[q]=$.transform(D),R.splice(ce,1);continue}}}function ne(J){for(var re=0,se=J.length;--se>=0;){var Ae=J[se];if(Ae instanceof wt&&Ae.body instanceof sn&&++re>1)return!0}return!1}function pe(J){return!J||J instanceof We&&J.operator=="void"}function fe(J){if(!J)return!1;for(var re=q+1,se=R.length;re<se;re++){var Ae=R[re];if(Ae instanceof ei||Ae instanceof Qr)return!1}var be=J instanceof Yr?D.loopcontrol_target(J):null;return J instanceof sn&&ee&&pe(J.value)||J instanceof ro&&H===sf(be)||J instanceof Rr&&be instanceof Ze&&H===be}function Oe(){var J=R.slice(q+1);return R.length=q+1,J.filter(function(re){return re instanceof en?(R.push(re),!1):!0})}function Ie(J,re){var se=ju(J);if(re===se[se.length-1])return se=se.slice(0,-1),re.value&&se.push(P($e,re.value,{body:re.value.expression})),se}function ve(J){for(var re=J+1,se=R.length;re<se;re++){var Ae=R[re];if(!(Ae instanceof wn&&B(Ae)))break}return re}function Ue(J){for(var re=J;--re>=0;){var se=R[re];if(!(se instanceof wn&&B(se)))break}return re}}function I(R,D){for(var H,X=D.self(),ee=0,z=0,q=R.length;ee<q;ee++){var $=R[ee];if($ instanceof Yr){var ce=D.loopcontrol_target($);$ instanceof Rr&&!(ce instanceof jr)&&sf(ce)===X||$ instanceof ro&&sf(ce)===X?$.label&&Ko($.label.thedef.references,$):R[z++]=$}else R[z++]=$;if(Pr($)){H=R.slice(ee+1);break}}R.length=z,h=z!=q,H&&H.forEach(function(Q){No(D,Q,R)})}function B(R){return R.definitions.every(D=>!D.value)}function L(R,D){if(R.length<2)return;var H=[],X=0;function ee(){if(H.length){var Q=nt(H[0],H);R[X++]=P($e,Q,{body:Q}),H=[]}}for(var z=0,q=R.length;z<q;z++){var $=R[z];if($ instanceof $e){H.length>=D.sequences_limit&&ee();var ce=$.body;H.length>0&&(ce=ce.drop_side_effect_free(D)),ce&&Wl(H,ce)}else $ instanceof un&&B($)||$ instanceof en||ee(),R[X++]=$}ee(),R.length=X,X!=q&&(h=!0)}function b(R,D){if(!(R instanceof Ze))return R;for(var H=null,X=0,ee=R.body.length;X<ee;X++){var z=R.body[X];if(z instanceof wn&&B(z))D.push(z);else{if(H||z instanceof ei||z instanceof Qr)return!1;H=z}}return H}function y(R,D){function H(ge){X--,h=!0;var ne=ee.body;return nt(ne,[ne,ge]).transform(D)}for(var X=0,ee,z=0;z<R.length;z++){var q=R[z];if(ee&&(q instanceof cr?q.value=H(q.value||P(tn,q).transform(D)):q instanceof Tn?q.init instanceof un||Pn(ee.body,ne=>{if(ne instanceof qe)return!0;if(ne instanceof ae&&ne.operator==="in")return pr})||(q.init?q.init=H(q.init):(q.init=ee.body,X--,h=!0)):q instanceof Wn?!(q.init instanceof ei)&&!(q.init instanceof Qr)&&(q.object=H(q.object)):q instanceof wt?q.condition=H(q.condition):(q instanceof qn||q instanceof _r)&&(q.expression=H(q.expression))),D.option("conditionals")&&q instanceof wt){var $=[],ce=b(q.body,$),Q=b(q.alternative,$);if(ce!==!1&&Q!==!1&&$.length>0){var _e=$.length;$.push(P(wt,q,{condition:q.condition,body:ce||P(Rt,q.body),alternative:Q})),$.unshift(X,1),[].splice.apply(R,$),z+=_e,X+=_e+1,ee=null,h=!0;continue}}R[X++]=q,ee=q instanceof $e?q:null}R.length=X}function g(R,D){if(R instanceof un){var H=R.definitions[R.definitions.length-1];if(H.value instanceof Nt){var X;if(D instanceof st&&!D.logical?X=[D]:D instanceof lt&&(X=D.expressions.slice()),!!X){var ee=!1;do{var z=X[0];if(!(z instanceof st)||z.operator!="="||!(z.left instanceof Xe))break;var q=z.left.expression;if(!(q instanceof xe)||H.name.name!=q.name||!z.right.is_constant_expression(n))break;var $=z.left.property;if($ instanceof Ce&&($=$.evaluate(e)),$ instanceof Ce)break;$=""+$;var ce=e.option("ecma")<2015&&e.has_directive("use strict")?function(_e){return _e.key!=$&&_e.key&&_e.key.name!=$}:function(_e){return _e.key&&_e.key.name!=$};if(!H.value.properties.every(ce))break;var Q=H.value.properties.filter(function(_e){return _e.key===$})[0];Q?Q.value=new lt({start:Q.start,expressions:[Q.value.clone(),z.right.clone()],end:Q.end}):H.value.properties.push(P(Jt,z,{key:$,value:z.right})),X.shift(),ee=!0}while(X.length);return ee&&X}}}}function O(R){for(var D,H=0,X=-1,ee=R.length;H<ee;H++){var z=R[H],q=R[X];if(z instanceof un)q&&q.TYPE==z.TYPE?(q.definitions=q.definitions.concat(z.definitions),h=!0):D&&D.TYPE==z.TYPE&&B(z)?(D.definitions=D.definitions.concat(z.definitions),h=!0):(R[++X]=z,D=z);else if(z instanceof cr)z.value=ce(z.value);else if(z instanceof Tn){var $=g(q,z.init);$?(h=!0,z.init=$.length?nt(z.init,$):null,R[++X]=z):q instanceof wn&&(!z.init||z.init.TYPE==q.TYPE)?(z.init&&(q.definitions=q.definitions.concat(z.init.definitions)),z.init=q,R[X]=z,h=!0):D instanceof wn&&z.init instanceof wn&&B(z.init)?(D.definitions=D.definitions.concat(z.init.definitions),z.init=null,R[++X]=z,h=!0):R[++X]=z}else if(z instanceof Wn)z.object=ce(z.object);else if(z instanceof wt)z.condition=ce(z.condition);else if(z instanceof $e){var $=g(q,z.body);if($){if(h=!0,!$.length)continue;z.body=nt(z.body,$)}R[++X]=z}else z instanceof qn||z instanceof _r?z.expression=ce(z.expression):R[++X]=z}R.length=X+1;function ce(Q){R[++X]=z;var _e=g(q,Q);return _e?(h=!0,_e.length?nt(Q,_e):Q instanceof lt?Q.tail_node().left:Q.left):Q}}}function qy(t){for(var e,n=0;e=t.parent(n++);){if(e instanceof Rn)return!1;if(e instanceof St||e instanceof Jt||e instanceof Nt)return!0}return!1}function uf(t,e){for(const n of e.enclosed){if(e.variables.has(n.name))continue;const r=t.find_variable(n.name);if(r){if(r===n)continue;return!0}}return!1}function Yy(t,e){if(t.orig.length===1&&e){const n=e.size(),r=t.name.length;return n>r}return!0}function Jy(t,e){if(e.in_computed_key())return t;const n=e.parent(),r=t.definition(),s=e.find_scope();let l=t.fixed_value();if(e.top_retain&&r.global&&e.top_retain(r)&&Yy(r,l))return r.fixed=!1,r.single_use=!1,t;let h=r.single_use&&!(n instanceof je&&n.is_callee_pure(e)||sr(n,xo))&&!(n instanceof On&&l instanceof Ge&&l.name);if(h&&l instanceof Ce&&(h=!l.has_side_effects(e)&&!l.may_throw(e)),l instanceof yt&&r.scope!==t.scope)return t;if(h&&(l instanceof Ge||l instanceof yt)){if(yd(l,e))h=!1;else if(r.scope!==t.scope&&(r.escaped==1||$n(l,vs)||qy(e)||!e.option("reduce_funcs")))h=!1;else if(Zl(e,r))h=!1;else if((r.scope!==t.scope||r.orig[0]instanceof In)&&(h=l.is_constant_expression(t.scope),h=="f")){var m=t.scope;do(m instanceof en||Vu(m))&&Er(m,vs);while(m=m.parent_scope)}}if(h&&(l instanceof Ge||l instanceof yt)&&(h=r.scope===t.scope&&!uf(s,l)||n instanceof je&&n.expression===t&&!uf(s,l)&&!(l.name&&l.name.definition().recursive_refs>0)),h&&l){if(l instanceof Kr&&(Er(l,Co),l=P(Si,l,l)),l instanceof en&&(Er(l,Co),l=P(Ft,l,l)),r.recursive_refs>0&&l.name instanceof Ti){const S=l.name.definition();let C=l.variables.get(l.name.name),T=C&&C.orig[0];T instanceof oi||(T=P(oi,l.name,l.name),T.scope=l,l.name=T,C=l.def_function(T)),Pn(l,I=>{I instanceof xe&&I.definition()===S&&(I.thedef=C,C.references.push(I))})}return(l instanceof Ge||l instanceof yt)&&l.parent_scope!==s&&(l=l.clone(!0,e.get_toplevel()),s.add_child_scope(l)),l.optimize(e)}if(l){let S;if(l instanceof jn)!(r.orig[0]instanceof In)&&r.references.every(C=>r.scope===C.scope)&&(S=l);else{var v=l.evaluate(e);v!==l&&(e.option("unsafe_regexp")||!(v instanceof RegExp))&&(S=ir(v,l))}if(S){const C=t.size(e),T=S.size(e);let I=0;if(e.option("unused")&&!e.exposed(r)&&(I=(C+2+l.size(e))/(r.references.length-r.assignments)),T<=C+I)return S}}return t}function Zy(t,e){if(e.in_computed_key())return t;var n=t.expression,r=n,s=t.args.every(z=>!(z instanceof ht));if(e.option("reduce_vars")&&r instanceof xe&&!sr(t,xo)){const z=r.fixed_value();if(yd(z,e)||!e.toplevel.funcs&&n.definition().global)return t;r=z}var l=r instanceof Ge,h=l&&r.body[0],m=l&&!r.is_generator&&!r.async,v=m&&e.option("inline")&&!t.is_callee_pure(e);if(v&&h instanceof sn){let z=h.value;if(!z||z.is_constant_expression()){z?z=z.clone(!0):z=P(tn,t);const q=t.args.concat(z);return nt(t,q).optimize(e)}if(r.argnames.length===1&&r.argnames[0]instanceof In&&t.args.length<2&&!(t.args[0]instanceof ht)&&z instanceof xe&&z.name===r.argnames[0].name){const q=(t.args[0]||P(tn)).optimize(e);let $;return q instanceof Xe&&($=e.parent())instanceof je&&$.expression===t?nt(t,[P(Qe,t,{value:0}),q]):q}}if(v){var S,C,T=-1;let z,q,$;if(s&&!r.uses_arguments&&!(e.parent()instanceof yt)&&!(r.name&&r instanceof Ft)&&(q=y(h))&&(n===r||sr(t,Bl)||e.option("unused")&&(z=n.definition()).references.length==1&&!Zl(e,z)&&r.is_constant_expression(n.scope))&&!sr(t,Ml|xo)&&!r.contains_this()&&R()&&($=e.find_scope())&&!uf($,r)&&!function(){let Q=0,_e;for(;_e=e.parent(Q++);){if(_e instanceof Nr)return!0;if(_e instanceof Sn)break}return!1}()&&!(S instanceof yt))return Er(r,Co),$.add_child_scope(r),nt(t,ee(q)).optimize(e)}if(v&&sr(t,Bl))return Er(r,Co),r=P(r.CTOR===en?Ft:r.CTOR,r,r),r=r.clone(!0),r.figure_out_scope({},{parent_scope:e.find_scope(),toplevel:e.get_toplevel()}),P(je,t,{expression:r,args:t.args}).optimize(e);if(m&&e.option("side_effects")&&r.body.every(uo)){var B=t.args.concat(P(tn,t));return nt(t,B).optimize(e)}if(e.option("negate_iife")&&e.parent()instanceof $e&&ql(t))return t.negate(e,!0);var L=t.evaluate(e);if(L!==t)return L=ir(L,t).optimize(e),Sr(e,L,t);return t;function b(z){if(!z)return P(tn,t);if(z instanceof sn)return z.value?z.value.clone(!0):P(tn,t);if(z instanceof $e)return P(We,z,{operator:"void",expression:z.body.clone(!0)})}function y(z){var q=r.body,$=q.length;if(e.option("inline")<3)return $==1&&b(z);z=null;for(var ce=0;ce<$;ce++){var Q=q[ce];if(Q instanceof wn){if(z&&!Q.definitions.every(_e=>!_e.value))return!1}else{if(z)return!1;Q instanceof Rt||(z=Q)}}return b(z)}function g(z,q){for(var $=0,ce=r.argnames.length;$<ce;$++){var Q=r.argnames[$];if(Q instanceof Nr){if($n(Q.left,so))continue;return!1}if(Q instanceof Vt)return!1;if(Q instanceof ht){if($n(Q.expression,so))continue;return!1}if(!$n(Q,so)){if(!q||z.has(Q.name)||dd.has(Q.name)||S.conflicting_def(Q.name))return!1;C&&C.push(Q.definition())}}return!0}function O(z,q){for(var $=r.body.length,ce=0;ce<$;ce++){var Q=r.body[ce];if(Q instanceof wn){if(!q)return!1;for(var _e=Q.definitions.length;--_e>=0;){var ge=Q.definitions[_e].name;if(ge instanceof Vt||z.has(ge.name)||dd.has(ge.name)||S.conflicting_def(ge.name))return!1;C&&C.push(ge.definition())}}}return!0}function R(){var z=new Set;do if(S=e.parent(++T),S.is_block_scope()&&S.block_scope&&S.block_scope.variables.forEach(function(ce){z.add(ce.name)}),S instanceof Zr)S.argname&&z.add(S.argname.name);else if(S instanceof jr)C=[];else if(S instanceof xe&&S.fixed_value()instanceof qe)return!1;while(!(S instanceof qe));var q=!(S instanceof zt)||e.toplevel.vars,$=e.option("inline");return!O(z,$>=3&&q)||!g(z,$>=2&&q)?!1:!C||C.length==0||!_d(r,C)}function D(z,q,$,ce){var Q=$.definition();S.variables.has($.name)||(S.variables.set($.name,Q),S.enclosed.push(Q),z.push(P(Lt,$,{name:$,value:null})));var ge=P(xe,$,$);Q.references.push(ge),ce&&q.push(P(st,t,{operator:"=",logical:!1,left:ge,right:ce.clone()}))}function H(z,q){for(var $=r.argnames.length,ce=t.args.length;--ce>=$;)q.push(t.args[ce]);for(ce=$;--ce>=0;){var Q=r.argnames[ce],_e=t.args[ce];if($n(Q,so)||!Q.name||S.conflicting_def(Q.name))_e&&q.push(_e);else{var ge=P(ji,Q,Q);Q.definition().orig.push(ge),!_e&&C&&(_e=P(tn,t)),D(z,q,ge,_e)}}z.reverse(),q.reverse()}function X(z,q){for(var $=q.length,ce=0,Q=r.body.length;ce<Q;ce++){var _e=r.body[ce];if(_e instanceof wn)for(var ge=0,ne=_e.definitions.length;ge<ne;ge++){var pe=_e.definitions[ge],fe=pe.name;if(D(z,q,fe,pe.value),C&&r.argnames.every(ve=>ve.name!=fe.name)){var Oe=r.variables.get(fe.name),Ie=P(xe,fe,fe);Oe.references.push(Ie),q.splice($++,0,P(st,pe,{operator:"=",logical:!1,left:Ie,right:P(tn,fe)}))}}}}function ee(z){var q=[],$=[];if(H(q,$),X(q,$),$.push(z),q.length){const ce=S.body.indexOf(e.parent(T-1))+1;S.body.splice(ce,0,P(wn,r,{definitions:q}))}return $.map(ce=>ce.clone(!0))}}(function(t){function e(n,r){if(n instanceof Ce)return n instanceof Tt||(n=n.clone(!0)),P(n.CTOR,r,n);if(Array.isArray(n))return P(St,r,{elements:n.map(function(h){return e(h,r)})});if(n&&typeof n=="object"){var s=[];for(var l in n)tr(n,l)&&s.push(P(Jt,r,{key:l,value:e(n[l],r)}));return P(Nt,r,{properties:s})}return ir(n,r)}zt.DEFMETHOD("resolve_defines",function(n){return n.option("global_defs")?(this.figure_out_scope({ie8:n.option("ie8")}),this.transform(new dr(function(r){var s=r._find_defs(n,"");if(s){for(var l=0,h=r,m;(m=this.parent(l++))&&!(!(m instanceof Xe)||m.expression!==h);)h=m;if(!Ro(h,m))return s}}))):this}),t(Ce,mr),t(gn,function(n,r){return this.expression._find_defs(n,r)}),t(Wt,function(n,r){return this.expression._find_defs(n,"."+this.property+r)}),t(Nn,function(){this.global()}),t(xe,function(n,r){if(this.global()){var s=n.option("global_defs"),l=this.name+r;if(tr(s,l))return e(s[l],this)}}),t(Ui,function(n,r){var s=n.option("global_defs"),l="import.meta"+r;if(tr(s,l))return e(s[l],this)})})(function(t,e){t.DEFMETHOD("_find_defs",e)});class Cd extends Fn{constructor(e,{false_by_default:n=!1,mangle_options:r=!1}){super(),e.defaults!==void 0&&!e.defaults&&(n=!0),this.options=_i(e,{arguments:!1,arrows:!n,booleans:!n,booleans_as_integers:!1,collapse_vars:!n,comparisons:!n,computed_props:!n,conditionals:!n,dead_code:!n,defaults:!0,directives:!n,drop_console:!1,drop_debugger:!n,ecma:5,evaluate:!n,expression:!1,global_defs:!1,hoist_funs:!1,hoist_props:!n,hoist_vars:!1,ie8:!1,if_return:!n,inline:!n,join_vars:!n,keep_classnames:!1,keep_fargs:!0,keep_fnames:!1,keep_infinity:!1,lhs_constants:!n,loops:!n,module:!1,negate_iife:!n,passes:1,properties:!n,pure_getters:!n&&"strict",pure_funcs:null,pure_new:!1,reduce_funcs:!n,reduce_vars:!n,sequences:!n,side_effects:!n,switches:!n,top_retain:null,toplevel:!!(e&&e.top_retain),typeofs:!n,unsafe:!1,unsafe_arrows:!1,unsafe_comps:!1,unsafe_Function:!1,unsafe_math:!1,unsafe_symbols:!1,unsafe_methods:!1,unsafe_proto:!1,unsafe_regexp:!1,unsafe_undefined:!1,unused:!n,warnings:!1},!0);var s=this.options.global_defs;if(typeof s=="object")for(var l in s)l[0]==="@"&&tr(s,l)&&(s[l.slice(1)]=ls(s[l],{expression:!0}));this.options.inline===!0&&(this.options.inline=3);var h=this.options.pure_funcs;typeof h=="function"?this.pure_funcs=h:this.pure_funcs=h?function(C){return!h.includes(C.expression.print_to_string())}:er;var m=this.options.top_retain;m instanceof RegExp?this.top_retain=function(C){return m.test(C.name)}:typeof m=="function"?this.top_retain=m:m&&(typeof m=="string"&&(m=m.split(/,/)),this.top_retain=function(C){return m.includes(C.name)}),this.options.module&&(this.directives["use strict"]=!0,this.options.toplevel=!0);var v=this.options.toplevel;this.toplevel=typeof v=="string"?{funcs:/funcs/.test(v),vars:/vars/.test(v)}:{funcs:v,vars:v};var S=this.options.sequences;this.sequences_limit=S==1?800:S|0,this.evaluated_regexps=new Map,this._toplevel=void 0,this._mangle_options=r&&Lu(r)}mangle_options(){var e=this._mangle_options&&this._mangle_options.nth_identifier||gs,n=this._mangle_options&&this._mangle_options.module||this.option("module");return{ie8:this.option("ie8"),nth_identifier:e,module:n}}option(e){return this.options[e]}exposed(e){if(e.export)return!0;if(e.global){for(var n=0,r=e.orig.length;n<r;n++)if(!this.toplevel[e.orig[n]instanceof Ti?"funcs":"vars"])return!0}return!1}in_boolean_context(){if(!this.option("booleans"))return!1;for(var e=this.self(),n=0,r;r=this.parent(n);n++){if(r instanceof $e||r instanceof tt&&r.condition===e||r instanceof Ru&&r.condition===e||r instanceof Tn&&r.condition===e||r instanceof wt&&r.condition===e||r instanceof We&&r.operator=="!"&&r.expression===e)return!0;if(r instanceof ae&&(r.operator=="&&"||r.operator=="||"||r.operator=="??")||r instanceof tt||r.tail_node()===e)e=r;else return!1}}in_32_bit_context(){if(!this.option("evaluate"))return!1;for(var e=this.self(),n=0,r;r=this.parent(n);n++){if(r instanceof ae&&ef.has(r.operator))return!0;if(r instanceof We)return r.operator==="~";if(r instanceof ae&&(r.operator=="&&"||r.operator=="||"||r.operator=="??")||r instanceof tt&&r.condition!==e||r.tail_node()===e)e=r;else return!1}}in_computed_key(){if(!this.option("evaluate"))return!1;for(var e=this.self(),n=0,r;r=this.parent(n);n++)if(r instanceof cn&&r.key===e)return!0;return!1}get_toplevel(){return this._toplevel}compress(e){e=e.resolve_defines(this),this._toplevel=e,this.option("expression")&&this._toplevel.process_expression(!0);for(var n=+this.options.passes||1,r=1/0,s=!1,l=this.mangle_options(),h=0;h<n;h++)if(this._toplevel.figure_out_scope(l),h===0&&this.option("drop_console")&&(this._toplevel=this._toplevel.drop_console(this.option("drop_console"))),(h>0||this.option("reduce_vars"))&&this._toplevel.reset_opt_flags(this),this._toplevel=this._toplevel.transform(this),n>1){let m=0;if(Pn(this._toplevel,()=>{m++}),m<r)r=m,s=!1;else{if(s)break;s=!0}}return this.option("expression")&&this._toplevel.process_expression(!1),e=this._toplevel,this._toplevel=void 0,e}before(e,n){if($n(e,Co))return e;var r=!1;e instanceof qe&&(e=e.hoist_properties(this),e=e.hoist_declarations(this),r=!0),n(e,this),n(e,this);var s=e.optimize(this);return r&&s instanceof qe&&(s.drop_unused(this),n(s,this)),s===e&&Er(s,Co),s}is_lhs(){const e=this.stack[this.stack.length-1],n=this.stack[this.stack.length-2];return Ro(e,n)}}function et(t,e){t.DEFMETHOD("optimize",function(n){var r=this;if($n(r,Kl)||n.has_directive("use asm"))return r;var s=e(r,n);return Er(s,Kl),s})}et(Ce,function(t){return t}),zt.DEFMETHOD("drop_console",function(t){var e=Array.isArray(t);return this.transform(new dr(function(n){if(n.TYPE==="Call"){var r=n.expression;if(r instanceof Xe&&!(e&&t.indexOf(r.property)===-1)){for(var s=r.expression;s.expression;)s=s.expression;if(ui(s)&&s.name=="console")return P(tn,n)}}}))}),Ce.DEFMETHOD("equivalent_to",function(t){return wy(this,t)}),qe.DEFMETHOD("process_expression",function(t,e){var n=this,r=new dr(function(s){if(t&&s instanceof $e)return P(sn,s,{value:s.body});if(!t&&s instanceof sn){if(e){var l=s.value&&s.value.drop_side_effect_free(e,!0);return l?P($e,s,{body:l}):P(Rt,s)}return P($e,s,{body:s.value||P(We,s,{operator:"void",expression:P(Qe,s,{value:0})})})}if(s instanceof yt||s instanceof Ge&&s!==n)return s;if(s instanceof Sn){var h=s.body.length-1;h>=0&&(s.body[h]=s.body[h].transform(r))}else s instanceof wt?(s.body=s.body.transform(r),s.alternative&&(s.alternative=s.alternative.transform(r))):s instanceof _r&&(s.body=s.body.transform(r));return s});n.transform(r)}),zt.DEFMETHOD("reset_opt_flags",function(t){const e=this,n=t.option("reduce_vars"),r=new Fn(function(s,l){if(ra(s,Py),n)return t.top_retain&&s instanceof en&&r.parent()===e&&Er(s,zl),s.reduce_vars(r,l,t)});r.safe_ids=Object.create(null),r.in_loop=null,r.loop_ids=new Map,r.defs_to_safe_ids=new Map,e.walk(r)}),pt.DEFMETHOD("fixed_value",function(){var t=this.thedef.fixed;return!t||t instanceof Ce?t:t()}),xe.DEFMETHOD("is_immutable",function(){var t=this.definition().orig;return t.length==1&&t[0]instanceof oi});function cf(t,e){for(var n,r=0;(n=t.parent(r++))&&!(n instanceof qe);)if(n instanceof Zr&&n.argname){n=n.argname.definition().scope;break}return n.find_variable(e)}var Qy=Ct("Array Boolean clearInterval clearTimeout console Date decodeURI decodeURIComponent encodeURI encodeURIComponent Error escape eval EvalError Function isFinite isNaN JSON Math Number parseFloat parseInt RangeError ReferenceError RegExp Object setInterval setTimeout String SyntaxError TypeError unescape URIError");xe.DEFMETHOD("is_declared",function(t){return!this.definition().undeclared||t.option("unsafe")&&Qy.has(this.name)});var e0=new Set(["use asm","use strict"]);et(nr,function(t,e){return e.option("directives")&&(!e0.has(t.value)||e.has_directive(t.value)!==t)?P(Rt,t):t}),et(Fi,function(t,e){return e.option("drop_debugger")?P(Rt,t):t}),et(Qn,function(t,e){return t.body instanceof Rr&&e.loopcontrol_target(t.body)===t.body?P(Rt,t):t.label.references.length==0?t.body:t}),et(Sn,function(t,e){return Gu(t.body,e),t});function t0(t){return!(t instanceof ei||t instanceof Qr||t instanceof yt)}et(Ze,function(t,e){switch(Gu(t.body,e),t.body.length){case 1:if(!e.has_directive("use strict")&&e.parent()instanceof wt&&t0(t.body[0])||Jl(t.body[0]))return t.body[0];break;case 0:return P(Rt,t)}return t});function lf(t,e){return Gu(t.body,e),e.option("side_effects")&&t.body.length==1&&t.body[0]===e.has_directive("use strict")&&(t.body.length=0),t}et(Ge,lf),qe.DEFMETHOD("hoist_declarations",function(t){var e=this;if(t.has_directive("use asm"))return e;var n=t.option("hoist_funs"),r=t.option("hoist_vars");if(n||r){var s=[],l=[],h=new Map,m=0,v=0;Pn(e,y=>{if(y instanceof qe&&y!==e)return!0;if(y instanceof wn)return++v,!0}),r=r&&v>1;var S=new dr(function(g){if(g!==e){if(g instanceof nr)return s.push(g),P(Rt,g);if(n&&g instanceof en&&!(S.parent()instanceof On)&&S.parent()===e)return l.push(g),P(Rt,g);if(r&&g instanceof wn&&!g.definitions.some(H=>H.name instanceof Vt)){g.definitions.forEach(function(H){h.set(H.name.name,H),++m});var O=g.to_assignments(t),R=S.parent();if(R instanceof Wn&&R.init===g){if(O==null){var D=g.definitions[0].name;return P(xe,D,D)}return O}return R instanceof Tn&&R.init===g?O:O?P($e,g,{body:O}):P(Rt,g)}if(g instanceof qe)return g}});if(e=e.transform(S),m>0){var C=[];const y=e instanceof Ge,g=y?e.args_as_names():null;if(h.forEach((O,R)=>{y&&g.some(D=>D.name===O.name.name)?h.delete(R):(O=O.clone(),O.value=null,C.push(O),h.set(R,O))}),C.length>0){for(var T=0;T<e.body.length;){if(e.body[T]instanceof $e){var I=e.body[T].body,B,L;if(I instanceof st&&I.operator=="="&&(B=I.left)instanceof pt&&h.has(B.name)){var b=h.get(B.name);if(b.value)break;b.value=I.right,Ko(C,b),C.push(b),e.body.splice(T,1);continue}if(I instanceof lt&&(L=I.expressions[0])instanceof st&&L.operator=="="&&(B=L.left)instanceof pt&&h.has(B.name)){var b=h.get(B.name);if(b.value)break;b.value=L.right,Ko(C,b),C.push(b),e.body[T].body=nt(I,I.expressions.slice(1));continue}}if(e.body[T]instanceof Rt){e.body.splice(T,1);continue}if(e.body[T]instanceof Ze){e.body.splice(T,1,...e.body[T].body);continue}break}C=P(wn,e,{definitions:C}),l.push(C)}}e.body=s.concat(l,e.body)}return e}),qe.DEFMETHOD("hoist_properties",function(t){var e=this;if(!t.option("hoist_props")||t.has_directive("use asm"))return e;var n=e instanceof zt&&t.top_retain||vt,r=new Map,s=new dr(function(l,h){if(l instanceof Lt){const m=l.name;let v,S;if(m.scope===e&&(v=m.definition()).escaped!=1&&!v.assignments&&!v.direct_access&&!v.single_use&&!t.exposed(v)&&!n(v)&&(S=m.fixed_value())===l.value&&S instanceof Nt&&!S.properties.some(C=>C instanceof ht||C.computed_key())){h(l,this);const C=new Map,T=[];return S.properties.forEach(({key:I,value:B})=>{const L=s.find_scope(),b=e.create_symbol(m.CTOR,{source:m,scope:L,conflict_scopes:new Set([L,...m.definition().references.map(y=>y.scope)]),tentative_name:m.name+"_"+I});C.set(String(I),b.definition()),T.push(P(Lt,l,{name:b,value:B}))}),r.set(v.id,C),qt.splice(T)}}else if(l instanceof Xe&&l.expression instanceof xe){const m=r.get(l.expression.definition().id);if(m){const v=m.get(String(hd(l.property))),S=P(xe,l,{name:v.name,scope:l.expression.scope,thedef:v});return S.reference({}),S}}});return e.transform(s)}),et($e,function(t,e){if(e.option("side_effects")){var n=t.body,r=n.drop_side_effect_free(e,!0);if(!r)return P(Rt,t);if(r!==n)return P($e,t,{body:r})}return t}),et(Li,function(t,e){return e.option("loops")?P(Tn,t,t).optimize(e):t}),et(yi,function(t,e){if(!e.option("loops"))return t;var n=t.condition.tail_node().evaluate(e);if(!(n instanceof Ce)){if(n)return P(Tn,t,{body:P(Ze,t.body,{body:[t.body,P($e,t.condition,{body:t.condition})]})}).optimize(e);if(!Xl(t,e.parent()))return P(Ze,t.body,{body:[t.body,P($e,t.condition,{body:t.condition})]}).optimize(e)}return t});function Od(t,e){var n=t.body instanceof Ze?t.body.body[0]:t.body;if(e.option("dead_code")&&s(n)){var r=[];return t.init instanceof Rn?r.push(t.init):t.init&&r.push(P($e,t.init,{body:t.init})),t.condition&&r.push(P($e,t.condition,{body:t.condition})),No(e,t.body,r),P(Ze,t,{body:r})}return n instanceof wt&&(s(n.body)?(t.condition?t.condition=P(ae,t.condition,{left:t.condition,operator:"&&",right:n.condition.negate(e)}):t.condition=n.condition.negate(e),l(n.alternative)):s(n.alternative)&&(t.condition?t.condition=P(ae,t.condition,{left:t.condition,operator:"&&",right:n.condition}):t.condition=n.condition,l(n.body))),t;function s(h){return h instanceof Rr&&e.loopcontrol_target(h)===e.self()}function l(h){h=ju(h),t.body instanceof Ze?(t.body=t.body.clone(),t.body.body=h.concat(t.body.body.slice(1)),t.body=t.body.transform(e)):t.body=P(Ze,t.body,{body:h}).transform(e),t=Od(t,e)}}et(Tn,function(t,e){if(!e.option("loops"))return t;if(e.option("side_effects")&&t.init&&(t.init=t.init.drop_side_effect_free(e)),t.condition){var n=t.condition.evaluate(e);if(!(n instanceof Ce)){if(n)t.condition=null;else if(!e.option("dead_code")){var r=t.condition;t.condition=ir(n,t.condition),t.condition=zi(t.condition.transform(e),r)}}if(e.option("dead_code")&&(n instanceof Ce&&(n=t.condition.tail_node().evaluate(e)),!n)){var s=[];return No(e,t.body,s),t.init instanceof Rn?s.push(t.init):t.init&&s.push(P($e,t.init,{body:t.init})),s.push(P($e,t.condition,{body:t.condition})),P(Ze,t,{body:s}).optimize(e)}}return Od(t,e)}),et(wt,function(t,e){if(uo(t.alternative)&&(t.alternative=null),!e.option("conditionals"))return t;var n=t.condition.evaluate(e);if(!e.option("dead_code")&&!(n instanceof Ce)){var r=t.condition;t.condition=ir(n,r),t.condition=zi(t.condition.transform(e),r)}if(e.option("dead_code"))if(n instanceof Ce&&(n=t.condition.tail_node().evaluate(e)),n){if(!(n instanceof Ce)){var s=[];return s.push(P($e,t.condition,{body:t.condition})),s.push(t.body),t.alternative&&No(e,t.alternative,s),P(Ze,t,{body:s}).optimize(e)}}else{var s=[];return No(e,t.body,s),s.push(P($e,t.condition,{body:t.condition})),t.alternative&&s.push(t.alternative),P(Ze,t,{body:s}).optimize(e)}var l=t.condition.negate(e),h=t.condition.size(),m=l.size(),v=m<h;if(t.alternative&&v){v=!1,t.condition=l;var S=t.body;t.body=t.alternative||P(Rt,t),t.alternative=S}if(uo(t.body)&&uo(t.alternative))return P($e,t.condition,{body:t.condition.clone()}).optimize(e);if(t.body instanceof $e&&t.alternative instanceof $e)return P($e,t,{body:P(tt,t,{condition:t.condition,consequent:t.body.body,alternative:t.alternative.body})}).optimize(e);if(uo(t.alternative)&&t.body instanceof $e)return h===m&&!v&&t.condition instanceof ae&&t.condition.operator=="||"&&(v=!0),v?P($e,t,{body:P(ae,t,{operator:"||",left:l,right:t.body.body})}).optimize(e):P($e,t,{body:P(ae,t,{operator:"&&",left:t.condition,right:t.body.body})}).optimize(e);if(t.body instanceof Rt&&t.alternative instanceof $e)return P($e,t,{body:P(ae,t,{operator:"||",left:t.condition,right:t.alternative.body})}).optimize(e);if(t.body instanceof cr&&t.alternative instanceof cr&&t.body.TYPE==t.alternative.TYPE)return P(t.body.CTOR,t,{value:P(tt,t,{condition:t.condition,consequent:t.body.value||P(tn,t.body),alternative:t.alternative.value||P(tn,t.alternative)}).transform(e)}).optimize(e);if(t.body instanceof wt&&!t.body.alternative&&!t.alternative&&(t=P(wt,t,{condition:P(ae,t.condition,{operator:"&&",left:t.condition,right:t.body.condition}),body:t.body.body,alternative:null})),Pr(t.body)&&t.alternative){var C=t.alternative;return t.alternative=null,P(Ze,t,{body:[t,C]}).optimize(e)}if(Pr(t.alternative)){var s=t.body;return t.body=t.alternative,t.condition=v?l:t.condition.negate(e),t.alternative=null,P(Ze,t,{body:[t,s]}).optimize(e)}return t}),et(qn,function(t,e){if(!e.option("switches"))return t;var n,r=t.expression.evaluate(e);if(!(r instanceof Ce)){var s=t.expression;t.expression=ir(r,s),t.expression=zi(t.expression.transform(e),s)}if(!e.option("dead_code"))return t;r instanceof Ce&&(r=t.expression.tail_node().evaluate(e));for(var l=[],h=[],m,v,S=0,C=t.body.length;S<C&&!v;S++){if(n=t.body[S],n instanceof So)m?L(n,h[h.length-1]):m=n;else if(!(r instanceof Ce)){var T=n.expression.evaluate(e);if(!(T instanceof Ce)&&T!==r){L(n,h[h.length-1]);continue}if(T instanceof Ce&&(T=n.expression.tail_node().evaluate(e)),T===r&&(v=n,m)){var I=h.indexOf(m);h.splice(I,1),L(m,h[I-1]),m=null}}h.push(n)}for(;S<C;)L(t.body[S++],h[h.length-1]);t.body=h;let B=m||v;if(m=null,v=null,h.every((D,H)=>(D===B||D.expression instanceof Tt)&&(D.body.length===0||Pr(D)||h.length-1===H)))for(let D=0;D<h.length;D++){const H=h[D];for(let X=D+1;X<h.length;X++){const ee=h[X];if(ee.body.length===0)continue;const z=X===h.length-1,q=b(ee,H,!1);if(q||z&&b(ee,H,!0)){!q&&z&&ee.body.push(P(Rr));let $=X-1,ce=0;for(;$>D&&R(h[$--]);)ce++;const Q=h.splice(X-ce,1+ce);h.splice(D+1,0,...Q),D+=Q.length}}}for(let D=0;D<h.length;D++){let H=h[D];if(H.body.length!==0&&Pr(H))for(let X=D+1;X<h.length;D++,X++){let ee=h[X];if(ee.body.length!==0){if(b(ee,H,!1)||X===h.length-1&&b(ee,H,!0)){H.body=[],H=ee;continue}break}}}{let D=h.length-1;for(;D>=0;D--){let H=h[D].body;if(O(H[H.length-1],e)&&H.pop(),!R(h[D]))break}if(D++,!B||h.indexOf(B)>=D)for(let H=h.length-1;H>=D;H--){let X=h[H];if(X===B)B=null,h.pop();else if(!X.expression.has_side_effects(e))h.pop();else break}}e:if(B){let D=h.indexOf(B),H=D;for(;H<h.length-1&&R(h[H]);H++);if(H<h.length-1)break e;let X=h.length-1;for(;X>=0;X--){let ee=h[X];if(ee!==B&&ee.expression.has_side_effects(e))break}if(H>X){let ee=D-1;for(;ee>=0&&R(h[ee]);ee--);let z=Math.max(X,ee)+1,q=D;X>D?(q=X,h[X].body=h[H].body):B.body=h[H].body,h.splice(q+1,H-q),h.splice(z,D-z)}}e:if(B){let D=h.findIndex(z=>!R(z)),H;if(D===h.length-1){let z=h[D];if(g(t))break e;H=P(Ze,z,{body:z.body}),z.body=[]}else if(D!==-1)break e;if(!h.find(z=>z!==B&&z.expression.has_side_effects(e)))return P(Ze,t,{body:l.concat(y(t.expression),B.expression?y(B.expression):[],H||[])}).optimize(e);const ee=h.indexOf(B);if(h.splice(ee,1),B=null,H)return P(Ze,t,{body:l.concat(t,H)}).optimize(e)}if(h.length>0&&(h[0].body=l.concat(h[0].body)),h.length==0)return P(Ze,t,{body:l.concat(y(t.expression))}).optimize(e);if(h.length==1&&!g(t)){let D=h[0];return P(wt,t,{condition:P(ae,t,{operator:"===",left:t.expression,right:D.expression}),body:P(Ze,D,{body:D.body}),alternative:null}).optimize(e)}if(h.length===2&&B&&!g(t)){let D=h[0]===B?h[1]:h[0],H=B.expression&&y(B.expression);if(Pr(h[0])){let q=h[0];return O(q.body[q.body.length-1],e)&&q.body.pop(),P(wt,t,{condition:P(ae,t,{operator:"===",left:t.expression,right:D.expression}),body:P(Ze,D,{body:D.body}),alternative:P(Ze,B,{body:[].concat(H||[],B.body)})}).optimize(e)}let X="===",ee=P(Ze,D,{body:D.body}),z=P(Ze,B,{body:[].concat(H||[],B.body)});if(h[0]===B){X="!==";let q=z;z=ee,ee=q}return P(Ze,t,{body:[P(wt,t,{condition:P(ae,t,{operator:X,left:t.expression,right:D.expression}),body:ee,alternative:null})].concat(z)}).optimize(e)}return t;function L(D,H){H&&!Pr(H)?H.body=H.body.concat(D.body):No(e,D,l)}function b(D,H,X){let ee=D.body,z=H.body;if(X&&(ee=ee.concat(P(Rr))),ee.length!==z.length)return!1;let q=P(Ze,D,{body:ee}),$=P(Ze,H,{body:z});return q.equivalent_to($)}function y(D){return P($e,D,{body:D})}function g(D){let H=!1,X=new Fn(ee=>{if(H||ee instanceof Ge||ee instanceof $e)return!0;if(!O(ee,X))return;let z=X.parent();z instanceof Bi&&z.body[z.body.length-1]===ee||(H=!0)});return D.walk(X),H}function O(D,H){return D instanceof Rr&&H.loopcontrol_target(D)===t}function R(D){return!Pr(D)&&!P(Ze,D,{body:D.body}).has_side_effects(e)}}),et(br,function(t,e){if(t.bcatch&&t.bfinally&&t.bfinally.body.every(uo)&&(t.bfinally=null),e.option("dead_code")&&t.body.body.every(uo)){var n=[];return t.bcatch&&No(e,t.bcatch,n),t.bfinally&&n.push(...t.bfinally.body),P(Ze,t,{body:n}).optimize(e)}return t}),un.DEFMETHOD("to_assignments",function(t){var e=t.option("reduce_vars"),n=[];for(const s of this.definitions){if(s.value){var r=P(xe,s.name,s.name);n.push(P(st,s,{operator:"=",logical:!1,left:r,right:s.value})),e&&(r.definition().fixed=!1)}const l=s.name.definition();l.eliminated++,l.replaced--}return n.length==0?null:nt(this,n)}),et(un,function(t){return t.definitions.length==0?P(Rt,t):t}),et(Lt,function(t,e){return t.name instanceof qo&&t.value!=null&&ci(t.value,e)&&(t.value=null),t}),et(wr,function(t){return t}),et(je,function(t,e){var n=t.expression,r=n;kd(t.args);var s=t.args.every(Q=>!(Q instanceof ht));e.option("reduce_vars")&&r instanceof xe&&(r=r.fixed_value());var l=r instanceof Ge;if(l&&r.pinned())return t;if(e.option("unused")&&s&&l&&!r.uses_arguments){for(var h=0,m=0,v=0,S=t.args.length;v<S;v++){if(r.argnames[v]instanceof ht){if($n(r.argnames[v].expression,so))for(;v<S;){var C=t.args[v++].drop_side_effect_free(e);C&&(t.args[h++]=C)}else for(;v<S;)t.args[h++]=t.args[v++];m=h;break}var T=v>=r.argnames.length;if(T||$n(r.argnames[v],so)){var C=t.args[v].drop_side_effect_free(e);if(C)t.args[h++]=C;else if(!T){t.args[h++]=P(Qe,t.args[v],{value:0});continue}}else t.args[h++]=t.args[v];m=h}t.args.length=m}if(e.option("unsafe")&&!n.contains_optional()){if(n instanceof Wt&&n.start.value==="Array"&&n.property==="from"&&t.args.length===1){const[Q]=t.args;if(Q instanceof St)return P(St,Q,{elements:Q.elements}).optimize(e)}if(ui(n))switch(n.name){case"Array":if(t.args.length!=1)return P(St,t,{elements:t.args}).optimize(e);if(t.args[0]instanceof Qe&&t.args[0].value<=11){const Q=[];for(let _e=0;_e<t.args[0].value;_e++)Q.push(new Ir);return new St({elements:Q})}break;case"Object":if(t.args.length==0)return P(Nt,t,{properties:[]});break;case"String":if(t.args.length==0)return P(dt,t,{value:""});if(t.args.length<=1)return P(ae,t,{left:t.args[0],operator:"+",right:P(dt,t,{value:""})}).optimize(e);break;case"Number":if(t.args.length==0)return P(Qe,t,{value:0});if(t.args.length==1&&e.option("unsafe_math"))return P(We,t,{expression:t.args[0],operator:"+"}).optimize(e);break;case"Symbol":t.args.length==1&&t.args[0]instanceof dt&&e.option("unsafe_symbols")&&(t.args.length=0);break;case"Boolean":if(t.args.length==0)return P(Gi,t);if(t.args.length==1)return P(We,t,{expression:P(We,t,{expression:t.args[0],operator:"!"}),operator:"!"}).optimize(e);break;case"RegExp":var I=[];if(t.args.length>=1&&t.args.length<=2&&t.args.every(Q=>{var _e=Q.evaluate(e);return I.push(_e),Q!==_e})&&zp(I[0])){let[Q,_e]=I;Q=gu(new RegExp(Q).source);const ge=P(fr,t,{value:{source:Q,flags:_e}});if(ge._eval(e)!==ge)return ge}break}else if(n instanceof Wt)switch(n.property){case"toString":if(t.args.length==0&&!n.expression.may_throw_on_access(e))return P(ae,t,{left:P(dt,t,{value:""}),operator:"+",right:n.expression}).optimize(e);break;case"join":if(n.expression instanceof St)e:{var B;if(t.args.length>0&&(B=t.args[0].evaluate(e),B===t.args[0]))break e;for(var L=[],b=[],v=0,S=n.expression.elements.length;v<S;v++){var y=n.expression.elements[v];if(y instanceof ht)break e;var g=y.evaluate(e);g!==y?b.push(g):(b.length>0&&(L.push(P(dt,t,{value:b.join(B)})),b.length=0),L.push(y))}if(b.length>0&&L.push(P(dt,t,{value:b.join(B)})),L.length==0)return P(dt,t,{value:""});if(L.length==1)return L[0].is_string(e)?L[0]:P(ae,L[0],{operator:"+",left:P(dt,t,{value:""}),right:L[0]});if(B==""){var O;return L[0].is_string(e)||L[1].is_string(e)?O=L.shift():O=P(dt,t,{value:""}),L.reduce(function(_e,ge){return P(ae,ge,{operator:"+",left:_e,right:ge})},O).optimize(e)}var C=t.clone();return C.expression=C.expression.clone(),C.expression.expression=C.expression.expression.clone(),C.expression.expression.elements=L,Sr(e,t,C)}break;case"charAt":if(n.expression.is_string(e)){var R=t.args[0],D=R?R.evaluate(e):0;if(D!==R)return P(An,n,{expression:n.expression,property:ir(D|0,R||n)}).optimize(e)}break;case"apply":if(t.args.length==2&&t.args[1]instanceof St){var H=t.args[1].elements.slice();return H.unshift(t.args[0]),P(je,t,{expression:P(Wt,n,{expression:n.expression,optional:!1,property:"call"}),args:H}).optimize(e)}break;case"call":var X=n.expression;if(X instanceof xe&&(X=X.fixed_value()),X instanceof Ge&&!X.contains_this())return(t.args.length?nt(this,[t.args[0],P(je,t,{expression:n.expression,args:t.args.slice(1)})]):P(je,t,{expression:n.expression,args:[]})).optimize(e);break}}if(e.option("unsafe_Function")&&ui(n)&&n.name=="Function"){if(t.args.length==0)return P(Ft,t,{argnames:[],body:[]}).optimize(e);if(t.args.every(Q=>Q instanceof dt))try{var ce="n(function("+t.args.slice(0,-1).map(function(Q){return Q.value}).join(",")+"){"+t.args[t.args.length-1].value+"})",ee=ls(ce),z=e.mangle_options();ee.figure_out_scope(z);var q=new Cd(e.options,{mangle_options:e._mangle_options});ee=ee.transform(q),ee.figure_out_scope(z),ee.compute_char_frequency(z),ee.mangle_names(z);var $;Pn(ee,Q=>{if(Vu(Q))return $=Q,pr});var ce=Ul();return Ze.prototype._codegen.call($,$,ce),t.args=[P(dt,t,{value:$.argnames.map(function(Q){return Q.print_to_string()}).join(",")}),P(dt,t.args[t.args.length-1],{value:ce.get().replace(/^{|}$/g,"")})],t}catch(Q){if(!(Q instanceof td))throw Q}}return Zy(t,e)}),Ce.DEFMETHOD("contains_optional",function(){return this instanceof Xe||this instanceof je||this instanceof gn?this.optional?!0:this.expression.contains_optional():!1}),et(rr,function(t,e){return e.option("unsafe")&&ui(t.expression)&&["Object","RegExp","Function","Error","Array"].includes(t.expression.name)?P(je,t,t).transform(e):t}),et(lt,function(t,e){if(!e.option("side_effects"))return t;var n=[];s();var r=n.length-1;if(l(),r==0)return t=Oo(e.parent(),e.self(),n[0]),t instanceof lt||(t=t.optimize(e)),t;return t.expressions=n,t;function s(){var h=si(e),m=t.expressions.length-1;t.expressions.forEach(function(v,S){S<m&&(v=v.drop_side_effect_free(e,h)),v&&(Wl(n,v),h=!1)})}function l(){for(;r>0&&ci(n[r],e);)r--;r<n.length-1&&(n[r]=P(We,t,{operator:"void",expression:n[r]}),n.length=r+1)}}),Xt.DEFMETHOD("lift_sequences",function(t){if(t.option("sequences")&&this.expression instanceof lt){var e=this.expression.expressions.slice(),n=this.clone();return n.expression=e.pop(),e.push(n),nt(this,e).optimize(t)}return this}),et(Vi,function(t,e){return t.lift_sequences(e)}),et(We,function(t,e){var n=t.expression;if(t.operator=="delete"&&!(n instanceof xe||n instanceof Xe||n instanceof gn||md(n)))return nt(t,[n,P(vr,t)]).optimize(e);var r=t.lift_sequences(e);if(r!==t)return r;if(e.option("side_effects")&&t.operator=="void")return n=n.drop_side_effect_free(e),n?(t.expression=n,t):P(tn,t).optimize(e);if(e.in_boolean_context())switch(t.operator){case"!":if(n instanceof We&&n.operator=="!")return n.expression;n instanceof ae&&(t=Sr(e,t,n.negate(e,si(e))));break;case"typeof":return(n instanceof xe?P(vr,t):nt(t,[n,P(vr,t)])).optimize(e)}if(t.operator=="-"&&n instanceof ao&&(n=n.transform(e)),n instanceof ae&&(t.operator=="+"||t.operator=="-")&&(n.operator=="*"||n.operator=="/"||n.operator=="%"))return P(ae,t,{operator:n.operator,left:P(We,n.left,{operator:t.operator,expression:n.left}),right:n.right});if(e.option("evaluate")){if(t.operator==="~"&&t.expression instanceof We&&t.expression.operator==="~"&&(e.in_32_bit_context()||t.expression.expression.is_32_bit_integer()))return t.expression.expression;if(t.operator==="~"&&n instanceof ae&&n.operator==="^")return n.left instanceof We&&n.left.operator==="~"?n.left=n.left.bitwise_negate(!0):n.right=n.right.bitwise_negate(!0),n}if(t.operator!="-"||!(n instanceof Qe||n instanceof ao||n instanceof ai)){var s=t.evaluate(e);if(s!==t)return s=ir(s,t).optimize(e),Sr(e,s,t)}return t}),ae.DEFMETHOD("lift_sequences",function(t){if(t.option("sequences")){if(this.left instanceof lt){var e=this.left.expressions.slice(),n=this.clone();return n.left=e.pop(),e.push(n),nt(this,e).optimize(t)}if(this.right instanceof lt&&!this.left.has_side_effects(t)){for(var r=this.operator=="="&&this.left instanceof xe,e=this.right.expressions,s=e.length-1,l=0;l<s&&!(!r&&e[l].has_side_effects(t));l++);if(l==s){e=e.slice();var n=this.clone();return n.right=e.pop(),e.push(n),nt(this,e).optimize(t)}else if(l>0){var n=this.clone();return n.right=nt(this.right,e.slice(l)),e=e.slice(0,l),e.push(n),nt(this,e).optimize(t)}}}return this});var n0=Ct("== === != !== * & | ^");function r0(t){return t instanceof St||t instanceof Ge||t instanceof Nt||t instanceof yt}et(ae,function(t,e){function n(){return t.left.is_constant()||t.right.is_constant()||!t.left.has_side_effects(e)&&!t.right.has_side_effects(e)}function r(X){if(n()){X&&(t.operator=X);var ee=t.left;t.left=t.right,t.right=ee}}if(e.option("lhs_constants")&&n0.has(t.operator)&&t.right.is_constant()&&!t.left.is_constant()&&(t.left instanceof ae&&kr[t.left.operator]>=kr[t.operator]||r()),t=t.lift_sequences(e),e.option("comparisons"))switch(t.operator){case"===":case"!==":var s=!0;(t.left.is_string(e)&&t.right.is_string(e)||t.left.is_number(e)&&t.right.is_number(e)||t.left.is_boolean()&&t.right.is_boolean()||t.left.equivalent_to(t.right))&&(t.operator=t.operator.substr(0,2));case"==":case"!=":if(!s&&ci(t.left,e))t.left=P(hr,t.left);else if(!s&&ci(t.right,e))t.right=P(hr,t.right);else if(e.option("typeofs")&&t.left instanceof dt&&t.left.value=="undefined"&&t.right instanceof We&&t.right.operator=="typeof"){var l=t.right.expression;(l instanceof xe?l.is_declared(e):!(l instanceof Xe&&e.option("ie8")))&&(t.right=l,t.left=P(tn,t.left).optimize(e),t.operator.length==2&&(t.operator+="="))}else if(e.option("typeofs")&&t.left instanceof We&&t.left.operator=="typeof"&&t.right instanceof dt&&t.right.value=="undefined"){var l=t.left.expression;(l instanceof xe?l.is_declared(e):!(l instanceof Xe&&e.option("ie8")))&&(t.left=l,t.right=P(tn,t.right).optimize(e),t.operator.length==2&&(t.operator+="="))}else{if(t.left instanceof xe&&t.right instanceof xe&&t.left.definition()===t.right.definition()&&r0(t.left.fixed_value()))return P(t.operator[0]=="="?vr:Gi,t);if(t.left.is_32_bit_integer()&&t.right.is_32_bit_integer()){const X=ce=>P(We,ce,{operator:"!",expression:ce}),ee=(ce,Q)=>Q?e.in_boolean_context()?ce:X(X(ce)):X(ce);if(t.left instanceof Qe&&t.left.value===0)return ee(t.right,t.operator[0]==="!");if(t.right instanceof Qe&&t.right.value===0)return ee(t.left,t.operator[0]==="!");let z,q,$;if((z=t.left instanceof ae?t.left:t.right instanceof ae?t.right:null)&&($=z===t.left?t.right:t.left)&&z.operator==="&"&&$ instanceof Qe&&$.is_32_bit_integer()&&(q=z.left.equivalent_to($)?z.right:z.right.equivalent_to($)?z.left:null)){let ce=ee(P(ae,t,{operator:"&",left:$,right:P(We,t,{operator:"~",expression:q})}),t.operator[0]==="!");return Sr(e,ce,t)}}}break;case"&&":case"||":var h=t.left;if(h.operator==t.operator&&(h=h.right),h instanceof ae&&h.operator==(t.operator=="&&"?"!==":"===")&&t.right instanceof ae&&h.operator==t.right.operator&&(ci(h.left,e)&&t.right.left instanceof hr||h.left instanceof hr&&ci(t.right.left,e))&&!h.right.has_side_effects(e)&&h.right.equivalent_to(t.right.right)){var m=P(ae,t,{operator:h.operator.slice(0,-1),left:P(hr,t),right:h.right});return h!==t.left&&(m=P(ae,t,{operator:t.operator,left:t.left.left,right:m})),m}break}if(t.operator=="+"&&e.in_boolean_context()){var v=t.left.evaluate(e),S=t.right.evaluate(e);if(v&&typeof v=="string")return nt(t,[t.right,P(vr,t)]).optimize(e);if(S&&typeof S=="string")return nt(t,[t.left,P(vr,t)]).optimize(e)}if(e.option("comparisons")&&t.is_boolean()){if(!(e.parent()instanceof ae)||e.parent()instanceof st){var C=P(We,t,{operator:"!",expression:t.negate(e,si(e))});t=Sr(e,t,C)}if(e.option("unsafe_comps"))switch(t.operator){case"<":r(">");break;case"<=":r(">=");break}}if(t.operator=="+"){if(t.right instanceof dt&&t.right.getValue()==""&&t.left.is_string(e))return t.left;if(t.left instanceof dt&&t.left.getValue()==""&&t.right.is_string(e))return t.right;if(t.left instanceof ae&&t.left.operator=="+"&&t.left.left instanceof dt&&t.left.left.getValue()==""&&t.right.is_string(e))return t.left=t.left.right,t}if(e.option("evaluate")){switch(t.operator){case"&&":var v=$n(t.left,$l)?!0:$n(t.left,Hl)?!1:t.left.evaluate(e);if(v){if(!(v instanceof Ce))return nt(t,[t.left,t.right]).optimize(e)}else return Oo(e.parent(),e.self(),t.left).optimize(e);var S=t.right.evaluate(e);if(S){if(!(S instanceof Ce)){var T=e.parent();if(T.operator=="&&"&&T.left===e.self()||e.in_boolean_context())return t.left.optimize(e)}}else{if(e.in_boolean_context())return nt(t,[t.left,P(Gi,t)]).optimize(e);Er(t,Hl)}if(t.left.operator=="||"){var I=t.left.right.evaluate(e);if(!I)return P(tt,t,{condition:t.left.left,consequent:t.right,alternative:t.left.right}).optimize(e)}break;case"||":var v=$n(t.left,$l)?!0:$n(t.left,Hl)?!1:t.left.evaluate(e);if(v){if(!(v instanceof Ce))return Oo(e.parent(),e.self(),t.left).optimize(e)}else return nt(t,[t.left,t.right]).optimize(e);var S=t.right.evaluate(e);if(S){if(!(S instanceof Ce)){if(e.in_boolean_context())return nt(t,[t.left,P(vr,t)]).optimize(e);Er(t,$l)}}else{var T=e.parent();if(T.operator=="||"&&T.left===e.self()||e.in_boolean_context())return t.left.optimize(e)}if(t.left.operator=="&&"){var I=t.left.right.evaluate(e);if(I&&!(I instanceof Ce))return P(tt,t,{condition:t.left.left,consequent:t.left.right,alternative:t.right}).optimize(e)}break;case"??":if(li(t.left,e))return t.right;var v=t.left.evaluate(e);if(!(v instanceof Ce))return v==null?t.right:t.left;if(e.in_boolean_context()){const z=t.right.evaluate(e);if(!(z instanceof Ce)&&!z)return t.left}}var B=!0;switch(t.operator){case"+":if(t.right instanceof Tt&&t.left instanceof ae&&t.left.operator=="+"&&t.left.is_string(e)){var L=P(ae,t,{operator:"+",left:t.left.right,right:t.right}),b=L.optimize(e);L!==b&&(t=P(ae,t,{operator:"+",left:t.left.left,right:b}))}if(t.left instanceof ae&&t.left.operator=="+"&&t.left.is_string(e)&&t.right instanceof ae&&t.right.operator=="+"&&t.right.is_string(e)){var L=P(ae,t,{operator:"+",left:t.left.right,right:t.right.left}),y=L.optimize(e);L!==y&&(t=P(ae,t,{operator:"+",left:P(ae,t.left,{operator:"+",left:t.left.left,right:y}),right:t.right.right}))}if(t.right instanceof We&&t.right.operator=="-"&&t.left.is_number(e)){t=P(ae,t,{operator:"-",left:t.left,right:t.right.expression});break}if(t.left instanceof We&&t.left.operator=="-"&&n()&&t.right.is_number(e)){t=P(ae,t,{operator:"-",left:t.right,right:t.left.expression});break}if(t.left instanceof Xn){var g=t.left,b=t.right.evaluate(e);if(b!=t.right)return g.segments[g.segments.length-1].value+=String(b),g}if(t.right instanceof Xn){var b=t.right,g=t.left.evaluate(e);if(g!=t.left)return b.segments[0].value=String(g)+b.segments[0].value,b}if(t.left instanceof Xn&&t.right instanceof Xn){var g=t.left,O=g.segments,b=t.right;O[O.length-1].value+=b.segments[0].value;for(var R=1;R<b.segments.length;R++)O.push(b.segments[R]);return g}case"*":B=e.option("unsafe_math");case"&":case"|":case"^":if(t.left.is_number(e)&&t.right.is_number(e)&&n()&&!(t.left instanceof ae&&t.left.operator!=t.operator&&kr[t.left.operator]>=kr[t.operator])){var D=P(ae,t,{operator:t.operator,left:t.right,right:t.left});t.right instanceof Tt&&!(t.left instanceof Tt)?t=Sr(e,D,t):t=Sr(e,t,D)}B&&t.is_number(e)&&(t.right instanceof ae&&t.right.operator==t.operator&&(t=P(ae,t,{operator:t.operator,left:P(ae,t.left,{operator:t.operator,left:t.left,right:t.right.left,start:t.left.start,end:t.right.left.end}),right:t.right.right})),t.right instanceof Tt&&t.left instanceof ae&&t.left.operator==t.operator&&(t.left.left instanceof Tt?t=P(ae,t,{operator:t.operator,left:P(ae,t.left,{operator:t.operator,left:t.left.left,right:t.right,start:t.left.left.start,end:t.right.end}),right:t.left.right}):t.left.right instanceof Tt&&(t=P(ae,t,{operator:t.operator,left:P(ae,t.left,{operator:t.operator,left:t.left.right,right:t.right,start:t.left.right.start,end:t.right.end}),right:t.left.left}))),t.left instanceof ae&&t.left.operator==t.operator&&t.left.right instanceof Tt&&t.right instanceof ae&&t.right.operator==t.operator&&t.right.left instanceof Tt&&(t=P(ae,t,{operator:t.operator,left:P(ae,t.left,{operator:t.operator,left:P(ae,t.left.left,{operator:t.operator,left:t.left.right,right:t.right.left,start:t.left.right.start,end:t.right.left.end}),right:t.left.left}),right:t.right.right})))}if(ef.has(t.operator)){let X,ee,z,q,$=t.left;if(t.operator==="&"&&t.right instanceof ae&&t.right.operator==="|"&&typeof(ee=t.left.evaluate(e))=="number"&&(typeof(X=t.right.right.evaluate(e))=="number"?(z=t.right.left,q=t.right.right):typeof(X=t.right.left.evaluate(e))=="number"&&(z=t.right.right,q=t.right.left),z&&q))if(!(X&ee))t=P(ae,t,{operator:t.operator,left:$,right:z});else{const fe=P(ae,t,{operator:"|",left:P(ae,t,{operator:"&",left:z,right:$}),right:ir(X&ee,q)});t=Sr(e,t,fe)}if(t.left.equivalent_to(t.right)&&!t.left.has_side_effects(e)){if(t.operator==="^")return P(Qe,t,{value:0});(t.operator==="|"||t.operator==="&")&&(t.left=P(Qe,t,{value:0}),t.operator="|")}(t.operator==="<<"||t.operator===">>")&&t.right instanceof Qe&&t.right.value===0&&(t.operator="|");const Q=t.right instanceof Qe&&t.right.value===0?t.right:t.left instanceof Qe&&t.left.value===0?t.left:null,_e=Q&&(Q===t.right?t.left:t.right);if(Q&&(t.operator==="|"||t.operator==="^")&&(_e.is_32_bit_integer()||e.in_32_bit_context()))return _e;if(Q&&t.operator==="&"&&!_e.has_side_effects(e))return Q;const ge=fe=>fe instanceof Qe&&fe.value===-1||fe instanceof We&&(fe.operator==="-"&&fe.expression instanceof Qe&&fe.expression.value===1||fe.operator==="~"&&fe.expression instanceof Qe&&fe.expression.value===0),ne=ge(t.right)?t.right:ge(t.left)?t.left:null,pe=ne&&(ne===t.right?t.left:t.right);switch(t.operator){case"|":if(ne&&!pe.has_side_effects(e))return ne;break;case"&":if(ne&&(pe.is_32_bit_integer()||e.in_32_bit_context()))return pe;break;case"^":if(ne)return pe.bitwise_negate(e.in_32_bit_context());t.left instanceof We&&t.left.operator==="~"&&t.right instanceof We&&t.right.operator==="~"&&(t=P(ae,t,{operator:"^",left:t.left.expression,right:t.right.expression}));break}}}if(t.right instanceof ae&&t.right.operator==t.operator&&(ko.has(t.operator)||t.operator=="+"&&(t.right.left.is_string(e)||t.left.is_string(e)&&t.right.right.is_string(e))))return t.left=P(ae,t.left,{operator:t.operator,left:t.left.transform(e),right:t.right.left.transform(e)}),t.right=t.right.right.transform(e),t.transform(e);var H=t.evaluate(e);return H!==t?(H=ir(H,t).optimize(e),Sr(e,H,t)):t}),et(Ao,function(t){return t}),et(xe,function(t,e){if(!e.option("ie8")&&ui(t)&&!e.find_parent(_r))switch(t.name){case"undefined":return P(tn,t).optimize(e);case"NaN":return P(ms,t).optimize(e);case"Infinity":return P(ao,t).optimize(e)}return e.option("reduce_vars")&&!e.is_lhs()?Jy(t,e):t});function Ku(t,e){return t instanceof xe||t.TYPE===e.TYPE}et(tn,function(t,e){if(e.option("unsafe_undefined")){var n=cf(e,"undefined");if(n){var r=P(xe,t,{name:"undefined",scope:n.scope,thedef:n});return Er(r,Gl),r}}var s=e.is_lhs();return s&&Ku(s,t)?t:P(We,t,{operator:"void",expression:P(Qe,t,{value:0})})}),et(ao,function(t,e){var n=e.is_lhs();return n&&Ku(n,t)||e.option("keep_infinity")&&!(n&&!Ku(n,t))&&!cf(e,"Infinity")?t:P(ae,t,{operator:"/",left:P(Qe,t,{value:1}),right:P(Qe,t,{value:0})})}),et(ms,function(t,e){var n=e.is_lhs();return n&&!Ku(n,t)||cf(e,"NaN")?P(ae,t,{operator:"/",left:P(Qe,t,{value:0}),right:P(Qe,t,{value:0})}):t});const i0=Ct("+ - / * % >> << >>> | ^ &"),o0=Ct("* | ^ &");et(st,function(t,e){if(t.logical)return t.lift_sequences(e);var n;if(t.operator==="="&&t.left instanceof xe&&t.left.name!=="arguments"&&!(n=t.left.definition()).undeclared&&t.right.equivalent_to(t.left))return t.right;if(e.option("dead_code")&&t.left instanceof xe&&(n=t.left.definition()).scope===e.find_parent(Ge)){var r=0,s,l=t;do if(s=l,l=e.parent(r++),l instanceof cr){if(h(r,l)||_d(n.scope,[n]))break;return t.operator=="="?t.right:(n.fixed=!1,P(ae,t,{operator:t.operator.slice(0,-1),left:t.left,right:t.right}).optimize(e))}while(l instanceof ae&&l.right===s||l instanceof lt&&l.tail_node()===s)}return t=t.lift_sequences(e),t.operator=="="&&t.left instanceof xe&&t.right instanceof ae&&(t.right.left instanceof xe&&t.right.left.name==t.left.name&&i0.has(t.right.operator)?(t.operator=t.right.operator+"=",t.right=t.right.right):t.right.right instanceof xe&&t.right.right.name==t.left.name&&o0.has(t.right.operator)&&!t.right.left.has_side_effects(e)&&(t.operator=t.right.operator+"=",t.right=t.right.left)),t;function h(m,v){function S(){const I=t.right;t.right=P(hr,I);const B=v.may_throw(e);return t.right=I,B}for(var C=t.left.definition().scope.get_defun_scope(),T;(T=e.parent(m++))!==C;)if(T instanceof br&&(T.bfinally||T.bcatch&&S()))return!0}}),et(Nr,function(t,e){if(!e.option("evaluate"))return t;var n=t.right.evaluate(e);let r,s;return n===void 0?(!((r=e.parent())instanceof Ge)||e.option("keep_fargs")===!1||(s=e.parent(1)).TYPE==="Call"&&s.expression===r)&&(t=t.left):n!==t.right&&(n=ir(n,t.right),t.right=zi(n,t.right)),t});function a0(t,e,n){if(e.may_throw(n))return!1;let r;if(t instanceof ae&&t.operator==="=="&&((r=li(t.left,n)&&t.left)||(r=li(t.right,n)&&t.right))&&(r===t.left?t.right:t.left).equivalent_to(e))return!0;if(t instanceof ae&&t.operator==="||"){let s,l;const h=m=>{if(!(m instanceof ae&&(m.operator==="==="||m.operator==="==")))return!1;let v=0,S;return m.left instanceof hr&&(v++,s=m,S=m.right),m.right instanceof hr&&(v++,s=m,S=m.left),ci(m.left,n)&&(v++,l=m,S=m.right),ci(m.right,n)&&(v++,l=m,S=m.left),!(v!==1||!S.equivalent_to(e))};if(!h(t.left)||!h(t.right))return!1;if(s&&l&&s!==l)return!0}return!1}et(tt,function(t,e){if(!e.option("conditionals"))return t;if(t.condition instanceof lt){var n=t.condition.expressions.slice();return t.condition=n.pop(),n.push(t),nt(t,n)}var r=t.condition.evaluate(e);if(r!==t.condition)return r?Oo(e.parent(),e.self(),t.consequent):Oo(e.parent(),e.self(),t.alternative);var s=r.negate(e,si(e));Sr(e,r,s)===s&&(t=P(tt,t,{condition:s,consequent:t.alternative,alternative:t.consequent}));var l=t.condition,h=t.consequent,m=t.alternative;if(l instanceof xe&&h instanceof xe&&l.definition()===h.definition())return P(ae,t,{operator:"||",left:l,right:m});if(h instanceof st&&m instanceof st&&h.operator===m.operator&&h.logical===m.logical&&h.left.equivalent_to(m.left)&&(!t.condition.has_side_effects(e)||h.operator=="="&&!h.left.has_side_effects(e)))return P(st,t,{operator:h.operator,left:h.left,logical:h.logical,right:P(tt,t,{condition:t.condition,consequent:h.right,alternative:m.right})});var v;if(h instanceof je&&m.TYPE===h.TYPE&&h.args.length>0&&h.args.length==m.args.length&&h.expression.equivalent_to(m.expression)&&!t.condition.has_side_effects(e)&&!h.expression.has_side_effects(e)&&typeof(v=L())=="number"){var S=h.clone();return S.args[v]=P(tt,t,{condition:t.condition,consequent:h.args[v],alternative:m.args[v]}),S}if(m instanceof tt&&h.equivalent_to(m.consequent))return P(tt,t,{condition:P(ae,t,{operator:"||",left:l,right:m.condition}),consequent:h,alternative:m.alternative}).optimize(e);if(e.option("ecma")>=2020&&a0(l,m,e))return P(ae,t,{operator:"??",left:m,right:h}).optimize(e);if(m instanceof lt&&h.equivalent_to(m.expressions[m.expressions.length-1]))return nt(t,[P(ae,t,{operator:"||",left:l,right:nt(t,m.expressions.slice(0,-1))}),h]).optimize(e);if(m instanceof ae&&m.operator=="&&"&&h.equivalent_to(m.right))return P(ae,t,{operator:"&&",left:P(ae,t,{operator:"||",left:l,right:m.left}),right:h}).optimize(e);if(h instanceof tt&&h.alternative.equivalent_to(m))return P(tt,t,{condition:P(ae,t,{left:t.condition,operator:"&&",right:h.condition}),consequent:h.consequent,alternative:m});if(h.equivalent_to(m))return nt(t,[t.condition,h]).optimize(e);if(h instanceof ae&&h.operator=="||"&&h.right.equivalent_to(m))return P(ae,t,{operator:"||",left:P(ae,t,{operator:"&&",left:t.condition,right:h.left}),right:m}).optimize(e);const C=e.in_boolean_context();if(I(t.consequent))return B(t.alternative)?T(t.condition):P(ae,t,{operator:"||",left:T(t.condition),right:t.alternative});if(B(t.consequent))return I(t.alternative)?T(t.condition.negate(e)):P(ae,t,{operator:"&&",left:T(t.condition.negate(e)),right:t.alternative});if(I(t.alternative))return P(ae,t,{operator:"||",left:T(t.condition.negate(e)),right:t.consequent});if(B(t.alternative))return P(ae,t,{operator:"&&",left:T(t.condition),right:t.consequent});return t;function T(b){return b.is_boolean()?b:P(We,b,{operator:"!",expression:b.negate(e)})}function I(b){return b instanceof vr||C&&b instanceof Tt&&b.getValue()||b instanceof We&&b.operator=="!"&&b.expression instanceof Tt&&!b.expression.getValue()}function B(b){return b instanceof Gi||C&&b instanceof Tt&&!b.getValue()||b instanceof We&&b.operator=="!"&&b.expression instanceof Tt&&b.expression.getValue()}function L(){for(var b=h.args,y=m.args,g=0,O=b.length;g<O;g++){if(b[g]instanceof ht)return;if(!b[g].equivalent_to(y[g])){if(y[g]instanceof ht)return;for(var R=g+1;R<O;R++)if(b[R]instanceof ht||!b[R].equivalent_to(y[R]))return;return g}}}}),et(Pu,function(t,e){if(e.in_boolean_context())return P(Qe,t,{value:+t.value});var n=e.parent();return e.option("booleans_as_integers")?(n instanceof ae&&(n.operator=="==="||n.operator=="!==")&&(n.operator=n.operator.replace(/=$/,"")),P(Qe,t,{value:+t.value})):e.option("booleans")?n instanceof ae&&(n.operator=="=="||n.operator=="!=")?P(Qe,t,{value:+t.value}):P(We,t,{operator:"!",expression:P(Qe,t,{value:1-t.value})}):t});function Dd(t,e){return t instanceof xe&&(t=t.fixed_value()),t?!(t instanceof Ge||t instanceof yt)||!(t instanceof Ge&&t.contains_this())?!0:e.parent()instanceof rr:!1}Xe.DEFMETHOD("flatten_object",function(t,e){if(e.option("properties")&&t!=="__proto__"){var n=e.option("unsafe_arrows")&&e.option("ecma")>=2015,r=this.expression;if(r instanceof Nt)for(var s=r.properties,l=s.length;--l>=0;){var h=s[l];if(""+(h instanceof Bn?h.key.name:h.key)==t)return!s.every(v=>(v instanceof Jt||n&&v instanceof Bn&&!v.is_generator)&&!v.computed_key())||!Dd(h.value,e)?void 0:P(An,this,{expression:P(St,r,{elements:s.map(function(v){var S=v.value;S instanceof Mi&&(S=P(Ft,S,S));var C=v.key;return C instanceof Ce&&!(C instanceof Vn)?nt(v,[C,S]):S})}),property:P(Qe,this,{value:l})})}}}),et(An,function(t,e){var n=t.expression,r=t.property;if(e.option("properties")){var s=r.evaluate(e);if(s!==r){if(typeof s=="string")if(s=="undefined")s=void 0;else{var l=parseFloat(s);l.toString()==s&&(s=l)}r=t.property=zi(r,ir(s,r).transform(e));var h=""+s;if(Cu(h)&&h.length<=r.size()+1)return P(Wt,t,{expression:n,optional:t.optional,property:h,quote:r.quote}).optimize(e)}}var m;e:if(e.option("arguments")&&n instanceof xe&&n.name=="arguments"&&n.definition().orig.length==1&&(m=n.scope)instanceof Ge&&m.uses_arguments&&!(m instanceof Yt)&&r instanceof Qe){for(var v=r.getValue(),S=new Set,C=m.argnames,T=0;T<C.length;T++){if(!(C[T]instanceof In))break e;var I=C[T].name;if(S.has(I))break e;S.add(I)}var B=m.argnames[v];if(B&&e.has_directive("use strict")){var L=B.definition();(!e.option("reduce_vars")||L.assignments||L.orig.length>1)&&(B=null)}else if(!B&&!e.option("keep_fargs")&&v<m.argnames.length+5)for(;v>=m.argnames.length;)B=m.create_symbol(In,{source:m,scope:m,tentative_name:"argument_"+m.argnames.length}),m.argnames.push(B);if(B){var b=P(xe,t,B);return b.reference({}),ra(B,so),b}}if(e.is_lhs())return t;if(s!==r){var y=t.flatten_object(h,e);y&&(n=t.expression=y.expression,r=t.property=y.property)}if(e.option("properties")&&e.option("side_effects")&&r instanceof Qe&&n instanceof St){var v=r.getValue(),g=n.elements,O=g[v];e:if(Dd(O,e)){for(var R=!0,D=[],H=g.length;--H>v;){var l=g[H].drop_side_effect_free(e);l&&(D.unshift(l),R&&l.has_side_effects(e)&&(R=!1))}if(O instanceof ht)break e;for(O=O instanceof Ir?P(tn,O):O,R||D.unshift(O);--H>=0;){var l=g[H];if(l instanceof ht)break e;l=l.drop_side_effect_free(e),l?D.unshift(l):v--}return R?(D.push(O),nt(t,D).optimize(e)):P(An,t,{expression:P(St,n,{elements:D}),property:P(Qe,r,{value:v})})}}var X=t.evaluate(e);return X!==t?(X=ir(X,t).optimize(e),Sr(e,X,t)):t}),et(gn,function(t,e){if(li(t.expression,e)){let n=e.parent();return n instanceof We&&n.operator==="delete"?ir(0,t):P(tn,t)}return t}),et(Wt,function(t,e){const n=e.parent();if(e.is_lhs())return t;if(e.option("unsafe_proto")&&t.expression instanceof Wt&&t.expression.property=="prototype"){var r=t.expression.expression;if(ui(r))switch(r.name){case"Array":t.expression=P(St,t.expression,{elements:[]});break;case"Function":t.expression=P(Ft,t.expression,{argnames:[],body:[]});break;case"Number":t.expression=P(Qe,t.expression,{value:0});break;case"Object":t.expression=P(Nt,t.expression,{properties:[]});break;case"RegExp":t.expression=P(fr,t.expression,{value:{source:"t",flags:""}});break;case"String":t.expression=P(dt,t.expression,{value:""});break}}if(!(n instanceof je)||!sr(n,xo)){const l=t.flatten_object(t.property,e);if(l)return l.optimize(e)}if(t.expression instanceof Xe&&n instanceof Xe)return t;let s=t.evaluate(e);return s!==t?(s=ir(s,t).optimize(e),Sr(e,s,t)):t});function ff(t,e){return e.in_boolean_context()?Sr(e,t,nt(t,[t,P(vr,t)]).optimize(e)):t}function kd(t){for(var e=0;e<t.length;e++){var n=t[e];if(n instanceof ht){var r=n.expression;r instanceof St&&!r.elements.some(s=>s instanceof Ir)&&(t.splice(e,1,...r.elements),e--)}}}et(St,function(t,e){var n=ff(t,e);return n!==t?n:(kd(t.elements),t)});function s0(t){for(var e=0;e<t.length;e++){var n=t[e];if(n instanceof ht){const r=n.expression;r instanceof Nt&&r.properties.every(s=>s instanceof Jt)?(t.splice(e,1,...r.properties),e--):(r instanceof Tt||r.is_constant())&&!(r instanceof dt)&&(t.splice(e,1),e--)}}}et(Nt,function(t,e){var n=ff(t,e);return n!==t?n:(s0(t.properties),t)}),et(fr,ff),et(sn,function(t,e){return t.value&&ci(t.value,e)&&(t.value=null),t}),et(Yt,lf),et(Ft,function(t,e){return t=lf(t,e),e.option("unsafe_arrows")&&e.option("ecma")>=2015&&!t.name&&!t.is_generator&&!t.uses_arguments&&!t.pinned()&&!Pn(t,r=>{if(r instanceof jn)return pr})?P(Yt,t,t).optimize(e):t}),et(yt,function(t){for(let e=0;e<t.properties.length;e++){const n=t.properties[e];n instanceof Yn&&n.body.length==0&&(t.properties.splice(e,1),e--)}return t}),et(Yn,function(t,e){return Gu(t.body,e),t}),et(gr,function(t,e){return t.expression&&!t.is_star&&ci(t.expression,e)&&(t.expression=null),t}),et(Xn,function(t,e){if(!e.option("evaluate")||e.parent()instanceof $r)return t;for(var n=[],r=0;r<t.segments.length;r++){var s=t.segments[r];if(s instanceof Ce){var l=s.evaluate(e);if(l!==s&&(l+"").length<=s.size()+3){n[n.length-1].value=n[n.length-1].value+l+t.segments[++r].value;continue}if(s instanceof Xn){var h=s.segments;n[n.length-1].value+=h[0].value;for(var m=1;m<h.length;m++)s=h[m],n.push(s);continue}}n.push(s)}if(t.segments=n,n.length==1)return P(dt,t,n[0]);if(n.length===3&&n[1]instanceof Ce&&(n[1].is_string(e)||n[1].is_number(e)||li(n[1],e)||e.option("unsafe"))){if(n[2].value==="")return P(ae,t,{operator:"+",left:P(dt,t,{value:n[0].value}),right:n[1]});if(n[0].value==="")return P(ae,t,{operator:"+",left:n[1],right:P(dt,t,{value:n[2].value})})}return t}),et($r,function(t){return t});function hf(t,e){if(!e.option("computed_props")||!(t.key instanceof Tt))return t;if(t.key instanceof dt||t.key instanceof Qe){const n=t.key.value.toString();if(n==="__proto__"||n=="constructor"&&e.parent()instanceof yt)return t;t instanceof Jt?(t.quote=t.key.quote,t.key=n):t instanceof lr?(t.quote=t.key.quote,t.key=P(Hi,t.key,{name:n})):(t.quote=t.key.quote,t.key=P(Vn,t.key,{name:n}))}return t}et(cn,hf),et(Bn,function(t,e){if(hf(t,e),e.option("arrows")&&e.parent()instanceof Nt&&!t.is_generator&&!t.value.uses_arguments&&!t.value.pinned()&&t.value.body.length==1&&t.value.body[0]instanceof sn&&t.value.body[0].value&&!t.value.contains_this()){var n=P(Yt,t.value,t.value);return n.async=t.async,n.is_generator=t.is_generator,P(Jt,t,{key:t.key instanceof Vn?t.key.name:t.key,value:n,quote:t.quote})}return t}),et(Jt,function(t,e){hf(t,e);var n=e.option("unsafe_methods");if(n&&e.option("ecma")>=2015&&(!(n instanceof RegExp)||n.test(t.key+""))){var r=t.key,s=t.value,l=s instanceof Yt&&Array.isArray(s.body)&&!s.contains_this();if((l||s instanceof Ft)&&!s.name)return P(Bn,t,{async:s.async,is_generator:s.is_generator,key:r instanceof Ce?r:P(Vn,t,{name:r}),value:P(Mi,s,s),quote:t.quote})}return t}),et(Vt,function(t,e){if(e.option("pure_getters")==!0&&e.option("unused")&&!t.is_array&&Array.isArray(t.names)&&!l(e)&&!(t.names[t.names.length-1]instanceof ht)){for(var n=[],r=0;r<t.names.length;r++){var s=t.names[r];s instanceof Jt&&typeof s.key=="string"&&s.value instanceof Nn&&!h(e,s.value.definition())||n.push(s)}n.length!=t.names.length&&(t.names=n)}return t;function l(m){for(var v=[/^VarDef$/,/^(Const|Let|Var)$/,/^Export$/],S=0,C=0,T=v.length;S<T;C++){var I=m.parent(C);if(!I)return!1;if(!(S===0&&I.TYPE=="Destructuring")){if(!v[S].test(I.TYPE))return!1;S++}}return!0}function h(m,v){return v.references.length?!0:v.global?m.toplevel.vars?m.top_retain?m.top_retain(v):!1:!0:!1}});var pf={exports:{}};(function(t,e){(function(n,r){r(e)})(Fp,function(n){const l="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",h=new Uint8Array(64),m=new Uint8Array(128);for(let j=0;j<l.length;j++){const K=l.charCodeAt(j);h[j]=K,m[K]=j}const v=typeof TextDecoder<"u"?new TextDecoder:typeof Buffer<"u"?{decode(j){return Buffer.from(j.buffer,j.byteOffset,j.byteLength).toString()}}:{decode(j){let K="";for(let Y=0;Y<j.length;Y++)K+=String.fromCharCode(j[Y]);return K}};function S(j){const K=new Int32Array(5),Y=[];let ue=0;do{const Se=C(j,ue),Ee=[];let Te=!0,Ke=0;K[0]=0;for(let Le=ue;Le<Se;Le++){let ot;Le=T(j,Le,K,0);const Ut=K[0];Ut<Ke&&(Te=!1),Ke=Ut,I(j,Le,Se)?(Le=T(j,Le,K,1),Le=T(j,Le,K,2),Le=T(j,Le,K,3),I(j,Le,Se)?(Le=T(j,Le,K,4),ot=[Ut,K[1],K[2],K[3],K[4]]):ot=[Ut,K[1],K[2],K[3]]):ot=[Ut],Ee.push(ot)}Te||B(Ee),Y.push(Ee),ue=Se+1}while(ue<=j.length);return Y}function C(j,K){const Y=j.indexOf(";",K);return Y===-1?j.length:Y}function T(j,K,Y,ue){let Se=0,Ee=0,Te=0;do{const Le=j.charCodeAt(K++);Te=m[Le],Se|=(Te&31)<<Ee,Ee+=5}while(Te&32);const Ke=Se&1;return Se>>>=1,Ke&&(Se=-2147483648|-Se),Y[ue]+=Se,K}function I(j,K,Y){return K>=Y?!1:j.charCodeAt(K)!==44}function B(j){j.sort(L)}function L(j,K){return j[0]-K[0]}function b(j){const K=new Int32Array(5),Y=1024*16,ue=Y-36,Se=new Uint8Array(Y),Ee=Se.subarray(0,ue);let Te=0,Ke="";for(let Le=0;Le<j.length;Le++){const ot=j[Le];if(Le>0&&(Te===Y&&(Ke+=v.decode(Se),Te=0),Se[Te++]=59),ot.length!==0){K[0]=0;for(let Ut=0;Ut<ot.length;Ut++){const ct=ot[Ut];Te>ue&&(Ke+=v.decode(Ee),Se.copyWithin(0,ue,Te),Te-=ue),Ut>0&&(Se[Te++]=44),Te=y(Se,Te,K,ct,0),ct.length!==1&&(Te=y(Se,Te,K,ct,1),Te=y(Se,Te,K,ct,2),Te=y(Se,Te,K,ct,3),ct.length!==4&&(Te=y(Se,Te,K,ct,4)))}}}return Ke+v.decode(Se.subarray(0,Te))}function y(j,K,Y,ue,Se){const Ee=ue[Se];let Te=Ee-Y[Se];Y[Se]=Ee,Te=Te<0?-Te<<1|1:Te<<1;do{let Ke=Te&31;Te>>>=5,Te>0&&(Ke|=32),j[K++]=h[Ke]}while(Te>0);return K}const g=/^[\w+.-]+:\/\//,O=/^([\w+.-]+:)\/\/([^@/#?]*@)?([^:/#?]*)(:\d+)?(\/[^#?]*)?(\?[^#]*)?(#.*)?/,R=/^file:(?:\/\/((?![a-z]:)[^/#?]*)?)?(\/?[^#?]*)(\?[^#]*)?(#.*)?/i;function D(j){return g.test(j)}function H(j){return j.startsWith("//")}function X(j){return j.startsWith("/")}function ee(j){return j.startsWith("file:")}function z(j){return/^[.?#]/.test(j)}function q(j){const K=O.exec(j);return ce(K[1],K[2]||"",K[3],K[4]||"",K[5]||"/",K[6]||"",K[7]||"")}function $(j){const K=R.exec(j),Y=K[2];return ce("file:","",K[1]||"","",X(Y)?Y:"/"+Y,K[3]||"",K[4]||"")}function ce(j,K,Y,ue,Se,Ee,Te){return{scheme:j,user:K,host:Y,port:ue,path:Se,query:Ee,hash:Te,type:7}}function Q(j){if(H(j)){const Y=q("http:"+j);return Y.scheme="",Y.type=6,Y}if(X(j)){const Y=q("http://foo.com"+j);return Y.scheme="",Y.host="",Y.type=5,Y}if(ee(j))return $(j);if(D(j))return q(j);const K=q("http://foo.com/"+j);return K.scheme="",K.host="",K.type=j?j.startsWith("?")?3:j.startsWith("#")?2:4:1,K}function _e(j){if(j.endsWith("/.."))return j;const K=j.lastIndexOf("/");return j.slice(0,K+1)}function ge(j,K){ne(K,K.type),j.path==="/"?j.path=K.path:j.path=_e(K.path)+j.path}function ne(j,K){const Y=K<=4,ue=j.path.split("/");let Se=1,Ee=0,Te=!1;for(let Le=1;Le<ue.length;Le++){const ot=ue[Le];if(!ot){Te=!0;continue}if(Te=!1,ot!=="."){if(ot===".."){Ee?(Te=!0,Ee--,Se--):Y&&(ue[Se++]=ot);continue}ue[Se++]=ot,Ee++}}let Ke="";for(let Le=1;Le<Se;Le++)Ke+="/"+ue[Le];(!Ke||Te&&!Ke.endsWith("/.."))&&(Ke+="/"),j.path=Ke}function pe(j,K){if(!j&&!K)return"";const Y=Q(j);let ue=Y.type;if(K&&ue!==7){const Ee=Q(K),Te=Ee.type;switch(ue){case 1:Y.hash=Ee.hash;case 2:Y.query=Ee.query;case 3:case 4:ge(Y,Ee);case 5:Y.user=Ee.user,Y.host=Ee.host,Y.port=Ee.port;case 6:Y.scheme=Ee.scheme}Te>ue&&(ue=Te)}ne(Y,ue);const Se=Y.query+Y.hash;switch(ue){case 2:case 3:return Se;case 4:{const Ee=Y.path.slice(1);return Ee?z(K||j)&&!z(Ee)?"./"+Ee+Se:Ee+Se:Se||"."}case 5:return Y.path+Se;default:return Y.scheme+"//"+Y.user+Y.host+Y.port+Y.path+Se}}function fe(j,K){return K&&!K.endsWith("/")&&(K+="/"),pe(j,K)}function Oe(j){if(!j)return"";const K=j.lastIndexOf("/");return j.slice(0,K+1)}const Ie=0,ve=1,Ue=2,J=3,re=4,se=1,Ae=2;function be(j,K){const Y=At(j,0);if(Y===j.length)return j;K||(j=j.slice());for(let ue=Y;ue<j.length;ue=At(j,ue+1))j[ue]=Et(j[ue],K);return j}function At(j,K){for(let Y=K;Y<j.length;Y++)if(!jt(j[Y]))return Y;return j.length}function jt(j){for(let K=1;K<j.length;K++)if(j[K][Ie]<j[K-1][Ie])return!1;return!0}function Et(j,K){return K||(j=j.slice()),j.sort(Mt)}function Mt(j,K){return j[Ie]-K[Ie]}let gt=!1;function Ot(j,K,Y,ue){for(;Y<=ue;){const Se=Y+(ue-Y>>1),Ee=j[Se][Ie]-K;if(Ee===0)return gt=!0,Se;Ee<0?Y=Se+1:ue=Se-1}return gt=!1,Y-1}function Zt(j,K,Y){for(let ue=Y+1;ue<j.length&&j[ue][Ie]===K;Y=ue++);return Y}function oe(j,K,Y){for(let ue=Y-1;ue>=0&&j[ue][Ie]===K;Y=ue--);return Y}function ke(){return{lastKey:-1,lastNeedle:-1,lastIndex:-1}}function me(j,K,Y,ue){const{lastKey:Se,lastNeedle:Ee,lastIndex:Te}=Y;let Ke=0,Le=j.length-1;if(ue===Se){if(K===Ee)return gt=Te!==-1&&j[Te][Ie]===K,Te;K>=Ee?Ke=Te===-1?0:Te:Le=Te}return Y.lastKey=ue,Y.lastNeedle=K,Y.lastIndex=Ot(j,K,Ke,Le)}function bt(j,K){const Y=K.map(Dt);for(let ue=0;ue<j.length;ue++){const Se=j[ue];for(let Ee=0;Ee<Se.length;Ee++){const Te=Se[Ee];if(Te.length===1)continue;const Ke=Te[ve],Le=Te[Ue],ot=Te[J],Ut=Y[Ke],ct=Ut[Le]||(Ut[Le]=[]),Gt=K[Ke];let Cn=Zt(ct,ot,me(ct,ot,Gt,Le));Gt.lastIndex=++Cn,xt(ct,Cn,[ot,ue,Te[Ie]])}}return Y}function xt(j,K,Y){for(let ue=j.length;ue>K;ue--)j[ue]=j[ue-1];j[K]=Y}function Dt(){return{__proto__:null}}const Un=function(j,K){const Y=Qt(j);if(!("sections"in Y))return new Me(Y,K);const ue=[],Se=[],Ee=[],Te=[],Ke=[];dn(Y,K,ue,Se,Ee,Te,Ke,0,0,1/0,1/0);const Le={version:3,file:Y.file,names:Te,sources:Se,sourcesContent:Ee,mappings:ue,ignoreList:Ke};return Ci(Le)};function Qt(j){return typeof j=="string"?JSON.parse(j):j}function dn(j,K,Y,ue,Se,Ee,Te,Ke,Le,ot,Ut){const{sections:ct}=j;for(let Gt=0;Gt<ct.length;Gt++){const{map:Cn,offset:Gn}=ct[Gt];let Jn=ot,Mr=Ut;if(Gt+1<ct.length){const qr=ct[Gt+1].offset;Jn=Math.min(ot,Ke+qr.line),Jn===ot?Mr=Math.min(Ut,Le+qr.column):Jn<ot&&(Mr=Le+qr.column)}$t(Cn,K,Y,ue,Se,Ee,Te,Ke+Gn.line,Le+Gn.column,Jn,Mr)}}function $t(j,K,Y,ue,Se,Ee,Te,Ke,Le,ot,Ut){const ct=Qt(j);if("sections"in ct)return dn(...arguments);const Gt=new Me(ct,K),Cn=ue.length,Gn=Ee.length,Jn=ft(Gt),{resolvedSources:Mr,sourcesContent:qr,ignoreList:Ts}=Gt;if(Pt(ue,Mr),Pt(Ee,Gt.names),qr)Pt(Se,qr);else for(let Zn=0;Zn<Mr.length;Zn++)Se.push(null);if(Ts)for(let Zn=0;Zn<Ts.length;Zn++)Te.push(Ts[Zn]+Cn);for(let Zn=0;Zn<Jn.length;Zn++){const Ji=Ke+Zn;if(Ji>ot)return;const ca=fn(Y,Ji),Wu=Zn===0?Le:0,la=Jn[Zn];for(let Zi=0;Zi<la.length;Zi++){const Qi=la[Zi],Br=Wu+Qi[Ie];if(Ji===ot&&Br>=Ut)return;if(Qi.length===1){ca.push([Br]);continue}const ho=Cn+Qi[ve],Xu=Qi[Ue],Bo=Qi[J];ca.push(Qi.length===4?[Br,ho,Xu,Bo]:[Br,ho,Xu,Bo,Gn+Qi[re]])}}}function Pt(j,K){for(let Y=0;Y<K.length;Y++)j.push(K[Y])}function fn(j,K){for(let Y=j.length;Y<=K;Y++)j[Y]=[];return j[K]}const xi="`line` must be greater than 0 (lines start at line 1)",V="`column` must be greater than or equal to 0 (columns start at column 0)",Ne=-1,Be=1;class Me{constructor(K,Y){const ue=typeof K=="string";if(!ue&&K._decodedMemo)return K;const Se=ue?JSON.parse(K):K,{version:Ee,file:Te,names:Ke,sourceRoot:Le,sources:ot,sourcesContent:Ut}=Se;this.version=Ee,this.file=Te,this.names=Ke||[],this.sourceRoot=Le,this.sources=ot,this.sourcesContent=Ut,this.ignoreList=Se.ignoreList||Se.x_google_ignoreList||void 0;const ct=fe(Le||"",Oe(Y));this.resolvedSources=ot.map(Cn=>fe(Cn||"",ct));const{mappings:Gt}=Se;typeof Gt=="string"?(this._encoded=Gt,this._decoded=void 0):(this._encoded=void 0,this._decoded=be(Gt,ue)),this._decodedMemo=ke(),this._bySources=void 0,this._bySourceMemos=void 0}}function ut(j){return j}function on(j){var K,Y;return(K=(Y=j)._encoded)!==null&&K!==void 0?K:Y._encoded=b(j._decoded)}function ft(j){var K;return(K=j)._decoded||(K._decoded=S(j._encoded))}function vn(j,K){let{line:Y,column:ue,bias:Se}=K;if(Y--,Y<0)throw new Error(xi);if(ue<0)throw new Error(V);const Ee=ft(j);if(Y>=Ee.length)return Tr(null,null,null,null);const Te=Ee[Y],Ke=Po(Te,j._decodedMemo,Y,ue,Se||Be);if(Ke===-1)return Tr(null,null,null,null);const Le=Te[Ke];if(Le.length===1)return Tr(null,null,null,null);const{names:ot,resolvedSources:Ut}=j;return Tr(Ut[Le[ve]],Le[Ue]+1,Le[J],Le.length===5?ot[Le[re]]:null)}function xn(j,K){const{source:Y,line:ue,column:Se,bias:Ee}=K;return Fr(j,Y,ue,Se,Ee||Be,!1)}function fi(j,K){const{source:Y,line:ue,column:Se,bias:Ee}=K;return Fr(j,Y,ue,Se,Ee||Ne,!0)}function Ln(j,K){const Y=ft(j),{names:ue,resolvedSources:Se}=j;for(let Ee=0;Ee<Y.length;Ee++){const Te=Y[Ee];for(let Ke=0;Ke<Te.length;Ke++){const Le=Te[Ke],ot=Ee+1,Ut=Le[0];let ct=null,Gt=null,Cn=null,Gn=null;Le.length!==1&&(ct=Se[Le[1]],Gt=Le[2]+1,Cn=Le[3]),Le.length===5&&(Gn=ue[Le[4]]),K({generatedLine:ot,generatedColumn:Ut,source:ct,originalLine:Gt,originalColumn:Cn,name:Gn})}}}function hn(j,K){const{sources:Y,resolvedSources:ue}=j;let Se=Y.indexOf(K);return Se===-1&&(Se=ue.indexOf(K)),Se}function lo(j,K){const{sourcesContent:Y}=j;if(Y==null)return null;const ue=hn(j,K);return ue===-1?null:Y[ue]}function Ci(j,K){const Y=new Me(fo(j,[]),K);return Y._decoded=j.mappings,Y}function fo(j,K){return{version:j.version,file:j.file,names:j.names,sourceRoot:j.sourceRoot,sources:j.sources,sourcesContent:j.sourcesContent,mappings:K,ignoreList:j.ignoreList||j.x_google_ignoreList}}function Tr(j,K,Y,ue){return{source:j,line:K,column:Y,name:ue}}function Wr(j,K){return{line:j,column:K}}function Po(j,K,Y,ue,Se){let Ee=me(j,ue,K,Y);return gt?Ee=(Se===Ne?Zt:oe)(j,ue,Ee):Se===Ne&&Ee++,Ee===-1||Ee===j.length?-1:Ee}function Xi(j,K,Y,ue,Se){let Ee=Po(j,K,Y,ue,Be);if(!gt&&Se===Ne&&Ee++,Ee===-1||Ee===j.length)return[];const Te=gt?ue:j[Ee][Ie];gt||(Ee=oe(j,Te,Ee));const Ke=Zt(j,Te,Ee),Le=[];for(;Ee<=Ke;Ee++){const ot=j[Ee];Le.push(Wr(ot[se]+1,ot[Ae]))}return Le}function Fr(j,K,Y,ue,Se,Ee){var Te;if(Y--,Y<0)throw new Error(xi);if(ue<0)throw new Error(V);const{sources:Ke,resolvedSources:Le}=j;let ot=Ke.indexOf(K);if(ot===-1&&(ot=Le.indexOf(K)),ot===-1)return Ee?[]:Wr(null,null);const ct=((Te=j)._bySources||(Te._bySources=bt(ft(j),j._bySourceMemos=Ke.map(ke))))[ot][Y];if(ct==null)return Ee?[]:Wr(null,null);const Gt=j._bySourceMemos[ot];if(Ee)return Xi(ct,Gt,Y,ue,Se);const Cn=Po(ct,Gt,Y,ue,Se);if(Cn===-1)return Wr(null,null);const Gn=ct[Cn];return Wr(Gn[se]+1,Gn[Ae])}class hi{constructor(){this._indexes={__proto__:null},this.array=[]}}function Fo(j){return j}function _t(j,K){return j._indexes[K]}function or(j,K){const Y=_t(j,K);if(Y!==void 0)return Y;const{array:ue,_indexes:Se}=j,Ee=ue.push(K);return Se[K]=Ee-1}const w=0,G=1,W=2,Z=3,ie=4,Fe=-1;class Pe{constructor({file:K,sourceRoot:Y}={}){this._names=new hi,this._sources=new hi,this._sourcesContent=[],this._mappings=[],this.file=K,this.sourceRoot=Y,this._ignoreList=new hi}}function rt(j){return j}const Ht=(j,K)=>Mo(!0,j,K);function an(j,K,Y){const{_sources:ue,_sourcesContent:Se}=j,Ee=or(ue,K);Se[Ee]=Y}function En(j){const{_mappings:K,_sources:Y,_sourcesContent:ue,_names:Se,_ignoreList:Ee}=j;return df(K),{version:3,file:j.file||void 0,names:Se.array,sourceRoot:j.sourceRoot||void 0,sources:Y.array,sourcesContent:ue,mappings:K,ignoreList:Ee.array}}function Lr(j){const K=En(j);return Object.assign(Object.assign({},K),{mappings:b(K.mappings)})}function Bt(j){const K=new Me(j),Y=new Pe({file:K.file,sourceRoot:K.sourceRoot});return Lo(Y._names,K.names),Lo(Y._sources,K.sources),Y._sourcesContent=K.sourcesContent||K.sources.map(()=>null),Y._mappings=ft(K),K.ignoreList&&Lo(Y._ignoreList,K.ignoreList),Y}function Xr(j,K,Y,ue,Se,Ee,Te,Ke,Le){const{_mappings:ot,_sources:Ut,_sourcesContent:ct,_names:Gt}=K,Cn=Ar(ot,Y),Gn=zu(Cn,ue);if(!Se)return j&&sa(Cn,Gn)?void 0:qi(Cn,Gn,[ue]);const Jn=or(Ut,Se),Mr=Ke?or(Gt,Ke):Fe;if(Jn===ct.length&&(ct[Jn]=Le??null),!(j&&Yi(Cn,Gn,Jn,Ee,Te,Mr)))return qi(Cn,Gn,Ke?[ue,Jn,Ee,Te,Mr]:[ue,Jn,Ee,Te])}function Ar(j,K){for(let Y=j.length;Y<=K;Y++)j[Y]=[];return j[K]}function zu(j,K){let Y=j.length;for(let ue=Y-1;ue>=0;Y=ue--){const Se=j[ue];if(K>=Se[w])break}return Y}function qi(j,K,Y){for(let ue=j.length;ue>K;ue--)j[ue]=j[ue-1];j[K]=Y}function df(j){const{length:K}=j;let Y=K;for(let ue=Y-1;ue>=0&&!(j[ue].length>0);Y=ue,ue--);Y<K&&(j.length=Y)}function Lo(j,K){for(let Y=0;Y<K.length;Y++)or(j,K[Y])}function sa(j,K){return K===0?!0:j[K-1].length===1}function Yi(j,K,Y,ue,Se,Ee){if(K===0)return!1;const Te=j[K-1];return Te.length===1?!1:Y===Te[G]&&ue===Te[W]&&Se===Te[Z]&&Ee===(Te.length===5?Te[ie]:Fe)}function Mo(j,K,Y){const{generated:ue,source:Se,original:Ee,name:Te,content:Ke}=Y;return Se?Xr(j,K,ue.line-1,ue.column,Se,Ee.line-1,Ee.column,Te,Ke):Xr(j,K,ue.line-1,ue.column,null,null,null,null,null)}class ua{constructor(K,Y){const ue=this._map=new Un(K,Y);this.file=ue.file,this.names=ue.names,this.sourceRoot=ue.sourceRoot,this.sources=ue.resolvedSources,this.sourcesContent=ue.sourcesContent,this.version=ue.version}static fromSourceMap(K,Y){return K.toDecodedMap?new ua(K.toDecodedMap(),Y):new ua(K.toJSON(),Y)}get mappings(){return on(this._map)}originalPositionFor(K){return vn(this._map,K)}generatedPositionFor(K){return xn(this._map,K)}allGeneratedPositionsFor(K){return fi(this._map,K)}hasContentsOfAllSources(){if(!this.sourcesContent||this.sourcesContent.length!==this.sources.length)return!1;for(const K of this.sourcesContent)if(K==null)return!1;return!0}sourceContentFor(K,Y){const ue=lo(this._map,K);if(ue!=null)return ue;if(Y)return null;throw new Error(`"${K}" is not in the SourceMap.`)}eachMapping(K,Y){Ln(this._map,Y?K.bind(Y):K)}destroy(){}}class it{constructor(K){this._map=K instanceof Pe?K:new Pe(K)}static fromSourceMap(K){return new it(Bt(K))}addMapping(K){Ht(this._map,K)}setSourceContent(K,Y){an(this._map,K,Y)}toJSON(){return Lr(this._map)}toString(){return JSON.stringify(this.toJSON())}toDecodedMap(){return En(this._map)}}n.SourceMapConsumer=ua,n.SourceMapGenerator=it,Object.defineProperty(n,"__esModule",{value:!0})})})(pf,pf.exports);var Rd=pf.exports;function*u0(t){t=_i(t,{file:null,root:null,orig:null,files:{}});var e,n=new Rd.SourceMapGenerator({file:t.file,sourceRoot:t.root});let r={__proto__:null},s=t.files;for(var l in s)tr(s,l)&&(r[l]=s[l]);t.orig&&(e=yield new Rd.SourceMapConsumer(t.orig),e.sourcesContent&&e.sources.forEach(function(T,I){var B=e.sourcesContent[I];B&&(r[T]=B)}));function h(T,I,B,L,b,y){let g={line:I,column:B};if(e){var O=e.originalPositionFor({line:L,column:b});if(O.source===null){n.addMapping({generated:g,original:null,source:null,name:null});return}T=O.source,L=O.line,b=O.column,y=O.name||y}n.addMapping({generated:g,original:{line:L,column:b},source:T,name:y}),n.setSourceContent(T,r[T])}function m(T){return T.sourcesContent&&T.sourcesContent.every(B=>B==null)&&delete T.sourcesContent,T.file===void 0&&delete T.file,T.sourceRoot===void 0&&delete T.sourceRoot,T}function v(){return n.toDecodedMap?m(n.toDecodedMap()):null}function S(){return m(n.toJSON())}function C(){e&&e.destroy&&e.destroy()}return{add:h,getDecoded:v,getEncoded:S,destroy:C}}var c0=["$&","$'","$*","$+","$1","$2","$3","$4","$5","$6","$7","$8","$9","$_","$`","$input","-moz-animation","-moz-animation-delay","-moz-animation-direction","-moz-animation-duration","-moz-animation-fill-mode","-moz-animation-iteration-count","-moz-animation-name","-moz-animation-play-state","-moz-animation-timing-function","-moz-appearance","-moz-backface-visibility","-moz-border-end","-moz-border-end-color","-moz-border-end-style","-moz-border-end-width","-moz-border-image","-moz-border-start","-moz-border-start-color","-moz-border-start-style","-moz-border-start-width","-moz-box-align","-moz-box-direction","-moz-box-flex","-moz-box-ordinal-group","-moz-box-orient","-moz-box-pack","-moz-box-sizing","-moz-float-edge","-moz-font-feature-settings","-moz-font-language-override","-moz-force-broken-image-icon","-moz-hyphens","-moz-image-region","-moz-margin-end","-moz-margin-start","-moz-orient","-moz-osx-font-smoothing","-moz-outline-radius","-moz-outline-radius-bottomleft","-moz-outline-radius-bottomright","-moz-outline-radius-topleft","-moz-outline-radius-topright","-moz-padding-end","-moz-padding-start","-moz-perspective","-moz-perspective-origin","-moz-tab-size","-moz-text-size-adjust","-moz-transform","-moz-transform-origin","-moz-transform-style","-moz-transition","-moz-transition-delay","-moz-transition-duration","-moz-transition-property","-moz-transition-timing-function","-moz-user-focus","-moz-user-input","-moz-user-modify","-moz-user-select","-moz-window-dragging","-webkit-align-content","-webkit-align-items","-webkit-align-self","-webkit-animation","-webkit-animation-delay","-webkit-animation-direction","-webkit-animation-duration","-webkit-animation-fill-mode","-webkit-animation-iteration-count","-webkit-animation-name","-webkit-animation-play-state","-webkit-animation-timing-function","-webkit-appearance","-webkit-backface-visibility","-webkit-background-clip","-webkit-background-origin","-webkit-background-size","-webkit-border-bottom-left-radius","-webkit-border-bottom-right-radius","-webkit-border-image","-webkit-border-radius","-webkit-border-top-left-radius","-webkit-border-top-right-radius","-webkit-box-align","-webkit-box-direction","-webkit-box-flex","-webkit-box-ordinal-group","-webkit-box-orient","-webkit-box-pack","-webkit-box-shadow","-webkit-box-sizing","-webkit-clip-path","-webkit-filter","-webkit-flex","-webkit-flex-basis","-webkit-flex-direction","-webkit-flex-flow","-webkit-flex-grow","-webkit-flex-shrink","-webkit-flex-wrap","-webkit-justify-content","-webkit-line-clamp","-webkit-mask","-webkit-mask-clip","-webkit-mask-composite","-webkit-mask-image","-webkit-mask-origin","-webkit-mask-position","-webkit-mask-position-x","-webkit-mask-position-y","-webkit-mask-repeat","-webkit-mask-size","-webkit-order","-webkit-perspective","-webkit-perspective-origin","-webkit-text-fill-color","-webkit-text-security","-webkit-text-size-adjust","-webkit-text-stroke","-webkit-text-stroke-color","-webkit-text-stroke-width","-webkit-transform","-webkit-transform-origin","-webkit-transform-style","-webkit-transition","-webkit-transition-delay","-webkit-transition-duration","-webkit-transition-property","-webkit-transition-timing-function","-webkit-user-select","0","1","10","11","12","13","14","15","16","17","18","19","2","20","3","4","5","6","7","8","9","@@iterator","ABORT_ERR","ACTIVE","ACTIVE_ATTRIBUTES","ACTIVE_TEXTURE","ACTIVE_UNIFORMS","ACTIVE_UNIFORM_BLOCKS","ADDITION","ALIASED_LINE_WIDTH_RANGE","ALIASED_POINT_SIZE_RANGE","ALL","ALLOW_KEYBOARD_INPUT","ALLPASS","ALPHA","ALPHA_BITS","ALREADY_SIGNALED","ALT_MASK","ALWAYS","ANY_SAMPLES_PASSED","ANY_SAMPLES_PASSED_CONSERVATIVE","ANY_TYPE","ANY_UNORDERED_NODE_TYPE","ARRAY_BUFFER","ARRAY_BUFFER_BINDING","ATTACHED_SHADERS","ATTRIBUTE_NODE","AT_TARGET","AbortController","AbortSignal","AbsoluteOrientationSensor","AbstractRange","Accelerometer","AddSearchProvider","AggregateError","AnalyserNode","Animation","AnimationEffect","AnimationEvent","AnimationPlaybackEvent","AnimationTimeline","AnonXMLHttpRequest","Any","ApplicationCache","ApplicationCacheErrorEvent","Array","ArrayBuffer","ArrayType","Atomics","Attr","Audio","AudioBuffer","AudioBufferSourceNode","AudioContext","AudioData","AudioDecoder","AudioDestinationNode","AudioEncoder","AudioListener","AudioNode","AudioParam","AudioParamMap","AudioProcessingEvent","AudioScheduledSourceNode","AudioSinkInfo","AudioStreamTrack","AudioWorklet","AudioWorkletNode","AuthenticatorAssertionResponse","AuthenticatorAttestationResponse","AuthenticatorResponse","AutocompleteErrorEvent","BACK","BAD_BOUNDARYPOINTS_ERR","BAD_REQUEST","BANDPASS","BLEND","BLEND_COLOR","BLEND_DST_ALPHA","BLEND_DST_RGB","BLEND_EQUATION","BLEND_EQUATION_ALPHA","BLEND_EQUATION_RGB","BLEND_SRC_ALPHA","BLEND_SRC_RGB","BLUE","BLUE_BITS","BLUR","BOOL","BOOLEAN_TYPE","BOOL_VEC2","BOOL_VEC3","BOOL_VEC4","BOTH","BROWSER_DEFAULT_WEBGL","BUBBLING_PHASE","BUFFER_SIZE","BUFFER_USAGE","BYTE","BYTES_PER_ELEMENT","BackgroundFetchManager","BackgroundFetchRecord","BackgroundFetchRegistration","BarProp","BarcodeDetector","BaseAudioContext","BaseHref","BatteryManager","BeforeInstallPromptEvent","BeforeLoadEvent","BeforeUnloadEvent","BigInt","BigInt64Array","BigUint64Array","BiquadFilterNode","Blob","BlobEvent","Bluetooth","BluetoothCharacteristicProperties","BluetoothDevice","BluetoothRemoteGATTCharacteristic","BluetoothRemoteGATTDescriptor","BluetoothRemoteGATTServer","BluetoothRemoteGATTService","BluetoothUUID","Boolean","BroadcastChannel","BrowserCaptureMediaStreamTrack","ByteLengthQueuingStrategy","CAPTURING_PHASE","CCW","CDATASection","CDATA_SECTION_NODE","CHANGE","CHARSET_RULE","CHECKING","CLAMP_TO_EDGE","CLICK","CLOSED","CLOSING","COLOR","COLOR_ATTACHMENT0","COLOR_ATTACHMENT1","COLOR_ATTACHMENT10","COLOR_ATTACHMENT11","COLOR_ATTACHMENT12","COLOR_ATTACHMENT13","COLOR_ATTACHMENT14","COLOR_ATTACHMENT15","COLOR_ATTACHMENT2","COLOR_ATTACHMENT3","COLOR_ATTACHMENT4","COLOR_ATTACHMENT5","COLOR_ATTACHMENT6","COLOR_ATTACHMENT7","COLOR_ATTACHMENT8","COLOR_ATTACHMENT9","COLOR_BUFFER_BIT","COLOR_CLEAR_VALUE","COLOR_WRITEMASK","COMMENT_NODE","COMPARE_REF_TO_TEXTURE","COMPILE_STATUS","COMPLETION_STATUS_KHR","COMPRESSED_RGBA_S3TC_DXT1_EXT","COMPRESSED_RGBA_S3TC_DXT3_EXT","COMPRESSED_RGBA_S3TC_DXT5_EXT","COMPRESSED_RGB_S3TC_DXT1_EXT","COMPRESSED_TEXTURE_FORMATS","COMPUTE","CONDITION_SATISFIED","CONFIGURATION_UNSUPPORTED","CONNECTING","CONSTANT_ALPHA","CONSTANT_COLOR","CONSTRAINT_ERR","CONTEXT_LOST_WEBGL","CONTROL_MASK","COPY_DST","COPY_READ_BUFFER","COPY_READ_BUFFER_BINDING","COPY_SRC","COPY_WRITE_BUFFER","COPY_WRITE_BUFFER_BINDING","COUNTER_STYLE_RULE","CSS","CSS2Properties","CSSAnimation","CSSCharsetRule","CSSConditionRule","CSSContainerRule","CSSCounterStyleRule","CSSFontFaceRule","CSSFontFeatureValuesRule","CSSFontPaletteValuesRule","CSSGroupingRule","CSSImageValue","CSSImportRule","CSSKeyframeRule","CSSKeyframesRule","CSSKeywordValue","CSSLayerBlockRule","CSSLayerStatementRule","CSSMathClamp","CSSMathInvert","CSSMathMax","CSSMathMin","CSSMathNegate","CSSMathProduct","CSSMathSum","CSSMathValue","CSSMatrixComponent","CSSMediaRule","CSSMozDocumentRule","CSSNameSpaceRule","CSSNamespaceRule","CSSNumericArray","CSSNumericValue","CSSPageRule","CSSPerspective","CSSPositionValue","CSSPrimitiveValue","CSSPropertyRule","CSSRotate","CSSRule","CSSRuleList","CSSScale","CSSScopeRule","CSSSkew","CSSSkewX","CSSSkewY","CSSStartingStyleRule","CSSStyleDeclaration","CSSStyleRule","CSSStyleSheet","CSSStyleValue","CSSSupportsRule","CSSTransformComponent","CSSTransformValue","CSSTransition","CSSTranslate","CSSUnitValue","CSSUnknownRule","CSSUnparsedValue","CSSValue","CSSValueList","CSSVariableReferenceValue","CSSVariablesDeclaration","CSSVariablesRule","CSSViewportRule","CSS_ATTR","CSS_CM","CSS_COUNTER","CSS_CUSTOM","CSS_DEG","CSS_DIMENSION","CSS_EMS","CSS_EXS","CSS_FILTER_BLUR","CSS_FILTER_BRIGHTNESS","CSS_FILTER_CONTRAST","CSS_FILTER_CUSTOM","CSS_FILTER_DROP_SHADOW","CSS_FILTER_GRAYSCALE","CSS_FILTER_HUE_ROTATE","CSS_FILTER_INVERT","CSS_FILTER_OPACITY","CSS_FILTER_REFERENCE","CSS_FILTER_SATURATE","CSS_FILTER_SEPIA","CSS_GRAD","CSS_HZ","CSS_IDENT","CSS_IN","CSS_INHERIT","CSS_KHZ","CSS_MATRIX","CSS_MATRIX3D","CSS_MM","CSS_MS","CSS_NUMBER","CSS_PC","CSS_PERCENTAGE","CSS_PERSPECTIVE","CSS_PRIMITIVE_VALUE","CSS_PT","CSS_PX","CSS_RAD","CSS_RECT","CSS_RGBCOLOR","CSS_ROTATE","CSS_ROTATE3D","CSS_ROTATEX","CSS_ROTATEY","CSS_ROTATEZ","CSS_S","CSS_SCALE","CSS_SCALE3D","CSS_SCALEX","CSS_SCALEY","CSS_SCALEZ","CSS_SKEW","CSS_SKEWX","CSS_SKEWY","CSS_STRING","CSS_TRANSLATE","CSS_TRANSLATE3D","CSS_TRANSLATEX","CSS_TRANSLATEY","CSS_TRANSLATEZ","CSS_UNKNOWN","CSS_URI","CSS_VALUE_LIST","CSS_VH","CSS_VMAX","CSS_VMIN","CSS_VW","CULL_FACE","CULL_FACE_MODE","CURRENT_PROGRAM","CURRENT_QUERY","CURRENT_VERTEX_ATTRIB","CUSTOM","CW","Cache","CacheStorage","CanvasCaptureMediaStream","CanvasCaptureMediaStreamTrack","CanvasGradient","CanvasPattern","CanvasRenderingContext2D","CaptureController","CaretPosition","ChannelMergerNode","ChannelSplitterNode","CharacterBoundsUpdateEvent","CharacterData","ClientRect","ClientRectList","Clipboard","ClipboardEvent","ClipboardItem","CloseEvent","Collator","CommandEvent","Comment","CompileError","CompositionEvent","CompressionStream","Console","ConstantSourceNode","ContentVisibilityAutoStateChangeEvent","Controllers","ConvolverNode","CookieChangeEvent","CookieStore","CookieStoreManager","CountQueuingStrategy","Counter","Credential","CredentialsContainer","CropTarget","Crypto","CryptoKey","CustomElementRegistry","CustomEvent","CustomStateSet","DATABASE_ERR","DATA_CLONE_ERR","DATA_ERR","DBLCLICK","DECR","DECR_WRAP","DELETE_STATUS","DEPTH","DEPTH24_STENCIL8","DEPTH32F_STENCIL8","DEPTH_ATTACHMENT","DEPTH_BITS","DEPTH_BUFFER_BIT","DEPTH_CLEAR_VALUE","DEPTH_COMPONENT","DEPTH_COMPONENT16","DEPTH_COMPONENT24","DEPTH_COMPONENT32F","DEPTH_FUNC","DEPTH_RANGE","DEPTH_STENCIL","DEPTH_STENCIL_ATTACHMENT","DEPTH_TEST","DEPTH_WRITEMASK","DEVICE_INELIGIBLE","DIRECTION_DOWN","DIRECTION_LEFT","DIRECTION_RIGHT","DIRECTION_UP","DISABLED","DISPATCH_REQUEST_ERR","DITHER","DOCUMENT_FRAGMENT_NODE","DOCUMENT_NODE","DOCUMENT_POSITION_CONTAINED_BY","DOCUMENT_POSITION_CONTAINS","DOCUMENT_POSITION_DISCONNECTED","DOCUMENT_POSITION_FOLLOWING","DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC","DOCUMENT_POSITION_PRECEDING","DOCUMENT_TYPE_NODE","DOMCursor","DOMError","DOMException","DOMImplementation","DOMImplementationLS","DOMMatrix","DOMMatrixReadOnly","DOMParser","DOMPoint","DOMPointReadOnly","DOMQuad","DOMRect","DOMRectList","DOMRectReadOnly","DOMRequest","DOMSTRING_SIZE_ERR","DOMSettableTokenList","DOMStringList","DOMStringMap","DOMTokenList","DOMTransactionEvent","DOM_DELTA_LINE","DOM_DELTA_PAGE","DOM_DELTA_PIXEL","DOM_INPUT_METHOD_DROP","DOM_INPUT_METHOD_HANDWRITING","DOM_INPUT_METHOD_IME","DOM_INPUT_METHOD_KEYBOARD","DOM_INPUT_METHOD_MULTIMODAL","DOM_INPUT_METHOD_OPTION","DOM_INPUT_METHOD_PASTE","DOM_INPUT_METHOD_SCRIPT","DOM_INPUT_METHOD_UNKNOWN","DOM_INPUT_METHOD_VOICE","DOM_KEY_LOCATION_JOYSTICK","DOM_KEY_LOCATION_LEFT","DOM_KEY_LOCATION_MOBILE","DOM_KEY_LOCATION_NUMPAD","DOM_KEY_LOCATION_RIGHT","DOM_KEY_LOCATION_STANDARD","DOM_VK_0","DOM_VK_1","DOM_VK_2","DOM_VK_3","DOM_VK_4","DOM_VK_5","DOM_VK_6","DOM_VK_7","DOM_VK_8","DOM_VK_9","DOM_VK_A","DOM_VK_ACCEPT","DOM_VK_ADD","DOM_VK_ALT","DOM_VK_ALTGR","DOM_VK_AMPERSAND","DOM_VK_ASTERISK","DOM_VK_AT","DOM_VK_ATTN","DOM_VK_B","DOM_VK_BACKSPACE","DOM_VK_BACK_QUOTE","DOM_VK_BACK_SLASH","DOM_VK_BACK_SPACE","DOM_VK_C","DOM_VK_CANCEL","DOM_VK_CAPS_LOCK","DOM_VK_CIRCUMFLEX","DOM_VK_CLEAR","DOM_VK_CLOSE_BRACKET","DOM_VK_CLOSE_CURLY_BRACKET","DOM_VK_CLOSE_PAREN","DOM_VK_COLON","DOM_VK_COMMA","DOM_VK_CONTEXT_MENU","DOM_VK_CONTROL","DOM_VK_CONVERT","DOM_VK_CRSEL","DOM_VK_CTRL","DOM_VK_D","DOM_VK_DECIMAL","DOM_VK_DELETE","DOM_VK_DIVIDE","DOM_VK_DOLLAR","DOM_VK_DOUBLE_QUOTE","DOM_VK_DOWN","DOM_VK_E","DOM_VK_EISU","DOM_VK_END","DOM_VK_ENTER","DOM_VK_EQUALS","DOM_VK_EREOF","DOM_VK_ESCAPE","DOM_VK_EXCLAMATION","DOM_VK_EXECUTE","DOM_VK_EXSEL","DOM_VK_F","DOM_VK_F1","DOM_VK_F10","DOM_VK_F11","DOM_VK_F12","DOM_VK_F13","DOM_VK_F14","DOM_VK_F15","DOM_VK_F16","DOM_VK_F17","DOM_VK_F18","DOM_VK_F19","DOM_VK_F2","DOM_VK_F20","DOM_VK_F21","DOM_VK_F22","DOM_VK_F23","DOM_VK_F24","DOM_VK_F25","DOM_VK_F26","DOM_VK_F27","DOM_VK_F28","DOM_VK_F29","DOM_VK_F3","DOM_VK_F30","DOM_VK_F31","DOM_VK_F32","DOM_VK_F33","DOM_VK_F34","DOM_VK_F35","DOM_VK_F36","DOM_VK_F4","DOM_VK_F5","DOM_VK_F6","DOM_VK_F7","DOM_VK_F8","DOM_VK_F9","DOM_VK_FINAL","DOM_VK_FRONT","DOM_VK_G","DOM_VK_GREATER_THAN","DOM_VK_H","DOM_VK_HANGUL","DOM_VK_HANJA","DOM_VK_HASH","DOM_VK_HELP","DOM_VK_HK_TOGGLE","DOM_VK_HOME","DOM_VK_HYPHEN_MINUS","DOM_VK_I","DOM_VK_INSERT","DOM_VK_J","DOM_VK_JUNJA","DOM_VK_K","DOM_VK_KANA","DOM_VK_KANJI","DOM_VK_L","DOM_VK_LEFT","DOM_VK_LEFT_TAB","DOM_VK_LESS_THAN","DOM_VK_M","DOM_VK_META","DOM_VK_MODECHANGE","DOM_VK_MULTIPLY","DOM_VK_N","DOM_VK_NONCONVERT","DOM_VK_NUMPAD0","DOM_VK_NUMPAD1","DOM_VK_NUMPAD2","DOM_VK_NUMPAD3","DOM_VK_NUMPAD4","DOM_VK_NUMPAD5","DOM_VK_NUMPAD6","DOM_VK_NUMPAD7","DOM_VK_NUMPAD8","DOM_VK_NUMPAD9","DOM_VK_NUM_LOCK","DOM_VK_O","DOM_VK_OEM_1","DOM_VK_OEM_102","DOM_VK_OEM_2","DOM_VK_OEM_3","DOM_VK_OEM_4","DOM_VK_OEM_5","DOM_VK_OEM_6","DOM_VK_OEM_7","DOM_VK_OEM_8","DOM_VK_OEM_COMMA","DOM_VK_OEM_MINUS","DOM_VK_OEM_PERIOD","DOM_VK_OEM_PLUS","DOM_VK_OPEN_BRACKET","DOM_VK_OPEN_CURLY_BRACKET","DOM_VK_OPEN_PAREN","DOM_VK_P","DOM_VK_PA1","DOM_VK_PAGEDOWN","DOM_VK_PAGEUP","DOM_VK_PAGE_DOWN","DOM_VK_PAGE_UP","DOM_VK_PAUSE","DOM_VK_PERCENT","DOM_VK_PERIOD","DOM_VK_PIPE","DOM_VK_PLAY","DOM_VK_PLUS","DOM_VK_PRINT","DOM_VK_PRINTSCREEN","DOM_VK_PROCESSKEY","DOM_VK_PROPERITES","DOM_VK_Q","DOM_VK_QUESTION_MARK","DOM_VK_QUOTE","DOM_VK_R","DOM_VK_REDO","DOM_VK_RETURN","DOM_VK_RIGHT","DOM_VK_S","DOM_VK_SCROLL_LOCK","DOM_VK_SELECT","DOM_VK_SEMICOLON","DOM_VK_SEPARATOR","DOM_VK_SHIFT","DOM_VK_SLASH","DOM_VK_SLEEP","DOM_VK_SPACE","DOM_VK_SUBTRACT","DOM_VK_T","DOM_VK_TAB","DOM_VK_TILDE","DOM_VK_U","DOM_VK_UNDERSCORE","DOM_VK_UNDO","DOM_VK_UNICODE","DOM_VK_UP","DOM_VK_V","DOM_VK_VOLUME_DOWN","DOM_VK_VOLUME_MUTE","DOM_VK_VOLUME_UP","DOM_VK_W","DOM_VK_WIN","DOM_VK_WINDOW","DOM_VK_WIN_ICO_00","DOM_VK_WIN_ICO_CLEAR","DOM_VK_WIN_ICO_HELP","DOM_VK_WIN_OEM_ATTN","DOM_VK_WIN_OEM_AUTO","DOM_VK_WIN_OEM_BACKTAB","DOM_VK_WIN_OEM_CLEAR","DOM_VK_WIN_OEM_COPY","DOM_VK_WIN_OEM_CUSEL","DOM_VK_WIN_OEM_ENLW","DOM_VK_WIN_OEM_FINISH","DOM_VK_WIN_OEM_FJ_JISHO","DOM_VK_WIN_OEM_FJ_LOYA","DOM_VK_WIN_OEM_FJ_MASSHOU","DOM_VK_WIN_OEM_FJ_ROYA","DOM_VK_WIN_OEM_FJ_TOUROKU","DOM_VK_WIN_OEM_JUMP","DOM_VK_WIN_OEM_PA1","DOM_VK_WIN_OEM_PA2","DOM_VK_WIN_OEM_PA3","DOM_VK_WIN_OEM_RESET","DOM_VK_WIN_OEM_WSCTRL","DOM_VK_X","DOM_VK_XF86XK_ADD_FAVORITE","DOM_VK_XF86XK_APPLICATION_LEFT","DOM_VK_XF86XK_APPLICATION_RIGHT","DOM_VK_XF86XK_AUDIO_CYCLE_TRACK","DOM_VK_XF86XK_AUDIO_FORWARD","DOM_VK_XF86XK_AUDIO_LOWER_VOLUME","DOM_VK_XF86XK_AUDIO_MEDIA","DOM_VK_XF86XK_AUDIO_MUTE","DOM_VK_XF86XK_AUDIO_NEXT","DOM_VK_XF86XK_AUDIO_PAUSE","DOM_VK_XF86XK_AUDIO_PLAY","DOM_VK_XF86XK_AUDIO_PREV","DOM_VK_XF86XK_AUDIO_RAISE_VOLUME","DOM_VK_XF86XK_AUDIO_RANDOM_PLAY","DOM_VK_XF86XK_AUDIO_RECORD","DOM_VK_XF86XK_AUDIO_REPEAT","DOM_VK_XF86XK_AUDIO_REWIND","DOM_VK_XF86XK_AUDIO_STOP","DOM_VK_XF86XK_AWAY","DOM_VK_XF86XK_BACK","DOM_VK_XF86XK_BACK_FORWARD","DOM_VK_XF86XK_BATTERY","DOM_VK_XF86XK_BLUE","DOM_VK_XF86XK_BLUETOOTH","DOM_VK_XF86XK_BOOK","DOM_VK_XF86XK_BRIGHTNESS_ADJUST","DOM_VK_XF86XK_CALCULATOR","DOM_VK_XF86XK_CALENDAR","DOM_VK_XF86XK_CD","DOM_VK_XF86XK_CLOSE","DOM_VK_XF86XK_COMMUNITY","DOM_VK_XF86XK_CONTRAST_ADJUST","DOM_VK_XF86XK_COPY","DOM_VK_XF86XK_CUT","DOM_VK_XF86XK_CYCLE_ANGLE","DOM_VK_XF86XK_DISPLAY","DOM_VK_XF86XK_DOCUMENTS","DOM_VK_XF86XK_DOS","DOM_VK_XF86XK_EJECT","DOM_VK_XF86XK_EXCEL","DOM_VK_XF86XK_EXPLORER","DOM_VK_XF86XK_FAVORITES","DOM_VK_XF86XK_FINANCE","DOM_VK_XF86XK_FORWARD","DOM_VK_XF86XK_FRAME_BACK","DOM_VK_XF86XK_FRAME_FORWARD","DOM_VK_XF86XK_GAME","DOM_VK_XF86XK_GO","DOM_VK_XF86XK_GREEN","DOM_VK_XF86XK_HIBERNATE","DOM_VK_XF86XK_HISTORY","DOM_VK_XF86XK_HOME_PAGE","DOM_VK_XF86XK_HOT_LINKS","DOM_VK_XF86XK_I_TOUCH","DOM_VK_XF86XK_KBD_BRIGHTNESS_DOWN","DOM_VK_XF86XK_KBD_BRIGHTNESS_UP","DOM_VK_XF86XK_KBD_LIGHT_ON_OFF","DOM_VK_XF86XK_LAUNCH0","DOM_VK_XF86XK_LAUNCH1","DOM_VK_XF86XK_LAUNCH2","DOM_VK_XF86XK_LAUNCH3","DOM_VK_XF86XK_LAUNCH4","DOM_VK_XF86XK_LAUNCH5","DOM_VK_XF86XK_LAUNCH6","DOM_VK_XF86XK_LAUNCH7","DOM_VK_XF86XK_LAUNCH8","DOM_VK_XF86XK_LAUNCH9","DOM_VK_XF86XK_LAUNCH_A","DOM_VK_XF86XK_LAUNCH_B","DOM_VK_XF86XK_LAUNCH_C","DOM_VK_XF86XK_LAUNCH_D","DOM_VK_XF86XK_LAUNCH_E","DOM_VK_XF86XK_LAUNCH_F","DOM_VK_XF86XK_LIGHT_BULB","DOM_VK_XF86XK_LOG_OFF","DOM_VK_XF86XK_MAIL","DOM_VK_XF86XK_MAIL_FORWARD","DOM_VK_XF86XK_MARKET","DOM_VK_XF86XK_MEETING","DOM_VK_XF86XK_MEMO","DOM_VK_XF86XK_MENU_KB","DOM_VK_XF86XK_MENU_PB","DOM_VK_XF86XK_MESSENGER","DOM_VK_XF86XK_MON_BRIGHTNESS_DOWN","DOM_VK_XF86XK_MON_BRIGHTNESS_UP","DOM_VK_XF86XK_MUSIC","DOM_VK_XF86XK_MY_COMPUTER","DOM_VK_XF86XK_MY_SITES","DOM_VK_XF86XK_NEW","DOM_VK_XF86XK_NEWS","DOM_VK_XF86XK_OFFICE_HOME","DOM_VK_XF86XK_OPEN","DOM_VK_XF86XK_OPEN_URL","DOM_VK_XF86XK_OPTION","DOM_VK_XF86XK_PASTE","DOM_VK_XF86XK_PHONE","DOM_VK_XF86XK_PICTURES","DOM_VK_XF86XK_POWER_DOWN","DOM_VK_XF86XK_POWER_OFF","DOM_VK_XF86XK_RED","DOM_VK_XF86XK_REFRESH","DOM_VK_XF86XK_RELOAD","DOM_VK_XF86XK_REPLY","DOM_VK_XF86XK_ROCKER_DOWN","DOM_VK_XF86XK_ROCKER_ENTER","DOM_VK_XF86XK_ROCKER_UP","DOM_VK_XF86XK_ROTATE_WINDOWS","DOM_VK_XF86XK_ROTATION_KB","DOM_VK_XF86XK_ROTATION_PB","DOM_VK_XF86XK_SAVE","DOM_VK_XF86XK_SCREEN_SAVER","DOM_VK_XF86XK_SCROLL_CLICK","DOM_VK_XF86XK_SCROLL_DOWN","DOM_VK_XF86XK_SCROLL_UP","DOM_VK_XF86XK_SEARCH","DOM_VK_XF86XK_SEND","DOM_VK_XF86XK_SHOP","DOM_VK_XF86XK_SPELL","DOM_VK_XF86XK_SPLIT_SCREEN","DOM_VK_XF86XK_STANDBY","DOM_VK_XF86XK_START","DOM_VK_XF86XK_STOP","DOM_VK_XF86XK_SUBTITLE","DOM_VK_XF86XK_SUPPORT","DOM_VK_XF86XK_SUSPEND","DOM_VK_XF86XK_TASK_PANE","DOM_VK_XF86XK_TERMINAL","DOM_VK_XF86XK_TIME","DOM_VK_XF86XK_TOOLS","DOM_VK_XF86XK_TOP_MENU","DOM_VK_XF86XK_TO_DO_LIST","DOM_VK_XF86XK_TRAVEL","DOM_VK_XF86XK_USER1KB","DOM_VK_XF86XK_USER2KB","DOM_VK_XF86XK_USER_PB","DOM_VK_XF86XK_UWB","DOM_VK_XF86XK_VENDOR_HOME","DOM_VK_XF86XK_VIDEO","DOM_VK_XF86XK_VIEW","DOM_VK_XF86XK_WAKE_UP","DOM_VK_XF86XK_WEB_CAM","DOM_VK_XF86XK_WHEEL_BUTTON","DOM_VK_XF86XK_WLAN","DOM_VK_XF86XK_WORD","DOM_VK_XF86XK_WWW","DOM_VK_XF86XK_XFER","DOM_VK_XF86XK_YELLOW","DOM_VK_XF86XK_ZOOM_IN","DOM_VK_XF86XK_ZOOM_OUT","DOM_VK_Y","DOM_VK_Z","DOM_VK_ZOOM","DONE","DONT_CARE","DOWNLOADING","DRAGDROP","DRAW_BUFFER0","DRAW_BUFFER1","DRAW_BUFFER10","DRAW_BUFFER11","DRAW_BUFFER12","DRAW_BUFFER13","DRAW_BUFFER14","DRAW_BUFFER15","DRAW_BUFFER2","DRAW_BUFFER3","DRAW_BUFFER4","DRAW_BUFFER5","DRAW_BUFFER6","DRAW_BUFFER7","DRAW_BUFFER8","DRAW_BUFFER9","DRAW_FRAMEBUFFER","DRAW_FRAMEBUFFER_BINDING","DST_ALPHA","DST_COLOR","DYNAMIC_COPY","DYNAMIC_DRAW","DYNAMIC_READ","DataChannel","DataTransfer","DataTransferItem","DataTransferItemList","DataView","Date","DateTimeFormat","DecompressionStream","DelayNode","DelegatedInkTrailPresenter","DeprecationReportBody","DesktopNotification","DesktopNotificationCenter","DeviceLightEvent","DeviceMotionEvent","DeviceMotionEventAcceleration","DeviceMotionEventRotationRate","DeviceOrientationEvent","DeviceProximityEvent","DeviceStorage","DeviceStorageChangeEvent","Directory","DisplayNames","Document","DocumentFragment","DocumentPictureInPicture","DocumentPictureInPictureEvent","DocumentTimeline","DocumentType","DragEvent","DynamicsCompressorNode","E","ELEMENT_ARRAY_BUFFER","ELEMENT_ARRAY_BUFFER_BINDING","ELEMENT_NODE","EMPTY","ENCODING_ERR","ENDED","END_TO_END","END_TO_START","ENTITY_NODE","ENTITY_REFERENCE_NODE","EPSILON","EQUAL","EQUALPOWER","ERROR","EXPONENTIAL_DISTANCE","EditContext","Element","ElementInternals","ElementQuery","EncodedAudioChunk","EncodedVideoChunk","EnterPictureInPictureEvent","Entity","EntityReference","Error","ErrorEvent","EvalError","Event","EventCounts","EventException","EventSource","EventTarget","Exception","External","EyeDropper","FASTEST","FIDOSDK","FILTER_ACCEPT","FILTER_INTERRUPT","FILTER_REJECT","FILTER_SKIP","FINISHED_STATE","FIRST_ORDERED_NODE_TYPE","FLOAT","FLOAT_32_UNSIGNED_INT_24_8_REV","FLOAT_MAT2","FLOAT_MAT2x3","FLOAT_MAT2x4","FLOAT_MAT3","FLOAT_MAT3x2","FLOAT_MAT3x4","FLOAT_MAT4","FLOAT_MAT4x2","FLOAT_MAT4x3","FLOAT_VEC2","FLOAT_VEC3","FLOAT_VEC4","FOCUS","FONT_FACE_RULE","FONT_FEATURE_VALUES_RULE","FRAGMENT","FRAGMENT_SHADER","FRAGMENT_SHADER_DERIVATIVE_HINT","FRAGMENT_SHADER_DERIVATIVE_HINT_OES","FRAMEBUFFER","FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE","FRAMEBUFFER_ATTACHMENT_BLUE_SIZE","FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING","FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE","FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE","FRAMEBUFFER_ATTACHMENT_GREEN_SIZE","FRAMEBUFFER_ATTACHMENT_OBJECT_NAME","FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE","FRAMEBUFFER_ATTACHMENT_RED_SIZE","FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE","FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE","FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER","FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL","FRAMEBUFFER_BINDING","FRAMEBUFFER_COMPLETE","FRAMEBUFFER_DEFAULT","FRAMEBUFFER_INCOMPLETE_ATTACHMENT","FRAMEBUFFER_INCOMPLETE_DIMENSIONS","FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT","FRAMEBUFFER_INCOMPLETE_MULTISAMPLE","FRAMEBUFFER_UNSUPPORTED","FRONT","FRONT_AND_BACK","FRONT_FACE","FUNC_ADD","FUNC_REVERSE_SUBTRACT","FUNC_SUBTRACT","FeaturePolicy","FeaturePolicyViolationReportBody","FederatedCredential","Feed","FeedEntry","Fence","FencedFrameConfig","File","FileError","FileList","FileReader","FileSystem","FileSystemDirectoryEntry","FileSystemDirectoryHandle","FileSystemDirectoryReader","FileSystemEntry","FileSystemFileEntry","FileSystemFileHandle","FileSystemHandle","FileSystemWritableFileStream","FinalizationRegistry","FindInPage","Float32Array","Float64Array","FocusEvent","FontData","FontFace","FontFaceSet","FontFaceSetLoadEvent","FormData","FormDataEvent","FragmentDirective","Function","GENERATE_MIPMAP_HINT","GEQUAL","GPU","GPUAdapter","GPUAdapterInfo","GPUBindGroup","GPUBindGroupLayout","GPUBuffer","GPUBufferUsage","GPUCanvasContext","GPUColorWrite","GPUCommandBuffer","GPUCommandEncoder","GPUCompilationInfo","GPUCompilationMessage","GPUComputePassEncoder","GPUComputePipeline","GPUDevice","GPUDeviceLostInfo","GPUError","GPUExternalTexture","GPUInternalError","GPUMapMode","GPUOutOfMemoryError","GPUPipelineError","GPUPipelineLayout","GPUQuerySet","GPUQueue","GPURenderBundle","GPURenderBundleEncoder","GPURenderPassEncoder","GPURenderPipeline","GPUSampler","GPUShaderModule","GPUShaderStage","GPUSupportedFeatures","GPUSupportedLimits","GPUTexture","GPUTextureUsage","GPUTextureView","GPUUncapturedErrorEvent","GPUValidationError","GREATER","GREEN","GREEN_BITS","GainNode","Gamepad","GamepadAxisMoveEvent","GamepadButton","GamepadButtonEvent","GamepadEvent","GamepadHapticActuator","GamepadPose","Geolocation","GeolocationCoordinates","GeolocationPosition","GeolocationPositionError","GestureEvent","Global","GravitySensor","Gyroscope","HALF_FLOAT","HAVE_CURRENT_DATA","HAVE_ENOUGH_DATA","HAVE_FUTURE_DATA","HAVE_METADATA","HAVE_NOTHING","HEADERS_RECEIVED","HID","HIDConnectionEvent","HIDDEN","HIDDevice","HIDInputReportEvent","HIERARCHY_REQUEST_ERR","HIGHPASS","HIGHSHELF","HIGH_FLOAT","HIGH_INT","HORIZONTAL","HORIZONTAL_AXIS","HRTF","HTMLAllCollection","HTMLAnchorElement","HTMLAppletElement","HTMLAreaElement","HTMLAudioElement","HTMLBRElement","HTMLBaseElement","HTMLBaseFontElement","HTMLBlockquoteElement","HTMLBodyElement","HTMLButtonElement","HTMLCanvasElement","HTMLCollection","HTMLCommandElement","HTMLContentElement","HTMLDListElement","HTMLDataElement","HTMLDataListElement","HTMLDetailsElement","HTMLDialogElement","HTMLDirectoryElement","HTMLDivElement","HTMLDocument","HTMLElement","HTMLEmbedElement","HTMLFencedFrameElement","HTMLFieldSetElement","HTMLFontElement","HTMLFormControlsCollection","HTMLFormElement","HTMLFrameElement","HTMLFrameSetElement","HTMLHRElement","HTMLHeadElement","HTMLHeadingElement","HTMLHtmlElement","HTMLIFrameElement","HTMLImageElement","HTMLInputElement","HTMLIsIndexElement","HTMLKeygenElement","HTMLLIElement","HTMLLabelElement","HTMLLegendElement","HTMLLinkElement","HTMLMapElement","HTMLMarqueeElement","HTMLMediaElement","HTMLMenuElement","HTMLMenuItemElement","HTMLMetaElement","HTMLMeterElement","HTMLModElement","HTMLOListElement","HTMLObjectElement","HTMLOptGroupElement","HTMLOptionElement","HTMLOptionsCollection","HTMLOutputElement","HTMLParagraphElement","HTMLParamElement","HTMLPictureElement","HTMLPreElement","HTMLProgressElement","HTMLPropertiesCollection","HTMLQuoteElement","HTMLScriptElement","HTMLSelectElement","HTMLShadowElement","HTMLSlotElement","HTMLSourceElement","HTMLSpanElement","HTMLStyleElement","HTMLTableCaptionElement","HTMLTableCellElement","HTMLTableColElement","HTMLTableElement","HTMLTableRowElement","HTMLTableSectionElement","HTMLTemplateElement","HTMLTextAreaElement","HTMLTimeElement","HTMLTitleElement","HTMLTrackElement","HTMLUListElement","HTMLUnknownElement","HTMLVideoElement","HashChangeEvent","Headers","Highlight","HighlightRegistry","History","Hz","ICE_CHECKING","ICE_CLOSED","ICE_COMPLETED","ICE_CONNECTED","ICE_FAILED","ICE_GATHERING","ICE_WAITING","IDBCursor","IDBCursorWithValue","IDBDatabase","IDBDatabaseException","IDBFactory","IDBFileHandle","IDBFileRequest","IDBIndex","IDBKeyRange","IDBMutableFile","IDBObjectStore","IDBOpenDBRequest","IDBRequest","IDBTransaction","IDBVersionChangeEvent","IDLE","IIRFilterNode","IMPLEMENTATION_COLOR_READ_FORMAT","IMPLEMENTATION_COLOR_READ_TYPE","IMPORT_RULE","INCR","INCR_WRAP","INDEX","INDEX_SIZE_ERR","INDIRECT","INT","INTERLEAVED_ATTRIBS","INT_2_10_10_10_REV","INT_SAMPLER_2D","INT_SAMPLER_2D_ARRAY","INT_SAMPLER_3D","INT_SAMPLER_CUBE","INT_VEC2","INT_VEC3","INT_VEC4","INUSE_ATTRIBUTE_ERR","INVALID_ACCESS_ERR","INVALID_CHARACTER_ERR","INVALID_ENUM","INVALID_EXPRESSION_ERR","INVALID_FRAMEBUFFER_OPERATION","INVALID_INDEX","INVALID_MODIFICATION_ERR","INVALID_NODE_TYPE_ERR","INVALID_OPERATION","INVALID_STATE_ERR","INVALID_VALUE","INVERSE_DISTANCE","INVERT","IceCandidate","IdentityCredential","IdentityCredentialError","IdentityProvider","IdleDeadline","IdleDetector","Image","ImageBitmap","ImageBitmapRenderingContext","ImageCapture","ImageData","ImageDecoder","ImageTrack","ImageTrackList","Infinity","Ink","InputDeviceCapabilities","InputDeviceInfo","InputEvent","InputMethodContext","InstallTrigger","InstallTriggerImpl","Instance","Int16Array","Int32Array","Int8Array","Intent","InternalError","IntersectionObserver","IntersectionObserverEntry","Intl","IsSearchProviderInstalled","Iterator","JSON","JSTag","KEEP","KEYDOWN","KEYFRAMES_RULE","KEYFRAME_RULE","KEYPRESS","KEYUP","KeyEvent","Keyboard","KeyboardEvent","KeyboardLayoutMap","KeyframeEffect","LENGTHADJUST_SPACING","LENGTHADJUST_SPACINGANDGLYPHS","LENGTHADJUST_UNKNOWN","LEQUAL","LESS","LINEAR","LINEAR_DISTANCE","LINEAR_MIPMAP_LINEAR","LINEAR_MIPMAP_NEAREST","LINES","LINE_LOOP","LINE_STRIP","LINE_WIDTH","LINK_STATUS","LIVE","LN10","LN2","LOADED","LOADING","LOG10E","LOG2E","LOWPASS","LOWSHELF","LOW_FLOAT","LOW_INT","LSException","LSParserFilter","LUMINANCE","LUMINANCE_ALPHA","LargestContentfulPaint","LaunchParams","LaunchQueue","LayoutShift","LayoutShiftAttribution","LinearAccelerationSensor","LinkError","ListFormat","LocalMediaStream","Locale","Location","Lock","LockManager","MAP_READ","MAP_WRITE","MAX","MAX_3D_TEXTURE_SIZE","MAX_ARRAY_TEXTURE_LAYERS","MAX_CLIENT_WAIT_TIMEOUT_WEBGL","MAX_COLOR_ATTACHMENTS","MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS","MAX_COMBINED_TEXTURE_IMAGE_UNITS","MAX_COMBINED_UNIFORM_BLOCKS","MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS","MAX_CUBE_MAP_TEXTURE_SIZE","MAX_DRAW_BUFFERS","MAX_ELEMENTS_INDICES","MAX_ELEMENTS_VERTICES","MAX_ELEMENT_INDEX","MAX_FRAGMENT_INPUT_COMPONENTS","MAX_FRAGMENT_UNIFORM_BLOCKS","MAX_FRAGMENT_UNIFORM_COMPONENTS","MAX_FRAGMENT_UNIFORM_VECTORS","MAX_PROGRAM_TEXEL_OFFSET","MAX_RENDERBUFFER_SIZE","MAX_SAFE_INTEGER","MAX_SAMPLES","MAX_SERVER_WAIT_TIMEOUT","MAX_TEXTURE_IMAGE_UNITS","MAX_TEXTURE_LOD_BIAS","MAX_TEXTURE_MAX_ANISOTROPY_EXT","MAX_TEXTURE_SIZE","MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS","MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS","MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS","MAX_UNIFORM_BLOCK_SIZE","MAX_UNIFORM_BUFFER_BINDINGS","MAX_VALUE","MAX_VARYING_COMPONENTS","MAX_VARYING_VECTORS","MAX_VERTEX_ATTRIBS","MAX_VERTEX_OUTPUT_COMPONENTS","MAX_VERTEX_TEXTURE_IMAGE_UNITS","MAX_VERTEX_UNIFORM_BLOCKS","MAX_VERTEX_UNIFORM_COMPONENTS","MAX_VERTEX_UNIFORM_VECTORS","MAX_VIEWPORT_DIMS","MEDIA_ERR_ABORTED","MEDIA_ERR_DECODE","MEDIA_ERR_ENCRYPTED","MEDIA_ERR_NETWORK","MEDIA_ERR_SRC_NOT_SUPPORTED","MEDIA_KEYERR_CLIENT","MEDIA_KEYERR_DOMAIN","MEDIA_KEYERR_HARDWARECHANGE","MEDIA_KEYERR_OUTPUT","MEDIA_KEYERR_SERVICE","MEDIA_KEYERR_UNKNOWN","MEDIA_RULE","MEDIUM_FLOAT","MEDIUM_INT","META_MASK","MIDIAccess","MIDIConnectionEvent","MIDIInput","MIDIInputMap","MIDIMessageEvent","MIDIOutput","MIDIOutputMap","MIDIPort","MIN","MIN_PROGRAM_TEXEL_OFFSET","MIN_SAFE_INTEGER","MIN_VALUE","MIRRORED_REPEAT","MODE_ASYNCHRONOUS","MODE_SYNCHRONOUS","MODIFICATION","MOUSEDOWN","MOUSEDRAG","MOUSEMOVE","MOUSEOUT","MOUSEOVER","MOUSEUP","MOZ_KEYFRAMES_RULE","MOZ_KEYFRAME_RULE","MOZ_SOURCE_CURSOR","MOZ_SOURCE_ERASER","MOZ_SOURCE_KEYBOARD","MOZ_SOURCE_MOUSE","MOZ_SOURCE_PEN","MOZ_SOURCE_TOUCH","MOZ_SOURCE_UNKNOWN","MSGESTURE_FLAG_BEGIN","MSGESTURE_FLAG_CANCEL","MSGESTURE_FLAG_END","MSGESTURE_FLAG_INERTIA","MSGESTURE_FLAG_NONE","MSPOINTER_TYPE_MOUSE","MSPOINTER_TYPE_PEN","MSPOINTER_TYPE_TOUCH","MS_ASYNC_CALLBACK_STATUS_ASSIGN_DELEGATE","MS_ASYNC_CALLBACK_STATUS_CANCEL","MS_ASYNC_CALLBACK_STATUS_CHOOSEANY","MS_ASYNC_CALLBACK_STATUS_ERROR","MS_ASYNC_CALLBACK_STATUS_JOIN","MS_ASYNC_OP_STATUS_CANCELED","MS_ASYNC_OP_STATUS_ERROR","MS_ASYNC_OP_STATUS_SUCCESS","MS_MANIPULATION_STATE_ACTIVE","MS_MANIPULATION_STATE_CANCELLED","MS_MANIPULATION_STATE_COMMITTED","MS_MANIPULATION_STATE_DRAGGING","MS_MANIPULATION_STATE_INERTIA","MS_MANIPULATION_STATE_PRESELECT","MS_MANIPULATION_STATE_SELECTING","MS_MANIPULATION_STATE_STOPPED","MS_MEDIA_ERR_ENCRYPTED","MS_MEDIA_KEYERR_CLIENT","MS_MEDIA_KEYERR_DOMAIN","MS_MEDIA_KEYERR_HARDWARECHANGE","MS_MEDIA_KEYERR_OUTPUT","MS_MEDIA_KEYERR_SERVICE","MS_MEDIA_KEYERR_UNKNOWN","Map","Math","MathMLElement","MediaCapabilities","MediaCapabilitiesInfo","MediaController","MediaDeviceInfo","MediaDevices","MediaElementAudioSourceNode","MediaEncryptedEvent","MediaError","MediaKeyError","MediaKeyEvent","MediaKeyMessageEvent","MediaKeyNeededEvent","MediaKeySession","MediaKeyStatusMap","MediaKeySystemAccess","MediaKeys","MediaList","MediaMetadata","MediaQueryList","MediaQueryListEvent","MediaRecorder","MediaRecorderErrorEvent","MediaSession","MediaSettingsRange","MediaSource","MediaSourceHandle","MediaStream","MediaStreamAudioDestinationNode","MediaStreamAudioSourceNode","MediaStreamEvent","MediaStreamTrack","MediaStreamTrackAudioSourceNode","MediaStreamTrackEvent","MediaStreamTrackGenerator","MediaStreamTrackProcessor","MediaStreamTrackVideoStats","Memory","MessageChannel","MessageEvent","MessagePort","Methods","MimeType","MimeTypeArray","Module","MouseEvent","MouseScrollEvent","MozAnimation","MozAnimationDelay","MozAnimationDirection","MozAnimationDuration","MozAnimationFillMode","MozAnimationIterationCount","MozAnimationName","MozAnimationPlayState","MozAnimationTimingFunction","MozAppearance","MozBackfaceVisibility","MozBinding","MozBorderBottomColors","MozBorderEnd","MozBorderEndColor","MozBorderEndStyle","MozBorderEndWidth","MozBorderImage","MozBorderLeftColors","MozBorderRightColors","MozBorderStart","MozBorderStartColor","MozBorderStartStyle","MozBorderStartWidth","MozBorderTopColors","MozBoxAlign","MozBoxDirection","MozBoxFlex","MozBoxOrdinalGroup","MozBoxOrient","MozBoxPack","MozBoxSizing","MozCSSKeyframeRule","MozCSSKeyframesRule","MozColumnCount","MozColumnFill","MozColumnGap","MozColumnRule","MozColumnRuleColor","MozColumnRuleStyle","MozColumnRuleWidth","MozColumnWidth","MozColumns","MozContactChangeEvent","MozFloatEdge","MozFontFeatureSettings","MozFontLanguageOverride","MozForceBrokenImageIcon","MozHyphens","MozImageRegion","MozMarginEnd","MozMarginStart","MozMmsEvent","MozMmsMessage","MozMobileMessageThread","MozOSXFontSmoothing","MozOrient","MozOsxFontSmoothing","MozOutlineRadius","MozOutlineRadiusBottomleft","MozOutlineRadiusBottomright","MozOutlineRadiusTopleft","MozOutlineRadiusTopright","MozPaddingEnd","MozPaddingStart","MozPerspective","MozPerspectiveOrigin","MozPowerManager","MozSettingsEvent","MozSmsEvent","MozSmsMessage","MozStackSizing","MozTabSize","MozTextAlignLast","MozTextDecorationColor","MozTextDecorationLine","MozTextDecorationStyle","MozTextSizeAdjust","MozTransform","MozTransformOrigin","MozTransformStyle","MozTransition","MozTransitionDelay","MozTransitionDuration","MozTransitionProperty","MozTransitionTimingFunction","MozUserFocus","MozUserInput","MozUserModify","MozUserSelect","MozWindowDragging","MozWindowShadow","MutationEvent","MutationObserver","MutationRecord","NAMESPACE_ERR","NAMESPACE_RULE","NEAREST","NEAREST_MIPMAP_LINEAR","NEAREST_MIPMAP_NEAREST","NEGATIVE_INFINITY","NETWORK_EMPTY","NETWORK_ERR","NETWORK_IDLE","NETWORK_LOADED","NETWORK_LOADING","NETWORK_NO_SOURCE","NEVER","NEW","NEXT","NEXT_NO_DUPLICATE","NICEST","NODE_AFTER","NODE_BEFORE","NODE_BEFORE_AND_AFTER","NODE_INSIDE","NONE","NON_TRANSIENT_ERR","NOTATION_NODE","NOTCH","NOTEQUAL","NOT_ALLOWED_ERR","NOT_FOUND_ERR","NOT_READABLE_ERR","NOT_SUPPORTED_ERR","NO_DATA_ALLOWED_ERR","NO_ERR","NO_ERROR","NO_MODIFICATION_ALLOWED_ERR","NUMBER_TYPE","NUM_COMPRESSED_TEXTURE_FORMATS","NaN","NamedNodeMap","NavigateEvent","Navigation","NavigationActivation","NavigationCurrentEntryChangeEvent","NavigationDestination","NavigationHistoryEntry","NavigationPreloadManager","NavigationTransition","Navigator","NavigatorLogin","NavigatorManagedData","NavigatorUAData","NearbyLinks","NetworkInformation","Node","NodeFilter","NodeIterator","NodeList","NotRestoredReasonDetails","NotRestoredReasons","Notation","Notification","NotifyPaintEvent","Number","NumberFormat","OBJECT_TYPE","OBSOLETE","OK","ONE","ONE_MINUS_CONSTANT_ALPHA","ONE_MINUS_CONSTANT_COLOR","ONE_MINUS_DST_ALPHA","ONE_MINUS_DST_COLOR","ONE_MINUS_SRC_ALPHA","ONE_MINUS_SRC_COLOR","OPEN","OPENED","OPENING","ORDERED_NODE_ITERATOR_TYPE","ORDERED_NODE_SNAPSHOT_TYPE","OTHER_ERROR","OTPCredential","OUT_OF_MEMORY","Object","OfflineAudioCompletionEvent","OfflineAudioContext","OfflineResourceList","OffscreenCanvas","OffscreenCanvasRenderingContext2D","Option","OrientationSensor","OscillatorNode","OverconstrainedError","OverflowEvent","PACK_ALIGNMENT","PACK_ROW_LENGTH","PACK_SKIP_PIXELS","PACK_SKIP_ROWS","PAGE_RULE","PARSE_ERR","PATHSEG_ARC_ABS","PATHSEG_ARC_REL","PATHSEG_CLOSEPATH","PATHSEG_CURVETO_CUBIC_ABS","PATHSEG_CURVETO_CUBIC_REL","PATHSEG_CURVETO_CUBIC_SMOOTH_ABS","PATHSEG_CURVETO_CUBIC_SMOOTH_REL","PATHSEG_CURVETO_QUADRATIC_ABS","PATHSEG_CURVETO_QUADRATIC_REL","PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS","PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL","PATHSEG_LINETO_ABS","PATHSEG_LINETO_HORIZONTAL_ABS","PATHSEG_LINETO_HORIZONTAL_REL","PATHSEG_LINETO_REL","PATHSEG_LINETO_VERTICAL_ABS","PATHSEG_LINETO_VERTICAL_REL","PATHSEG_MOVETO_ABS","PATHSEG_MOVETO_REL","PATHSEG_UNKNOWN","PATH_EXISTS_ERR","PEAKING","PERMISSION_DENIED","PERSISTENT","PI","PIXEL_PACK_BUFFER","PIXEL_PACK_BUFFER_BINDING","PIXEL_UNPACK_BUFFER","PIXEL_UNPACK_BUFFER_BINDING","PLAYING_STATE","POINTS","POLYGON_OFFSET_FACTOR","POLYGON_OFFSET_FILL","POLYGON_OFFSET_UNITS","POSITION_UNAVAILABLE","POSITIVE_INFINITY","PREV","PREV_NO_DUPLICATE","PROCESSING_INSTRUCTION_NODE","PageChangeEvent","PageRevealEvent","PageSwapEvent","PageTransitionEvent","PaintRequest","PaintRequestList","PannerNode","PasswordCredential","Path2D","PaymentAddress","PaymentInstruments","PaymentManager","PaymentMethodChangeEvent","PaymentRequest","PaymentRequestUpdateEvent","PaymentResponse","Performance","PerformanceElementTiming","PerformanceEntry","PerformanceEventTiming","PerformanceLongAnimationFrameTiming","PerformanceLongTaskTiming","PerformanceMark","PerformanceMeasure","PerformanceNavigation","PerformanceNavigationTiming","PerformanceObserver","PerformanceObserverEntryList","PerformancePaintTiming","PerformanceResourceTiming","PerformanceScriptTiming","PerformanceServerTiming","PerformanceTiming","PeriodicSyncManager","PeriodicWave","PermissionStatus","Permissions","PhotoCapabilities","PictureInPictureEvent","PictureInPictureWindow","Plugin","PluginArray","PluralRules","PointerEvent","PopStateEvent","PopupBlockedEvent","Presentation","PresentationAvailability","PresentationConnection","PresentationConnectionAvailableEvent","PresentationConnectionCloseEvent","PresentationConnectionList","PresentationReceiver","PresentationRequest","ProcessingInstruction","Profiler","ProgressEvent","Promise","PromiseRejectionEvent","PropertyNodeList","Proxy","PublicKeyCredential","PushManager","PushSubscription","PushSubscriptionOptions","Q","QUERY_RESOLVE","QUERY_RESULT","QUERY_RESULT_AVAILABLE","QUOTA_ERR","QUOTA_EXCEEDED_ERR","QueryInterface","R11F_G11F_B10F","R16F","R16I","R16UI","R32F","R32I","R32UI","R8","R8I","R8UI","R8_SNORM","RASTERIZER_DISCARD","READ","READ_BUFFER","READ_FRAMEBUFFER","READ_FRAMEBUFFER_BINDING","READ_ONLY","READ_ONLY_ERR","READ_WRITE","RED","RED_BITS","RED_INTEGER","REMOVAL","RENDERBUFFER","RENDERBUFFER_ALPHA_SIZE","RENDERBUFFER_BINDING","RENDERBUFFER_BLUE_SIZE","RENDERBUFFER_DEPTH_SIZE","RENDERBUFFER_GREEN_SIZE","RENDERBUFFER_HEIGHT","RENDERBUFFER_INTERNAL_FORMAT","RENDERBUFFER_RED_SIZE","RENDERBUFFER_SAMPLES","RENDERBUFFER_STENCIL_SIZE","RENDERBUFFER_WIDTH","RENDERER","RENDERING_INTENT_ABSOLUTE_COLORIMETRIC","RENDERING_INTENT_AUTO","RENDERING_INTENT_PERCEPTUAL","RENDERING_INTENT_RELATIVE_COLORIMETRIC","RENDERING_INTENT_SATURATION","RENDERING_INTENT_UNKNOWN","RENDER_ATTACHMENT","REPEAT","REPLACE","RG","RG16F","RG16I","RG16UI","RG32F","RG32I","RG32UI","RG8","RG8I","RG8UI","RG8_SNORM","RGB","RGB10_A2","RGB10_A2UI","RGB16F","RGB16I","RGB16UI","RGB32F","RGB32I","RGB32UI","RGB565","RGB5_A1","RGB8","RGB8I","RGB8UI","RGB8_SNORM","RGB9_E5","RGBA","RGBA16F","RGBA16I","RGBA16UI","RGBA32F","RGBA32I","RGBA32UI","RGBA4","RGBA8","RGBA8I","RGBA8UI","RGBA8_SNORM","RGBA_INTEGER","RGBColor","RGB_INTEGER","RG_INTEGER","ROTATION_CLOCKWISE","ROTATION_COUNTERCLOCKWISE","RTCCertificate","RTCDTMFSender","RTCDTMFToneChangeEvent","RTCDataChannel","RTCDataChannelEvent","RTCDtlsTransport","RTCEncodedAudioFrame","RTCEncodedVideoFrame","RTCError","RTCErrorEvent","RTCIceCandidate","RTCIceTransport","RTCPeerConnection","RTCPeerConnectionIceErrorEvent","RTCPeerConnectionIceEvent","RTCRtpReceiver","RTCRtpScriptTransform","RTCRtpSender","RTCRtpTransceiver","RTCSctpTransport","RTCSessionDescription","RTCStatsReport","RTCTrackEvent","RadioNodeList","Range","RangeError","RangeException","ReadableByteStreamController","ReadableStream","ReadableStreamBYOBReader","ReadableStreamBYOBRequest","ReadableStreamDefaultController","ReadableStreamDefaultReader","RecordErrorEvent","Rect","ReferenceError","Reflect","RegExp","RelativeOrientationSensor","RelativeTimeFormat","RemotePlayback","Report","ReportBody","ReportingObserver","Request","ResizeObserver","ResizeObserverEntry","ResizeObserverSize","Response","RuntimeError","SAMPLER_2D","SAMPLER_2D_ARRAY","SAMPLER_2D_ARRAY_SHADOW","SAMPLER_2D_SHADOW","SAMPLER_3D","SAMPLER_BINDING","SAMPLER_CUBE","SAMPLER_CUBE_SHADOW","SAMPLES","SAMPLE_ALPHA_TO_COVERAGE","SAMPLE_BUFFERS","SAMPLE_COVERAGE","SAMPLE_COVERAGE_INVERT","SAMPLE_COVERAGE_VALUE","SAWTOOTH","SCHEDULED_STATE","SCISSOR_BOX","SCISSOR_TEST","SCROLL_PAGE_DOWN","SCROLL_PAGE_UP","SDP_ANSWER","SDP_OFFER","SDP_PRANSWER","SECURITY_ERR","SELECT","SEPARATE_ATTRIBS","SERIALIZE_ERR","SEVERITY_ERROR","SEVERITY_FATAL_ERROR","SEVERITY_WARNING","SHADER_COMPILER","SHADER_TYPE","SHADING_LANGUAGE_VERSION","SHIFT_MASK","SHORT","SHOWING","SHOW_ALL","SHOW_ATTRIBUTE","SHOW_CDATA_SECTION","SHOW_COMMENT","SHOW_DOCUMENT","SHOW_DOCUMENT_FRAGMENT","SHOW_DOCUMENT_TYPE","SHOW_ELEMENT","SHOW_ENTITY","SHOW_ENTITY_REFERENCE","SHOW_NOTATION","SHOW_PROCESSING_INSTRUCTION","SHOW_TEXT","SIGNALED","SIGNED_NORMALIZED","SINE","SOUNDFIELD","SQLException","SQRT1_2","SQRT2","SQUARE","SRC_ALPHA","SRC_ALPHA_SATURATE","SRC_COLOR","SRGB","SRGB8","SRGB8_ALPHA8","START_TO_END","START_TO_START","STATIC_COPY","STATIC_DRAW","STATIC_READ","STENCIL","STENCIL_ATTACHMENT","STENCIL_BACK_FAIL","STENCIL_BACK_FUNC","STENCIL_BACK_PASS_DEPTH_FAIL","STENCIL_BACK_PASS_DEPTH_PASS","STENCIL_BACK_REF","STENCIL_BACK_VALUE_MASK","STENCIL_BACK_WRITEMASK","STENCIL_BITS","STENCIL_BUFFER_BIT","STENCIL_CLEAR_VALUE","STENCIL_FAIL","STENCIL_FUNC","STENCIL_INDEX","STENCIL_INDEX8","STENCIL_PASS_DEPTH_FAIL","STENCIL_PASS_DEPTH_PASS","STENCIL_REF","STENCIL_TEST","STENCIL_VALUE_MASK","STENCIL_WRITEMASK","STORAGE","STORAGE_BINDING","STREAM_COPY","STREAM_DRAW","STREAM_READ","STRING_TYPE","STYLE_RULE","SUBPIXEL_BITS","SUPPORTS_RULE","SVGAElement","SVGAltGlyphDefElement","SVGAltGlyphElement","SVGAltGlyphItemElement","SVGAngle","SVGAnimateColorElement","SVGAnimateElement","SVGAnimateMotionElement","SVGAnimateTransformElement","SVGAnimatedAngle","SVGAnimatedBoolean","SVGAnimatedEnumeration","SVGAnimatedInteger","SVGAnimatedLength","SVGAnimatedLengthList","SVGAnimatedNumber","SVGAnimatedNumberList","SVGAnimatedPreserveAspectRatio","SVGAnimatedRect","SVGAnimatedString","SVGAnimatedTransformList","SVGAnimationElement","SVGCircleElement","SVGClipPathElement","SVGColor","SVGComponentTransferFunctionElement","SVGCursorElement","SVGDefsElement","SVGDescElement","SVGDiscardElement","SVGDocument","SVGElement","SVGElementInstance","SVGElementInstanceList","SVGEllipseElement","SVGException","SVGFEBlendElement","SVGFEColorMatrixElement","SVGFEComponentTransferElement","SVGFECompositeElement","SVGFEConvolveMatrixElement","SVGFEDiffuseLightingElement","SVGFEDisplacementMapElement","SVGFEDistantLightElement","SVGFEDropShadowElement","SVGFEFloodElement","SVGFEFuncAElement","SVGFEFuncBElement","SVGFEFuncGElement","SVGFEFuncRElement","SVGFEGaussianBlurElement","SVGFEImageElement","SVGFEMergeElement","SVGFEMergeNodeElement","SVGFEMorphologyElement","SVGFEOffsetElement","SVGFEPointLightElement","SVGFESpecularLightingElement","SVGFESpotLightElement","SVGFETileElement","SVGFETurbulenceElement","SVGFilterElement","SVGFontElement","SVGFontFaceElement","SVGFontFaceFormatElement","SVGFontFaceNameElement","SVGFontFaceSrcElement","SVGFontFaceUriElement","SVGForeignObjectElement","SVGGElement","SVGGeometryElement","SVGGlyphElement","SVGGlyphRefElement","SVGGradientElement","SVGGraphicsElement","SVGHKernElement","SVGImageElement","SVGLength","SVGLengthList","SVGLineElement","SVGLinearGradientElement","SVGMPathElement","SVGMarkerElement","SVGMaskElement","SVGMatrix","SVGMetadataElement","SVGMissingGlyphElement","SVGNumber","SVGNumberList","SVGPaint","SVGPathElement","SVGPathSeg","SVGPathSegArcAbs","SVGPathSegArcRel","SVGPathSegClosePath","SVGPathSegCurvetoCubicAbs","SVGPathSegCurvetoCubicRel","SVGPathSegCurvetoCubicSmoothAbs","SVGPathSegCurvetoCubicSmoothRel","SVGPathSegCurvetoQuadraticAbs","SVGPathSegCurvetoQuadraticRel","SVGPathSegCurvetoQuadraticSmoothAbs","SVGPathSegCurvetoQuadraticSmoothRel","SVGPathSegLinetoAbs","SVGPathSegLinetoHorizontalAbs","SVGPathSegLinetoHorizontalRel","SVGPathSegLinetoRel","SVGPathSegLinetoVerticalAbs","SVGPathSegLinetoVerticalRel","SVGPathSegList","SVGPathSegMovetoAbs","SVGPathSegMovetoRel","SVGPatternElement","SVGPoint","SVGPointList","SVGPolygonElement","SVGPolylineElement","SVGPreserveAspectRatio","SVGRadialGradientElement","SVGRect","SVGRectElement","SVGRenderingIntent","SVGSVGElement","SVGScriptElement","SVGSetElement","SVGStopElement","SVGStringList","SVGStyleElement","SVGSwitchElement","SVGSymbolElement","SVGTRefElement","SVGTSpanElement","SVGTextContentElement","SVGTextElement","SVGTextPathElement","SVGTextPositioningElement","SVGTitleElement","SVGTransform","SVGTransformList","SVGUnitTypes","SVGUseElement","SVGVKernElement","SVGViewElement","SVGViewSpec","SVGZoomAndPan","SVGZoomEvent","SVG_ANGLETYPE_DEG","SVG_ANGLETYPE_GRAD","SVG_ANGLETYPE_RAD","SVG_ANGLETYPE_UNKNOWN","SVG_ANGLETYPE_UNSPECIFIED","SVG_CHANNEL_A","SVG_CHANNEL_B","SVG_CHANNEL_G","SVG_CHANNEL_R","SVG_CHANNEL_UNKNOWN","SVG_COLORTYPE_CURRENTCOLOR","SVG_COLORTYPE_RGBCOLOR","SVG_COLORTYPE_RGBCOLOR_ICCCOLOR","SVG_COLORTYPE_UNKNOWN","SVG_EDGEMODE_DUPLICATE","SVG_EDGEMODE_NONE","SVG_EDGEMODE_UNKNOWN","SVG_EDGEMODE_WRAP","SVG_FEBLEND_MODE_COLOR","SVG_FEBLEND_MODE_COLOR_BURN","SVG_FEBLEND_MODE_COLOR_DODGE","SVG_FEBLEND_MODE_DARKEN","SVG_FEBLEND_MODE_DIFFERENCE","SVG_FEBLEND_MODE_EXCLUSION","SVG_FEBLEND_MODE_HARD_LIGHT","SVG_FEBLEND_MODE_HUE","SVG_FEBLEND_MODE_LIGHTEN","SVG_FEBLEND_MODE_LUMINOSITY","SVG_FEBLEND_MODE_MULTIPLY","SVG_FEBLEND_MODE_NORMAL","SVG_FEBLEND_MODE_OVERLAY","SVG_FEBLEND_MODE_SATURATION","SVG_FEBLEND_MODE_SCREEN","SVG_FEBLEND_MODE_SOFT_LIGHT","SVG_FEBLEND_MODE_UNKNOWN","SVG_FECOLORMATRIX_TYPE_HUEROTATE","SVG_FECOLORMATRIX_TYPE_LUMINANCETOALPHA","SVG_FECOLORMATRIX_TYPE_MATRIX","SVG_FECOLORMATRIX_TYPE_SATURATE","SVG_FECOLORMATRIX_TYPE_UNKNOWN","SVG_FECOMPONENTTRANSFER_TYPE_DISCRETE","SVG_FECOMPONENTTRANSFER_TYPE_GAMMA","SVG_FECOMPONENTTRANSFER_TYPE_IDENTITY","SVG_FECOMPONENTTRANSFER_TYPE_LINEAR","SVG_FECOMPONENTTRANSFER_TYPE_TABLE","SVG_FECOMPONENTTRANSFER_TYPE_UNKNOWN","SVG_FECOMPOSITE_OPERATOR_ARITHMETIC","SVG_FECOMPOSITE_OPERATOR_ATOP","SVG_FECOMPOSITE_OPERATOR_IN","SVG_FECOMPOSITE_OPERATOR_LIGHTER","SVG_FECOMPOSITE_OPERATOR_OUT","SVG_FECOMPOSITE_OPERATOR_OVER","SVG_FECOMPOSITE_OPERATOR_UNKNOWN","SVG_FECOMPOSITE_OPERATOR_XOR","SVG_INVALID_VALUE_ERR","SVG_LENGTHTYPE_CM","SVG_LENGTHTYPE_EMS","SVG_LENGTHTYPE_EXS","SVG_LENGTHTYPE_IN","SVG_LENGTHTYPE_MM","SVG_LENGTHTYPE_NUMBER","SVG_LENGTHTYPE_PC","SVG_LENGTHTYPE_PERCENTAGE","SVG_LENGTHTYPE_PT","SVG_LENGTHTYPE_PX","SVG_LENGTHTYPE_UNKNOWN","SVG_MARKERUNITS_STROKEWIDTH","SVG_MARKERUNITS_UNKNOWN","SVG_MARKERUNITS_USERSPACEONUSE","SVG_MARKER_ORIENT_ANGLE","SVG_MARKER_ORIENT_AUTO","SVG_MARKER_ORIENT_AUTO_START_REVERSE","SVG_MARKER_ORIENT_UNKNOWN","SVG_MASKTYPE_ALPHA","SVG_MASKTYPE_LUMINANCE","SVG_MATRIX_NOT_INVERTABLE","SVG_MEETORSLICE_MEET","SVG_MEETORSLICE_SLICE","SVG_MEETORSLICE_UNKNOWN","SVG_MORPHOLOGY_OPERATOR_DILATE","SVG_MORPHOLOGY_OPERATOR_ERODE","SVG_MORPHOLOGY_OPERATOR_UNKNOWN","SVG_PAINTTYPE_CURRENTCOLOR","SVG_PAINTTYPE_NONE","SVG_PAINTTYPE_RGBCOLOR","SVG_PAINTTYPE_RGBCOLOR_ICCCOLOR","SVG_PAINTTYPE_UNKNOWN","SVG_PAINTTYPE_URI","SVG_PAINTTYPE_URI_CURRENTCOLOR","SVG_PAINTTYPE_URI_NONE","SVG_PAINTTYPE_URI_RGBCOLOR","SVG_PAINTTYPE_URI_RGBCOLOR_ICCCOLOR","SVG_PRESERVEASPECTRATIO_NONE","SVG_PRESERVEASPECTRATIO_UNKNOWN","SVG_PRESERVEASPECTRATIO_XMAXYMAX","SVG_PRESERVEASPECTRATIO_XMAXYMID","SVG_PRESERVEASPECTRATIO_XMAXYMIN","SVG_PRESERVEASPECTRATIO_XMIDYMAX","SVG_PRESERVEASPECTRATIO_XMIDYMID","SVG_PRESERVEASPECTRATIO_XMIDYMIN","SVG_PRESERVEASPECTRATIO_XMINYMAX","SVG_PRESERVEASPECTRATIO_XMINYMID","SVG_PRESERVEASPECTRATIO_XMINYMIN","SVG_SPREADMETHOD_PAD","SVG_SPREADMETHOD_REFLECT","SVG_SPREADMETHOD_REPEAT","SVG_SPREADMETHOD_UNKNOWN","SVG_STITCHTYPE_NOSTITCH","SVG_STITCHTYPE_STITCH","SVG_STITCHTYPE_UNKNOWN","SVG_TRANSFORM_MATRIX","SVG_TRANSFORM_ROTATE","SVG_TRANSFORM_SCALE","SVG_TRANSFORM_SKEWX","SVG_TRANSFORM_SKEWY","SVG_TRANSFORM_TRANSLATE","SVG_TRANSFORM_UNKNOWN","SVG_TURBULENCE_TYPE_FRACTALNOISE","SVG_TURBULENCE_TYPE_TURBULENCE","SVG_TURBULENCE_TYPE_UNKNOWN","SVG_UNIT_TYPE_OBJECTBOUNDINGBOX","SVG_UNIT_TYPE_UNKNOWN","SVG_UNIT_TYPE_USERSPACEONUSE","SVG_WRONG_TYPE_ERR","SVG_ZOOMANDPAN_DISABLE","SVG_ZOOMANDPAN_MAGNIFY","SVG_ZOOMANDPAN_UNKNOWN","SYNC_CONDITION","SYNC_FENCE","SYNC_FLAGS","SYNC_FLUSH_COMMANDS_BIT","SYNC_GPU_COMMANDS_COMPLETE","SYNC_STATUS","SYNTAX_ERR","SavedPages","Scheduler","Scheduling","Screen","ScreenDetailed","ScreenDetails","ScreenOrientation","Script","ScriptProcessorNode","ScrollAreaEvent","ScrollTimeline","SecurityPolicyViolationEvent","Segmenter","Selection","Sensor","SensorErrorEvent","Serial","SerialPort","ServiceWorker","ServiceWorkerContainer","ServiceWorkerRegistration","SessionDescription","Set","ShadowRoot","SharedArrayBuffer","SharedStorage","SharedStorageWorklet","SharedWorker","SimpleGestureEvent","SourceBuffer","SourceBufferList","SpeechSynthesis","SpeechSynthesisErrorEvent","SpeechSynthesisEvent","SpeechSynthesisUtterance","SpeechSynthesisVoice","StaticRange","StereoPannerNode","StopIteration","Storage","StorageBucket","StorageBucketManager","StorageEvent","StorageManager","String","StructType","StylePropertyMap","StylePropertyMapReadOnly","StyleSheet","StyleSheetList","SubmitEvent","SubtleCrypto","Symbol","SyncManager","SyntaxError","TEMPORARY","TEXTPATH_METHODTYPE_ALIGN","TEXTPATH_METHODTYPE_STRETCH","TEXTPATH_METHODTYPE_UNKNOWN","TEXTPATH_SPACINGTYPE_AUTO","TEXTPATH_SPACINGTYPE_EXACT","TEXTPATH_SPACINGTYPE_UNKNOWN","TEXTURE","TEXTURE0","TEXTURE1","TEXTURE10","TEXTURE11","TEXTURE12","TEXTURE13","TEXTURE14","TEXTURE15","TEXTURE16","TEXTURE17","TEXTURE18","TEXTURE19","TEXTURE2","TEXTURE20","TEXTURE21","TEXTURE22","TEXTURE23","TEXTURE24","TEXTURE25","TEXTURE26","TEXTURE27","TEXTURE28","TEXTURE29","TEXTURE3","TEXTURE30","TEXTURE31","TEXTURE4","TEXTURE5","TEXTURE6","TEXTURE7","TEXTURE8","TEXTURE9","TEXTURE_2D","TEXTURE_2D_ARRAY","TEXTURE_3D","TEXTURE_BASE_LEVEL","TEXTURE_BINDING","TEXTURE_BINDING_2D","TEXTURE_BINDING_2D_ARRAY","TEXTURE_BINDING_3D","TEXTURE_BINDING_CUBE_MAP","TEXTURE_COMPARE_FUNC","TEXTURE_COMPARE_MODE","TEXTURE_CUBE_MAP","TEXTURE_CUBE_MAP_NEGATIVE_X","TEXTURE_CUBE_MAP_NEGATIVE_Y","TEXTURE_CUBE_MAP_NEGATIVE_Z","TEXTURE_CUBE_MAP_POSITIVE_X","TEXTURE_CUBE_MAP_POSITIVE_Y","TEXTURE_CUBE_MAP_POSITIVE_Z","TEXTURE_IMMUTABLE_FORMAT","TEXTURE_IMMUTABLE_LEVELS","TEXTURE_MAG_FILTER","TEXTURE_MAX_ANISOTROPY_EXT","TEXTURE_MAX_LEVEL","TEXTURE_MAX_LOD","TEXTURE_MIN_FILTER","TEXTURE_MIN_LOD","TEXTURE_WRAP_R","TEXTURE_WRAP_S","TEXTURE_WRAP_T","TEXT_NODE","TIMEOUT","TIMEOUT_ERR","TIMEOUT_EXPIRED","TIMEOUT_IGNORED","TOO_LARGE_ERR","TRANSACTION_INACTIVE_ERR","TRANSFORM_FEEDBACK","TRANSFORM_FEEDBACK_ACTIVE","TRANSFORM_FEEDBACK_BINDING","TRANSFORM_FEEDBACK_BUFFER","TRANSFORM_FEEDBACK_BUFFER_BINDING","TRANSFORM_FEEDBACK_BUFFER_MODE","TRANSFORM_FEEDBACK_BUFFER_SIZE","TRANSFORM_FEEDBACK_BUFFER_START","TRANSFORM_FEEDBACK_PAUSED","TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN","TRANSFORM_FEEDBACK_VARYINGS","TRIANGLE","TRIANGLES","TRIANGLE_FAN","TRIANGLE_STRIP","TYPE_BACK_FORWARD","TYPE_ERR","TYPE_MISMATCH_ERR","TYPE_NAVIGATE","TYPE_RELOAD","TYPE_RESERVED","Table","Tag","TaskAttributionTiming","TaskController","TaskPriorityChangeEvent","TaskSignal","Text","TextDecoder","TextDecoderStream","TextEncoder","TextEncoderStream","TextEvent","TextFormat","TextFormatUpdateEvent","TextMetrics","TextTrack","TextTrackCue","TextTrackCueList","TextTrackList","TextUpdateEvent","TimeEvent","TimeRanges","ToggleEvent","Touch","TouchEvent","TouchList","TrackEvent","TransformStream","TransformStreamDefaultController","TransitionEvent","TreeWalker","TrustedHTML","TrustedScript","TrustedScriptURL","TrustedTypePolicy","TrustedTypePolicyFactory","TypeError","TypedObject","U2F","UIEvent","UNCACHED","UNIFORM","UNIFORM_ARRAY_STRIDE","UNIFORM_BLOCK_ACTIVE_UNIFORMS","UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES","UNIFORM_BLOCK_BINDING","UNIFORM_BLOCK_DATA_SIZE","UNIFORM_BLOCK_INDEX","UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER","UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER","UNIFORM_BUFFER","UNIFORM_BUFFER_BINDING","UNIFORM_BUFFER_OFFSET_ALIGNMENT","UNIFORM_BUFFER_SIZE","UNIFORM_BUFFER_START","UNIFORM_IS_ROW_MAJOR","UNIFORM_MATRIX_STRIDE","UNIFORM_OFFSET","UNIFORM_SIZE","UNIFORM_TYPE","UNKNOWN_ERR","UNKNOWN_RULE","UNMASKED_RENDERER_WEBGL","UNMASKED_VENDOR_WEBGL","UNORDERED_NODE_ITERATOR_TYPE","UNORDERED_NODE_SNAPSHOT_TYPE","UNPACK_ALIGNMENT","UNPACK_COLORSPACE_CONVERSION_WEBGL","UNPACK_FLIP_Y_WEBGL","UNPACK_IMAGE_HEIGHT","UNPACK_PREMULTIPLY_ALPHA_WEBGL","UNPACK_ROW_LENGTH","UNPACK_SKIP_IMAGES","UNPACK_SKIP_PIXELS","UNPACK_SKIP_ROWS","UNSCHEDULED_STATE","UNSENT","UNSIGNALED","UNSIGNED_BYTE","UNSIGNED_INT","UNSIGNED_INT_10F_11F_11F_REV","UNSIGNED_INT_24_8","UNSIGNED_INT_2_10_10_10_REV","UNSIGNED_INT_5_9_9_9_REV","UNSIGNED_INT_SAMPLER_2D","UNSIGNED_INT_SAMPLER_2D_ARRAY","UNSIGNED_INT_SAMPLER_3D","UNSIGNED_INT_SAMPLER_CUBE","UNSIGNED_INT_VEC2","UNSIGNED_INT_VEC3","UNSIGNED_INT_VEC4","UNSIGNED_NORMALIZED","UNSIGNED_SHORT","UNSIGNED_SHORT_4_4_4_4","UNSIGNED_SHORT_5_5_5_1","UNSIGNED_SHORT_5_6_5","UNSPECIFIED_EVENT_TYPE_ERR","UPDATEREADY","URIError","URL","URLPattern","URLSearchParams","URLUnencoded","URL_MISMATCH_ERR","USB","USBAlternateInterface","USBConfiguration","USBConnectionEvent","USBDevice","USBEndpoint","USBInTransferResult","USBInterface","USBIsochronousInTransferPacket","USBIsochronousInTransferResult","USBIsochronousOutTransferPacket","USBIsochronousOutTransferResult","USBOutTransferResult","UTC","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray","UserActivation","UserMessageHandler","UserMessageHandlersNamespace","UserProximityEvent","VALIDATE_STATUS","VALIDATION_ERR","VARIABLES_RULE","VENDOR","VERSION","VERSION_CHANGE","VERSION_ERR","VERTEX","VERTEX_ARRAY_BINDING","VERTEX_ATTRIB_ARRAY_BUFFER_BINDING","VERTEX_ATTRIB_ARRAY_DIVISOR","VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE","VERTEX_ATTRIB_ARRAY_ENABLED","VERTEX_ATTRIB_ARRAY_INTEGER","VERTEX_ATTRIB_ARRAY_NORMALIZED","VERTEX_ATTRIB_ARRAY_POINTER","VERTEX_ATTRIB_ARRAY_SIZE","VERTEX_ATTRIB_ARRAY_STRIDE","VERTEX_ATTRIB_ARRAY_TYPE","VERTEX_SHADER","VERTICAL","VERTICAL_AXIS","VER_ERR","VIEWPORT","VIEWPORT_RULE","VRDisplay","VRDisplayCapabilities","VRDisplayEvent","VREyeParameters","VRFieldOfView","VRFrameData","VRPose","VRStageParameters","VTTCue","VTTRegion","ValidityState","VideoColorSpace","VideoDecoder","VideoEncoder","VideoFrame","VideoPlaybackQuality","VideoStreamTrack","ViewTimeline","ViewTransition","VirtualKeyboard","VirtualKeyboardGeometryChangeEvent","VisibilityStateEntry","VisualViewport","WAIT_FAILED","WEBKIT_FILTER_RULE","WEBKIT_KEYFRAMES_RULE","WEBKIT_KEYFRAME_RULE","WEBKIT_REGION_RULE","WGSLLanguageFeatures","WRITE","WRONG_DOCUMENT_ERR","WakeLock","WakeLockSentinel","WasmAnyRef","WaveShaperNode","WeakMap","WeakRef","WeakSet","WebAssembly","WebGL2RenderingContext","WebGLActiveInfo","WebGLBuffer","WebGLContextEvent","WebGLFramebuffer","WebGLProgram","WebGLQuery","WebGLRenderbuffer","WebGLRenderingContext","WebGLSampler","WebGLShader","WebGLShaderPrecisionFormat","WebGLSync","WebGLTexture","WebGLTransformFeedback","WebGLUniformLocation","WebGLVertexArray","WebGLVertexArrayObject","WebKitAnimationEvent","WebKitBlobBuilder","WebKitCSSFilterRule","WebKitCSSFilterValue","WebKitCSSKeyframeRule","WebKitCSSKeyframesRule","WebKitCSSMatrix","WebKitCSSRegionRule","WebKitCSSTransformValue","WebKitDataCue","WebKitGamepad","WebKitMediaKeyError","WebKitMediaKeyMessageEvent","WebKitMediaKeySession","WebKitMediaKeys","WebKitMediaSource","WebKitMutationObserver","WebKitNamespace","WebKitPlaybackTargetAvailabilityEvent","WebKitPoint","WebKitShadowRoot","WebKitSourceBuffer","WebKitSourceBufferList","WebKitTransitionEvent","WebSocket","WebSocketError","WebSocketStream","WebTransport","WebTransportBidirectionalStream","WebTransportDatagramDuplexStream","WebTransportError","WebTransportReceiveStream","WebTransportSendStream","WebkitAlignContent","WebkitAlignItems","WebkitAlignSelf","WebkitAnimation","WebkitAnimationDelay","WebkitAnimationDirection","WebkitAnimationDuration","WebkitAnimationFillMode","WebkitAnimationIterationCount","WebkitAnimationName","WebkitAnimationPlayState","WebkitAnimationTimingFunction","WebkitAppearance","WebkitBackfaceVisibility","WebkitBackgroundClip","WebkitBackgroundOrigin","WebkitBackgroundSize","WebkitBorderBottomLeftRadius","WebkitBorderBottomRightRadius","WebkitBorderImage","WebkitBorderRadius","WebkitBorderTopLeftRadius","WebkitBorderTopRightRadius","WebkitBoxAlign","WebkitBoxDirection","WebkitBoxFlex","WebkitBoxOrdinalGroup","WebkitBoxOrient","WebkitBoxPack","WebkitBoxShadow","WebkitBoxSizing","WebkitClipPath","WebkitFilter","WebkitFlex","WebkitFlexBasis","WebkitFlexDirection","WebkitFlexFlow","WebkitFlexGrow","WebkitFlexShrink","WebkitFlexWrap","WebkitJustifyContent","WebkitLineClamp","WebkitMask","WebkitMaskClip","WebkitMaskComposite","WebkitMaskImage","WebkitMaskOrigin","WebkitMaskPosition","WebkitMaskPositionX","WebkitMaskPositionY","WebkitMaskRepeat","WebkitMaskSize","WebkitOrder","WebkitPerspective","WebkitPerspectiveOrigin","WebkitTextFillColor","WebkitTextSecurity","WebkitTextSizeAdjust","WebkitTextStroke","WebkitTextStrokeColor","WebkitTextStrokeWidth","WebkitTransform","WebkitTransformOrigin","WebkitTransformStyle","WebkitTransition","WebkitTransitionDelay","WebkitTransitionDuration","WebkitTransitionProperty","WebkitTransitionTimingFunction","WebkitUserSelect","WheelEvent","Window","WindowControlsOverlay","WindowControlsOverlayGeometryChangeEvent","Worker","Worklet","WritableStream","WritableStreamDefaultController","WritableStreamDefaultWriter","XMLDocument","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestException","XMLHttpRequestProgressEvent","XMLHttpRequestUpload","XMLSerializer","XMLStylesheetProcessingInstruction","XPathEvaluator","XPathException","XPathExpression","XPathNSResolver","XPathResult","XRAnchor","XRAnchorSet","XRBoundedReferenceSpace","XRCPUDepthInformation","XRCamera","XRDOMOverlayState","XRDepthInformation","XRFrame","XRHitTestResult","XRHitTestSource","XRInputSource","XRInputSourceArray","XRInputSourceEvent","XRInputSourcesChangeEvent","XRLayer","XRLightEstimate","XRLightProbe","XRPose","XRRay","XRReferenceSpace","XRReferenceSpaceEvent","XRRenderState","XRRigidTransform","XRSession","XRSessionEvent","XRSpace","XRSystem","XRTransientInputHitTestResult","XRTransientInputHitTestSource","XRView","XRViewerPose","XRViewport","XRWebGLBinding","XRWebGLDepthInformation","XRWebGLLayer","XSLTProcessor","ZERO","_XD0M_","_YD0M_","__REACT_DEVTOOLS_GLOBAL_HOOK__","__brand","__defineGetter__","__defineSetter__","__lookupGetter__","__lookupSetter__","__opera","__proto__","_browserjsran","a","aLink","abbr","abort","aborted","abs","absolute","acceleration","accelerationIncludingGravity","accelerator","accent-color","accentColor","accept","acceptCharset","acceptNode","access","accessKey","accessKeyLabel","accuracy","acos","acosh","action","actionURL","actions","activated","activation","activationStart","active","activeCues","activeElement","activeSourceBuffers","activeSourceCount","activeTexture","activeVRDisplays","actualBoundingBoxAscent","actualBoundingBoxDescent","actualBoundingBoxLeft","actualBoundingBoxRight","adAuctionComponents","adAuctionHeaders","add","addAll","addBehavior","addCandidate","addColorStop","addCue","addElement","addEventListener","addFilter","addFromString","addFromUri","addIceCandidate","addImport","addListener","addModule","addNamed","addPageRule","addPath","addPointer","addRange","addRegion","addRule","addSearchEngine","addSourceBuffer","addStream","addTextTrack","addTrack","addTransceiver","addWakeLockListener","added","addedNodes","additionalName","additiveSymbols","addons","address","addressLine","addressModeU","addressModeV","addressModeW","adoptNode","adoptedCallback","adoptedStyleSheets","adr","advance","after","album","alert","algorithm","align","align-content","align-items","align-self","alignContent","alignItems","alignSelf","alignmentBaseline","alinkColor","all","allSettled","allocationSize","allow","allowFullscreen","allowPaymentRequest","allowedDirections","allowedFeatures","allowedToPlay","allowsFeature","alpha","alphaMode","alphaToCoverageEnabled","alphabeticBaseline","alt","altGraphKey","altHtml","altKey","altLeft","alternate","alternateSetting","alternates","altitude","altitudeAccuracy","altitudeAngle","amplitude","ancestorOrigins","anchor","anchorNode","anchorOffset","anchorSpace","anchors","and","angle","angularAcceleration","angularVelocity","animVal","animate","animated","animatedInstanceRoot","animatedNormalizedPathSegList","animatedPathSegList","animatedPoints","animation","animation-composition","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","animationComposition","animationDelay","animationDirection","animationDuration","animationFillMode","animationIterationCount","animationName","animationPlayState","animationStartTime","animationTimingFunction","animationsPaused","anniversary","antialias","anticipatedRemoval","any","app","appCodeName","appMinorVersion","appName","appNotifications","appVersion","appearance","append","appendBuffer","appendChild","appendData","appendItem","appendMedium","appendNamed","appendRule","appendStream","appendWindowEnd","appendWindowStart","applets","applicationCache","applicationServerKey","apply","applyConstraints","applyElement","arc","arcTo","architecture","archive","areas","arguments","ariaAtomic","ariaAutoComplete","ariaBrailleLabel","ariaBrailleRoleDescription","ariaBusy","ariaChecked","ariaColCount","ariaColIndex","ariaColIndexText","ariaColSpan","ariaCurrent","ariaDescription","ariaDisabled","ariaExpanded","ariaHasPopup","ariaHidden","ariaInvalid","ariaKeyShortcuts","ariaLabel","ariaLevel","ariaLive","ariaModal","ariaMultiLine","ariaMultiSelectable","ariaOrientation","ariaPlaceholder","ariaPosInSet","ariaPressed","ariaReadOnly","ariaRelevant","ariaRequired","ariaRoleDescription","ariaRowCount","ariaRowIndex","ariaRowIndexText","ariaRowSpan","ariaSelected","ariaSetSize","ariaSort","ariaValueMax","ariaValueMin","ariaValueNow","ariaValueText","arrayBuffer","arrayLayerCount","arrayStride","artist","artwork","as","asIntN","asUintN","ascentOverride","asin","asinh","aspect","aspect-ratio","aspectRatio","assert","assign","assignedElements","assignedNodes","assignedSlot","async","asyncIterator","at","atEnd","atan","atan2","atanh","atob","attachEvent","attachInternals","attachShader","attachShadow","attachedElements","attachments","attack","attestationObject","attrChange","attrName","attributeChangedCallback","attributeFilter","attributeName","attributeNamespace","attributeOldValue","attributeStyleMap","attributes","attribution","attributionSrc","audioBitrateMode","audioBitsPerSecond","audioTracks","audioWorklet","authenticatedSignedWrites","authenticatorAttachment","authenticatorData","autoIncrement","autobuffer","autocapitalize","autocomplete","autocorrect","autofocus","automationRate","autoplay","availHeight","availLeft","availTop","availWidth","availability","available","aversion","ax","axes","axis","ay","azimuth","azimuthAngle","b","back","backdrop-filter","backdropFilter","backends","backface-visibility","backfaceVisibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-position-x","background-position-y","background-repeat","background-size","backgroundAttachment","backgroundBlendMode","backgroundClip","backgroundColor","backgroundFetch","backgroundImage","backgroundOrigin","backgroundPosition","backgroundPositionX","backgroundPositionY","backgroundRepeat","backgroundSize","badInput","badge","balance","baseArrayLayer","baseFrequencyX","baseFrequencyY","baseLatency","baseLayer","baseMipLevel","baseNode","baseOffset","basePalette","baseURI","baseVal","baseline-source","baselineShift","baselineSource","battery","bday","before","beginComputePass","beginElement","beginElementAt","beginOcclusionQuery","beginPath","beginQuery","beginRenderPass","beginTransformFeedback","beginningOfPassWriteIndex","behavior","behaviorCookie","behaviorPart","behaviorUrns","beta","bezierCurveTo","bgColor","bgProperties","bias","big","bigint64","biguint64","binaryType","bind","bindAttribLocation","bindBuffer","bindBufferBase","bindBufferRange","bindFramebuffer","bindGroupLayouts","bindRenderbuffer","bindSampler","bindTexture","bindTransformFeedback","bindVertexArray","binding","bitness","blend","blendColor","blendEquation","blendEquationSeparate","blendFunc","blendFuncSeparate","blink","blitFramebuffer","blob","block-size","blockDirection","blockSize","blockedURI","blocking","blockingDuration","blue","bluetooth","blur","body","bodyUsed","bold","bookmarks","booleanValue","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-end-end-radius","border-end-start-radius","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-start-end-radius","border-start-start-radius","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","borderBlock","borderBlockColor","borderBlockEnd","borderBlockEndColor","borderBlockEndStyle","borderBlockEndWidth","borderBlockStart","borderBlockStartColor","borderBlockStartStyle","borderBlockStartWidth","borderBlockStyle","borderBlockWidth","borderBottom","borderBottomColor","borderBottomLeftRadius","borderBottomRightRadius","borderBottomStyle","borderBottomWidth","borderBoxSize","borderCollapse","borderColor","borderColorDark","borderColorLight","borderEndEndRadius","borderEndStartRadius","borderImage","borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth","borderInline","borderInlineColor","borderInlineEnd","borderInlineEndColor","borderInlineEndStyle","borderInlineEndWidth","borderInlineStart","borderInlineStartColor","borderInlineStartStyle","borderInlineStartWidth","borderInlineStyle","borderInlineWidth","borderLeft","borderLeftColor","borderLeftStyle","borderLeftWidth","borderRadius","borderRight","borderRightColor","borderRightStyle","borderRightWidth","borderSpacing","borderStartEndRadius","borderStartStartRadius","borderStyle","borderTop","borderTopColor","borderTopLeftRadius","borderTopRightRadius","borderTopStyle","borderTopWidth","borderWidth","bottom","bottomMargin","bound","boundElements","boundingClientRect","boundingHeight","boundingLeft","boundingRect","boundingTop","boundingWidth","bounds","boundsGeometry","box-decoration-break","box-shadow","box-sizing","boxDecorationBreak","boxShadow","boxSizing","brand","brands","break-after","break-before","break-inside","breakAfter","breakBefore","breakInside","broadcast","browserLanguage","browsingTopics","btoa","bubbles","buffer","bufferData","bufferDepth","bufferSize","bufferSubData","buffered","bufferedAmount","bufferedAmountLowThreshold","buffers","buildID","buildNumber","button","buttonID","buttons","byobRequest","byteLength","byteOffset","bytesPerRow","bytesWritten","c","cache","caches","call","caller","camera","canBeFormatted","canBeMounted","canBeShared","canConstructInDedicatedWorker","canGoBack","canGoForward","canHaveChildren","canHaveHTML","canInsertDTMF","canIntercept","canLoadAdAuctionFencedFrame","canLoadOpaqueURL","canMakePayment","canParse","canPlayType","canPresent","canShare","canTransition","canTrickleIceCandidates","cancel","cancelAndHoldAtTime","cancelAnimationFrame","cancelBubble","cancelIdleCallback","cancelScheduledValues","cancelVideoFrameCallback","cancelWatchAvailability","cancelable","candidate","canonicalUUID","canvas","cap","capabilities","caption","caption-side","captionSide","capture","captureEvents","captureStackTrace","captureStream","caret-color","caretBidiLevel","caretColor","caretPositionFromPoint","caretRangeFromPoint","cast","catch","category","cbrt","cd","ceil","cellIndex","cellPadding","cellSpacing","cells","ch","chOff","chain","challenge","changeType","changed","changedTouches","channel","channelCount","channelCountMode","channelInterpretation","char","charAt","charCode","charCodeAt","charIndex","charLength","characterBounds","characterBoundsRangeStart","characterData","characterDataOldValue","characterSet","characteristic","charging","chargingTime","charset","check","checkDCE","checkEnclosure","checkFramebufferStatus","checkIntersection","checkValidity","checkVisibility","checked","childElementCount","childList","childNodes","children","chrome","ciphertext","cite","city","claimInterface","claimed","classList","className","classid","clear","clearAppBadge","clearAttributes","clearBuffer","clearBufferfi","clearBufferfv","clearBufferiv","clearBufferuiv","clearColor","clearData","clearDepth","clearHalt","clearImmediate","clearInterval","clearLiveSeekableRange","clearMarks","clearMaxGCPauseAccumulator","clearMeasures","clearOriginJoinedAdInterestGroups","clearParameters","clearRect","clearResourceTimings","clearShadow","clearStencil","clearTimeout","clearValue","clearWatch","click","clickCount","clientDataJSON","clientHeight","clientInformation","clientLeft","clientRect","clientRects","clientTop","clientWaitSync","clientWidth","clientX","clientY","clip","clip-path","clip-rule","clipBottom","clipLeft","clipPath","clipPathUnits","clipRight","clipRule","clipTop","clipboard","clipboardData","clonable","clone","cloneContents","cloneNode","cloneRange","close","closeCode","closePath","closed","closest","clz","clz32","cm","cmp","code","codeBase","codePointAt","codeType","codedHeight","codedRect","codedWidth","colSpan","collapse","collapseToEnd","collapseToStart","collapsed","collect","collections","colno","color","color-adjust","color-interpolation","color-interpolation-filters","color-scheme","colorAdjust","colorAttachments","colorDepth","colorFormats","colorInterpolation","colorInterpolationFilters","colorMask","colorScheme","colorSpace","colorType","cols","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columnCount","columnFill","columnGap","columnNumber","columnRule","columnRuleColor","columnRuleStyle","columnRuleWidth","columnSpan","columnWidth","columns","command","commit","commitPreferences","commitStyles","commonAncestorContainer","compact","compare","compareBoundaryPoints","compareDocumentPosition","compareEndPoints","compareExchange","compareNode","comparePoint","compatMode","compatible","compile","compileShader","compileStreaming","complete","completed","component","componentFromPoint","composed","composedPath","composite","compositionEndOffset","compositionStartOffset","compressedTexImage2D","compressedTexImage3D","compressedTexSubImage2D","compressedTexSubImage3D","compute","computedStyleMap","concat","conditionText","coneInnerAngle","coneOuterAngle","coneOuterGain","config","configurable","configuration","configurationName","configurationValue","configurations","configure","confirm","confirmComposition","confirmSiteSpecificTrackingException","confirmWebWideTrackingException","congestionControl","connect","connectEnd","connectShark","connectStart","connected","connectedCallback","connection","connectionList","connectionSpeed","connectionState","connections","console","consolidate","constants","constraint","constrictionActive","construct","constructor","contactID","contain","contain-intrinsic-block-size","contain-intrinsic-height","contain-intrinsic-inline-size","contain-intrinsic-size","contain-intrinsic-width","containIntrinsicBlockSize","containIntrinsicHeight","containIntrinsicInlineSize","containIntrinsicSize","containIntrinsicWidth","container","container-name","container-type","containerId","containerName","containerQuery","containerSrc","containerType","contains","containsNode","content","content-visibility","contentBoxSize","contentDocument","contentEditable","contentHint","contentOverflow","contentRect","contentScriptType","contentStyleType","contentType","contentVisibility","contentWindow","context","contextMenu","contextmenu","continue","continuePrimaryKey","continuous","control","controlTransferIn","controlTransferOut","controller","controls","controlsList","convertPointFromNode","convertQuadFromNode","convertRectFromNode","convertToBlob","convertToSpecifiedUnits","cookie","cookieEnabled","cookieStore","cookies","coords","copyBufferSubData","copyBufferToBuffer","copyBufferToTexture","copyExternalImageToTexture","copyFromChannel","copyTexImage2D","copyTexSubImage2D","copyTexSubImage3D","copyTextureToBuffer","copyTextureToTexture","copyTo","copyToChannel","copyWithin","correspondingElement","correspondingUseElement","corruptedVideoFrames","cos","cosh","count","countReset","counter-increment","counter-reset","counter-set","counterIncrement","counterReset","counterSet","country","cpuClass","cpuSleepAllowed","cqb","cqh","cqi","cqmax","cqmin","cqw","create","createAnalyser","createAnchor","createAnswer","createAttribute","createAttributeNS","createAuctionNonce","createBidirectionalStream","createBindGroup","createBindGroupLayout","createBiquadFilter","createBuffer","createBufferSource","createCDATASection","createCSSStyleSheet","createCaption","createChannelMerger","createChannelSplitter","createCommandEncoder","createComment","createComputePipeline","createComputePipelineAsync","createConicGradient","createConstantSource","createContextualFragment","createControlRange","createConvolver","createDTMFSender","createDataChannel","createDelay","createDelayNode","createDocument","createDocumentFragment","createDocumentType","createDynamicsCompressor","createElement","createElementNS","createEncodedStreams","createEntityReference","createEvent","createEventObject","createExpression","createFramebuffer","createFunction","createGain","createGainNode","createHTML","createHTMLDocument","createIIRFilter","createImageBitmap","createImageData","createIndex","createJavaScriptNode","createLinearGradient","createMediaElementSource","createMediaKeys","createMediaStreamDestination","createMediaStreamSource","createMediaStreamTrackSource","createMutableFile","createNSResolver","createNodeIterator","createNotification","createObjectStore","createObjectURL","createOffer","createOscillator","createPanner","createPattern","createPeriodicWave","createPipelineLayout","createPolicy","createPopup","createProcessingInstruction","createProgram","createQuery","createQuerySet","createRadialGradient","createRange","createRangeCollection","createReader","createRenderBundleEncoder","createRenderPipeline","createRenderPipelineAsync","createRenderbuffer","createSVGAngle","createSVGLength","createSVGMatrix","createSVGNumber","createSVGPathSegArcAbs","createSVGPathSegArcRel","createSVGPathSegClosePath","createSVGPathSegCurvetoCubicAbs","createSVGPathSegCurvetoCubicRel","createSVGPathSegCurvetoCubicSmoothAbs","createSVGPathSegCurvetoCubicSmoothRel","createSVGPathSegCurvetoQuadraticAbs","createSVGPathSegCurvetoQuadraticRel","createSVGPathSegCurvetoQuadraticSmoothAbs","createSVGPathSegCurvetoQuadraticSmoothRel","createSVGPathSegLinetoAbs","createSVGPathSegLinetoHorizontalAbs","createSVGPathSegLinetoHorizontalRel","createSVGPathSegLinetoRel","createSVGPathSegLinetoVerticalAbs","createSVGPathSegLinetoVerticalRel","createSVGPathSegMovetoAbs","createSVGPathSegMovetoRel","createSVGPoint","createSVGRect","createSVGTransform","createSVGTransformFromMatrix","createSampler","createScript","createScriptProcessor","createScriptURL","createSession","createShader","createShaderModule","createShadowRoot","createStereoPanner","createStyleSheet","createTBody","createTFoot","createTHead","createTask","createTextNode","createTextRange","createTexture","createTouch","createTouchList","createTransformFeedback","createTreeWalker","createUnidirectionalStream","createVertexArray","createView","createWaveShaper","createWritable","creationTime","credentialless","credentials","criticalCHRestart","cropTo","crossOrigin","crossOriginIsolated","crypto","csi","csp","cssFloat","cssRules","cssText","cssValueType","ctrlKey","ctrlLeft","cues","cullFace","cullMode","currentDirection","currentEntry","currentLocalDescription","currentNode","currentPage","currentRect","currentRemoteDescription","currentScale","currentScreen","currentScript","currentSrc","currentState","currentStyle","currentTarget","currentTime","currentTranslate","currentView","cursor","curve","customElements","customError","cx","cy","d","data","dataFld","dataFormatAs","dataLoss","dataLossMessage","dataPageSize","dataSrc","dataTransfer","database","databases","datagrams","dataset","dateTime","db","debug","debuggerEnabled","declare","decode","decodeAudioData","decodeQueueSize","decodeURI","decodeURIComponent","decodedBodySize","decoding","decodingInfo","decrypt","default","defaultCharset","defaultChecked","defaultMuted","defaultPlaybackRate","defaultPolicy","defaultPrevented","defaultQueue","defaultRequest","defaultSelected","defaultStatus","defaultURL","defaultValue","defaultView","defaultstatus","defer","define","defineMagicFunction","defineMagicVariable","defineProperties","defineProperty","deg","delay","delayTime","delegatesFocus","delete","deleteBuffer","deleteCaption","deleteCell","deleteContents","deleteData","deleteDatabase","deleteFramebuffer","deleteFromDocument","deleteIndex","deleteMedium","deleteObjectStore","deleteProgram","deleteProperty","deleteQuery","deleteRenderbuffer","deleteRow","deleteRule","deleteSampler","deleteShader","deleteSync","deleteTFoot","deleteTHead","deleteTexture","deleteTransformFeedback","deleteVertexArray","deleted","deliverChangeRecords","deliveredFrames","delivery","deliveryInfo","deliveryStatus","deliveryTimestamp","deliveryType","delta","deltaMode","deltaX","deltaY","deltaZ","dependentLocality","deprecatedReplaceInURN","deprecatedRunAdAuctionEnforcesKAnonymity","deprecatedURNToURL","depthBias","depthBiasClamp","depthBiasSlopeScale","depthClearValue","depthCompare","depthDataFormat","depthFailOp","depthFar","depthFunc","depthLoadOp","depthMask","depthNear","depthOrArrayLayers","depthRange","depthReadOnly","depthStencil","depthStencilAttachment","depthStencilFormat","depthStoreOp","depthUsage","depthWriteEnabled","deref","deriveBits","deriveKey","descentOverride","description","deselectAll","designMode","desiredSize","destination","destinationURL","destroy","detach","detachEvent","detachShader","detached","detail","details","detect","detune","device","deviceClass","deviceId","deviceMemory","devicePixelContentBoxSize","devicePixelRatio","deviceProtocol","deviceSubclass","deviceVersionMajor","deviceVersionMinor","deviceVersionSubminor","deviceXDPI","deviceYDPI","didTimeout","difference","diffuseConstant","digest","dimension","dimensions","dir","dirName","direction","dirxml","disable","disablePictureInPicture","disableRemotePlayback","disableVertexAttribArray","disabled","discardedFrames","dischargingTime","disconnect","disconnectShark","disconnectedCallback","dispatchEvent","dispatchWorkgroups","dispatchWorkgroupsIndirect","display","displayHeight","displayId","displayName","displayWidth","disposition","distanceModel","div","divisor","djsapi","djsproxy","doImport","doNotTrack","doScroll","doctype","document","documentElement","documentMode","documentPictureInPicture","documentURI","dolphin","dolphinGameCenter","dolphininfo","dolphinmeta","domComplete","domContentLoadedEventEnd","domContentLoadedEventStart","domInteractive","domLoading","domOverlayState","domain","domainLookupEnd","domainLookupStart","dominant-baseline","dominantBaseline","done","dopplerFactor","dotAll","downDegrees","downlink","download","downloadRequest","downloadTotal","downloaded","dpcm","dpi","dppx","dragDrop","draggable","draw","drawArrays","drawArraysInstanced","drawArraysInstancedANGLE","drawBuffers","drawCustomFocusRing","drawElements","drawElementsInstanced","drawElementsInstancedANGLE","drawFocusIfNeeded","drawImage","drawImageFromRect","drawIndexed","drawIndexedIndirect","drawIndirect","drawRangeElements","drawSystemFocusRing","drawingBufferColorSpace","drawingBufferFormat","drawingBufferHeight","drawingBufferStorage","drawingBufferWidth","drop","dropEffect","droppedVideoFrames","dropzone","dstFactor","dtmf","dump","dumpProfile","duplicate","durability","duration","dvb","dvh","dvi","dvmax","dvmin","dvname","dvnum","dvw","dx","dy","dynsrc","e","edgeMode","editContext","effect","effectAllowed","effectiveDirective","effectiveType","elapsedTime","element","elementFromPoint","elementTiming","elements","elementsFromPoint","elevation","ellipse","em","emHeightAscent","emHeightDescent","email","embeds","emit","emma","empty","empty-cells","emptyCells","emptyHTML","emptyScript","emulatedPosition","enable","enableBackground","enableDelegations","enableStyleSheetsForSet","enableVertexAttribArray","enabled","enabledFeatures","enabledPlugin","encode","encodeInto","encodeQueueSize","encodeURI","encodeURIComponent","encodedBodySize","encoding","encodingInfo","encrypt","enctype","end","endContainer","endElement","endElementAt","endOcclusionQuery","endOfPassWriteIndex","endOfStream","endOffset","endQuery","endTime","endTransformFeedback","ended","endpoint","endpointNumber","endpoints","endsWith","enqueue","enterKeyHint","entities","entries","entry","entryPoint","entryType","enumerable","enumerate","enumerateDevices","enumerateEditable","environmentBlendMode","equals","error","errorCode","errorDetail","errorText","escape","estimate","eval","evaluate","event","eventCounts","eventPhase","every","ex","exception","exchange","exec","execCommand","execCommandShowHelp","execScript","executeBundles","executionStart","exitFullscreen","exitPictureInPicture","exitPointerLock","exitPresent","exp","expand","expandEntityReferences","expando","expansion","expectedImprovement","expiration","expirationTime","expires","expiryDate","explicitOriginalTarget","expm1","exponent","exponentialRampToValueAtTime","exportKey","exports","extend","extensions","extentNode","extentOffset","external","externalResourcesRequired","externalTexture","extractContents","extractable","eye","f","face","factoryReset","failOp","failureReason","fallback","family","familyName","farthestViewportElement","fastSeek","fatal","featureId","featurePolicy","featureSettings","features","fence","fenceSync","fetch","fetchPriority","fetchStart","fftSize","fgColor","fieldOfView","file","fileCreatedDate","fileHandle","fileModifiedDate","fileName","fileSize","fileUpdatedDate","filename","files","filesystem","fill","fill-opacity","fill-rule","fillLightMode","fillOpacity","fillRect","fillRule","fillStyle","fillText","filter","filterResX","filterResY","filterUnits","filters","finally","find","findIndex","findLast","findLastIndex","findRule","findText","finish","finished","fireEvent","firesTouchEvents","firstChild","firstElementChild","firstInterimResponseStart","firstPage","firstUIEventTimestamp","fixed","flags","flat","flatMap","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","flexBasis","flexDirection","flexFlow","flexGrow","flexShrink","flexWrap","flipX","flipY","float","float32","float64","flood-color","flood-opacity","floodColor","floodOpacity","floor","flush","focus","focusNode","focusOffset","font","font-family","font-feature-settings","font-kerning","font-language-override","font-optical-sizing","font-palette","font-size","font-size-adjust","font-stretch","font-style","font-synthesis","font-synthesis-position","font-synthesis-small-caps","font-synthesis-style","font-synthesis-weight","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","fontBoundingBoxAscent","fontBoundingBoxDescent","fontFamily","fontFeatureSettings","fontKerning","fontLanguageOverride","fontOpticalSizing","fontPalette","fontSize","fontSizeAdjust","fontSmoothingEnabled","fontStretch","fontStyle","fontSynthesis","fontSynthesisPosition","fontSynthesisSmallCaps","fontSynthesisStyle","fontSynthesisWeight","fontVariant","fontVariantAlternates","fontVariantCaps","fontVariantEastAsian","fontVariantLigatures","fontVariantNumeric","fontVariantPosition","fontVariationSettings","fontWeight","fontcolor","fontfaces","fonts","fontsize","for","forEach","force","forceFallbackAdapter","forceRedraw","forced-color-adjust","forcedColorAdjust","forcedStyleAndLayoutDuration","forget","form","formAction","formData","formEnctype","formMethod","formNoValidate","formTarget","format","formatToParts","forms","forward","forwardX","forwardY","forwardZ","foundation","fr","fragment","fragmentDirective","frame","frameBorder","frameCount","frameElement","frameSpacing","framebuffer","framebufferHeight","framebufferRenderbuffer","framebufferTexture2D","framebufferTextureLayer","framebufferWidth","frames","freeSpace","freeze","frequency","frequencyBinCount","from","fromAsync","fromCharCode","fromCodePoint","fromElement","fromEntries","fromFloat32Array","fromFloat64Array","fromMatrix","fromPoint","fromQuad","fromRect","frontFace","fround","fullName","fullPath","fullRange","fullScreen","fullVersionList","fullscreen","fullscreenElement","fullscreenEnabled","fx","fy","g","gain","gamepad","gamma","gap","gatheringState","gatt","genderIdentity","generateCertificate","generateKey","generateMipmap","generateRequest","geolocation","gestureObject","get","getActiveAttrib","getActiveUniform","getActiveUniformBlockName","getActiveUniformBlockParameter","getActiveUniforms","getAdjacentText","getAll","getAllKeys","getAllResponseHeaders","getAllowlistForFeature","getAnimations","getAsFile","getAsFileSystemHandle","getAsString","getAttachedShaders","getAttribLocation","getAttribute","getAttributeNS","getAttributeNames","getAttributeNode","getAttributeNodeNS","getAttributeType","getAudioTracks","getAuthenticatorData","getAutoplayPolicy","getAvailability","getBBox","getBattery","getBigInt64","getBigUint64","getBindGroupLayout","getBlob","getBookmark","getBoundingClientRect","getBounds","getBoxQuads","getBufferParameter","getBufferSubData","getByteFrequencyData","getByteTimeDomainData","getCSSCanvasContext","getCTM","getCameraImage","getCandidateWindowClientRect","getCanonicalLocales","getCapabilities","getCaptureHandle","getChannelData","getCharNumAtPosition","getCharacteristic","getCharacteristics","getClientExtensionResults","getClientRect","getClientRects","getCoalescedEvents","getCompilationInfo","getCompositionAlternatives","getComputedStyle","getComputedTextLength","getComputedTiming","getConfiguration","getConstraints","getContext","getContextAttributes","getContributingSources","getCounterValue","getCueAsHTML","getCueById","getCurrentPosition","getCurrentTexture","getCurrentTime","getData","getDatabaseNames","getDate","getDay","getDefaultComputedStyle","getDepthInMeters","getDepthInformation","getDescriptor","getDescriptors","getDestinationInsertionPoints","getDevices","getDirectory","getDirectoryHandle","getDisplayMedia","getDistributedNodes","getEditable","getElementById","getElementsByClassName","getElementsByName","getElementsByTagName","getElementsByTagNameNS","getEnclosureList","getEndPositionOfChar","getEntries","getEntriesByName","getEntriesByType","getError","getExtension","getExtentOfChar","getEyeParameters","getFeature","getFiberRoots","getFile","getFileHandle","getFiles","getFilesAndDirectories","getFingerprints","getFloat32","getFloat64","getFloatFrequencyData","getFloatTimeDomainData","getFloatValue","getFragDataLocation","getFrameData","getFramebufferAttachmentParameter","getFrequencyResponse","getFullYear","getGamepads","getHeaderExtensionsToNegotiate","getHighEntropyValues","getHitTestResults","getHitTestResultsForTransientInput","getHours","getIdentityAssertion","getIds","getImageData","getIndexedParameter","getInfo","getInnerHTML","getInstalledRelatedApps","getInt16","getInt32","getInt8","getInternalModuleRanges","getInternalformatParameter","getIntersectionList","getItem","getItems","getKey","getKeyframes","getLayers","getLayoutMap","getLightEstimate","getLineDash","getLocalCandidates","getLocalParameters","getLocalStreams","getManagedConfiguration","getMappedRange","getMarks","getMatchedCSSRules","getMaxGCPauseSinceClear","getMeasures","getMetadata","getMilliseconds","getMinutes","getModifierState","getMonth","getName","getNamedItem","getNamedItemNS","getNativeFramebufferScaleFactor","getNegotiatedHeaderExtensions","getNestedConfigs","getNotifications","getNotifier","getNumberOfChars","getOffsetReferenceSpace","getOutputTimestamp","getOverrideHistoryNavigationMode","getOverrideStyle","getOwnPropertyDescriptor","getOwnPropertyDescriptors","getOwnPropertyNames","getOwnPropertySymbols","getParameter","getParameters","getParent","getPathSegAtLength","getPhotoCapabilities","getPhotoSettings","getPointAtLength","getPorts","getPose","getPredictedEvents","getPreference","getPreferenceDefault","getPreferredCanvasFormat","getPresentationAttribute","getPreventDefault","getPrimaryService","getPrimaryServices","getProgramInfoLog","getProgramParameter","getPropertyCSSValue","getPropertyPriority","getPropertyShorthand","getPropertyType","getPropertyValue","getPrototypeOf","getPublicKey","getPublicKeyAlgorithm","getQuery","getQueryParameter","getRGBColorValue","getRandomValues","getRangeAt","getReader","getReceivers","getRectValue","getReflectionCubeMap","getRegistration","getRegistrations","getRemoteCandidates","getRemoteCertificates","getRemoteParameters","getRemoteStreams","getRenderbufferParameter","getResponseHeader","getRoot","getRootNode","getRotationOfChar","getSVGDocument","getSamplerParameter","getScreenCTM","getScreenDetails","getSeconds","getSelectedCandidatePair","getSelection","getSenders","getService","getSetCookie","getSettings","getShaderInfoLog","getShaderParameter","getShaderPrecisionFormat","getShaderSource","getSignals","getSimpleDuration","getSiteIcons","getSources","getSpeculativeParserUrls","getStartPositionOfChar","getStartTime","getState","getStats","getStatusForPolicy","getStorageUpdates","getStreamById","getStringValue","getSubStringLength","getSubscription","getSubscriptions","getSupportedConstraints","getSupportedExtensions","getSupportedFormats","getSyncParameter","getSynchronizationSources","getTags","getTargetRanges","getTexParameter","getTextFormats","getTime","getTimezoneOffset","getTiming","getTitlebarAreaRect","getTotalLength","getTrackById","getTracks","getTransceivers","getTransform","getTransformFeedbackVarying","getTransformToElement","getTransports","getType","getTypeMapping","getUTCDate","getUTCDay","getUTCFullYear","getUTCHours","getUTCMilliseconds","getUTCMinutes","getUTCMonth","getUTCSeconds","getUint16","getUint32","getUint8","getUniform","getUniformBlockIndex","getUniformIndices","getUniformLocation","getUserInfo","getUserMedia","getVRDisplays","getValues","getVarDate","getVariableValue","getVertexAttrib","getVertexAttribOffset","getVideoPlaybackQuality","getVideoTracks","getViewerPose","getViewport","getVoices","getWakeLockState","getWriter","getYear","givenName","global","globalAlpha","globalCompositeOperation","globalPrivacyControl","globalThis","glyphOrientationHorizontal","glyphOrientationVertical","glyphRef","go","gpu","grabFrame","grad","gradientTransform","gradientUnits","grammars","green","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-gap","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-gap","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","gridArea","gridAutoColumns","gridAutoFlow","gridAutoRows","gridColumn","gridColumnEnd","gridColumnGap","gridColumnStart","gridGap","gridRow","gridRowEnd","gridRowGap","gridRowStart","gridTemplate","gridTemplateAreas","gridTemplateColumns","gridTemplateRows","gripSpace","group","groupBy","groupCollapsed","groupEnd","groupId","groups","hadRecentInput","hand","handedness","hangingBaseline","hapticActuators","hardwareConcurrency","has","hasAttribute","hasAttributeNS","hasAttributes","hasBeenActive","hasChildNodes","hasComposition","hasDynamicOffset","hasEnrolledInstrument","hasExtension","hasExternalDisplay","hasFeature","hasFocus","hasIndices","hasInstance","hasLayout","hasOrientation","hasOwn","hasOwnProperty","hasPointerCapture","hasPosition","hasPrivateToken","hasReading","hasRedemptionRecord","hasRegExpGroups","hasStorageAccess","hasUAVisualTransition","hash","hashChange","head","headers","heading","height","hid","hidden","hide","hideFocus","hidePopover","high","highWaterMark","highlights","hint","hints","history","honorificPrefix","honorificSuffix","horizontalOverflow","host","hostCandidate","hostname","href","hrefTranslate","hreflang","hspace","html5TagCheckInerface","htmlFor","htmlText","httpEquiv","httpRequestStatusCode","hwTimestamp","hyphenate-character","hyphenateCharacter","hyphens","hypot","ic","iccId","iceConnectionState","iceGatheringState","iceTransport","icon","iconURL","id","identifier","identity","ideographicBaseline","idpLoginUrl","ignoreBOM","ignoreCase","ignoreDepthValues","image","image-orientation","image-rendering","imageHeight","imageOrientation","imageRendering","imageSizes","imageSmoothingEnabled","imageSmoothingQuality","imageSrcset","imageWidth","images","ime-mode","imeMode","implementation","importExternalTexture","importKey","importNode","importStylesheet","imports","impp","imul","in","in1","in2","inBandMetadataTrackDispatchType","inRange","includes","incomingBidirectionalStreams","incomingHighWaterMark","incomingMaxAge","incomingUnidirectionalStreams","incremental","indeterminate","index","indexNames","indexOf","indexedDB","indicate","indices","inert","inertiaDestinationX","inertiaDestinationY","info","inherits","init","initAnimationEvent","initBeforeLoadEvent","initClipboardEvent","initCloseEvent","initCommandEvent","initCompositionEvent","initCustomEvent","initData","initDataType","initDeviceMotionEvent","initDeviceOrientationEvent","initDragEvent","initErrorEvent","initEvent","initFocusEvent","initGestureEvent","initHashChangeEvent","initKeyEvent","initKeyboardEvent","initMSManipulationEvent","initMessageEvent","initMouseEvent","initMouseScrollEvent","initMouseWheelEvent","initMutationEvent","initNSMouseEvent","initOverflowEvent","initPageEvent","initPageTransitionEvent","initPointerEvent","initPopStateEvent","initProgressEvent","initScrollAreaEvent","initSimpleGestureEvent","initStorageEvent","initTextEvent","initTimeEvent","initTouchEvent","initTransitionEvent","initUIEvent","initWebKitAnimationEvent","initWebKitTransitionEvent","initWebKitWheelEvent","initWheelEvent","initialTime","initialValue","initialize","initiatorType","inject","ink","inline-size","inlineSize","inlineVerticalFieldOfView","inner","innerHTML","innerHeight","innerText","innerWidth","input","inputBuffer","inputEncoding","inputMethod","inputMode","inputSource","inputSources","inputType","inputs","insertAdjacentElement","insertAdjacentHTML","insertAdjacentText","insertBefore","insertCell","insertDTMF","insertData","insertDebugMarker","insertItemBefore","insertNode","insertRow","insertRule","inset","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","insetBlock","insetBlockEnd","insetBlockStart","insetInline","insetInlineEnd","insetInlineStart","installing","instanceRoot","instantiate","instantiateStreaming","instruments","int16","int32","int8","integrity","interactionId","interactionMode","intercept","interfaceClass","interfaceName","interfaceNumber","interfaceProtocol","interfaceSubclass","interfaces","interimResults","internalSubset","interpretation","intersection","intersectionRatio","intersectionRect","intersectsNode","interval","invalidIteratorState","invalidateFramebuffer","invalidateSubFramebuffer","inverse","invertSelf","invoker","invokerType","is","is2D","isActive","isAlternate","isArray","isAutoSelected","isBingCurrentSearchDefault","isBuffer","isCandidateWindowVisible","isChar","isCollapsed","isComposing","isConcatSpreadable","isConditionalMediationAvailable","isConfigSupported","isConnected","isContentEditable","isContentHandlerRegistered","isContextLost","isDefaultNamespace","isDirectory","isDisabled","isDisjointFrom","isEnabled","isEqual","isEqualNode","isExtended","isExtensible","isExternalCTAP2SecurityKeySupported","isFallbackAdapter","isFile","isFinite","isFirstPersonObserver","isFramebuffer","isFrozen","isGenerator","isHTML","isHistoryNavigation","isId","isIdentity","isInjected","isInputPending","isInteger","isInternal","isIntersecting","isLockFree","isMap","isMultiLine","isNaN","isOpen","isPointInFill","isPointInPath","isPointInRange","isPointInStroke","isPrefAlternate","isPresenting","isPrimary","isProgram","isPropertyImplicit","isProtocolHandlerRegistered","isPrototypeOf","isQuery","isRawJSON","isRenderbuffer","isSafeInteger","isSameEntry","isSameNode","isSampler","isScript","isScriptURL","isSealed","isSecureContext","isSessionSupported","isShader","isSubsetOf","isSupersetOf","isSupported","isSync","isTextEdit","isTexture","isTransformFeedback","isTrusted","isTypeSupported","isUserVerifyingPlatformAuthenticatorAvailable","isVertexArray","isView","isVisible","isWellFormed","isochronousTransferIn","isochronousTransferOut","isolation","italics","item","itemId","itemProp","itemRef","itemScope","itemType","itemValue","items","iterateNext","iterationComposite","iterator","javaEnabled","jitterBufferTarget","jobTitle","join","joinAdInterestGroup","json","justify-content","justify-items","justify-self","justifyContent","justifyItems","justifySelf","k1","k2","k3","k4","kHz","keepalive","kernelMatrix","kernelUnitLengthX","kernelUnitLengthY","kerning","key","keyCode","keyFor","keyIdentifier","keyLightEnabled","keyLocation","keyPath","keyStatuses","keySystem","keyText","keyUsage","keyboard","keys","keytype","kind","knee","label","labels","lang","language","languages","largeArcFlag","lastChild","lastElementChild","lastEventId","lastIndex","lastIndexOf","lastInputTime","lastMatch","lastMessageSubject","lastMessageType","lastModified","lastModifiedDate","lastPage","lastParen","lastState","lastStyleSheetSet","latitude","launchQueue","layerName","layerX","layerY","layout","layoutFlow","layoutGrid","layoutGridChar","layoutGridLine","layoutGridMode","layoutGridType","lbound","leaveAdInterestGroup","left","leftContext","leftDegrees","leftMargin","leftProjectionMatrix","leftViewMatrix","length","lengthAdjust","lengthComputable","letter-spacing","letterSpacing","level","lh","lighting-color","lightingColor","limitingConeAngle","limits","line","line-break","line-height","lineAlign","lineBreak","lineCap","lineDashOffset","lineGapOverride","lineHeight","lineJoin","lineNum","lineNumber","linePos","lineTo","lineWidth","linearAcceleration","linearRampToValueAtTime","linearVelocity","lineno","lines","link","linkColor","linkProgram","links","list","list-style","list-style-image","list-style-position","list-style-type","listStyle","listStyleImage","listStylePosition","listStyleType","listener","listeners","load","loadEventEnd","loadEventStart","loadOp","loadTime","loadTimes","loaded","loading","localDescription","localName","localService","localStorage","locale","localeCompare","location","locationbar","lock","locked","lockedFile","locks","lodMaxClamp","lodMinClamp","log","log10","log1p","log2","logicalXDPI","logicalYDPI","login","loglevel","longDesc","longitude","lookupNamespaceURI","lookupPrefix","loop","loopEnd","loopStart","looping","lost","low","lower","lowerBound","lowerOpen","lowsrc","lvb","lvh","lvi","lvmax","lvmin","lvw","m11","m12","m13","m14","m21","m22","m23","m24","m31","m32","m33","m34","m41","m42","m43","m44","magFilter","makeXRCompatible","managed","manifest","manufacturer","manufacturerName","map","mapAsync","mapState","mappedAtCreation","mapping","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marginBlock","marginBlockEnd","marginBlockStart","marginBottom","marginHeight","marginInline","marginInlineEnd","marginInlineStart","marginLeft","marginRight","marginTop","marginWidth","mark","marker","marker-end","marker-mid","marker-offset","marker-start","markerEnd","markerHeight","markerMid","markerOffset","markerStart","markerUnits","markerWidth","marks","mask","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-position-x","mask-position-y","mask-repeat","mask-size","mask-type","maskClip","maskComposite","maskContentUnits","maskImage","maskMode","maskOrigin","maskPosition","maskPositionX","maskPositionY","maskRepeat","maskSize","maskType","maskUnits","match","matchAll","matchMedia","matchMedium","matches","math-depth","math-style","mathDepth","mathStyle","matrix","matrixTransform","max","max-block-size","max-height","max-inline-size","max-width","maxActions","maxAlternatives","maxAnisotropy","maxBindGroups","maxBindGroupsPlusVertexBuffers","maxBindingsPerBindGroup","maxBlockSize","maxBufferSize","maxByteLength","maxChannelCount","maxChannels","maxColorAttachmentBytesPerSample","maxColorAttachments","maxComputeInvocationsPerWorkgroup","maxComputeWorkgroupSizeX","maxComputeWorkgroupSizeY","maxComputeWorkgroupSizeZ","maxComputeWorkgroupStorageSize","maxComputeWorkgroupsPerDimension","maxConnectionsPerServer","maxDatagramSize","maxDecibels","maxDistance","maxDrawCount","maxDynamicStorageBuffersPerPipelineLayout","maxDynamicUniformBuffersPerPipelineLayout","maxHeight","maxInlineSize","maxInterStageShaderComponents","maxInterStageShaderVariables","maxLayers","maxLength","maxMessageSize","maxPacketLifeTime","maxRetransmits","maxSampledTexturesPerShaderStage","maxSamplersPerShaderStage","maxStorageBufferBindingSize","maxStorageBuffersPerShaderStage","maxStorageTexturesPerShaderStage","maxTextureArrayLayers","maxTextureDimension1D","maxTextureDimension2D","maxTextureDimension3D","maxTouchPoints","maxUniformBufferBindingSize","maxUniformBuffersPerShaderStage","maxValue","maxVertexAttributes","maxVertexBufferArrayStride","maxVertexBuffers","maxWidth","measure","measureText","media","mediaCapabilities","mediaDevices","mediaElement","mediaGroup","mediaKeys","mediaSession","mediaStream","mediaText","meetOrSlice","memory","menubar","mergeAttributes","message","messageClass","messageHandlers","messageType","messages","metaKey","metadata","method","methodDetails","methodName","mid","mimeType","mimeTypes","min","min-block-size","min-height","min-inline-size","min-width","minBindingSize","minBlockSize","minDecibels","minFilter","minHeight","minInlineSize","minLength","minStorageBufferOffsetAlignment","minUniformBufferOffsetAlignment","minValue","minWidth","mipLevel","mipLevelCount","mipmapFilter","miterLimit","mix-blend-mode","mixBlendMode","mm","mobile","mode","model","modify","module","mount","move","moveBy","moveEnd","moveFirst","moveFocusDown","moveFocusLeft","moveFocusRight","moveFocusUp","moveNext","moveRow","moveStart","moveTo","moveToBookmark","moveToElementText","moveToPoint","movementX","movementY","mozAdd","mozAnimationStartTime","mozAnon","mozApps","mozAudioCaptured","mozAudioChannelType","mozAutoplayEnabled","mozCancelAnimationFrame","mozCancelFullScreen","mozCancelRequestAnimationFrame","mozCaptureStream","mozCaptureStreamUntilEnded","mozClearDataAt","mozContact","mozContacts","mozCreateFileHandle","mozCurrentTransform","mozCurrentTransformInverse","mozCursor","mozDash","mozDashOffset","mozDecodedFrames","mozExitPointerLock","mozFillRule","mozFragmentEnd","mozFrameDelay","mozFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozGetAll","mozGetAllKeys","mozGetAsFile","mozGetDataAt","mozGetMetadata","mozGetUserMedia","mozHasAudio","mozHasItem","mozHidden","mozImageSmoothingEnabled","mozIndexedDB","mozInnerScreenX","mozInnerScreenY","mozInputSource","mozIsTextField","mozItem","mozItemCount","mozItems","mozLength","mozLockOrientation","mozMatchesSelector","mozMovementX","mozMovementY","mozOpaque","mozOrientation","mozPaintCount","mozPaintedFrames","mozParsedFrames","mozPay","mozPointerLockElement","mozPresentedFrames","mozPreservesPitch","mozPressure","mozPrintCallback","mozRTCIceCandidate","mozRTCPeerConnection","mozRTCSessionDescription","mozRemove","mozRequestAnimationFrame","mozRequestFullScreen","mozRequestPointerLock","mozSetDataAt","mozSetImageElement","mozSourceNode","mozSrcObject","mozSystem","mozTCPSocket","mozTextStyle","mozTypesAt","mozUnlockOrientation","mozUserCancelled","mozVisibilityState","ms","msAnimation","msAnimationDelay","msAnimationDirection","msAnimationDuration","msAnimationFillMode","msAnimationIterationCount","msAnimationName","msAnimationPlayState","msAnimationStartTime","msAnimationTimingFunction","msBackfaceVisibility","msBlockProgression","msCSSOMElementFloatMetrics","msCaching","msCachingEnabled","msCancelRequestAnimationFrame","msCapsLockWarningOff","msClearImmediate","msClose","msContentZoomChaining","msContentZoomFactor","msContentZoomLimit","msContentZoomLimitMax","msContentZoomLimitMin","msContentZoomSnap","msContentZoomSnapPoints","msContentZoomSnapType","msContentZooming","msConvertURL","msCrypto","msDoNotTrack","msElementsFromPoint","msElementsFromRect","msExitFullscreen","msExtendedCode","msFillRule","msFirstPaint","msFlex","msFlexAlign","msFlexDirection","msFlexFlow","msFlexItemAlign","msFlexLinePack","msFlexNegative","msFlexOrder","msFlexPack","msFlexPositive","msFlexPreferredSize","msFlexWrap","msFlowFrom","msFlowInto","msFontFeatureSettings","msFullscreenElement","msFullscreenEnabled","msGetInputContext","msGetRegionContent","msGetUntransformedBounds","msGraphicsTrustStatus","msGridColumn","msGridColumnAlign","msGridColumnSpan","msGridColumns","msGridRow","msGridRowAlign","msGridRowSpan","msGridRows","msHidden","msHighContrastAdjust","msHyphenateLimitChars","msHyphenateLimitLines","msHyphenateLimitZone","msHyphens","msImageSmoothingEnabled","msImeAlign","msIndexedDB","msInterpolationMode","msIsStaticHTML","msKeySystem","msKeys","msLaunchUri","msLockOrientation","msManipulationViewsEnabled","msMatchMedia","msMatchesSelector","msMaxTouchPoints","msOrientation","msOverflowStyle","msPerspective","msPerspectiveOrigin","msPlayToDisabled","msPlayToPreferredSourceUri","msPlayToPrimary","msPointerEnabled","msRegionOverflow","msReleasePointerCapture","msRequestAnimationFrame","msRequestFullscreen","msSaveBlob","msSaveOrOpenBlob","msScrollChaining","msScrollLimit","msScrollLimitXMax","msScrollLimitXMin","msScrollLimitYMax","msScrollLimitYMin","msScrollRails","msScrollSnapPointsX","msScrollSnapPointsY","msScrollSnapType","msScrollSnapX","msScrollSnapY","msScrollTranslation","msSetImmediate","msSetMediaKeys","msSetPointerCapture","msTextCombineHorizontal","msTextSizeAdjust","msToBlob","msTouchAction","msTouchSelect","msTraceAsyncCallbackCompleted","msTraceAsyncCallbackStarting","msTraceAsyncOperationCompleted","msTraceAsyncOperationStarting","msTransform","msTransformOrigin","msTransformStyle","msTransition","msTransitionDelay","msTransitionDuration","msTransitionProperty","msTransitionTimingFunction","msUnlockOrientation","msUpdateAsyncCallbackRelation","msUserSelect","msVisibilityState","msWrapFlow","msWrapMargin","msWrapThrough","msWriteProfilerMark","msZoom","msZoomTo","mt","mul","multiEntry","multiSelectionObj","multiline","multiple","multiply","multiplySelf","multisample","multisampled","mutableFile","muted","n","name","nameList","nameProp","namedItem","namedRecordset","names","namespaceURI","namespaces","nativeMap","nativeObjectCreate","nativeSet","nativeWeakMap","naturalHeight","naturalWidth","navigate","navigation","navigationMode","navigationPreload","navigationStart","navigationType","navigator","near","nearestViewportElement","negative","negotiated","netscape","networkState","newScale","newState","newTranslate","newURL","newValue","newValueSpecifiedUnits","newVersion","newhome","next","nextElementSibling","nextHopProtocol","nextNode","nextPage","nextSibling","nickname","noHref","noModule","noResize","noShade","noValidate","noWrap","node","nodeName","nodeType","nodeValue","nonce","normDepthBufferFromNormView","normalize","normalizedPathSegList","notRestoredReasons","notationName","notations","note","noteGrainOn","noteOff","noteOn","notify","now","numOctaves","number","numberOfChannels","numberOfFrames","numberOfInputs","numberOfItems","numberOfOutputs","numberValue","oMatchesSelector","object","object-fit","object-position","objectFit","objectPosition","objectStore","objectStoreNames","objectType","observe","occlusionQuerySet","of","off","offscreenBuffering","offset","offset-anchor","offset-distance","offset-path","offset-position","offset-rotate","offsetAnchor","offsetDistance","offsetHeight","offsetLeft","offsetNode","offsetParent","offsetPath","offsetPosition","offsetRotate","offsetTop","offsetWidth","offsetX","offsetY","ok","oldState","oldURL","oldValue","oldVersion","olderShadowRoot","on","onCommitFiberRoot","onCommitFiberUnmount","onLine","onPostCommitFiberRoot","onSubmittedWorkDone","onabort","onabsolutedeviceorientation","onactivate","onactive","onaddsourcebuffer","onaddstream","onaddtrack","onafterprint","onafterscriptexecute","onafterupdate","onanimationcancel","onanimationend","onanimationiteration","onanimationstart","onappinstalled","onaudioend","onaudioprocess","onaudiostart","onautocomplete","onautocompleteerror","onauxclick","onbeforeactivate","onbeforecopy","onbeforecut","onbeforedeactivate","onbeforeeditfocus","onbeforeinput","onbeforeinstallprompt","onbeforematch","onbeforepaste","onbeforeprint","onbeforescriptexecute","onbeforetoggle","onbeforeunload","onbeforeupdate","onbeforexrselect","onbegin","onblocked","onblur","onbounce","onboundary","onbufferedamountlow","oncached","oncancel","oncandidatewindowhide","oncandidatewindowshow","oncandidatewindowupdate","oncanplay","oncanplaythrough","oncapturehandlechange","once","oncellchange","onchange","oncharacterboundsupdate","oncharacteristicvaluechanged","onchargingchange","onchargingtimechange","onchecking","onclick","onclose","onclosing","oncompassneedscalibration","oncomplete","oncompositionend","oncompositionstart","onconnect","onconnecting","onconnectionavailable","onconnectionstatechange","oncontentvisibilityautostatechange","oncontextlost","oncontextmenu","oncontextrestored","oncontrollerchange","oncontrolselect","oncopy","oncuechange","oncurrententrychange","oncurrentscreenchange","oncut","ondataavailable","ondatachannel","ondatasetchanged","ondatasetcomplete","ondblclick","ondeactivate","ondequeue","ondevicechange","ondevicelight","ondevicemotion","ondeviceorientation","ondeviceorientationabsolute","ondeviceproximity","ondischargingtimechange","ondisconnect","ondisplay","ondispose","ondownloading","ondrag","ondragend","ondragenter","ondragexit","ondragleave","ondragover","ondragstart","ondrop","ondurationchange","onemptied","onencrypted","onend","onended","onenter","onenterpictureinpicture","onerror","onerrorupdate","onexit","onfencedtreeclick","onfilterchange","onfinish","onfocus","onfocusin","onfocusout","onformdata","onfreeze","onfullscreenchange","onfullscreenerror","ongamepadconnected","ongamepaddisconnected","ongatheringstatechange","ongattserverdisconnected","ongeometrychange","ongesturechange","ongestureend","ongesturestart","ongotpointercapture","onhashchange","onhelp","onicecandidate","onicecandidateerror","oniceconnectionstatechange","onicegatheringstatechange","oninactive","oninput","oninputreport","oninputsourceschange","oninvalid","onkeydown","onkeypress","onkeystatuseschange","onkeyup","onlanguagechange","onlayoutcomplete","onleavepictureinpicture","onlevelchange","onload","onloadeddata","onloadedmetadata","onloadend","onloading","onloadingdone","onloadingerror","onloadstart","onlosecapture","onlostpointercapture","only","onmanagedconfigurationchange","onmark","onmessage","onmessageerror","onmidimessage","onmousedown","onmouseenter","onmouseleave","onmousemove","onmouseout","onmouseover","onmouseup","onmousewheel","onmove","onmoveend","onmovestart","onmozfullscreenchange","onmozfullscreenerror","onmozorientationchange","onmozpointerlockchange","onmozpointerlockerror","onmscontentzoom","onmsfullscreenchange","onmsfullscreenerror","onmsgesturechange","onmsgesturedoubletap","onmsgestureend","onmsgesturehold","onmsgesturestart","onmsgesturetap","onmsgotpointercapture","onmsinertiastart","onmslostpointercapture","onmsmanipulationstatechanged","onmsneedkey","onmsorientationchange","onmspointercancel","onmspointerdown","onmspointerenter","onmspointerhover","onmspointerleave","onmspointermove","onmspointerout","onmspointerover","onmspointerup","onmssitemodejumplistitemremoved","onmsthumbnailclick","onmute","onnavigate","onnavigateerror","onnavigatesuccess","onnegotiationneeded","onnomatch","onnoupdate","onobsolete","onoffline","ononline","onopen","onorientationchange","onpagechange","onpagehide","onpagereveal","onpageshow","onpageswap","onpaste","onpause","onpayerdetailchange","onpaymentmethodchange","onplay","onplaying","onpluginstreamstart","onpointercancel","onpointerdown","onpointerenter","onpointerleave","onpointerlockchange","onpointerlockerror","onpointermove","onpointerout","onpointerover","onpointerrawupdate","onpointerup","onpopstate","onprerenderingchange","onprioritychange","onprocessorerror","onprogress","onpropertychange","onratechange","onreading","onreadystatechange","onreflectionchange","onrejectionhandled","onrelease","onremove","onremovesourcebuffer","onremovestream","onremovetrack","onrepeat","onreset","onresize","onresizeend","onresizestart","onresourcetimingbufferfull","onresult","onresume","onrowenter","onrowexit","onrowsdelete","onrowsinserted","onscreenschange","onscroll","onscrollend","onsearch","onsecuritypolicyviolation","onseeked","onseeking","onselect","onselectedcandidatepairchange","onselectend","onselectionchange","onselectstart","onshippingaddresschange","onshippingoptionchange","onshow","onsignalingstatechange","onsinkchange","onslotchange","onsoundend","onsoundstart","onsourceclose","onsourceclosed","onsourceended","onsourceopen","onspeechend","onspeechstart","onsqueeze","onsqueezeend","onsqueezestart","onstalled","onstart","onstatechange","onstop","onstorage","onstoragecommit","onsubmit","onsuccess","onsuspend","onterminate","ontextformatupdate","ontextinput","ontextupdate","ontimeout","ontimeupdate","ontoggle","ontonechange","ontouchcancel","ontouchend","ontouchmove","ontouchstart","ontrack","ontransitioncancel","ontransitionend","ontransitionrun","ontransitionstart","onuncapturederror","onunhandledrejection","onunload","onunmute","onupdate","onupdateend","onupdatefound","onupdateready","onupdatestart","onupgradeneeded","onuserproximity","onversionchange","onvisibilitychange","onvoiceschanged","onvolumechange","onvrdisplayactivate","onvrdisplayconnect","onvrdisplaydeactivate","onvrdisplaydisconnect","onvrdisplaypresentchange","onwaiting","onwaitingforkey","onwarning","onwebkitanimationend","onwebkitanimationiteration","onwebkitanimationstart","onwebkitcurrentplaybacktargetiswirelesschanged","onwebkitfullscreenchange","onwebkitfullscreenerror","onwebkitkeyadded","onwebkitkeyerror","onwebkitkeymessage","onwebkitneedkey","onwebkitorientationchange","onwebkitplaybacktargetavailabilitychanged","onwebkitpointerlockchange","onwebkitpointerlockerror","onwebkitresourcetimingbufferfull","onwebkittransitionend","onwheel","onzoom","opacity","open","openCursor","openDatabase","openKeyCursor","opened","opener","opera","operation","operationType","operator","opr","optimum","options","or","order","orderX","orderY","ordered","org","organization","orient","orientAngle","orientType","orientation","orientationX","orientationY","orientationZ","origin","originAgentCluster","originalPolicy","originalTarget","orphans","oscpu","outerHTML","outerHeight","outerText","outerWidth","outgoingHighWaterMark","outgoingMaxAge","outline","outline-color","outline-offset","outline-style","outline-width","outlineColor","outlineOffset","outlineStyle","outlineWidth","outputBuffer","outputChannelCount","outputLatency","outputs","overflow","overflow-anchor","overflow-block","overflow-clip-margin","overflow-inline","overflow-wrap","overflow-x","overflow-y","overflowAnchor","overflowBlock","overflowClipMargin","overflowInline","overflowWrap","overflowX","overflowY","overlaysContent","overrideColors","overrideMimeType","oversample","overscroll-behavior","overscroll-behavior-block","overscroll-behavior-inline","overscroll-behavior-x","overscroll-behavior-y","overscrollBehavior","overscrollBehaviorBlock","overscrollBehaviorInline","overscrollBehaviorX","overscrollBehaviorY","ownKeys","ownerDocument","ownerElement","ownerNode","ownerRule","ownerSVGElement","owningElement","p1","p2","p3","p4","packetSize","packets","pad","padEnd","padStart","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","paddingBlock","paddingBlockEnd","paddingBlockStart","paddingBottom","paddingInline","paddingInlineEnd","paddingInlineStart","paddingLeft","paddingRight","paddingTop","page","page-break-after","page-break-before","page-break-inside","pageBreakAfter","pageBreakBefore","pageBreakInside","pageCount","pageLeft","pageTop","pageX","pageXOffset","pageY","pageYOffset","pages","paint-order","paintOrder","paintRequests","paintType","paintWorklet","palette","pan","panningModel","parameterData","parameters","parent","parentElement","parentNode","parentRule","parentStyleSheet","parentTextEdit","parentWindow","parse","parseAll","parseCreationOptionsFromJSON","parseFloat","parseFromString","parseHTMLUnsafe","parseInt","parseRequestOptionsFromJSON","part","participants","passOp","passive","password","pasteHTML","path","pathLength","pathSegList","pathSegType","pathSegTypeAsLetter","pathname","pattern","patternContentUnits","patternMismatch","patternTransform","patternUnits","pause","pauseAnimations","pauseDuration","pauseOnExit","pauseProfilers","pauseTransformFeedback","paused","payerEmail","payerName","payerPhone","paymentManager","pc","pdfViewerEnabled","peerIdentity","pending","pendingLocalDescription","pendingRemoteDescription","percent","performance","periodicSync","permission","permissionState","permissions","persist","persisted","personalbar","perspective","perspective-origin","perspectiveOrigin","phone","phoneticFamilyName","phoneticGivenName","photo","pictureInPictureElement","pictureInPictureEnabled","pictureInPictureWindow","ping","pipeThrough","pipeTo","pitch","pixelBottom","pixelDepth","pixelHeight","pixelLeft","pixelRight","pixelStorei","pixelTop","pixelUnitToMillimeterX","pixelUnitToMillimeterY","pixelWidth","place-content","place-items","place-self","placeContent","placeItems","placeSelf","placeholder","platform","platformVersion","platforms","play","playEffect","playState","playbackRate","playbackState","playbackTime","played","playoutDelayHint","playsInline","plugins","pluginspage","pname","pointer-events","pointerBeforeReferenceNode","pointerEnabled","pointerEvents","pointerId","pointerLockElement","pointerType","points","pointsAtX","pointsAtY","pointsAtZ","polygonOffset","pop","popDebugGroup","popErrorScope","popover","popoverTargetAction","popoverTargetElement","populateMatrix","popupWindowFeatures","popupWindowName","popupWindowURI","port","port1","port2","ports","posBottom","posHeight","posLeft","posRight","posTop","posWidth","pose","position","positionAlign","positionX","positionY","positionZ","postError","postMessage","postTask","postalCode","poster","postscriptName","pow","powerEfficient","powerOff","powerPreference","preMultiplySelf","precision","preferredReflectionFormat","preferredStyleSheetSet","preferredStylesheetSet","prefix","preload","premultipliedAlpha","prepend","prerendering","presentation","presentationArea","preserveAlpha","preserveAspectRatio","preserveAspectRatioString","preservesPitch","pressed","pressure","prevValue","preventDefault","preventExtensions","preventSilentAccess","previousElementSibling","previousNode","previousPage","previousPriority","previousRect","previousScale","previousSibling","previousTranslate","primaries","primaryKey","primaryLightDirection","primaryLightIntensity","primitive","primitiveType","primitiveUnits","principals","print","print-color-adjust","printColorAdjust","priority","privateKey","privateToken","probablySupportsContext","probeSpace","process","processIceMessage","processingEnd","processingStart","processorOptions","product","productId","productName","productSub","profile","profileEnd","profiles","projectionMatrix","promise","prompt","properties","propertyIsEnumerable","propertyName","protocol","protocolLong","prototype","provider","pseudoClass","pseudoElement","pt","publicId","publicKey","published","pulse","push","pushDebugGroup","pushErrorScope","pushManager","pushNotification","pushState","put","putImageData","px","quadraticCurveTo","qualifier","quaternion","query","queryCommandEnabled","queryCommandIndeterm","queryCommandState","queryCommandSupported","queryCommandText","queryCommandValue","queryLocalFonts","queryPermission","querySelector","querySelectorAll","querySet","queue","queueMicrotask","quote","quotes","r","r1","r2","race","rad","radiogroup","radiusX","radiusY","random","randomUUID","range","rangeCount","rangeEnd","rangeMax","rangeMin","rangeOffset","rangeOverflow","rangeParent","rangeStart","rangeUnderflow","rate","ratio","raw","rawId","rawJSON","rawValueToMeters","rcap","rch","read","readAsArrayBuffer","readAsBinaryString","readAsBlob","readAsDataURL","readAsText","readBuffer","readEntries","readOnly","readPixels","readReportRequested","readText","readValue","readable","ready","readyState","reason","reasons","reboot","receiveFeatureReport","receivedAlert","receiver","receivers","recipient","recommendedViewportScale","reconnect","recordNumber","recordsAvailable","recordset","rect","red","redEyeReduction","redirect","redirectCount","redirectEnd","redirectStart","redirected","reduce","reduceRight","reduction","refDistance","refX","refY","referenceNode","referenceSpace","referrer","referrerPolicy","refresh","region","regionAnchorX","regionAnchorY","regionId","regions","register","registerContentHandler","registerElement","registerInternalModuleStart","registerInternalModuleStop","registerProperty","registerProtocolHandler","reject","rel","relList","relatedAddress","relatedNode","relatedPort","relatedTarget","relayProtocol","release","releaseCapture","releaseEvents","releaseInterface","releaseLock","releasePointerCapture","releaseShaderCompiler","released","reliability","reliable","reliableWrite","reload","rem","remainingSpace","remote","remoteDescription","remove","removeAllRanges","removeAttribute","removeAttributeNS","removeAttributeNode","removeBehavior","removeChild","removeCue","removeEntry","removeEventListener","removeFilter","removeImport","removeItem","removeListener","removeNamedItem","removeNamedItemNS","removeNode","removeParameter","removeProperty","removeRange","removeRegion","removeRule","removeSiteSpecificTrackingException","removeSourceBuffer","removeStream","removeTrack","removeVariable","removeWakeLockListener","removeWebWideTrackingException","removed","removedNodes","renderBlockingStatus","renderHeight","renderStart","renderState","renderTime","renderWidth","renderbufferStorage","renderbufferStorageMultisample","renderedBuffer","rendererInterfaces","renderers","renderingMode","renotify","repeat","repetitionCount","replace","replaceAdjacentText","replaceAll","replaceChild","replaceChildren","replaceData","replaceId","replaceItem","replaceNode","replaceState","replaceSync","replaceTrack","replaceWholeText","replaceWith","reportError","reportEvent","reportId","reportValidity","request","requestAdapter","requestAdapterInfo","requestAnimationFrame","requestAutocomplete","requestData","requestDevice","requestFrame","requestFullscreen","requestHitTestSource","requestHitTestSourceForTransientInput","requestId","requestIdleCallback","requestLightProbe","requestMIDIAccess","requestMediaKeySystemAccess","requestPermission","requestPictureInPicture","requestPointerLock","requestPort","requestPresent","requestPresenter","requestReferenceSpace","requestSession","requestStart","requestStorageAccess","requestStorageAccessFor","requestSubmit","requestVideoFrameCallback","requestViewportScale","requestWindow","requestingWindow","requireInteraction","required","requiredExtensions","requiredFeatures","requiredLimits","reset","resetPose","resetTransform","resizable","resize","resizeBy","resizeTo","resolve","resolveQuerySet","resolveTarget","resource","respond","respondWithNewView","response","responseBody","responseEnd","responseReady","responseStart","responseStatus","responseText","responseType","responseURL","responseXML","restartIce","restore","result","resultIndex","resultType","results","resume","resumeProfilers","resumeTransformFeedback","retry","returnValue","rev","reverse","reversed","revocable","revokeObjectURL","rex","rgbColor","ric","right","rightContext","rightDegrees","rightMargin","rightProjectionMatrix","rightViewMatrix","rlh","role","rolloffFactor","root","rootBounds","rootElement","rootMargin","rotate","rotateAxisAngle","rotateAxisAngleSelf","rotateFromVector","rotateFromVectorSelf","rotateSelf","rotation","rotationAngle","rotationRate","round","roundRect","row-gap","rowGap","rowIndex","rowSpan","rows","rowsPerImage","rtcpTransport","rtt","ruby-align","ruby-position","rubyAlign","rubyOverhang","rubyPosition","rules","run","runAdAuction","runtime","runtimeStyle","rx","ry","s","safari","sameDocument","sample","sampleCount","sampleCoverage","sampleInterval","sampleRate","sampleType","sampler","samplerParameterf","samplerParameteri","sandbox","save","saveData","scale","scale3d","scale3dSelf","scaleNonUniform","scaleNonUniformSelf","scaleSelf","scheduler","scheduling","scheme","scissor","scope","scopeName","scoped","screen","screenBrightness","screenEnabled","screenLeft","screenPixelToMillimeterX","screenPixelToMillimeterY","screenState","screenTop","screenX","screenY","screens","scriptURL","scripts","scroll","scroll-behavior","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollAmount","scrollBehavior","scrollBy","scrollByLines","scrollByPages","scrollDelay","scrollHeight","scrollIntoView","scrollIntoViewIfNeeded","scrollLeft","scrollLeftMax","scrollMargin","scrollMarginBlock","scrollMarginBlockEnd","scrollMarginBlockStart","scrollMarginBottom","scrollMarginInline","scrollMarginInlineEnd","scrollMarginInlineStart","scrollMarginLeft","scrollMarginRight","scrollMarginTop","scrollMaxX","scrollMaxY","scrollPadding","scrollPaddingBlock","scrollPaddingBlockEnd","scrollPaddingBlockStart","scrollPaddingBottom","scrollPaddingInline","scrollPaddingInlineEnd","scrollPaddingInlineStart","scrollPaddingLeft","scrollPaddingRight","scrollPaddingTop","scrollRestoration","scrollSnapAlign","scrollSnapStop","scrollSnapType","scrollTo","scrollTop","scrollTopMax","scrollWidth","scrollX","scrollY","scrollbar-color","scrollbar-gutter","scrollbar-width","scrollbar3dLightColor","scrollbarArrowColor","scrollbarBaseColor","scrollbarColor","scrollbarDarkShadowColor","scrollbarFaceColor","scrollbarGutter","scrollbarHighlightColor","scrollbarShadowColor","scrollbarTrackColor","scrollbarWidth","scrollbars","scrolling","scrollingElement","sctp","sctpCauseCode","sdp","sdpLineNumber","sdpMLineIndex","sdpMid","seal","search","searchBox","searchBoxJavaBridge_","searchParams","sectionRowIndex","secureConnectionStart","security","seed","seek","seekToNextFrame","seekable","seeking","select","selectAllChildren","selectAlternateInterface","selectAudioOutput","selectConfiguration","selectNode","selectNodeContents","selectNodes","selectSingleNode","selectSubString","selectURL","selected","selectedIndex","selectedOptions","selectedStyleSheetSet","selectedStylesheetSet","selectedTrack","selection","selectionDirection","selectionEnd","selectionStart","selector","selectorText","self","send","sendAsBinary","sendBeacon","sendFeatureReport","sendOrder","sendReport","sender","sentAlert","sentTimestamp","separator","serial","serialNumber","serializeToString","serverTiming","service","serviceWorker","session","sessionId","sessionStorage","set","setActionHandler","setActive","setAlpha","setAppBadge","setAttribute","setAttributeNS","setAttributeNode","setAttributeNodeNS","setAttributionReporting","setBaseAndExtent","setBigInt64","setBigUint64","setBindGroup","setBingCurrentSearchDefault","setBlendConstant","setCameraActive","setCapture","setCaptureHandleConfig","setCodecPreferences","setColor","setCompositeOperation","setConfiguration","setConsumer","setCurrentTime","setCustomValidity","setData","setDate","setDragImage","setEnd","setEndAfter","setEndBefore","setEndPoint","setExpires","setFillColor","setFilterRes","setFloat32","setFloat64","setFloatValue","setFocusBehavior","setFormValue","setFullYear","setHTMLUnsafe","setHeaderExtensionsToNegotiate","setHeaderValue","setHours","setIdentityProvider","setImmediate","setIndexBuffer","setInt16","setInt32","setInt8","setInterval","setItem","setKeyframes","setLineCap","setLineDash","setLineJoin","setLineWidth","setLiveSeekableRange","setLocalDescription","setMatrix","setMatrixValue","setMediaKeys","setMicrophoneActive","setMilliseconds","setMinutes","setMiterLimit","setMonth","setNamedItem","setNamedItemNS","setNonUserCodeExceptions","setOrientToAngle","setOrientToAuto","setOrientation","setOverrideHistoryNavigationMode","setPaint","setParameter","setParameters","setPeriodicWave","setPipeline","setPointerCapture","setPosition","setPositionState","setPreference","setPriority","setPrivateToken","setProperty","setPrototypeOf","setRGBColor","setRGBColorICCColor","setRadius","setRangeText","setRemoteDescription","setReportEventDataForAutomaticBeacons","setRequestHeader","setResizable","setResourceTimingBufferSize","setRotate","setScale","setScissorRect","setSeconds","setSelectionRange","setServerCertificate","setShadow","setSharedStorageContext","setSignals","setSinkId","setSkewX","setSkewY","setStart","setStartAfter","setStartBefore","setStatus","setStdDeviation","setStencilReference","setStreams","setStrictMode","setStringValue","setStrokeColor","setSuggestResult","setTargetAtTime","setTargetValueAtTime","setTime","setTimeout","setTransform","setTranslate","setUTCDate","setUTCFullYear","setUTCHours","setUTCMilliseconds","setUTCMinutes","setUTCMonth","setUTCSeconds","setUint16","setUint32","setUint8","setUri","setValidity","setValueAtTime","setValueCurveAtTime","setVariable","setVelocity","setVersion","setVertexBuffer","setViewport","setYear","settingName","settingValue","sex","shaderLocation","shaderSource","shadowBlur","shadowColor","shadowOffsetX","shadowOffsetY","shadowRoot","shadowRootClonable","shadowRootDelegatesFocus","shadowRootMode","shape","shape-image-threshold","shape-margin","shape-outside","shape-rendering","shapeImageThreshold","shapeMargin","shapeOutside","shapeRendering","share","sharedStorage","sharedStorageWritable","sheet","shift","shiftKey","shiftLeft","shippingAddress","shippingOption","shippingType","show","showDirectoryPicker","showHelp","showModal","showModalDialog","showModelessDialog","showNotification","showOpenFilePicker","showPicker","showPopover","showSaveFilePicker","sidebar","sign","signal","signalingState","signature","silent","sin","singleNodeValue","sinh","sinkId","sittingToStandingTransform","size","sizeAdjust","sizeToContent","sizeX","sizeZ","sizes","skewX","skewXSelf","skewY","skewYSelf","skipTransition","skipped","slice","slope","slot","slotAssignment","small","smil","smooth","smoothingTimeConstant","snapToLines","snapshotItem","snapshotLength","some","sort","sortingCode","source","sourceBuffer","sourceBuffers","sourceCapabilities","sourceCharPosition","sourceFile","sourceFunctionName","sourceIndex","sourceMap","sourceURL","sources","spacing","span","speak","speakAs","speaking","species","specified","specularConstant","specularExponent","speechSynthesis","speed","speedOfSound","spellcheck","sphericalHarmonicsCoefficients","splice","split","splitText","spreadMethod","sqrt","src","srcElement","srcFactor","srcFilter","srcObject","srcUrn","srcdoc","srclang","srcset","stack","stackTraceLimit","stacktrace","stageParameters","standalone","standby","start","startContainer","startIce","startMessages","startNotifications","startOffset","startProfiling","startRendering","startShark","startTime","startViewTransition","startsWith","state","states","stats","status","statusCode","statusMessage","statusText","statusbar","stdDeviationX","stdDeviationY","stencilBack","stencilClearValue","stencilFront","stencilFunc","stencilFuncSeparate","stencilLoadOp","stencilMask","stencilMaskSeparate","stencilOp","stencilOpSeparate","stencilReadMask","stencilReadOnly","stencilStoreOp","stencilWriteMask","step","stepDown","stepMismatch","stepMode","stepUp","sticky","stitchTiles","stop","stop-color","stop-opacity","stopColor","stopImmediatePropagation","stopNotifications","stopOpacity","stopProfiling","stopPropagation","stopShark","stopped","storage","storageArea","storageBuckets","storageName","storageStatus","storageTexture","store","storeOp","storeSiteSpecificTrackingException","storeWebWideTrackingException","stpVersion","stream","streamErrorCode","streams","stretch","strike","string","stringValue","stringify","stripIndexFormat","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","strokeDasharray","strokeDashoffset","strokeLinecap","strokeLinejoin","strokeMiterlimit","strokeOpacity","strokeRect","strokeStyle","strokeText","strokeWidth","structuredClone","style","styleAndLayoutStart","styleFloat","styleMap","styleMedia","styleSheet","styleSheetSets","styleSheets","sub","subarray","subject","submit","submitFrame","submitter","subscribe","substr","substring","substringData","subtle","subtree","suffix","suffixes","summary","sup","supported","supportedContentEncodings","supportedEntryTypes","supportedValuesOf","supports","supportsFiber","supportsSession","supportsText","surfaceScale","surroundContents","suspend","suspendRedraw","svb","svh","svi","svmax","svmin","svw","swapCache","swapNode","sweepFlag","symbols","symmetricDifference","sync","syntax","sysexEnabled","system","systemCode","systemId","systemLanguage","systemXDPI","systemYDPI","tBodies","tFoot","tHead","tab-size","tabIndex","tabSize","table","table-layout","tableLayout","tableValues","tag","tagName","tagUrn","tags","taintEnabled","take","takePhoto","takeRecords","tan","tangentialPressure","tanh","target","targetAddressSpace","targetElement","targetRayMode","targetRaySpace","targetTouches","targetURL","targetX","targetY","targets","tcpType","tee","tel","terminate","test","texImage2D","texImage3D","texParameterf","texParameteri","texStorage2D","texStorage3D","texSubImage2D","texSubImage3D","text","text-align","text-align-last","text-anchor","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip-ink","text-decoration-style","text-decoration-thickness","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-offset","text-underline-position","text-wrap","text-wrap-mode","text-wrap-style","textAlign","textAlignLast","textAnchor","textAutospace","textBaseline","textCombineUpright","textContent","textDecoration","textDecorationBlink","textDecorationColor","textDecorationLine","textDecorationLineThrough","textDecorationNone","textDecorationOverline","textDecorationSkipInk","textDecorationStyle","textDecorationThickness","textDecorationUnderline","textEmphasis","textEmphasisColor","textEmphasisPosition","textEmphasisStyle","textIndent","textJustify","textJustifyTrim","textKashida","textKashidaSpace","textLength","textOrientation","textOverflow","textRendering","textShadow","textTracks","textTransform","textUnderlineOffset","textUnderlinePosition","textWrap","textWrapMode","textWrapStyle","texture","then","threadId","threshold","thresholds","throwIfAborted","tiltX","tiltY","time","timeEnd","timeLog","timeOrigin","timeRemaining","timeStamp","timecode","timeline","timelineTime","timeout","timestamp","timestampOffset","timestampWrites","timing","title","titlebarAreaRect","to","toArray","toBlob","toDataURL","toDateString","toElement","toExponential","toFixed","toFloat32Array","toFloat64Array","toGMTString","toISOString","toJSON","toLocaleDateString","toLocaleFormat","toLocaleLowerCase","toLocaleString","toLocaleTimeString","toLocaleUpperCase","toLowerCase","toMatrix","toMethod","toPrecision","toPrimitive","toReversed","toSdp","toSorted","toSource","toSpliced","toStaticHTML","toString","toStringTag","toSum","toTimeString","toUTCString","toUpperCase","toWellFormed","toggle","toggleAttribute","toggleLongPressEnabled","togglePopover","token","tone","toneBuffer","tooLong","tooShort","toolbar","top","topMargin","topology","total","totalFrameDelay","totalFrames","totalVideoFrames","touch-action","touchAction","touched","touches","trace","track","trackVisibility","trackedAnchors","tracks","transaction","transactions","transceiver","transfer","transferControlToOffscreen","transferFromImageBitmap","transferImageBitmap","transferIn","transferOut","transferSize","transferToFixedLength","transferToImageBitmap","transform","transform-box","transform-origin","transform-style","transformBox","transformFeedbackVaryings","transformOrigin","transformPoint","transformString","transformStyle","transformToDocument","transformToFragment","transition","transition-delay","transition-duration","transition-property","transition-timing-function","transitionDelay","transitionDuration","transitionProperty","transitionTimingFunction","translate","translateSelf","translationX","translationY","transport","traverseTo","trim","trimEnd","trimLeft","trimRight","trimStart","trueSpeed","trunc","truncate","trustedTypes","turn","twist","type","typeDetail","typeMismatch","typeMustMatch","types","u2f","ubound","uint16","uint32","uint8","uint8Clamped","unclippedDepth","unconfigure","undefined","underlineStyle","underlineThickness","unescape","uneval","unicode","unicode-bidi","unicodeBidi","unicodeRange","unicodeSets","uniform1f","uniform1fv","uniform1i","uniform1iv","uniform1ui","uniform1uiv","uniform2f","uniform2fv","uniform2i","uniform2iv","uniform2ui","uniform2uiv","uniform3f","uniform3fv","uniform3i","uniform3iv","uniform3ui","uniform3uiv","uniform4f","uniform4fv","uniform4i","uniform4iv","uniform4ui","uniform4uiv","uniformBlockBinding","uniformMatrix2fv","uniformMatrix2x3fv","uniformMatrix2x4fv","uniformMatrix3fv","uniformMatrix3x2fv","uniformMatrix3x4fv","uniformMatrix4fv","uniformMatrix4x2fv","uniformMatrix4x3fv","union","unique","uniqueID","uniqueNumber","unit","unitType","units","unloadEventEnd","unloadEventStart","unlock","unmap","unmount","unobserve","unpackColorSpace","unpause","unpauseAnimations","unreadCount","unregister","unregisterContentHandler","unregisterProtocolHandler","unscopables","unselectable","unshift","unsubscribe","unsuspendRedraw","unsuspendRedrawAll","unwatch","unwrapKey","upDegrees","upX","upY","upZ","update","updateAdInterestGroups","updateCallbackDone","updateCharacterBounds","updateCommands","updateControlBounds","updateCurrentEntry","updateIce","updateInkTrailStartPoint","updateInterval","updatePlaybackRate","updateRangeEnd","updateRangeStart","updateRenderState","updateSelection","updateSelectionBounds","updateSettings","updateText","updateTiming","updateViaCache","updateWith","updated","updating","upgrade","upload","uploadTotal","uploaded","upper","upperBound","upperOpen","uri","url","urn","urns","usage","usages","usb","usbVersionMajor","usbVersionMinor","usbVersionSubminor","useCurrentView","useMap","useProgram","usedSpace","user-select","userActivation","userAgent","userAgentData","userChoice","userHandle","userHint","userInitiated","userLanguage","userSelect","userState","userVisibleOnly","username","usernameFragment","utterance","uuid","v8BreakIterator","vAlign","vLink","valid","validate","validateProgram","validationMessage","validity","value","valueAsDate","valueAsNumber","valueAsString","valueInSpecifiedUnits","valueMissing","valueOf","valueText","valueType","values","variable","variant","variationSettings","vb","vector-effect","vectorEffect","velocityAngular","velocityExpansion","velocityX","velocityY","vendor","vendorId","vendorSub","verify","version","vertex","vertexAttrib1f","vertexAttrib1fv","vertexAttrib2f","vertexAttrib2fv","vertexAttrib3f","vertexAttrib3fv","vertexAttrib4f","vertexAttrib4fv","vertexAttribDivisor","vertexAttribDivisorANGLE","vertexAttribI4i","vertexAttribI4iv","vertexAttribI4ui","vertexAttribI4uiv","vertexAttribIPointer","vertexAttribPointer","vertical","vertical-align","verticalAlign","verticalOverflow","vh","vi","vibrate","vibrationActuator","videoBitsPerSecond","videoHeight","videoTracks","videoWidth","view","viewBox","viewBoxString","viewDimension","viewFormats","viewTarget","viewTargetString","viewport","viewportAnchorX","viewportAnchorY","viewportElement","views","violatedDirective","virtualKeyboard","virtualKeyboardPolicy","visibility","visibilityState","visible","visibleRect","visualViewport","vlinkColor","vmax","vmin","voice","voiceURI","volume","vrml","vspace","vw","w","wait","waitAsync","waitSync","waiting","wake","wakeLock","wand","warn","wasClean","wasDiscarded","watch","watchAvailability","watchPosition","webdriver","webkitAddKey","webkitAlignContent","webkitAlignItems","webkitAlignSelf","webkitAnimation","webkitAnimationDelay","webkitAnimationDirection","webkitAnimationDuration","webkitAnimationFillMode","webkitAnimationIterationCount","webkitAnimationName","webkitAnimationPlayState","webkitAnimationTimingFunction","webkitAppearance","webkitAudioContext","webkitAudioDecodedByteCount","webkitAudioPannerNode","webkitBackfaceVisibility","webkitBackground","webkitBackgroundAttachment","webkitBackgroundClip","webkitBackgroundColor","webkitBackgroundImage","webkitBackgroundOrigin","webkitBackgroundPosition","webkitBackgroundPositionX","webkitBackgroundPositionY","webkitBackgroundRepeat","webkitBackgroundSize","webkitBackingStorePixelRatio","webkitBorderBottomLeftRadius","webkitBorderBottomRightRadius","webkitBorderImage","webkitBorderImageOutset","webkitBorderImageRepeat","webkitBorderImageSlice","webkitBorderImageSource","webkitBorderImageWidth","webkitBorderRadius","webkitBorderTopLeftRadius","webkitBorderTopRightRadius","webkitBoxAlign","webkitBoxDirection","webkitBoxFlex","webkitBoxOrdinalGroup","webkitBoxOrient","webkitBoxPack","webkitBoxShadow","webkitBoxSizing","webkitCancelAnimationFrame","webkitCancelFullScreen","webkitCancelKeyRequest","webkitCancelRequestAnimationFrame","webkitClearResourceTimings","webkitClipPath","webkitClosedCaptionsVisible","webkitConvertPointFromNodeToPage","webkitConvertPointFromPageToNode","webkitCreateShadowRoot","webkitCurrentFullScreenElement","webkitCurrentPlaybackTargetIsWireless","webkitDecodedFrameCount","webkitDirectionInvertedFromDevice","webkitDisplayingFullscreen","webkitDroppedFrameCount","webkitEnterFullScreen","webkitEnterFullscreen","webkitEntries","webkitExitFullScreen","webkitExitFullscreen","webkitExitPointerLock","webkitFilter","webkitFlex","webkitFlexBasis","webkitFlexDirection","webkitFlexFlow","webkitFlexGrow","webkitFlexShrink","webkitFlexWrap","webkitFullScreenKeyboardInputAllowed","webkitFullscreenElement","webkitFullscreenEnabled","webkitGenerateKeyRequest","webkitGetAsEntry","webkitGetDatabaseNames","webkitGetEntries","webkitGetEntriesByName","webkitGetEntriesByType","webkitGetFlowByName","webkitGetGamepads","webkitGetImageDataHD","webkitGetNamedFlows","webkitGetRegionFlowRanges","webkitGetUserMedia","webkitHasClosedCaptions","webkitHidden","webkitIDBCursor","webkitIDBDatabase","webkitIDBDatabaseError","webkitIDBDatabaseException","webkitIDBFactory","webkitIDBIndex","webkitIDBKeyRange","webkitIDBObjectStore","webkitIDBRequest","webkitIDBTransaction","webkitImageSmoothingEnabled","webkitIndexedDB","webkitInitMessageEvent","webkitIsFullScreen","webkitJustifyContent","webkitKeys","webkitLineClamp","webkitLineDashOffset","webkitLockOrientation","webkitMask","webkitMaskClip","webkitMaskComposite","webkitMaskImage","webkitMaskOrigin","webkitMaskPosition","webkitMaskPositionX","webkitMaskPositionY","webkitMaskRepeat","webkitMaskSize","webkitMatchesSelector","webkitMediaStream","webkitNotifications","webkitOfflineAudioContext","webkitOrder","webkitOrientation","webkitPeerConnection00","webkitPersistentStorage","webkitPerspective","webkitPerspectiveOrigin","webkitPointerLockElement","webkitPostMessage","webkitPreservesPitch","webkitPutImageDataHD","webkitRTCPeerConnection","webkitRegionOverset","webkitRelativePath","webkitRequestAnimationFrame","webkitRequestFileSystem","webkitRequestFullScreen","webkitRequestFullscreen","webkitRequestPointerLock","webkitResolveLocalFileSystemURL","webkitSetMediaKeys","webkitSetResourceTimingBufferSize","webkitShadowRoot","webkitShowPlaybackTargetPicker","webkitSlice","webkitSpeechGrammar","webkitSpeechGrammarList","webkitSpeechRecognition","webkitSpeechRecognitionError","webkitSpeechRecognitionEvent","webkitStorageInfo","webkitSupportsFullscreen","webkitTemporaryStorage","webkitTextFillColor","webkitTextSecurity","webkitTextSizeAdjust","webkitTextStroke","webkitTextStrokeColor","webkitTextStrokeWidth","webkitTransform","webkitTransformOrigin","webkitTransformStyle","webkitTransition","webkitTransitionDelay","webkitTransitionDuration","webkitTransitionProperty","webkitTransitionTimingFunction","webkitURL","webkitUnlockOrientation","webkitUserSelect","webkitVideoDecodedByteCount","webkitVisibilityState","webkitWirelessVideoPlaybackDisabled","webkitdirectory","webkitdropzone","webstore","weight","wgslLanguageFeatures","whatToShow","wheelDelta","wheelDeltaX","wheelDeltaY","whenDefined","which","white-space","white-space-collapse","whiteSpace","whiteSpaceCollapse","wholeText","widows","width","will-change","willChange","willValidate","window","windowAttribution","windowControlsOverlay","with","withCredentials","withResolvers","word-break","word-spacing","word-wrap","wordBreak","wordSpacing","wordWrap","workerStart","worklet","wow64","wrap","wrapKey","writable","writableAuxiliaries","write","writeBuffer","writeMask","writeText","writeTexture","writeTimestamp","writeValue","writeValueWithResponse","writeValueWithoutResponse","writeWithoutResponse","writeln","writing-mode","writingMode","writingSuggestions","x","x1","x2","xChannelSelector","xmlEncoding","xmlStandalone","xmlVersion","xmlbase","xmllang","xmlspace","xor","xr","y","y1","y2","yChannelSelector","yandex","z","z-index","zIndex","zoom","zoomAndPan","zoomRectScreen"];function l0(t){c0.forEach(s);var e=["Symbol","Map","Promise","Proxy","Reflect","Set","WeakMap","WeakSet"],n={},r=typeof global=="object"?global:self;e.forEach(function(l){n[l]=r[l]||function(){}}),["null","true","false","NaN","Infinity","-Infinity","undefined"].forEach(s),[Object,Array,Function,Number,String,Boolean,Error,Math,Date,RegExp,n.Symbol,ArrayBuffer,DataView,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,eval,EvalError,Float32Array,Float64Array,Int8Array,Int16Array,Int32Array,isFinite,isNaN,JSON,n.Map,parseFloat,parseInt,n.Promise,n.Proxy,RangeError,ReferenceError,n.Reflect,n.Set,SyntaxError,TypeError,Uint8Array,Uint8ClampedArray,Uint16Array,Uint32Array,URIError,n.WeakMap,n.WeakSet].forEach(function(l){Object.getOwnPropertyNames(l).map(s),l.prototype&&Object.getOwnPropertyNames(l.prototype).map(s)});function s(l){t.add(l)}}function f0(t,e){function n(r){go(e,r)}t.walk(new Fn(function(r){r instanceof Jt&&r.quote?n(r.key):r instanceof cn&&r.quote?n(r.key.name):r instanceof An&&Io(r.property,n)}))}function Io(t,e){t.walk(new Fn(function(n){return n instanceof lt?Io(n.tail_node(),e):n instanceof dt?e(n.value):n instanceof tt&&(Io(n.consequent,e),Io(n.alternative,e)),!0}))}function h0(t,e){var n=-1,r=new Map,s=e.nth_identifier||gs;return t=t.transform(new dr(function(h){h instanceof Ei||h instanceof vi||h instanceof ni||h instanceof bi||h instanceof ii?h.key.name=l(h.key.name):h instanceof Hr&&(h.property=l(h.property))})),t;function l(h){let m=r.get(h);return m||(m=s.get(++n),r.set(h,m)),m}}function wd(t){var e=new Set;return Pn(t,n=>{n instanceof Ei||n instanceof vi||n instanceof ni||n instanceof bi||n instanceof Hr||(n instanceof Jt?typeof n.key=="string"&&sr(n,ys)&&e.add(n.key):n instanceof cn?sr(n,ys)&&e.add(n.key.name):n instanceof Wt?sr(n,ys)&&e.add(n.property):n instanceof An&&n.property instanceof dt&&sr(n,ys)&&e.add(n.property.value))}),e}function p0(t,e,n=wd(t)){e=_i(e,{builtins:!1,cache:null,debug:!1,keep_quoted:!1,nth_identifier:gs,only_cache:!1,regex:null,reserved:null,undeclared:!1,only_annotated:!1},!0);var r=e.nth_identifier,s=e.reserved;Array.isArray(s)||(s=[s]);var l=new Set(s);e.builtins||l0(l);var h=-1,m;e.cache?m=e.cache.props:m=new Map;var v=e.only_annotated,S=e.regex&&new RegExp(e.regex),C=e.debug!==!1,T;C&&(T=e.debug===!0?"":e.debug);var I=new Set,B=new Set;m.forEach(D=>B.add(D));var L=!!e.keep_quoted;return t.walk(new Fn(function(D){if(!(D instanceof Ei||D instanceof vi||D instanceof ni||D instanceof bi||D instanceof Hr))if(D instanceof Jt)typeof D.key=="string"&&(!L||!D.quote)&&g(D.key);else if(D instanceof cn)(!L||!D.quote)&&g(D.key.name);else if(D instanceof Wt){var H=!!e.undeclared;if(!H){for(var X=D;X.expression;)X=X.expression;H=!(X.thedef&&X.thedef.undeclared)}H&&(!L||!D.quote)&&g(D.property)}else D instanceof An?L||Io(D.property,g):D instanceof je&&D.expression.print_to_string()=="Object.defineProperty"?Io(D.args[1],g):D instanceof ae&&D.operator==="in"?Io(D.left,g):D instanceof dt&&sr(D,_s)&&g(D.value)})),t.transform(new dr(function(D){D instanceof Ei||D instanceof vi||D instanceof ni||D instanceof bi||D instanceof Hr||(D instanceof Jt?typeof D.key=="string"&&(!L||!D.quote)&&(D.key=O(D.key)):D instanceof cn?(!L||!D.quote)&&(D.key.name=O(D.key.name)):D instanceof Wt?(!L||!D.quote)&&(D.property=O(D.property)):!L&&D instanceof An?D.property=R(D.property):D instanceof je&&D.expression.print_to_string()=="Object.defineProperty"?D.args[1]=R(D.args[1]):D instanceof ae&&D.operator==="in"?D.left=R(D.left):D instanceof dt&&sr(D,_s)&&(Wp(D,_s),D.value=O(D.value)))}));function b(D){return B.has(D)||l.has(D)?!1:e.only_cache?m.has(D):!/^-?[0-9]+(\.[0-9]+)?(e[+-][0-9]+)?$/.test(D)}function y(D){return v&&!n.has(D)?!1:S&&!S.test(D)?n.has(D):l.has(D)?!1:m.has(D)||I.has(D)}function g(D){b(D)&&I.add(D),y(D)||B.add(D)}function O(D){if(!y(D))return D;var H=m.get(D);if(!H){if(C){var X="_$"+D+"$"+T+"_";b(X)&&(H=X)}if(!H)do H=r.get(++h);while(!b(H));m.set(D,H)}return H}function R(D){return D.transform(new dr(function(H){if(H instanceof lt){var X=H.expressions.length-1;H.expressions[X]=R(H.expressions[X])}else H instanceof dt?(Wp(H,_s),H.value=O(H.value)):H instanceof tt&&(H.consequent=R(H.consequent),H.alternative=R(H.alternative));return H}))}}var d0=typeof Buffer<"u"?t=>Buffer.from(t,"base64").toString():t=>decodeURIComponent(escape(atob(t))),m0=typeof Buffer<"u"?t=>Buffer.from(t).toString("base64"):t=>btoa(unescape(encodeURIComponent(t)));function _0(t){var e=/(?:^|[^.])\/\/# sourceMappingURL=data:application\/json(;[\w=-]*)?;base64,([+/0-9A-Za-z]*=*)\s*$/.exec(t);return e?d0(e[2]):(console.warn("inline source map not found"),null)}function co(t,e,n){e[t]&&n.forEach(function(r){e[r]&&(typeof e[r]!="object"&&(e[r]={}),t in e[r]||(e[r][t]=e[t]))})}function Nd(t){t&&("props"in t?t.props instanceof Map||(t.props=iy(t.props)):t.props=new Map)}function Id(t){return{props:oy(t.props)}}function y0(t,e,n,r){if(!(n&&n.writeFileSync&&n.mkdirSync))return;try{n.mkdirSync(r)}catch(m){if(m.code!=="EEXIST")throw m}const s=`${r}/terser-debug-${Math.random()*9999999|0}.log`;e=e||{};const l=JSON.stringify(e,(m,v)=>typeof v=="function"?"[Function "+v.toString()+"]":v instanceof RegExp?"[RegExp "+v.toString()+"]":v,4),h=m=>typeof m=="object"&&e.parse&&e.parse.spidermonkey?JSON.stringify(m,null,2):typeof m=="object"?Object.keys(m).map(v=>v+": "+h(m[v])).join(`
218
+
219
+ `):typeof m=="string"?"```\n"+m+"\n```":m;n.writeFileSync(s,`Options:
220
+ `+l+`
221
+
222
+ Input files:
223
+
224
+ `+h(t)+`
225
+ `)}function*g0(t,e,n){n&&typeof process=="object"&&process.env&&typeof process.env.TERSER_DEBUG_DIR=="string"&&y0(t,e,n,process.env.TERSER_DEBUG_DIR),e=_i(e,{compress:{},ecma:void 0,enclose:!1,ie8:!1,keep_classnames:void 0,keep_fnames:!1,mangle:{},module:!1,nameCache:null,output:null,format:null,parse:{},rename:void 0,safari10:!1,sourceMap:!1,spidermonkey:!1,timings:!1,toplevel:!1,warnings:!1,wrap:!1},!0);var r=e.timings&&{start:Date.now()};if(e.keep_classnames===void 0&&(e.keep_classnames=e.keep_fnames),e.rename===void 0&&(e.rename=e.compress&&e.mangle),e.output&&e.format)throw new Error("Please only specify either output or format option, preferrably format.");e.format=e.format||e.output||{},co("ecma",e,["parse","compress","format"]),co("ie8",e,["compress","mangle","format"]),co("keep_classnames",e,["compress","mangle"]),co("keep_fnames",e,["compress","mangle"]),co("module",e,["parse","compress","mangle"]),co("safari10",e,["mangle","format"]),co("toplevel",e,["compress","mangle"]),co("warnings",e,["compress"]);var s;e.mangle&&(e.mangle=_i(e.mangle,{cache:e.nameCache&&(e.nameCache.vars||{}),eval:!1,ie8:!1,keep_classnames:!1,keep_fnames:!1,module:!1,nth_identifier:gs,properties:!1,reserved:[],safari10:!1,toplevel:!1},!0),e.mangle.properties&&(typeof e.mangle.properties!="object"&&(e.mangle.properties={}),e.mangle.properties.keep_quoted&&(s=e.mangle.properties.reserved,Array.isArray(s)||(s=[]),e.mangle.properties.reserved=s),e.nameCache&&!("cache"in e.mangle.properties)&&(e.mangle.properties.cache=e.nameCache.props||{})),Nd(e.mangle.cache),Nd(e.mangle.properties.cache)),e.sourceMap&&(e.sourceMap=_i(e.sourceMap,{asObject:!1,content:null,filename:null,includeSources:!1,root:null,url:null},!0)),r&&(r.parse=Date.now());var l;if(t instanceof zt)l=t;else{if((typeof t=="string"||e.parse.spidermonkey&&!Array.isArray(t))&&(t=[t]),e.parse=e.parse||{},e.parse.toplevel=null,e.parse.spidermonkey)e.parse.toplevel=Ce.from_mozilla_ast(Object.keys(t).reduce(function(I,B){return I?(I.body=I.body.concat(t[B].body),I):t[B]},null));else{delete e.parse.spidermonkey;for(var h in t)if(tr(t,h)&&(e.parse.filename=h,e.parse.toplevel=ls(t[h],e.parse),e.sourceMap&&e.sourceMap.content=="inline")){if(Object.keys(t).length>1)throw new Error("inline source map only works with singular input");e.sourceMap.content=_0(t[h])}}if(e.parse.toplevel===null)throw new Error("no source file given");l=e.parse.toplevel}s&&e.mangle.properties.keep_quoted!=="strict"&&f0(l,s);var m;e.mangle&&e.mangle.properties&&(m=wd(l)),e.wrap&&(l=l.wrap_commonjs(e.wrap)),e.enclose&&(l=l.wrap_enclose(e.enclose)),r&&(r.rename=Date.now()),r&&(r.compress=Date.now()),e.compress&&(l=new Cd(e.compress,{mangle_options:e.mangle}).compress(l)),r&&(r.scope=Date.now()),e.mangle&&l.figure_out_scope(e.mangle),r&&(r.mangle=Date.now()),e.mangle&&(l.compute_char_frequency(e.mangle),l.mangle_names(e.mangle),l=h0(l,e.mangle)),r&&(r.properties=Date.now()),e.mangle&&e.mangle.properties&&(l=p0(l,e.mangle.properties,m)),r&&(r.format=Date.now());var v={};e.format.ast&&(v.ast=l),e.format.spidermonkey&&(v.ast=l.to_mozilla_ast());let S;if(!tr(e.format,"code")||e.format.code){if(S={...e.format},S.ast||(S._destroy_ast=!0,Pn(l,I=>{I instanceof qe&&(I.variables=void 0,I.enclosed=void 0,I.parent_scope=void 0),I.block_scope&&(I.block_scope.variables=void 0,I.block_scope.enclosed=void 0,I.parent_scope=void 0)})),e.sourceMap){if(e.sourceMap.includeSources&&t instanceof zt)throw new Error("original source content unavailable");S.source_map=yield*u0({file:e.sourceMap.filename,orig:e.sourceMap.content,root:e.sourceMap.root,files:e.sourceMap.includeSources?t:null})}delete S.ast,delete S.code,delete S.spidermonkey;var C=Ul(S);if(l.print(C),v.code=C.get(),e.sourceMap)if(Object.defineProperty(v,"map",{configurable:!0,enumerable:!0,get(){const I=S.source_map.getEncoded();return v.map=e.sourceMap.asObject?I:JSON.stringify(I)},set(I){Object.defineProperty(v,"map",{value:I,writable:!0})}}),v.decoded_map=S.source_map.getDecoded(),e.sourceMap.url=="inline"){var T=typeof v.map=="object"?JSON.stringify(v.map):v.map;v.code+=`
226
+ //# sourceMappingURL=data:application/json;charset=utf-8;base64,`+m0(T)}else e.sourceMap.url&&(v.code+=`
227
+ //# sourceMappingURL=`+e.sourceMap.url)}return e.nameCache&&e.mangle&&(e.mangle.cache&&(e.nameCache.vars=Id(e.mangle.cache)),e.mangle.properties&&e.mangle.properties.cache&&(e.nameCache.props=Id(e.mangle.properties.cache))),S&&S.source_map&&S.source_map.destroy(),r&&(r.end=Date.now(),v.timings={parse:.001*(r.rename-r.parse),rename:.001*(r.compress-r.rename),compress:.001*(r.scope-r.compress),scope:.001*(r.mangle-r.scope),mangle:.001*(r.properties-r.mangle),properties:.001*(r.format-r.properties),format:.001*(r.end-r.format),total:.001*(r.end-r.start)}),v}async function Pd(t,e,n){const r=g0(t,e,n);let s,l;do l=r.next(await s),s=l.value;while(!l.done);return l.value}function Fd(t){const e=new a_(t),n=new El(e);n.removeErrorListeners();const r=new r_(n),s=new F(r);s._interp.predictionMode=h_.SLL,s.removeErrorListeners();const l=new E0;n.addErrorListener(l),s.addErrorListener(l),s.buildParseTrees=!0;const h=s.program(),m=r.tokens.filter(v=>v.channel===2);return{errors:l.errors,ast:h,comments:m}}async function b0(t,e,n,r){const{errors:s,ast:l,comments:h}=Fd(t+`
228
+
229
+ `),m=new Mp(r,h,n),v=await m.visit(l);let S=s.splice(0,1);S.length||(S=m.errors);let C="";const T=new $_("$"),I=e?"":T.preParser(v);if(e&&!S.some(B=>B.type===Mn.Error)){const B=T.parser(v)||"";C=(await Pd(B,{compress:!0,mangle:!0})).code||"";const b={message:de.indiRunErr,type:Mn.Error,startColumn:0,startLineNumber:0,endColumn:0,endLineNumber:0};if(m.hasUseDrawFunc){if(m.scriptType===Ii.library)m.exportPositions.length||(b.message=de.libraryExportErr,S.push(b));else if(m.exportPositions.length){const y=m.exportPositions.map(g=>{const{type:O,...R}=g;return{message:ye(de.exportUseErr,{type:O}),type:Mn.Error,...R}});S.push(...y)}}else switch(m.scriptType){case Ii.indicator:S.push(b);break;case Ii.strategy:m.hasUseCreateOrderFunc||(b.message=de.strategyRunErr,S.push(b));break}}return{errors:S,functions:Object.fromEntries(m.userFunctions),variables:Object.fromEntries(m.userVariables),types:Object.fromEntries(m.userTypes),methods:Object.fromEntries(m.userMethods),overloadsFuncs:m.overloadsFuncs,imports:Object.fromEntries(m.imports),enums:Object.fromEntries(m.userEnums),codeStr:C,preParserCode:I}}async function v0(t,e,n,r){const{ast:s,comments:l}=Fd(t+`
230
+
231
+ `),h=new Mp(r,l,n),m=await h.visit(s),{name:v,index:S}=h.endExport,C=m.findIndex(b=>b.name===v&&b.index===S),T=m.slice(0,C+1),B=new H_("$",e).parser(T)||"",L=await Pd(B,{compress:!0,mangle:!0});return{...h.exportLibs,description:h.description,codeStr:L.code||""}}class E0 extends i_{constructor(){super(...arguments);k(this,"errors",[])}syntaxError(n,r,s,l,h){this.errors.push({message:`syntax error: ${h.replace(/expecting.+/,"")}`,type:Mn.Error,startColumn:l,startLineNumber:s,endColumn:l,endLineNumber:s})}}Cl({parseTcc:b0,parseLibraryCode:v0})})();