@guihz/trading-vue-editor-tes 0.0.63 → 0.0.65

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,108 +0,0 @@
1
- var zg=Object.defineProperty;var $g=(fo,fi,xr)=>fi in fo?zg(fo,fi,{enumerable:!0,configurable:!0,writable:!0,value:xr}):fo[fi]=xr;var N=(fo,fi,xr)=>($g(fo,typeof fi!="symbol"?fi+"":fi,xr),xr);(function(){"use strict";var fo={92:()=>{}},fi={};function xr(t){var e=fi[t];if(e!==void 0)return e.exports;var n=fi[t]={exports:{}};return fo[t](n,n.exports,xr),n.exports}xr.d=(t,e)=>{for(var n in e)xr.o(e,n)&&!xr.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},xr.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);var kt={};(()=>{function t(l){return t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},t(l)}function e(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(t(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(t(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),t(f)==="symbol"?f:String(f)),a)}var f}xr.d(kt,{dx:()=>dn,q2:()=>sh,FO:()=>Ry,xf:()=>Qs,Gy:()=>Iy,s4:()=>ws,c7:()=>My,_7:()=>xy,gp:()=>Dy,cK:()=>ks,zs:()=>Lh,AV:()=>Qs,Xp:()=>_e,VS:()=>ne,ul:()=>Lo,hW:()=>or,x1:()=>Ua,z5:()=>Ic,oN:()=>wh,TB:()=>Oy,u1:()=>Mc,_b:()=>Jh,$F:()=>Sy,_T:()=>tp,db:()=>Ty,Zx:()=>Gn,_x:()=>Bo,r8:()=>Xi,JI:()=>Fe,TP:()=>on,WU:()=>n,Nj:()=>j,ZP:()=>Kg});var n=function(){function l(){(function(a,f){if(!(a instanceof f))throw new TypeError("Cannot call a class as a function")})(this,l),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 r,p;return r=l,(p=[{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(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),l}();function o(l,r){if(!Array.isArray(l)||!Array.isArray(r))return!1;if(l===r)return!0;if(l.length!==r.length)return!1;for(var p=0;p<l.length;p++)if(!(l[p]===r[p]||l[p].equals&&l[p].equals(r[p])))return!1;return!0}function u(l){return u=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},u(l)}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 h=Math.round(Math.random()*Math.pow(2,32));function m(l){if(!l)return 0;var r,p,a=u(l),f=a==="string"?l:!(a!=="object"||!l.toString)&&l.toString();if(!f)return 0;for(var c=3&f.length,d=f.length-c,i=h,s=3432918353,v=461845907,T=0;T<d;)p=255&f.charCodeAt(T)|(255&f.charCodeAt(++T))<<8|(255&f.charCodeAt(++T))<<16|(255&f.charCodeAt(++T))<<24,++T,i=27492+(65535&(r=5*(65535&(i=(i^=p=(65535&(p=(p=(65535&p)*s+(((p>>>16)*s&65535)<<16)&4294967295)<<15|p>>>17))*v+(((p>>>16)*v&65535)<<16)&4294967295)<<13|i>>>19))+((5*(i>>>16)&65535)<<16)&4294967295))+((58964+(r>>>16)&65535)<<16);switch(p=0,c){case 3:p^=(255&f.charCodeAt(T+2))<<16;case 2:p^=(255&f.charCodeAt(T+1))<<8;case 1:i^=p=(65535&(p=(p=(65535&(p^=255&f.charCodeAt(T)))*s+(((p>>>16)*s&65535)<<16)&4294967295)<<15|p>>>17))*v+(((p>>>16)*v&65535)<<16)&4294967295}return i^=f.length,i=2246822507*(65535&(i^=i>>>16))+((2246822507*(i>>>16)&65535)<<16)&4294967295,i=3266489909*(65535&(i^=i>>>13))+((3266489909*(i>>>16)&65535)<<16)&4294967295,(i^=i>>>16)>>>0}function _(l){return _=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},_(l)}function S(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(_(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(_(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),_(f)==="symbol"?f:String(f)),a)}var f}var x=function(){function l(){(function(f,c){if(!(f instanceof c))throw new TypeError("Cannot call a class as a function")})(this,l),this.count=0,this.hash=0}var r,p,a;return r=l,p=[{key:"update",value:function(){for(var f=0;f<arguments.length;f++){var c=arguments[f];if(c!=null)if(Array.isArray(c))this.update.apply(this,c);else{var d=0;switch(_(c)){case"undefined":case"function":continue;case"number":case"boolean":d=c;break;case"string":d=m(c);break;default:c.updateHashCode?c.updateHashCode(this):console.log("No updateHashCode for "+c.toString());continue}d=(d*=3432918353)<<15|d>>>17,d*=461845907,this.count=this.count+1;var i=this.hash^d;i=5*(i=i<<13|i>>>19)+3864292196,this.hash=i}}}},{key:"finish",value:function(){var f=this.hash^4*this.count;return f^=f>>>16,f*=2246822507,f^=f>>>13,(f*=3266489909)^f>>>16}}],a=[{key:"hashStuff",value:function(){var f=new l;return f.update.apply(f,arguments),f.finish()}}],p&&S(r.prototype,p),a&&S(r,a),Object.defineProperty(r,"prototype",{writable:!1}),l}();function C(l){return l?typeof l=="string"?m(l):l.hashCode():-1}function A(l,r){return l?l.equals(r):l===r}function I(l){return l===null?"null":l}function j(l){return Array.isArray(l)?"["+l.map(I).join(", ")+"]":"null"}function M(l){return M=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},M(l)}function b(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(M(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(M(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),M(f)==="symbol"?f:String(f)),a)}var f}var y="h-",g=function(){function l(a,f){(function(c,d){if(!(c instanceof d))throw new TypeError("Cannot call a class as a function")})(this,l),this.data={},this.hashFunction=a||C,this.equalsFunction=f||A}var r,p;return r=l,(p=[{key:"add",value:function(a){var f=y+this.hashFunction(a);if(f in this.data){for(var c=this.data[f],d=0;d<c.length;d++)if(this.equalsFunction(a,c[d]))return c[d];return c.push(a),a}return this.data[f]=[a],a}},{key:"has",value:function(a){return this.get(a)!=null}},{key:"get",value:function(a){var f=y+this.hashFunction(a);if(f in this.data){for(var c=this.data[f],d=0;d<c.length;d++)if(this.equalsFunction(a,c[d]))return c[d]}return null}},{key:"values",value:function(){var a=this;return Object.keys(this.data).filter(function(f){return f.startsWith(y)}).flatMap(function(f){return a.data[f]},this)}},{key:"toString",value:function(){return j(this.values())}},{key:"length",get:function(){var a=this;return Object.keys(this.data).filter(function(f){return f.startsWith(y)}).map(function(f){return a.data[f].length},this).reduce(function(f,c){return f+c},0)}}])&&b(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),l}();function O(l,r){if(typeof r!="function"&&r!==null)throw new TypeError("Super expression must either be null or a function");l.prototype=Object.create(r&&r.prototype,{constructor:{value:l,writable:!0,configurable:!0}}),Object.defineProperty(l,"prototype",{writable:!1}),r&&w(l,r)}function w(l,r){return w=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},w(l,r)}function D(l){var r=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 p,a=V(l);if(r){var f=V(this).constructor;p=Reflect.construct(a,arguments,f)}else p=a.apply(this,arguments);return function(c,d){if(d&&(X(d)==="object"||typeof d=="function"))return d;if(d!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(i){if(i===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return i}(c)}(this,p)}}function V(l){return V=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},V(l)}function X(l){return X=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},X(l)}function re(l,r){if(!(l instanceof r))throw new TypeError("Cannot call a class as a function")}function z(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(X(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(X(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),X(f)==="symbol"?f:String(f)),a)}var f}function Y(l,r,p){return r&&z(l.prototype,r),p&&z(l,p),Object.defineProperty(l,"prototype",{writable:!1}),l}var K=function(){function l(){re(this,l)}return Y(l,[{key:"hashCode",value:function(){var r=new x;return this.updateHashCode(r),r.finish()}},{key:"evaluate",value:function(r,p){}},{key:"evalPrecedence",value:function(r,p){return this}}],[{key:"andContext",value:function(r,p){if(r===null||r===l.NONE)return p;if(p===null||p===l.NONE)return r;var a=new ce(r,p);return a.opnds.length===1?a.opnds[0]:a}},{key:"orContext",value:function(r,p){if(r===null)return p;if(p===null)return r;if(r===l.NONE||p===l.NONE)return l.NONE;var a=new Q(r,p);return a.opnds.length===1?a.opnds[0]:a}}]),l}(),ce=function(l){O(p,l);var r=D(p);function p(a,f){var c;re(this,p),c=r.call(this);var d=new g;a instanceof p?a.opnds.map(function(v){d.add(v)}):d.add(a),f instanceof p?f.opnds.map(function(v){d.add(v)}):d.add(f);var i=de(d);if(i.length>0){var s=null;i.map(function(v){(s===null||v.precedence<s.precedence)&&(s=v)}),d.add(s)}return c.opnds=Array.from(d.values()),c}return Y(p,[{key:"equals",value:function(a){return this===a||a instanceof p&&o(this.opnds,a.opnds)}},{key:"updateHashCode",value:function(a){a.update(this.opnds,"AND")}},{key:"evaluate",value:function(a,f){for(var c=0;c<this.opnds.length;c++)if(!this.opnds[c].evaluate(a,f))return!1;return!0}},{key:"evalPrecedence",value:function(a,f){for(var c=!1,d=[],i=0;i<this.opnds.length;i++){var s=this.opnds[i],v=s.evalPrecedence(a,f);if(c|=v!==s,v===null)return null;v!==K.NONE&&d.push(v)}if(!c)return this;if(d.length===0)return K.NONE;var T=null;return d.map(function(E){T=T===null?E:K.andContext(T,E)}),T}},{key:"toString",value:function(){var a=this.opnds.map(function(f){return f.toString()});return(a.length>3?a.slice(3):a).join("&&")}}]),p}(K),Q=function(l){O(p,l);var r=D(p);function p(a,f){var c;re(this,p),c=r.call(this);var d=new g;a instanceof p?a.opnds.map(function(T){d.add(T)}):d.add(a),f instanceof p?f.opnds.map(function(T){d.add(T)}):d.add(f);var i=de(d);if(i.length>0){var s=i.sort(function(T,E){return T.compareTo(E)}),v=s[s.length-1];d.add(v)}return c.opnds=Array.from(d.values()),c}return Y(p,[{key:"equals",value:function(a){return this===a||a instanceof p&&o(this.opnds,a.opnds)}},{key:"updateHashCode",value:function(a){a.update(this.opnds,"OR")}},{key:"evaluate",value:function(a,f){for(var c=0;c<this.opnds.length;c++)if(this.opnds[c].evaluate(a,f))return!0;return!1}},{key:"evalPrecedence",value:function(a,f){for(var c=!1,d=[],i=0;i<this.opnds.length;i++){var s=this.opnds[i],v=s.evalPrecedence(a,f);if(c|=v!==s,v===K.NONE)return K.NONE;v!==null&&d.push(v)}return c?(d.length===0||d.map(function(T){return T}),null):this}},{key:"toString",value:function(){var a=this.opnds.map(function(f){return f.toString()});return(a.length>3?a.slice(3):a).join("||")}}]),p}(K);function de(l){var r=[];return l.values().map(function(p){p instanceof K.PrecedencePredicate&&r.push(p)}),r}function ye(l){return ye=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},ye(l)}function te(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(ye(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(ye(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),ye(f)==="symbol"?f:String(f)),a)}var f}function he(l,r){if(l===null){var p={state:null,alt:null,context:null,semanticContext:null};return r&&(p.reachesIntoOuterContext=0),p}var a={};return a.state=l.state||null,a.alt=l.alt===void 0?null:l.alt,a.context=l.context||null,a.semanticContext=l.semanticContext||null,r&&(a.reachesIntoOuterContext=l.reachesIntoOuterContext||0,a.precedenceFilterSuppressed=l.precedenceFilterSuppressed||!1),a}var le=function(){function l(a,f){(function(c,d){if(!(c instanceof d))throw new TypeError("Cannot call a class as a function")})(this,l),this.checkContext(a,f),a=he(a),f=he(f,!0),this.state=a.state!==null?a.state:f.state,this.alt=a.alt!==null?a.alt:f.alt,this.context=a.context!==null?a.context:f.context,this.semanticContext=a.semanticContext!==null?a.semanticContext:f.semanticContext!==null?f.semanticContext:K.NONE,this.reachesIntoOuterContext=f.reachesIntoOuterContext,this.precedenceFilterSuppressed=f.precedenceFilterSuppressed}var r,p;return r=l,(p=[{key:"checkContext",value:function(a,f){a.context!==null&&a.context!==void 0||f!==null&&f.context!==null&&f.context!==void 0||(this.context=null)}},{key:"hashCode",value:function(){var a=new x;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 l&&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 x;return a.update(this.state.stateNumber,this.alt,this.semanticContext),a.finish()}},{key:"equalsForConfigSet",value:function(a){return this===a||a instanceof l&&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!==K.NONE?","+this.semanticContext.toString():"")+(this.reachesIntoOuterContext>0?",up="+this.reachesIntoOuterContext:"")+")"}}])&&te(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),l}();function Ae(l){return Ae=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Ae(l)}function Pe(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(Ae(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(Ae(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Ae(f)==="symbol"?f:String(f)),a)}var f}var _e=function(){function l(a,f){(function(c,d){if(!(c instanceof d))throw new TypeError("Cannot call a class as a function")})(this,l),this.start=a,this.stop=f}var r,p;return r=l,(p=[{key:"clone",value:function(){return new l(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}}])&&Pe(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),l}();function Ue(l){return Ue=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Ue(l)}function J(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(Ue(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(Ue(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Ue(f)==="symbol"?f:String(f)),a)}var f}_e.INVALID_INTERVAL=new _e(-1,-2);var ne=function(){function l(){(function(a,f){if(!(a instanceof f))throw new TypeError("Cannot call a class as a function")})(this,l),this.intervals=null,this.readOnly=!1}var r,p;return r=l,(p=[{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 _e(a,a+1))}},{key:"addRange",value:function(a,f){this.addInterval(new _e(a,f+1))}},{key:"addInterval",value:function(a){if(this.intervals===null)this.intervals=[],this.intervals.push(a.clone());else{for(var f=0;f<this.intervals.length;f++){var c=this.intervals[f];if(a.stop<c.start)return void this.intervals.splice(f,0,a);if(a.stop===c.start)return void(this.intervals[f]=new _e(a.start,c.stop));if(a.start<=c.stop)return this.intervals[f]=new _e(Math.min(c.start,a.start),Math.max(c.stop,a.stop)),void this.reduce(f)}this.intervals.push(a.clone())}}},{key:"addSet",value:function(a){var f=this;return a.intervals!==null&&a.intervals.forEach(function(c){return f.addInterval(c)},this),this}},{key:"reduce",value:function(a){if(a<this.intervals.length-1){var f=this.intervals[a],c=this.intervals[a+1];f.stop>=c.stop?(this.intervals.splice(a+1,1),this.reduce(a)):f.stop>=c.start&&(this.intervals[a]=new _e(f.start,c.stop),this.intervals.splice(a+1,1))}}},{key:"complement",value:function(a,f){var c=new l;return c.addInterval(new _e(a,f+1)),this.intervals!==null&&this.intervals.forEach(function(d){return c.removeRange(d)}),c}},{key:"contains",value:function(a){if(this.intervals===null)return!1;for(var f=0;f<this.intervals.length;f++)if(this.intervals[f].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 f=0,c=0;c<this.intervals.length;c++){var d=this.intervals[f];if(a.stop<=d.start)return;if(a.start>d.start&&a.stop<d.stop){this.intervals[f]=new _e(d.start,a.start);var i=new _e(a.stop,d.stop);return void this.intervals.splice(f,0,i)}a.start<=d.start&&a.stop>=d.stop?(this.intervals.splice(f,1),f-=1):a.start<d.stop?this.intervals[f]=new _e(d.start,a.start):a.stop<d.stop&&(this.intervals[f]=new _e(a.stop,d.stop)),f+=1}}},{key:"removeOne",value:function(a){if(this.intervals!==null)for(var f=0;f<this.intervals.length;f++){var c=this.intervals[f];if(a<c.start)return;if(a===c.start&&a===c.stop-1)return void this.intervals.splice(f,1);if(a===c.start)return void(this.intervals[f]=new _e(c.start+1,c.stop));if(a===c.stop-1)return void(this.intervals[f]=new _e(c.start,c.stop-1));if(a<c.stop-1){var d=new _e(c.start,a);return c.start=a+1,void this.intervals.splice(f,0,d)}}}},{key:"toString",value:function(a,f,c){return a=a||null,f=f||null,c=c||!1,this.intervals===null?"{}":a!==null||f!==null?this.toTokenString(a,f):c?this.toCharString():this.toIndexString()}},{key:"toCharString",value:function(){for(var a=[],f=0;f<this.intervals.length;f++){var c=this.intervals[f];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=[],f=0;f<this.intervals.length;f++){var c=this.intervals[f];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,f){for(var c=[],d=0;d<this.intervals.length;d++)for(var i=this.intervals[d],s=i.start;s<i.stop;s++)c.push(this.elementName(a,f,s));return c.length>1?"{"+c.join(", ")+"}":c[0]}},{key:"elementName",value:function(a,f,c){return c===n.EOF?"<EOF>":c===n.EPSILON?"<EPSILON>":a[c]||f[c]}},{key:"length",get:function(){return this.intervals.map(function(a){return a.length}).reduce(function(a,f){return a+f})}}])&&J(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),l}();function se(l){return se=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},se(l)}function Ee(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(se(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(se(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),se(f)==="symbol"?f:String(f)),a)}var f}var me=function(){function l(){(function(a,f){if(!(a instanceof f))throw new TypeError("Cannot call a class as a function")})(this,l),this.atn=null,this.stateNumber=l.INVALID_STATE_NUMBER,this.stateType=null,this.ruleIndex=0,this.epsilonOnlyTransitions=!1,this.transitions=[],this.nextTokenWithinRule=null}var r,p;return r=l,(p=[{key:"toString",value:function(){return this.stateNumber}},{key:"equals",value:function(a){return a instanceof l&&this.stateNumber===a.stateNumber}},{key:"isNonGreedyExitState",value:function(){return!1}},{key:"addTransition",value:function(a,f){f===void 0&&(f=-1),this.transitions.length===0?this.epsilonOnlyTransitions=a.isEpsilon:this.epsilonOnlyTransitions!==a.isEpsilon&&(this.epsilonOnlyTransitions=!1),f===-1?this.transitions.push(a):this.transitions.splice(f,1,a)}}])&&Ee(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),l}();function At(l){return At=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},At(l)}function jt(l,r){return jt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},jt(l,r)}function Et(l,r){if(r&&(At(r)==="object"||typeof r=="function"))return r;if(r!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Mt(l)}function Mt(l){if(l===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return l}function gt(l){return gt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},gt(l)}me.INVALID_TYPE=0,me.BASIC=1,me.RULE_START=2,me.BLOCK_START=3,me.PLUS_BLOCK_START=4,me.STAR_BLOCK_START=5,me.TOKEN_START=6,me.RULE_STOP=7,me.BLOCK_END=8,me.STAR_LOOP_BACK=9,me.STAR_LOOP_ENTRY=10,me.PLUS_LOOP_BACK=11,me.LOOP_END=12,me.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"],me.INVALID_STATE_NUMBER=-1;var Dt=function(l){(function(d,i){if(typeof i!="function"&&i!==null)throw new TypeError("Super expression must either be null or a function");d.prototype=Object.create(i&&i.prototype,{constructor:{value:d,writable:!0,configurable:!0}}),Object.defineProperty(d,"prototype",{writable:!1}),i&&jt(d,i)})(c,l);var r,p,a,f=(p=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 d,i=gt(p);if(a){var s=gt(this).constructor;d=Reflect.construct(i,arguments,s)}else d=i.apply(this,arguments);return Et(this,d)});function c(){var d;return function(i,s){if(!(i instanceof s))throw new TypeError("Cannot call a class as a function")}(this,c),(d=f.call(this)).stateType=me.RULE_STOP,Et(d,Mt(d))}return r=c,Object.defineProperty(r,"prototype",{writable:!1}),r}(me);function Jt(l){return Jt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Jt(l)}function oe(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(Jt(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(Jt(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Jt(f)==="symbol"?f:String(f)),a)}var f}function De(l,r,p){return r&&oe(l.prototype,r),p&&oe(l,p),Object.defineProperty(l,"prototype",{writable:!1}),l}var pe=De(function l(r){if(function(p,a){if(!(p instanceof a))throw new TypeError("Cannot call a class as a function")}(this,l),r==null)throw"target cannot be null.";this.target=r,this.isEpsilon=!1,this.label=null});function bt(l){return bt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},bt(l)}function xt(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(bt(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(bt(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),bt(f)==="symbol"?f:String(f)),a)}var f}function Ct(l,r){return Ct=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},Ct(l,r)}function Mn(l){return Mn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Mn(l)}pe.EPSILON=1,pe.RANGE=2,pe.RULE=3,pe.PREDICATE=4,pe.ATOM=5,pe.ACTION=6,pe.SET=7,pe.NOT_SET=8,pe.WILDCARD=9,pe.PRECEDENCE=10,pe.serializationNames=["INVALID","EPSILON","RANGE","RULE","PREDICATE","ATOM","ACTION","SET","NOT_SET","WILDCARD","PRECEDENCE"],pe.serializationTypes={EpsilonTransition:pe.EPSILON,RangeTransition:pe.RANGE,RuleTransition:pe.RULE,PredicateTransition:pe.PREDICATE,AtomTransition:pe.ATOM,ActionTransition:pe.ACTION,SetTransition:pe.SET,NotSetTransition:pe.NOT_SET,WildcardTransition:pe.WILDCARD,PrecedencePredicateTransition:pe.PRECEDENCE};var Zt=function(l){(function(i,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(s&&s.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),s&&Ct(i,s)})(d,l);var r,p,a,f,c=(a=d,f=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 i,s=Mn(a);if(f){var v=Mn(this).constructor;i=Reflect.construct(s,arguments,v)}else i=s.apply(this,arguments);return function(T,E){if(E&&(bt(E)==="object"||typeof E=="function"))return E;if(E!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(R){if(R===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return R}(T)}(this,i)});function d(i,s,v,T){var E;return function(R,ee){if(!(R instanceof ee))throw new TypeError("Cannot call a class as a function")}(this,d),(E=c.call(this,i)).ruleIndex=s,E.precedence=v,E.followState=T,E.serializationType=pe.RULE,E.isEpsilon=!0,E}return r=d,(p=[{key:"matches",value:function(i,s,v){return!1}}])&&xt(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),d}(pe);function pn(l){return pn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},pn(l)}function Ht(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(pn(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(pn(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),pn(f)==="symbol"?f:String(f)),a)}var f}function It(l,r){return It=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},It(l,r)}function ln(l){return ln=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},ln(l)}var Ti=function(l){(function(i,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(s&&s.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),s&&It(i,s)})(d,l);var r,p,a,f,c=(a=d,f=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 i,s=ln(a);if(f){var v=ln(this).constructor;i=Reflect.construct(s,arguments,v)}else i=s.apply(this,arguments);return function(T,E){if(E&&(pn(E)==="object"||typeof E=="function"))return E;if(E!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(R){if(R===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return R}(T)}(this,i)});function d(i,s){var v;return function(T,E){if(!(T instanceof E))throw new TypeError("Cannot call a class as a function")}(this,d),(v=c.call(this,i)).serializationType=pe.SET,s!=null?v.label=s:(v.label=new ne,v.label.addOne(n.INVALID_TYPE)),v}return r=d,(p=[{key:"matches",value:function(i,s,v){return this.label.contains(i)}},{key:"toString",value:function(){return this.label.toString()}}])&&Ht(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),d}(pe);function B(l){return B=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},B(l)}function Re(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(B(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(B(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),B(f)==="symbol"?f:String(f)),a)}var f}function Be(){return Be=typeof Reflect<"u"&&Reflect.get?Reflect.get.bind():function(l,r,p){var a=function(c,d){for(;!Object.prototype.hasOwnProperty.call(c,d)&&(c=ut(c))!==null;);return c}(l,r);if(a){var f=Object.getOwnPropertyDescriptor(a,r);return f.get?f.get.call(arguments.length<3?l:p):f.value}},Be.apply(this,arguments)}function Me(l,r){return Me=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},Me(l,r)}function ut(l){return ut=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},ut(l)}var rn=function(l){(function(i,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(s&&s.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),s&&Me(i,s)})(d,l);var r,p,a,f,c=(a=d,f=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 i,s=ut(a);if(f){var v=ut(this).constructor;i=Reflect.construct(s,arguments,v)}else i=s.apply(this,arguments);return function(T,E){if(E&&(B(E)==="object"||typeof E=="function"))return E;if(E!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(R){if(R===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return R}(T)}(this,i)});function d(i,s){var v;return function(T,E){if(!(T instanceof E))throw new TypeError("Cannot call a class as a function")}(this,d),(v=c.call(this,i,s)).serializationType=pe.NOT_SET,v}return r=d,(p=[{key:"matches",value:function(i,s,v){return i>=s&&i<=v&&!Be(ut(d.prototype),"matches",this).call(this,i,s,v)}},{key:"toString",value:function(){return"~"+Be(ut(d.prototype),"toString",this).call(this)}}])&&Re(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),d}(Ti);function ft(l){return ft=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},ft(l)}function gn(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(ft(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(ft(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),ft(f)==="symbol"?f:String(f)),a)}var f}function Tn(l,r){return Tn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},Tn(l,r)}function ci(l){return ci=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},ci(l)}var Fn=function(l){(function(i,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(s&&s.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),s&&Tn(i,s)})(d,l);var r,p,a,f,c=(a=d,f=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 i,s=ci(a);if(f){var v=ci(this).constructor;i=Reflect.construct(s,arguments,v)}else i=s.apply(this,arguments);return function(T,E){if(E&&(ft(E)==="object"||typeof E=="function"))return E;if(E!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(R){if(R===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return R}(T)}(this,i)});function d(i){var s;return function(v,T){if(!(v instanceof T))throw new TypeError("Cannot call a class as a function")}(this,d),(s=c.call(this,i)).serializationType=pe.WILDCARD,s}return r=d,(p=[{key:"matches",value:function(i,s,v){return i>=s&&i<=v}},{key:"toString",value:function(){return"."}}])&&gn(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),d}(pe);function fn(l){return fn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},fn(l)}function uo(l,r){return uo=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},uo(l,r)}function Ai(l){return Ai=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Ai(l)}var co=function(l){(function(d,i){if(typeof i!="function"&&i!==null)throw new TypeError("Super expression must either be null or a function");d.prototype=Object.create(i&&i.prototype,{constructor:{value:d,writable:!0,configurable:!0}}),Object.defineProperty(d,"prototype",{writable:!1}),i&&uo(d,i)})(c,l);var r,p,a,f=(p=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 d,i=Ai(p);if(a){var s=Ai(this).constructor;d=Reflect.construct(i,arguments,s)}else d=i.apply(this,arguments);return function(v,T){if(T&&(fn(T)==="object"||typeof T=="function"))return T;if(T!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(E){if(E===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return E}(v)}(this,d)});function c(d){return function(i,s){if(!(i instanceof s))throw new TypeError("Cannot call a class as a function")}(this,c),f.call(this,d)}return r=c,Object.defineProperty(r,"prototype",{writable:!1}),r}(pe);function Sr(l){return Sr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Sr(l)}function zr(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(Sr(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(Sr(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Sr(f)==="symbol"?f:String(f)),a)}var f}function No(l,r,p){return r&&zr(l.prototype,r),p&&zr(l,p),Object.defineProperty(l,"prototype",{writable:!1}),l}function $i(l){return $i=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},$i(l)}function Pr(l,r){return Pr=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},Pr(l,r)}function li(l){return li=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},li(l)}function Po(l){return Po=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Po(l)}function mt(l,r){return mt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},mt(l,r)}function ir(l){return ir=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},ir(l)}var k=function(l){(function(d,i){if(typeof i!="function"&&i!==null)throw new TypeError("Super expression must either be null or a function");d.prototype=Object.create(i&&i.prototype,{constructor:{value:d,writable:!0,configurable:!0}}),Object.defineProperty(d,"prototype",{writable:!1}),i&&mt(d,i)})(c,l);var r,p,a,f=(p=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 d,i=ir(p);if(a){var s=ir(this).constructor;d=Reflect.construct(i,arguments,s)}else d=i.apply(this,arguments);return function(v,T){if(T&&(Po(T)==="object"||typeof T=="function"))return T;if(T!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(E){if(E===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return E}(v)}(this,d)});function c(){return function(d,i){if(!(d instanceof i))throw new TypeError("Cannot call a class as a function")}(this,c),f.apply(this,arguments)}return r=c,Object.defineProperty(r,"prototype",{writable:!1}),r}(function(l){(function(d,i){if(typeof i!="function"&&i!==null)throw new TypeError("Super expression must either be null or a function");d.prototype=Object.create(i&&i.prototype,{constructor:{value:d,writable:!0,configurable:!0}}),Object.defineProperty(d,"prototype",{writable:!1}),i&&Pr(d,i)})(c,l);var r,p,a,f=(p=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 d,i=li(p);if(a){var s=li(this).constructor;d=Reflect.construct(i,arguments,s)}else d=i.apply(this,arguments);return function(v,T){if(T&&($i(T)==="object"||typeof T=="function"))return T;if(T!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(E){if(E===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return E}(v)}(this,d)});function c(){return function(d,i){if(!(d instanceof i))throw new TypeError("Cannot call a class as a function")}(this,c),f.apply(this,arguments)}return r=c,Object.defineProperty(r,"prototype",{writable:!1}),r}(No(function l(){(function(r,p){if(!(r instanceof p))throw new TypeError("Cannot call a class as a function")})(this,l)})));function H(l){return H=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},H(l)}function $(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(H(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(H(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),H(f)==="symbol"?f:String(f)),a)}var f}function Z(l,r){return Z=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},Z(l,r)}function ie(l){return ie=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},ie(l)}var Fe=function(l){(function(i,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(s&&s.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),s&&Z(i,s)})(d,l);var r,p,a,f,c=(a=d,f=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 i,s=ie(a);if(f){var v=ie(this).constructor;i=Reflect.construct(s,arguments,v)}else i=s.apply(this,arguments);return function(T,E){if(E&&(H(E)==="object"||typeof E=="function"))return E;if(E!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(R){if(R===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return R}(T)}(this,i)});function d(){return function(i,s){if(!(i instanceof s))throw new TypeError("Cannot call a class as a function")}(this,d),c.apply(this,arguments)}return r=d,(p=[{key:"ruleContext",get:function(){throw new Error("missing interface implementation")}}])&&$(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),d}(k);function Ie(l){return Ie=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Ie(l)}function rt(l,r){return rt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},rt(l,r)}function Gt(l){return Gt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Gt(l)}var on=function(l){(function(d,i){if(typeof i!="function"&&i!==null)throw new TypeError("Super expression must either be null or a function");d.prototype=Object.create(i&&i.prototype,{constructor:{value:d,writable:!0,configurable:!0}}),Object.defineProperty(d,"prototype",{writable:!1}),i&&rt(d,i)})(c,l);var r,p,a,f=(p=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 d,i=Gt(p);if(a){var s=Gt(this).constructor;d=Reflect.construct(i,arguments,s)}else d=i.apply(this,arguments);return function(v,T){if(T&&(Ie(T)==="object"||typeof T=="function"))return T;if(T!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(E){if(E===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return E}(v)}(this,d)});function c(){return function(d,i){if(!(d instanceof i))throw new TypeError("Cannot call a class as a function")}(this,c),f.apply(this,arguments)}return r=c,Object.defineProperty(r,"prototype",{writable:!1}),r}(k);function bn(l){return bn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},bn(l)}function Ir(l,r){return Ir=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},Ir(l,r)}function Bt(l){return Bt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Bt(l)}var $r=function(l){(function(d,i){if(typeof i!="function"&&i!==null)throw new TypeError("Super expression must either be null or a function");d.prototype=Object.create(i&&i.prototype,{constructor:{value:d,writable:!0,configurable:!0}}),Object.defineProperty(d,"prototype",{writable:!1}),i&&Ir(d,i)})(c,l);var r,p,a,f=(p=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 d,i=Bt(p);if(a){var s=Bt(this).constructor;d=Reflect.construct(i,arguments,s)}else d=i.apply(this,arguments);return function(v,T){if(T&&(bn(T)==="object"||typeof T=="function"))return T;if(T!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(E){if(E===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return E}(v)}(this,d)});function c(){return function(d,i){if(!(d instanceof i))throw new TypeError("Cannot call a class as a function")}(this,c),f.apply(this,arguments)}return r=c,Object.defineProperty(r,"prototype",{writable:!1}),r}(on),Tr={toStringTree:function(l,r,p){r=r||null,(p=p||null)!==null&&(r=p.ruleNames);var a=Tr.getNodeText(l,r);a=function(i,s){return i=i.replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r")}(a);var f=l.getChildCount();if(f===0)return a;var c="("+a+" ";f>0&&(a=Tr.toStringTree(l.getChild(0),r),c=c.concat(a));for(var d=1;d<f;d++)a=Tr.toStringTree(l.getChild(d),r),c=c.concat(" "+a);return c.concat(")")},getNodeText:function(l,r,p){if(r=r||null,(p=p||null)!==null&&(r=p.ruleNames),r!==null){if(l instanceof Fe){var a=l.ruleContext.getAltNumber();return a!=0?r[l.ruleIndex]+":"+a:r[l.ruleIndex]}if(l instanceof $r)return l.toString();if(l instanceof on&&l.symbol!==null)return l.symbol.text}var f=l.getPayload();return f instanceof n?f.text:l.getPayload().toString()},getChildren:function(l){for(var r=[],p=0;p<l.getChildCount();p++)r.push(l.getChild(p));return r},getAncestors:function(l){var r=[];for(l=l.getParent();l!==null;)r=[l].concat(r),l=l.getParent();return r},findAllTokenNodes:function(l,r){return Tr.findAllNodes(l,r,!0)},findAllRuleNodes:function(l,r){return Tr.findAllNodes(l,r,!1)},findAllNodes:function(l,r,p){var a=[];return Tr._findAllNodes(l,r,p,a),a},_findAllNodes:function(l,r,p,a){p&&l instanceof on?l.symbol.type===r&&a.push(l):!p&&l instanceof Fe&&l.ruleIndex===r&&a.push(l);for(var f=0;f<l.getChildCount();f++)Tr._findAllNodes(l.getChild(f),r,p,a)},descendants:function(l){for(var r=[l],p=0;p<l.getChildCount();p++)r=r.concat(Tr.descendants(l.getChild(p)));return r}};const Ku=Tr;function Wi(l){return Wi=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Wi(l)}function lf(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(Wi(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(Wi(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Wi(f)==="symbol"?f:String(f)),a)}var f}function Io(l,r){return Io=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},Io(l,r)}function oa(l){return oa=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},oa(l)}var Xi=function(l){(function(i,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(s&&s.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),s&&Io(i,s)})(d,l);var r,p,a,f,c=(a=d,f=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 i,s=oa(a);if(f){var v=oa(this).constructor;i=Reflect.construct(s,arguments,v)}else i=s.apply(this,arguments);return function(T,E){if(E&&(Wi(E)==="object"||typeof E=="function"))return E;if(E!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(R){if(R===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return R}(T)}(this,i)});function d(i,s){var v;return function(T,E){if(!(T instanceof E))throw new TypeError("Cannot call a class as a function")}(this,d),(v=c.call(this)).parentCtx=i||null,v.invokingState=s||-1,v}return r=d,(p=[{key:"depth",value:function(){for(var i=0,s=this;s!==null;)s=s.parentCtx,i+=1;return i}},{key:"isEmpty",value:function(){return this.invokingState===-1}},{key:"getSourceInterval",value:function(){return _e.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(i){return i.getText()}).join("")}},{key:"getAltNumber",value:function(){return 0}},{key:"setAltNumber",value:function(i){}},{key:"getChild",value:function(i){return null}},{key:"getChildCount",value:function(){return 0}},{key:"accept",value:function(i){return i.visitChildren(this)}},{key:"toStringTree",value:function(i,s){return Ku.toStringTree(this,i,s)}},{key:"toString",value:function(i,s){i=i||null,s=s||null;for(var v=this,T="[";v!==null&&v!==s;){if(i===null)v.isEmpty()||(T+=v.invokingState);else{var E=v.ruleIndex;T+=E>=0&&E<i.length?i[E]:""+E}v.parentCtx===null||i===null&&v.parentCtx.isEmpty()||(T+=" "),v=v.parentCtx}return T+"]"}}])&&lf(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),d}(Fe);function Fo(l){return Fo=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Fo(l)}function aa(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(Fo(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(Fo(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Fo(f)==="symbol"?f:String(f)),a)}var f}var it=function(){function l(a){(function(f,c){if(!(f instanceof c))throw new TypeError("Cannot call a class as a function")})(this,l),this.cachedHashCode=a}var r,p;return r=l,(p=[{key:"isEmpty",value:function(){return this===l.EMPTY}},{key:"hasEmptyPath",value:function(){return this.getReturnState(this.length-1)===l.EMPTY_RETURN_STATE}},{key:"hashCode",value:function(){return this.cachedHashCode}},{key:"updateHashCode",value:function(a){a.update(this.cachedHashCode)}}])&&aa(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),l}();function U(l){return U=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},U(l)}function G(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(U(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(U(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),U(f)==="symbol"?f:String(f)),a)}var f}function q(l,r){return q=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},q(l,r)}function ue(l,r){if(r&&(U(r)==="object"||typeof r=="function"))return r;if(r!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return be(l)}function be(l){if(l===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return l}function ge(l){return ge=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},ge(l)}it.EMPTY=null,it.EMPTY_RETURN_STATE=2147483647,it.globalNodeCount=1,it.id=it.globalNodeCount,it.trace_atn_sim=!1;var ve=function(l){(function(i,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(s&&s.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),s&&q(i,s)})(d,l);var r,p,a,f,c=(a=d,f=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 i,s=ge(a);if(f){var v=ge(this).constructor;i=Reflect.construct(s,arguments,v)}else i=s.apply(this,arguments);return ue(this,i)});function d(i,s){var v;(function(R,ee){if(!(R instanceof ee))throw new TypeError("Cannot call a class as a function")})(this,d);var T=new x;T.update(i,s);var E=T.finish();return(v=c.call(this,E)).parents=i,v.returnStates=s,ue(v,be(v))}return r=d,(p=[{key:"isEmpty",value:function(){return this.returnStates[0]===it.EMPTY_RETURN_STATE}},{key:"getParent",value:function(i){return this.parents[i]}},{key:"getReturnState",value:function(i){return this.returnStates[i]}},{key:"equals",value:function(i){return this===i||i instanceof d&&this.hashCode()===i.hashCode()&&o(this.returnStates,i.returnStates)&&o(this.parents,i.parents)}},{key:"toString",value:function(){if(this.isEmpty())return"[]";for(var i="[",s=0;s<this.returnStates.length;s++)s>0&&(i+=", "),this.returnStates[s]!==it.EMPTY_RETURN_STATE?(i+=this.returnStates[s],this.parents[s]!==null?i=i+" "+this.parents[s]:i+="null"):i+="$";return i+"]"}},{key:"length",get:function(){return this.returnStates.length}}])&&G(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),d}(it);function ze(l){return ze=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},ze(l)}function Le(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(ze(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(ze(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),ze(f)==="symbol"?f:String(f)),a)}var f}function ot(l,r){return ot=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},ot(l,r)}function Ut(l){return Ut=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Ut(l)}var ct=function(l){(function(s,v){if(typeof v!="function"&&v!==null)throw new TypeError("Super expression must either be null or a function");s.prototype=Object.create(v&&v.prototype,{constructor:{value:s,writable:!0,configurable:!0}}),Object.defineProperty(s,"prototype",{writable:!1}),v&&ot(s,v)})(i,l);var r,p,a,f,c,d=(f=i,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 s,v=Ut(f);if(c){var T=Ut(this).constructor;s=Reflect.construct(v,arguments,T)}else s=v.apply(this,arguments);return function(E,R){if(R&&(ze(R)==="object"||typeof R=="function"))return R;if(R!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(ee){if(ee===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return ee}(E)}(this,s)});function i(s,v){var T;(function(ee,Ce){if(!(ee instanceof Ce))throw new TypeError("Cannot call a class as a function")})(this,i);var E,R=new x;return s!==null?R.update(s,v):R.update(1),E=R.finish(),(T=d.call(this,E)).parentCtx=s,T.returnState=v,T}return r=i,a=[{key:"create",value:function(s,v){return v===it.EMPTY_RETURN_STATE&&s===null?it.EMPTY:new i(s,v)}}],(p=[{key:"getParent",value:function(s){return this.parentCtx}},{key:"getReturnState",value:function(s){return this.returnState}},{key:"equals",value:function(s){return this===s||s instanceof i&&this.hashCode()===s.hashCode()&&this.returnState===s.returnState&&(this.parentCtx==null?s.parentCtx==null:this.parentCtx.equals(s.parentCtx))}},{key:"toString",value:function(){var s=this.parentCtx===null?"":this.parentCtx.toString();return s.length===0?this.returnState===it.EMPTY_RETURN_STATE?"$":""+this.returnState:this.returnState+" "+s}},{key:"length",get:function(){return 1}}])&&Le(r.prototype,p),a&&Le(r,a),Object.defineProperty(r,"prototype",{writable:!1}),i}(it);function Kt(l){return Kt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Kt(l)}function An(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(Kt(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(Kt(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Kt(f)==="symbol"?f:String(f)),a)}var f}function Hn(l,r){return Hn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},Hn(l,r)}function qn(l){return qn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},qn(l)}var Fr=function(l){(function(i,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(s&&s.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),s&&Hn(i,s)})(d,l);var r,p,a,f,c=(a=d,f=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 i,s=qn(a);if(f){var v=qn(this).constructor;i=Reflect.construct(s,arguments,v)}else i=s.apply(this,arguments);return function(T,E){if(E&&(Kt(E)==="object"||typeof E=="function"))return E;if(E!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(R){if(R===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return R}(T)}(this,i)});function d(){return function(i,s){if(!(i instanceof s))throw new TypeError("Cannot call a class as a function")}(this,d),c.call(this,null,it.EMPTY_RETURN_STATE)}return r=d,(p=[{key:"isEmpty",value:function(){return!0}},{key:"getParent",value:function(i){return null}},{key:"getReturnState",value:function(i){return this.returnState}},{key:"equals",value:function(i){return this===i}},{key:"toString",value:function(){return"$"}}])&&An(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),d}(ct);function Wr(l){return Wr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Wr(l)}function Es(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(Wr(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(Wr(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Wr(f)==="symbol"?f:String(f)),a)}var f}it.EMPTY=new Fr;var Yn="h-",qi=function(){function l(a,f){(function(c,d){if(!(c instanceof d))throw new TypeError("Cannot call a class as a function")})(this,l),this.data={},this.hashFunction=a||C,this.equalsFunction=f||A}var r,p;return r=l,(p=[{key:"set",value:function(a,f){var c=Yn+this.hashFunction(a);if(c in this.data){for(var d=this.data[c],i=0;i<d.length;i++){var s=d[i];if(this.equalsFunction(a,s.key)){var v=s.value;return s.value=f,v}}return d.push({key:a,value:f}),f}return this.data[c]=[{key:a,value:f}],f}},{key:"containsKey",value:function(a){var f=Yn+this.hashFunction(a);if(f in this.data)for(var c=this.data[f],d=0;d<c.length;d++){var i=c[d];if(this.equalsFunction(a,i.key))return!0}return!1}},{key:"get",value:function(a){var f=Yn+this.hashFunction(a);if(f in this.data)for(var c=this.data[f],d=0;d<c.length;d++){var i=c[d];if(this.equalsFunction(a,i.key))return i.value}return null}},{key:"entries",value:function(){var a=this;return Object.keys(this.data).filter(function(f){return f.startsWith(Yn)}).flatMap(function(f){return a.data[f]},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(f){return f.startsWith(Yn)}).map(function(f){return a.data[f].length},this).reduce(function(f,c){return f+c},0)}}])&&Es(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),l}();function sa(l,r){if(r==null&&(r=Xi.EMPTY),r.parentCtx===null||r===Xi.EMPTY)return it.EMPTY;var p=sa(l,r.parentCtx),a=l.states[r.invokingState].transitions[0];return ct.create(p,a.followState.stateNumber)}function zu(l,r,p){if(l.isEmpty())return l;var a=p.get(l)||null;if(a!==null)return a;if((a=r.get(l))!==null)return p.set(l,a),a;for(var f=!1,c=[],d=0;d<c.length;d++){var i=zu(l.getParent(d),r,p);if(f||i!==l.getParent(d)){if(!f){c=[];for(var s=0;s<l.length;s++)c[s]=l.getParent(s);f=!0}c[d]=i}}if(!f)return r.add(l),p.set(l,l),l;var v;return v=c.length===0?it.EMPTY:c.length===1?ct.create(c[0],l.getReturnState(0)):new ve(c,l.returnStates),r.add(v),p.set(v,v),p.set(l,v),v}function ua(l,r,p,a){if(l===r)return l;if(l instanceof ct&&r instanceof ct)return function(f,c,d,i){if(i!==null){var s=i.get(f,c);if(s!==null||(s=i.get(c,f))!==null)return s}var v=function($e,yn,hn){if(hn){if($e===it.EMPTY||yn===it.EMPTY)return it.EMPTY}else{if($e===it.EMPTY&&yn===it.EMPTY)return it.EMPTY;if($e===it.EMPTY){var Kn=[yn.returnState,it.EMPTY_RETURN_STATE],Br=[yn.parentCtx,null];return new ve(Br,Kn)}if(yn===it.EMPTY){var Ci=[$e.returnState,it.EMPTY_RETURN_STATE],ki=[$e.parentCtx,null];return new ve(ki,Ci)}}return null}(f,c,d);if(v!==null)return i!==null&&i.set(f,c,v),v;if(f.returnState===c.returnState){var T=ua(f.parentCtx,c.parentCtx,d,i);if(T===f.parentCtx)return f;if(T===c.parentCtx)return c;var E=ct.create(T,f.returnState);return i!==null&&i.set(f,c,E),E}var R=null;if((f===c||f.parentCtx!==null&&f.parentCtx===c.parentCtx)&&(R=f.parentCtx),R!==null){var ee=[f.returnState,c.returnState];f.returnState>c.returnState&&(ee[0]=c.returnState,ee[1]=f.returnState);var Ce=new ve([R,R],ee);return i!==null&&i.set(f,c,Ce),Ce}var xe=[f.returnState,c.returnState],Ge=[f.parentCtx,c.parentCtx];f.returnState>c.returnState&&(xe[0]=c.returnState,xe[1]=f.returnState,Ge=[c.parentCtx,f.parentCtx]);var at=new ve(Ge,xe);return i!==null&&i.set(f,c,at),at}(l,r,p,a);if(p){if(l instanceof Fr)return l;if(r instanceof Fr)return r}return l instanceof ct&&(l=new ve([l.getParent()],[l.returnState])),r instanceof ct&&(r=new ve([r.getParent()],[r.returnState])),function(f,c,d,i){if(i!==null){var s=i.get(f,c);if(s!==null||(s=i.get(c,f))!==null)return it.trace_atn_sim&&console.log("mergeArrays a="+f+",b="+c+" -> previous"),s}for(var v=0,T=0,E=0,R=new Array(f.returnStates.length+c.returnStates.length).fill(0),ee=new Array(f.returnStates.length+c.returnStates.length).fill(null);v<f.returnStates.length&&T<c.returnStates.length;){var Ce=f.parents[v],xe=c.parents[T];if(f.returnStates[v]===c.returnStates[T]){var Ge=f.returnStates[v];Ge===it.EMPTY_RETURN_STATE&&Ce===null&&xe===null||Ce!==null&&xe!==null&&Ce===xe?(ee[E]=Ce,R[E]=Ge):(ee[E]=ua(Ce,xe,d,i),R[E]=Ge),v+=1,T+=1}else f.returnStates[v]<c.returnStates[T]?(ee[E]=Ce,R[E]=f.returnStates[v],v+=1):(ee[E]=xe,R[E]=c.returnStates[T],T+=1);E+=1}if(v<f.returnStates.length)for(var at=v;at<f.returnStates.length;at++)ee[E]=f.parents[at],R[E]=f.returnStates[at],E+=1;else for(var $e=T;$e<c.returnStates.length;$e++)ee[E]=c.parents[$e],R[E]=c.returnStates[$e],E+=1;if(E<ee.length){if(E===1){var yn=ct.create(ee[0],R[0]);return i!==null&&i.set(f,c,yn),yn}ee=ee.slice(0,E),R=R.slice(0,E)}var hn=new ve(ee,R);return hn.equals(f)?(i!==null&&i.set(f,c,f),it.trace_atn_sim&&console.log("mergeArrays a="+f+",b="+c+" -> a"),f):hn.equals(c)?(i!==null&&i.set(f,c,c),it.trace_atn_sim&&console.log("mergeArrays a="+f+",b="+c+" -> b"),c):(function(Kn){for(var Br=new qi,Ci=0;Ci<Kn.length;Ci++){var ki=Kn[Ci];Br.containsKey(ki)||Br.set(ki,ki)}for(var Ar=0;Ar<Kn.length;Ar++)Kn[Ar]=Br.get(Kn[Ar])}(ee),i!==null&&i.set(f,c,hn),it.trace_atn_sim&&console.log("mergeArrays a="+f+",b="+c+" -> "+hn),hn)}(l,r,p,a)}function Yi(l){return Yi=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Yi(l)}function Ji(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(Yi(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(Yi(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Yi(f)==="symbol"?f:String(f)),a)}var f}var Lr=function(){function l(){(function(a,f){if(!(a instanceof f))throw new TypeError("Cannot call a class as a function")})(this,l),this.data=[]}var r,p;return r=l,(p=[{key:"add",value:function(a){this.data[a]=!0}},{key:"or",value:function(a){var f=this;Object.keys(a.data).map(function(c){return f.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 x.hashStuff(this.values())}},{key:"equals",value:function(a){return a instanceof l&&o(this.data,a.data)}},{key:"toString",value:function(){return"{"+this.values().join(", ")+"}"}},{key:"length",get:function(){return this.values().length}}])&&Ji(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),l}();function lo(l){return lo=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},lo(l)}function $u(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(lo(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(lo(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),lo(f)==="symbol"?f:String(f)),a)}var f}var Lo=function(){function l(a){(function(f,c){if(!(f instanceof c))throw new TypeError("Cannot call a class as a function")})(this,l),this.atn=a}var r,p;return r=l,(p=[{key:"getDecisionLookahead",value:function(a){if(a===null)return null;for(var f=a.transitions.length,c=[],d=0;d<f;d++){c[d]=new ne;var i=new g;this._LOOK(a.transition(d).target,null,it.EMPTY,c[d],i,new Lr,!1,!1),(c[d].length===0||c[d].contains(l.HIT_PRED))&&(c[d]=null)}return c}},{key:"LOOK",value:function(a,f,c){var d=new ne,i=(c=c||null)!==null?sa(a.atn,c):null;return this._LOOK(a,f,i,d,new g,new Lr,!0,!0),d}},{key:"_LOOK",value:function(a,f,c,d,i,s,v,T){var E=new le({state:a,alt:0,context:c},null);if(!i.has(E)){if(i.add(E),a===f){if(c===null)return void d.addOne(n.EPSILON);if(c.isEmpty()&&T)return void d.addOne(n.EOF)}if(a instanceof Dt){if(c===null)return void d.addOne(n.EPSILON);if(c.isEmpty()&&T)return void d.addOne(n.EOF);if(c!==it.EMPTY){var R=s.has(a.ruleIndex);try{s.remove(a.ruleIndex);for(var ee=0;ee<c.length;ee++){var Ce=this.atn.states[c.getReturnState(ee)];this._LOOK(Ce,f,c.getParent(ee),d,i,s,v,T)}}finally{R&&s.add(a.ruleIndex)}return}}for(var xe=0;xe<a.transitions.length;xe++){var Ge=a.transitions[xe];if(Ge.constructor===Zt){if(s.has(Ge.target.ruleIndex))continue;var at=ct.create(c,Ge.followState.stateNumber);try{s.add(Ge.target.ruleIndex),this._LOOK(Ge.target,f,at,d,i,s,v,T)}finally{s.remove(Ge.target.ruleIndex)}}else if(Ge instanceof co)v?this._LOOK(Ge.target,f,c,d,i,s,v,T):d.addOne(l.HIT_PRED);else if(Ge.isEpsilon)this._LOOK(Ge.target,f,c,d,i,s,v,T);else if(Ge.constructor===Fn)d.addRange(n.MIN_USER_TOKEN_TYPE,this.atn.maxTokenType);else{var $e=Ge.label;$e!==null&&(Ge instanceof rn&&($e=$e.complement(n.MIN_USER_TOKEN_TYPE,this.atn.maxTokenType)),d.addSet($e))}}}}}])&&$u(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),l}();function Ss(l){return Ss=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Ss(l)}function y0(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(Ss(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(Ss(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Ss(f)==="symbol"?f:String(f)),a)}var f}Lo.HIT_PRED=n.INVALID_TYPE;var dn=function(){function l(a,f){(function(c,d){if(!(c instanceof d))throw new TypeError("Cannot call a class as a function")})(this,l),this.grammarType=a,this.maxTokenType=f,this.states=[],this.decisionToState=[],this.ruleToStartState=[],this.ruleToStopState=null,this.modeNameToStartState={},this.ruleToTokenType=null,this.lexerActions=null,this.modeToStartState=[]}var r,p;return r=l,(p=[{key:"nextTokensInContext",value:function(a,f){return new Lo(this).LOOK(a,null,f)}},{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,f){return f===void 0?this.nextTokensNoContext(a):this.nextTokensInContext(a,f)}},{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,f){if(a<0||a>=this.states.length)throw"Invalid state number.";var c=this.states[a],d=this.nextTokens(c);if(!d.contains(n.EPSILON))return d;var i=new ne;for(i.addSet(d),i.removeOne(n.EPSILON);f!==null&&f.invokingState>=0&&d.contains(n.EPSILON);){var s=this.states[f.invokingState].transitions[0];d=this.nextTokens(s.followState),i.addSet(d),i.removeOne(n.EPSILON),f=f.parentCtx}return d.contains(n.EPSILON)&&i.addOne(n.EOF),i}}])&&y0(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),l}();dn.INVALID_ALT_NUMBER=0;function ff(l){return ff=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},ff(l)}function hf(l,r){return hf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},hf(l,r)}function Wu(l){return Wu=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Wu(l)}var Od=function(l){(function(d,i){if(typeof i!="function"&&i!==null)throw new TypeError("Super expression must either be null or a function");d.prototype=Object.create(i&&i.prototype,{constructor:{value:d,writable:!0,configurable:!0}}),Object.defineProperty(d,"prototype",{writable:!1}),i&&hf(d,i)})(c,l);var r,p,a,f=(p=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 d,i=Wu(p);if(a){var s=Wu(this).constructor;d=Reflect.construct(i,arguments,s)}else d=i.apply(this,arguments);return function(v,T){if(T&&(ff(T)==="object"||typeof T=="function"))return T;if(T!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(E){if(E===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return E}(v)}(this,d)});function c(){var d;return function(i,s){if(!(i instanceof s))throw new TypeError("Cannot call a class as a function")}(this,c),(d=f.call(this)).stateType=me.BASIC,d}return r=c,Object.defineProperty(r,"prototype",{writable:!1}),r}(me);function pf(l){return pf=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},pf(l)}function df(l,r){return df=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},df(l,r)}function Dd(l,r){if(r&&(pf(r)==="object"||typeof r=="function"))return r;if(r!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Cd(l)}function Cd(l){if(l===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return l}function Xu(l){return Xu=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Xu(l)}var ca=function(l){(function(d,i){if(typeof i!="function"&&i!==null)throw new TypeError("Super expression must either be null or a function");d.prototype=Object.create(i&&i.prototype,{constructor:{value:d,writable:!0,configurable:!0}}),Object.defineProperty(d,"prototype",{writable:!1}),i&&df(d,i)})(c,l);var r,p,a,f=(p=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 d,i=Xu(p);if(a){var s=Xu(this).constructor;d=Reflect.construct(i,arguments,s)}else d=i.apply(this,arguments);return Dd(this,d)});function c(){var d;return function(i,s){if(!(i instanceof s))throw new TypeError("Cannot call a class as a function")}(this,c),(d=f.call(this)).decision=-1,d.nonGreedy=!1,Dd(d,Cd(d))}return r=c,Object.defineProperty(r,"prototype",{writable:!1}),r}(me);function yf(l){return yf=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},yf(l)}function mf(l,r){return mf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},mf(l,r)}function kd(l,r){if(r&&(yf(r)==="object"||typeof r=="function"))return r;if(r!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Rd(l)}function Rd(l){if(l===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return l}function qu(l){return qu=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},qu(l)}var la=function(l){(function(d,i){if(typeof i!="function"&&i!==null)throw new TypeError("Super expression must either be null or a function");d.prototype=Object.create(i&&i.prototype,{constructor:{value:d,writable:!0,configurable:!0}}),Object.defineProperty(d,"prototype",{writable:!1}),i&&mf(d,i)})(c,l);var r,p,a,f=(p=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 d,i=qu(p);if(a){var s=qu(this).constructor;d=Reflect.construct(i,arguments,s)}else d=i.apply(this,arguments);return kd(this,d)});function c(){var d;return function(i,s){if(!(i instanceof s))throw new TypeError("Cannot call a class as a function")}(this,c),(d=f.call(this)).endState=null,kd(d,Rd(d))}return r=c,Object.defineProperty(r,"prototype",{writable:!1}),r}(ca);function _f(l){return _f=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},_f(l)}function gf(l,r){return gf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},gf(l,r)}function wd(l,r){if(r&&(_f(r)==="object"||typeof r=="function"))return r;if(r!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Nd(l)}function Nd(l){if(l===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return l}function Yu(l){return Yu=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Yu(l)}var bf=function(l){(function(d,i){if(typeof i!="function"&&i!==null)throw new TypeError("Super expression must either be null or a function");d.prototype=Object.create(i&&i.prototype,{constructor:{value:d,writable:!0,configurable:!0}}),Object.defineProperty(d,"prototype",{writable:!1}),i&&gf(d,i)})(c,l);var r,p,a,f=(p=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 d,i=Yu(p);if(a){var s=Yu(this).constructor;d=Reflect.construct(i,arguments,s)}else d=i.apply(this,arguments);return wd(this,d)});function c(){var d;return function(i,s){if(!(i instanceof s))throw new TypeError("Cannot call a class as a function")}(this,c),(d=f.call(this)).stateType=me.BLOCK_END,d.startState=null,wd(d,Nd(d))}return r=c,Object.defineProperty(r,"prototype",{writable:!1}),r}(me);function vf(l){return vf=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},vf(l)}function Ef(l,r){return Ef=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},Ef(l,r)}function Pd(l,r){if(r&&(vf(r)==="object"||typeof r=="function"))return r;if(r!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Id(l)}function Id(l){if(l===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return l}function Ju(l){return Ju=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Ju(l)}var fa=function(l){(function(d,i){if(typeof i!="function"&&i!==null)throw new TypeError("Super expression must either be null or a function");d.prototype=Object.create(i&&i.prototype,{constructor:{value:d,writable:!0,configurable:!0}}),Object.defineProperty(d,"prototype",{writable:!1}),i&&Ef(d,i)})(c,l);var r,p,a,f=(p=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 d,i=Ju(p);if(a){var s=Ju(this).constructor;d=Reflect.construct(i,arguments,s)}else d=i.apply(this,arguments);return Pd(this,d)});function c(){var d;return function(i,s){if(!(i instanceof s))throw new TypeError("Cannot call a class as a function")}(this,c),(d=f.call(this)).stateType=me.LOOP_END,d.loopBackState=null,Pd(d,Id(d))}return r=c,Object.defineProperty(r,"prototype",{writable:!1}),r}(me);function Sf(l){return Sf=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Sf(l)}function Tf(l,r){return Tf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},Tf(l,r)}function Fd(l,r){if(r&&(Sf(r)==="object"||typeof r=="function"))return r;if(r!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Ld(l)}function Ld(l){if(l===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return l}function Zu(l){return Zu=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Zu(l)}var Md=function(l){(function(d,i){if(typeof i!="function"&&i!==null)throw new TypeError("Super expression must either be null or a function");d.prototype=Object.create(i&&i.prototype,{constructor:{value:d,writable:!0,configurable:!0}}),Object.defineProperty(d,"prototype",{writable:!1}),i&&Tf(d,i)})(c,l);var r,p,a,f=(p=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 d,i=Zu(p);if(a){var s=Zu(this).constructor;d=Reflect.construct(i,arguments,s)}else d=i.apply(this,arguments);return Fd(this,d)});function c(){var d;return function(i,s){if(!(i instanceof s))throw new TypeError("Cannot call a class as a function")}(this,c),(d=f.call(this)).stateType=me.RULE_START,d.stopState=null,d.isPrecedenceRule=!1,Fd(d,Ld(d))}return r=c,Object.defineProperty(r,"prototype",{writable:!1}),r}(me);function Af(l){return Af=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Af(l)}function xf(l,r){return xf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},xf(l,r)}function Bd(l,r){if(r&&(Af(r)==="object"||typeof r=="function"))return r;if(r!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Ud(l)}function Ud(l){if(l===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return l}function Qu(l){return Qu=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Qu(l)}var m0=function(l){(function(d,i){if(typeof i!="function"&&i!==null)throw new TypeError("Super expression must either be null or a function");d.prototype=Object.create(i&&i.prototype,{constructor:{value:d,writable:!0,configurable:!0}}),Object.defineProperty(d,"prototype",{writable:!1}),i&&xf(d,i)})(c,l);var r,p,a,f=(p=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 d,i=Qu(p);if(a){var s=Qu(this).constructor;d=Reflect.construct(i,arguments,s)}else d=i.apply(this,arguments);return Bd(this,d)});function c(){var d;return function(i,s){if(!(i instanceof s))throw new TypeError("Cannot call a class as a function")}(this,c),(d=f.call(this)).stateType=me.TOKEN_START,Bd(d,Ud(d))}return r=c,Object.defineProperty(r,"prototype",{writable:!1}),r}(ca);function Of(l){return Of=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Of(l)}function Df(l,r){return Df=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},Df(l,r)}function Vd(l,r){if(r&&(Of(r)==="object"||typeof r=="function"))return r;if(r!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return jd(l)}function jd(l){if(l===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return l}function ec(l){return ec=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},ec(l)}var Hd=function(l){(function(d,i){if(typeof i!="function"&&i!==null)throw new TypeError("Super expression must either be null or a function");d.prototype=Object.create(i&&i.prototype,{constructor:{value:d,writable:!0,configurable:!0}}),Object.defineProperty(d,"prototype",{writable:!1}),i&&Df(d,i)})(c,l);var r,p,a,f=(p=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 d,i=ec(p);if(a){var s=ec(this).constructor;d=Reflect.construct(i,arguments,s)}else d=i.apply(this,arguments);return Vd(this,d)});function c(){var d;return function(i,s){if(!(i instanceof s))throw new TypeError("Cannot call a class as a function")}(this,c),(d=f.call(this)).stateType=me.PLUS_LOOP_BACK,Vd(d,jd(d))}return r=c,Object.defineProperty(r,"prototype",{writable:!1}),r}(ca);function Cf(l){return Cf=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Cf(l)}function kf(l,r){return kf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},kf(l,r)}function Gd(l,r){if(r&&(Cf(r)==="object"||typeof r=="function"))return r;if(r!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Kd(l)}function Kd(l){if(l===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return l}function tc(l){return tc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},tc(l)}var Rf=function(l){(function(d,i){if(typeof i!="function"&&i!==null)throw new TypeError("Super expression must either be null or a function");d.prototype=Object.create(i&&i.prototype,{constructor:{value:d,writable:!0,configurable:!0}}),Object.defineProperty(d,"prototype",{writable:!1}),i&&kf(d,i)})(c,l);var r,p,a,f=(p=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 d,i=tc(p);if(a){var s=tc(this).constructor;d=Reflect.construct(i,arguments,s)}else d=i.apply(this,arguments);return Gd(this,d)});function c(){var d;return function(i,s){if(!(i instanceof s))throw new TypeError("Cannot call a class as a function")}(this,c),(d=f.call(this)).stateType=me.STAR_LOOP_BACK,Gd(d,Kd(d))}return r=c,Object.defineProperty(r,"prototype",{writable:!1}),r}(me);function wf(l){return wf=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},wf(l)}function Nf(l,r){return Nf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},Nf(l,r)}function zd(l,r){if(r&&(wf(r)==="object"||typeof r=="function"))return r;if(r!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return $d(l)}function $d(l){if(l===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return l}function nc(l){return nc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},nc(l)}var Mo=function(l){(function(d,i){if(typeof i!="function"&&i!==null)throw new TypeError("Super expression must either be null or a function");d.prototype=Object.create(i&&i.prototype,{constructor:{value:d,writable:!0,configurable:!0}}),Object.defineProperty(d,"prototype",{writable:!1}),i&&Nf(d,i)})(c,l);var r,p,a,f=(p=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 d,i=nc(p);if(a){var s=nc(this).constructor;d=Reflect.construct(i,arguments,s)}else d=i.apply(this,arguments);return zd(this,d)});function c(){var d;return function(i,s){if(!(i instanceof s))throw new TypeError("Cannot call a class as a function")}(this,c),(d=f.call(this)).stateType=me.STAR_LOOP_ENTRY,d.loopBackState=null,d.isPrecedenceDecision=null,zd(d,$d(d))}return r=c,Object.defineProperty(r,"prototype",{writable:!1}),r}(ca);function Pf(l){return Pf=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Pf(l)}function If(l,r){return If=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},If(l,r)}function Wd(l,r){if(r&&(Pf(r)==="object"||typeof r=="function"))return r;if(r!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Xd(l)}function Xd(l){if(l===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return l}function rc(l){return rc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},rc(l)}var Ff=function(l){(function(d,i){if(typeof i!="function"&&i!==null)throw new TypeError("Super expression must either be null or a function");d.prototype=Object.create(i&&i.prototype,{constructor:{value:d,writable:!0,configurable:!0}}),Object.defineProperty(d,"prototype",{writable:!1}),i&&If(d,i)})(c,l);var r,p,a,f=(p=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 d,i=rc(p);if(a){var s=rc(this).constructor;d=Reflect.construct(i,arguments,s)}else d=i.apply(this,arguments);return Wd(this,d)});function c(){var d;return function(i,s){if(!(i instanceof s))throw new TypeError("Cannot call a class as a function")}(this,c),(d=f.call(this)).stateType=me.PLUS_BLOCK_START,d.loopBackState=null,Wd(d,Xd(d))}return r=c,Object.defineProperty(r,"prototype",{writable:!1}),r}(la);function Lf(l){return Lf=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Lf(l)}function Mf(l,r){return Mf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},Mf(l,r)}function qd(l,r){if(r&&(Lf(r)==="object"||typeof r=="function"))return r;if(r!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Yd(l)}function Yd(l){if(l===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return l}function ic(l){return ic=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},ic(l)}var Bf=function(l){(function(d,i){if(typeof i!="function"&&i!==null)throw new TypeError("Super expression must either be null or a function");d.prototype=Object.create(i&&i.prototype,{constructor:{value:d,writable:!0,configurable:!0}}),Object.defineProperty(d,"prototype",{writable:!1}),i&&Mf(d,i)})(c,l);var r,p,a,f=(p=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 d,i=ic(p);if(a){var s=ic(this).constructor;d=Reflect.construct(i,arguments,s)}else d=i.apply(this,arguments);return qd(this,d)});function c(){var d;return function(i,s){if(!(i instanceof s))throw new TypeError("Cannot call a class as a function")}(this,c),(d=f.call(this)).stateType=me.STAR_BLOCK_START,qd(d,Yd(d))}return r=c,Object.defineProperty(r,"prototype",{writable:!1}),r}(la);function Uf(l){return Uf=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Uf(l)}function Vf(l,r){return Vf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},Vf(l,r)}function Jd(l,r){if(r&&(Uf(r)==="object"||typeof r=="function"))return r;if(r!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Zd(l)}function Zd(l){if(l===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return l}function oc(l){return oc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},oc(l)}var Qd=function(l){(function(d,i){if(typeof i!="function"&&i!==null)throw new TypeError("Super expression must either be null or a function");d.prototype=Object.create(i&&i.prototype,{constructor:{value:d,writable:!0,configurable:!0}}),Object.defineProperty(d,"prototype",{writable:!1}),i&&Vf(d,i)})(c,l);var r,p,a,f=(p=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 d,i=oc(p);if(a){var s=oc(this).constructor;d=Reflect.construct(i,arguments,s)}else d=i.apply(this,arguments);return Jd(this,d)});function c(){var d;return function(i,s){if(!(i instanceof s))throw new TypeError("Cannot call a class as a function")}(this,c),(d=f.call(this)).stateType=me.BLOCK_START,Jd(d,Zd(d))}return r=c,Object.defineProperty(r,"prototype",{writable:!1}),r}(la);function ha(l){return ha=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},ha(l)}function _0(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(ha(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(ha(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),ha(f)==="symbol"?f:String(f)),a)}var f}function jf(l,r){return jf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},jf(l,r)}function ac(l){return ac=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},ac(l)}var Hf=function(l){(function(i,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(s&&s.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),s&&jf(i,s)})(d,l);var r,p,a,f,c=(a=d,f=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 i,s=ac(a);if(f){var v=ac(this).constructor;i=Reflect.construct(s,arguments,v)}else i=s.apply(this,arguments);return function(T,E){if(E&&(ha(E)==="object"||typeof E=="function"))return E;if(E!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(R){if(R===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return R}(T)}(this,i)});function d(i,s){var v;return function(T,E){if(!(T instanceof E))throw new TypeError("Cannot call a class as a function")}(this,d),(v=c.call(this,i)).label_=s,v.label=v.makeLabel(),v.serializationType=pe.ATOM,v}return r=d,(p=[{key:"makeLabel",value:function(){var i=new ne;return i.addOne(this.label_),i}},{key:"matches",value:function(i,s,v){return this.label_===i}},{key:"toString",value:function(){return this.label_}}])&&_0(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),d}(pe);function pa(l){return pa=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},pa(l)}function g0(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(pa(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(pa(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),pa(f)==="symbol"?f:String(f)),a)}var f}function Gf(l,r){return Gf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},Gf(l,r)}function sc(l){return sc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},sc(l)}var b0=function(l){(function(i,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(s&&s.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),s&&Gf(i,s)})(d,l);var r,p,a,f,c=(a=d,f=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 i,s=sc(a);if(f){var v=sc(this).constructor;i=Reflect.construct(s,arguments,v)}else i=s.apply(this,arguments);return function(T,E){if(E&&(pa(E)==="object"||typeof E=="function"))return E;if(E!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(R){if(R===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return R}(T)}(this,i)});function d(i,s,v){var T;return function(E,R){if(!(E instanceof R))throw new TypeError("Cannot call a class as a function")}(this,d),(T=c.call(this,i)).serializationType=pe.RANGE,T.start=s,T.stop=v,T.label=T.makeLabel(),T}return r=d,(p=[{key:"makeLabel",value:function(){var i=new ne;return i.addRange(this.start,this.stop),i}},{key:"matches",value:function(i,s,v){return i>=this.start&&i<=this.stop}},{key:"toString",value:function(){return"'"+String.fromCharCode(this.start)+"'..'"+String.fromCharCode(this.stop)+"'"}}])&&g0(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),d}(pe);function da(l){return da=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},da(l)}function v0(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(da(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(da(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),da(f)==="symbol"?f:String(f)),a)}var f}function Kf(l,r){return Kf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},Kf(l,r)}function uc(l){return uc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},uc(l)}var ey=function(l){(function(i,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(s&&s.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),s&&Kf(i,s)})(d,l);var r,p,a,f,c=(a=d,f=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 i,s=uc(a);if(f){var v=uc(this).constructor;i=Reflect.construct(s,arguments,v)}else i=s.apply(this,arguments);return function(T,E){if(E&&(da(E)==="object"||typeof E=="function"))return E;if(E!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(R){if(R===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return R}(T)}(this,i)});function d(i,s,v,T){var E;return function(R,ee){if(!(R instanceof ee))throw new TypeError("Cannot call a class as a function")}(this,d),(E=c.call(this,i)).serializationType=pe.ACTION,E.ruleIndex=s,E.actionIndex=v===void 0?-1:v,E.isCtxDependent=T!==void 0&&T,E.isEpsilon=!0,E}return r=d,(p=[{key:"matches",value:function(i,s,v){return!1}},{key:"toString",value:function(){return"action_"+this.ruleIndex+":"+this.actionIndex}}])&&v0(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),d}(pe);function ya(l){return ya=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},ya(l)}function E0(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(ya(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(ya(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),ya(f)==="symbol"?f:String(f)),a)}var f}function zf(l,r){return zf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},zf(l,r)}function cc(l){return cc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},cc(l)}var Ts=function(l){(function(i,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(s&&s.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),s&&zf(i,s)})(d,l);var r,p,a,f,c=(a=d,f=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 i,s=cc(a);if(f){var v=cc(this).constructor;i=Reflect.construct(s,arguments,v)}else i=s.apply(this,arguments);return function(T,E){if(E&&(ya(E)==="object"||typeof E=="function"))return E;if(E!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(R){if(R===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return R}(T)}(this,i)});function d(i,s){var v;return function(T,E){if(!(T instanceof E))throw new TypeError("Cannot call a class as a function")}(this,d),(v=c.call(this,i)).serializationType=pe.EPSILON,v.isEpsilon=!0,v.outermostPrecedenceReturn=s,v}return r=d,(p=[{key:"matches",value:function(i,s,v){return!1}},{key:"toString",value:function(){return"epsilon"}}])&&E0(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),d}(pe);function ma(l){return ma=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},ma(l)}function S0(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(ma(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(ma(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),ma(f)==="symbol"?f:String(f)),a)}var f}function $f(l,r){return $f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},$f(l,r)}function lc(l){return lc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},lc(l)}var ty=function(l){(function(i,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(s&&s.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),s&&$f(i,s)})(d,l);var r,p,a,f,c=(a=d,f=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 i,s=lc(a);if(f){var v=lc(this).constructor;i=Reflect.construct(s,arguments,v)}else i=s.apply(this,arguments);return function(T,E){if(E&&(ma(E)==="object"||typeof E=="function"))return E;if(E!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(R){if(R===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return R}(T)}(this,i)});function d(i,s,v){var T;return function(E,R){if(!(E instanceof R))throw new TypeError("Cannot call a class as a function")}(this,d),(T=c.call(this)).ruleIndex=i===void 0?-1:i,T.predIndex=s===void 0?-1:s,T.isCtxDependent=v!==void 0&&v,T}return r=d,(p=[{key:"evaluate",value:function(i,s){var v=this.isCtxDependent?s:null;return i.sempred(v,this.ruleIndex,this.predIndex)}},{key:"updateHashCode",value:function(i){i.update(this.ruleIndex,this.predIndex,this.isCtxDependent)}},{key:"equals",value:function(i){return this===i||i instanceof d&&this.ruleIndex===i.ruleIndex&&this.predIndex===i.predIndex&&this.isCtxDependent===i.isCtxDependent}},{key:"toString",value:function(){return"{"+this.ruleIndex+":"+this.predIndex+"}?"}}])&&S0(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),d}(K);function _a(l){return _a=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},_a(l)}function T0(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(_a(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(_a(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),_a(f)==="symbol"?f:String(f)),a)}var f}function Wf(l,r){return Wf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},Wf(l,r)}function fc(l){return fc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},fc(l)}K.NONE=new ty;var ny=function(l){(function(i,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(s&&s.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),s&&Wf(i,s)})(d,l);var r,p,a,f,c=(a=d,f=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 i,s=fc(a);if(f){var v=fc(this).constructor;i=Reflect.construct(s,arguments,v)}else i=s.apply(this,arguments);return function(T,E){if(E&&(_a(E)==="object"||typeof E=="function"))return E;if(E!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(R){if(R===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return R}(T)}(this,i)});function d(i,s,v,T){var E;return function(R,ee){if(!(R instanceof ee))throw new TypeError("Cannot call a class as a function")}(this,d),(E=c.call(this,i)).serializationType=pe.PREDICATE,E.ruleIndex=s,E.predIndex=v,E.isCtxDependent=T,E.isEpsilon=!0,E}return r=d,(p=[{key:"matches",value:function(i,s,v){return!1}},{key:"getPredicate",value:function(){return new ty(this.ruleIndex,this.predIndex,this.isCtxDependent)}},{key:"toString",value:function(){return"pred_"+this.ruleIndex+":"+this.predIndex}}])&&T0(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),d}(co);function ga(l){return ga=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},ga(l)}function A0(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(ga(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(ga(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),ga(f)==="symbol"?f:String(f)),a)}var f}function Xf(l,r){return Xf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},Xf(l,r)}function hc(l){return hc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},hc(l)}var ry=function(l){(function(i,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(s&&s.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),s&&Xf(i,s)})(d,l);var r,p,a,f,c=(a=d,f=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 i,s=hc(a);if(f){var v=hc(this).constructor;i=Reflect.construct(s,arguments,v)}else i=s.apply(this,arguments);return function(T,E){if(E&&(ga(E)==="object"||typeof E=="function"))return E;if(E!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(R){if(R===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return R}(T)}(this,i)});function d(i){var s;return function(v,T){if(!(v instanceof T))throw new TypeError("Cannot call a class as a function")}(this,d),(s=c.call(this)).precedence=i===void 0?0:i,s}return r=d,(p=[{key:"evaluate",value:function(i,s){return i.precpred(s,this.precedence)}},{key:"evalPrecedence",value:function(i,s){return i.precpred(s,this.precedence)?K.NONE:null}},{key:"compareTo",value:function(i){return this.precedence-i.precedence}},{key:"updateHashCode",value:function(i){i.update(this.precedence)}},{key:"equals",value:function(i){return this===i||i instanceof d&&this.precedence===i.precedence}},{key:"toString",value:function(){return"{"+this.precedence+">=prec}?"}}])&&A0(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),d}(K);function ba(l){return ba=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},ba(l)}function x0(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(ba(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(ba(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),ba(f)==="symbol"?f:String(f)),a)}var f}function qf(l,r){return qf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},qf(l,r)}function pc(l){return pc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},pc(l)}K.PrecedencePredicate=ry;var O0=function(l){(function(i,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(s&&s.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),s&&qf(i,s)})(d,l);var r,p,a,f,c=(a=d,f=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 i,s=pc(a);if(f){var v=pc(this).constructor;i=Reflect.construct(s,arguments,v)}else i=s.apply(this,arguments);return function(T,E){if(E&&(ba(E)==="object"||typeof E=="function"))return E;if(E!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(R){if(R===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return R}(T)}(this,i)});function d(i,s){var v;return function(T,E){if(!(T instanceof E))throw new TypeError("Cannot call a class as a function")}(this,d),(v=c.call(this,i)).serializationType=pe.PRECEDENCE,v.precedence=s,v.isEpsilon=!0,v}return r=d,(p=[{key:"matches",value:function(i,s,v){return!1}},{key:"getPredicate",value:function(){return new ry(this.precedence)}},{key:"toString",value:function(){return this.precedence+" >= _p"}}])&&x0(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),d}(co);function As(l){return As=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},As(l)}function iy(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(As(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(As(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),As(f)==="symbol"?f:String(f)),a)}var f}function D0(l,r,p){return r&&iy(l.prototype,r),p&&iy(l,p),Object.defineProperty(l,"prototype",{writable:!1}),l}var xs=D0(function l(r){(function(p,a){if(!(p instanceof a))throw new TypeError("Cannot call a class as a function")})(this,l),r===void 0&&(r=null),this.readOnly=!1,this.verifyATN=r===null||r.verifyATN,this.generateRuleBypassTransitions=r!==null&&r.generateRuleBypassTransitions});xs.defaultOptions=new xs,xs.defaultOptions.readOnly=!0;function Os(l){return Os=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Os(l)}function C0(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(Os(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(Os(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Os(f)==="symbol"?f:String(f)),a)}var f}var Zi=function(){function l(a){(function(f,c){if(!(f instanceof c))throw new TypeError("Cannot call a class as a function")})(this,l),this.actionType=a,this.isPositionDependent=!1}var r,p;return r=l,(p=[{key:"hashCode",value:function(){var a=new x;return this.updateHashCode(a),a.finish()}},{key:"updateHashCode",value:function(a){a.update(this.actionType)}},{key:"equals",value:function(a){return this===a}}])&&C0(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),l}();function va(l){return va=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},va(l)}function k0(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(va(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(va(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),va(f)==="symbol"?f:String(f)),a)}var f}function Yf(l,r){return Yf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},Yf(l,r)}function dc(l){return dc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},dc(l)}var Jf=function(l){(function(i,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(s&&s.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),s&&Yf(i,s)})(d,l);var r,p,a,f,c=(a=d,f=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 i,s=dc(a);if(f){var v=dc(this).constructor;i=Reflect.construct(s,arguments,v)}else i=s.apply(this,arguments);return function(T,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(R){if(R===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return R}(T)}(this,i)});function d(){return function(i,s){if(!(i instanceof s))throw new TypeError("Cannot call a class as a function")}(this,d),c.call(this,6)}return r=d,(p=[{key:"execute",value:function(i){i.skip()}},{key:"toString",value:function(){return"skip"}}])&&k0(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),d}(Zi);function Ea(l){return Ea=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Ea(l)}function R0(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(Ea(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(Ea(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Ea(f)==="symbol"?f:String(f)),a)}var f}function Zf(l,r){return Zf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},Zf(l,r)}function yc(l){return yc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},yc(l)}Jf.INSTANCE=new Jf;var w0=function(l){(function(i,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(s&&s.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),s&&Zf(i,s)})(d,l);var r,p,a,f,c=(a=d,f=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 i,s=yc(a);if(f){var v=yc(this).constructor;i=Reflect.construct(s,arguments,v)}else i=s.apply(this,arguments);return function(T,E){if(E&&(Ea(E)==="object"||typeof E=="function"))return E;if(E!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(R){if(R===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return R}(T)}(this,i)});function d(i){var s;return function(v,T){if(!(v instanceof T))throw new TypeError("Cannot call a class as a function")}(this,d),(s=c.call(this,0)).channel=i,s}return r=d,(p=[{key:"execute",value:function(i){i._channel=this.channel}},{key:"updateHashCode",value:function(i){i.update(this.actionType,this.channel)}},{key:"equals",value:function(i){return this===i||i instanceof d&&this.channel===i.channel}},{key:"toString",value:function(){return"channel("+this.channel+")"}}])&&R0(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),d}(Zi);function Sa(l){return Sa=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Sa(l)}function N0(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(Sa(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(Sa(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Sa(f)==="symbol"?f:String(f)),a)}var f}function Qf(l,r){return Qf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},Qf(l,r)}function mc(l){return mc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},mc(l)}var P0=function(l){(function(i,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(s&&s.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),s&&Qf(i,s)})(d,l);var r,p,a,f,c=(a=d,f=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 i,s=mc(a);if(f){var v=mc(this).constructor;i=Reflect.construct(s,arguments,v)}else i=s.apply(this,arguments);return function(T,E){if(E&&(Sa(E)==="object"||typeof E=="function"))return E;if(E!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(R){if(R===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return R}(T)}(this,i)});function d(i,s){var v;return function(T,E){if(!(T instanceof E))throw new TypeError("Cannot call a class as a function")}(this,d),(v=c.call(this,1)).ruleIndex=i,v.actionIndex=s,v.isPositionDependent=!0,v}return r=d,(p=[{key:"execute",value:function(i){i.action(null,this.ruleIndex,this.actionIndex)}},{key:"updateHashCode",value:function(i){i.update(this.actionType,this.ruleIndex,this.actionIndex)}},{key:"equals",value:function(i){return this===i||i instanceof d&&this.ruleIndex===i.ruleIndex&&this.actionIndex===i.actionIndex}}])&&N0(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),d}(Zi);function Ta(l){return Ta=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Ta(l)}function I0(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(Ta(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(Ta(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Ta(f)==="symbol"?f:String(f)),a)}var f}function eh(l,r){return eh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},eh(l,r)}function _c(l){return _c=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},_c(l)}var th=function(l){(function(i,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(s&&s.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),s&&eh(i,s)})(d,l);var r,p,a,f,c=(a=d,f=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 i,s=_c(a);if(f){var v=_c(this).constructor;i=Reflect.construct(s,arguments,v)}else i=s.apply(this,arguments);return function(T,E){if(E&&(Ta(E)==="object"||typeof E=="function"))return E;if(E!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(R){if(R===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return R}(T)}(this,i)});function d(){return function(i,s){if(!(i instanceof s))throw new TypeError("Cannot call a class as a function")}(this,d),c.call(this,3)}return r=d,(p=[{key:"execute",value:function(i){i.more()}},{key:"toString",value:function(){return"more"}}])&&I0(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),d}(Zi);function Aa(l){return Aa=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Aa(l)}function F0(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(Aa(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(Aa(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Aa(f)==="symbol"?f:String(f)),a)}var f}function nh(l,r){return nh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},nh(l,r)}function gc(l){return gc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},gc(l)}th.INSTANCE=new th;var L0=function(l){(function(i,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(s&&s.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),s&&nh(i,s)})(d,l);var r,p,a,f,c=(a=d,f=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 i,s=gc(a);if(f){var v=gc(this).constructor;i=Reflect.construct(s,arguments,v)}else i=s.apply(this,arguments);return function(T,E){if(E&&(Aa(E)==="object"||typeof E=="function"))return E;if(E!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(R){if(R===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return R}(T)}(this,i)});function d(i){var s;return function(v,T){if(!(v instanceof T))throw new TypeError("Cannot call a class as a function")}(this,d),(s=c.call(this,7)).type=i,s}return r=d,(p=[{key:"execute",value:function(i){i.type=this.type}},{key:"updateHashCode",value:function(i){i.update(this.actionType,this.type)}},{key:"equals",value:function(i){return this===i||i instanceof d&&this.type===i.type}},{key:"toString",value:function(){return"type("+this.type+")"}}])&&F0(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),d}(Zi);function xa(l){return xa=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},xa(l)}function M0(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(xa(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(xa(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),xa(f)==="symbol"?f:String(f)),a)}var f}function rh(l,r){return rh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},rh(l,r)}function bc(l){return bc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},bc(l)}var B0=function(l){(function(i,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(s&&s.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),s&&rh(i,s)})(d,l);var r,p,a,f,c=(a=d,f=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 i,s=bc(a);if(f){var v=bc(this).constructor;i=Reflect.construct(s,arguments,v)}else i=s.apply(this,arguments);return function(T,E){if(E&&(xa(E)==="object"||typeof E=="function"))return E;if(E!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(R){if(R===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return R}(T)}(this,i)});function d(i){var s;return function(v,T){if(!(v instanceof T))throw new TypeError("Cannot call a class as a function")}(this,d),(s=c.call(this,5)).mode=i,s}return r=d,(p=[{key:"execute",value:function(i){i.pushMode(this.mode)}},{key:"updateHashCode",value:function(i){i.update(this.actionType,this.mode)}},{key:"equals",value:function(i){return this===i||i instanceof d&&this.mode===i.mode}},{key:"toString",value:function(){return"pushMode("+this.mode+")"}}])&&M0(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),d}(Zi);function Oa(l){return Oa=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Oa(l)}function U0(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(Oa(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(Oa(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Oa(f)==="symbol"?f:String(f)),a)}var f}function ih(l,r){return ih=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},ih(l,r)}function vc(l){return vc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},vc(l)}var oh=function(l){(function(i,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(s&&s.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),s&&ih(i,s)})(d,l);var r,p,a,f,c=(a=d,f=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 i,s=vc(a);if(f){var v=vc(this).constructor;i=Reflect.construct(s,arguments,v)}else i=s.apply(this,arguments);return function(T,E){if(E&&(Oa(E)==="object"||typeof E=="function"))return E;if(E!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(R){if(R===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return R}(T)}(this,i)});function d(){return function(i,s){if(!(i instanceof s))throw new TypeError("Cannot call a class as a function")}(this,d),c.call(this,4)}return r=d,(p=[{key:"execute",value:function(i){i.popMode()}},{key:"toString",value:function(){return"popMode"}}])&&U0(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),d}(Zi);function Da(l){return Da=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Da(l)}function V0(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(Da(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(Da(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Da(f)==="symbol"?f:String(f)),a)}var f}function ah(l,r){return ah=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},ah(l,r)}function Ec(l){return Ec=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Ec(l)}oh.INSTANCE=new oh;var j0=function(l){(function(i,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(s&&s.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),s&&ah(i,s)})(d,l);var r,p,a,f,c=(a=d,f=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 i,s=Ec(a);if(f){var v=Ec(this).constructor;i=Reflect.construct(s,arguments,v)}else i=s.apply(this,arguments);return function(T,E){if(E&&(Da(E)==="object"||typeof E=="function"))return E;if(E!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(R){if(R===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return R}(T)}(this,i)});function d(i){var s;return function(v,T){if(!(v instanceof T))throw new TypeError("Cannot call a class as a function")}(this,d),(s=c.call(this,2)).mode=i,s}return r=d,(p=[{key:"execute",value:function(i){i.mode(this.mode)}},{key:"updateHashCode",value:function(i){i.update(this.actionType,this.mode)}},{key:"equals",value:function(i){return this===i||i instanceof d&&this.mode===i.mode}},{key:"toString",value:function(){return"mode("+this.mode+")"}}])&&V0(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),d}(Zi);function Ds(l){return Ds=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Ds(l)}function H0(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(Ds(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(Ds(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Ds(f)==="symbol"?f:String(f)),a)}var f}function Sc(l,r){var p=[];return p[l-1]=r,p.map(function(a){return r})}var sh=function(){function l(a){(function(f,c){if(!(f instanceof c))throw new TypeError("Cannot call a class as a function")})(this,l),a==null&&(a=xs.defaultOptions),this.deserializationOptions=a,this.stateFactories=null,this.actionFactories=null}var r,p;return r=l,p=[{key:"deserialize",value:function(a){var f=this.reset(a);this.checkVersion(f),f&&this.skipUUID();var c=this.readATN();this.readStates(c,f),this.readRules(c,f),this.readModes(c);var d=[];return this.readSets(c,d,this.readInt.bind(this)),f&&this.readSets(c,d,this.readInt32.bind(this)),this.readEdges(c,d),this.readDecisions(c),this.readLexerActions(c,f),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 f=a.split("").map(function(c){var d=c.charCodeAt(0);return d>1?d-2:d+65534});return f[0]=a.charCodeAt(0),this.data=f,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 f=this.readInt();if(!a&&f!==4)throw"Could not deserialize ATN with version "+f+" (expected 4)."}},{key:"readATN",value:function(){var a=this.readInt(),f=this.readInt();return new dn(a,f)}},{key:"readStates",value:function(a,f){for(var c,d,i,s=[],v=[],T=this.readInt(),E=0;E<T;E++){var R=this.readInt();if(R!==me.INVALID_TYPE){var ee=this.readInt();f&&ee===65535&&(ee=-1);var Ce=this.stateFactory(R,ee);if(R===me.LOOP_END){var xe=this.readInt();s.push([Ce,xe])}else if(Ce instanceof la){var Ge=this.readInt();v.push([Ce,Ge])}a.addState(Ce)}else a.addState(null)}for(c=0;c<s.length;c++)(d=s[c])[0].loopBackState=a.states[d[1]];for(c=0;c<v.length;c++)(d=v[c])[0].endState=a.states[d[1]];var at=this.readInt();for(c=0;c<at;c++)i=this.readInt(),a.states[i].nonGreedy=!0;var $e=this.readInt();for(c=0;c<$e;c++)i=this.readInt(),a.states[i].isPrecedenceRule=!0}},{key:"readRules",value:function(a,f){var c,d=this.readInt();for(a.grammarType===0&&(a.ruleToTokenType=Sc(d,0)),a.ruleToStartState=Sc(d,0),c=0;c<d;c++){var i=this.readInt();if(a.ruleToStartState[c]=a.states[i],a.grammarType===0){var s=this.readInt();f&&s===65535&&(s=n.EOF),a.ruleToTokenType[c]=s}}for(a.ruleToStopState=Sc(d,0),c=0;c<a.states.length;c++){var v=a.states[c];v instanceof Dt&&(a.ruleToStopState[v.ruleIndex]=v,a.ruleToStartState[v.ruleIndex].stopState=v)}}},{key:"readModes",value:function(a){for(var f=this.readInt(),c=0;c<f;c++){var d=this.readInt();a.modeToStartState.push(a.states[d])}}},{key:"readSets",value:function(a,f,c){for(var d=this.readInt(),i=0;i<d;i++){var s=new ne;f.push(s);var v=this.readInt();this.readInt()!==0&&s.addOne(-1);for(var T=0;T<v;T++){var E=c(),R=c();s.addRange(E,R)}}}},{key:"readEdges",value:function(a,f){var c,d,i,s,v,T=this.readInt();for(c=0;c<T;c++){var E=this.readInt(),R=this.readInt(),ee=this.readInt(),Ce=this.readInt(),xe=this.readInt(),Ge=this.readInt();s=this.edgeFactory(a,ee,E,R,Ce,xe,Ge,f),a.states[E].addTransition(s)}for(c=0;c<a.states.length;c++)for(i=a.states[c],d=0;d<i.transitions.length;d++){var at=i.transitions[d];if(at instanceof Zt){var $e=-1;a.ruleToStartState[at.target.ruleIndex].isPrecedenceRule&&at.precedence===0&&($e=at.target.ruleIndex),s=new Ts(at.followState,$e),a.ruleToStopState[at.target.ruleIndex].addTransition(s)}}for(c=0;c<a.states.length;c++){if((i=a.states[c])instanceof la){if(i.endState===null||i.endState.startState!==null)throw"IllegalState";i.endState.startState=i}if(i instanceof Hd)for(d=0;d<i.transitions.length;d++)(v=i.transitions[d].target)instanceof Ff&&(v.loopBackState=i);else if(i instanceof Rf)for(d=0;d<i.transitions.length;d++)(v=i.transitions[d].target)instanceof Mo&&(v.loopBackState=i)}}},{key:"readDecisions",value:function(a){for(var f=this.readInt(),c=0;c<f;c++){var d=this.readInt(),i=a.states[d];a.decisionToState.push(i),i.decision=c}}},{key:"readLexerActions",value:function(a,f){if(a.grammarType===0){var c=this.readInt();a.lexerActions=Sc(c,null);for(var d=0;d<c;d++){var i=this.readInt(),s=this.readInt();f&&s===65535&&(s=-1);var v=this.readInt();f&&v===65535&&(v=-1),a.lexerActions[d]=this.lexerActionFactory(i,s,v)}}}},{key:"generateRuleBypassTransitions",value:function(a){var f,c=a.ruleToStartState.length;for(f=0;f<c;f++)a.ruleToTokenType[f]=a.maxTokenType+f+1;for(f=0;f<c;f++)this.generateRuleBypassTransition(a,f)}},{key:"generateRuleBypassTransition",value:function(a,f){var c,d,i=new Qd;i.ruleIndex=f,a.addState(i);var s=new bf;s.ruleIndex=f,a.addState(s),i.endState=s,a.defineDecisionState(i),s.startState=i;var v=null,T=null;if(a.ruleToStartState[f].isPrecedenceRule){for(T=null,c=0;c<a.states.length;c++)if(d=a.states[c],this.stateIsEndStateFor(d,f)){T=d,v=d.loopBackState.transitions[0];break}if(v===null)throw"Couldn't identify final state of the precedence rule prefix section."}else T=a.ruleToStopState[f];for(c=0;c<a.states.length;c++){d=a.states[c];for(var E=0;E<d.transitions.length;E++){var R=d.transitions[E];R!==v&&R.target===T&&(R.target=s)}}for(var ee=a.ruleToStartState[f],Ce=ee.transitions.length;Ce>0;)i.addTransition(ee.transitions[Ce-1]),ee.transitions=ee.transitions.slice(-1);a.ruleToStartState[f].addTransition(new Ts(i)),s.addTransition(new Ts(T));var xe=new Od;a.addState(xe),xe.addTransition(new Hf(s,a.ruleToTokenType[f])),i.addTransition(new Ts(xe))}},{key:"stateIsEndStateFor",value:function(a,f){if(a.ruleIndex!==f||!(a instanceof Mo))return null;var c=a.transitions[a.transitions.length-1].target;return c instanceof fa&&c.epsilonOnlyTransitions&&c.transitions[0].target instanceof Dt?a:null}},{key:"markPrecedenceDecisions",value:function(a){for(var f=0;f<a.states.length;f++){var c=a.states[f];if(c instanceof Mo&&a.ruleToStartState[c.ruleIndex].isPrecedenceRule){var d=c.transitions[c.transitions.length-1].target;d instanceof fa&&d.epsilonOnlyTransitions&&d.transitions[0].target instanceof Dt&&(c.isPrecedenceDecision=!0)}}}},{key:"verifyATN",value:function(a){if(this.deserializationOptions.verifyATN)for(var f=0;f<a.states.length;f++){var c=a.states[f];if(c!==null)if(this.checkCondition(c.epsilonOnlyTransitions||c.transitions.length<=1),c instanceof Ff)this.checkCondition(c.loopBackState!==null);else if(c instanceof Mo)if(this.checkCondition(c.loopBackState!==null),this.checkCondition(c.transitions.length===2),c.transitions[0].target instanceof Bf)this.checkCondition(c.transitions[1].target instanceof fa),this.checkCondition(!c.nonGreedy);else{if(!(c.transitions[0].target instanceof fa))throw"IllegalState";this.checkCondition(c.transitions[1].target instanceof Bf),this.checkCondition(c.nonGreedy)}else c instanceof Rf?(this.checkCondition(c.transitions.length===1),this.checkCondition(c.transitions[0].target instanceof Mo)):c instanceof fa?this.checkCondition(c.loopBackState!==null):c instanceof Md?this.checkCondition(c.stopState!==null):c instanceof la?this.checkCondition(c.endState!==null):c instanceof bf?this.checkCondition(c.startState!==null):c instanceof ca?this.checkCondition(c.transitions.length<=1||c.decision>=0):this.checkCondition(c.transitions.length<=1||c instanceof Dt)}}},{key:"checkCondition",value:function(a,f){if(!a)throw f==null&&(f="IllegalState"),f}},{key:"readInt",value:function(){return this.data[this.pos++]}},{key:"readInt32",value:function(){return this.readInt()|this.readInt()<<16}},{key:"edgeFactory",value:function(a,f,c,d,i,s,v,T){var E=a.states[d];switch(f){case pe.EPSILON:return new Ts(E);case pe.RANGE:return new b0(E,v!==0?n.EOF:i,s);case pe.RULE:return new Zt(a.states[i],s,v,E);case pe.PREDICATE:return new ny(E,i,s,v!==0);case pe.PRECEDENCE:return new O0(E,i);case pe.ATOM:return new Hf(E,v!==0?n.EOF:i);case pe.ACTION:return new ey(E,i,s,v!==0);case pe.SET:return new Ti(E,T[i]);case pe.NOT_SET:return new rn(E,T[i]);case pe.WILDCARD:return new Fn(E);default:throw"The specified transition type: "+f+" is not valid."}}},{key:"stateFactory",value:function(a,f){if(this.stateFactories===null){var c=[];c[me.INVALID_TYPE]=null,c[me.BASIC]=function(){return new Od},c[me.RULE_START]=function(){return new Md},c[me.BLOCK_START]=function(){return new Qd},c[me.PLUS_BLOCK_START]=function(){return new Ff},c[me.STAR_BLOCK_START]=function(){return new Bf},c[me.TOKEN_START]=function(){return new m0},c[me.RULE_STOP]=function(){return new Dt},c[me.BLOCK_END]=function(){return new bf},c[me.STAR_LOOP_BACK]=function(){return new Rf},c[me.STAR_LOOP_ENTRY]=function(){return new Mo},c[me.PLUS_LOOP_BACK]=function(){return new Hd},c[me.LOOP_END]=function(){return new fa},this.stateFactories=c}if(a>this.stateFactories.length||this.stateFactories[a]===null)throw"The specified state type "+a+" is not valid.";var d=this.stateFactories[a]();if(d!==null)return d.ruleIndex=f,d}},{key:"lexerActionFactory",value:function(a,f,c){if(this.actionFactories===null){var d=[];d[0]=function(i,s){return new w0(i)},d[1]=function(i,s){return new P0(i,s)},d[2]=function(i,s){return new j0(i)},d[3]=function(i,s){return th.INSTANCE},d[4]=function(i,s){return oh.INSTANCE},d[5]=function(i,s){return new B0(i)},d[6]=function(i,s){return Jf.INSTANCE},d[7]=function(i,s){return new L0(i)},this.actionFactories=d}if(a>this.actionFactories.length||this.actionFactories[a]===null)throw"The specified lexer action type "+a+" is not valid.";return this.actionFactories[a](f,c)}}],p&&H0(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),l}();function Cs(l){return Cs=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Cs(l)}function G0(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(Cs(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(Cs(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Cs(f)==="symbol"?f:String(f)),a)}var f}var ks=function(){function l(){(function(a,f){if(!(a instanceof f))throw new TypeError("Cannot call a class as a function")})(this,l)}var r,p;return r=l,(p=[{key:"syntaxError",value:function(a,f,c,d,i,s){}},{key:"reportAmbiguity",value:function(a,f,c,d,i,s,v){}},{key:"reportAttemptingFullContext",value:function(a,f,c,d,i,s){}},{key:"reportContextSensitivity",value:function(a,f,c,d,i,s){}}])&&G0(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),l}();function Ca(l){return Ca=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Ca(l)}function K0(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(Ca(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(Ca(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Ca(f)==="symbol"?f:String(f)),a)}var f}function uh(l,r){return uh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},uh(l,r)}function Tc(l){return Tc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Tc(l)}var ch=function(l){(function(i,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(s&&s.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),s&&uh(i,s)})(d,l);var r,p,a,f,c=(a=d,f=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 i,s=Tc(a);if(f){var v=Tc(this).constructor;i=Reflect.construct(s,arguments,v)}else i=s.apply(this,arguments);return function(T,E){if(E&&(Ca(E)==="object"||typeof E=="function"))return E;if(E!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(R){if(R===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return R}(T)}(this,i)});function d(){return function(i,s){if(!(i instanceof s))throw new TypeError("Cannot call a class as a function")}(this,d),c.call(this)}return r=d,(p=[{key:"syntaxError",value:function(i,s,v,T,E,R){console.error("line "+v+":"+T+" "+E)}}])&&K0(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),d}(ks);function ka(l){return ka=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},ka(l)}function z0(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(ka(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(ka(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),ka(f)==="symbol"?f:String(f)),a)}var f}function lh(l,r){return lh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},lh(l,r)}function oy(l,r){if(r&&(ka(r)==="object"||typeof r=="function"))return r;if(r!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return ay(l)}function ay(l){if(l===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return l}function Ac(l){return Ac=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Ac(l)}ch.INSTANCE=new ch;var $0=function(l){(function(i,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(s&&s.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),s&&lh(i,s)})(d,l);var r,p,a,f,c=(a=d,f=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 i,s=Ac(a);if(f){var v=Ac(this).constructor;i=Reflect.construct(s,arguments,v)}else i=s.apply(this,arguments);return oy(this,i)});function d(i){var s;if(function(v,T){if(!(v instanceof T))throw new TypeError("Cannot call a class as a function")}(this,d),s=c.call(this),i===null)throw"delegates";return s.delegates=i,oy(s,ay(s))}return r=d,p=[{key:"syntaxError",value:function(i,s,v,T,E,R){this.delegates.map(function(ee){return ee.syntaxError(i,s,v,T,E,R)})}},{key:"reportAmbiguity",value:function(i,s,v,T,E,R,ee){this.delegates.map(function(Ce){return Ce.reportAmbiguity(i,s,v,T,E,R,ee)})}},{key:"reportAttemptingFullContext",value:function(i,s,v,T,E,R){this.delegates.map(function(ee){return ee.reportAttemptingFullContext(i,s,v,T,E,R)})}},{key:"reportContextSensitivity",value:function(i,s,v,T,E,R){this.delegates.map(function(ee){return ee.reportContextSensitivity(i,s,v,T,E,R)})}}],p&&z0(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),d}(ks);function Rs(l){return Rs=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Rs(l)}function W0(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(Rs(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(Rs(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Rs(f)==="symbol"?f:String(f)),a)}var f}var xc=function(){function l(){(function(a,f){if(!(a instanceof f))throw new TypeError("Cannot call a class as a function")})(this,l),this._listeners=[ch.INSTANCE],this._interp=null,this._stateNumber=-1}var r,p;return r=l,(p=[{key:"checkVersion",value:function(a){var f="4.13.0";f!==a&&console.log("ANTLR runtime and generated code versions disagree: "+f+"!="+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(),f=this.getSymbolicNames(),c=a.length>f.length?a.length:f.length;this.tokenNames=[];for(var d=0;d<c;d++)this.tokenNames[d]=a[d]||f[d]||"<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 f=this.tokenTypeMapCache[a];return f===void 0&&((f=a.reduce(function(c,d,i){c[d]=i})).EOF=n.EOF,this.tokenTypeMapCache[a]=f),f}},{key:"getRuleIndexMap",value:function(){var a=this.ruleNames;if(a===null)throw"The current recognizer does not provide a list of rule names.";var f=this.ruleIndexMapCache[a];return f===void 0&&(f=a.reduce(function(c,d,i){c[d]=i}),this.ruleIndexMapCache[a]=f),f}},{key:"getTokenType",value:function(a){var f=this.getTokenTypeMap()[a];return f!==void 0?f: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 f=a.text;return f===null&&(f=a.type===n.EOF?"<EOF>":"<"+a.type+">"),"'"+(f=f.replace(`
2
- `,"\\n").replace("\r","\\r").replace(" ","\\t"))+"'"}},{key:"getErrorListenerDispatch",value:function(){return new $0(this._listeners)}},{key:"sempred",value:function(a,f,c){return!0}},{key:"precpred",value:function(a,f){return!0}},{key:"atn",get:function(){return this._interp.atn}},{key:"state",get:function(){return this._stateNumber},set:function(a){this._stateNumber=a}}])&&W0(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),l}();function Ra(l){return Ra=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Ra(l)}function X0(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(Ra(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(Ra(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Ra(f)==="symbol"?f:String(f)),a)}var f}function fh(l,r){return fh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},fh(l,r)}function Oc(l){return Oc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Oc(l)}xc.tokenTypeMapCache={},xc.ruleIndexMapCache={};var ws=function(l){(function(i,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(s&&s.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),s&&fh(i,s)})(d,l);var r,p,a,f,c=(a=d,f=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 i,s=Oc(a);if(f){var v=Oc(this).constructor;i=Reflect.construct(s,arguments,v)}else i=s.apply(this,arguments);return function(T,E){if(E&&(Ra(E)==="object"||typeof E=="function"))return E;if(E!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(R){if(R===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return R}(T)}(this,i)});function d(i,s,v,T,E){var R;return function(ee,Ce){if(!(ee instanceof Ce))throw new TypeError("Cannot call a class as a function")}(this,d),(R=c.call(this)).source=i!==void 0?i:d.EMPTY_SOURCE,R.type=s!==void 0?s:null,R.channel=v!==void 0?v:n.DEFAULT_CHANNEL,R.start=T!==void 0?T:-1,R.stop=E!==void 0?E:-1,R.tokenIndex=-1,R.source[0]!==null?(R.line=i[0].line,R.column=i[0].column):R.column=-1,R}return r=d,(p=[{key:"clone",value:function(){var i=new d(this.source,this.type,this.channel,this.start,this.stop);return i.tokenIndex=this.tokenIndex,i.line=this.line,i.column=this.column,i.text=this.text,i}},{key:"cloneWithType",value:function(i){var s=new d(this.source,i,this.channel,this.start,this.stop);return s.tokenIndex=this.tokenIndex,s.line=this.line,s.column=this.column,i===n.EOF&&(s.text=""),s}},{key:"toString",value:function(){var i=this.text;return i=i!==null?i.replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t"):"<no text>","[@"+this.tokenIndex+","+this.start+":"+this.stop+"='"+i+"',<"+this.type+">"+(this.channel>0?",channel="+this.channel:"")+","+this.line+":"+this.column+"]"}},{key:"text",get:function(){if(this._text!==null)return this._text;var i=this.getInputStream();if(i===null)return null;var s=i.size;return this.start<s&&this.stop<s?i.getText(this.start,this.stop):"<EOF>"},set:function(i){this._text=i}}])&&X0(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),d}(n);function wa(l){return wa=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},wa(l)}function hh(l,r){return hh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},hh(l,r)}function Dc(l){return Dc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Dc(l)}function sy(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(wa(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(wa(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),wa(f)==="symbol"?f:String(f)),a)}var f}function uy(l,r,p){return r&&sy(l.prototype,r),p&&sy(l,p),Object.defineProperty(l,"prototype",{writable:!1}),l}function cy(l,r){if(!(l instanceof r))throw new TypeError("Cannot call a class as a function")}ws.EMPTY_SOURCE=[null,null];var ph=function(l){(function(c,d){if(typeof d!="function"&&d!==null)throw new TypeError("Super expression must either be null or a function");c.prototype=Object.create(d&&d.prototype,{constructor:{value:c,writable:!0,configurable:!0}}),Object.defineProperty(c,"prototype",{writable:!1}),d&&hh(c,d)})(f,l);var r,p,a=(r=f,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 c,d=Dc(r);if(p){var i=Dc(this).constructor;c=Reflect.construct(d,arguments,i)}else c=d.apply(this,arguments);return function(s,v){if(v&&(wa(v)==="object"||typeof v=="function"))return v;if(v!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(T){if(T===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return T}(s)}(this,c)});function f(c){var d;return cy(this,f),(d=a.call(this)).copyText=c!==void 0&&c,d}return uy(f,[{key:"create",value:function(c,d,i,s,v,T,E,R){var ee=new ws(c,d,s,v,T);return ee.line=E,ee.column=R,i!==null?ee.text=i:this.copyText&&c[1]!==null&&(ee.text=c[1].getText(v,T)),ee}},{key:"createThin",value:function(c,d){var i=new ws(null,c);return i.text=d,i}}]),f}(uy(function l(){cy(this,l)}));function Na(l){return Na=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Na(l)}function q0(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(Na(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(Na(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Na(f)==="symbol"?f:String(f)),a)}var f}function ly(l){if(l===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return l}function dh(l){var r=typeof Map=="function"?new Map:void 0;return dh=function(p){if(p===null||(a=p,Function.toString.call(a).indexOf("[native code]")===-1))return p;var a;if(typeof p!="function")throw new TypeError("Super expression must either be null or a function");if(r!==void 0){if(r.has(p))return r.get(p);r.set(p,f)}function f(){return yh(p,arguments,Ps(this).constructor)}return f.prototype=Object.create(p.prototype,{constructor:{value:f,enumerable:!1,writable:!0,configurable:!0}}),Ns(f,p)},dh(l)}function yh(l,r,p){return yh=fy()?Reflect.construct.bind():function(a,f,c){var d=[null];d.push.apply(d,f);var i=new(Function.bind.apply(a,d));return c&&Ns(i,c.prototype),i},yh.apply(null,arguments)}function fy(){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 Ns(l,r){return Ns=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},Ns(l,r)}function Ps(l){return Ps=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Ps(l)}ph.DEFAULT=new ph;var Bo=function(l){(function(i,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(s&&s.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),s&&Ns(i,s)})(d,l);var r,p,a,f,c=(a=d,f=fy(),function(){var i,s=Ps(a);if(f){var v=Ps(this).constructor;i=Reflect.construct(s,arguments,v)}else i=s.apply(this,arguments);return function(T,E){if(E&&(Na(E)==="object"||typeof E=="function"))return E;if(E!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return ly(T)}(this,i)});function d(i){var s;return function(v,T){if(!(v instanceof T))throw new TypeError("Cannot call a class as a function")}(this,d),s=c.call(this,i.message),Error.captureStackTrace&&Error.captureStackTrace(ly(s),d),s.message=i.message,s.recognizer=i.recognizer,s.input=i.input,s.ctx=i.ctx,s.offendingToken=null,s.offendingState=-1,s.recognizer!==null&&(s.offendingState=s.recognizer.state),s}return r=d,(p=[{key:"getExpectedTokens",value:function(){return this.recognizer!==null?this.recognizer.atn.getExpectedTokens(this.offendingState,this.ctx):null}},{key:"toString",value:function(){return this.message}}])&&q0(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),d}(dh(Error));function Pa(l){return Pa=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Pa(l)}function Y0(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(Pa(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(Pa(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Pa(f)==="symbol"?f:String(f)),a)}var f}function mh(l,r){return mh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},mh(l,r)}function Cc(l){return Cc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Cc(l)}var _h=function(l){(function(i,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(s&&s.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),s&&mh(i,s)})(d,l);var r,p,a,f,c=(a=d,f=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 i,s=Cc(a);if(f){var v=Cc(this).constructor;i=Reflect.construct(s,arguments,v)}else i=s.apply(this,arguments);return function(T,E){if(E&&(Pa(E)==="object"||typeof E=="function"))return E;if(E!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(R){if(R===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return R}(T)}(this,i)});function d(i,s,v,T){var E;return function(R,ee){if(!(R instanceof ee))throw new TypeError("Cannot call a class as a function")}(this,d),(E=c.call(this,{message:"",recognizer:i,input:s,ctx:null})).startIndex=v,E.deadEndConfigs=T,E}return r=d,(p=[{key:"toString",value:function(){var i="";return this.startIndex>=0&&this.startIndex<this.input.size&&(i=this.input.getText(new _e(this.startIndex,this.startIndex))),"LexerNoViableAltException"+i}}])&&Y0(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),d}(Bo);function Ia(l){return Ia=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Ia(l)}function J0(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(Ia(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(Ia(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Ia(f)==="symbol"?f:String(f)),a)}var f}function gh(l,r){return gh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},gh(l,r)}function hy(l){if(l===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return l}function kc(l){return kc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},kc(l)}var or=function(l){(function(i,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(s&&s.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),s&&gh(i,s)})(d,l);var r,p,a,f,c=(a=d,f=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 i,s=kc(a);if(f){var v=kc(this).constructor;i=Reflect.construct(s,arguments,v)}else i=s.apply(this,arguments);return function(T,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 hy(T)}(this,i)});function d(i){var s;return function(v,T){if(!(v instanceof T))throw new TypeError("Cannot call a class as a function")}(this,d),(s=c.call(this))._input=i,s._factory=ph.DEFAULT,s._tokenFactorySourcePair=[hy(s),i],s._interp=null,s._token=null,s._tokenStartCharIndex=-1,s._tokenStartLine=-1,s._tokenStartColumn=-1,s._hitEOF=!1,s._channel=n.DEFAULT_CHANNEL,s._type=n.INVALID_TYPE,s._modeStack=[],s._mode=d.DEFAULT_MODE,s._text=null,s}return r=d,(p=[{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=d.DEFAULT_MODE,this._modeStack=[],this._interp.reset()}},{key:"nextToken",value:function(){if(this._input===null)throw"nextToken requires a non-null input stream.";var i=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 s=!1;;){this._type=n.INVALID_TYPE;var v=d.SKIP;try{v=this._interp.match(this._input,this._mode)}catch(T){if(!(T instanceof Bo))throw console.log(T.stack),T;this.notifyListeners(T),this.recover(T)}if(this._input.LA(1)===n.EOF&&(this._hitEOF=!0),this._type===n.INVALID_TYPE&&(this._type=v),this._type===d.SKIP){s=!0;break}if(this._type!==d.MORE)break}if(!s)return this._token===null&&this.emit(),this._token}}finally{this._input.release(i)}}},{key:"skip",value:function(){this._type=d.SKIP}},{key:"more",value:function(){this._type=d.MORE}},{key:"mode",value:function(i){this._mode=i}},{key:"pushMode",value:function(i){this._interp.debug&&console.log("pushMode "+i),this._modeStack.push(this._mode),this.mode(i)}},{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(i){this._token=i}},{key:"emit",value:function(){var i=this._factory.create(this._tokenFactorySourcePair,this._type,this._text,this._channel,this._tokenStartCharIndex,this.getCharIndex()-1,this._tokenStartLine,this._tokenStartColumn);return this.emitToken(i),i}},{key:"emitEOF",value:function(){var i=this.column,s=this.line,v=this._factory.create(this._tokenFactorySourcePair,n.EOF,null,n.DEFAULT_CHANNEL,this._input.index,this._input.index-1,s,i);return this.emitToken(v),v}},{key:"getCharIndex",value:function(){return this._input.index}},{key:"getAllTokens",value:function(){for(var i=[],s=this.nextToken();s.type!==n.EOF;)i.push(s),s=this.nextToken();return i}},{key:"notifyListeners",value:function(i){var s=this._tokenStartCharIndex,v=this._input.index,T=this._input.getText(s,v),E="token recognition error at: '"+this.getErrorDisplay(T)+"'";this.getErrorListenerDispatch().syntaxError(this,null,this._tokenStartLine,this._tokenStartColumn,E,i)}},{key:"getErrorDisplay",value:function(i){for(var s=[],v=0;v<i.length;v++)s.push(i[v]);return s.join("")}},{key:"getErrorDisplayForChar",value:function(i){return i.charCodeAt(0)===n.EOF?"<EOF>":i===`
3
- `?"\\n":i===" "?"\\t":i==="\r"?"\\r":i}},{key:"getCharErrorDisplay",value:function(i){return"'"+this.getErrorDisplayForChar(i)+"'"}},{key:"recover",value:function(i){this._input.LA(1)!==n.EOF&&(i instanceof _h?this._interp.consume(this._input):this._input.consume())}},{key:"inputStream",get:function(){return this._input},set:function(i){this._input=null,this._tokenFactorySourcePair=[this,this._input],this.reset(),this._input=i,this._tokenFactorySourcePair=[this,this._input]}},{key:"sourceName",get:function(){return this._input.sourceName}},{key:"type",get:function(){return this._type},set:function(i){this._type=i}},{key:"line",get:function(){return this._interp.line},set:function(i){this._interp.line=i}},{key:"column",get:function(){return this._interp.column},set:function(i){this._interp.column=i}},{key:"text",get:function(){return this._text!==null?this._text:this._interp.getText(this._input)},set:function(i){this._text=i}}])&&J0(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),d}(xc);function Is(l){return Is=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Is(l)}function Z0(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(Is(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(Is(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Is(f)==="symbol"?f:String(f)),a)}var f}function Q0(l){return l.hashCodeForConfigSet()}function eg(l,r){return l===r||l!==null&&r!==null&&l.equalsForConfigSet(r)}or.DEFAULT_MODE=0,or.MORE=-2,or.SKIP=-3,or.DEFAULT_TOKEN_CHANNEL=n.DEFAULT_CHANNEL,or.HIDDEN=n.HIDDEN_CHANNEL,or.MIN_CHAR_VALUE=0,or.MAX_CHAR_VALUE=1114111;var Mr=function(){function l(a){(function(f,c){if(!(f instanceof c))throw new TypeError("Cannot call a class as a function")})(this,l),this.configLookup=new g(Q0,eg),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 r,p;return r=l,(p=[{key:"add",value:function(a,f){if(f===void 0&&(f=null),this.readOnly)throw"This set is readonly";a.semanticContext!==K.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 d=!this.fullCtx,i=ua(c.context,a.context,d,f);return c.reachesIntoOuterContext=Math.max(c.reachesIntoOuterContext,a.reachesIntoOuterContext),a.precedenceFilterSuppressed&&(c.precedenceFilterSuppressed=!0),c.context=i,!0}},{key:"getStates",value:function(){for(var a=new g,f=0;f<this.configs.length;f++)a.add(this.configs[f].state);return a}},{key:"getPredicates",value:function(){for(var a=[],f=0;f<this.configs.length;f++){var c=this.configs[f].semanticContext;c!==K.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 f=0;f<this.configs.length;f++){var c=this.configs[f];c.context=a.getCachedContext(c.context)}}},{key:"addAll",value:function(a){for(var f=0;f<a.length;f++)this.add(a[f]);return!1}},{key:"equals",value:function(a){return this===a||a instanceof l&&o(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 x;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 j(this.configs)+(this.hasSemanticContext?",hasSemanticContext="+this.hasSemanticContext:"")+(this.uniqueAlt!==dn.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}}])&&Z0(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),l}();function Fs(l){return Fs=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Fs(l)}function tg(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(Fs(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(Fs(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Fs(f)==="symbol"?f:String(f)),a)}var f}var Uo=function(){function l(a,f){return function(c,d){if(!(c instanceof d))throw new TypeError("Cannot call a class as a function")}(this,l),a===null&&(a=-1),f===null&&(f=new Mr),this.stateNumber=a,this.configs=f,this.edges=null,this.isAcceptState=!1,this.prediction=0,this.lexerActionExecutor=null,this.requiresFullContext=!1,this.predicates=null,this}var r,p;return r=l,(p=[{key:"getAltSet",value:function(){var a=new g;if(this.configs!==null)for(var f=0;f<this.configs.length;f++){var c=this.configs[f];a.add(c.alt)}return a.length===0?null:a}},{key:"equals",value:function(a){return this===a||a instanceof l&&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 x;return a.update(this.configs),a.finish()}}])&&tg(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),l}();function Ls(l){return Ls=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Ls(l)}function ng(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(Ls(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(Ls(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Ls(f)==="symbol"?f:String(f)),a)}var f}var xi=function(){function l(a,f){return function(c,d){if(!(c instanceof d))throw new TypeError("Cannot call a class as a function")}(this,l),this.atn=a,this.sharedContextCache=f,this}var r,p;return r=l,p=[{key:"getCachedContext",value:function(a){if(this.sharedContextCache===null)return a;var f=new qi;return zu(a,this.sharedContextCache,f)}}],p&&ng(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),l}();function bh(l){return bh=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},bh(l)}function vh(l,r){return vh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},vh(l,r)}function Rc(l){return Rc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Rc(l)}xi.ERROR=new Uo(2147483647,new Mr);var py=function(l){(function(d,i){if(typeof i!="function"&&i!==null)throw new TypeError("Super expression must either be null or a function");d.prototype=Object.create(i&&i.prototype,{constructor:{value:d,writable:!0,configurable:!0}}),Object.defineProperty(d,"prototype",{writable:!1}),i&&vh(d,i)})(c,l);var r,p,a,f=(p=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 d,i=Rc(p);if(a){var s=Rc(this).constructor;d=Reflect.construct(i,arguments,s)}else d=i.apply(this,arguments);return function(v,T){if(T&&(bh(T)==="object"||typeof T=="function"))return T;if(T!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(E){if(E===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return E}(v)}(this,d)});function c(){var d;return function(i,s){if(!(i instanceof s))throw new TypeError("Cannot call a class as a function")}(this,c),(d=f.call(this)).configLookup=new g,d}return r=c,Object.defineProperty(r,"prototype",{writable:!1}),r}(Mr);function Fa(l){return Fa=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Fa(l)}function rg(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(Fa(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(Fa(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Fa(f)==="symbol"?f:String(f)),a)}var f}function Eh(){return Eh=typeof Reflect<"u"&&Reflect.get?Reflect.get.bind():function(l,r,p){var a=function(c,d){for(;!Object.prototype.hasOwnProperty.call(c,d)&&(c=La(c))!==null;);return c}(l,r);if(a){var f=Object.getOwnPropertyDescriptor(a,r);return f.get?f.get.call(arguments.length<3?l:p):f.value}},Eh.apply(this,arguments)}function Sh(l,r){return Sh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},Sh(l,r)}function dy(l,r){if(r&&(Fa(r)==="object"||typeof r=="function"))return r;if(r!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return yy(l)}function yy(l){if(l===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return l}function La(l){return La=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},La(l)}var Oi=function(l){(function(i,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(s&&s.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),s&&Sh(i,s)})(d,l);var r,p,a,f,c=(a=d,f=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 i,s=La(a);if(f){var v=La(this).constructor;i=Reflect.construct(s,arguments,v)}else i=s.apply(this,arguments);return dy(this,i)});function d(i,s){var v;(function(E,R){if(!(E instanceof R))throw new TypeError("Cannot call a class as a function")})(this,d),v=c.call(this,i,s);var T=i.lexerActionExecutor||null;return v.lexerActionExecutor=T||(s!==null?s.lexerActionExecutor:null),v.passedThroughNonGreedyDecision=s!==null&&v.checkNonGreedyDecision(s,v.state),v.hashCodeForConfigSet=d.prototype.hashCode,v.equalsForConfigSet=d.prototype.equals,dy(v,yy(v))}return r=d,(p=[{key:"updateHashCode",value:function(i){i.update(this.state.stateNumber,this.alt,this.context,this.semanticContext,this.passedThroughNonGreedyDecision,this.lexerActionExecutor)}},{key:"equals",value:function(i){return this===i||i instanceof d&&this.passedThroughNonGreedyDecision===i.passedThroughNonGreedyDecision&&(this.lexerActionExecutor?this.lexerActionExecutor.equals(i.lexerActionExecutor):!i.lexerActionExecutor)&&Eh(La(d.prototype),"equals",this).call(this,i)}},{key:"checkNonGreedyDecision",value:function(i,s){return i.passedThroughNonGreedyDecision||s instanceof ca&&s.nonGreedy}}])&&rg(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),d}(le);function Ma(l){return Ma=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Ma(l)}function ig(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(Ma(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(Ma(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Ma(f)==="symbol"?f:String(f)),a)}var f}function Th(l,r){return Th=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},Th(l,r)}function wc(l){return wc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},wc(l)}var Ah=function(l){(function(i,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(s&&s.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),s&&Th(i,s)})(d,l);var r,p,a,f,c=(a=d,f=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 i,s=wc(a);if(f){var v=wc(this).constructor;i=Reflect.construct(s,arguments,v)}else i=s.apply(this,arguments);return function(T,E){if(E&&(Ma(E)==="object"||typeof E=="function"))return E;if(E!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(R){if(R===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return R}(T)}(this,i)});function d(i,s){var v;return function(T,E){if(!(T instanceof E))throw new TypeError("Cannot call a class as a function")}(this,d),(v=c.call(this,s.actionType)).offset=i,v.action=s,v.isPositionDependent=!0,v}return r=d,(p=[{key:"execute",value:function(i){this.action.execute(i)}},{key:"updateHashCode",value:function(i){i.update(this.actionType,this.offset,this.action)}},{key:"equals",value:function(i){return this===i||i instanceof d&&this.offset===i.offset&&this.action===i.action}}])&&ig(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),d}(Zi);function Ms(l){return Ms=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Ms(l)}function my(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(Ms(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(Ms(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Ms(f)==="symbol"?f:String(f)),a)}var f}var og=function(){function l(f){return function(c,d){if(!(c instanceof d))throw new TypeError("Cannot call a class as a function")}(this,l),this.lexerActions=f===null?[]:f,this.cachedHashCode=x.hashStuff(f),this}var r,p,a;return r=l,a=[{key:"append",value:function(f,c){return new l(f===null?[c]:f.lexerActions.concat([c]))}}],(p=[{key:"fixOffsetBeforeMatch",value:function(f){for(var c=null,d=0;d<this.lexerActions.length;d++)!this.lexerActions[d].isPositionDependent||this.lexerActions[d]instanceof Ah||(c===null&&(c=this.lexerActions.concat([])),c[d]=new Ah(f,this.lexerActions[d]));return c===null?this:new l(c)}},{key:"execute",value:function(f,c,d){var i=!1,s=c.index;try{for(var v=0;v<this.lexerActions.length;v++){var T=this.lexerActions[v];if(T instanceof Ah){var E=T.offset;c.seek(d+E),T=T.action,i=d+E!==s}else T.isPositionDependent&&(c.seek(s),i=!1);T.execute(f)}}finally{i&&c.seek(s)}}},{key:"hashCode",value:function(){return this.cachedHashCode}},{key:"updateHashCode",value:function(f){f.update(this.cachedHashCode)}},{key:"equals",value:function(f){if(this===f)return!0;if(f instanceof l){if(this.cachedHashCode!=f.cachedHashCode||this.lexerActions.length!=f.lexerActions.length)return!1;for(var c=this.lexerActions.length,d=0;d<c;++d)if(!this.lexerActions[d].equals(f.lexerActions[d]))return!1;return!0}return!1}}])&&my(r.prototype,p),a&&my(r,a),Object.defineProperty(r,"prototype",{writable:!1}),l}();function xh(l,r){return xh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},xh(l,r)}function Nc(l){return Nc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Nc(l)}function Ba(l){return Ba=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Ba(l)}function _y(l,r){if(!(l instanceof r))throw new TypeError("Cannot call a class as a function")}function gy(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(Ba(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(Ba(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Ba(f)==="symbol"?f:String(f)),a)}var f}function by(l,r,p){return r&&gy(l.prototype,r),p&&gy(l,p),Object.defineProperty(l,"prototype",{writable:!1}),l}function vy(l){l.index=-1,l.line=0,l.column=-1,l.dfaState=null}var ag=function(){function l(){_y(this,l),vy(this)}return by(l,[{key:"reset",value:function(){vy(this)}}]),l}(),Ua=function(l){(function(c,d){if(typeof d!="function"&&d!==null)throw new TypeError("Super expression must either be null or a function");c.prototype=Object.create(d&&d.prototype,{constructor:{value:c,writable:!0,configurable:!0}}),Object.defineProperty(c,"prototype",{writable:!1}),d&&xh(c,d)})(f,l);var r,p,a=(r=f,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 c,d=Nc(r);if(p){var i=Nc(this).constructor;c=Reflect.construct(d,arguments,i)}else c=d.apply(this,arguments);return function(s,v){if(v&&(Ba(v)==="object"||typeof v=="function"))return v;if(v!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(T){if(T===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return T}(s)}(this,c)});function f(c,d,i,s){var v;return _y(this,f),(v=a.call(this,d,s)).decisionToDFA=i,v.recog=c,v.startIndex=-1,v.line=1,v.column=0,v.mode=or.DEFAULT_MODE,v.prevAccept=new ag,v}return by(f,[{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,d){this.mode=d;var i=c.mark();try{this.startIndex=c.index,this.prevAccept.reset();var s=this.decisionToDFA[d];return s.s0===null?this.matchATN(c):this.execATN(c,s.s0)}finally{c.release(i)}}},{key:"reset",value:function(){this.prevAccept.reset(),this.startIndex=-1,this.line=1,this.column=0,this.mode=or.DEFAULT_MODE}},{key:"matchATN",value:function(c){var d=this.atn.modeToStartState[this.mode];f.debug&&console.log("matchATN mode "+this.mode+" start: "+d);var i=this.mode,s=this.computeStartState(c,d),v=s.hasSemanticContext;s.hasSemanticContext=!1;var T=this.addDFAState(s);v||(this.decisionToDFA[this.mode].s0=T);var E=this.execATN(c,T);return f.debug&&console.log("DFA after matchATN: "+this.decisionToDFA[i].toLexerString()),E}},{key:"execATN",value:function(c,d){f.debug&&console.log("start state closure="+d.configs),d.isAcceptState&&this.captureSimState(this.prevAccept,c,d);for(var i=c.LA(1),s=d;;){f.debug&&console.log("execATN loop starting closure: "+s.configs);var v=this.getExistingTargetState(s,i);if(v===null&&(v=this.computeTargetState(c,s,i)),v===xi.ERROR||(i!==n.EOF&&this.consume(c),v.isAcceptState&&(this.captureSimState(this.prevAccept,c,v),i===n.EOF)))break;i=c.LA(1),s=v}return this.failOrAccept(this.prevAccept,c,s.configs,i)}},{key:"getExistingTargetState",value:function(c,d){if(c.edges===null||d<f.MIN_DFA_EDGE||d>f.MAX_DFA_EDGE)return null;var i=c.edges[d-f.MIN_DFA_EDGE];return i===void 0&&(i=null),f.debug&&i!==null&&console.log("reuse state "+c.stateNumber+" edge to "+i.stateNumber),i}},{key:"computeTargetState",value:function(c,d,i){var s=new py;return this.getReachableConfigSet(c,d.configs,s,i),s.items.length===0?(s.hasSemanticContext||this.addDFAEdge(d,i,xi.ERROR),xi.ERROR):this.addDFAEdge(d,i,null,s)}},{key:"failOrAccept",value:function(c,d,i,s){if(this.prevAccept.dfaState!==null){var v=c.dfaState.lexerActionExecutor;return this.accept(d,v,this.startIndex,c.index,c.line,c.column),c.dfaState.prediction}if(s===n.EOF&&d.index===this.startIndex)return n.EOF;throw new _h(this.recog,d,this.startIndex,i)}},{key:"getReachableConfigSet",value:function(c,d,i,s){for(var v=dn.INVALID_ALT_NUMBER,T=0;T<d.items.length;T++){var E=d.items[T],R=E.alt===v;if(!R||!E.passedThroughNonGreedyDecision){f.debug&&console.log(`testing %s at %s
4
- `,this.getTokenName(s),E.toString(this.recog,!0));for(var ee=0;ee<E.state.transitions.length;ee++){var Ce=E.state.transitions[ee],xe=this.getReachableTarget(Ce,s);if(xe!==null){var Ge=E.lexerActionExecutor;Ge!==null&&(Ge=Ge.fixOffsetBeforeMatch(c.index-this.startIndex));var at=s===n.EOF,$e=new Oi({state:xe,lexerActionExecutor:Ge},E);this.closure(c,$e,i,R,!0,at)&&(v=E.alt)}}}}}},{key:"accept",value:function(c,d,i,s,v,T){f.debug&&console.log(`ACTION %s
5
- `,d),c.seek(s),this.line=v,this.column=T,d!==null&&this.recog!==null&&d.execute(this.recog,c,i)}},{key:"getReachableTarget",value:function(c,d){return c.matches(d,0,or.MAX_CHAR_VALUE)?c.target:null}},{key:"computeStartState",value:function(c,d){for(var i=it.EMPTY,s=new py,v=0;v<d.transitions.length;v++){var T=d.transitions[v].target,E=new Oi({state:T,alt:v+1,context:i},null);this.closure(c,E,s,!1,!1,!1)}return s}},{key:"closure",value:function(c,d,i,s,v,T){var E=null;if(f.debug&&console.log("closure("+d.toString(this.recog,!0)+")"),d.state instanceof Dt){if(f.debug&&(this.recog!==null?console.log(`closure at %s rule stop %s
6
- `,this.recog.ruleNames[d.state.ruleIndex],d):console.log(`closure at rule stop %s
7
- `,d)),d.context===null||d.context.hasEmptyPath()){if(d.context===null||d.context.isEmpty())return i.add(d),!0;i.add(new Oi({state:d.state,context:it.EMPTY},d)),s=!0}if(d.context!==null&&!d.context.isEmpty()){for(var R=0;R<d.context.length;R++)if(d.context.getReturnState(R)!==it.EMPTY_RETURN_STATE){var ee=d.context.getParent(R),Ce=this.atn.states[d.context.getReturnState(R)];E=new Oi({state:Ce,context:ee},d),s=this.closure(c,E,i,s,v,T)}}return s}d.state.epsilonOnlyTransitions||s&&d.passedThroughNonGreedyDecision||i.add(d);for(var xe=0;xe<d.state.transitions.length;xe++){var Ge=d.state.transitions[xe];(E=this.getEpsilonTarget(c,d,Ge,i,v,T))!==null&&(s=this.closure(c,E,i,s,v,T))}return s}},{key:"getEpsilonTarget",value:function(c,d,i,s,v,T){var E=null;if(i.serializationType===pe.RULE){var R=ct.create(d.context,i.followState.stateNumber);E=new Oi({state:i.target,context:R},d)}else{if(i.serializationType===pe.PRECEDENCE)throw"Precedence predicates are not supported in lexers.";if(i.serializationType===pe.PREDICATE)f.debug&&console.log("EVAL rule "+i.ruleIndex+":"+i.predIndex),s.hasSemanticContext=!0,this.evaluatePredicate(c,i.ruleIndex,i.predIndex,v)&&(E=new Oi({state:i.target},d));else if(i.serializationType===pe.ACTION)if(d.context===null||d.context.hasEmptyPath()){var ee=og.append(d.lexerActionExecutor,this.atn.lexerActions[i.actionIndex]);E=new Oi({state:i.target,lexerActionExecutor:ee},d)}else E=new Oi({state:i.target},d);else i.serializationType===pe.EPSILON?E=new Oi({state:i.target},d):i.serializationType!==pe.ATOM&&i.serializationType!==pe.RANGE&&i.serializationType!==pe.SET||T&&i.matches(n.EOF,0,or.MAX_CHAR_VALUE)&&(E=new Oi({state:i.target},d))}return E}},{key:"evaluatePredicate",value:function(c,d,i,s){if(this.recog===null)return!0;if(!s)return this.recog.sempred(null,d,i);var v=this.column,T=this.line,E=c.index,R=c.mark();try{return this.consume(c),this.recog.sempred(null,d,i)}finally{this.column=v,this.line=T,c.seek(E),c.release(R)}}},{key:"captureSimState",value:function(c,d,i){c.index=d.index,c.line=this.line,c.column=this.column,c.dfaState=i}},{key:"addDFAEdge",value:function(c,d,i,s){if(i===void 0&&(i=null),s===void 0&&(s=null),i===null&&s!==null){var v=s.hasSemanticContext;if(s.hasSemanticContext=!1,i=this.addDFAState(s),v)return i}return d<f.MIN_DFA_EDGE||d>f.MAX_DFA_EDGE||(f.debug&&console.log("EDGE "+c+" -> "+i+" upon "+d),c.edges===null&&(c.edges=[]),c.edges[d-f.MIN_DFA_EDGE]=i),i}},{key:"addDFAState",value:function(c){for(var d=new Uo(null,c),i=null,s=0;s<c.items.length;s++){var v=c.items[s];if(v.state instanceof Dt){i=v;break}}i!==null&&(d.isAcceptState=!0,d.lexerActionExecutor=i.lexerActionExecutor,d.prediction=this.atn.ruleToTokenType[i.state.ruleIndex]);var T=this.decisionToDFA[this.mode],E=T.states.get(d);if(E!==null)return E;var R=d;return R.stateNumber=T.states.length,c.setReadonly(!0),R.configs=c,T.states.add(R),R}},{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)+"'"}}]),f}(xi);function Bs(l){return Bs=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Bs(l)}function sg(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(Bs(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(Bs(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Bs(f)==="symbol"?f:String(f)),a)}var f}Ua.debug=!1,Ua.dfa_debug=!1,Ua.MIN_DFA_EDGE=0,Ua.MAX_DFA_EDGE=127;var Ey=function(){function l(a,f){(function(c,d){if(!(c instanceof d))throw new TypeError("Cannot call a class as a function")})(this,l),this.alt=f,this.pred=a}var r,p;return r=l,(p=[{key:"toString",value:function(){return"("+this.pred+", "+this.alt+")"}}])&&sg(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),l}();function Us(l){return Us=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Us(l)}function ug(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(Us(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(Us(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Us(f)==="symbol"?f:String(f)),a)}var f}var cg=function(){function l(){(function(a,f){if(!(a instanceof f))throw new TypeError("Cannot call a class as a function")})(this,l),this.data={}}var r,p;return r=l,(p=[{key:"get",value:function(a){return this.data["k-"+a]||null}},{key:"set",value:function(a,f){this.data["k-"+a]=f}},{key:"values",value:function(){var a=this;return Object.keys(this.data).filter(function(f){return f.startsWith("k-")}).map(function(f){return a.data[f]},this)}}])&&ug(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),l}(),Di={SLL:0,LL:1,LL_EXACT_AMBIG_DETECTION:2,hasSLLConflictTerminatingPrediction:function(l,r){if(Di.allConfigsInRuleStopStates(r))return!0;if(l===Di.SLL&&r.hasSemanticContext){for(var p=new Mr,a=0;a<r.items.length;a++){var f=r.items[a];f=new le({semanticContext:K.NONE},f),p.add(f)}r=p}var c=Di.getConflictingAltSubsets(r);return Di.hasConflictingAltSet(c)&&!Di.hasStateAssociatedWithOneAlt(r)},hasConfigInRuleStopState:function(l){for(var r=0;r<l.items.length;r++)if(l.items[r].state instanceof Dt)return!0;return!1},allConfigsInRuleStopStates:function(l){for(var r=0;r<l.items.length;r++)if(!(l.items[r].state instanceof Dt))return!1;return!0},resolvesToJustOneViableAlt:function(l){return Di.getSingleViableAlt(l)},allSubsetsConflict:function(l){return!Di.hasNonConflictingAltSet(l)},hasNonConflictingAltSet:function(l){for(var r=0;r<l.length;r++)if(l[r].length===1)return!0;return!1},hasConflictingAltSet:function(l){for(var r=0;r<l.length;r++)if(l[r].length>1)return!0;return!1},allSubsetsEqual:function(l){for(var r=null,p=0;p<l.length;p++){var a=l[p];if(r===null)r=a;else if(a!==r)return!1}return!0},getUniqueAlt:function(l){var r=Di.getAlts(l);return r.length===1?r.minValue():dn.INVALID_ALT_NUMBER},getAlts:function(l){var r=new Lr;return l.map(function(p){r.or(p)}),r},getConflictingAltSubsets:function(l){var r=new qi;return r.hashFunction=function(p){x.hashStuff(p.state.stateNumber,p.context)},r.equalsFunction=function(p,a){return p.state.stateNumber===a.state.stateNumber&&p.context.equals(a.context)},l.items.map(function(p){var a=r.get(p);a===null&&(a=new Lr,r.set(p,a)),a.add(p.alt)}),r.getValues()},getStateToAltMap:function(l){var r=new cg;return l.items.map(function(p){var a=r.get(p.state);a===null&&(a=new Lr,r.set(p.state,a)),a.add(p.alt)}),r},hasStateAssociatedWithOneAlt:function(l){for(var r=Di.getStateToAltMap(l).values(),p=0;p<r.length;p++)if(r[p].length===1)return!0;return!1},getSingleViableAlt:function(l){for(var r=null,p=0;p<l.length;p++){var a=l[p].minValue();if(r===null)r=a;else if(r!==a)return dn.INVALID_ALT_NUMBER}return r}};const Gn=Di;function Oh(l){return Oh=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Oh(l)}function Dh(l,r){return Dh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},Dh(l,r)}function Pc(l){return Pc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Pc(l)}var Ic=function(l){(function(d,i){if(typeof i!="function"&&i!==null)throw new TypeError("Super expression must either be null or a function");d.prototype=Object.create(i&&i.prototype,{constructor:{value:d,writable:!0,configurable:!0}}),Object.defineProperty(d,"prototype",{writable:!1}),i&&Dh(d,i)})(c,l);var r,p,a,f=(p=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 d,i=Pc(p);if(a){var s=Pc(this).constructor;d=Reflect.construct(i,arguments,s)}else d=i.apply(this,arguments);return function(v,T){if(T&&(Oh(T)==="object"||typeof T=="function"))return T;if(T!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(E){if(E===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return E}(v)}(this,d)});function c(d,i,s,v,T,E){var R;return function(ee,Ce){if(!(ee instanceof Ce))throw new TypeError("Cannot call a class as a function")}(this,c),E=E||d._ctx,v=v||d.getCurrentToken(),s=s||d.getCurrentToken(),i=i||d.getInputStream(),(R=f.call(this,{message:"",recognizer:d,input:i,ctx:E})).deadEndConfigs=T,R.startToken=s,R.offendingToken=v,R}return r=c,Object.defineProperty(r,"prototype",{writable:!1}),r}(Bo);function Vs(l){return Vs=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Vs(l)}function lg(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(Vs(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(Vs(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Vs(f)==="symbol"?f:String(f)),a)}var f}var fg=function(){function l(a){(function(f,c){if(!(f instanceof c))throw new TypeError("Cannot call a class as a function")})(this,l),this.defaultMapCtor=a||qi,this.cacheMap=new this.defaultMapCtor}var r,p;return r=l,(p=[{key:"get",value:function(a,f){var c=this.cacheMap.get(a)||null;return c===null?null:c.get(f)||null}},{key:"set",value:function(a,f,c){var d=this.cacheMap.get(a)||null;d===null&&(d=new this.defaultMapCtor,this.cacheMap.set(a,d)),d.set(f,c)}}])&&lg(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),l}();function Va(l){return Va=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Va(l)}function hg(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(Va(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(Va(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Va(f)==="symbol"?f:String(f)),a)}var f}function Ch(l,r){return Ch=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},Ch(l,r)}function Fc(l){return Fc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Fc(l)}var Sy=function(l){(function(i,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(s&&s.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),s&&Ch(i,s)})(d,l);var r,p,a,f,c=(a=d,f=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 i,s=Fc(a);if(f){var v=Fc(this).constructor;i=Reflect.construct(s,arguments,v)}else i=s.apply(this,arguments);return function(T,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(R){if(R===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return R}(T)}(this,i)});function d(i,s,v,T){var E;return function(R,ee){if(!(R instanceof ee))throw new TypeError("Cannot call a class as a function")}(this,d),(E=c.call(this,s,T)).parser=i,E.decisionToDFA=v,E.predictionMode=Gn.LL,E._input=null,E._startIndex=0,E._outerContext=null,E._dfa=null,E.mergeCache=null,E.debug=!1,E.debug_closure=!1,E.debug_add=!1,E.trace_atn_sim=!1,E.dfa_debug=!1,E.retry_debug=!1,E}return r=d,p=[{key:"reset",value:function(){}},{key:"adaptivePredict",value:function(i,s,v){(this.debug||this.trace_atn_sim)&&console.log("adaptivePredict decision "+s+" exec LA(1)=="+this.getLookaheadName(i)+" line "+i.LT(1).line+":"+i.LT(1).column),this._input=i,this._startIndex=i.index,this._outerContext=v;var T=this.decisionToDFA[s];this._dfa=T;var E=i.mark(),R=i.index;try{var ee;if((ee=T.precedenceDfa?T.getPrecedenceStartState(this.parser.getPrecedence()):T.s0)===null){v===null&&(v=Xi.EMPTY),this.debug&&console.log("predictATN decision "+T.decision+" exec LA(1)=="+this.getLookaheadName(i)+", outerContext="+v.toString(this.parser.ruleNames));var Ce=this.computeStartState(T.atnStartState,Xi.EMPTY,!1);T.precedenceDfa?(T.s0.configs=Ce,Ce=this.applyPrecedenceFilter(Ce),ee=this.addDFAState(T,new Uo(null,Ce)),T.setPrecedenceStartState(this.parser.getPrecedence(),ee)):(ee=this.addDFAState(T,new Uo(null,Ce)),T.s0=ee)}var xe=this.execATN(T,ee,i,R,v);return this.debug&&console.log("DFA after predictATN: "+T.toString(this.parser.literalNames,this.parser.symbolicNames)),xe}finally{this._dfa=null,this.mergeCache=null,i.seek(R),i.release(E)}}},{key:"execATN",value:function(i,s,v,T,E){var R;(this.debug||this.trace_atn_sim)&&console.log("execATN decision "+i.decision+", DFA state "+s+", LA(1)=="+this.getLookaheadName(v)+" line "+v.LT(1).line+":"+v.LT(1).column);var ee=s;this.debug&&console.log("s0 = "+s);for(var Ce=v.LA(1);;){var xe=this.getExistingTargetState(ee,Ce);if(xe===null&&(xe=this.computeTargetState(i,ee,Ce)),xe===xi.ERROR){var Ge=this.noViableAlt(v,E,ee.configs,T);if(v.seek(T),(R=this.getSynValidOrSemInvalidAltThatFinishedDecisionEntryRule(ee.configs,E))!==dn.INVALID_ALT_NUMBER)return R;throw Ge}if(xe.requiresFullContext&&this.predictionMode!==Gn.SLL){var at=null;if(xe.predicates!==null){this.debug&&console.log("DFA state has preds in DFA sim LL failover");var $e=v.index;if($e!==T&&v.seek(T),(at=this.evalSemanticContext(xe.predicates,E,!0)).length===1)return this.debug&&console.log("Full LL avoided"),at.minValue();$e!==T&&v.seek($e)}this.dfa_debug&&console.log("ctx sensitive state "+E+" in "+xe);var yn=this.computeStartState(i.atnStartState,E,!0);return this.reportAttemptingFullContext(i,at,xe.configs,T,v.index),this.execATNWithFullContext(i,xe,yn,v,T,E)}if(xe.isAcceptState){if(xe.predicates===null)return xe.prediction;var hn=v.index;v.seek(T);var Kn=this.evalSemanticContext(xe.predicates,E,!0);if(Kn.length===0)throw this.noViableAlt(v,E,xe.configs,T);return Kn.length===1||this.reportAmbiguity(i,xe,T,hn,!1,Kn,xe.configs),Kn.minValue()}ee=xe,Ce!==n.EOF&&(v.consume(),Ce=v.LA(1))}}},{key:"getExistingTargetState",value:function(i,s){var v=i.edges;return v===null?null:v[s+1]||null}},{key:"computeTargetState",value:function(i,s,v){var T=this.computeReachSet(s.configs,v,!1);if(T===null)return this.addDFAEdge(i,s,v,xi.ERROR),xi.ERROR;var E=new Uo(null,T),R=this.getUniqueAlt(T);if(this.debug){var ee=Gn.getConflictingAltSubsets(T);console.log("SLL altSubSets="+j(ee)+", configs="+T+", predict="+R+", allSubsetsConflict="+Gn.allSubsetsConflict(ee)+", conflictingAlts="+this.getConflictingAlts(T))}return R!==dn.INVALID_ALT_NUMBER?(E.isAcceptState=!0,E.configs.uniqueAlt=R,E.prediction=R):Gn.hasSLLConflictTerminatingPrediction(this.predictionMode,T)&&(E.configs.conflictingAlts=this.getConflictingAlts(T),E.requiresFullContext=!0,E.isAcceptState=!0,E.prediction=E.configs.conflictingAlts.minValue()),E.isAcceptState&&E.configs.hasSemanticContext&&(this.predicateDFAState(E,this.atn.getDecisionState(i.decision)),E.predicates!==null&&(E.prediction=dn.INVALID_ALT_NUMBER)),this.addDFAEdge(i,s,v,E)}},{key:"predicateDFAState",value:function(i,s){var v=s.transitions.length,T=this.getConflictingAltsOrUniqueAlt(i.configs),E=this.getPredsForAmbigAlts(T,i.configs,v);E!==null?(i.predicates=this.getPredicatePredictions(T,E),i.prediction=dn.INVALID_ALT_NUMBER):i.prediction=T.minValue()}},{key:"execATNWithFullContext",value:function(i,s,v,T,E,R){(this.debug||this.trace_atn_sim)&&console.log("execATNWithFullContext "+v);var ee,Ce=!1,xe=v;T.seek(E);for(var Ge=T.LA(1),at=-1;;){if((ee=this.computeReachSet(xe,Ge,!0))===null){var $e=this.noViableAlt(T,R,xe,E);T.seek(E);var yn=this.getSynValidOrSemInvalidAltThatFinishedDecisionEntryRule(xe,R);if(yn!==dn.INVALID_ALT_NUMBER)return yn;throw $e}var hn=Gn.getConflictingAltSubsets(ee);if(this.debug&&console.log("LL altSubSets="+hn+", predict="+Gn.getUniqueAlt(hn)+", resolvesToJustOneViableAlt="+Gn.resolvesToJustOneViableAlt(hn)),ee.uniqueAlt=this.getUniqueAlt(ee),ee.uniqueAlt!==dn.INVALID_ALT_NUMBER){at=ee.uniqueAlt;break}if(this.predictionMode!==Gn.LL_EXACT_AMBIG_DETECTION){if((at=Gn.resolvesToJustOneViableAlt(hn))!==dn.INVALID_ALT_NUMBER)break}else if(Gn.allSubsetsConflict(hn)&&Gn.allSubsetsEqual(hn)){Ce=!0,at=Gn.getSingleViableAlt(hn);break}xe=ee,Ge!==n.EOF&&(T.consume(),Ge=T.LA(1))}return ee.uniqueAlt!==dn.INVALID_ALT_NUMBER?(this.reportContextSensitivity(i,at,ee,E,T.index),at):(this.reportAmbiguity(i,s,E,T.index,Ce,null,ee),at)}},{key:"computeReachSet",value:function(i,s,v){this.debug&&console.log("in computeReachSet, starting closure: "+i),this.mergeCache===null&&(this.mergeCache=new fg);for(var T=new Mr(v),E=null,R=0;R<i.items.length;R++){var ee=i.items[R];if(this.debug&&console.log("testing "+this.getTokenName(s)+" at "+ee),ee.state instanceof Dt)(v||s===n.EOF)&&(E===null&&(E=[]),E.push(ee),this.debug_add&&console.log("added "+ee+" to skippedStopStates"));else for(var Ce=0;Ce<ee.state.transitions.length;Ce++){var xe=ee.state.transitions[Ce],Ge=this.getReachableTarget(xe,s);if(Ge!==null){var at=new le({state:Ge},ee);T.add(at,this.mergeCache),this.debug_add&&console.log("added "+at+" to intermediate")}}}var $e=null;if(E===null&&s!==n.EOF&&(T.items.length===1||this.getUniqueAlt(T)!==dn.INVALID_ALT_NUMBER)&&($e=T),$e===null){$e=new Mr(v);for(var yn=new g,hn=s===n.EOF,Kn=0;Kn<T.items.length;Kn++)this.closure(T.items[Kn],$e,yn,!1,v,hn)}if(s===n.EOF&&($e=this.removeAllConfigsNotInRuleStopState($e,$e===T)),!(E===null||v&&Gn.hasConfigInRuleStopState($e)))for(var Br=0;Br<E.length;Br++)$e.add(E[Br],this.mergeCache);return this.trace_atn_sim&&console.log("computeReachSet "+i+" -> "+$e),$e.items.length===0?null:$e}},{key:"removeAllConfigsNotInRuleStopState",value:function(i,s){if(Gn.allConfigsInRuleStopStates(i))return i;for(var v=new Mr(i.fullCtx),T=0;T<i.items.length;T++){var E=i.items[T];if(E.state instanceof Dt)v.add(E,this.mergeCache);else if(s&&E.state.epsilonOnlyTransitions&&this.atn.nextTokens(E.state).contains(n.EPSILON)){var R=this.atn.ruleToStopState[E.state.ruleIndex];v.add(new le({state:R},E),this.mergeCache)}}return v}},{key:"computeStartState",value:function(i,s,v){var T=sa(this.atn,s),E=new Mr(v);this.trace_atn_sim&&console.log("computeStartState from ATN state "+i+" initialContext="+T.toString(this.parser));for(var R=0;R<i.transitions.length;R++){var ee=i.transitions[R].target,Ce=new le({state:ee,alt:R+1,context:T},null),xe=new g;this.closure(Ce,E,xe,!0,v,!1)}return E}},{key:"applyPrecedenceFilter",value:function(i){for(var s,v=[],T=new Mr(i.fullCtx),E=0;E<i.items.length;E++)if((s=i.items[E]).alt===1){var R=s.semanticContext.evalPrecedence(this.parser,this._outerContext);R!==null&&(v[s.state.stateNumber]=s.context,R!==s.semanticContext?T.add(new le({semanticContext:R},s),this.mergeCache):T.add(s,this.mergeCache))}for(var ee=0;ee<i.items.length;ee++)if((s=i.items[ee]).alt!==1){if(!s.precedenceFilterSuppressed){var Ce=v[s.state.stateNumber]||null;if(Ce!==null&&Ce.equals(s.context))continue}T.add(s,this.mergeCache)}return T}},{key:"getReachableTarget",value:function(i,s){return i.matches(s,0,this.atn.maxTokenType)?i.target:null}},{key:"getPredsForAmbigAlts",value:function(i,s,v){for(var T=[],E=0;E<s.items.length;E++){var R=s.items[E];i.has(R.alt)&&(T[R.alt]=K.orContext(T[R.alt]||null,R.semanticContext))}for(var ee=0,Ce=1;Ce<v+1;Ce++){var xe=T[Ce]||null;xe===null?T[Ce]=K.NONE:xe!==K.NONE&&(ee+=1)}return ee===0&&(T=null),this.debug&&console.log("getPredsForAmbigAlts result "+j(T)),T}},{key:"getPredicatePredictions",value:function(i,s){for(var v=[],T=!1,E=1;E<s.length;E++){var R=s[E];i!==null&&i.has(E)&&v.push(new Ey(R,E)),R!==K.NONE&&(T=!0)}return T?v:null}},{key:"getSynValidOrSemInvalidAltThatFinishedDecisionEntryRule",value:function(i,s){var v=this.splitAccordingToSemanticValidity(i,s),T=v[0],E=v[1],R=this.getAltThatFinishedDecisionEntryRule(T);return R!==dn.INVALID_ALT_NUMBER||E.items.length>0&&(R=this.getAltThatFinishedDecisionEntryRule(E))!==dn.INVALID_ALT_NUMBER?R:dn.INVALID_ALT_NUMBER}},{key:"getAltThatFinishedDecisionEntryRule",value:function(i){for(var s=[],v=0;v<i.items.length;v++){var T=i.items[v];(T.reachesIntoOuterContext>0||T.state instanceof Dt&&T.context.hasEmptyPath())&&s.indexOf(T.alt)<0&&s.push(T.alt)}return s.length===0?dn.INVALID_ALT_NUMBER:Math.min.apply(null,s)}},{key:"splitAccordingToSemanticValidity",value:function(i,s){for(var v=new Mr(i.fullCtx),T=new Mr(i.fullCtx),E=0;E<i.items.length;E++){var R=i.items[E];R.semanticContext!==K.NONE?R.semanticContext.evaluate(this.parser,s)?v.add(R):T.add(R):v.add(R)}return[v,T]}},{key:"evalSemanticContext",value:function(i,s,v){for(var T=new Lr,E=0;E<i.length;E++){var R=i[E];if(R.pred!==K.NONE){var ee=R.pred.evaluate(this.parser,s);if((this.debug||this.dfa_debug)&&console.log("eval pred "+R+"="+ee),ee&&((this.debug||this.dfa_debug)&&console.log("PREDICT "+R.alt),T.add(R.alt),!v))break}else if(T.add(R.alt),!v)break}return T}},{key:"closure",value:function(i,s,v,T,E,R){this.closureCheckingStopState(i,s,v,T,E,0,R)}},{key:"closureCheckingStopState",value:function(i,s,v,T,E,R,ee){if((this.trace_atn_sim||this.debug_closure)&&console.log("closure("+i.toString(this.parser,!0)+")"),i.state instanceof Dt){if(!i.context.isEmpty()){for(var Ce=0;Ce<i.context.length;Ce++)if(i.context.getReturnState(Ce)!==it.EMPTY_RETURN_STATE){var xe=this.atn.states[i.context.getReturnState(Ce)],Ge=i.context.getParent(Ce),at={state:xe,alt:i.alt,context:Ge,semanticContext:i.semanticContext},$e=new le(at,null);$e.reachesIntoOuterContext=i.reachesIntoOuterContext,this.closureCheckingStopState($e,s,v,T,E,R-1,ee)}else{if(E){s.add(new le({state:i.state,context:it.EMPTY},i),this.mergeCache);continue}this.debug&&console.log("FALLING off rule "+this.getRuleName(i.state.ruleIndex)),this.closure_(i,s,v,T,E,R,ee)}return}if(E)return void s.add(i,this.mergeCache);this.debug&&console.log("FALLING off rule "+this.getRuleName(i.state.ruleIndex))}this.closure_(i,s,v,T,E,R,ee)}},{key:"closure_",value:function(i,s,v,T,E,R,ee){var Ce=i.state;Ce.epsilonOnlyTransitions||s.add(i,this.mergeCache);for(var xe=0;xe<Ce.transitions.length;xe++)if(xe!==0||!this.canDropLoopEntryEdgeInLeftRecursiveRule(i)){var Ge=Ce.transitions[xe],at=T&&!(Ge instanceof ey),$e=this.getEpsilonTarget(i,Ge,at,R===0,E,ee);if($e!==null){var yn=R;if(i.state instanceof Dt){if(this._dfa!==null&&this._dfa.precedenceDfa&&Ge.outermostPrecedenceReturn===this._dfa.atnStartState.ruleIndex&&($e.precedenceFilterSuppressed=!0),$e.reachesIntoOuterContext+=1,v.add($e)!==$e)continue;s.dipsIntoOuterContext=!0,yn-=1,this.debug&&console.log("dips into outer ctx: "+$e)}else{if(!Ge.isEpsilon&&v.add($e)!==$e)continue;Ge instanceof Zt&&yn>=0&&(yn+=1)}this.closureCheckingStopState($e,s,v,at,E,yn,ee)}}}},{key:"canDropLoopEntryEdgeInLeftRecursiveRule",value:function(i){var s=i.state;if(s.stateType!==me.STAR_LOOP_ENTRY||s.stateType!==me.STAR_LOOP_ENTRY||!s.isPrecedenceDecision||i.context.isEmpty()||i.context.hasEmptyPath())return!1;for(var v=i.context.length,T=0;T<v;T++)if(this.atn.states[i.context.getReturnState(T)].ruleIndex!==s.ruleIndex)return!1;for(var E=s.transitions[0].target.endState.stateNumber,R=this.atn.states[E],ee=0;ee<v;ee++){var Ce=i.context.getReturnState(ee),xe=this.atn.states[Ce];if(xe.transitions.length!==1||!xe.transitions[0].isEpsilon)return!1;var Ge=xe.transitions[0].target;if(!(xe.stateType===me.BLOCK_END&&Ge===s||xe===R||Ge===R||Ge.stateType===me.BLOCK_END&&Ge.transitions.length===1&&Ge.transitions[0].isEpsilon&&Ge.transitions[0].target===s))return!1}return!0}},{key:"getRuleName",value:function(i){return this.parser!==null&&i>=0?this.parser.ruleNames[i]:"<rule "+i+">"}},{key:"getEpsilonTarget",value:function(i,s,v,T,E,R){switch(s.serializationType){case pe.RULE:return this.ruleTransition(i,s);case pe.PRECEDENCE:return this.precedenceTransition(i,s,v,T,E);case pe.PREDICATE:return this.predTransition(i,s,v,T,E);case pe.ACTION:return this.actionTransition(i,s);case pe.EPSILON:return new le({state:s.target},i);case pe.ATOM:case pe.RANGE:case pe.SET:return R&&s.matches(n.EOF,0,1)?new le({state:s.target},i):null;default:return null}}},{key:"actionTransition",value:function(i,s){if(this.debug){var v=s.actionIndex===-1?65535:s.actionIndex;console.log("ACTION edge "+s.ruleIndex+":"+v)}return new le({state:s.target},i)}},{key:"precedenceTransition",value:function(i,s,v,T,E){this.debug&&(console.log("PRED (collectPredicates="+v+") "+s.precedence+">=_p, ctx dependent=true"),this.parser!==null&&console.log("context surrounding pred is "+j(this.parser.getRuleInvocationStack())));var R=null;if(v&&T)if(E){var ee=this._input.index;this._input.seek(this._startIndex);var Ce=s.getPredicate().evaluate(this.parser,this._outerContext);this._input.seek(ee),Ce&&(R=new le({state:s.target},i))}else{var xe=K.andContext(i.semanticContext,s.getPredicate());R=new le({state:s.target,semanticContext:xe},i)}else R=new le({state:s.target},i);return this.debug&&console.log("config from pred transition="+R),R}},{key:"predTransition",value:function(i,s,v,T,E){this.debug&&(console.log("PRED (collectPredicates="+v+") "+s.ruleIndex+":"+s.predIndex+", ctx dependent="+s.isCtxDependent),this.parser!==null&&console.log("context surrounding pred is "+j(this.parser.getRuleInvocationStack())));var R=null;if(v&&(s.isCtxDependent&&T||!s.isCtxDependent))if(E){var ee=this._input.index;this._input.seek(this._startIndex);var Ce=s.getPredicate().evaluate(this.parser,this._outerContext);this._input.seek(ee),Ce&&(R=new le({state:s.target},i))}else{var xe=K.andContext(i.semanticContext,s.getPredicate());R=new le({state:s.target,semanticContext:xe},i)}else R=new le({state:s.target},i);return this.debug&&console.log("config from pred transition="+R),R}},{key:"ruleTransition",value:function(i,s){this.debug&&console.log("CALL rule "+this.getRuleName(s.target.ruleIndex)+", ctx="+i.context);var v=s.followState,T=ct.create(i.context,v.stateNumber);return new le({state:s.target,context:T},i)}},{key:"getConflictingAlts",value:function(i){var s=Gn.getConflictingAltSubsets(i);return Gn.getAlts(s)}},{key:"getConflictingAltsOrUniqueAlt",value:function(i){var s=null;return i.uniqueAlt!==dn.INVALID_ALT_NUMBER?(s=new Lr).add(i.uniqueAlt):s=i.conflictingAlts,s}},{key:"getTokenName",value:function(i){if(i===n.EOF)return"EOF";if(this.parser!==null&&this.parser.literalNames!==null){if(!(i>=this.parser.literalNames.length&&i>=this.parser.symbolicNames.length))return(this.parser.literalNames[i]||this.parser.symbolicNames[i])+"<"+i+">";console.log(i+" ttype out of range: "+this.parser.literalNames),console.log(""+this.parser.getInputStream().getTokens())}return""+i}},{key:"getLookaheadName",value:function(i){return this.getTokenName(i.LA(1))}},{key:"dumpDeadEndConfigs",value:function(i){console.log("dead end configs: ");for(var s=i.getDeadEndConfigs(),v=0;v<s.length;v++){var T=s[v],E="no edges";if(T.state.transitions.length>0){var R=T.state.transitions[0];R instanceof Hf?E="Atom "+this.getTokenName(R.label):R instanceof Ti&&(E=(R instanceof rn?"~":"")+"Set "+R.set)}console.error(T.toString(this.parser,!0)+":"+E)}}},{key:"noViableAlt",value:function(i,s,v,T){return new Ic(this.parser,i,i.get(T),i.LT(1),v,s)}},{key:"getUniqueAlt",value:function(i){for(var s=dn.INVALID_ALT_NUMBER,v=0;v<i.items.length;v++){var T=i.items[v];if(s===dn.INVALID_ALT_NUMBER)s=T.alt;else if(T.alt!==s)return dn.INVALID_ALT_NUMBER}return s}},{key:"addDFAEdge",value:function(i,s,v,T){if(this.debug&&console.log("EDGE "+s+" -> "+T+" upon "+this.getTokenName(v)),T===null)return null;if(T=this.addDFAState(i,T),s===null||v<-1||v>this.atn.maxTokenType)return T;if(s.edges===null&&(s.edges=[]),s.edges[v+1]=T,this.debug){var E=this.parser===null?null:this.parser.literalNames,R=this.parser===null?null:this.parser.symbolicNames;console.log(`DFA=
8
- `+i.toString(E,R))}return T}},{key:"addDFAState",value:function(i,s){if(s===xi.ERROR)return s;var v=i.states.get(s);return v!==null?(this.trace_atn_sim&&console.log("addDFAState "+s+" exists"),v):(s.stateNumber=i.states.length,s.configs.readOnly||(s.configs.optimizeConfigs(this),s.configs.setReadonly(!0)),this.trace_atn_sim&&console.log("addDFAState new "+s),i.states.add(s),this.debug&&console.log("adding new DFA state: "+s),s)}},{key:"reportAttemptingFullContext",value:function(i,s,v,T,E){if(this.debug||this.retry_debug){var R=new _e(T,E+1);console.log("reportAttemptingFullContext decision="+i.decision+":"+v+", input="+this.parser.getTokenStream().getText(R))}this.parser!==null&&this.parser.getErrorListenerDispatch().reportAttemptingFullContext(this.parser,i,T,E,s,v)}},{key:"reportContextSensitivity",value:function(i,s,v,T,E){if(this.debug||this.retry_debug){var R=new _e(T,E+1);console.log("reportContextSensitivity decision="+i.decision+":"+v+", input="+this.parser.getTokenStream().getText(R))}this.parser!==null&&this.parser.getErrorListenerDispatch().reportContextSensitivity(this.parser,i,T,E,s,v)}},{key:"reportAmbiguity",value:function(i,s,v,T,E,R,ee){if(this.debug||this.retry_debug){var Ce=new _e(v,T+1);console.log("reportAmbiguity "+R+":"+ee+", input="+this.parser.getTokenStream().getText(Ce))}this.parser!==null&&this.parser.getErrorListenerDispatch().reportAmbiguity(this.parser,i,v,T,E,R,ee)}}],p&&hg(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),d}(xi);function js(l){return js=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},js(l)}function pg(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(js(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(js(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),js(f)==="symbol"?f:String(f)),a)}var f}var Ty=function(){function l(){(function(a,f){if(!(a instanceof f))throw new TypeError("Cannot call a class as a function")})(this,l),this.cache=new qi}var r,p;return r=l,(p=[{key:"add",value:function(a){if(a===it.EMPTY)return it.EMPTY;var f=this.cache.get(a)||null;return f!==null?f:(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}}])&&pg(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),l}();const dg={ATN:dn,ATNDeserializer:sh,LexerATNSimulator:Ua,ParserATNSimulator:Sy,PredictionMode:Gn,PredictionContextCache:Ty};function Hs(l){return Hs=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Hs(l)}function yg(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(Hs(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(Hs(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Hs(f)==="symbol"?f:String(f)),a)}var f}var kh=function(){function l(a,f,c){(function(d,i){if(!(d instanceof i))throw new TypeError("Cannot call a class as a function")})(this,l),this.dfa=a,this.literalNames=f||[],this.symbolicNames=c||[]}var r,p;return r=l,(p=[{key:"toString",value:function(){if(this.dfa.s0===null)return null;for(var a="",f=this.dfa.sortedStates(),c=0;c<f.length;c++){var d=f[c];if(d.edges!==null)for(var i=d.edges.length,s=0;s<i;s++){var v=d.edges[s]||null;v!==null&&v.stateNumber!==2147483647&&(a=(a=(a=(a=(a=(a=a.concat(this.getStateString(d))).concat("-")).concat(this.getEdgeLabel(s))).concat("->")).concat(this.getStateString(v))).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 f=(a.isAcceptState?":":"")+"s"+a.stateNumber+(a.requiresFullContext?"^":"");return a.isAcceptState?a.predicates!==null?f+"=>"+j(a.predicates):f+"=>"+a.prediction.toString():f}}])&&yg(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),l}();function ja(l){return ja=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},ja(l)}function mg(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(ja(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(ja(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),ja(f)==="symbol"?f:String(f)),a)}var f}function Rh(l,r){return Rh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},Rh(l,r)}function Lc(l){return Lc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Lc(l)}var Ay=function(l){(function(i,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(s&&s.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),s&&Rh(i,s)})(d,l);var r,p,a,f,c=(a=d,f=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 i,s=Lc(a);if(f){var v=Lc(this).constructor;i=Reflect.construct(s,arguments,v)}else i=s.apply(this,arguments);return function(T,E){if(E&&(ja(E)==="object"||typeof E=="function"))return E;if(E!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(R){if(R===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return R}(T)}(this,i)});function d(i){return function(s,v){if(!(s instanceof v))throw new TypeError("Cannot call a class as a function")}(this,d),c.call(this,i,null)}return r=d,(p=[{key:"getEdgeLabel",value:function(i){return"'"+String.fromCharCode(i)+"'"}}])&&mg(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),d}(kh);function Gs(l){return Gs=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Gs(l)}function _g(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(Gs(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(Gs(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Gs(f)==="symbol"?f:String(f)),a)}var f}var xy=function(){function l(a,f){if(function(d,i){if(!(d instanceof i))throw new TypeError("Cannot call a class as a function")}(this,l),f===void 0&&(f=0),this.atnStartState=a,this.decision=f,this._states=new g,this.s0=null,this.precedenceDfa=!1,a instanceof Mo&&a.isPrecedenceDecision){this.precedenceDfa=!0;var c=new Uo(null,new Mr);c.edges=[],c.isAcceptState=!1,c.requiresFullContext=!1,this.s0=c}}var r,p;return r=l,(p=[{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,f){if(!this.precedenceDfa)throw"Only precedence DFAs may contain a precedence start state.";a<0||(this.s0.edges[a]=f)}},{key:"setPrecedenceDfa",value:function(a){if(this.precedenceDfa!==a){if(this._states=new g,a){var f=new Uo(null,new Mr);f.edges=[],f.isAcceptState=!1,f.requiresFullContext=!1,this.s0=f}else this.s0=null;this.precedenceDfa=a}}},{key:"sortedStates",value:function(){return this._states.values().sort(function(a,f){return a.stateNumber-f.stateNumber})}},{key:"toString",value:function(a,f){return a=a||null,f=f||null,this.s0===null?"":new kh(this,a,f).toString()}},{key:"toLexerString",value:function(){return this.s0===null?"":new Ay(this).toString()}},{key:"states",get:function(){return this._states}}])&&_g(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),l}();const gg={DFA:xy,DFASerializer:kh,LexerDFASerializer:Ay,PredPrediction:Ey},bg={PredictionContext:it},vg={Interval:_e,IntervalSet:ne};function Ks(l){return Ks=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Ks(l)}function Eg(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(Ks(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(Ks(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Ks(f)==="symbol"?f:String(f)),a)}var f}var wh=function(){function l(){(function(a,f){if(!(a instanceof f))throw new TypeError("Cannot call a class as a function")})(this,l)}var r,p;return r=l,(p=[{key:"visitTerminal",value:function(a){}},{key:"visitErrorNode",value:function(a){}},{key:"enterEveryRule",value:function(a){}},{key:"exitEveryRule",value:function(a){}}])&&Eg(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),l}();function zs(l){return zs=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},zs(l)}function Sg(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(zs(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(zs(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),zs(f)==="symbol"?f:String(f)),a)}var f}var Oy=function(){function l(){(function(a,f){if(!(a instanceof f))throw new TypeError("Cannot call a class as a function")})(this,l)}var r,p;return r=l,(p=[{key:"visit",value:function(a){return Array.isArray(a)?a.map(function(f){return f.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){}}])&&Sg(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),l}();function $s(l){return $s=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},$s(l)}function Tg(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if($s(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if($s(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),$s(f)==="symbol"?f:String(f)),a)}var f}var Mc=function(){function l(){(function(a,f){if(!(a instanceof f))throw new TypeError("Cannot call a class as a function")})(this,l)}var r,p;return r=l,(p=[{key:"walk",value:function(a,f){if(f instanceof $r||f.isErrorNode!==void 0&&f.isErrorNode())a.visitErrorNode(f);else if(f instanceof on)a.visitTerminal(f);else{this.enterRule(a,f);for(var c=0;c<f.getChildCount();c++){var d=f.getChild(c);this.walk(a,d)}this.exitRule(a,f)}}},{key:"enterRule",value:function(a,f){var c=f.ruleContext;a.enterEveryRule(c),c.enterRule(a)}},{key:"exitRule",value:function(a,f){var c=f.ruleContext;c.exitRule(a),a.exitEveryRule(c)}}])&&Tg(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),l}();Mc.DEFAULT=new Mc;const Ag={Trees:Ku,RuleNode:Fe,ErrorNode:$r,TerminalNode:on,ParseTreeListener:wh,ParseTreeVisitor:Oy,ParseTreeWalker:Mc};function Nh(l){return Nh=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Nh(l)}function Ph(l,r){return Ph=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},Ph(l,r)}function Bc(l){return Bc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Bc(l)}var Ws=function(l){(function(d,i){if(typeof i!="function"&&i!==null)throw new TypeError("Super expression must either be null or a function");d.prototype=Object.create(i&&i.prototype,{constructor:{value:d,writable:!0,configurable:!0}}),Object.defineProperty(d,"prototype",{writable:!1}),i&&Ph(d,i)})(c,l);var r,p,a,f=(p=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 d,i=Bc(p);if(a){var s=Bc(this).constructor;d=Reflect.construct(i,arguments,s)}else d=i.apply(this,arguments);return function(v,T){if(T&&(Nh(T)==="object"||typeof T=="function"))return T;if(T!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(E){if(E===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return E}(v)}(this,d)});function c(d){var i;return function(s,v){if(!(s instanceof v))throw new TypeError("Cannot call a class as a function")}(this,c),(i=f.call(this,{message:"",recognizer:d,input:d.getInputStream(),ctx:d._ctx})).offendingToken=d.getCurrentToken(),i}return r=c,Object.defineProperty(r,"prototype",{writable:!1}),r}(Bo);function Ih(l){return Ih=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Ih(l)}function Fh(l,r){return Fh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},Fh(l,r)}function Uc(l){return Uc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Uc(l)}var Lh=function(l){(function(d,i){if(typeof i!="function"&&i!==null)throw new TypeError("Super expression must either be null or a function");d.prototype=Object.create(i&&i.prototype,{constructor:{value:d,writable:!0,configurable:!0}}),Object.defineProperty(d,"prototype",{writable:!1}),i&&Fh(d,i)})(c,l);var r,p,a,f=(p=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 d,i=Uc(p);if(a){var s=Uc(this).constructor;d=Reflect.construct(i,arguments,s)}else d=i.apply(this,arguments);return function(v,T){if(T&&(Ih(T)==="object"||typeof T=="function"))return T;if(T!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(E){if(E===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return E}(v)}(this,d)});function c(d,i,s){var v;(function(E,R){if(!(E instanceof R))throw new TypeError("Cannot call a class as a function")})(this,c),v=f.call(this,{message:xg(i,s||null),recognizer:d,input:d.getInputStream(),ctx:d._ctx});var T=d._interp.atn.states[d.state].transitions[0];return T instanceof ny?(v.ruleIndex=T.ruleIndex,v.predicateIndex=T.predIndex):(v.ruleIndex=0,v.predicateIndex=0),v.predicate=i,v.offendingToken=d.getCurrentToken(),v}return r=c,Object.defineProperty(r,"prototype",{writable:!1}),r}(Bo);function xg(l,r){return r!==null?r:"failed predicate: {"+l+"}?"}function Ha(l){return Ha=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Ha(l)}function Og(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(Ha(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(Ha(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Ha(f)==="symbol"?f:String(f)),a)}var f}function Mh(l,r){return Mh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},Mh(l,r)}function Vc(l){return Vc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Vc(l)}var Dy=function(l){(function(i,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(s&&s.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),s&&Mh(i,s)})(d,l);var r,p,a,f,c=(a=d,f=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 i,s=Vc(a);if(f){var v=Vc(this).constructor;i=Reflect.construct(s,arguments,v)}else i=s.apply(this,arguments);return function(T,E){if(E&&(Ha(E)==="object"||typeof E=="function"))return E;if(E!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(R){if(R===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return R}(T)}(this,i)});function d(i){var s;return function(v,T){if(!(v instanceof T))throw new TypeError("Cannot call a class as a function")}(this,d),i=i||!0,(s=c.call(this)).exactOnly=i,s}return r=d,p=[{key:"reportAmbiguity",value:function(i,s,v,T,E,R,ee){if(!this.exactOnly||E){var Ce="reportAmbiguity d="+this.getDecisionDescription(i,s)+": ambigAlts="+this.getConflictingAlts(R,ee)+", input='"+i.getTokenStream().getText(new _e(v,T))+"'";i.notifyErrorListeners(Ce)}}},{key:"reportAttemptingFullContext",value:function(i,s,v,T,E,R){var ee="reportAttemptingFullContext d="+this.getDecisionDescription(i,s)+", input='"+i.getTokenStream().getText(new _e(v,T))+"'";i.notifyErrorListeners(ee)}},{key:"reportContextSensitivity",value:function(i,s,v,T,E,R){var ee="reportContextSensitivity d="+this.getDecisionDescription(i,s)+", input='"+i.getTokenStream().getText(new _e(v,T))+"'";i.notifyErrorListeners(ee)}},{key:"getDecisionDescription",value:function(i,s){var v=s.decision,T=s.atnStartState.ruleIndex,E=i.ruleNames;if(T<0||T>=E.length)return""+v;var R=E[T]||null;return R===null||R.length===0?""+v:"".concat(v," (").concat(R,")")}},{key:"getConflictingAlts",value:function(i,s){if(i!==null)return i;for(var v=new Lr,T=0;T<s.items.length;T++)v.add(s.items[T].alt);return"{".concat(v.values().join(", "),"}")}}],p&&Og(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),d}(ks);function Bh(l){return Bh=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Bh(l)}function Cy(l){if(l===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return l}function Uh(l){var r=typeof Map=="function"?new Map:void 0;return Uh=function(p){if(p===null||(a=p,Function.toString.call(a).indexOf("[native code]")===-1))return p;var a;if(typeof p!="function")throw new TypeError("Super expression must either be null or a function");if(r!==void 0){if(r.has(p))return r.get(p);r.set(p,f)}function f(){return Vh(p,arguments,qs(this).constructor)}return f.prototype=Object.create(p.prototype,{constructor:{value:f,enumerable:!1,writable:!0,configurable:!0}}),Xs(f,p)},Uh(l)}function Vh(l,r,p){return Vh=ky()?Reflect.construct.bind():function(a,f,c){var d=[null];d.push.apply(d,f);var i=new(Function.bind.apply(a,d));return c&&Xs(i,c.prototype),i},Vh.apply(null,arguments)}function ky(){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 Xs(l,r){return Xs=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},Xs(l,r)}function qs(l){return qs=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},qs(l)}var Dg=function(l){(function(d,i){if(typeof i!="function"&&i!==null)throw new TypeError("Super expression must either be null or a function");d.prototype=Object.create(i&&i.prototype,{constructor:{value:d,writable:!0,configurable:!0}}),Object.defineProperty(d,"prototype",{writable:!1}),i&&Xs(d,i)})(c,l);var r,p,a,f=(p=c,a=ky(),function(){var d,i=qs(p);if(a){var s=qs(this).constructor;d=Reflect.construct(i,arguments,s)}else d=i.apply(this,arguments);return function(v,T){if(T&&(Bh(T)==="object"||typeof T=="function"))return T;if(T!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Cy(v)}(this,d)});function c(){var d;return function(i,s){if(!(i instanceof s))throw new TypeError("Cannot call a class as a function")}(this,c),d=f.call(this),Error.captureStackTrace(Cy(d),c),d}return r=c,Object.defineProperty(r,"prototype",{writable:!1}),r}(Uh(Error));function Ys(l){return Ys=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Ys(l)}function Cg(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(Ys(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(Ys(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Ys(f)==="symbol"?f:String(f)),a)}var f}function Ga(l){return Ga=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Ga(l)}function kg(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(Ga(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(Ga(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Ga(f)==="symbol"?f:String(f)),a)}var f}function jh(l,r){return jh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},jh(l,r)}function jc(l){return jc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},jc(l)}var Hh=function(l){(function(i,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(s&&s.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),s&&jh(i,s)})(d,l);var r,p,a,f,c=(a=d,f=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 i,s=jc(a);if(f){var v=jc(this).constructor;i=Reflect.construct(s,arguments,v)}else i=s.apply(this,arguments);return function(T,E){if(E&&(Ga(E)==="object"||typeof E=="function"))return E;if(E!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(R){if(R===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return R}(T)}(this,i)});function d(){var i;return function(s,v){if(!(s instanceof v))throw new TypeError("Cannot call a class as a function")}(this,d),(i=c.call(this)).errorRecoveryMode=!1,i.lastErrorIndex=-1,i.lastErrorStates=null,i.nextTokensContext=null,i.nextTokenState=0,i}return r=d,p=[{key:"reset",value:function(i){this.endErrorCondition(i)}},{key:"beginErrorCondition",value:function(i){this.errorRecoveryMode=!0}},{key:"inErrorRecoveryMode",value:function(i){return this.errorRecoveryMode}},{key:"endErrorCondition",value:function(i){this.errorRecoveryMode=!1,this.lastErrorStates=null,this.lastErrorIndex=-1}},{key:"reportMatch",value:function(i){this.endErrorCondition(i)}},{key:"reportError",value:function(i,s){this.inErrorRecoveryMode(i)||(this.beginErrorCondition(i),s instanceof Ic?this.reportNoViableAlternative(i,s):s instanceof Ws?this.reportInputMismatch(i,s):s instanceof Lh?this.reportFailedPredicate(i,s):(console.log("unknown recognition error type: "+s.constructor.name),console.log(s.stack),i.notifyErrorListeners(s.getOffendingToken(),s.getMessage(),s)))}},{key:"recover",value:function(i,s){this.lastErrorIndex===i.getInputStream().index&&this.lastErrorStates!==null&&this.lastErrorStates.indexOf(i.state)>=0&&i.consume(),this.lastErrorIndex=i._input.index,this.lastErrorStates===null&&(this.lastErrorStates=[]),this.lastErrorStates.push(i.state);var v=this.getErrorRecoverySet(i);this.consumeUntil(i,v)}},{key:"sync",value:function(i){if(!this.inErrorRecoveryMode(i)){var s=i._interp.atn.states[i.state],v=i.getTokenStream().LA(1),T=i.atn.nextTokens(s);if(T.contains(v))return this.nextTokensContext=null,void(this.nextTokenState=me.INVALID_STATE_NUMBER);if(T.contains(n.EPSILON))this.nextTokensContext===null&&(this.nextTokensContext=i._ctx,this.nextTokensState=i._stateNumber);else switch(s.stateType){case me.BLOCK_START:case me.STAR_BLOCK_START:case me.PLUS_BLOCK_START:case me.STAR_LOOP_ENTRY:if(this.singleTokenDeletion(i)!==null)return;throw new Ws(i);case me.PLUS_LOOP_BACK:case me.STAR_LOOP_BACK:this.reportUnwantedToken(i);var E=new ne;E.addSet(i.getExpectedTokens());var R=E.addSet(this.getErrorRecoverySet(i));this.consumeUntil(i,R)}}}},{key:"reportNoViableAlternative",value:function(i,s){var v,T=i.getTokenStream();v=T!==null?s.startToken.type===n.EOF?"<EOF>":T.getText(new _e(s.startToken.tokenIndex,s.offendingToken.tokenIndex)):"<unknown input>";var E="no viable alternative at input "+this.escapeWSAndQuote(v);i.notifyErrorListeners(E,s.offendingToken,s)}},{key:"reportInputMismatch",value:function(i,s){var v="mismatched input "+this.getTokenErrorDisplay(s.offendingToken)+" expecting "+s.getExpectedTokens().toString(i.literalNames,i.symbolicNames);i.notifyErrorListeners(v,s.offendingToken,s)}},{key:"reportFailedPredicate",value:function(i,s){var v="rule "+i.ruleNames[i._ctx.ruleIndex]+" "+s.message;i.notifyErrorListeners(v,s.offendingToken,s)}},{key:"reportUnwantedToken",value:function(i){if(!this.inErrorRecoveryMode(i)){this.beginErrorCondition(i);var s=i.getCurrentToken(),v="extraneous input "+this.getTokenErrorDisplay(s)+" expecting "+this.getExpectedTokens(i).toString(i.literalNames,i.symbolicNames);i.notifyErrorListeners(v,s,null)}}},{key:"reportMissingToken",value:function(i){if(!this.inErrorRecoveryMode(i)){this.beginErrorCondition(i);var s=i.getCurrentToken(),v="missing "+this.getExpectedTokens(i).toString(i.literalNames,i.symbolicNames)+" at "+this.getTokenErrorDisplay(s);i.notifyErrorListeners(v,s,null)}}},{key:"recoverInline",value:function(i){var s=this.singleTokenDeletion(i);if(s!==null)return i.consume(),s;if(this.singleTokenInsertion(i))return this.getMissingSymbol(i);throw new Ws(i)}},{key:"singleTokenInsertion",value:function(i){var s=i.getTokenStream().LA(1),v=i._interp.atn,T=v.states[i.state].transitions[0].target;return!!v.nextTokens(T,i._ctx).contains(s)&&(this.reportMissingToken(i),!0)}},{key:"singleTokenDeletion",value:function(i){var s=i.getTokenStream().LA(2);if(this.getExpectedTokens(i).contains(s)){this.reportUnwantedToken(i),i.consume();var v=i.getCurrentToken();return this.reportMatch(i),v}return null}},{key:"getMissingSymbol",value:function(i){var s,v=i.getCurrentToken(),T=this.getExpectedTokens(i).first();s=T===n.EOF?"<missing EOF>":"<missing "+i.literalNames[T]+">";var E=v,R=i.getTokenStream().LT(-1);return E.type===n.EOF&&R!==null&&(E=R),i.getTokenFactory().create(E.source,T,s,n.DEFAULT_CHANNEL,-1,-1,E.line,E.column)}},{key:"getExpectedTokens",value:function(i){return i.getExpectedTokens()}},{key:"getTokenErrorDisplay",value:function(i){if(i===null)return"<no token>";var s=i.text;return s===null&&(s=i.type===n.EOF?"<EOF>":"<"+i.type+">"),this.escapeWSAndQuote(s)}},{key:"escapeWSAndQuote",value:function(i){return"'"+(i=(i=(i=i.replace(/\n/g,"\\n")).replace(/\r/g,"\\r")).replace(/\t/g,"\\t"))+"'"}},{key:"getErrorRecoverySet",value:function(i){for(var s=i._interp.atn,v=i._ctx,T=new ne;v!==null&&v.invokingState>=0;){var E=s.states[v.invokingState].transitions[0],R=s.nextTokens(E.followState);T.addSet(R),v=v.parentCtx}return T.removeOne(n.EPSILON),T}},{key:"consumeUntil",value:function(i,s){for(var v=i.getTokenStream().LA(1);v!==n.EOF&&!s.contains(v);)i.consume(),v=i.getTokenStream().LA(1)}}],p&&kg(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),d}(function(){function l(){(function(a,f){if(!(a instanceof f))throw new TypeError("Cannot call a class as a function")})(this,l)}var r,p;return r=l,(p=[{key:"reset",value:function(a){}},{key:"recoverInline",value:function(a){}},{key:"recover",value:function(a,f){}},{key:"sync",value:function(a){}},{key:"inErrorRecoveryMode",value:function(a){}},{key:"reportError",value:function(a){}}])&&Cg(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),l}());function Ka(l){return Ka=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Ka(l)}function Rg(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(Ka(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(Ka(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Ka(f)==="symbol"?f:String(f)),a)}var f}function Gh(l,r){return Gh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},Gh(l,r)}function Hc(l){return Hc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Hc(l)}var Ry=function(l){(function(i,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(s&&s.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),s&&Gh(i,s)})(d,l);var r,p,a,f,c=(a=d,f=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 i,s=Hc(a);if(f){var v=Hc(this).constructor;i=Reflect.construct(s,arguments,v)}else i=s.apply(this,arguments);return function(T,E){if(E&&(Ka(E)==="object"||typeof E=="function"))return E;if(E!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(R){if(R===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return R}(T)}(this,i)});function d(){return function(i,s){if(!(i instanceof s))throw new TypeError("Cannot call a class as a function")}(this,d),c.call(this)}return r=d,p=[{key:"recover",value:function(i,s){for(var v=i._ctx;v!==null;)v.exception=s,v=v.parentCtx;throw new Dg(s)}},{key:"recoverInline",value:function(i){this.recover(i,new Ws(i))}},{key:"sync",value:function(i){}}],p&&Rg(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),d}(Hh);const wg={RecognitionException:Bo,NoViableAltException:Ic,LexerNoViableAltException:_h,InputMismatchException:Ws,FailedPredicateException:Lh,DiagnosticErrorListener:Dy,BailErrorStrategy:Ry,DefaultErrorStrategy:Hh,ErrorListener:ks};function Js(l){return Js=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Js(l)}function Ng(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(Js(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(Js(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Js(f)==="symbol"?f:String(f)),a)}var f}var Zs=function(){function l(a,f){if(function(s,v){if(!(s instanceof v))throw new TypeError("Cannot call a class as a function")}(this,l),this.name="<empty>",this.strdata=a,this.decodeToUnicodeCodePoints=f||!1,this._index=0,this.data=[],this.decodeToUnicodeCodePoints)for(var c=0;c<this.strdata.length;){var d=this.strdata.codePointAt(c);this.data.push(d),c+=d<=65535?1:2}else{this.data=new Array(this.strdata.length);for(var i=0;i<this.strdata.length;i++)this.data[i]=this.strdata.charCodeAt(i)}this._size=this.data.length}var r,p;return r=l,(p=[{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 f=this._index+a-1;return f<0||f>=this._size?n.EOF:this.data[f]}},{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,f){if(f>=this._size&&(f=this._size-1),a>=this._size)return"";if(this.decodeToUnicodeCodePoints){for(var c="",d=a;d<=f;d++)c+=String.fromCodePoint(this.data[d]);return c}return this.strdata.slice(a,f+1)}},{key:"toString",value:function(){return this.strdata}},{key:"index",get:function(){return this._index}},{key:"size",get:function(){return this._size}}])&&Ng(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),l}();function Kh(l){return Kh=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Kh(l)}function zh(l,r){return zh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},zh(l,r)}function Gc(l){return Gc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Gc(l)}var Qs=function(l){(function(d,i){if(typeof i!="function"&&i!==null)throw new TypeError("Super expression must either be null or a function");d.prototype=Object.create(i&&i.prototype,{constructor:{value:d,writable:!0,configurable:!0}}),Object.defineProperty(d,"prototype",{writable:!1}),i&&zh(d,i)})(c,l);var r,p,a,f=(p=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 d,i=Gc(p);if(a){var s=Gc(this).constructor;d=Reflect.construct(i,arguments,s)}else d=i.apply(this,arguments);return function(v,T){if(T&&(Kh(T)==="object"||typeof T=="function"))return T;if(T!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(E){if(E===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return E}(v)}(this,d)});function c(d,i){return function(s,v){if(!(s instanceof v))throw new TypeError("Cannot call a class as a function")}(this,c),f.call(this,d,i)}return r=c,Object.defineProperty(r,"prototype",{writable:!1}),r}(Zs),wy=xr(92);function za(l){return za=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},za(l)}function Pg(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(za(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(za(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),za(f)==="symbol"?f:String(f)),a)}var f}function $h(l,r){return $h=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},$h(l,r)}function Kc(l){return Kc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Kc(l)}var Ny=typeof process<"u"&&process.versions!=null&&process.versions.node!=null,Py=function(l){(function(i,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(s&&s.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),s&&$h(i,s)})(d,l);var r,p,a,f,c=(a=d,f=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 i,s=Kc(a);if(f){var v=Kc(this).constructor;i=Reflect.construct(s,arguments,v)}else i=s.apply(this,arguments);return function(T,E){if(E&&(za(E)==="object"||typeof E=="function"))return E;if(E!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(R){if(R===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return R}(T)}(this,i)});function d(i,s,v){var T;if(function(R,ee){if(!(R instanceof ee))throw new TypeError("Cannot call a class as a function")}(this,d),!Ny)throw new Error("FileStream is only available when running in Node!");var E=wy.readFileSync(i,s||"utf-8");return(T=c.call(this,E,v)).fileName=i,T}return r=d,p=[{key:"fromPath",value:function(i,s,v){if(!Ny)throw new Error("FileStream is only available when running in Node!");wy.readFile(i,s,function(T,E){var R=null;E!==null&&(R=new Zs(E,!0)),v(T,R)})}}],p&&Pg(r,p),Object.defineProperty(r,"prototype",{writable:!1}),d}(Qs);const Iy={fromString:function(l){return new Zs(l,!0)},fromBlob:function(l,r,p,a){var f=new window.FileReader;f.onload=function(c){var d=new Zs(c.target.result,!0);p(d)},f.onerror=a,f.readAsText(l,r)},fromBuffer:function(l,r){return new Zs(l.toString(r),!0)},fromPath:function(l,r,p){Py.fromPath(l,r,p)},fromPathSync:function(l,r){return new Py(l,r)}},Ig={arrayToString:j,stringToCharArray:function(l){for(var r=new Uint16Array(l.length),p=0;p<l.length;p++)r[p]=l.charCodeAt(p);return r}};function eu(l){return eu=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},eu(l)}function Fy(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(eu(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(eu(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),eu(f)==="symbol"?f:String(f)),a)}var f}function Fg(l,r,p){return r&&Fy(l.prototype,r),p&&Fy(l,p),Object.defineProperty(l,"prototype",{writable:!1}),l}function $a(l){return $a=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},$a(l)}function Lg(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if($a(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if($a(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),$a(f)==="symbol"?f:String(f)),a)}var f}function Wh(l,r){return Wh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},Wh(l,r)}function zc(l){return zc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},zc(l)}var Ly=function(l){(function(i,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(s&&s.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),s&&Wh(i,s)})(d,l);var r,p,a,f,c=(a=d,f=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 i,s=zc(a);if(f){var v=zc(this).constructor;i=Reflect.construct(s,arguments,v)}else i=s.apply(this,arguments);return function(T,E){if(E&&($a(E)==="object"||typeof E=="function"))return E;if(E!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(R){if(R===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return R}(T)}(this,i)});function d(i){var s;return function(v,T){if(!(v instanceof T))throw new TypeError("Cannot call a class as a function")}(this,d),(s=c.call(this)).tokenSource=i,s.tokens=[],s.index=-1,s.fetchedEOF=!1,s}return r=d,(p=[{key:"mark",value:function(){return 0}},{key:"release",value:function(i){}},{key:"reset",value:function(){this.seek(0)}},{key:"seek",value:function(i){this.lazyInit(),this.index=this.adjustSeekIndex(i)}},{key:"size",get:function(){return this.tokens.length}},{key:"get",value:function(i){return this.lazyInit(),this.tokens[i]}},{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(i){var s=i-this.tokens.length+1;return!(s>0)||this.fetch(s)>=s}},{key:"fetch",value:function(i){if(this.fetchedEOF)return 0;for(var s=0;s<i;s++){var v=this.tokenSource.nextToken();if(v.tokenIndex=this.tokens.length,this.tokens.push(v),v.type===n.EOF)return this.fetchedEOF=!0,s+1}return i}},{key:"getTokens",value:function(i,s,v){if(v===void 0&&(v=null),i<0||s<0)return null;this.lazyInit();var T=[];s>=this.tokens.length&&(s=this.tokens.length-1);for(var E=i;E<s;E++){var R=this.tokens[E];if(R.type===n.EOF)break;(v===null||v.contains(R.type))&&T.push(R)}return T}},{key:"LA",value:function(i){return this.LT(i).type}},{key:"LB",value:function(i){return this.index-i<0?null:this.tokens[this.index-i]}},{key:"LT",value:function(i){if(this.lazyInit(),i===0)return null;if(i<0)return this.LB(-i);var s=this.index+i-1;return this.sync(s),s>=this.tokens.length?this.tokens[this.tokens.length-1]:this.tokens[s]}},{key:"adjustSeekIndex",value:function(i){return i}},{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(i){this.tokenSource=i,this.tokens=[],this.index=-1,this.fetchedEOF=!1}},{key:"nextTokenOnChannel",value:function(i,s){if(this.sync(i),i>=this.tokens.length)return-1;for(var v=this.tokens[i];v.channel!==this.channel;){if(v.type===n.EOF)return-1;i+=1,this.sync(i),v=this.tokens[i]}return i}},{key:"previousTokenOnChannel",value:function(i,s){for(;i>=0&&this.tokens[i].channel!==s;)i-=1;return i}},{key:"getHiddenTokensToRight",value:function(i,s){if(s===void 0&&(s=-1),this.lazyInit(),i<0||i>=this.tokens.length)throw i+" not in 0.."+this.tokens.length-1;var v=this.nextTokenOnChannel(i+1,or.DEFAULT_TOKEN_CHANNEL),T=i+1,E=v===-1?this.tokens.length-1:v;return this.filterForChannel(T,E,s)}},{key:"getHiddenTokensToLeft",value:function(i,s){if(s===void 0&&(s=-1),this.lazyInit(),i<0||i>=this.tokens.length)throw i+" not in 0.."+this.tokens.length-1;var v=this.previousTokenOnChannel(i-1,or.DEFAULT_TOKEN_CHANNEL);if(v===i-1)return null;var T=v+1,E=i-1;return this.filterForChannel(T,E,s)}},{key:"filterForChannel",value:function(i,s,v){for(var T=[],E=i;E<s+1;E++){var R=this.tokens[E];v===-1?R.channel!==or.DEFAULT_TOKEN_CHANNEL&&T.push(R):R.channel===v&&T.push(R)}return T.length===0?null:T}},{key:"getSourceName",value:function(){return this.tokenSource.getSourceName()}},{key:"getText",value:function(i){this.lazyInit(),this.fill(),i||(i=new _e(0,this.tokens.length-1));var s=i.start;s instanceof n&&(s=s.tokenIndex);var v=i.stop;if(v instanceof n&&(v=v.tokenIndex),s===null||v===null||s<0||v<0)return"";v>=this.tokens.length&&(v=this.tokens.length-1);for(var T="",E=s;E<v+1;E++){var R=this.tokens[E];if(R.type===n.EOF)break;T+=R.text}return T}},{key:"fill",value:function(){for(this.lazyInit();this.fetch(1e3)===1e3;);}}])&&Lg(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),d}(Fg(function l(){(function(r,p){if(!(r instanceof p))throw new TypeError("Cannot call a class as a function")})(this,l)}));function Wa(l){return Wa=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Wa(l)}function Mg(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(Wa(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(Wa(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Wa(f)==="symbol"?f:String(f)),a)}var f}function Xh(l,r){return Xh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},Xh(l,r)}function $c(l){return $c=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},$c(l)}Object.defineProperty(Ly,"size",{get:function(){return this.tokens.length}});var My=function(l){(function(i,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(s&&s.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),s&&Xh(i,s)})(d,l);var r,p,a,f,c=(a=d,f=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 i,s=$c(a);if(f){var v=$c(this).constructor;i=Reflect.construct(s,arguments,v)}else i=s.apply(this,arguments);return function(T,E){if(E&&(Wa(E)==="object"||typeof E=="function"))return E;if(E!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(R){if(R===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return R}(T)}(this,i)});function d(i,s){var v;return function(T,E){if(!(T instanceof E))throw new TypeError("Cannot call a class as a function")}(this,d),(v=c.call(this,i)).channel=s===void 0?n.DEFAULT_CHANNEL:s,v}return r=d,(p=[{key:"adjustSeekIndex",value:function(i){return this.nextTokenOnChannel(i,this.channel)}},{key:"LB",value:function(i){if(i===0||this.index-i<0)return null;for(var s=this.index,v=1;v<=i;)s=this.previousTokenOnChannel(s-1,this.channel),v+=1;return s<0?null:this.tokens[s]}},{key:"LT",value:function(i){if(this.lazyInit(),i===0)return null;if(i<0)return this.LB(-i);for(var s=this.index,v=1;v<i;)this.sync(s+1)&&(s=this.nextTokenOnChannel(s+1,this.channel)),v+=1;return this.tokens[s]}},{key:"getNumberOfOnChannelTokens",value:function(){var i=0;this.fill();for(var s=0;s<this.tokens.length;s++){var v=this.tokens[s];if(v.channel===this.channel&&(i+=1),v.type===n.EOF)break}return i}}])&&Mg(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),d}(Ly);function Xa(l){return Xa=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Xa(l)}function Bg(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(Xa(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(Xa(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Xa(f)==="symbol"?f:String(f)),a)}var f}function qh(l,r){return qh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},qh(l,r)}function Wc(l){return Wc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Wc(l)}var Ug=function(l){(function(i,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(s&&s.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),s&&qh(i,s)})(d,l);var r,p,a,f,c=(a=d,f=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 i,s=Wc(a);if(f){var v=Wc(this).constructor;i=Reflect.construct(s,arguments,v)}else i=s.apply(this,arguments);return function(T,E){if(E&&(Xa(E)==="object"||typeof E=="function"))return E;if(E!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(R){if(R===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return R}(T)}(this,i)});function d(i){var s;return function(v,T){if(!(v instanceof T))throw new TypeError("Cannot call a class as a function")}(this,d),(s=c.call(this)).parser=i,s}return r=d,(p=[{key:"enterEveryRule",value:function(i){console.log("enter "+this.parser.ruleNames[i.ruleIndex]+", LT(1)="+this.parser._input.LT(1).text)}},{key:"visitTerminal",value:function(i){console.log("consume "+i.symbol+" rule "+this.parser.ruleNames[this.parser._ctx.ruleIndex])}},{key:"exitEveryRule",value:function(i){console.log("exit "+this.parser.ruleNames[i.ruleIndex]+", LT(1)="+this.parser._input.LT(1).text)}}])&&Bg(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),d}(wh);function qa(l){return qa=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},qa(l)}function Vg(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(qa(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(qa(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),qa(f)==="symbol"?f:String(f)),a)}var f}function Yh(l,r){return Yh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},Yh(l,r)}function Xc(l){return Xc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Xc(l)}var Jh=function(l){(function(i,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(s&&s.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),s&&Yh(i,s)})(d,l);var r,p,a,f,c=(a=d,f=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 i,s=Xc(a);if(f){var v=Xc(this).constructor;i=Reflect.construct(s,arguments,v)}else i=s.apply(this,arguments);return function(T,E){if(E&&(qa(E)==="object"||typeof E=="function"))return E;if(E!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(R){if(R===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return R}(T)}(this,i)});function d(i){var s;return function(v,T){if(!(v instanceof T))throw new TypeError("Cannot call a class as a function")}(this,d),(s=c.call(this))._input=null,s._errHandler=new Hh,s._precedenceStack=[],s._precedenceStack.push(0),s._ctx=null,s.buildParseTrees=!0,s._tracer=null,s._parseListeners=null,s._syntaxErrors=0,s.setInputStream(i),s}return r=d,p=[{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(i){var s=this.getCurrentToken();return s.type===i?(this._errHandler.reportMatch(this),this.consume()):(s=this._errHandler.recoverInline(this),this.buildParseTrees&&s.tokenIndex===-1&&this._ctx.addErrorNode(s)),s}},{key:"matchWildcard",value:function(){var i=this.getCurrentToken();return i.type>0?(this._errHandler.reportMatch(this),this.consume()):(i=this._errHandler.recoverInline(this),this.buildParseTrees&&i.tokenIndex===-1&&this._ctx.addErrorNode(i)),i}},{key:"getParseListeners",value:function(){return this._parseListeners||[]}},{key:"addParseListener",value:function(i){if(i===null)throw"listener";this._parseListeners===null&&(this._parseListeners=[]),this._parseListeners.push(i)}},{key:"removeParseListener",value:function(i){if(this._parseListeners!==null){var s=this._parseListeners.indexOf(i);s>=0&&this._parseListeners.splice(s,1),this._parseListeners.length===0&&(this._parseListeners=null)}}},{key:"removeParseListeners",value:function(){this._parseListeners=null}},{key:"triggerEnterRuleEvent",value:function(){if(this._parseListeners!==null){var i=this._ctx;this._parseListeners.forEach(function(s){s.enterEveryRule(i),i.enterRule(s)})}}},{key:"triggerExitRuleEvent",value:function(){if(this._parseListeners!==null){var i=this._ctx;this._parseListeners.slice(0).reverse().forEach(function(s){i.exitRule(s),s.exitEveryRule(i)})}}},{key:"getTokenFactory",value:function(){return this._input.tokenSource._factory}},{key:"setTokenFactory",value:function(i){this._input.tokenSource._factory=i}},{key:"getATNWithBypassAlts",value:function(){var i=this.getSerializedATN();if(i===null)throw"The current parser does not support an ATN with bypass alternatives.";var s=this.bypassAltsAtnCache[i];if(s===null){var v=new xs;v.generateRuleBypassTransitions=!0,s=new sh(v).deserialize(i),this.bypassAltsAtnCache[i]=s}return s}},{key:"getInputStream",value:function(){return this.getTokenStream()}},{key:"setInputStream",value:function(i){this.setTokenStream(i)}},{key:"getTokenStream",value:function(){return this._input}},{key:"setTokenStream",value:function(i){this._input=null,this.reset(),this._input=i}},{key:"syntaxErrorsCount",get:function(){return this._syntaxErrors}},{key:"getCurrentToken",value:function(){return this._input.LT(1)}},{key:"notifyErrorListeners",value:function(i,s,v){v=v||null,(s=s||null)===null&&(s=this.getCurrentToken()),this._syntaxErrors+=1;var T=s.line,E=s.column;this.getErrorListenerDispatch().syntaxError(this,s,T,E,i,v)}},{key:"consume",value:function(){var i=this.getCurrentToken();i.type!==n.EOF&&this.getInputStream().consume();var s,v=this._parseListeners!==null&&this._parseListeners.length>0;return(this.buildParseTrees||v)&&((s=this._errHandler.inErrorRecoveryMode(this)?this._ctx.addErrorNode(i):this._ctx.addTokenNode(i)).invokingState=this.state,v&&this._parseListeners.forEach(function(T){s instanceof $r||s.isErrorNode!==void 0&&s.isErrorNode()?T.visitErrorNode(s):s instanceof on&&T.visitTerminal(s)})),i}},{key:"addContextToParseTree",value:function(){this._ctx.parentCtx!==null&&this._ctx.parentCtx.addChild(this._ctx)}},{key:"enterRule",value:function(i,s,v){this.state=s,this._ctx=i,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(i,s){i.setAltNumber(s),this.buildParseTrees&&this._ctx!==i&&this._ctx.parentCtx!==null&&(this._ctx.parentCtx.removeLastChild(),this._ctx.parentCtx.addChild(i)),this._ctx=i}},{key:"getPrecedence",value:function(){return this._precedenceStack.length===0?-1:this._precedenceStack[this._precedenceStack.length-1]}},{key:"enterRecursionRule",value:function(i,s,v,T){this.state=s,this._precedenceStack.push(T),this._ctx=i,this._ctx.start=this._input.LT(1),this.triggerEnterRuleEvent()}},{key:"pushNewRecursionContext",value:function(i,s,v){var T=this._ctx;T.parentCtx=i,T.invokingState=s,T.stop=this._input.LT(-1),this._ctx=i,this._ctx.start=T.start,this.buildParseTrees&&this._ctx.addChild(T),this.triggerEnterRuleEvent()}},{key:"unrollRecursionContexts",value:function(i){this._precedenceStack.pop(),this._ctx.stop=this._input.LT(-1);var s=this._ctx,v=this.getParseListeners();if(v!==null&&v.length>0)for(;this._ctx!==i;)this.triggerExitRuleEvent(),this._ctx=this._ctx.parentCtx;else this._ctx=i;s.parentCtx=i,this.buildParseTrees&&i!==null&&i.addChild(s)}},{key:"getInvokingContext",value:function(i){for(var s=this._ctx;s!==null;){if(s.ruleIndex===i)return s;s=s.parentCtx}return null}},{key:"precpred",value:function(i,s){return s>=this._precedenceStack[this._precedenceStack.length-1]}},{key:"inContext",value:function(i){return!1}},{key:"isExpectedToken",value:function(i){var s=this._interp.atn,v=this._ctx,T=s.states[this.state],E=s.nextTokens(T);if(E.contains(i))return!0;if(!E.contains(n.EPSILON))return!1;for(;v!==null&&v.invokingState>=0&&E.contains(n.EPSILON);){var R=s.states[v.invokingState].transitions[0];if((E=s.nextTokens(R.followState)).contains(i))return!0;v=v.parentCtx}return!(!E.contains(n.EPSILON)||i!==n.EOF)}},{key:"getExpectedTokens",value:function(){return this._interp.atn.getExpectedTokens(this.state,this._ctx)}},{key:"getExpectedTokensWithinCurrentRule",value:function(){var i=this._interp.atn,s=i.states[this.state];return i.nextTokens(s)}},{key:"getRuleIndex",value:function(i){var s=this.getRuleIndexMap()[i];return s!==null?s:-1}},{key:"getRuleInvocationStack",value:function(i){(i=i||null)===null&&(i=this._ctx);for(var s=[];i!==null;){var v=i.ruleIndex;v<0?s.push("n/a"):s.push(this.ruleNames[v]),i=i.parentCtx}return s}},{key:"getDFAStrings",value:function(){return this._interp.decisionToDFA.toString()}},{key:"dumpDFA",value:function(){for(var i=!1,s=0;s<this._interp.decisionToDFA.length;s++){var v=this._interp.decisionToDFA[s];v.states.length>0&&(i&&console.log(),this.printer.println("Decision "+v.decision+":"),this.printer.print(v.toString(this.literalNames,this.symbolicNames)),i=!0)}}},{key:"getSourceName",value:function(){return this._input.sourceName}},{key:"setTrace",value:function(i){i?(this._tracer!==null&&this.removeParseListener(this._tracer),this._tracer=new Ug(this),this.addParseListener(this._tracer)):(this.removeParseListener(this._tracer),this._tracer=null)}}],p&&Vg(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),d}(xc);function Ya(l){return Ya=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Ya(l)}function jg(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(Ya(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(Ya(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Ya(f)==="symbol"?f:String(f)),a)}var f}function Zh(l,r){return Zh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},Zh(l,r)}function qc(l){return qc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},qc(l)}Jh.bypassAltsAtnCache={};var By=function(l){(function(i,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(s&&s.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),s&&Zh(i,s)})(d,l);var r,p,a,f,c=(a=d,f=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 i,s=qc(a);if(f){var v=qc(this).constructor;i=Reflect.construct(s,arguments,v)}else i=s.apply(this,arguments);return function(T,E){if(E&&(Ya(E)==="object"||typeof E=="function"))return E;if(E!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(R){if(R===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return R}(T)}(this,i)});function d(i){var s;return function(v,T){if(!(v instanceof T))throw new TypeError("Cannot call a class as a function")}(this,d),(s=c.call(this)).parentCtx=null,s.symbol=i,s}return r=d,(p=[{key:"getChild",value:function(i){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 _e.INVALID_INTERVAL;var i=this.symbol.tokenIndex;return new _e(i,i)}},{key:"getChildCount",value:function(){return 0}},{key:"accept",value:function(i){return i.visitTerminal(this)}},{key:"getText",value:function(){return this.symbol.text}},{key:"toString",value:function(){return this.symbol.type===n.EOF?"<EOF>":this.symbol.text}}])&&jg(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),d}(on);function Ja(l){return Ja=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Ja(l)}function Hg(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(Ja(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(Ja(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Ja(f)==="symbol"?f:String(f)),a)}var f}function Qh(l,r){return Qh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},Qh(l,r)}function Yc(l){return Yc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Yc(l)}var Uy=function(l){(function(i,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(s&&s.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),s&&Qh(i,s)})(d,l);var r,p,a,f,c=(a=d,f=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 i,s=Yc(a);if(f){var v=Yc(this).constructor;i=Reflect.construct(s,arguments,v)}else i=s.apply(this,arguments);return function(T,E){if(E&&(Ja(E)==="object"||typeof E=="function"))return E;if(E!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(R){if(R===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return R}(T)}(this,i)});function d(i){return function(s,v){if(!(s instanceof v))throw new TypeError("Cannot call a class as a function")}(this,d),c.call(this,i)}return r=d,(p=[{key:"isErrorNode",value:function(){return!0}},{key:"accept",value:function(i){return i.visitErrorNode(this)}}])&&Hg(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),d}(By);function Za(l){return Za=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Za(l)}function Gg(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(Za(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(Za(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Za(f)==="symbol"?f:String(f)),a)}var f}function ep(l,r){return ep=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},ep(l,r)}function Jc(l){return Jc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Jc(l)}var tp=function(l){(function(i,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(s&&s.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),s&&ep(i,s)})(d,l);var r,p,a,f,c=(a=d,f=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 i,s=Jc(a);if(f){var v=Jc(this).constructor;i=Reflect.construct(s,arguments,v)}else i=s.apply(this,arguments);return function(T,E){if(E&&(Za(E)==="object"||typeof E=="function"))return E;if(E!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(R){if(R===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return R}(T)}(this,i)});function d(i,s){var v;return function(T,E){if(!(T instanceof E))throw new TypeError("Cannot call a class as a function")}(this,d),(v=c.call(this,i,s)).children=null,v.start=null,v.stop=null,v.exception=null,v}return r=d,(p=[{key:"copyFrom",value:function(i){this.parentCtx=i.parentCtx,this.invokingState=i.invokingState,this.children=null,this.start=i.start,this.stop=i.stop,i.children&&(this.children=[],i.children.map(function(s){s instanceof Uy&&(this.children.push(s),s.parentCtx=this)},this))}},{key:"enterRule",value:function(i){}},{key:"exitRule",value:function(i){}},{key:"addChild",value:function(i){return this.children===null&&(this.children=[]),this.children.push(i),i}},{key:"removeLastChild",value:function(){this.children!==null&&this.children.pop()}},{key:"addTokenNode",value:function(i){var s=new By(i);return this.addChild(s),s.parentCtx=this,s}},{key:"addErrorNode",value:function(i){var s=new Uy(i);return this.addChild(s),s.parentCtx=this,s}},{key:"getChild",value:function(i,s){if(s=s||null,this.children===null||i<0||i>=this.children.length)return null;if(s===null)return this.children[i];for(var v=0;v<this.children.length;v++){var T=this.children[v];if(T instanceof s){if(i===0)return T;i-=1}}return null}},{key:"getToken",value:function(i,s){if(this.children===null||s<0||s>=this.children.length)return null;for(var v=0;v<this.children.length;v++){var T=this.children[v];if(T instanceof on&&T.symbol.type===i){if(s===0)return T;s-=1}}return null}},{key:"getTokens",value:function(i){if(this.children===null)return[];for(var s=[],v=0;v<this.children.length;v++){var T=this.children[v];T instanceof on&&T.symbol.type===i&&s.push(T)}return s}},{key:"getTypedRuleContext",value:function(i,s){return this.getChild(s,i)}},{key:"getTypedRuleContexts",value:function(i){if(this.children===null)return[];for(var s=[],v=0;v<this.children.length;v++){var T=this.children[v];T instanceof i&&s.push(T)}return s}},{key:"getChildCount",value:function(){return this.children===null?0:this.children.length}},{key:"getSourceInterval",value:function(){return this.start===null||this.stop===null?_e.INVALID_INTERVAL:new _e(this.start.tokenIndex,this.stop.tokenIndex)}}])&&Gg(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),d}(Xi);function np(l,r){if(typeof r!="function"&&r!==null)throw new TypeError("Super expression must either be null or a function");l.prototype=Object.create(r&&r.prototype,{constructor:{value:l,writable:!0,configurable:!0}}),Object.defineProperty(l,"prototype",{writable:!1}),r&&rp(l,r)}function rp(l,r){return rp=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},rp(l,r)}function ip(l){var r=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 p,a=Zc(l);if(r){var f=Zc(this).constructor;p=Reflect.construct(a,arguments,f)}else p=a.apply(this,arguments);return function(c,d){if(d&&(Qa(d)==="object"||typeof d=="function"))return d;if(d!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(i){if(i===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return i}(c)}(this,p)}}function Zc(l){return Zc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Zc(l)}function Qa(l){return Qa=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Qa(l)}function es(l,r){var p=typeof Symbol<"u"&&l[Symbol.iterator]||l["@@iterator"];if(!p){if(Array.isArray(l)||(p=function(s,v){if(s){if(typeof s=="string")return Vy(s,v);var T=Object.prototype.toString.call(s).slice(8,-1);return T==="Object"&&s.constructor&&(T=s.constructor.name),T==="Map"||T==="Set"?Array.from(s):T==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(T)?Vy(s,v):void 0}}(l))||r&&l&&typeof l.length=="number"){p&&(l=p);var a=0,f=function(){};return{s:f,n:function(){return a>=l.length?{done:!0}:{done:!1,value:l[a++]}},e:function(s){throw s},f}}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,d=!0,i=!1;return{s:function(){p=p.call(l)},n:function(){var s=p.next();return d=s.done,s},e:function(s){i=!0,c=s},f:function(){try{d||p.return==null||p.return()}finally{if(i)throw c}}}}function Vy(l,r){(r==null||r>l.length)&&(r=l.length);for(var p=0,a=new Array(r);p<r;p++)a[p]=l[p];return a}function tu(l,r){if(!(l instanceof r))throw new TypeError("Cannot call a class as a function")}function jy(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,Hy(a.key),a)}}function nu(l,r,p){return r&&jy(l.prototype,r),p&&jy(l,p),Object.defineProperty(l,"prototype",{writable:!1}),l}function Hy(l){var r=function(p,a){if(Qa(p)!=="object"||p===null)return p;var f=p[Symbol.toPrimitive];if(f!==void 0){var c=f.call(p,"string");if(Qa(c)!=="object")return c;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(p)}(l);return Qa(r)==="symbol"?r:String(r)}Xi.EMPTY=new tp;var Qc,el,op,Gy=function(){function l(r){tu(this,l),this.tokens=r,this.programs=new Map}return nu(l,[{key:"getTokenStream",value:function(){return this.tokens}},{key:"insertAfter",value:function(r,p){var a,f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:l.DEFAULT_PROGRAM_NAME;a=typeof r=="number"?r:r.tokenIndex;var c=this.getProgram(f),d=new zy(this.tokens,a,c.length,p);c.push(d)}},{key:"insertBefore",value:function(r,p){var a,f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:l.DEFAULT_PROGRAM_NAME;a=typeof r=="number"?r:r.tokenIndex;var c=this.getProgram(f),d=new ts(this.tokens,a,c.length,p);c.push(d)}},{key:"replaceSingle",value:function(r,p){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:l.DEFAULT_PROGRAM_NAME;this.replace(r,r,p,a)}},{key:"replace",value:function(r,p,a){var f=arguments.length>3&&arguments[3]!==void 0?arguments[3]:l.DEFAULT_PROGRAM_NAME;if(typeof r!="number"&&(r=r.tokenIndex),typeof p!="number"&&(p=p.tokenIndex),r>p||r<0||p<0||p>=this.tokens.size)throw new RangeError("replace: range invalid: ".concat(r,"..").concat(p,"(size=").concat(this.tokens.size,")"));var c=this.getProgram(f),d=new tl(this.tokens,r,p,c.length,a);c.push(d)}},{key:"delete",value:function(r,p){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:l.DEFAULT_PROGRAM_NAME;p===void 0&&(p=r),this.replace(r,p,null,a)}},{key:"getProgram",value:function(r){var p=this.programs.get(r);return p==null&&(p=this.initializeProgram(r)),p}},{key:"initializeProgram",value:function(r){var p=[];return this.programs.set(r,p),p}},{key:"getText",value:function(r){var p,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:l.DEFAULT_PROGRAM_NAME;p=r instanceof _e?r:new _e(0,this.tokens.size-1),typeof r=="string"&&(a=r);var f=this.programs.get(a),c=p.start,d=p.stop;if(d>this.tokens.size-1&&(d=this.tokens.size-1),c<0&&(c=0),f==null||f.length===0)return this.tokens.getText(new _e(c,d));for(var i=[],s=this.reduceToSingleOperationPerIndex(f),v=c;v<=d&&v<this.tokens.size;){var T=s.get(v);s.delete(v);var E=this.tokens.get(v);T==null?(E.type!==n.EOF&&i.push(String(E.text)),v++):v=T.execute(i)}if(d===this.tokens.size-1){var R,ee=es(s.values());try{for(ee.s();!(R=ee.n()).done;){var Ce=R.value;Ce.index>=this.tokens.size-1&&i.push(Ce.text.toString())}}catch(xe){ee.e(xe)}finally{ee.f()}}return i.join("")}},{key:"reduceToSingleOperationPerIndex",value:function(r){for(var p=0;p<r.length;p++){var a=r[p];if(a!=null&&a instanceof tl){var f,c=a,d=es(this.getKindOfOps(r,ts,p));try{for(d.s();!(f=d.n()).done;){var i=f.value;i.index===c.index?(r[i.instructionIndex]=void 0,c.text=i.text.toString()+(c.text!=null?c.text.toString():"")):i.index>c.index&&i.index<=c.lastIndex&&(r[i.instructionIndex]=void 0)}}catch(Ar){d.e(Ar)}finally{d.f()}var s,v=es(this.getKindOfOps(r,tl,p));try{for(v.s();!(s=v.n()).done;){var T=s.value;if(T.index>=c.index&&T.lastIndex<=c.lastIndex)r[T.instructionIndex]=void 0;else{var E=T.lastIndex<c.index||T.index>c.lastIndex;if(T.text!=null||c.text!=null||E){if(!E)throw new Error("replace op boundaries of ".concat(c," overlap with previous ").concat(T))}else r[T.instructionIndex]=void 0,c.index=Math.min(T.index,c.index),c.lastIndex=Math.max(T.lastIndex,c.lastIndex)}}}catch(Ar){v.e(Ar)}finally{v.f()}}}for(var R=0;R<r.length;R++){var ee=r[R];if(ee!=null&&ee instanceof ts){var Ce,xe=ee,Ge=es(this.getKindOfOps(r,ts,R));try{for(Ge.s();!(Ce=Ge.n()).done;){var at=Ce.value;at.index===xe.index&&(at instanceof zy?(xe.text=this.catOpText(at.text,xe.text),r[at.instructionIndex]=void 0):at instanceof ts&&(xe.text=this.catOpText(xe.text,at.text),r[at.instructionIndex]=void 0))}}catch(Ar){Ge.e(Ar)}finally{Ge.f()}var $e,yn=es(this.getKindOfOps(r,tl,R));try{for(yn.s();!($e=yn.n()).done;){var hn=$e.value;if(xe.index!==hn.index){if(xe.index>=hn.index&&xe.index<=hn.lastIndex)throw new Error("insert op ".concat(xe," within boundaries of previous ").concat(hn))}else hn.text=this.catOpText(xe.text,hn.text),r[R]=void 0}}catch(Ar){yn.e(Ar)}finally{yn.f()}}}var Kn,Br=new Map,Ci=es(r);try{for(Ci.s();!(Kn=Ci.n()).done;){var ki=Kn.value;if(ki!=null){if(Br.get(ki.index)!=null)throw new Error("should only be one op per index");Br.set(ki.index,ki)}}}catch(Ar){Ci.e(Ar)}finally{Ci.f()}return Br}},{key:"catOpText",value:function(r,p){var a="",f="";return r!=null&&(a=r.toString()),p!=null&&(f=p.toString()),a+f}},{key:"getKindOfOps",value:function(r,p,a){return r.slice(0,a).filter(function(f){return f&&f instanceof p})}}]),l}();Qc=Gy,op="default",(el=Hy(el="DEFAULT_PROGRAM_NAME"))in Qc?Object.defineProperty(Qc,el,{value:op,enumerable:!0,configurable:!0,writable:!0}):Qc[el]=op;var Ky=function(){function l(r,p,a,f){tu(this,l),this.tokens=r,this.instructionIndex=a,this.index=p,this.text=f===void 0?"":f}return nu(l,[{key:"toString",value:function(){var r=this.constructor.name,p=r.indexOf("$");return"<"+(r=r.substring(p+1,r.length))+"@"+this.tokens.get(this.index)+':"'+this.text+'">'}}]),l}(),ts=function(l){np(p,l);var r=ip(p);function p(a,f,c,d){return tu(this,p),r.call(this,a,f,c,d)}return nu(p,[{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}}]),p}(Ky),zy=function(l){np(p,l);var r=ip(p);function p(a,f,c,d){return tu(this,p),r.call(this,a,f+1,c,d)}return nu(p)}(ts),tl=function(l){np(p,l);var r=ip(p);function p(a,f,c,d,i){var s;return tu(this,p),(s=r.call(this,a,f,d,i)).lastIndex=c,s}return nu(p,[{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+'">'}}]),p}(Ky);const Kg={atn:dg,dfa:gg,context:bg,misc:vg,tree:Ag,error:wg,Token:n,CommonToken:ws,CharStreams:Iy,CharStream:Qs,InputStream:Qs,CommonTokenStream:My,Lexer:or,Parser:Jh,ParserRuleContext:tp,Interval:_e,IntervalSet:ne,LL1Analyzer:Lo,Utils:Ig,TokenStreamRewriter:Gy}})();var Or=kt.dx,ap=kt.q2;kt.FO,kt.xf,kt.Gy;var $y=kt.s4,Wy=kt.c7,sp=kt._7;kt.gp;var Xy=kt.cK,qy=kt.zs,Yy=kt.AV;kt.Xp,kt.VS,kt.ul;var Jy=kt.hW,Zy=kt.x1,hi=kt.z5;kt.oN;var Qy=kt.TB;kt.u1;var em=kt._b,tm=kt.$F,Qe=kt._T,up=kt.db,nm=kt.Zx,et=kt._x;kt.r8,kt.JI,kt.TP;var cp=kt.WU;kt.Nj,kt.ZP;const L=class L extends em{get grammarFileName(){return"tccScriptParser.g4"}get literalNames(){return L.literalNames}get symbolicNames(){return L.symbolicNames}get ruleNames(){return L.ruleNames}get serializedATN(){return L._serializedATN}createFailedPredicateException(e,n){return new qy(this,e,n)}constructor(e){super(e),this._interp=new tm(this,L._ATN,L.DecisionsToDFA,new up)}program(){let e=new rm(this,this._ctx,this.state);this.enterRule(e,0,L.RULE_program);let n;try{this.enterOuterAlt(e,1);{for(this.state=102,this._errHandler.sync(this),n=this._input.LA(1);n===4||n===6||!(n-36&-32)&&1<<n-36&19237111;){switch(this.state=100,this._errHandler.sync(this),this._input.LA(1)){case 60:this.state=98,this.match(L.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 57:this.state=99,this.globalStmt();break;default:throw new hi(this)}this.state=104,this._errHandler.sync(this),n=this._input.LA(1)}this.state=105,this.match(L.EOF)}}catch(o){if(o instanceof et)e.exception=o,this._errHandler.reportError(this,o),this._errHandler.recover(this,o);else throw o}finally{this.exitRule()}return e}globalStmt(){let e=new nl(this,this._ctx,this.state);this.enterRule(e,2,L.RULE_globalStmt);let n;try{switch(this.state=118,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,3,this._ctx)){case 1:this.enterOuterAlt(e,1),this.state=107,this.variableDeclarationStmt(),this.state=109,this._errHandler.sync(this),n=this._input.LA(1),n===8&&(this.state=108,this.match(L.Comma)),this.state=111,this.match(L.NEWLINE);break;case 2:this.enterOuterAlt(e,2),this.state=113,this.blockStmt();break;case 3:this.enterOuterAlt(e,3),this.state=114,this.importStmt();break;case 4:this.enterOuterAlt(e,4),this.state=115,this.arrowFunction();break;case 5:this.enterOuterAlt(e,5),this.state=116,this.arrowMethod();break;case 6:this.enterOuterAlt(e,6),this.state=117,this.typeStatement();break}}catch(o){if(o instanceof et)e.exception=o,this._errHandler.reportError(this,o),this._errHandler.recover(this,o);else throw o}finally{this.exitRule()}return e}blockStmt(){let e=new lp(this,this._ctx,this.state);this.enterRule(e,4,L.RULE_blockStmt);try{let n;this.enterOuterAlt(e,1);{for(this.state=125,this._errHandler.sync(this),n=this._interp.adaptivePredict(this._input,4,this._ctx);n!==2&&n!==Or.INVALID_ALT_NUMBER;)n===1&&(this.state=120,this.variableDeclarationStmt(),this.state=121,this.match(L.Comma)),this.state=127,this._errHandler.sync(this),n=this._interp.adaptivePredict(this._input,4,this._ctx);switch(this.state=130,this._errHandler.sync(this),this._input.LA(1)){case 4:case 6:case 38:case 40:case 51:case 54:case 57:this.state=128,this.varBlockStmt();break;case 37:case 41:case 42:case 43:this.state=129,this.blockExpression();break;default:throw new hi(this)}}}catch(n){if(n instanceof et)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 rl(this,this._ctx,this.state);this.enterRule(e,6,L.RULE_stmt);let n;try{switch(this.state=139,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,7,this._ctx)){case 1:this.enterOuterAlt(e,1),this.state=132,this.simpleStmt(),this.state=134,this._errHandler.sync(this),n=this._input.LA(1),n===8&&(this.state=133,this.match(L.Comma)),this.state=136,this.match(L.NEWLINE);break;case 2:this.enterOuterAlt(e,2),this.state=138,this.expressionBlockSequence();break}}catch(o){if(o instanceof et)e.exception=o,this._errHandler.reportError(this,o),this._errHandler.recover(this,o);else throw o}finally{this.exitRule()}return e}simpleStmt(){let e=new il(this,this._ctx,this.state);this.enterRule(e,8,L.RULE_simpleStmt);try{switch(this.state=145,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,8,this._ctx)){case 1:this.enterOuterAlt(e,1),this.state=141,this.expressionSequence();break;case 2:this.enterOuterAlt(e,2),this.state=142,this.blockSequence();break;case 3:this.enterOuterAlt(e,3),this.state=143,this.brackethesized();break;case 4:this.enterOuterAlt(e,4),this.state=144,this.flowStmt();break}}catch(n){if(n instanceof et)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 fp(this,this._ctx,this.state);this.enterRule(e,10,L.RULE_flowStmt);let n;try{this.enterOuterAlt(e,1),this.state=147,n=this._input.LA(1),n===34||n===39?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this)}catch(o){if(o instanceof et)e.exception=o,this._errHandler.reportError(this,o),this._errHandler.recover(this,o);else throw o}finally{this.exitRule()}return e}block(){let e=new ns(this,this._ctx,this.state);this.enterRule(e,12,L.RULE_block);let n;try{switch(this.state=156,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:this.enterOuterAlt(e,1),this.state=149,this.simpleStmt(),this.state=151,this._errHandler.sync(this),n=this._input.LA(1),n===8&&(this.state=150,this.match(L.Comma)),this.state=153,this.match(L.NEWLINE);break;case 60:this.enterOuterAlt(e,2),this.state=155,this.blockLine();break;default:throw new hi(this)}}catch(o){if(o instanceof et)e.exception=o,this._errHandler.reportError(this,o),this._errHandler.recover(this,o);else throw o}finally{this.exitRule()}return e}blockLine(){let e=new ho(this,this._ctx,this.state);this.enterRule(e,14,L.RULE_blockLine);let n;try{this.enterOuterAlt(e,1);{this.state=158,this.match(L.NEWLINE),this.state=159,this.match(L.INDENT),this.state=161,this._errHandler.sync(this),n=this._input.LA(1);do this.state=160,this.stmt(),this.state=163,this._errHandler.sync(this),n=this._input.LA(1);while(!(n&-32)&&1<<n&2147496016||!(n-32&-32)&&1<<n-32&63459303);this.state=165,this.match(L.DEDENT)}}catch(o){if(o instanceof et)e.exception=o,this._errHandler.reportError(this,o),this._errHandler.recover(this,o);else throw o}finally{this.exitRule()}return e}variableDeclarationStmt(){let e=new ru(this,this._ctx,this.state);this.enterRule(e,16,L.RULE_variableDeclarationStmt);try{let n;this.enterOuterAlt(e,1);{switch(this.state=169,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,12,this._ctx)){case 1:this.state=167,this.methodStmt();break;case 2:this.state=168,this.variableDeclarationList();break}for(this.state=178,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=171,this.match(L.Comma),this.state=174,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,13,this._ctx)){case 1:this.state=172,this.methodStmt();break;case 2:this.state=173,this.variableDeclarationList();break}this.state=180,this._errHandler.sync(this),n=this._interp.adaptivePredict(this._input,14,this._ctx)}}}catch(n){if(n instanceof et)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 Ri(this,this._ctx,this.state);this.enterRule(e,18,L.RULE_variableDeclarationList);try{switch(this.state=189,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,15,this._ctx)){case 1:e=new om(this,e),this.enterOuterAlt(e,1),this.state=181,this.varArrayDeclaration(),this.state=182,this.match(L.Assign),this.state=183,this.singleExpression(0);break;case 2:e=new im(this,e),this.enterOuterAlt(e,2),this.state=185,this.name(),this.state=186,this.assignmentOperator(),this.state=187,this.singleExpression(0);break}}catch(n){if(n instanceof et)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 ol(this,this._ctx,this.state);this.enterRule(e,20,L.RULE_varModifier);let n;try{this.enterOuterAlt(e,1),this.state=191,n=this._input.LA(1),n===38||n===40?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this)}catch(o){if(o instanceof et)e.exception=o,this._errHandler.reportError(this,o),this._errHandler.recover(this,o);else throw o}finally{this.exitRule()}return e}blockSequence(){let e=new hp(this,this._ctx,this.state);this.enterRule(e,22,L.RULE_blockSequence);try{let n;this.enterOuterAlt(e,1);{switch(this.state=195,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,16,this._ctx)){case 1:this.state=193,this.singleExpression(0);break;case 2:this.state=194,this.variableDeclarationList();break}for(this.state=204,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=197,this.match(L.Comma),this.state=200,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,17,this._ctx)){case 1:this.state=198,this.singleExpression(0);break;case 2:this.state=199,this.variableDeclarationList();break}this.state=206,this._errHandler.sync(this),n=this._interp.adaptivePredict(this._input,18,this._ctx)}}}catch(n){if(n instanceof et)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 al(this,this._ctx,this.state);this.enterRule(e,24,L.RULE_expressionSequence);try{let n;for(this.enterOuterAlt(e,1),this.state=207,this.singleExpression(0),this.state=212,this._errHandler.sync(this),n=this._interp.adaptivePredict(this._input,19,this._ctx);n!==2&&n!==Or.INVALID_ALT_NUMBER;)n===1&&(this.state=208,this.match(L.Comma),this.state=209,this.singleExpression(0)),this.state=214,this._errHandler.sync(this),n=this._interp.adaptivePredict(this._input,19,this._ctx)}catch(n){if(n instanceof et)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 pp(this,this._ctx,this.state);this.enterRule(e,26,L.RULE_expressionBlockSequence);try{let n;this.enterOuterAlt(e,1);{for(this.state=223,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=217,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,20,this._ctx)){case 1:this.state=215,this.singleExpression(0);break;case 2:this.state=216,this.variableDeclarationList();break}this.state=219,this.match(L.Comma)}this.state=225,this._errHandler.sync(this),n=this._interp.adaptivePredict(this._input,21,this._ctx)}switch(this.state=228,this._errHandler.sync(this),this._input.LA(1)){case 4:case 6:case 38:case 40:case 51:case 54:case 57:this.state=226,this.varBlockStmt();break;case 37:case 41:case 42:case 43:this.state=227,this.blockExpression();break;default:throw new hi(this)}}}catch(n){if(n instanceof et)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 sl(this,this._ctx,this.state);this.enterRule(e,28,L.RULE_varBlockStmt);try{this.enterOuterAlt(e,1);{switch(this.state=236,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,23,this._ctx)){case 1:this.state=230,this.varArrayDeclaration(),this.state=231,this.match(L.Assign);break;case 2:this.state=233,this.name(),this.state=234,this.assignmentOperator();break}this.state=238,this.blockExpression()}}catch(n){if(n instanceof et)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 rs(this,this._ctx,this.state);this.enterRule(e,30,L.RULE_varArrayDeclaration);let n;try{switch(this.state=258,this._errHandler.sync(this),this._input.LA(1)){case 38:case 40:case 51:case 54:case 57:e=new sm(this,e),this.enterOuterAlt(e,1);{switch(this.state=241,this._errHandler.sync(this),n=this._input.LA(1),(n===38||n===40)&&(this.state=240,this.varModifier()),this.state=244,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,25,this._ctx)){case 1:this.state=243,this.typeGather();break}this.state=246,this.identifier()}break;case 4:e=new am(this,e),this.enterOuterAlt(e,2);{for(this.state=247,this.match(L.OpenBracket),this.state=248,this.identifier(),this.state=253,this._errHandler.sync(this),n=this._input.LA(1);n===8;)this.state=249,this.match(L.Comma),this.state=250,this.identifier(),this.state=255,this._errHandler.sync(this),n=this._input.LA(1);this.state=256,this.match(L.CloseBracket)}break;default:throw new hi(this)}}catch(o){if(o instanceof et)e.exception=o,this._errHandler.reportError(this,o),this._errHandler.recover(this,o);else throw o}finally{this.exitRule()}return e}blockExpression(){let e=new iu(this,this._ctx,this.state);this.enterRule(e,32,L.RULE_blockExpression);try{switch(this.state=264,this._errHandler.sync(this),this._input.LA(1)){case 43:this.enterOuterAlt(e,1),this.state=260,this.ifStatement();break;case 37:this.enterOuterAlt(e,2),this.state=261,this.forStatement();break;case 42:this.enterOuterAlt(e,3),this.state=262,this.whileStatement();break;case 41:this.enterOuterAlt(e,4),this.state=263,this.switchStatement();break;default:throw new hi(this)}}catch(n){if(n instanceof et)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,o=this.state,u=new Ve(this,this._ctx,o),h=u,m=34;this.enterRecursionRule(u,34,L.RULE_singleExpression,e);let _;try{let S;this.enterOuterAlt(u,1);{switch(this.state=278,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,29,this._ctx)){case 1:u=new bm(this,u),this._ctx=u,h=u,this.state=267,this.methodStmt();break;case 2:u=new mm(this,u),this._ctx=u,h=u,this.state=268,_=this._input.LA(1),_===12||_===13?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this),this.state=269,this.singleExpression(12);break;case 3:u=new _m(this,u),this._ctx=u,h=u,this.state=270,this.match(L.Not),this.state=271,this.singleExpression(11);break;case 4:u=new pm(this,u),this._ctx=u,h=u,this.state=272,this.name();break;case 5:u=new dm(this,u),this._ctx=u,h=u,this.state=273,this.literal();break;case 6:u=new um(this,u),this._ctx=u,h=u,this.state=274,this.match(L.OpenParen),this.state=275,this.singleExpression(0),this.state=276,this.match(L.CloseParen);break}for(this._ctx.stop=this._input.LT(-1),this.state=311,this._errHandler.sync(this),S=this._interp.adaptivePredict(this._input,31,this._ctx);S!==2&&S!==Or.INVALID_ALT_NUMBER;){if(S===1)switch(this._parseListeners!=null&&this.triggerExitRuleEvent(),h=u,this.state=309,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,30,this._ctx)){case 1:{if(u=new Em(this,new Ve(this,n,o)),this.pushNewRecursionContext(u,m,L.RULE_singleExpression),this.state=280,!this.precpred(this._ctx,10))throw this.createFailedPredicateException("this.precpred(this._ctx, 10)");this.state=281,_=this._input.LA(1),!(_&-32)&&1<<_&114688?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this),this.state=282,this.singleExpression(11)}break;case 2:{if(u=new cm(this,new Ve(this,n,o)),this.pushNewRecursionContext(u,m,L.RULE_singleExpression),this.state=283,!this.precpred(this._ctx,9))throw this.createFailedPredicateException("this.precpred(this._ctx, 9)");this.state=284,_=this._input.LA(1),_===12||_===13?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this),this.state=285,this.singleExpression(10)}break;case 3:{if(u=new lm(this,new Ve(this,n,o)),this.pushNewRecursionContext(u,m,L.RULE_singleExpression),this.state=286,!this.precpred(this._ctx,8))throw this.createFailedPredicateException("this.precpred(this._ctx, 8)");this.state=287,_=this._input.LA(1),!(_&-32)&&1<<_&3932160?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this),this.state=288,this.singleExpression(9)}break;case 4:{if(u=new vm(this,new Ve(this,n,o)),this.pushNewRecursionContext(u,m,L.RULE_singleExpression),this.state=289,!this.precpred(this._ctx,7))throw this.createFailedPredicateException("this.precpred(this._ctx, 7)");this.state=290,_=this._input.LA(1),_===22||_===23?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this),this.state=291,this.singleExpression(8)}break;case 5:{if(u=new hm(this,new Ve(this,n,o)),this.pushNewRecursionContext(u,m,L.RULE_singleExpression),this.state=292,!this.precpred(this._ctx,6))throw this.createFailedPredicateException("this.precpred(this._ctx, 6)");this.state=293,this.match(L.And),this.state=294,this.singleExpression(7)}break;case 6:{if(u=new ym(this,new Ve(this,n,o)),this.pushNewRecursionContext(u,m,L.RULE_singleExpression),this.state=295,!this.precpred(this._ctx,5))throw this.createFailedPredicateException("this.precpred(this._ctx, 5)");this.state=296,this.match(L.Or),this.state=297,this.singleExpression(6)}break;case 7:{if(u=new fm(this,new Ve(this,n,o)),this.pushNewRecursionContext(u,m,L.RULE_singleExpression),this.state=298,!this.precpred(this._ctx,4))throw this.createFailedPredicateException("this.precpred(this._ctx, 4)");this.state=299,this.match(L.QuestionMark),this.state=300,this.singleExpression(0),this.state=301,this.match(L.Colon),this.state=302,this.singleExpression(4)}break;case 8:{if(u=new gm(this,new Ve(this,n,o)),this.pushNewRecursionContext(u,m,L.RULE_singleExpression),this.state=304,!this.precpred(this._ctx,13))throw this.createFailedPredicateException("this.precpred(this._ctx, 13)");this.state=305,this.match(L.OpenBracket),this.state=306,this.singleExpression(0),this.state=307,this.match(L.CloseBracket)}break}this.state=313,this._errHandler.sync(this),S=this._interp.adaptivePredict(this._input,31,this._ctx)}}}catch(S){if(S instanceof et)u.exception=S,this._errHandler.reportError(this,S),this._errHandler.recover(this,S);else throw S}finally{this.unrollRecursionContexts(n)}return u}brackethesized(){let e=new ul(this,this._ctx,this.state);this.enterRule(e,36,L.RULE_brackethesized);try{this.enterOuterAlt(e,1),this.state=314,this.match(L.OpenBracket),this.state=315,this.expressionSequence(),this.state=316,this.match(L.CloseBracket)}catch(n){if(n instanceof et)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 dp(this,this._ctx,this.state);this.enterRule(e,38,L.RULE_arguments);let n;try{let o;this.enterOuterAlt(e,1);{if(this.state=318,this.match(L.OpenParen),this.state=330,this._errHandler.sync(this),n=this._input.LA(1),!(n&-32)&&1<<n&2147496016||!(n-32&-32)&&1<<n-32&63455235){for(this.state=319,this.argument(),this.state=324,this._errHandler.sync(this),o=this._interp.adaptivePredict(this._input,32,this._ctx);o!==2&&o!==Or.INVALID_ALT_NUMBER;)o===1&&(this.state=320,this.match(L.Comma),this.state=321,this.argument()),this.state=326,this._errHandler.sync(this),o=this._interp.adaptivePredict(this._input,32,this._ctx);this.state=328,this._errHandler.sync(this),n=this._input.LA(1),n===8&&(this.state=327,this.match(L.Comma))}this.state=332,this.match(L.CloseParen)}}catch(o){if(o instanceof et)e.exception=o,this._errHandler.reportError(this,o),this._errHandler.recover(this,o);else throw o}finally{this.exitRule()}return e}argument(){let e=new cl(this,this._ctx,this.state);this.enterRule(e,40,L.RULE_argument);try{this.enterOuterAlt(e,1);{switch(this.state=337,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,35,this._ctx)){case 1:this.state=334,this.identifier(),this.state=335,this.match(L.Assign);break}switch(this.state=341,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:this.state=339,this.singleExpression(0);break;case 4:this.state=340,this.brackethesized();break;default:throw new hi(this)}}}catch(n){if(n instanceof et)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 yp(this,this._ctx,this.state);this.enterRule(e,42,L.RULE_ifStatement);let n;try{let o;this.enterOuterAlt(e,1);{for(this.state=343,this.match(L.If),this.state=344,this.singleExpression(0),this.state=345,this.blockLine(),this.state=353,this._errHandler.sync(this),o=this._interp.adaptivePredict(this._input,37,this._ctx);o!==2&&o!==Or.INVALID_ALT_NUMBER;)o===1&&(this.state=346,this.match(L.Else),this.state=347,this.match(L.If),this.state=348,this.singleExpression(0),this.state=349,this.blockLine()),this.state=355,this._errHandler.sync(this),o=this._interp.adaptivePredict(this._input,37,this._ctx);this.state=358,this._errHandler.sync(this),n=this._input.LA(1),n===48&&(this.state=356,this.match(L.Else),this.state=357,this.blockLine())}}catch(o){if(o instanceof et)e.exception=o,this._errHandler.reportError(this,o),this._errHandler.recover(this,o);else throw o}finally{this.exitRule()}return e}forStatement(){let e=new ou(this,this._ctx,this.state);this.enterRule(e,44,L.RULE_forStatement);let n;try{switch(this.state=392,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,43,this._ctx)){case 1:e=new Sm(this,e),this.enterOuterAlt(e,1);{switch(this.state=360,this.match(L.For),this.state=362,this._errHandler.sync(this),n=this._input.LA(1),(n===38||n===40)&&(this.state=361,this.varModifier()),this.state=365,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,40,this._ctx)){case 1:this.state=364,this.typeGather();break}this.state=367,this.identifier(),this.state=368,this.match(L.Assign),this.state=369,this.singleExpression(0),this.state=370,this.match(L.To),this.state=371,this.singleExpression(0),this.state=374,this._errHandler.sync(this),n=this._input.LA(1),n===50&&(this.state=372,this.match(L.By),this.state=373,this.singleExpression(0)),this.state=376,this.blockLine()}break;case 2:e=new Tm(this,e),this.enterOuterAlt(e,2);{switch(this.state=378,this.match(L.For),this.state=386,this._errHandler.sync(this),this._input.LA(1)){case 51:case 54:case 57:this.state=379,this.identifier();break;case 4:this.state=380,this.match(L.OpenBracket),this.state=381,this.identifier(),this.state=382,this.match(L.Comma),this.state=383,this.identifier(),this.state=384,this.match(L.CloseBracket);break;default:throw new hi(this)}this.state=388,this.match(L.In),this.state=389,this.singleExpression(0),this.state=390,this.blockLine()}break}}catch(o){if(o instanceof et)e.exception=o,this._errHandler.reportError(this,o),this._errHandler.recover(this,o);else throw o}finally{this.exitRule()}return e}switchStatement(){let e=new mp(this,this._ctx,this.state);this.enterRule(e,46,L.RULE_switchStatement);let n;try{this.enterOuterAlt(e,1);{this.state=394,this.match(L.Switch),this.state=396,this._errHandler.sync(this),n=this._input.LA(1),(!(n&-32)&&1<<n&2147496e3||!(n-32&-32)&&1<<n-32&63455235)&&(this.state=395,this.singleExpression(0)),this.state=398,this.match(L.NEWLINE),this.state=399,this.match(L.INDENT);{for(this.state=403,this._errHandler.sync(this),n=this._input.LA(1);!(n&-32)&&1<<n&2147496e3||!(n-32&-32)&&1<<n-32&63455235;)this.state=400,this.caseClause(),this.state=405,this._errHandler.sync(this),n=this._input.LA(1);this.state=407,this._errHandler.sync(this),n=this._input.LA(1),n===29&&(this.state=406,this.defaultCaluse())}this.state=409,this.match(L.DEDENT)}}catch(o){if(o instanceof et)e.exception=o,this._errHandler.reportError(this,o),this._errHandler.recover(this,o);else throw o}finally{this.exitRule()}return e}caseClause(){let e=new ll(this,this._ctx,this.state);this.enterRule(e,48,L.RULE_caseClause);try{this.enterOuterAlt(e,1),this.state=411,this.singleExpression(0),this.state=412,this.match(L.ARROW),this.state=413,this.block()}catch(n){if(n instanceof et)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 _p(this,this._ctx,this.state);this.enterRule(e,50,L.RULE_defaultCaluse);try{this.enterOuterAlt(e,1),this.state=415,this.match(L.ARROW),this.state=416,this.block()}catch(n){if(n instanceof et)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 gp(this,this._ctx,this.state);this.enterRule(e,52,L.RULE_whileStatement);try{this.enterOuterAlt(e,1),this.state=418,this.match(L.While),this.state=419,this.singleExpression(0),this.state=420,this.blockLine()}catch(n){if(n instanceof et)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 bp(this,this._ctx,this.state);this.enterRule(e,54,L.RULE_importStmt);let n;try{let o;this.enterOuterAlt(e,1);{for(this.state=422,this.importElement(),this.state=427,this._errHandler.sync(this),o=this._interp.adaptivePredict(this._input,47,this._ctx);o!==2&&o!==Or.INVALID_ALT_NUMBER;)o===1&&(this.state=423,this.match(L.Comma),this.state=424,this.importElement()),this.state=429,this._errHandler.sync(this),o=this._interp.adaptivePredict(this._input,47,this._ctx);this.state=431,this._errHandler.sync(this),n=this._input.LA(1),n===8&&(this.state=430,this.match(L.Comma)),this.state=433,this.match(L.NEWLINE)}}catch(o){if(o instanceof et)e.exception=o,this._errHandler.reportError(this,o),this._errHandler.recover(this,o);else throw o}finally{this.exitRule()}return e}importElement(){let e=new fl(this,this._ctx,this.state);this.enterRule(e,56,L.RULE_importElement);let n;try{this.enterOuterAlt(e,1),this.state=435,this.match(L.Import),this.state=436,this.identifier(),this.state=437,this.match(L.Divide),this.state=438,this.identifier(),this.state=439,this.match(L.Divide),this.state=440,this.match(L.IntegerLiteral),this.state=443,this._errHandler.sync(this),n=this._input.LA(1),n===53&&(this.state=441,this.match(L.As),this.state=442,this.identifier())}catch(o){if(o instanceof et)e.exception=o,this._errHandler.reportError(this,o),this._errHandler.recover(this,o);else throw o}finally{this.exitRule()}return e}literal(){let e=new vp(this,this._ctx,this.state);this.enterRule(e,58,L.RULE_literal);let n;try{this.enterOuterAlt(e,1),this.state=445,n=this._input.LA(1),!(n-31&-32)&&1<<n-31&50331655?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this)}catch(o){if(o instanceof et)e.exception=o,this._errHandler.reportError(this,o),this._errHandler.recover(this,o);else throw o}finally{this.exitRule()}return e}methodStmt(){let e=new au(this,this._ctx,this.state);this.enterRule(e,60,L.RULE_methodStmt);try{let n;for(this.enterOuterAlt(e,1),this.state=447,this.methodElement(),this.state=452,this._errHandler.sync(this),n=this._interp.adaptivePredict(this._input,50,this._ctx);n!==2&&n!==Or.INVALID_ALT_NUMBER;)n===1&&(this.state=448,this.match(L.Point),this.state=449,this.methodElement()),this.state=454,this._errHandler.sync(this),n=this._interp.adaptivePredict(this._input,50,this._ctx)}catch(n){if(n instanceof et)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 is(this,this._ctx,this.state);this.enterRule(e,62,L.RULE_methodElement);try{this.enterOuterAlt(e,1),this.state=455,this.methodName(),this.state=456,this.arguments()}catch(n){if(n instanceof et)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 Ep(this,this._ctx,this.state);this.enterRule(e,64,L.RULE_methodName);let n;try{let o;this.enterOuterAlt(e,1);{switch(this.state=471,this._errHandler.sync(this),this._input.LA(1)){case 51:case 54:case 57:for(this.state=463,this._errHandler.sync(this),o=this._interp.adaptivePredict(this._input,51,this._ctx);o!==2&&o!==Or.INVALID_ALT_NUMBER;)o===1&&(this.state=458,this.identifier(),this.state=459,this.match(L.Point)),this.state=465,this._errHandler.sync(this),o=this._interp.adaptivePredict(this._input,51,this._ctx);break;case 6:this.state=466,this.match(L.OpenParen),this.state=467,this.singleExpression(0),this.state=468,this.match(L.CloseParen),this.state=469,this.match(L.Point);break;default:throw new hi(this)}this.state=473,this.identifier(),this.state=482,this._errHandler.sync(this),n=this._input.LA(1),n===18&&(this.state=474,this.match(L.LessThan),this.state=475,this.typeName(),this.state=478,this._errHandler.sync(this),n=this._input.LA(1),n===8&&(this.state=476,this.match(L.Comma),this.state=477,this.typeName()),this.state=480,this.match(L.MoreThan))}}catch(o){if(o instanceof et)e.exception=o,this._errHandler.reportError(this,o),this._errHandler.recover(this,o);else throw o}finally{this.exitRule()}return e}arrowFunction(){let e=new Sp(this,this._ctx,this.state);this.enterRule(e,66,L.RULE_arrowFunction);let n;try{this.enterOuterAlt(e,1),this.state=485,this._errHandler.sync(this),n=this._input.LA(1),n===36&&(this.state=484,this.match(L.Export)),this.state=487,this.identifier(),this.state=488,this.arrowFunctionParameters(),this.state=489,this.match(L.ARROW),this.state=490,this.block()}catch(o){if(o instanceof et)e.exception=o,this._errHandler.reportError(this,o),this._errHandler.recover(this,o);else throw o}finally{this.exitRule()}return e}arrowFunctionParameters(){let e=new Tp(this,this._ctx,this.state);this.enterRule(e,68,L.RULE_arrowFunctionParameters);let n;try{this.enterOuterAlt(e,1),this.state=492,this.match(L.OpenParen),this.state=494,this._errHandler.sync(this),n=this._input.LA(1),!(n-51&-32)&&1<<n-51&73&&(this.state=493,this.formalParameterList()),this.state=496,this.match(L.CloseParen)}catch(o){if(o instanceof et)e.exception=o,this._errHandler.reportError(this,o),this._errHandler.recover(this,o);else throw o}finally{this.exitRule()}return e}formalParameterList(){let e=new hl(this,this._ctx,this.state);this.enterRule(e,70,L.RULE_formalParameterList);let n;try{for(this.enterOuterAlt(e,1),this.state=498,this.formalParameterArg(),this.state=503,this._errHandler.sync(this),n=this._input.LA(1);n===8;)this.state=499,this.match(L.Comma),this.state=500,this.formalParameterArg(),this.state=505,this._errHandler.sync(this),n=this._input.LA(1)}catch(o){if(o instanceof et)e.exception=o,this._errHandler.reportError(this,o),this._errHandler.recover(this,o);else throw o}finally{this.exitRule()}return e}formalParameterArg(){let e=new pl(this,this._ctx,this.state);this.enterRule(e,72,L.RULE_formalParameterArg);let n;try{this.enterOuterAlt(e,1);{switch(this.state=507,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,58,this._ctx)){case 1:this.state=506,this.typeGather();break}this.state=509,this.identifier(),this.state=512,this._errHandler.sync(this),n=this._input.LA(1),n===9&&(this.state=510,this.match(L.Assign),this.state=511,this.singleExpression(0))}}catch(o){if(o instanceof et)e.exception=o,this._errHandler.reportError(this,o),this._errHandler.recover(this,o);else throw o}finally{this.exitRule()}return e}arrowMethod(){let e=new Ap(this,this._ctx,this.state);this.enterRule(e,74,L.RULE_arrowMethod);let n;try{this.enterOuterAlt(e,1),this.state=515,this._errHandler.sync(this),n=this._input.LA(1),n===36&&(this.state=514,this.match(L.Export)),this.state=517,this.match(L.Method),this.state=518,this.identifier(),this.state=519,this.arrowMethodParameters(),this.state=520,this.match(L.ARROW),this.state=521,this.block()}catch(o){if(o instanceof et)e.exception=o,this._errHandler.reportError(this,o),this._errHandler.recover(this,o);else throw o}finally{this.exitRule()}return e}arrowMethodParameters(){let e=new xp(this,this._ctx,this.state);this.enterRule(e,76,L.RULE_arrowMethodParameters);let n;try{this.enterOuterAlt(e,1),this.state=523,this.match(L.OpenParen),this.state=524,this.typeGather(),this.state=525,this.identifier(),this.state=528,this._errHandler.sync(this),n=this._input.LA(1),n===8&&(this.state=526,this.match(L.Comma),this.state=527,this.formalParameterList()),this.state=530,this.match(L.CloseParen)}catch(o){if(o instanceof et)e.exception=o,this._errHandler.reportError(this,o),this._errHandler.recover(this,o);else throw o}finally{this.exitRule()}return e}typeStatement(){let e=new Op(this,this._ctx,this.state);this.enterRule(e,78,L.RULE_typeStatement);let n;try{this.enterOuterAlt(e,1);{this.state=533,this._errHandler.sync(this),n=this._input.LA(1),n===36&&(this.state=532,this.match(L.Export)),this.state=535,this.match(L.Type),this.state=536,this.identifier(),this.state=537,this.match(L.NEWLINE),this.state=538,this.match(L.INDENT),this.state=540,this._errHandler.sync(this),n=this._input.LA(1);do this.state=539,this.typeElement(),this.state=542,this._errHandler.sync(this),n=this._input.LA(1);while(!(n-40&-32)&&1<<n-40&149505);this.state=544,this.match(L.DEDENT)}}catch(o){if(o instanceof et)e.exception=o,this._errHandler.reportError(this,o),this._errHandler.recover(this,o);else throw o}finally{this.exitRule()}return e}typeElement(){let e=new dl(this,this._ctx,this.state);this.enterRule(e,80,L.RULE_typeElement);let n;try{this.enterOuterAlt(e,1),this.state=547,this._errHandler.sync(this),n=this._input.LA(1),n===40&&(this.state=546,this.match(L.Varip)),this.state=549,this.typeGather(),this.state=550,this.identifier(),this.state=553,this._errHandler.sync(this),n=this._input.LA(1),n===9&&(this.state=551,this.match(L.Assign),this.state=552,this.singleExpression(0)),this.state=555,this.match(L.NEWLINE)}catch(o){if(o instanceof et)e.exception=o,this._errHandler.reportError(this,o),this._errHandler.recover(this,o);else throw o}finally{this.exitRule()}return e}assignmentOperator(){let e=new yl(this,this._ctx,this.state);this.enterRule(e,82,L.RULE_assignmentOperator);let n;try{this.enterOuterAlt(e,1),this.state=557,n=this._input.LA(1),!(n&-32)&&1<<n&1593835520?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this)}catch(o){if(o instanceof et)e.exception=o,this._errHandler.reportError(this,o),this._errHandler.recover(this,o);else throw o}finally{this.exitRule()}return e}typeMap(){let e=new ml(this,this._ctx,this.state);this.enterRule(e,84,L.RULE_typeMap);try{this.enterOuterAlt(e,1),this.state=559,this.match(L.Map),this.state=560,this.match(L.LessThan),this.state=561,this.typeName(),this.state=562,this.match(L.Comma),this.state=563,this.typeName(),this.state=564,this.match(L.MoreThan)}catch(n){if(n instanceof et)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 Dp(this,this._ctx,this.state);this.enterRule(e,86,L.RULE_typeSeries);try{switch(this.enterOuterAlt(e,1),this.state=566,this.typeName(),this.state=570,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,66,this._ctx)){case 1:this.state=567,this.typeName();break;case 2:this.state=568,this.typeArray();break;case 3:this.state=569,this.typeMap();break}}catch(n){if(n instanceof et)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 _l(this,this._ctx,this.state);this.enterRule(e,88,L.RULE_typeArray);try{switch(this.state=581,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,67,this._ctx)){case 1:this.enterOuterAlt(e,1),this.state=572,this.typeName(),this.state=573,this.match(L.LessThan),this.state=574,this.typeName(),this.state=575,this.match(L.MoreThan);break;case 2:this.enterOuterAlt(e,2),this.state=577,this.typeName(),this.state=578,this.match(L.OpenBracket),this.state=579,this.match(L.CloseBracket);break}}catch(n){if(n instanceof et)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 Vo(this,this._ctx,this.state);this.enterRule(e,90,L.RULE_typeGather);try{switch(this.state=587,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,68,this._ctx)){case 1:this.enterOuterAlt(e,1),this.state=583,this.typeName();break;case 2:this.enterOuterAlt(e,2),this.state=584,this.typeArray();break;case 3:this.enterOuterAlt(e,3),this.state=585,this.typeMap();break;case 4:this.enterOuterAlt(e,4),this.state=586,this.typeSeries();break}}catch(n){if(n instanceof et)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 xn(this,this._ctx,this.state);this.enterRule(e,92,L.RULE_identifier);let n;try{this.enterOuterAlt(e,1),this.state=589,n=this._input.LA(1),!(n-51&-32)&&1<<n-51&73?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this)}catch(o){if(o instanceof et)e.exception=o,this._errHandler.reportError(this,o),this._errHandler.recover(this,o);else throw o}finally{this.exitRule()}return e}typeName(){let e=new pi(this,this._ctx,this.state);this.enterRule(e,94,L.RULE_typeName);let n;try{this.enterOuterAlt(e,1),this.state=591,this.identifier(),this.state=594,this._errHandler.sync(this),n=this._input.LA(1),n===3&&(this.state=592,this.match(L.Point),this.state=593,this.identifier())}catch(o){if(o instanceof et)e.exception=o,this._errHandler.reportError(this,o),this._errHandler.recover(this,o);else throw o}finally{this.exitRule()}return e}name(){let e=new su(this,this._ctx,this.state);this.enterRule(e,96,L.RULE_name);try{let n;switch(this.state=617,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,73,this._ctx)){case 1:this.enterOuterAlt(e,1);{for(this.state=604,this._errHandler.sync(this),n=this._interp.adaptivePredict(this._input,71,this._ctx);n!==2&&n!==Or.INVALID_ALT_NUMBER;){if(n===1){switch(this.state=598,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,70,this._ctx)){case 1:this.state=596,this.identifier();break;case 2:this.state=597,this.methodElement();break}this.state=600,this.match(L.Point)}this.state=606,this._errHandler.sync(this),n=this._interp.adaptivePredict(this._input,71,this._ctx)}this.state=607,this.identifier()}break;case 2:this.enterOuterAlt(e,2);{this.state=608,this.match(L.OpenParen),this.state=609,this.singleExpression(0),this.state=610,this.match(L.CloseParen),this.state=613,this._errHandler.sync(this),n=1;do{switch(n){case 1:this.state=611,this.match(L.Point),this.state=612,this.identifier();break;default:throw new hi(this)}this.state=615,this._errHandler.sync(this),n=this._interp.adaptivePredict(this._input,72,this._ctx)}while(n!==2&&n!==Or.INVALID_ALT_NUMBER)}break}}catch(n){if(n instanceof et)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}sempred(e,n,o){switch(n){case 17:return this.singleExpression_sempred(e,o)}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 L.__ATN||(L.__ATN=new ap().deserialize(L._serializedATN)),L.__ATN}};N(L,"INDENT",1),N(L,"DEDENT",2),N(L,"Point",3),N(L,"OpenBracket",4),N(L,"CloseBracket",5),N(L,"OpenParen",6),N(L,"CloseParen",7),N(L,"Comma",8),N(L,"Assign",9),N(L,"QuestionMark",10),N(L,"Colon",11),N(L,"Plus",12),N(L,"Minus",13),N(L,"Multiply",14),N(L,"Divide",15),N(L,"Modulus",16),N(L,"Hashtag",17),N(L,"LessThan",18),N(L,"MoreThan",19),N(L,"LessThanEquals",20),N(L,"GreaterThanEquals",21),N(L,"Equals_",22),N(L,"NotEquals",23),N(L,"MultiplyAssign",24),N(L,"DivideAssign",25),N(L,"ModulusAssign",26),N(L,"PlusAssign",27),N(L,"MinusAssign",28),N(L,"ARROW",29),N(L,"ColonEquals",30),N(L,"BooleanLiteral",31),N(L,"IntegerLiteral",32),N(L,"DecimalLiteral",33),N(L,"Break",34),N(L,"And",35),N(L,"Export",36),N(L,"For",37),N(L,"Var",38),N(L,"Continue",39),N(L,"Varip",40),N(L,"Switch",41),N(L,"While",42),N(L,"If",43),N(L,"In",44),N(L,"Or",45),N(L,"Not",46),N(L,"Method",47),N(L,"Else",48),N(L,"To",49),N(L,"By",50),N(L,"Type",51),N(L,"Import",52),N(L,"As",53),N(L,"Map",54),N(L,"ColorLiteral",55),N(L,"StringLiteral",56),N(L,"Identifier",57),N(L,"HIDDEN_",58),N(L,"COMMENT_",59),N(L,"NEWLINE",60),N(L,"EOF",cp.EOF),N(L,"RULE_program",0),N(L,"RULE_globalStmt",1),N(L,"RULE_blockStmt",2),N(L,"RULE_stmt",3),N(L,"RULE_simpleStmt",4),N(L,"RULE_flowStmt",5),N(L,"RULE_block",6),N(L,"RULE_blockLine",7),N(L,"RULE_variableDeclarationStmt",8),N(L,"RULE_variableDeclarationList",9),N(L,"RULE_varModifier",10),N(L,"RULE_blockSequence",11),N(L,"RULE_expressionSequence",12),N(L,"RULE_expressionBlockSequence",13),N(L,"RULE_varBlockStmt",14),N(L,"RULE_varArrayDeclaration",15),N(L,"RULE_blockExpression",16),N(L,"RULE_singleExpression",17),N(L,"RULE_brackethesized",18),N(L,"RULE_arguments",19),N(L,"RULE_argument",20),N(L,"RULE_ifStatement",21),N(L,"RULE_forStatement",22),N(L,"RULE_switchStatement",23),N(L,"RULE_caseClause",24),N(L,"RULE_defaultCaluse",25),N(L,"RULE_whileStatement",26),N(L,"RULE_importStmt",27),N(L,"RULE_importElement",28),N(L,"RULE_literal",29),N(L,"RULE_methodStmt",30),N(L,"RULE_methodElement",31),N(L,"RULE_methodName",32),N(L,"RULE_arrowFunction",33),N(L,"RULE_arrowFunctionParameters",34),N(L,"RULE_formalParameterList",35),N(L,"RULE_formalParameterArg",36),N(L,"RULE_arrowMethod",37),N(L,"RULE_arrowMethodParameters",38),N(L,"RULE_typeStatement",39),N(L,"RULE_typeElement",40),N(L,"RULE_assignmentOperator",41),N(L,"RULE_typeMap",42),N(L,"RULE_typeSeries",43),N(L,"RULE_typeArray",44),N(L,"RULE_typeGather",45),N(L,"RULE_identifier",46),N(L,"RULE_typeName",47),N(L,"RULE_name",48),N(L,"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'","'map'"]),N(L,"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","Map","ColorLiteral","StringLiteral","Identifier","HIDDEN_","COMMENT_","NEWLINE"]),N(L,"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"]),N(L,"_serializedATN",[4,1,60,620,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,1,0,1,0,5,0,101,8,0,10,0,12,0,104,9,0,1,0,1,0,1,1,1,1,3,1,110,8,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,3,1,119,8,1,1,2,1,2,1,2,5,2,124,8,2,10,2,12,2,127,9,2,1,2,1,2,3,2,131,8,2,1,3,1,3,3,3,135,8,3,1,3,1,3,1,3,3,3,140,8,3,1,4,1,4,1,4,1,4,3,4,146,8,4,1,5,1,5,1,6,1,6,3,6,152,8,6,1,6,1,6,1,6,3,6,157,8,6,1,7,1,7,1,7,4,7,162,8,7,11,7,12,7,163,1,7,1,7,1,8,1,8,3,8,170,8,8,1,8,1,8,1,8,3,8,175,8,8,5,8,177,8,8,10,8,12,8,180,9,8,1,9,1,9,1,9,1,9,1,9,1,9,1,9,1,9,3,9,190,8,9,1,10,1,10,1,11,1,11,3,11,196,8,11,1,11,1,11,1,11,3,11,201,8,11,5,11,203,8,11,10,11,12,11,206,9,11,1,12,1,12,1,12,5,12,211,8,12,10,12,12,12,214,9,12,1,13,1,13,3,13,218,8,13,1,13,1,13,5,13,222,8,13,10,13,12,13,225,9,13,1,13,1,13,3,13,229,8,13,1,14,1,14,1,14,1,14,1,14,1,14,3,14,237,8,14,1,14,1,14,1,15,3,15,242,8,15,1,15,3,15,245,8,15,1,15,1,15,1,15,1,15,1,15,5,15,252,8,15,10,15,12,15,255,9,15,1,15,1,15,3,15,259,8,15,1,16,1,16,1,16,1,16,3,16,265,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,279,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,310,8,17,10,17,12,17,313,9,17,1,18,1,18,1,18,1,18,1,19,1,19,1,19,1,19,5,19,323,8,19,10,19,12,19,326,9,19,1,19,3,19,329,8,19,3,19,331,8,19,1,19,1,19,1,20,1,20,1,20,3,20,338,8,20,1,20,1,20,3,20,342,8,20,1,21,1,21,1,21,1,21,1,21,1,21,1,21,1,21,5,21,352,8,21,10,21,12,21,355,9,21,1,21,1,21,3,21,359,8,21,1,22,1,22,3,22,363,8,22,1,22,3,22,366,8,22,1,22,1,22,1,22,1,22,1,22,1,22,1,22,3,22,375,8,22,1,22,1,22,1,22,1,22,1,22,1,22,1,22,1,22,1,22,1,22,3,22,387,8,22,1,22,1,22,1,22,1,22,3,22,393,8,22,1,23,1,23,3,23,397,8,23,1,23,1,23,1,23,5,23,402,8,23,10,23,12,23,405,9,23,1,23,3,23,408,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,426,8,27,10,27,12,27,429,9,27,1,27,3,27,432,8,27,1,27,1,27,1,28,1,28,1,28,1,28,1,28,1,28,1,28,1,28,3,28,444,8,28,1,29,1,29,1,30,1,30,1,30,5,30,451,8,30,10,30,12,30,454,9,30,1,31,1,31,1,31,1,32,1,32,1,32,5,32,462,8,32,10,32,12,32,465,9,32,1,32,1,32,1,32,1,32,1,32,3,32,472,8,32,1,32,1,32,1,32,1,32,1,32,3,32,479,8,32,1,32,1,32,3,32,483,8,32,1,33,3,33,486,8,33,1,33,1,33,1,33,1,33,1,33,1,34,1,34,3,34,495,8,34,1,34,1,34,1,35,1,35,1,35,5,35,502,8,35,10,35,12,35,505,9,35,1,36,3,36,508,8,36,1,36,1,36,1,36,3,36,513,8,36,1,37,3,37,516,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,529,8,38,1,38,1,38,1,39,3,39,534,8,39,1,39,1,39,1,39,1,39,1,39,4,39,541,8,39,11,39,12,39,542,1,39,1,39,1,40,3,40,548,8,40,1,40,1,40,1,40,1,40,3,40,554,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,571,8,43,1,44,1,44,1,44,1,44,1,44,1,44,1,44,1,44,1,44,3,44,582,8,44,1,45,1,45,1,45,1,45,3,45,588,8,45,1,46,1,46,1,47,1,47,1,47,3,47,595,8,47,1,48,1,48,3,48,599,8,48,1,48,1,48,5,48,603,8,48,10,48,12,48,606,9,48,1,48,1,48,1,48,1,48,1,48,1,48,4,48,614,8,48,11,48,12,48,615,3,48,618,8,48,1,48,0,1,34,49,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,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,55,56,2,0,24,28,30,30,3,0,51,51,54,54,57,57,665,0,102,1,0,0,0,2,118,1,0,0,0,4,125,1,0,0,0,6,139,1,0,0,0,8,145,1,0,0,0,10,147,1,0,0,0,12,156,1,0,0,0,14,158,1,0,0,0,16,169,1,0,0,0,18,189,1,0,0,0,20,191,1,0,0,0,22,195,1,0,0,0,24,207,1,0,0,0,26,223,1,0,0,0,28,236,1,0,0,0,30,258,1,0,0,0,32,264,1,0,0,0,34,278,1,0,0,0,36,314,1,0,0,0,38,318,1,0,0,0,40,337,1,0,0,0,42,343,1,0,0,0,44,392,1,0,0,0,46,394,1,0,0,0,48,411,1,0,0,0,50,415,1,0,0,0,52,418,1,0,0,0,54,422,1,0,0,0,56,435,1,0,0,0,58,445,1,0,0,0,60,447,1,0,0,0,62,455,1,0,0,0,64,471,1,0,0,0,66,485,1,0,0,0,68,492,1,0,0,0,70,498,1,0,0,0,72,507,1,0,0,0,74,515,1,0,0,0,76,523,1,0,0,0,78,533,1,0,0,0,80,547,1,0,0,0,82,557,1,0,0,0,84,559,1,0,0,0,86,566,1,0,0,0,88,581,1,0,0,0,90,587,1,0,0,0,92,589,1,0,0,0,94,591,1,0,0,0,96,617,1,0,0,0,98,101,5,60,0,0,99,101,3,2,1,0,100,98,1,0,0,0,100,99,1,0,0,0,101,104,1,0,0,0,102,100,1,0,0,0,102,103,1,0,0,0,103,105,1,0,0,0,104,102,1,0,0,0,105,106,5,0,0,1,106,1,1,0,0,0,107,109,3,16,8,0,108,110,5,8,0,0,109,108,1,0,0,0,109,110,1,0,0,0,110,111,1,0,0,0,111,112,5,60,0,0,112,119,1,0,0,0,113,119,3,4,2,0,114,119,3,54,27,0,115,119,3,66,33,0,116,119,3,74,37,0,117,119,3,78,39,0,118,107,1,0,0,0,118,113,1,0,0,0,118,114,1,0,0,0,118,115,1,0,0,0,118,116,1,0,0,0,118,117,1,0,0,0,119,3,1,0,0,0,120,121,3,16,8,0,121,122,5,8,0,0,122,124,1,0,0,0,123,120,1,0,0,0,124,127,1,0,0,0,125,123,1,0,0,0,125,126,1,0,0,0,126,130,1,0,0,0,127,125,1,0,0,0,128,131,3,28,14,0,129,131,3,32,16,0,130,128,1,0,0,0,130,129,1,0,0,0,131,5,1,0,0,0,132,134,3,8,4,0,133,135,5,8,0,0,134,133,1,0,0,0,134,135,1,0,0,0,135,136,1,0,0,0,136,137,5,60,0,0,137,140,1,0,0,0,138,140,3,26,13,0,139,132,1,0,0,0,139,138,1,0,0,0,140,7,1,0,0,0,141,146,3,24,12,0,142,146,3,22,11,0,143,146,3,36,18,0,144,146,3,10,5,0,145,141,1,0,0,0,145,142,1,0,0,0,145,143,1,0,0,0,145,144,1,0,0,0,146,9,1,0,0,0,147,148,7,0,0,0,148,11,1,0,0,0,149,151,3,8,4,0,150,152,5,8,0,0,151,150,1,0,0,0,151,152,1,0,0,0,152,153,1,0,0,0,153,154,5,60,0,0,154,157,1,0,0,0,155,157,3,14,7,0,156,149,1,0,0,0,156,155,1,0,0,0,157,13,1,0,0,0,158,159,5,60,0,0,159,161,5,1,0,0,160,162,3,6,3,0,161,160,1,0,0,0,162,163,1,0,0,0,163,161,1,0,0,0,163,164,1,0,0,0,164,165,1,0,0,0,165,166,5,2,0,0,166,15,1,0,0,0,167,170,3,60,30,0,168,170,3,18,9,0,169,167,1,0,0,0,169,168,1,0,0,0,170,178,1,0,0,0,171,174,5,8,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,177,1,0,0,0,176,171,1,0,0,0,177,180,1,0,0,0,178,176,1,0,0,0,178,179,1,0,0,0,179,17,1,0,0,0,180,178,1,0,0,0,181,182,3,30,15,0,182,183,5,9,0,0,183,184,3,34,17,0,184,190,1,0,0,0,185,186,3,96,48,0,186,187,3,82,41,0,187,188,3,34,17,0,188,190,1,0,0,0,189,181,1,0,0,0,189,185,1,0,0,0,190,19,1,0,0,0,191,192,7,1,0,0,192,21,1,0,0,0,193,196,3,34,17,0,194,196,3,18,9,0,195,193,1,0,0,0,195,194,1,0,0,0,196,204,1,0,0,0,197,200,5,8,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,203,1,0,0,0,202,197,1,0,0,0,203,206,1,0,0,0,204,202,1,0,0,0,204,205,1,0,0,0,205,23,1,0,0,0,206,204,1,0,0,0,207,212,3,34,17,0,208,209,5,8,0,0,209,211,3,34,17,0,210,208,1,0,0,0,211,214,1,0,0,0,212,210,1,0,0,0,212,213,1,0,0,0,213,25,1,0,0,0,214,212,1,0,0,0,215,218,3,34,17,0,216,218,3,18,9,0,217,215,1,0,0,0,217,216,1,0,0,0,218,219,1,0,0,0,219,220,5,8,0,0,220,222,1,0,0,0,221,217,1,0,0,0,222,225,1,0,0,0,223,221,1,0,0,0,223,224,1,0,0,0,224,228,1,0,0,0,225,223,1,0,0,0,226,229,3,28,14,0,227,229,3,32,16,0,228,226,1,0,0,0,228,227,1,0,0,0,229,27,1,0,0,0,230,231,3,30,15,0,231,232,5,9,0,0,232,237,1,0,0,0,233,234,3,96,48,0,234,235,3,82,41,0,235,237,1,0,0,0,236,230,1,0,0,0,236,233,1,0,0,0,237,238,1,0,0,0,238,239,3,32,16,0,239,29,1,0,0,0,240,242,3,20,10,0,241,240,1,0,0,0,241,242,1,0,0,0,242,244,1,0,0,0,243,245,3,90,45,0,244,243,1,0,0,0,244,245,1,0,0,0,245,246,1,0,0,0,246,259,3,92,46,0,247,248,5,4,0,0,248,253,3,92,46,0,249,250,5,8,0,0,250,252,3,92,46,0,251,249,1,0,0,0,252,255,1,0,0,0,253,251,1,0,0,0,253,254,1,0,0,0,254,256,1,0,0,0,255,253,1,0,0,0,256,257,5,5,0,0,257,259,1,0,0,0,258,241,1,0,0,0,258,247,1,0,0,0,259,31,1,0,0,0,260,265,3,42,21,0,261,265,3,44,22,0,262,265,3,52,26,0,263,265,3,46,23,0,264,260,1,0,0,0,264,261,1,0,0,0,264,262,1,0,0,0,264,263,1,0,0,0,265,33,1,0,0,0,266,267,6,17,-1,0,267,279,3,60,30,0,268,269,7,2,0,0,269,279,3,34,17,12,270,271,5,46,0,0,271,279,3,34,17,11,272,279,3,96,48,0,273,279,3,58,29,0,274,275,5,6,0,0,275,276,3,34,17,0,276,277,5,7,0,0,277,279,1,0,0,0,278,266,1,0,0,0,278,268,1,0,0,0,278,270,1,0,0,0,278,272,1,0,0,0,278,273,1,0,0,0,278,274,1,0,0,0,279,311,1,0,0,0,280,281,10,10,0,0,281,282,7,3,0,0,282,310,3,34,17,11,283,284,10,9,0,0,284,285,7,2,0,0,285,310,3,34,17,10,286,287,10,8,0,0,287,288,7,4,0,0,288,310,3,34,17,9,289,290,10,7,0,0,290,291,7,5,0,0,291,310,3,34,17,8,292,293,10,6,0,0,293,294,5,35,0,0,294,310,3,34,17,7,295,296,10,5,0,0,296,297,5,45,0,0,297,310,3,34,17,6,298,299,10,4,0,0,299,300,5,10,0,0,300,301,3,34,17,0,301,302,5,11,0,0,302,303,3,34,17,4,303,310,1,0,0,0,304,305,10,13,0,0,305,306,5,4,0,0,306,307,3,34,17,0,307,308,5,5,0,0,308,310,1,0,0,0,309,280,1,0,0,0,309,283,1,0,0,0,309,286,1,0,0,0,309,289,1,0,0,0,309,292,1,0,0,0,309,295,1,0,0,0,309,298,1,0,0,0,309,304,1,0,0,0,310,313,1,0,0,0,311,309,1,0,0,0,311,312,1,0,0,0,312,35,1,0,0,0,313,311,1,0,0,0,314,315,5,4,0,0,315,316,3,24,12,0,316,317,5,5,0,0,317,37,1,0,0,0,318,330,5,6,0,0,319,324,3,40,20,0,320,321,5,8,0,0,321,323,3,40,20,0,322,320,1,0,0,0,323,326,1,0,0,0,324,322,1,0,0,0,324,325,1,0,0,0,325,328,1,0,0,0,326,324,1,0,0,0,327,329,5,8,0,0,328,327,1,0,0,0,328,329,1,0,0,0,329,331,1,0,0,0,330,319,1,0,0,0,330,331,1,0,0,0,331,332,1,0,0,0,332,333,5,7,0,0,333,39,1,0,0,0,334,335,3,92,46,0,335,336,5,9,0,0,336,338,1,0,0,0,337,334,1,0,0,0,337,338,1,0,0,0,338,341,1,0,0,0,339,342,3,34,17,0,340,342,3,36,18,0,341,339,1,0,0,0,341,340,1,0,0,0,342,41,1,0,0,0,343,344,5,43,0,0,344,345,3,34,17,0,345,353,3,14,7,0,346,347,5,48,0,0,347,348,5,43,0,0,348,349,3,34,17,0,349,350,3,14,7,0,350,352,1,0,0,0,351,346,1,0,0,0,352,355,1,0,0,0,353,351,1,0,0,0,353,354,1,0,0,0,354,358,1,0,0,0,355,353,1,0,0,0,356,357,5,48,0,0,357,359,3,14,7,0,358,356,1,0,0,0,358,359,1,0,0,0,359,43,1,0,0,0,360,362,5,37,0,0,361,363,3,20,10,0,362,361,1,0,0,0,362,363,1,0,0,0,363,365,1,0,0,0,364,366,3,90,45,0,365,364,1,0,0,0,365,366,1,0,0,0,366,367,1,0,0,0,367,368,3,92,46,0,368,369,5,9,0,0,369,370,3,34,17,0,370,371,5,49,0,0,371,374,3,34,17,0,372,373,5,50,0,0,373,375,3,34,17,0,374,372,1,0,0,0,374,375,1,0,0,0,375,376,1,0,0,0,376,377,3,14,7,0,377,393,1,0,0,0,378,386,5,37,0,0,379,387,3,92,46,0,380,381,5,4,0,0,381,382,3,92,46,0,382,383,5,8,0,0,383,384,3,92,46,0,384,385,5,5,0,0,385,387,1,0,0,0,386,379,1,0,0,0,386,380,1,0,0,0,387,388,1,0,0,0,388,389,5,44,0,0,389,390,3,34,17,0,390,391,3,14,7,0,391,393,1,0,0,0,392,360,1,0,0,0,392,378,1,0,0,0,393,45,1,0,0,0,394,396,5,41,0,0,395,397,3,34,17,0,396,395,1,0,0,0,396,397,1,0,0,0,397,398,1,0,0,0,398,399,5,60,0,0,399,403,5,1,0,0,400,402,3,48,24,0,401,400,1,0,0,0,402,405,1,0,0,0,403,401,1,0,0,0,403,404,1,0,0,0,404,407,1,0,0,0,405,403,1,0,0,0,406,408,3,50,25,0,407,406,1,0,0,0,407,408,1,0,0,0,408,409,1,0,0,0,409,410,5,2,0,0,410,47,1,0,0,0,411,412,3,34,17,0,412,413,5,29,0,0,413,414,3,12,6,0,414,49,1,0,0,0,415,416,5,29,0,0,416,417,3,12,6,0,417,51,1,0,0,0,418,419,5,42,0,0,419,420,3,34,17,0,420,421,3,14,7,0,421,53,1,0,0,0,422,427,3,56,28,0,423,424,5,8,0,0,424,426,3,56,28,0,425,423,1,0,0,0,426,429,1,0,0,0,427,425,1,0,0,0,427,428,1,0,0,0,428,431,1,0,0,0,429,427,1,0,0,0,430,432,5,8,0,0,431,430,1,0,0,0,431,432,1,0,0,0,432,433,1,0,0,0,433,434,5,60,0,0,434,55,1,0,0,0,435,436,5,52,0,0,436,437,3,92,46,0,437,438,5,15,0,0,438,439,3,92,46,0,439,440,5,15,0,0,440,443,5,32,0,0,441,442,5,53,0,0,442,444,3,92,46,0,443,441,1,0,0,0,443,444,1,0,0,0,444,57,1,0,0,0,445,446,7,6,0,0,446,59,1,0,0,0,447,452,3,62,31,0,448,449,5,3,0,0,449,451,3,62,31,0,450,448,1,0,0,0,451,454,1,0,0,0,452,450,1,0,0,0,452,453,1,0,0,0,453,61,1,0,0,0,454,452,1,0,0,0,455,456,3,64,32,0,456,457,3,38,19,0,457,63,1,0,0,0,458,459,3,92,46,0,459,460,5,3,0,0,460,462,1,0,0,0,461,458,1,0,0,0,462,465,1,0,0,0,463,461,1,0,0,0,463,464,1,0,0,0,464,472,1,0,0,0,465,463,1,0,0,0,466,467,5,6,0,0,467,468,3,34,17,0,468,469,5,7,0,0,469,470,5,3,0,0,470,472,1,0,0,0,471,463,1,0,0,0,471,466,1,0,0,0,472,473,1,0,0,0,473,482,3,92,46,0,474,475,5,18,0,0,475,478,3,94,47,0,476,477,5,8,0,0,477,479,3,94,47,0,478,476,1,0,0,0,478,479,1,0,0,0,479,480,1,0,0,0,480,481,5,19,0,0,481,483,1,0,0,0,482,474,1,0,0,0,482,483,1,0,0,0,483,65,1,0,0,0,484,486,5,36,0,0,485,484,1,0,0,0,485,486,1,0,0,0,486,487,1,0,0,0,487,488,3,92,46,0,488,489,3,68,34,0,489,490,5,29,0,0,490,491,3,12,6,0,491,67,1,0,0,0,492,494,5,6,0,0,493,495,3,70,35,0,494,493,1,0,0,0,494,495,1,0,0,0,495,496,1,0,0,0,496,497,5,7,0,0,497,69,1,0,0,0,498,503,3,72,36,0,499,500,5,8,0,0,500,502,3,72,36,0,501,499,1,0,0,0,502,505,1,0,0,0,503,501,1,0,0,0,503,504,1,0,0,0,504,71,1,0,0,0,505,503,1,0,0,0,506,508,3,90,45,0,507,506,1,0,0,0,507,508,1,0,0,0,508,509,1,0,0,0,509,512,3,92,46,0,510,511,5,9,0,0,511,513,3,34,17,0,512,510,1,0,0,0,512,513,1,0,0,0,513,73,1,0,0,0,514,516,5,36,0,0,515,514,1,0,0,0,515,516,1,0,0,0,516,517,1,0,0,0,517,518,5,47,0,0,518,519,3,92,46,0,519,520,3,76,38,0,520,521,5,29,0,0,521,522,3,12,6,0,522,75,1,0,0,0,523,524,5,6,0,0,524,525,3,90,45,0,525,528,3,92,46,0,526,527,5,8,0,0,527,529,3,70,35,0,528,526,1,0,0,0,528,529,1,0,0,0,529,530,1,0,0,0,530,531,5,7,0,0,531,77,1,0,0,0,532,534,5,36,0,0,533,532,1,0,0,0,533,534,1,0,0,0,534,535,1,0,0,0,535,536,5,51,0,0,536,537,3,92,46,0,537,538,5,60,0,0,538,540,5,1,0,0,539,541,3,80,40,0,540,539,1,0,0,0,541,542,1,0,0,0,542,540,1,0,0,0,542,543,1,0,0,0,543,544,1,0,0,0,544,545,5,2,0,0,545,79,1,0,0,0,546,548,5,40,0,0,547,546,1,0,0,0,547,548,1,0,0,0,548,549,1,0,0,0,549,550,3,90,45,0,550,553,3,92,46,0,551,552,5,9,0,0,552,554,3,34,17,0,553,551,1,0,0,0,553,554,1,0,0,0,554,555,1,0,0,0,555,556,5,60,0,0,556,81,1,0,0,0,557,558,7,7,0,0,558,83,1,0,0,0,559,560,5,54,0,0,560,561,5,18,0,0,561,562,3,94,47,0,562,563,5,8,0,0,563,564,3,94,47,0,564,565,5,19,0,0,565,85,1,0,0,0,566,570,3,94,47,0,567,571,3,94,47,0,568,571,3,88,44,0,569,571,3,84,42,0,570,567,1,0,0,0,570,568,1,0,0,0,570,569,1,0,0,0,571,87,1,0,0,0,572,573,3,94,47,0,573,574,5,18,0,0,574,575,3,94,47,0,575,576,5,19,0,0,576,582,1,0,0,0,577,578,3,94,47,0,578,579,5,4,0,0,579,580,5,5,0,0,580,582,1,0,0,0,581,572,1,0,0,0,581,577,1,0,0,0,582,89,1,0,0,0,583,588,3,94,47,0,584,588,3,88,44,0,585,588,3,84,42,0,586,588,3,86,43,0,587,583,1,0,0,0,587,584,1,0,0,0,587,585,1,0,0,0,587,586,1,0,0,0,588,91,1,0,0,0,589,590,7,8,0,0,590,93,1,0,0,0,591,594,3,92,46,0,592,593,5,3,0,0,593,595,3,92,46,0,594,592,1,0,0,0,594,595,1,0,0,0,595,95,1,0,0,0,596,599,3,92,46,0,597,599,3,62,31,0,598,596,1,0,0,0,598,597,1,0,0,0,599,600,1,0,0,0,600,601,5,3,0,0,601,603,1,0,0,0,602,598,1,0,0,0,603,606,1,0,0,0,604,602,1,0,0,0,604,605,1,0,0,0,605,607,1,0,0,0,606,604,1,0,0,0,607,618,3,92,46,0,608,609,5,6,0,0,609,610,3,34,17,0,610,613,5,7,0,0,611,612,5,3,0,0,612,614,3,92,46,0,613,611,1,0,0,0,614,615,1,0,0,0,615,613,1,0,0,0,615,616,1,0,0,0,616,618,1,0,0,0,617,604,1,0,0,0,617,608,1,0,0,0,618,97,1,0,0,0,74,100,102,109,118,125,130,134,139,145,151,156,163,169,174,178,189,195,200,204,212,217,223,228,236,241,244,253,258,264,278,309,311,324,328,330,337,341,353,358,362,365,374,386,392,396,403,407,427,431,443,452,463,471,478,482,485,494,503,507,512,515,528,533,542,547,553,570,581,587,594,598,604,615,617]),N(L,"__ATN"),N(L,"DecisionsToDFA",L._ATN.decisionToState.map((e,n)=>new sp(e,n)));let F=L;class rm extends Qe{constructor(e,n,o){super(n,o),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(nl)}globalStmt(e){return this.getTypedRuleContext(nl,e)}get ruleIndex(){return F.RULE_program}accept(e){return e.visitProgram?e.visitProgram(this):e.visitChildren(this)}}class nl extends Qe{constructor(e,n,o){super(n,o),this.parser=e}variableDeclarationStmt(){return this.getTypedRuleContext(ru,0)}NEWLINE(){return this.getToken(F.NEWLINE,0)}Comma(){return this.getToken(F.Comma,0)}blockStmt(){return this.getTypedRuleContext(lp,0)}importStmt(){return this.getTypedRuleContext(bp,0)}arrowFunction(){return this.getTypedRuleContext(Sp,0)}arrowMethod(){return this.getTypedRuleContext(Ap,0)}typeStatement(){return this.getTypedRuleContext(Op,0)}get ruleIndex(){return F.RULE_globalStmt}accept(e){return e.visitGlobalStmt?e.visitGlobalStmt(this):e.visitChildren(this)}}class lp extends Qe{constructor(e,n,o){super(n,o),this.parser=e}varBlockStmt(){return this.getTypedRuleContext(sl,0)}blockExpression(){return this.getTypedRuleContext(iu,0)}variableDeclarationStmt_list(){return this.getTypedRuleContexts(ru)}variableDeclarationStmt(e){return this.getTypedRuleContext(ru,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 rl extends Qe{constructor(e,n,o){super(n,o),this.parser=e}simpleStmt(){return this.getTypedRuleContext(il,0)}NEWLINE(){return this.getToken(F.NEWLINE,0)}Comma(){return this.getToken(F.Comma,0)}expressionBlockSequence(){return this.getTypedRuleContext(pp,0)}get ruleIndex(){return F.RULE_stmt}accept(e){return e.visitStmt?e.visitStmt(this):e.visitChildren(this)}}class il extends Qe{constructor(e,n,o){super(n,o),this.parser=e}expressionSequence(){return this.getTypedRuleContext(al,0)}blockSequence(){return this.getTypedRuleContext(hp,0)}brackethesized(){return this.getTypedRuleContext(ul,0)}flowStmt(){return this.getTypedRuleContext(fp,0)}get ruleIndex(){return F.RULE_simpleStmt}accept(e){return e.visitSimpleStmt?e.visitSimpleStmt(this):e.visitChildren(this)}}class fp extends Qe{constructor(e,n,o){super(n,o),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 ns extends Qe{constructor(e,n,o){super(n,o),this.parser=e}simpleStmt(){return this.getTypedRuleContext(il,0)}NEWLINE(){return this.getToken(F.NEWLINE,0)}Comma(){return this.getToken(F.Comma,0)}blockLine(){return this.getTypedRuleContext(ho,0)}get ruleIndex(){return F.RULE_block}accept(e){return e.visitBlock?e.visitBlock(this):e.visitChildren(this)}}class ho extends Qe{constructor(e,n,o){super(n,o),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(rl)}stmt(e){return this.getTypedRuleContext(rl,e)}get ruleIndex(){return F.RULE_blockLine}accept(e){return e.visitBlockLine?e.visitBlockLine(this):e.visitChildren(this)}}class ru extends Qe{constructor(e,n,o){super(n,o),this.parser=e}methodStmt_list(){return this.getTypedRuleContexts(au)}methodStmt(e){return this.getTypedRuleContext(au,e)}variableDeclarationList_list(){return this.getTypedRuleContexts(Ri)}variableDeclarationList(e){return this.getTypedRuleContext(Ri,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 Ri extends Qe{constructor(e,n,o){super(n,o),this.parser=e}get ruleIndex(){return F.RULE_variableDeclarationList}copyFrom(e){super.copyFrom(e)}}class im extends Ri{constructor(e,n){super(e,n.parentCtx,n.invokingState),super.copyFrom(n)}name(){return this.getTypedRuleContext(su,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 om extends Ri{constructor(e,n){super(e,n.parentCtx,n.invokingState),super.copyFrom(n)}varArrayDeclaration(){return this.getTypedRuleContext(rs,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 ol extends Qe{constructor(e,n,o){super(n,o),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 hp extends Qe{constructor(e,n,o){super(n,o),this.parser=e}singleExpression_list(){return this.getTypedRuleContexts(Ve)}singleExpression(e){return this.getTypedRuleContext(Ve,e)}variableDeclarationList_list(){return this.getTypedRuleContexts(Ri)}variableDeclarationList(e){return this.getTypedRuleContext(Ri,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 al extends Qe{constructor(e,n,o){super(n,o),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 pp extends Qe{constructor(e,n,o){super(n,o),this.parser=e}varBlockStmt(){return this.getTypedRuleContext(sl,0)}blockExpression(){return this.getTypedRuleContext(iu,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(Ri)}variableDeclarationList(e){return this.getTypedRuleContext(Ri,e)}get ruleIndex(){return F.RULE_expressionBlockSequence}accept(e){return e.visitExpressionBlockSequence?e.visitExpressionBlockSequence(this):e.visitChildren(this)}}class sl extends Qe{constructor(e,n,o){super(n,o),this.parser=e}blockExpression(){return this.getTypedRuleContext(iu,0)}varArrayDeclaration(){return this.getTypedRuleContext(rs,0)}Assign(){return this.getToken(F.Assign,0)}name(){return this.getTypedRuleContext(su,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 rs extends Qe{constructor(e,n,o){super(n,o),this.parser=e}get ruleIndex(){return F.RULE_varArrayDeclaration}copyFrom(e){super.copyFrom(e)}}class am extends rs{constructor(e,n){super(e,n.parentCtx,n.invokingState),super.copyFrom(n)}OpenBracket(){return this.getToken(F.OpenBracket,0)}identifier_list(){return this.getTypedRuleContexts(xn)}identifier(e){return this.getTypedRuleContext(xn,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 sm extends rs{constructor(e,n){super(e,n.parentCtx,n.invokingState),super.copyFrom(n)}identifier(){return this.getTypedRuleContext(xn,0)}varModifier(){return this.getTypedRuleContext(ol,0)}typeGather(){return this.getTypedRuleContext(Vo,0)}accept(e){return e.visitVarSingle?e.visitVarSingle(this):e.visitChildren(this)}}class iu extends Qe{constructor(e,n,o){super(n,o),this.parser=e}ifStatement(){return this.getTypedRuleContext(yp,0)}forStatement(){return this.getTypedRuleContext(ou,0)}whileStatement(){return this.getTypedRuleContext(gp,0)}switchStatement(){return this.getTypedRuleContext(mp,0)}get ruleIndex(){return F.RULE_blockExpression}accept(e){return e.visitBlockExpression?e.visitBlockExpression(this):e.visitChildren(this)}}class Ve extends Qe{constructor(e,n,o){super(n,o),this.parser=e}get ruleIndex(){return F.RULE_singleExpression}copyFrom(e){super.copyFrom(e)}}class um 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 cm 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 lm 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 fm 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 hm 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 pm extends Ve{constructor(e,n){super(e,n.parentCtx,n.invokingState),super.copyFrom(n)}name(){return this.getTypedRuleContext(su,0)}accept(e){return e.visitNameExpression?e.visitNameExpression(this):e.visitChildren(this)}}class dm extends Ve{constructor(e,n){super(e,n.parentCtx,n.invokingState),super.copyFrom(n)}literal(){return this.getTypedRuleContext(vp,0)}accept(e){return e.visitLiteralExpression?e.visitLiteralExpression(this):e.visitChildren(this)}}class ym 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 mm 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 _m 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 gm 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 bm extends Ve{constructor(e,n){super(e,n.parentCtx,n.invokingState),super.copyFrom(n)}methodStmt(){return this.getTypedRuleContext(au,0)}accept(e){return e.visitMethodExpression?e.visitMethodExpression(this):e.visitChildren(this)}}class vm 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 Em 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 ul extends Qe{constructor(e,n,o){super(n,o),this.parser=e}OpenBracket(){return this.getToken(F.OpenBracket,0)}expressionSequence(){return this.getTypedRuleContext(al,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 dp extends Qe{constructor(e,n,o){super(n,o),this.parser=e}OpenParen(){return this.getToken(F.OpenParen,0)}CloseParen(){return this.getToken(F.CloseParen,0)}argument_list(){return this.getTypedRuleContexts(cl)}argument(e){return this.getTypedRuleContext(cl,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 cl extends Qe{constructor(e,n,o){super(n,o),this.parser=e}singleExpression(){return this.getTypedRuleContext(Ve,0)}brackethesized(){return this.getTypedRuleContext(ul,0)}identifier(){return this.getTypedRuleContext(xn,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 yp extends Qe{constructor(e,n,o){super(n,o),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(ho)}blockLine(e){return this.getTypedRuleContext(ho,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 ou extends Qe{constructor(e,n,o){super(n,o),this.parser=e}get ruleIndex(){return F.RULE_forStatement}copyFrom(e){super.copyFrom(e)}}class Sm extends ou{constructor(e,n){super(e,n.parentCtx,n.invokingState),super.copyFrom(n)}For(){return this.getToken(F.For,0)}identifier(){return this.getTypedRuleContext(xn,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(ho,0)}varModifier(){return this.getTypedRuleContext(ol,0)}typeGather(){return this.getTypedRuleContext(Vo,0)}By(){return this.getToken(F.By,0)}accept(e){return e.visitForToStatement?e.visitForToStatement(this):e.visitChildren(this)}}class Tm extends ou{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(ho,0)}identifier_list(){return this.getTypedRuleContexts(xn)}identifier(e){return this.getTypedRuleContext(xn,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 mp extends Qe{constructor(e,n,o){super(n,o),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)}caseClause_list(){return this.getTypedRuleContexts(ll)}caseClause(e){return this.getTypedRuleContext(ll,e)}defaultCaluse(){return this.getTypedRuleContext(_p,0)}get ruleIndex(){return F.RULE_switchStatement}accept(e){return e.visitSwitchStatement?e.visitSwitchStatement(this):e.visitChildren(this)}}class ll extends Qe{constructor(e,n,o){super(n,o),this.parser=e}singleExpression(){return this.getTypedRuleContext(Ve,0)}ARROW(){return this.getToken(F.ARROW,0)}block(){return this.getTypedRuleContext(ns,0)}get ruleIndex(){return F.RULE_caseClause}accept(e){return e.visitCaseClause?e.visitCaseClause(this):e.visitChildren(this)}}class _p extends Qe{constructor(e,n,o){super(n,o),this.parser=e}ARROW(){return this.getToken(F.ARROW,0)}block(){return this.getTypedRuleContext(ns,0)}get ruleIndex(){return F.RULE_defaultCaluse}accept(e){return e.visitDefaultCaluse?e.visitDefaultCaluse(this):e.visitChildren(this)}}class gp extends Qe{constructor(e,n,o){super(n,o),this.parser=e}While(){return this.getToken(F.While,0)}singleExpression(){return this.getTypedRuleContext(Ve,0)}blockLine(){return this.getTypedRuleContext(ho,0)}get ruleIndex(){return F.RULE_whileStatement}accept(e){return e.visitWhileStatement?e.visitWhileStatement(this):e.visitChildren(this)}}class bp extends Qe{constructor(e,n,o){super(n,o),this.parser=e}importElement_list(){return this.getTypedRuleContexts(fl)}importElement(e){return this.getTypedRuleContext(fl,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 fl extends Qe{constructor(e,n,o){super(n,o),this.parser=e}Import(){return this.getToken(F.Import,0)}identifier_list(){return this.getTypedRuleContexts(xn)}identifier(e){return this.getTypedRuleContext(xn,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 vp extends Qe{constructor(e,n,o){super(n,o),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 au extends Qe{constructor(e,n,o){super(n,o),this.parser=e}methodElement_list(){return this.getTypedRuleContexts(is)}methodElement(e){return this.getTypedRuleContext(is,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 is extends Qe{constructor(e,n,o){super(n,o),this.parser=e}methodName(){return this.getTypedRuleContext(Ep,0)}arguments(){return this.getTypedRuleContext(dp,0)}get ruleIndex(){return F.RULE_methodElement}accept(e){return e.visitMethodElement?e.visitMethodElement(this):e.visitChildren(this)}}class Ep extends Qe{constructor(e,n,o){super(n,o),this.parser=e}identifier_list(){return this.getTypedRuleContexts(xn)}identifier(e){return this.getTypedRuleContext(xn,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(pi)}typeName(e){return this.getTypedRuleContext(pi,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 Sp extends Qe{constructor(e,n,o){super(n,o),this.parser=e}identifier(){return this.getTypedRuleContext(xn,0)}arrowFunctionParameters(){return this.getTypedRuleContext(Tp,0)}ARROW(){return this.getToken(F.ARROW,0)}block(){return this.getTypedRuleContext(ns,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 Tp extends Qe{constructor(e,n,o){super(n,o),this.parser=e}OpenParen(){return this.getToken(F.OpenParen,0)}CloseParen(){return this.getToken(F.CloseParen,0)}formalParameterList(){return this.getTypedRuleContext(hl,0)}get ruleIndex(){return F.RULE_arrowFunctionParameters}accept(e){return e.visitArrowFunctionParameters?e.visitArrowFunctionParameters(this):e.visitChildren(this)}}class hl extends Qe{constructor(e,n,o){super(n,o),this.parser=e}formalParameterArg_list(){return this.getTypedRuleContexts(pl)}formalParameterArg(e){return this.getTypedRuleContext(pl,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 pl extends Qe{constructor(e,n,o){super(n,o),this.parser=e}identifier(){return this.getTypedRuleContext(xn,0)}typeGather(){return this.getTypedRuleContext(Vo,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 Ap extends Qe{constructor(e,n,o){super(n,o),this.parser=e}Method(){return this.getToken(F.Method,0)}identifier(){return this.getTypedRuleContext(xn,0)}arrowMethodParameters(){return this.getTypedRuleContext(xp,0)}ARROW(){return this.getToken(F.ARROW,0)}block(){return this.getTypedRuleContext(ns,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 xp extends Qe{constructor(e,n,o){super(n,o),this.parser=e}OpenParen(){return this.getToken(F.OpenParen,0)}typeGather(){return this.getTypedRuleContext(Vo,0)}identifier(){return this.getTypedRuleContext(xn,0)}CloseParen(){return this.getToken(F.CloseParen,0)}Comma(){return this.getToken(F.Comma,0)}formalParameterList(){return this.getTypedRuleContext(hl,0)}get ruleIndex(){return F.RULE_arrowMethodParameters}accept(e){return e.visitArrowMethodParameters?e.visitArrowMethodParameters(this):e.visitChildren(this)}}class Op extends Qe{constructor(e,n,o){super(n,o),this.parser=e}Type(){return this.getToken(F.Type,0)}identifier(){return this.getTypedRuleContext(xn,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(dl)}typeElement(e){return this.getTypedRuleContext(dl,e)}get ruleIndex(){return F.RULE_typeStatement}accept(e){return e.visitTypeStatement?e.visitTypeStatement(this):e.visitChildren(this)}}class dl extends Qe{constructor(e,n,o){super(n,o),this.parser=e}typeGather(){return this.getTypedRuleContext(Vo,0)}identifier(){return this.getTypedRuleContext(xn,0)}NEWLINE(){return this.getToken(F.NEWLINE,0)}Varip(){return this.getToken(F.Varip,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 Qe{constructor(e,n,o){super(n,o),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 ml extends Qe{constructor(e,n,o){super(n,o),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(pi)}typeName(e){return this.getTypedRuleContext(pi,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 Dp extends Qe{constructor(e,n,o){super(n,o),this.parser=e}typeName_list(){return this.getTypedRuleContexts(pi)}typeName(e){return this.getTypedRuleContext(pi,e)}typeArray(){return this.getTypedRuleContext(_l,0)}typeMap(){return this.getTypedRuleContext(ml,0)}get ruleIndex(){return F.RULE_typeSeries}accept(e){return e.visitTypeSeries?e.visitTypeSeries(this):e.visitChildren(this)}}class _l extends Qe{constructor(e,n,o){super(n,o),this.parser=e}typeName_list(){return this.getTypedRuleContexts(pi)}typeName(e){return this.getTypedRuleContext(pi,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 Vo extends Qe{constructor(e,n,o){super(n,o),this.parser=e}typeName(){return this.getTypedRuleContext(pi,0)}typeArray(){return this.getTypedRuleContext(_l,0)}typeMap(){return this.getTypedRuleContext(ml,0)}typeSeries(){return this.getTypedRuleContext(Dp,0)}get ruleIndex(){return F.RULE_typeGather}accept(e){return e.visitTypeGather?e.visitTypeGather(this):e.visitChildren(this)}}class xn extends Qe{constructor(e,n,o){super(n,o),this.parser=e}Identifier(){return this.getToken(F.Identifier,0)}Map(){return this.getToken(F.Map,0)}Type(){return this.getToken(F.Type,0)}get ruleIndex(){return F.RULE_identifier}accept(e){return e.visitIdentifier?e.visitIdentifier(this):e.visitChildren(this)}}class pi extends Qe{constructor(e,n,o){super(n,o),this.parser=e}identifier_list(){return this.getTypedRuleContexts(xn)}identifier(e){return this.getTypedRuleContext(xn,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 su extends Qe{constructor(e,n,o){super(n,o),this.parser=e}identifier_list(){return this.getTypedRuleContexts(xn)}identifier(e){return this.getTypedRuleContext(xn,e)}Point_list(){return this.getTokens(F.Point)}Point(e){return this.getToken(F.Point,e)}methodElement_list(){return this.getTypedRuleContexts(is)}methodElement(e){return this.getTypedRuleContext(is,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 Am extends Jy{constructor(n){super(n);N(this,"tokens");N(this,"indents");N(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(o){return o.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,o){const u=this.getCharIndex()-1,h=o.length?u-o.length+1:u;return new $y([this,this._input],n,0,h,u)}getIndentationCount(n){let o=0;for(let u=0;u<n.length;u++)n[u]===" "?o+=4-o%4:o++;return o}atStartOfInput(){return this.getCharIndex()===0}openBrace(){this.opened++}closeBrace(){this.opened--}onNewLine(){const n=this.text.replace(/[^\r\n]+/g,""),o=this.text.replace(/[\r\n]+/g,""),u=this._input.LA(1),h=this._input.LA(2),m=this.getIndentationCount(o);if(this.opened>0||h!=-1&&(u===13||u===10||u===47&&h===47||m%4))this.skip();else{this.emitToken(this.commonToken(F.NEWLINE,n));const _=this.indents.length?this.indents[this.indents.length-1]:0;if(m===_)this.skip();else if(m>_)this.indents.push(m),this.emitToken(this.commonToken(F.INDENT,o));else for(;this.indents.length&&this.indents[this.indents.length-1]>m;)this.emitToken(this.createDedent()),this.indents.pop()}}}const we=class we extends Am{constructor(e){super(e),this._interp=new Zy(this,we._ATN,we.DecisionsToDFA,new up)}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,o){switch(n){case 1:this.OpenBracket_action(e,o);break;case 2:this.CloseBracket_action(e,o);break;case 3:this.OpenParen_action(e,o);break;case 4:this.CloseParen_action(e,o);break;case 57:this.NEWLINE_action(e,o);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,o){switch(n){case 57:return this.NEWLINE_sempred(e,o)}return!0}NEWLINE_sempred(e,n){switch(n){case 0:return this.atStartOfInput()}return!0}static get _ATN(){return we.__ATN||(we.__ATN=new ap().deserialize(we._serializedATN)),we.__ATN}};N(we,"INDENT",1),N(we,"DEDENT",2),N(we,"Point",3),N(we,"OpenBracket",4),N(we,"CloseBracket",5),N(we,"OpenParen",6),N(we,"CloseParen",7),N(we,"Comma",8),N(we,"Assign",9),N(we,"QuestionMark",10),N(we,"Colon",11),N(we,"Plus",12),N(we,"Minus",13),N(we,"Multiply",14),N(we,"Divide",15),N(we,"Modulus",16),N(we,"Hashtag",17),N(we,"LessThan",18),N(we,"MoreThan",19),N(we,"LessThanEquals",20),N(we,"GreaterThanEquals",21),N(we,"Equals_",22),N(we,"NotEquals",23),N(we,"MultiplyAssign",24),N(we,"DivideAssign",25),N(we,"ModulusAssign",26),N(we,"PlusAssign",27),N(we,"MinusAssign",28),N(we,"ARROW",29),N(we,"ColonEquals",30),N(we,"BooleanLiteral",31),N(we,"IntegerLiteral",32),N(we,"DecimalLiteral",33),N(we,"Break",34),N(we,"And",35),N(we,"Export",36),N(we,"For",37),N(we,"Var",38),N(we,"Continue",39),N(we,"Varip",40),N(we,"Switch",41),N(we,"While",42),N(we,"If",43),N(we,"In",44),N(we,"Or",45),N(we,"Not",46),N(we,"Method",47),N(we,"Else",48),N(we,"To",49),N(we,"By",50),N(we,"Type",51),N(we,"Import",52),N(we,"As",53),N(we,"Map",54),N(we,"ColorLiteral",55),N(we,"StringLiteral",56),N(we,"Identifier",57),N(we,"HIDDEN_",58),N(we,"COMMENT_",59),N(we,"NEWLINE",60),N(we,"EOF",cp.EOF),N(we,"channelNames",["DEFAULT_TOKEN_CHANNEL","HIDDEN"]),N(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'","'map'"]),N(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","Map","ColorLiteral","StringLiteral","Identifier","HIDDEN_","COMMENT_","NEWLINE"]),N(we,"modeNames",["DEFAULT_MODE"]),N(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","Map","ColorLiteral","StringLiteral","Identifier","HIDDEN_","COMMENT_","NEWLINE","SHORT_STRING","DIGIT","DIGITS","HEX_DIGIT","SPACES","COMMENT","EXP"]),N(we,"_serializedATN",[4,0,60,440,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,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,212,8,28,1,29,1,29,1,30,1,30,1,30,3,30,219,8,30,1,30,1,30,1,30,1,30,3,30,225,8,30,3,30,227,8,30,1,30,3,30,230,8,30,3,30,232,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,52,1,52,1,52,1,52,1,52,1,52,1,52,1,52,1,52,1,52,1,52,1,52,1,52,1,52,1,52,1,52,1,52,1,52,3,52,355,8,52,1,53,1,53,1,54,1,54,5,54,361,8,54,10,54,12,54,364,9,54,1,55,1,55,1,55,1,55,1,56,1,56,1,56,1,56,1,57,1,57,1,57,3,57,377,8,57,1,57,1,57,3,57,381,8,57,1,57,3,57,384,8,57,3,57,386,8,57,1,57,1,57,1,58,1,58,1,58,1,58,5,58,394,8,58,10,58,12,58,397,9,58,1,58,1,58,1,58,1,58,1,58,5,58,404,8,58,10,58,12,58,407,9,58,1,58,3,58,410,8,58,1,59,1,59,1,60,4,60,415,8,60,11,60,12,60,416,1,61,1,61,1,62,4,62,422,8,62,11,62,12,62,423,1,63,1,63,1,63,1,63,5,63,430,8,63,10,63,12,63,433,9,63,1,64,1,64,3,64,437,8,64,1,64,1,64,0,0,65,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,0,119,0,121,0,123,0,125,0,127,0,129,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,2,0,9,9,32,32,2,0,10,10,12,13,2,0,69,69,101,101,2,0,43,43,45,45,453,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,1,131,1,0,0,0,3,133,1,0,0,0,5,136,1,0,0,0,7,139,1,0,0,0,9,142,1,0,0,0,11,145,1,0,0,0,13,147,1,0,0,0,15,149,1,0,0,0,17,151,1,0,0,0,19,153,1,0,0,0,21,155,1,0,0,0,23,157,1,0,0,0,25,159,1,0,0,0,27,161,1,0,0,0,29,163,1,0,0,0,31,165,1,0,0,0,33,167,1,0,0,0,35,169,1,0,0,0,37,172,1,0,0,0,39,175,1,0,0,0,41,178,1,0,0,0,43,181,1,0,0,0,45,184,1,0,0,0,47,187,1,0,0,0,49,190,1,0,0,0,51,193,1,0,0,0,53,196,1,0,0,0,55,199,1,0,0,0,57,211,1,0,0,0,59,213,1,0,0,0,61,231,1,0,0,0,63,233,1,0,0,0,65,239,1,0,0,0,67,243,1,0,0,0,69,250,1,0,0,0,71,254,1,0,0,0,73,258,1,0,0,0,75,267,1,0,0,0,77,273,1,0,0,0,79,280,1,0,0,0,81,286,1,0,0,0,83,289,1,0,0,0,85,292,1,0,0,0,87,295,1,0,0,0,89,299,1,0,0,0,91,306,1,0,0,0,93,311,1,0,0,0,95,314,1,0,0,0,97,317,1,0,0,0,99,322,1,0,0,0,101,329,1,0,0,0,103,332,1,0,0,0,105,354,1,0,0,0,107,356,1,0,0,0,109,358,1,0,0,0,111,365,1,0,0,0,113,369,1,0,0,0,115,385,1,0,0,0,117,409,1,0,0,0,119,411,1,0,0,0,121,414,1,0,0,0,123,418,1,0,0,0,125,421,1,0,0,0,127,425,1,0,0,0,129,434,1,0,0,0,131,132,5,46,0,0,132,2,1,0,0,0,133,134,5,91,0,0,134,135,6,1,0,0,135,4,1,0,0,0,136,137,5,93,0,0,137,138,6,2,1,0,138,6,1,0,0,0,139,140,5,40,0,0,140,141,6,3,2,0,141,8,1,0,0,0,142,143,5,41,0,0,143,144,6,4,3,0,144,10,1,0,0,0,145,146,5,44,0,0,146,12,1,0,0,0,147,148,5,61,0,0,148,14,1,0,0,0,149,150,5,63,0,0,150,16,1,0,0,0,151,152,5,58,0,0,152,18,1,0,0,0,153,154,5,43,0,0,154,20,1,0,0,0,155,156,5,45,0,0,156,22,1,0,0,0,157,158,5,42,0,0,158,24,1,0,0,0,159,160,5,47,0,0,160,26,1,0,0,0,161,162,5,37,0,0,162,28,1,0,0,0,163,164,5,35,0,0,164,30,1,0,0,0,165,166,5,60,0,0,166,32,1,0,0,0,167,168,5,62,0,0,168,34,1,0,0,0,169,170,5,60,0,0,170,171,5,61,0,0,171,36,1,0,0,0,172,173,5,62,0,0,173,174,5,61,0,0,174,38,1,0,0,0,175,176,5,61,0,0,176,177,5,61,0,0,177,40,1,0,0,0,178,179,5,33,0,0,179,180,5,61,0,0,180,42,1,0,0,0,181,182,5,42,0,0,182,183,5,61,0,0,183,44,1,0,0,0,184,185,5,47,0,0,185,186,5,61,0,0,186,46,1,0,0,0,187,188,5,37,0,0,188,189,5,61,0,0,189,48,1,0,0,0,190,191,5,43,0,0,191,192,5,61,0,0,192,50,1,0,0,0,193,194,5,45,0,0,194,195,5,61,0,0,195,52,1,0,0,0,196,197,5,61,0,0,197,198,5,62,0,0,198,54,1,0,0,0,199,200,5,58,0,0,200,201,5,61,0,0,201,56,1,0,0,0,202,203,5,116,0,0,203,204,5,114,0,0,204,205,5,117,0,0,205,212,5,101,0,0,206,207,5,102,0,0,207,208,5,97,0,0,208,209,5,108,0,0,209,210,5,115,0,0,210,212,5,101,0,0,211,202,1,0,0,0,211,206,1,0,0,0,212,58,1,0,0,0,213,214,3,121,60,0,214,60,1,0,0,0,215,216,5,46,0,0,216,218,3,121,60,0,217,219,3,129,64,0,218,217,1,0,0,0,218,219,1,0,0,0,219,232,1,0,0,0,220,229,3,121,60,0,221,226,5,46,0,0,222,224,3,121,60,0,223,225,3,129,64,0,224,223,1,0,0,0,224,225,1,0,0,0,225,227,1,0,0,0,226,222,1,0,0,0,226,227,1,0,0,0,227,230,1,0,0,0,228,230,3,129,64,0,229,221,1,0,0,0,229,228,1,0,0,0,230,232,1,0,0,0,231,215,1,0,0,0,231,220,1,0,0,0,232,62,1,0,0,0,233,234,5,98,0,0,234,235,5,114,0,0,235,236,5,101,0,0,236,237,5,97,0,0,237,238,5,107,0,0,238,64,1,0,0,0,239,240,5,97,0,0,240,241,5,110,0,0,241,242,5,100,0,0,242,66,1,0,0,0,243,244,5,101,0,0,244,245,5,120,0,0,245,246,5,112,0,0,246,247,5,111,0,0,247,248,5,114,0,0,248,249,5,116,0,0,249,68,1,0,0,0,250,251,5,102,0,0,251,252,5,111,0,0,252,253,5,114,0,0,253,70,1,0,0,0,254,255,5,118,0,0,255,256,5,97,0,0,256,257,5,114,0,0,257,72,1,0,0,0,258,259,5,99,0,0,259,260,5,111,0,0,260,261,5,110,0,0,261,262,5,116,0,0,262,263,5,105,0,0,263,264,5,110,0,0,264,265,5,117,0,0,265,266,5,101,0,0,266,74,1,0,0,0,267,268,5,118,0,0,268,269,5,97,0,0,269,270,5,114,0,0,270,271,5,105,0,0,271,272,5,112,0,0,272,76,1,0,0,0,273,274,5,115,0,0,274,275,5,119,0,0,275,276,5,105,0,0,276,277,5,116,0,0,277,278,5,99,0,0,278,279,5,104,0,0,279,78,1,0,0,0,280,281,5,119,0,0,281,282,5,104,0,0,282,283,5,105,0,0,283,284,5,108,0,0,284,285,5,101,0,0,285,80,1,0,0,0,286,287,5,105,0,0,287,288,5,102,0,0,288,82,1,0,0,0,289,290,5,105,0,0,290,291,5,110,0,0,291,84,1,0,0,0,292,293,5,111,0,0,293,294,5,114,0,0,294,86,1,0,0,0,295,296,5,110,0,0,296,297,5,111,0,0,297,298,5,116,0,0,298,88,1,0,0,0,299,300,5,109,0,0,300,301,5,101,0,0,301,302,5,116,0,0,302,303,5,104,0,0,303,304,5,111,0,0,304,305,5,100,0,0,305,90,1,0,0,0,306,307,5,101,0,0,307,308,5,108,0,0,308,309,5,115,0,0,309,310,5,101,0,0,310,92,1,0,0,0,311,312,5,116,0,0,312,313,5,111,0,0,313,94,1,0,0,0,314,315,5,98,0,0,315,316,5,121,0,0,316,96,1,0,0,0,317,318,5,116,0,0,318,319,5,121,0,0,319,320,5,112,0,0,320,321,5,101,0,0,321,98,1,0,0,0,322,323,5,105,0,0,323,324,5,109,0,0,324,325,5,112,0,0,325,326,5,111,0,0,326,327,5,114,0,0,327,328,5,116,0,0,328,100,1,0,0,0,329,330,5,97,0,0,330,331,5,115,0,0,331,102,1,0,0,0,332,333,5,109,0,0,333,334,5,97,0,0,334,335,5,112,0,0,335,104,1,0,0,0,336,337,5,35,0,0,337,338,3,123,61,0,338,339,3,123,61,0,339,340,3,123,61,0,340,341,3,123,61,0,341,342,3,123,61,0,342,343,3,123,61,0,343,355,1,0,0,0,344,345,5,35,0,0,345,346,3,123,61,0,346,347,3,123,61,0,347,348,3,123,61,0,348,349,3,123,61,0,349,350,3,123,61,0,350,351,3,123,61,0,351,352,3,123,61,0,352,353,3,123,61,0,353,355,1,0,0,0,354,336,1,0,0,0,354,344,1,0,0,0,355,106,1,0,0,0,356,357,3,117,58,0,357,108,1,0,0,0,358,362,7,0,0,0,359,361,7,1,0,0,360,359,1,0,0,0,361,364,1,0,0,0,362,360,1,0,0,0,362,363,1,0,0,0,363,110,1,0,0,0,364,362,1,0,0,0,365,366,3,125,62,0,366,367,1,0,0,0,367,368,6,55,4,0,368,112,1,0,0,0,369,370,3,127,63,0,370,371,1,0,0,0,371,372,6,56,5,0,372,114,1,0,0,0,373,374,4,57,0,0,374,386,3,125,62,0,375,377,5,13,0,0,376,375,1,0,0,0,376,377,1,0,0,0,377,378,1,0,0,0,378,381,5,10,0,0,379,381,2,12,13,0,380,376,1,0,0,0,380,379,1,0,0,0,381,383,1,0,0,0,382,384,3,125,62,0,383,382,1,0,0,0,383,384,1,0,0,0,384,386,1,0,0,0,385,373,1,0,0,0,385,380,1,0,0,0,386,387,1,0,0,0,387,388,6,57,6,0,388,116,1,0,0,0,389,395,5,39,0,0,390,394,8,2,0,0,391,392,5,92,0,0,392,394,5,39,0,0,393,390,1,0,0,0,393,391,1,0,0,0,394,397,1,0,0,0,395,393,1,0,0,0,395,396,1,0,0,0,396,398,1,0,0,0,397,395,1,0,0,0,398,410,5,39,0,0,399,405,5,34,0,0,400,404,8,3,0,0,401,402,5,92,0,0,402,404,5,34,0,0,403,400,1,0,0,0,403,401,1,0,0,0,404,407,1,0,0,0,405,403,1,0,0,0,405,406,1,0,0,0,406,408,1,0,0,0,407,405,1,0,0,0,408,410,5,34,0,0,409,389,1,0,0,0,409,399,1,0,0,0,410,118,1,0,0,0,411,412,7,4,0,0,412,120,1,0,0,0,413,415,3,119,59,0,414,413,1,0,0,0,415,416,1,0,0,0,416,414,1,0,0,0,416,417,1,0,0,0,417,122,1,0,0,0,418,419,7,5,0,0,419,124,1,0,0,0,420,422,7,6,0,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,126,1,0,0,0,425,426,5,47,0,0,426,427,5,47,0,0,427,431,1,0,0,0,428,430,8,7,0,0,429,428,1,0,0,0,430,433,1,0,0,0,431,429,1,0,0,0,431,432,1,0,0,0,432,128,1,0,0,0,433,431,1,0,0,0,434,436,7,8,0,0,435,437,7,9,0,0,436,435,1,0,0,0,436,437,1,0,0,0,437,438,1,0,0,0,438,439,3,121,60,0,439,130,1,0,0,0,22,0,211,218,224,226,229,231,354,362,376,380,383,385,393,395,403,405,409,416,423,431,436,7,1,1,0,1,2,1,1,3,2,1,4,3,0,1,0,0,2,0,1,57,4]),N(we,"__ATN"),N(we,"DecisionsToDFA",we._ATN.decisionToState.map((e,n)=>new sp(e,n)));let gl=we;var W=(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))(W||{}),Oe=(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))(Oe||{}),Cn=(t=>(t.description="description",t.field="field",t.function="function",t.param="param",t.returns="returns",t.type="type",t.variable="variable",t))(Cn||{}),uu=(t=>(t.library="library",t.indicator="indicator",t.strategy="strategy",t))(uu||{});const ke={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:"type '$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",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 undefined 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."},wi={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"},Ni=[W.SERIES,W.SIMPLE,W.INPUT,W.CONST],xm=[W.INT,W.FLOAT,W.BOOL,W.COLOR,W.STRING],bl=["indicator","strategy","library"],Cp=["plot","plotbar","plotchar","plotarrow","plotshape","plotcandle","hline","alertcondition","barcolor","bgcolor","fill"],Om=[...Cp,"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"],Dm=[...Cp,"table.new","label.new","line.new","box.new","polyline.new","linefill.new"],Cm=["strategy.entry","strategy.order","strategy.exit","strategy.close","strategy.cancel","strategy.close_all","strategy.cancel_all"],km=["strategy","input","table","color","line","linefill","label","box"],vl=["close","open","high","low","hl2","hlc3","hlcc4","ohlc4","volume"],Rm=/^\/\/\s*@(description|field|function|param|returns|type|variable)/;var kp=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},wm={exports:{}};(function(t,e){(function(n,o){t.exports=o()})(kp,function(){var n=1e3,o=6e4,u=36e5,h="millisecond",m="second",_="minute",S="hour",x="day",C="week",A="month",I="quarter",j="year",M="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(ye){var te=["th","st","nd","rd"],he=ye%100;return"["+ye+(te[(he-20)%10]||te[he]||te[0])+"]"}},w=function(ye,te,he){var le=String(ye);return!le||le.length>=te?ye:""+Array(te+1-le.length).join(he)+ye},D={s:w,z:function(ye){var te=-ye.utcOffset(),he=Math.abs(te),le=Math.floor(he/60),Ae=he%60;return(te<=0?"+":"-")+w(le,2,"0")+":"+w(Ae,2,"0")},m:function ye(te,he){if(te.date()<he.date())return-ye(he,te);var le=12*(he.year()-te.year())+(he.month()-te.month()),Ae=te.clone().add(le,A),Pe=he-Ae<0,_e=te.clone().add(le+(Pe?-1:1),A);return+(-(le+(he-Ae)/(Pe?Ae-_e:_e-Ae))||0)},a:function(ye){return ye<0?Math.ceil(ye)||0:Math.floor(ye)},p:function(ye){return{M:A,y:j,w:C,d:x,D:M,h:S,m:_,s:m,ms:h,Q:I}[ye]||String(ye||"").toLowerCase().replace(/s$/,"")},u:function(ye){return ye===void 0}},V="en",X={};X[V]=O;var re="$isDayjsObject",z=function(ye){return ye instanceof Q||!(!ye||!ye[re])},Y=function ye(te,he,le){var Ae;if(!te)return V;if(typeof te=="string"){var Pe=te.toLowerCase();X[Pe]&&(Ae=Pe),he&&(X[Pe]=he,Ae=Pe);var _e=te.split("-");if(!Ae&&_e.length>1)return ye(_e[0])}else{var Ue=te.name;X[Ue]=te,Ae=Ue}return!le&&Ae&&(V=Ae),Ae||!le&&V},K=function(ye,te){if(z(ye))return ye.clone();var he=typeof te=="object"?te:{};return he.date=ye,he.args=arguments,new Q(he)},ce=D;ce.l=Y,ce.i=z,ce.w=function(ye,te){return K(ye,{locale:te.$L,utc:te.$u,x:te.$x,$offset:te.$offset})};var Q=function(){function ye(he){this.$L=Y(he.locale,null,!0),this.parse(he),this.$x=this.$x||he.x||{},this[re]=!0}var te=ye.prototype;return te.parse=function(he){this.$d=function(le){var Ae=le.date,Pe=le.utc;if(Ae===null)return new Date(NaN);if(ce.u(Ae))return new Date;if(Ae instanceof Date)return new Date(Ae);if(typeof Ae=="string"&&!/Z$/i.test(Ae)){var _e=Ae.match(y);if(_e){var Ue=_e[2]-1||0,J=(_e[7]||"0").substring(0,3);return Pe?new Date(Date.UTC(_e[1],Ue,_e[3]||1,_e[4]||0,_e[5]||0,_e[6]||0,J)):new Date(_e[1],Ue,_e[3]||1,_e[4]||0,_e[5]||0,_e[6]||0,J)}}return new Date(Ae)}(he),this.init()},te.init=function(){var he=this.$d;this.$y=he.getFullYear(),this.$M=he.getMonth(),this.$D=he.getDate(),this.$W=he.getDay(),this.$H=he.getHours(),this.$m=he.getMinutes(),this.$s=he.getSeconds(),this.$ms=he.getMilliseconds()},te.$utils=function(){return ce},te.isValid=function(){return this.$d.toString()!==b},te.isSame=function(he,le){var Ae=K(he);return this.startOf(le)<=Ae&&Ae<=this.endOf(le)},te.isAfter=function(he,le){return K(he)<this.startOf(le)},te.isBefore=function(he,le){return this.endOf(le)<K(he)},te.$g=function(he,le,Ae){return ce.u(he)?this[le]:this.set(Ae,he)},te.unix=function(){return Math.floor(this.valueOf()/1e3)},te.valueOf=function(){return this.$d.getTime()},te.startOf=function(he,le){var Ae=this,Pe=!!ce.u(le)||le,_e=ce.p(he),Ue=function(Et,Mt){var gt=ce.w(Ae.$u?Date.UTC(Ae.$y,Mt,Et):new Date(Ae.$y,Mt,Et),Ae);return Pe?gt:gt.endOf(x)},J=function(Et,Mt){return ce.w(Ae.toDate()[Et].apply(Ae.toDate("s"),(Pe?[0,0,0,0]:[23,59,59,999]).slice(Mt)),Ae)},ne=this.$W,se=this.$M,Ee=this.$D,me="set"+(this.$u?"UTC":"");switch(_e){case j:return Pe?Ue(1,0):Ue(31,11);case A:return Pe?Ue(1,se):Ue(0,se+1);case C:var At=this.$locale().weekStart||0,jt=(ne<At?ne+7:ne)-At;return Ue(Pe?Ee-jt:Ee+(6-jt),se);case x:case M:return J(me+"Hours",0);case S:return J(me+"Minutes",1);case _:return J(me+"Seconds",2);case m:return J(me+"Milliseconds",3);default:return this.clone()}},te.endOf=function(he){return this.startOf(he,!1)},te.$set=function(he,le){var Ae,Pe=ce.p(he),_e="set"+(this.$u?"UTC":""),Ue=(Ae={},Ae[x]=_e+"Date",Ae[M]=_e+"Date",Ae[A]=_e+"Month",Ae[j]=_e+"FullYear",Ae[S]=_e+"Hours",Ae[_]=_e+"Minutes",Ae[m]=_e+"Seconds",Ae[h]=_e+"Milliseconds",Ae)[Pe],J=Pe===x?this.$D+(le-this.$W):le;if(Pe===A||Pe===j){var ne=this.clone().set(M,1);ne.$d[Ue](J),ne.init(),this.$d=ne.set(M,Math.min(this.$D,ne.daysInMonth())).$d}else Ue&&this.$d[Ue](J);return this.init(),this},te.set=function(he,le){return this.clone().$set(he,le)},te.get=function(he){return this[ce.p(he)]()},te.add=function(he,le){var Ae,Pe=this;he=Number(he);var _e=ce.p(le),Ue=function(se){var Ee=K(Pe);return ce.w(Ee.date(Ee.date()+Math.round(se*he)),Pe)};if(_e===A)return this.set(A,this.$M+he);if(_e===j)return this.set(j,this.$y+he);if(_e===x)return Ue(1);if(_e===C)return Ue(7);var J=(Ae={},Ae[_]=o,Ae[S]=u,Ae[m]=n,Ae)[_e]||1,ne=this.$d.getTime()+he*J;return ce.w(ne,this)},te.subtract=function(he,le){return this.add(-1*he,le)},te.format=function(he){var le=this,Ae=this.$locale();if(!this.isValid())return Ae.invalidDate||b;var Pe=he||"YYYY-MM-DDTHH:mm:ssZ",_e=ce.z(this),Ue=this.$H,J=this.$m,ne=this.$M,se=Ae.weekdays,Ee=Ae.months,me=Ae.meridiem,At=function(Mt,gt,Dt,Jt){return Mt&&(Mt[gt]||Mt(le,Pe))||Dt[gt].slice(0,Jt)},jt=function(Mt){return ce.s(Ue%12||12,Mt,"0")},Et=me||function(Mt,gt,Dt){var Jt=Mt<12?"AM":"PM";return Dt?Jt.toLowerCase():Jt};return Pe.replace(g,function(Mt,gt){return gt||function(Dt){switch(Dt){case"YY":return String(le.$y).slice(-2);case"YYYY":return ce.s(le.$y,4,"0");case"M":return ne+1;case"MM":return ce.s(ne+1,2,"0");case"MMM":return At(Ae.monthsShort,ne,Ee,3);case"MMMM":return At(Ee,ne);case"D":return le.$D;case"DD":return ce.s(le.$D,2,"0");case"d":return String(le.$W);case"dd":return At(Ae.weekdaysMin,le.$W,se,2);case"ddd":return At(Ae.weekdaysShort,le.$W,se,3);case"dddd":return se[le.$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(le.$s);case"ss":return ce.s(le.$s,2,"0");case"SSS":return ce.s(le.$ms,3,"0");case"Z":return _e}return null}(Mt)||_e.replace(":","")})},te.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},te.diff=function(he,le,Ae){var Pe,_e=this,Ue=ce.p(le),J=K(he),ne=(J.utcOffset()-this.utcOffset())*o,se=this-J,Ee=function(){return ce.m(_e,J)};switch(Ue){case j:Pe=Ee()/12;break;case A:Pe=Ee();break;case I:Pe=Ee()/3;break;case C:Pe=(se-ne)/6048e5;break;case x:Pe=(se-ne)/864e5;break;case S:Pe=se/u;break;case _:Pe=se/o;break;case m:Pe=se/n;break;default:Pe=se}return Ae?Pe:ce.a(Pe)},te.daysInMonth=function(){return this.endOf(A).$D},te.$locale=function(){return X[this.$L]},te.locale=function(he,le){if(!he)return this.$L;var Ae=this.clone(),Pe=Y(he,le,!0);return Pe&&(Ae.$L=Pe),Ae},te.clone=function(){return ce.w(this.$d,this)},te.toDate=function(){return new Date(this.valueOf())},te.toJSON=function(){return this.isValid()?this.toISOString():null},te.toISOString=function(){return this.$d.toISOString()},te.toString=function(){return this.$d.toUTCString()},ye}(),de=Q.prototype;return K.prototype=de,[["$ms",h],["$s",m],["$m",_],["$H",S],["$W",x],["$M",A],["$y",j],["$D",M]].forEach(function(ye){de[ye[1]]=function(te){return this.$g(te,ye[0],ye[1])}}),K.extend=function(ye,te){return ye.$i||(ye(te,Q,K),ye.$i=!0),K},K.locale=Y,K.isDayjs=z,K.unix=function(ye){return K(1e3*ye)},K.en=X[V],K.Ls=X,K.p={},K})})(wm);function Ne(t,e){return t.replace(/\$(\w+)/g,(n,o)=>String(e[o])||n)}class Nm extends Qy{constructor(){super(...arguments);N(this,"visitProgram");N(this,"visitGlobalStmt");N(this,"visitBlockStmt");N(this,"visitStmt");N(this,"visitSimpleStmt");N(this,"visitFlowStmt");N(this,"visitBlock");N(this,"visitBlockLine");N(this,"visitVariableDeclarationStmt");N(this,"visitDeclareAssign");N(this,"visitAgainAssign");N(this,"visitVarModifier");N(this,"visitBlockSequence");N(this,"visitExpressionSequence");N(this,"visitExpressionBlockSequence");N(this,"visitVarBlockStmt");N(this,"visitVarSingle");N(this,"visitVarMultiple");N(this,"visitBlockExpression");N(this,"visitParenthesizedExpression");N(this,"visitAdditiveExpression");N(this,"visitRelationalExpression");N(this,"visitTernaryExpression");N(this,"visitLogicalAndExpression");N(this,"visitNameExpression");N(this,"visitLiteralExpression");N(this,"visitLogicalOrExpression");N(this,"visitUnaryExpression");N(this,"visitNotExpression");N(this,"visitMemberIndexExpression");N(this,"visitMethodExpression");N(this,"visitEqualityExpression");N(this,"visitMultiplicativeExpression");N(this,"visitBrackethesized");N(this,"visitArguments");N(this,"visitArgument");N(this,"visitIfStatement");N(this,"visitForToStatement");N(this,"visitForInStatement");N(this,"visitSwitchStatement");N(this,"visitCaseClause");N(this,"visitDefaultCaluse");N(this,"visitWhileStatement");N(this,"visitImportStmt");N(this,"visitImportElement");N(this,"visitLiteral");N(this,"visitMethodStmt");N(this,"visitMethodElement");N(this,"visitMethodName");N(this,"visitArrowFunction");N(this,"visitArrowFunctionParameters");N(this,"visitFormalParameterList");N(this,"visitFormalParameterArg");N(this,"visitArrowMethod");N(this,"visitArrowMethodParameters");N(this,"visitTypeStatement");N(this,"visitTypeElement");N(this,"visitAssignmentOperator");N(this,"visitTypeMap");N(this,"visitTypeSeries");N(this,"visitTypeArray");N(this,"visitTypeGather");N(this,"visitIdentifier");N(this,"visitTypeName");N(this,"visitName")}}class Pm extends Nm{constructor(n){super();N(this,"_buildinVariables");N(this,"_buildinTypes");N(this,"_buildinConstants");N(this,"_buildinMethods");N(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 o in n){const u=new Map(Object.entries(n[o]));switch(o){case"constants":this._buildinConstants=u;break;case"functions":this._buildinFunctions=u;break;case"methods":this._buildinMethods=u;break;case"types":this._buildinTypes=u;break;case"variables":this._buildinVariables=u;break}}}_typeHandle(n=[],o){if(!n.length)return W.UNDETERMINED;if(n=n.filter(m=>!m.endsWith(W.NA)),!n.length)return`${W.SIMPLE} ${W.NA}`;let u=100,h="";for(const m of n){if(m===W.UNDETERMINED)return W.UNDETERMINED;m.startsWith(W.SERIES)?u=0:m.startsWith(W.SIMPLE)&&u>0?u=1:m.startsWith(W.INPUT)&&u>1?u=2:m.startsWith(W.CONST)&&u>2&&(u=3);const _=this._removePrefix(m);(_!==W.INT||!h)&&(h=_)}return u===100?h:`${Ni[u]} ${o||h}`}_returnTypesOtherHandle(n,o,u,h){if(!u.length||u[0].includes("<>")){const m=n.type;let _=m;if(!m||m===W.UNDETERMINED)return[W.UNDETERMINED];switch(o){case"series <type>":_=this._getArrayType(m),_||(_=this._removePrefix(m)),u=[this._typeAddSeries(_)];break;case"array<type>":case"matrix<type>":case"type[]":if(this._isMapType(m)){const S=this._getMapType(m)||[];h.includes("keys")?_=S[0]:_=S[1]}else _=this._getArrayType(m),_||(_=this._removePrefix(m));u=[this._typeReplace(o,_)];break;case"<matrix_type>":_=this._getArrayType(m),u=[this._typeAddSeries(_)];break;case"map<keyType, valueType>":u=[_];break;case"<value_type>":_=this._getMapType(m),u=[_[1]];break}}return u}_checkMethodThisType(n,o){if(!n||!n.length||n[0].includes("<>"))return!0;const u=o.replace("int","float");return n.some(h=>h===o||u===h)}_priorityComparison(n,o){if(!n)return!1;if(this._isArrayType(n)||this._isMatrixType(n))return this._getArrayType(o)!==W.INT;{const u=this._getPrefix(n),h=this._getPrefix(o);return u===h?!!n.endsWith(W.INT):!(Ni.indexOf(u)<Ni.indexOf(h))}}_compareType(n,o){if(n===W.UNDETERMINED||o===W.UNDETERMINED)return!0;const u=[W.FLOAT,W.INT];if(this._isArrayType(n)||this._isMatrixType(n)){const h=this._getArrayType(n)||"",m=this._getArrayType(o)||"";return h===m||u.includes(h)&&u.includes(m)}else if(this._isMapType(n)){const h=this._getMapType(n)||[],m=this._getMapType(o)||[];return(h[0]===m[0]||u.includes(h[0])&&u.includes(m[0]))&&(h[1]===m[1]||u.includes(h[1])&&u.includes(m[1]))}else{const h=this._removePrefix(n),m=this._removePrefix(o);return h===W.NA||m===W.NA||h===m||u.includes(h)&&u.includes(m)}}_typeAddSeries(n){return this._buildinTypes.get(n)&&n!==W.CHART_POINT?`${W.SERIES} ${n}`:n}_typeAddConst(n){return this._buildinTypes.get(n)&&n!==W.CHART_POINT?`${W.CONST} ${n}`:n}_getOriginMethodName(n,o){let u="";return this._isArrayType(n)?u=`${W.ARRAY}.${o}`:this._isMatrixType(n)?u=`${W.MATRIX}.${o}`:this._isMapType(n)?u=`${W.MAP}.${o}`:u=`${this._removePrefix(n)}.${o}`,u}_returnedTypesParse(n){if(!n||!n.length)return[];const o=n[0];return/^\[.+\]$/.test(o)?o.replace(/[[\]]/g,"").split(",").map(u=>u.trim()):n}_removePrefix(n=""){return n.replace(/(series|simple|const|input)\s+([\w\d.]+)/,"$2")}_getPrefix(n){if(!n)return"";const o=n.replace(/(series|simple|const|input).+/,"$1");return Ni.includes(o)?o:""}_getArrayType(n){let o=/\w+<([\w\d.]+)>/.exec(n);return o||(o=/([\w\d.]+)\[\]/.exec(n)),o==null?void 0:o[1]}_getMapType(n){const o=/\w+<(\w+),\s*([\w\d.]+)>/.exec(n);return(o==null?void 0:o[1])&&(o==null?void 0:o[2])&&[o==null?void 0:o[1],o==null?void 0:o[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)?W.ARRAY:this._isMapType(n)?W.MAP:this._isMatrixType(n)?W.MATRIX:this._removePrefix(n)}_typeReplace(n,o){return o=this._removePrefix(o),this._arrayTypeConvert(n.startsWith(W.SERIES)?n.replace("<type>",o):n.replace("type",o))}}var Zn=(t=>(t[t.Hint=1]="Hint",t[t.Info=2]="Info",t[t.Warning=4]="Warning",t[t.Error=8]="Error",t))(Zn||{});class Im extends Pm{constructor(n,o){super(n);N(this,"_loopCount");N(this,"_errors");N(this,"_variables");N(this,"_functions");N(this,"_methods");N(this,"_types");N(this,"_currentBlockVars");N(this,"_currentFuncParams");N(this,"_isNeedCalc");N(this,"_blockCount");N(this,"_isInFunc");N(this,"_onlyStatementsCount");N(this,"_blockRanges");N(this,"_overloadsFuncs");N(this,"_hasMemberIndex");N(this,"_isInLocalScop");N(this,"_comments");N(this,"_currentLine",0);N(this,"_hasDrawFunc",!1);N(this,"_hasCreateOrderFunc",!1);N(this,"_scriptType");N(this,"_exportFunctions");N(this,"_exportMethods");N(this,"_exportTypes");N(this,"_exportPositions");N(this,"visitProgram",n=>{const{children:o}=n;let u=0;const h=[];for(this._pushBlockRanges(n);u<o.length;u++){const m=o[u];m.ruleIndex===F.RULE_globalStmt&&h.push(this.visit(m))}return this._onlyStatementsCount<=0&&this._errors.push({startColumn:0,endColumn:0,startLineNumber:0,endLineNumber:0,type:Zn.Error,message:Ne(ke.onlyStatementErr,{count:this._onlyStatementsCount})}),h});N(this,"visitGlobalStmt",n=>{const{children:o}=n;if(o&&o.length){const u=o[0],h=this.visit(u);return u.ruleIndex===F.RULE_methodStmt&&bl.includes(h.exprs[0].name)&&(this._onlyStatementsCount++,this._onlyStatementsCount>1?this._errorHandle(Ne(ke.onlyStatementErr,{count:this._onlyStatementsCount}),u):this._scriptType=h.exprs[0].name),h}return null});N(this,"visitBlockStmt",n=>{const{children:o}=n;let u=0;const h=[];for(;u<o.length;u++){const m=o[u];switch(m.ruleIndex){case F.RULE_variableDeclarationStmt:h.push(...this.visit(m));break;case F.RULE_varBlockStmt:h.push(this.visit(m));break;case F.RULE_blockExpression:h.push(this.visit(m));break}}return h});N(this,"visitStmt",n=>{const{children:o}=n;if(o&&o.length){const u=o[0];return this.visit(u)}return null});N(this,"visitSimpleStmt",n=>{const{children:o}=n;if(o&&o.length){const u=o[0];return this.visit(u)}return null});N(this,"visitFlowStmt",n=>{const{children:o}=n,{column:u,line:h,text:m}=o[0].symbol;if(this._currentLine=h,this._loopCount<=0){const _=u+1;this._errors.push({startColumn:_,endColumn:parseInt(_+m.length),startLineNumber:h,endLineNumber:h,message:Ne(ke.onlyInLoop,{text:m})})}return{ruleType:Oe.FlowStmt,value:m}});N(this,"visitBlock",n=>{const{children:o}=n;if(o&&o.length){const u=o[0];return u.ruleIndex===F.RULE_simpleStmt?this._inBlock(u):this.visit(u)}return null});N(this,"visitBlockLine",n=>{const{children:o}=n;if(!o)return null;let u=0;const h=[];for(this._blockCount++,this._pushBlockRanges(n);u<o.length;u++){const m=o[u];m.ruleIndex===F.RULE_stmt&&h.push(this.visit(m))}return this._blockCount--,this._blockRanges.pop(),this._currentBlockVars.splice(this._blockCount+1),h});N(this,"visitDeclareAssign",n=>{const{children:o}=n;let u=0;const h={ruleType:Oe.DeclareAssign};for(;u<o.length;u++){const m=o[u];switch(m.ruleIndex){case F.RULE_varArrayDeclaration:h.nameList=this.visit(m);break;case F.RULE_singleExpression:h.value=this.visit(m);break}}return this._variablesHandle(h,n),h});N(this,"visitAgainAssign",n=>{const{children:o,start:u}=n;if(this._currentLine=u.line,o.length>=3){const h=this.visit(o[0]);this._verifyGloablVar(h,o[0]);const m=this.visit(o[2]),_=this.visit(o[1]);return h.type?this._againAssignHandle([h,m],[o[0],o[2]],_):null}return null});N(this,"visitVarModifier",n=>{const{children:o}=n;return o[0].symbol.text});N(this,"visitExpressionSequence",n=>{const{children:o,start:u}=n;let h=0;const m=[];for(this._currentLine=u.line;h<o.length;h++){const _=o[h];if(_.ruleIndex===F.RULE_singleExpression){const S=this.visit(_);S&&(S.ctx=_,m.push(S))}}return m});N(this,"visitExpressionBlockSequence",n=>{const{children:o}=n;let u=0;const h=[];for(;u<o.length;u++){const m=o[u];switch(m.ruleIndex){case F.RULE_singleExpression:h.push(this.visit(m));break;case F.RULE_variableDeclarationList:h.push(this.visit(m));break;case F.RULE_blockExpression:h.push(this.visit(m));break;case F.RULE_varBlockStmt:h.push(this.visit(m));break}}return h});N(this,"visitBlockSequence",n=>{const{children:o}=n;let u=0;const h=[];for(;u<o.length;u++){const m=o[u];switch(m.ruleIndex){case F.RULE_variableDeclarationList:h.push(this.visit(m));break;case F.RULE_singleExpression:h.push(this.visit(m));break}}return h});N(this,"visitVariableDeclarationStmt",n=>{const{children:o}=n;let u=0;const h=[];for(;u<o.length;u++){const m=o[u];switch(m.ruleIndex){case F.RULE_variableDeclarationList:h.push(this.visit(m));break;case F.RULE_methodStmt:const _=this.visit(m);bl.includes(_.exprs[0].name)&&(this._onlyStatementsCount++,this._onlyStatementsCount>1?this._errorHandle(Ne(ke.onlyStatementErr,{count:this._onlyStatementsCount}),m):this._scriptType=_.exprs[0].name),h.push(_);break}}return h});N(this,"visitVarBlockStmt",n=>{const{children:o}=n;let u=0;const h={ruleType:Oe.VarBlockStmt,ctx:n},m=[];for(;u<o.length;u++){const _=o[u];switch(_.ruleIndex){case F.RULE_varArrayDeclaration:h.nameList=this.visit(_);break;case F.RULE_assignmentOperator:h.operator=this.visit(_);break;case F.RULE_name:m.push(_),h.name=this.visit(_);break;case F.RULE_blockExpression:this._isNeedCalc=!0,h.value=this.visit(_),m.push(_);const S=this._getBlockReturnTypes(h.value);S.length===1?h.value.type=S[0]:h.value.types=S,this._isNeedCalc=!1;break}}return h.name?this._againAssignHandle([h.name,h.value],m,h.operator):(this._variablesHandle(h,n),h)});N(this,"visitVarSingle",n=>{const{children:o,start:u}=n,h={ruleType:Oe.VarSingle};let m=0;const _=this._commentsParser(u.line,[Cn.variable]);h.desc=_==null?void 0:_[Cn.variable],this._currentLine=u.line;let S={lineNumber:0,column:0};for(;m<o.length;m++){const x=o[m];switch(x.ruleIndex){case F.RULE_varModifier:h.declare=this.visit(x);break;case F.RULE_typeGather:const C=this.visit(x);h.prefix=this._getPrefix(C),h.type=C&&this._typeAddConst(C);break;case F.RULE_identifier:const A=this.visit(x);this._repeatVarJudge(A,x),S={lineNumber:x.start.line,column:x.start.column},h.name=A,h.pos=S;break}}return h});N(this,"_commentsParser",(n,o,u=!1)=>{var x;const h=this._comments.filter(C=>C.line<n&&C.line>=this._currentLine),m={},_={line:0,key:"",secKey:""},S=[Cn.field,Cn.param];for(const C of h){const[A,I]=Rm.exec(C.text)||[];if(I&&o.includes(I)){const j=C.text.replace(A,"").trim();if(Object.assign(_,{line:C.line,key:I}),S.includes(I)){const[M,...b]=j.split(" ");M&&(Object.assign(_,{secKey:M}),m[I]=Object.assign(m[I]||{},{[M]:b.join(" ").trim()}))}else m[I]=[j]}else if(u&&_.key){const j=C.text.replace("//","").trim();S.includes(_.key)?m[_.key][_.secKey]+=` ${j}`:(x=m[_.key])==null||x.push(j)}}return m});N(this,"visitVarMultiple",n=>{const{children:o,start:u}=n;let h=0;const m=[],_=[];for(this._currentLine=u.line;h<o.length;h++){const S=o[h];if(S.ruleIndex===F.RULE_identifier){const x=this.visit(S);this._repeatVarJudge(x,S),m.push(x),_.push({lineNumber:S.start.line,column:S.start.column})}}return{ruleType:Oe.VarMultiple,names:m,posList:_}});N(this,"visitBlockExpression",n=>{const{children:o,start:u}=n;if(this._currentLine=u.line,o&&o.length){const h=o[0];return this.visit(h)}return null});N(this,"visitParenthesizedExpression",n=>{const{children:o}=n,u=o[1],h=this.visit(u);return{ruleType:Oe.ParenthesizedExpression,type:h.type,ctx:n,exprs:h}});N(this,"visitAdditiveExpression",n=>{const{children:o}=n;let u=0,h="";const m=[];for(;u<o.length;u++){const S=o[u];S.ruleIndex===F.RULE_singleExpression?m.push(this.visit(S)):h=S.symbol.text}const _={ruleType:Oe.AdditiveExpression,operator:h,ctx:n,exprs:m};if(["+","-"].includes(h)){const S=[W.UNDETERMINED,W.INT,W.FLOAT];h==="+"&&S.push(W.STRING);const x=this._sameTypeJudge(m,[o[0],o[2]],h,S);_.type=this._typeHandle(x)}else{const S=this._calcTypeJudge(m[0],o[0],h),x=this._calcTypeJudge(m[1],o[2],h,1);_.type=this._typeHandle([S,x])}return _});N(this,"visitRelationalExpression",n=>{const{children:o}=n;let u=0,h="";const m=[];for(;u<o.length;u++){const x=o[u];x.ruleIndex===F.RULE_singleExpression?m.push(this.visit(x)):h=x.symbol.text}const _=this._calcTypeJudge(m[0],o[0],h),S=this._calcTypeJudge(m[1],o[2],h,1);return{ruleType:Oe.RelationalExpression,operator:h,ctx:n,type:this._typeHandle([_,S],W.BOOL),exprs:m}});N(this,"visitEqualityExpression",n=>{const{children:o}=n;let u=0,h="";const m=[];for(;u<o.length;u++){const S=o[u];S.ruleIndex===F.RULE_singleExpression?m.push(this.visit(S)):h=S.symbol.text}const _=this._sameTypeJudge(m,[o[0],o[2]],h,[W.UNDETERMINED,W.COLOR,W.STRING,W.BOOL,W.INT,W.FLOAT]);return{ruleType:Oe.EqualityExpression,operator:h,ctx:n,type:this._typeHandle(_,W.BOOL),exprs:m}});N(this,"visitTernaryExpression",n=>{const{children:o}=n;let u=0;const h=[];for(;u<o.length;u++){const _=o[u];if(_.ruleIndex===F.RULE_singleExpression){const S=this._isInLocalScop;u!==0&&(this._isInLocalScop=!0),h.push(this.visit(_)),this._isInLocalScop=S}}let m=W.UNDETERMINED;if(h.length>=3){this._boolTypeJudge(h[0],o[0],"?:");const _=this._sameTypeJudge(h.slice(1),[o[2],o[4]],"?:",[]),S=this._getPrefix(h[0].type);m=this._typeHandle(_),S&&this._getPrefix(m)&&(m=this._typeHandle([m,`${S} ${this._removePrefix(m)}`]))}return{ruleType:Oe.TernaryExpression,type:m,ctx:n,exprs:h}});N(this,"visitNameExpression",n=>{const{children:o}=n;if(o&&o.length){const u=o[0];return this.visit(u)}return null});N(this,"visitLiteralExpression",n=>{const{children:o}=n;if(o&&o.length){const u=o[0];return this.visit(u)}return null});N(this,"visitUnaryExpression",n=>{var x;const{children:o}=n,[u,h]=o,m=[this.visit(h)],_=u.symbol.text,S=this._calcTypeJudge(m[0],h,_);return((x=m[0])==null?void 0:x.ruleType)===Oe.UnaryExpression&&this._errors.push({message:Ne(ke.unaryErr,{sign:_}),startColumn:u.symbol.column+1,startLineNumber:u.symbol.line,endColumn:u.symbol.column+2,endLineNumber:u.symbol.line}),{ruleType:Oe.UnaryExpression,operator:_,type:S,ctx:n,exprs:m}});N(this,"visitNotExpression",n=>{const{children:o}=n,u=o[1],h=[this.visit(u)],m=this._boolTypeJudge(h[0],u,"not");return{ruleType:Oe.NotExpression,ctx:n,type:this._typeHandle([m],W.BOOL),exprs:h}});N(this,"visitMemberIndexExpression",n=>{var m,_;const{children:o}=n;let u=0;const h=[];for(;u<o.length;u++){const S=o[u];S.ruleIndex===F.RULE_singleExpression&&h.push(this.visit(S))}if(this._memberIndexVerify(h[0],n),this._hasMemberIndex=!0,((m=h[0])==null?void 0:m.ruleType)===Oe.MemberIndexExpression){const S=o[1];this._errors.push({message:Ne(ke.unaryErr,{sign:"["}),startColumn:S.symbol.column+1,startLineNumber:S.symbol.line,endColumn:S.symbol.column+2,endLineNumber:S.symbol.line}),this._hasMemberIndex=!1}return{ruleType:Oe.MemberIndexExpression,type:(_=h[0])==null?void 0:_.type,ctx:n,isInFunc:this._isInFunc,exprs:h}});N(this,"visitMethodStmt",n=>{const{children:o,start:u}=n;let h=0;const m=[],_=[];this._currentLine=u.line;let S;for(;h<o.length;h++){const x=o[h];x.ruleIndex===F.RULE_methodElement&&(m.push(this.visit(x)),_.push(x))}return S=this._getMethodTypes(m,_)||[],{ruleType:Oe.MethodExpression,types:S.length>1||S.isBrackethesized||S.isUnknown?S:void 0,ctx:n,type:S.length===1?S[0]:void 0,exprs:m}});N(this,"visitMethodExpression",n=>{const{children:o}=n;if(o&&o.length){const u=o[0];return this.visit(u)}return null});N(this,"visitLogicalAndExpression",n=>{const{children:o}=n;let u=0,h="";const m=[];for(;u<o.length;u++){const x=o[u];x.ruleIndex===F.RULE_singleExpression?m.push(this.visit(x)):h=x.symbol.text}const _=this._boolTypeJudge(m[0],o[0],h),S=this._boolTypeJudge(m[1],o[2],h,1);return{ruleType:Oe.LogicalAndExpression,type:this._typeHandle([_,S],W.BOOL),operator:h,ctx:n,exprs:m}});N(this,"visitLogicalOrExpression",n=>{const{children:o}=n;let u=0,h="";const m=[];for(;u<o.length;u++){const x=o[u];x.ruleIndex===F.RULE_singleExpression?m.push(this.visit(x)):h=x.symbol.text}const _=this._boolTypeJudge(m[0],o[0],h),S=this._boolTypeJudge(m[1],o[2],h,1);return{ruleType:Oe.LogicalOrExpression,operator:h,ctx:n,type:this._typeHandle([_,S],W.BOOL),exprs:m}});N(this,"visitMultiplicativeExpression",n=>{const{children:o}=n;let u=0,h="";const m=[];for(;u<o.length;u++){const x=o[u];x.ruleIndex===F.RULE_singleExpression?m.push(this.visit(x)):h=x.symbol.text}const _=this._calcTypeJudge(m[0],o[0],h),S=this._calcTypeJudge(m[1],o[2],h,1);return{ruleType:Oe.MultiplicativeExpression,operator:h,ctx:n,type:this._typeHandle([_,S]),exprs:m}});N(this,"visitBrackethesized",n=>{const{children:o,start:u}=n,h=o[1];return this._currentLine=u.line,{ruleType:Oe.Brackethesized,ctx:n,exprs:this.visit(h)}});N(this,"visitArguments",n=>{const{children:o}=n;let u=0;const h={params:[]};let m="";for(;u<o.length;u++){const _=o[u];if(_.ruleIndex===F.RULE_argument){const S=this.visit(_),x=S.paramKey;x?(m=x,h[x]?this._errorHandle(Ne(wi.moreSameArg,{arg:x}),n.parentCtx,Zn.Warning):(h[x]=S.param,h[x].ctx=_)):m?this._errorHandle(Ne(ke.argsSyntaxErr,{argName:m}),_):(S.ctx=_,h.params.push(S))}}return h});N(this,"visitArgument",n=>{const{children:o}=n;return o.length===1?this.visit(o[0]):{paramKey:this.visit(o[0]),param:this.visit(o[2])}});N(this,"visitIfStatement",n=>{const{children:o}=n;let u=0;const h={ruleType:Oe.IfStatement,condition:[],block:[],ctx:n,typeList:[]};for(;u<o.length;u++){const m=o[u];switch(m.ruleIndex){case F.RULE_singleExpression:h.condition.push(this.visit(m));break;case F.RULE_blockLine:const _=this._isInLocalScop;this._isInLocalScop=!0;const S=this.visit(m);h.typeList.push(this._getBlockReturnTypes(S)),h.block.push(S),this._isInLocalScop=_;break}}return h});N(this,"visitForToStatement",n=>{const{children:o}=n;let u=0;const h={ruleType:Oe.ForToStatement,numerical:[],ctx:n,block:[]};for(;u<o.length;u++){const m=o[u];switch(m.ruleIndex){case F.RULE_varModifier:h.declare=this.visit(m);break;case F.RULE_typeGather:const _=this.visit(m);h.type=_&&this._typeAddSeries(_);break;case F.RULE_identifier:h.name=this.visit(m),this._repeatVarJudge(h.name,m);break;case F.RULE_singleExpression:h.numerical.push(this.visit(m));break;case F.RULE_blockLine:this._blockCount++,this._pushBlockRanges(n),h.name&&this._variablesHandle({nameList:{name:h.name,isForVar:!0,type:h.type},value:{type:h.type||`${W.SERIES} ${W.INT}`}},n),this._blockCount--,this._blockRanges.pop(),this._loopCount++;const S=this._isInLocalScop;this._isInLocalScop=!0,h.block=this.visit(m),this._loopCount--,this._isInLocalScop=S,h.returnedTypes=this._getBlockReturnTypes(h.block);break}}return h});N(this,"visitForInStatement",n=>{const{children:o}=n;let u=0;const h={ruleType:Oe.ForInStatement,ctx:n,names:[]};for(;u<o.length;u++){const m=o[u];switch(m.ruleIndex){case F.RULE_identifier:const _=this.visit(m);this._repeatVarJudge(_,m),h.names.push(_);break;case F.RULE_singleExpression:h.array=this.visit(m);const S=h.array.type;this._isArrayType(S)||this._isMatrixType(S)||S===W.UNDETERMINED||this._errorHandle(Ne(ke.typeMismatch,{operator:"foreach",index:"id",typeE:S,typeR:"array<fun_arg>"}),m);break;case F.RULE_blockLine:if(this._blockCount++,this._pushBlockRanges(n),h.names.length){let[C,A]=h.names;const I=h.array.type;A?this._variablesHandle({nameList:{name:C,isForVar:!0,type:`${W.SERIES} ${W.INT}`},value:{type:`${W.SERIES} ${W.INT}`}},n):A=C;const j=I===W.UNDETERMINED?I:this._isMatrixType(I)?`${this._getArrayType(I)}[]`:this._typeAddSeries(this._getArrayType(I));this._variablesHandle({nameList:{name:A,isForVar:!0,type:j},value:{type:j}},n)}this._blockCount--,this._blockRanges.pop(),this._loopCount++;const x=this._isInLocalScop;this._isInLocalScop=!0,h.block=this.visit(m),this._isInLocalScop=x,this._loopCount--,h.returnedTypes=this._getBlockReturnTypes(h.block);break}}return h});N(this,"visitSwitchStatement",n=>{const{children:o}=n;let u=0;const h={ruleType:Oe.SwitchStatement,condition:!0,ctx:n,cases:[],defaultCase:void 0};for(;u<o.length;u++){const m=o[u];switch(m.ruleIndex){case F.RULE_singleExpression:h.condition=this.visit(m);break;case F.RULE_caseClause:h.cases.push(this.visit(m));break;case F.RULE_defaultCaluse:h.defaultCase=this.visit(m);break}}return h});N(this,"visitCaseClause",n=>{const{children:o}=n,u={ruleType:Oe.CaseClause},h=this._isInLocalScop;return this._isInLocalScop=!0,u.condition=this.visit(o[0]),u.block=this.visit(o[2]),this._isInLocalScop=h,u.returnedTypes=this._getBlockReturnTypes(u.block),u});N(this,"visitDefaultCaluse",n=>{const{children:o}=n,u={ruleType:Oe.DefaultCaluse},h=this._isInLocalScop;return this._isInLocalScop=!0,u.block=this.visit(o[1]),this._isInLocalScop=h,u.returnedTypes=this._getBlockReturnTypes(u.block),u});N(this,"visitWhileStatement",n=>{const{children:o}=n,u={ruleType:Oe.WhileStatement,ctx:n};u.condition=this.visit(o[1]),this._loopCount++;const h=this._isInLocalScop;return this._isInLocalScop=!0,u.block=this.visit(o[2]),this._isInLocalScop=h,this._loopCount--,u.returnedTypes=this._getBlockReturnTypes(u.block),u});N(this,"visitImportStmt",n=>{const{children:o,start:u}=n;let h=0;const m=[];for(this._currentLine=u.line;h<o.length;h++){const _=o[h];if(_.ruleIndex===F.RULE_importElement){const S=this.visit(_);S&&m.push(S)}}return console.log(m),m});N(this,"visitImportElement",n=>{const{children:o}=n;if(!o||!o.length)return;let u=0;const h=[],m={ruleType:Oe.ImportElement,ctx:n};for(;u<o.length;u++){const _=o[u];_.ruleIndex===F.RULE_identifier?h.push(this.visit(_)):_.symbol&&_.symbol.type===F.IntegerLiteral&&(m.libraryVersion=_.symbol.text)}return m.username=h[0],m.libraryName=h[1],m.name=h[2],m});N(this,"visitLiteral",n=>{const{children:o}=n,u=o[0],{type:h,text:m}=u.symbol,_={ruleType:Oe.Literal,ctx:n,type:"",value:m};switch(h){case F.ColorLiteral:_.type=W.COLOR;break;case F.BooleanLiteral:_.type=W.BOOL;break;case F.StringLiteral:_.type=W.STRING;break;case F.IntegerLiteral:_.type=W.INT;break;case F.DecimalLiteral:_.type=W.FLOAT;break}return _.type&&(_.type=`${W.CONST} ${_.type}`),_});N(this,"visitMethodElement",n=>{const{children:o}=n,[u,h]=o,[m,_,S]=this.visit(u),x=this.visit(h);return{name:m,type:_,args:x,expr:S}});N(this,"visitMethodName",n=>{const{children:o}=n,u=[],h=[];let m=0,_=null;for(;m<o.length;m++){const x=o[m],C=x.ruleIndex,A=x.symbol;switch(C){case F.RULE_identifier:u.push(this.visit(x));break;case F.RULE_singleExpression:_=this.visit(x);break;case F.RULE_typeName:const I=this.visit(x);h.push(I),this._typeCheck(I,F.RULE_typeName,x);break;default:A&&A.text==="."&&u.push(".")}}const S=u.join("");return Dm.includes(S)?this._hasDrawFunc=!0:Cm.includes(S)&&(this._hasCreateOrderFunc=!0),[S,h,_]});N(this,"visitArrowFunction",n=>{const{children:o,start:u,stop:h}=n,m={ruleType:Oe.ArrowFunction,returnedTypes:[]};let _=0,S={lineNumber:0,column:0};const x=this._commentsParser(u.line,[Cn.function,Cn.param,Cn.returns],!0);Object.assign(m,{desc:x[Cn.function],paramsDesc:x[Cn.param],returnsDesc:x[Cn.returns]}),this._currentLine=u.line;let C=null;for(;_<o.length;_++){const A=o[_],I=A.ruleIndex,j=A.symbol;switch(I){case F.RULE_identifier:S={lineNumber:A.start.line,column:A.start.column},m.name=this.visit(A);break;case F.RULE_arrowFunctionParameters:m.params=this.visit(A),m.isExport&&this._exportArgsTypeVerify(m.params),this._setFuncParams(m,{endColumn:h.column,endLineNumber:h.line-1,startColumn:u.column,startLineNumber:u.line}),C=A;break;case F.RULE_block:this._isInFunc=!0,this._hasMemberIndex=!1,m.block=this.visit(A),m.hasMemberIndex=this._hasMemberIndex,m.returnedTypes=this._getBlockReturnTypes(m.block),this._isInFunc=!1;break;default:j&&j.type===F.Export&&(m.isExport=!0,this._addExportPos(j,"functions"))}}return this._setFunc(m,S,C),this._currentFuncParams.clear(),m});N(this,"visitArrowFunctionParameters",n=>{const{children:o}=n;let u=0,h=[];for(;u<o.length;u++){const m=o[u];m.ruleIndex===F.RULE_formalParameterList&&(h=this.visit(m))}return h});N(this,"visitFormalParameterList",n=>{const{children:o}=n;let u=0;const h=[];for(;u<o.length;u++){const m=o[u];m.ruleIndex===F.RULE_formalParameterArg&&h.push(this.visit(m))}return h});N(this,"visitFormalParameterArg",n=>{const{children:o}=n;let u=0;const h={};for(;u<o.length;u++){const m=o[u];switch(m.ruleIndex){case F.RULE_typeGather:const _=this.visit(m);h.type=_&&this._typeAddSeries(_);break;case F.RULE_identifier:h.name=this.visit(m);break;case F.RULE_singleExpression:h.defaultValue=this.visit(m),delete h.defaultValue.ctx}}return h.ctx=n,h.type=h.type||W.UNDETERMINED,h});N(this,"visitArrowMethod",n=>{const{children:o,start:u,stop:h}=n;let m=0;const _={ruleType:Oe.ArrowMethod,returnedTypes:[]};let S={lineNumber:0,column:0};const x=this._commentsParser(u.line,[Cn.function,Cn.param,Cn.returns],!0);Object.assign(_,{desc:x[Cn.function],paramsDesc:x[Cn.param],returnsDesc:x[Cn.returns]}),this._currentLine=u.line;let C=null;for(;m<o.length;m++){const A=o[m];switch(A.ruleIndex){case F.RULE_identifier:S={lineNumber:A.start.line,column:A.start.column},_.name=this.visit(A);break;case F.RULE_arrowMethodParameters:_.params=this.visit(A),_.isExport&&this._exportArgsTypeVerify(_.params),this._setFuncParams(_,{endColumn:h.column,endLineNumber:h.line-1,startColumn:u.column,startLineNumber:u.line}),C=A;break;case F.RULE_block:this._isInFunc=!0,this._hasMemberIndex=!1,_.block=this.visit(A),_.hasMemberIndex=this._hasMemberIndex,_.returnedTypes=this._getBlockReturnTypes(_.block),this._isInFunc=!1;break;default:A.symbol&&A.symbol.type===F.Export&&(_.isExport=!0,this._addExportPos(A.symbol,"methods"));break}}return this._setFunc(_,S,C),this._setMethod(_,S),this._currentFuncParams.clear(),_});N(this,"visitArrowMethodParameters",n=>{const{children:o}=n;let u=0;const h={};let m=[];for(;u<o.length;u++){const _=o[u];switch(_.ruleIndex){case F.RULE_typeGather:const S=this.visit(_);h.type=S&&this._typeAddSeries(S);break;case F.RULE_identifier:h.ctx=_,h.name=this.visit(_);break;case F.RULE_formalParameterList:m=this.visit(_);break}}return[h,...m]});N(this,"visitTypeStatement",n=>{const{children:o,start:u}=n;let h=0;const m={ruleType:Oe.TypeStatement,fields:[]},_=this._commentsParser(u.line,[Cn.type,Cn.field]);Object.assign(m,{desc:_[Cn.type],fieldsDesc:_[Cn.field]}),this._currentLine=u.line;let S={lineNumber:0,column:0},x=null;for(;h<o.length;h++){const C=o[h];switch(C.ruleIndex){case F.RULE_identifier:S={lineNumber:C.start.line,column:C.start.column},x=C,m.name=this.visit(C);break;case F.RULE_typeElement:m.fields.push(this.visit(C));break;default:C.symbol&&C.symbol.type===F.Export&&(m.isExport=!0,this._addExportPos(C.symbol,"types"));break}}return this._setUserType(m,S,x),this._setNewFunc(m,S),this._setCopyFunc(m,S),this._setCopyMethod(m,S),m});N(this,"visitTypeElement",n=>{const{children:o,start:u}=n;let h=0;const m={};let _=null;for(this._currentLine=u.line;h<o.length;h++){const S=o[h];switch(S.ruleIndex){case F.RULE_typeGather:const x=this.visit(S);if(S.children[0].ruleIndex===F.RULE_typeSeries){const{column:C,line:A,text:I}=S.start,j=C+1;this._errors.push({startColumn:j,endColumn:parseInt(j+I.length),startLineNumber:A,endLineNumber:A,message:Ne(this._buildinTypes.has(I)?ke.typeUseError:ke.notTypeKeyword,{text:I})}),m.type=W.UNDETERMINED}else m.type=x&&this._typeAddSeries(x);break;case F.RULE_identifier:m.name=this.visit(S);break;case F.RULE_singleExpression:_=S,m.value=this.visit(S);break;default:S.symbol&&S.symbol.type===F.Varip&&(m.isVarip=!0);break}}return this._typeElementVerify(m,_),m});N(this,"visitAssignmentOperator",n=>{const{children:o}=n;return o&&o[0].symbol.text});N(this,"visitTypeMap",n=>{const{children:o}=n;let u=0;const h=[];for(;u<o.length;u++){const m=o[u];if(m.ruleIndex===F.RULE_typeName){const _=this.visit(m);h.push(_),this._typeCheck(_,F.RULE_typeName,m)}}return`map<${h[0]},${h[1]}>`});N(this,"visitTypeSeries",n=>{const{children:o}=n,[u,h]=o,m=this.visit(u),_=this.visit(h);return this._typeCheck(m,F.RULE_typeSeries,u),this._typeCheck(_,F.RULE_typeName,h),`${m} ${_}`});N(this,"visitTypeArray",n=>{const{children:o}=n,u=o[0];let h=this.visit(u),m=h;if(o.length===3)h=W.ARRAY;else{this._typeCheck(h,F.RULE_typeArray,u);let _=1;for(;_<o.length;_++){const S=o[_];S.ruleIndex===F.RULE_typeName&&(m=this.visit(S),this._typeCheck(m,F.RULE_typeName,S))}}return this._arrayTypeConvert(`${h}<${m}>`)});N(this,"visitTypeGather",n=>{const{children:o}=n;if(o&&o.length){const u=o[0],h=this.visit(u);return u.ruleIndex===F.RULE_typeName&&this._typeCheck(h,F.RULE_typeName,u),h}return null});N(this,"visitIdentifier",n=>n.children&&n.children[0].symbol.text);N(this,"visitTypeName",n=>{const{children:o}=n;let u=0,h="";for(;u<o.length;u++){const m=o[u];m.ruleIndex===F.RULE_identifier?h=`${h}${this.visit(m)}`:h=`${h}.`}return h});N(this,"visitName",n=>{var x,C;const{children:o}=n;let u=0,h=!1;const m=[];let _=null;for(;u<o.length;u++){const A=o[u];switch(A.ruleIndex){case F.RULE_identifier:m.push(this.visit(A));break;case F.RULE_singleExpression:_=this.visit(A);break;case F.RULE_methodElement:h=!0,m.push(this.visit(A));break}}const S={ruleType:Oe.Name,hasMethod:h,exprs:m,expr:_};if(h){let A="";const I=[];for(const M of m)typeof M=="string"?A=A?`${A}.${M}`:M:(A&&(M.name=`${A}.${M.name}`),I.push(M),A="");S.exprs=[...I,A];const j=this._getMethodTypes(I,Array.from(I,()=>n));if(j&&j.length){const M=Ne(ke.noFiledErr,{name:A});j.length>1&&this._errorHandle(M,n),S.type=((C=this._nameCheck(this._getOriginMethodName(j[0],A),n,M))==null?void 0:C.type)||W.UNDETERMINED}}else{let A=m.join(".");if(_&&_.type&&_.type===W.UNDETERMINED)S.type=W.UNDETERMINED,A=`expr0.${A}`;else{_&&_.type&&(A=`${this._getMethodTypeName(_.type)}.${A}`);const I=this._nameCheck(A,n)||{};(x=I.title)!=null&&x.startsWith("built-in")&&(S.isBuiltIn=!0,S.isConst=I.isConst),S.varPos=I.pos,S.declare=I.declare,S.type=(I==null?void 0:I.type)||W.UNDETERMINED,I!=null&&I.isArg&&(S.arg=I),S.scope=this._blockCount}S.name=A}return S});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._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=o,this._exportFunctions=new Map,this._exportMethods=new Map,this._exportTypes=new Map,this._exportPositions=[]}get overloadsFuncs(){return this._overloadsFuncs}get errors(){return this._errors}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.values()],methods:[...this._exportMethods.values()],types:[...this._exportTypes.values()]}}get exportPositions(){return this._exportPositions}_verifyGloablVar(n,o){const{name:u,varPos:h,isBuiltIn:m}=n;if(m&&this._errorHandle(Ne(ke.buidinAssignErr,{name:u}),o),!h)return;const _=this._currentBlockVars[0].get(u);if(!_)return;const{column:S,lineNumber:x}=_.pos||{};this._isInFunc&&S===h.column&&x===h.lineNumber&&this._errorHandle(Ne(ke.modifyGlobalVarErr,{name:u}),o)}_exportArgsTypeVerify(n){for(const o of n)(o.type===W.UNDETERMINED||!o.type)&&this._errorHandle(ke.exportFuncArgErr,o.ctx)}_addExportPos(n,o){const{line:u,column:h,text:m}=n;this._exportPositions.push({startLineNumber:u,startColumn:h,endLineNumber:u,endColumn:h+m.length+1,type:o})}_typeElementVerify(n,o){var _,S;const{type:u,value:h}=n;if(!h)return;if(![Oe.Literal,Oe.UnaryExpression].includes(h.ruleType)&&!h.isBuiltIn){this._errorHandle(ke.defaultValueErr,o);return}else if(h.ruleType===Oe.UnaryExpression){const{exprs:x}=h;if(![Oe.Literal,Oe.UnaryExpression].includes((_=x[0])==null?void 0:_.ruleType)&&!((S=x[0])!=null&&S.isBuiltIn)){this._errorHandle(ke.defaultValueErr,o);return}}(!this._compareType(u,h.type)||u.endsWith(W.INT)&&h.type.endsWith(W.FLOAT))&&this._errorHandle(Ne(ke.defaultValueTypeErr,{typeE:h.type,typeR:u}),o)}_memberIndexVerify(n,o){if(n.ruleType===Oe.Name&&!n.hasMethod&&this._blockCount){const h=this._currentBlockVars[this._blockCount],m=h&&h.get(n.name);m&&(m.isForVar?this._errorHandle(Ne(ke.notHistoryErr,{name:n.name}),o):!(this._blockCount===1&&this._isInFunc)&&this._errorHandle(Ne(wi.localScopeGetHistory,{name:n.name}),o,Zn.Warning))}const u=n&&n.type;if(u){const h=this._removePrefix(u);!this._types.has(h)&&!this._buildinTypes.has(h)&&!this._isArrayType(h)&&!this._isMatrixType(h)&&!this._isMapType(h)&&h!==W.UNDETERMINED&&this._errorHandle(Ne(ke.invalidType,{index:0}),o)}}_setFuncParams(n,o){var u;for(const h of n.params){const m=(u=this._types.get(h.type))==null?void 0:u[0];if(m&&m.fields)for(const _ of m.fields){const S=`${h.name}.${_.name}`;this._currentFuncParams.set(S,{..._,originName:S})}delete h.ctx,h.range=o,h.scope=this._blockCount+1,this._setVariablesMap(h,!0),this._currentFuncParams.set(h.name,h)}}_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})}_setUserType(n,o,u){const{fields:h,name:m,desc:_,fieldsDesc:S}=n,x={fields:h.map(C=>({name:C.name,desc:S==null?void 0:S[C.name],type:C.type})),name:m,desc:_,pos:o};if(this._types.has(m)){this._errorHandle(Ne(ke.typeRepeatErr,{name:m}),u);return}n.isExport&&this._exportTypes.set(m,x),this._types.set(m,[{...x}]),this._addVarToMap(m,m,o,!1,!1)}_againAssignHandle(n,o,u){const h=u!==":="?u.replace("=",""):u,m=u!==":="?[W.UNDETERMINED,W.INT,W.FLOAT]:[];h==="+"&&m.push(W.STRING);const[_,S]=n;_.arg&&!_.name.includes(".")&&this._errorHandle(Ne(ke.funcArgAssignErr,{name:_.name}),o[0]);const x=this._sameTypeJudge(n,o,h,m),C=this._typeHandle(x);return this._updateUserVar(_.name,C,S.type),_.type=C,{ruleType:Oe.AgainAssign,name:_,operator:u,type:C,value:S}}_typeCheck(n,o,u){const h=[W.SERIES,W.SIMPLE,W.CONST];switch(o){case F.RULE_typeName:const m=this._buildinTypes.get(n);m&&![...h,W.ARRAY,W.MATRIX,W.MAP].includes(m[0].name)||this._types.get(n)||this._errorHandle(Ne(ke.notTypeKeyword,{text:n}),u);break;case F.RULE_typeArray:[W.ARRAY,W.MATRIX].includes(n)||this._errorHandle(ke.tempateTypeErr,u);break;case F.RULE_typeSeries:h.includes(n)||this._errorHandle(Ne(ke.qualifierErr,{name:n}),u);break}}_getBuildVar(n){const o=this._buildinVariables.get(n);if(o&&o[0])return o[0];const u=this._buildinConstants.get(n);return u&&u[0]?Object.assign(u[0],{isConst:!0}):this._specialTreatmentChartPoint(n)}_specialTreatmentChartPoint(n){var o,u;if(n.startsWith("chart.point")){const h=n.split("."),m=h.pop(),_=h.join(".");return(((u=(o=this._buildinTypes.get(_))==null?void 0:o[0])==null?void 0:u.fields)||[]).find(x=>x.name===m)}}_verifyName(n,o){var h,m;const u=this._getBuildVar(n);if(u)return u;if(n.includes(".")){const _=n.split("."),S=_.pop(),x=_.join(".");let C=this._blockCount;for(;C>=0;){if(!this._currentBlockVars[C]){C--;continue}const I=this._currentBlockVars[C].get(x);if(o&&this._judgeGatherValue(S||"",o,I==null?void 0:I.valueType,!0),(I==null?void 0:I.type)==="chart.point"){const M=(((m=(h=this._buildinTypes.get(I.type))==null?void 0:h[0])==null?void 0:m.fields)||[]).find(b=>b.name===S);if(M)return Object.assign(M,{pos:I.pos})}C--}const A=this._specialTreatmentChartPoint(n);if(A)return A}return this._getUserVar(n)}_judgeGatherValue(n,o,u,h){u===`${W.SIMPLE} ${W.NA}`&&this._errorHandle(Ne(ke.objectIsNaErr,{name:n,type:h?"field":"method"}),o)}_nameCheck(n,o,u=Ne(ke.undeclared,{name:n})){const h=this._verifyName(n,o);return h||this._errorHandle(u,o),h}_inBlock(n){this._blockCount++,this._pushBlockRanges(n);const o=this.visit(n);return this._blockCount--,this._blockRanges.pop(),this._currentBlockVars.splice(this._blockCount+1),o}_errorHandle(n,o,u=Zn.Error){this._errors.push({message:n,startColumn:o.start.column+1,startLineNumber:o.start.line,endColumn:o.start.column+2+o.stop.stop-o.start.start,endLineNumber:o.stop.line,type:u})}_boolTypeJudge(n,o,u,h=0){return this._typeJudge(n,o,u,W.BOOL,[W.UNDETERMINED,W.INT,W.FLOAT,W.BOOL],h)}_calcTypeJudge(n,o,u,h=0){return this._typeJudge(n,o,u,"int/float",[W.UNDETERMINED,W.INT,W.FLOAT],h)}_typeJudge(n,o,u,h,m,_=0){const S=n&&n.type;if(S){const x=this._removePrefix(S);if(!m.includes(x)&&x!==W.NA)return this._errorHandle(Ne(ke.typeMismatch,{operator:`operator ${u}`,index:`expr${_}`,typeE:x,typeR:h}),o),W.UNDETERMINED;h===W.BOOL&&[W.INT,W.FLOAT].includes(x)&&this._errorHandle(Ne(wi.typeMismatch,{operator:`operator ${u}`,index:`expr${_}`,type:W.BOOL}),o,Zn.Warning)}return S||W.UNDETERMINED}_sameTypeJudge(n,o,u,h){let m="";const _=[],S=["plot_display","plot_simple_display"];["+","-","+=","-="].includes(u)&&(h=h.concat(S));for(const[x,C]of n.entries()){let A=C&&C.type||W.UNDETERMINED;const I=this._removePrefix(A);if(m||(m=I),!h.includes(I)&&h.length&&I!==W.NA){this._errorHandle(Ne(ke.typeMismatch,{operator:`operator ${u}`,index:`expr${x}`,typeE:A,typeR:h.slice(1).join("/")}),o[x]),m=W.UNDETERMINED,_.push(m);continue}if(m===W.UNDETERMINED||I===W.UNDETERMINED)A=m=W.UNDETERMINED;else if(m!==I&&m!==W.NA&&I!==W.NA&&(![W.INT,W.FLOAT].includes(m)||![W.INT,W.FLOAT].includes(I)))if(u===":=")this._errorHandle(Ne(ke.assignTypeMismatch,{typeE:I,name:n[0].name,typeR:m}),o[0]),A=m=W.UNDETERMINED;else if(["==","!=","?:"].includes(u)&&[W.INT,W.FLOAT,W.BOOL].includes(m)&&[W.INT,W.FLOAT,W.BOOL].includes(I))this._errorHandle(Ne(wi.typeMismatch,{operator:`operator ${u}`,index:`expr${x}`,type:m}),o[x],Zn.Warning),A=m=W.UNDETERMINED;else if(S.includes(m)&&S.includes(I)){if(m!==I){const j=this._getPrefix(A);_[x-1]=`${this._getPrefix(_[x-1])} ${S[0]}`,A=m=`${j} ${S[0]}`}}else this._errorHandle(Ne(ke.typeMismatch,{operator:`operator ${u}`,index:`expr${x}`,typeE:I,typeR:m}),o[x]),A=m=W.UNDETERMINED;_.push(A)}return _}_getUserVar(n,o=!1){for(let u=this._blockCount;u>=0;u--){const h=this._currentBlockVars[u];if(u<=0){const m=this._currentFuncParams.get(n);if(m)return m.isArg=!0,m}if(h){const m=h.get(n);if(m)return m}}if(n.includes(".")&&!o){let u=!1,h=null;if(n.split(".").reduce((m,_)=>{let S=m?`${m}.${_}`:_;const x=this._getUserVar(S,!0);return x!=null&&x.type?x.type===W.UNDETERMINED?u=!0:(S=x.type,h=x):h=null,S},""),u)return{name:n,type:W.UNDETERMINED};if(h)return h}return null}_repeatVarJudge(n,o){this._getBuildVar(n)&&this._errorHandle(Ne(ke.buidinVarErr,{name:n}),o);for(let h=0;h<=this._blockCount;h++){const m=this._currentBlockVars[h];if(m&&m.get(n)){if(this._blockCount===h)return this._errorHandle(Ne(ke.repeatVar,{name:n}),o),!0;this._errorHandle(Ne(wi.repeatVar,{name:n}),o,Zn.Warning)}}}_judgeVarBuildIn(n){for(let o=0;o<=this._blockCount;o++){const u=this._currentBlockVars[o];if(u&&u.get(n))return!0}return!1}_updateUserVar(n,o,u){for(let h=0;h<=this._blockCount;h++){const m=this._currentBlockVars[h];if(m){const _=m.get(n);if(_){_.type=o,_.valueType=u;return}}}}_variablesHandle(n,o){var m,_,S,x;if(!(n&&n.nameList))return;const u=n.nameList;if(u.name==="_")return;const h=n.value;if(u.ruleType===Oe.VarMultiple){u.types=[],this._checkVarMultiple(u.names,h,o);for(const[C,A]of u.names.entries()){const I=this._varTypeJudge("",((m=h==null?void 0:h.types)==null?void 0:m[C])||W.UNDETERMINED,o);u.types.push(I),this._addVarToMap(A,I,u.posList[C],!0)}}else{const C=(h==null?void 0:h.type)||((_=h==null?void 0:h.returnedTypes)==null?void 0:_[0]);((S=h==null?void 0:h.types)!=null&&S.isBrackethesized||(x=h==null?void 0:h.returnedTypes)!=null&&x.isBrackethesized)&&this._errorHandle(Ne(ke.tupleLeftVarErr,{name:u.name}),o),!u.type&&C===`${W.SIMPLE} ${W.NA}`&&this._errorHandle(ke.naVarErr,o),u.prefix&&Ni.indexOf(u.prefix)>Ni.indexOf(this._getPrefix(C))&&this._errorHandle(Ne(ke.declaredErr,{prefix:u.prefix,type:C}),o);const A=this._varTypeJudge(u.type,C||W.UNDETERMINED,o);u.type=A,this._addVarToMap(u.name,A,u.pos,!0,u.isForVar,u.declare,h.type,u.desc)}}_checkVarMultiple(n,o,u){var x,C,A,I;const h=n.length,m=(o.types||o.returnedTypes||[]).length,_=((x=o.types)==null?void 0:x.isBrackethesized)||((C=o.returnedTypes)==null?void 0:C.isBrackethesized);(A=o.types)!=null&&A.isUnknown||(I=o.returnedTypes)!=null&&I.isUnknown||(m===1&&!_||!m?this._errorHandle(ke.tupleRightVarErr,u):h!==m&&this._errorHandle(Ne(ke.tupleVarErr,{indexA:m,indexB:h}),u))}_addVarToMap(n,o,u,h=!0,m=!1,_,S,x){var j;const C=this._currentBlockVars[this._blockCount]||new Map,A=(j=this._types.get(o))==null?void 0:j[0];if(A&&A.fields)for(const M of A.fields)C.set(`${n}.${M.name}`,M);const I={name:n,type:o,pos:u,valueType:S,desc:x};h&&this._setVariablesMap(I),C.set(n,Object.assign(I,{isForVar:m,declare:_})),this._currentBlockVars[this._blockCount]=C}_setVariablesMap(n,o=!1){const u=this._blockRanges[this._blockCount];o||(n.range=u,n.scope=this._blockCount);const h=this._variables.get(n.name)||[];h.push(n),this._variables.set(n.name,h)}_varTypeJudge(n,o,u){if(o===W.VOID)return this._errorHandle(ke.voidNotVar,u),W.UNDETERMINED;if(n&&o!==W.UNDETERMINED){const h=this._removePrefix(n),m=this._removePrefix(o);return m!==h&&m!==W.NA&&!(h===W.FLOAT&&m===W.INT)?(this._errorHandle(Ne(ke.declareTypeErr,{type:n,valueType:o}),u),W.UNDETERMINED):this._typeHandle([n,o])}else if(o===W.UNDETERMINED)return W.UNDETERMINED;return n||o||W.UNDETERMINED}_getAllowTypes(n){const o=[];if(n===W.UNDETERMINED)return o;const u=this._getPrefix(n);if(u){const h=this._removePrefix(n);let m=-1;for(const[_,S]of Ni.entries())S===u&&(m=_),m>=0&&m<=_&&(h===W.FLOAT&&o.push(`${S} ${W.INT}`),o.push(`${S} ${h}`))}else n=this._arrayTypeConvert(n)||"",o.push(n),n.includes(W.FLOAT)&&o.push(n.replace(/float/,W.INT));return o}_setNewFunc(n,o){const u=`${n.name}.new`,h=[],m=[];for(const S of n.fields)h.push({name:S.name,required:!1,allowedTypeIDs:this._getAllowTypes(S.type),displayType:S.type}),m.push(`${S.type} ${S.name}`);const _={name:u,args:h,returnedTypes:[n.name],pos:o,syntax:[`${u}(${m.join(", ")}) → ${n.name}`]};n.isExport&&this._exportFunctions.set(u,_),this._functions.set(u,[{..._,isUser:!0}])}_setCopyFunc(n,o){const u=n.name,h=`${u}.copy`,m={name:h,args:[{name:"object",required:!0,allowedTypeIDs:[u],displayType:u}],returnedTypes:[u],pos:o,info:"The identifier of the object to be copied.",syntax:[`${h}(${u} object) → ${u}`]};n.isExport&&this._exportFunctions.set(h,m),this._functions.set(h,[{...m,isUser:!0}])}_setCopyMethod(n,o){const u=n.name,h=`${u}.copy`,m={name:h,args:[],returnedTypes:[u],thisType:[u],pos:o,syntax:[`${h}() → ${u}`]};n.isExport&&this._exportMethods.set(h,m),this._methods.set(h,[{...m,isUser:!0}])}_setFunc(n,o,u){const h=[],m=[],{desc:_,paramsDesc:S,returnsDesc:x,params:C,hasMemberIndex:A}=n;for(const g of C){const{type:O,name:w,defaultValue:D}=g;h.push({name:w,desc:S==null?void 0:S[w],required:!D,allowedTypeIDs:this._getAllowTypes(O),displayType:O}),m.push(`${O===W.UNDETERMINED?"":`${O} `}${w}`)}const{returnedTypes:I=[]}=n,j=n.name,M=I.length>1?`[${I.join(", ")}]`:I.toString(),b={name:j,desc:_,args:h,syntax:[`${j}(${m.join(", ")}) → ${M||"void"}`],hasMemberIndex:A,pos:o,isUser:!0,returnedTypes:[M],returns:x};let y=this._functions.get(j);if(y){const g=y.length;b.index=g,n.index=g,this._verifyFuncRepeat(y,b,u),y.push(b),this._overloadsFuncs.push({name:j,index:g,line:o.lineNumber,startColumn:o.column+1,endColumn:o.column+j.length})}else y=[b];n.isExport&&this._exportFunctions.set(j,b),this._functions.set(j,y)}_setMethod(n,o){const{name:u,returnedTypes:h,params:m,desc:_,paramsDesc:S,returnsDesc:x}=n,C=m[0].type,A=[],I=[];for(const O of m.slice(1)){const{type:w,name:D,defaultValue:V}=O;A.push({name:D,desc:S==null?void 0:S[D],required:!V,allowedTypeIDs:this._getAllowTypes(w),displayType:w}),I.push(`${w} ${D}`)}const j=h.length>1?`[${h.join(", ")}]`:h.toString(),M=this._getMethodTypeName(C),b=`${M}.${u}`;n.typeName=M;const y={name:u,args:A,desc:_,originalName:b,syntax:[`${u}(${I.join(", ")}) → ${j||"void"}`],returnedTypes:[j],hasMemberIndex:n.hasMemberIndex,pos:o,thisType:[C],returns:x};let g=this._methods.get(b);g?(y.index=g.length,n.index=g.length,g.push(y)):g=[y],n.isExport&&this._exportMethods.set(b,y),this._methods.set(b,g)}_verifyFuncRepeat(n,o,u){const{args:h}=o;n.some(_=>{const{args:S}=_;return(S==null?void 0:S.length)!=(h==null?void 0:h.length)?!1:!(S!=null&&S.length)&&!(h!=null&&h.length)?!0:S==null?void 0:S.every((x,C)=>{var A;return x.displayType===((A=h==null?void 0:h[C])==null?void 0:A.displayType)})})&&this._errorHandle(Ne(ke.funcRepeatErr,{name:o.name}),u)}_getMethodTypes(n,o){let u;for(const[h,m]of n.entries()){const{type:_,expr:S,args:x}=m;let{name:C}=m;const A=o[h];if(S){if(S.type===W.UNDETERMINED)return[W.UNDETERMINED];C=`${this._getMethodTypeName(S.type)}${C}`,x.params.unshift(S)}if(u&&u.length>=1)if(u.length===1){const I=u[0];if(I===W.UNDETERMINED)return[W.UNDETERMINED];const j=this._getOriginMethodName(I,C);C.includes(".")?u=this._getOtherNamesMethodType(j,u,A,x,m):u=this._expandMethodHandle(j,A,x,{type:I},I,m)}else this._errorHandle(Ne(ke.noFiledErr,{name:C}),A);else{const[I,j]=this._tempFuncNameHandle(C,A,_);C=j;const M=this._buildinFunctions.get(I);if(M)this._globalFuncVerify(M[0],A),this._hasMemberIndexVerify(M[0],A,m),m.isBuiltIn=!0,u=this._getBuildInReturnTypes(M,x,C,A,void 0,_);else{const b=this._functions.get(C);if(b)if(b.length<=1){this._hasMemberIndexVerify(b[0],A,m),u=b[0].returnedTypes;const{hasErr:y}=this._checkArgs(x,b[0].args||[],C,A,u[0]);if(y)return[W.UNDETERMINED]}else{const y=this._overloadsFuncGetTypes(b,x,A,void 0,m);u=this._returnedTypesParse([y])}else u=this._getOtherNamesMethodType(C,u,A,x,m)}}m.returnTypes=u}return u===void 0&&this._errorHandle(Ne(ke.notFindFuncErr,{name:n[0].name}),o[0]),u}_globalFuncVerify(n,o){this._blockCount!==0&&Om.includes(n.name)&&this._errorHandle(Ne(ke.globalFuncErr,{name:n.name}),o)}_hasMemberIndexVerify(n,o,u){(n.hasMemberIndex||n.name.startsWith("ta.")||n.name==="math.sum")&&(this._hasMemberIndex=this._isInFunc,u.hasMemberIndex=!0,u.position=o.start.tokenIndex,this._isInLocalScop&&this._errorHandle(Ne(wi.localScopeWarning,{name:u.name}),o,Zn.Warning))}_tempFuncNameHandle(n,o,u){let h=n;if(u&&u.length>=1){const m=["array.new","matrix.new"].includes(n),_=n==="map.new";if(u.length===1)if(m)h=`${n}<type>`,n=`${n}<${u[0]}>`;else return _?this._errorHandle(Ne(ke.templateErr,{countA:2,countB:1}),o):this._errorHandle(Ne(ke.templateNoSupportErr,{name:n}),o),[W.UNDETERMINED];else{if(!_)return m?this._errorHandle(Ne(ke.templateErr,{countA:1,countB:2}),o):this._errorHandle(Ne(ke.templateNoSupportErr,{name:n}),o),[W.UNDETERMINED];if(!xm.includes(u[0]))return this._errorHandle(Ne(ke.mapKeyErr,{type:this._typeAddSeries(u[0])}),o),[W.UNDETERMINED];h=`${n}<type,type>`,n=`${n}<${u[0]},${u[1]}>`}}return[h,n]}_getOtherNamesMethodType(n,o,u,h,m){const _=n.split("."),S=_.length-1,x=_.slice(0,S).join("."),C=this._getUserVar(x);this._judgeGatherValue(_[S],u,C==null?void 0:C.valueType);const A=C==null?void 0:C.type;if(A){if(A===W.UNDETERMINED)return o=[W.UNDETERMINED],o.isUnknown=!0,o;const I=this._getOriginMethodName(A,_[S]);o=this._expandMethodHandle(I,u,h,C,x,m)}else{let I="",j="",M="";for(const b of _.slice(0,S)){I?j=this._getOriginMethodName(I,b):j=j?`${j}.${b}`:b;const y=this._verifyName(j);y!=null&&y.type?(I=y.type,M=""):this._buildinTypes.get(j)?M=Ne(ke.methodNotExistErr,{name:j,methodName:_[S]}):M=Ne(ke.noFiledErr,{name:b})}M&&this._errorHandle(M,u)}return o}_expandMethodHandle(n,o,u,h,m,_){var C,A;let S;const x=this._buildinMethods.get(n);if(x)S=this._getBuildInReturnTypes(x,u,n,o,h);else{const I=this._methods.get(n);if(I&&I.length)if(I.length<=1){const j=I[0],M=this._getMethodTypeName(((C=j.thisType)==null?void 0:C[0])||"");if(!this._types.get(M)){const g=this._functions.get(j.name);g&&(_.selfArg=(A=g[0].args)==null?void 0:A[0])}this._hasMemberIndexVerify(j,o,_),S=j.returnedTypes;const{hasErr:y}=this._checkArgs(u,j.args||[],n,o,(S==null?void 0:S[0])||"");if(y)return[W.UNDETERMINED]}else{const j=this._overloadsFuncGetTypes(I,u,o,h,_);S=this._returnedTypesParse([j])}else this._errorHandle(Ne(ke.methodNotExistErr,{methodName:n.split(".").slice(-1)[0],name:m}),o)}return S}_getBuildInReturnTypes(n,o,u,h,m,_){var x;let S;if(n.length===1){const{returnedTypes:C,syntax:A,args:I=[],thisType:j}=n[0],M=A[0].split("→")[1].trim(),b=m||o.params[0]||((x=I[0])==null?void 0:x.name)&&o[I[0].name];b&&!this._checkMethodThisType(j,b.type)&&this._errorHandle(Ne(ke.typeMismatch,{operator:u,index:b.name||"id",typeE:b.type,typeR:j[0]}),h);const{hasErr:y,types:g}=this._checkArgs(o,I,u,h,M,b);if(y)return[W.UNDETERMINED];if(S=g.length&&g||this._returnedTypesParse(C),S.length>1)return S;(_==null?void 0:_.length)===1?S=[this._typeReplace(M,_[0])]:(_==null?void 0:_.length)===2&&(S=[`${W.MAP}<${_[0]},${_[1]}>`]),S=this._returnTypesOtherHandle(b,M,S,u)}else{const C=this._overloadsFuncGetTypes(n,o,h,m);S=this._returnedTypesParse([C])}return S}_overloadsFuncGetTypes(n,o,u,h,m){var j,M,b;let _="",S=[],x=[],C=0;for(const[y,g]of n.entries()){const{args:O,returnedTypes:w,name:D,thisType:V}=g,X=h||o.params[0]||o[O[0].name],{errMsg:re,warnMsg:z}=this._overloadsCheckArgs(o,O,D,u,X);X&&!this._checkMethodThisType(V,X.type)&&re.unshift({msg:Ne(ke.typeMismatch,{operator:D,index:X.name||"id",typeE:X.type,typeR:V[0]}),ctx:u}),y===0?(S=re,x=z,!re.length&&(_=w[0])):re.length?((j=S[0])!=null&&j.isLenErr&&!((M=re[0])!=null&&M.isLenErr)||S.length>re.length)&&(S=re,x=z,C=y):this._priorityComparison(_,w[0])||(w[0]===`${W.ARRAY}<>`?_=`${X.type}[]`:_=w[0],S=re,x=z,C=y)}for(const y of S)this._errorHandle(y.msg,y.ctx);for(const y of x)this._errorHandle(y.msg,y.ctx,Zn.Warning);const A=u.children[0],I=n[0].name;if(A&&this._overloadsFuncs.push({name:I,index:C,line:A.start.line,startColumn:A.start.column+1,endColumn:A.start.column+I.length}),m){const y=n[C],{thisType:g,name:O,index:w}=y;if(this._hasMemberIndexVerify(y,u,m),m.index=w||C,g){const D=this._getMethodTypeName((g==null?void 0:g[0])||"");if(!this._types.get(D)){const X=this._functions.get(O);X&&(m.selfArg=(b=X[0].args)==null?void 0:b[0])}}}return this._funcArgsAddOriginName(o,n[C].args,I),_||W.UNDETERMINED}_funcArgsAddOriginName(n,o,u){const h=n.params||[];for(const[m,_]of o.entries())m<h.length&&(h[m].originName=_.name);if(u==="input"){const m=h[0]||n.defval;Object.assign(n,{inputType:{name:`'${m!=null&&m.isSourceType?"source":this._removePrefix(m==null?void 0:m.type)}'`}})}}_overloadsCheckArgs(n,o,u,h,m){const _={...n},S=_.params;delete _.params;const x=Object.keys(_).length+S.length,C=o.length,A=[],I=[];if(x>C&&!o.some(M=>["arg0, arg1, ...","number0, number1, ..."].includes(M.name)))return A.push({msg:Ne(ke.argsLenErr,{name:u,lenA:x,lenB:C}),isLenErr:!0,ctx:h}),{errMsg:A,warnMsg:I};for(const[j,M]of o.entries()){let b=_[M.name];if(j<S.length&&(b&&I.push({msg:Ne(wi.moreSameArg,{arg:M.name}),ctx:h}),b=S[j]),!b)M.required&&A.push({msg:Ne(ke.requiredParamErr,{name:u,argName:M.name}),ctx:h});else{const y=b.type!==`${W.SIMPLE} na`?this._checkArg(b,M,u,m,b.ctx,!0):"";y&&A.push({msg:y,ctx:b.ctx}),delete _[M.name]}if(["arg0, arg1, ...","number0, number1, ..."].includes(M.name)&&S.length>j+1){const y=S.slice(j+1);let g=S[j];for(const O of y){g.type===`${W.SIMPLE} ${W.NA}`&&(g=O);const w=O.type!==`${W.SIMPLE} ${W.NA}`?this._checkArg(O,M,u,g,O.ctx,!0):"";w&&A.push({msg:w,ctx:O.ctx})}}}if(Object.keys(_).length)for(const j of Object.keys(_))A.push({msg:Ne(ke.argsNameErr,{name:u,argName:j}),ctx:_[j].ctx});return{errMsg:A,warnMsg:I}}_checkArgs(n,o,u,h,m,_){var M;const S={...n},x=S.params;delete S.params;const C=Object.keys(S).length+x.length,A=o.length;let I=!1,j=[];if(C>A&&!o.some(y=>["arg0, arg1, ...","number0, number1, ..."].includes(y.name)))return this._errorHandle(Ne(ke.argsLenErr,{name:u,lenA:C,lenB:A}),h),I=!0,{hasErr:I,types:j};for(const[b,y]of o.entries()){let g=S[y.name];if(b<x.length&&(g&&this._errorHandle(Ne(wi.moreSameArg,{arg:y.name}),h,Zn.Warning),g=x[b],g.originName=y.name),!g)y.required&&(this._errorHandle(Ne(ke.requiredParamErr,{name:u,argName:y.name}),h),I=!0);else{const O=g.type!==`${W.SIMPLE} ${W.NA}`?this._checkArg(g,y,u,_,g.ctx):"";if(O)this._errorHandle(O,g.ctx),I=!0;else if(O===!1)I=!0;else if(u.startsWith("request.")&&y.name==="expression")if(g.ruleType===Oe.Brackethesized)j=g.exprs.map(w=>this._typeReplace(m,w.type));else if((M=g.types||g.returnedTypes)!=null&&M.isBrackethesized)j=(g.types||g.returnedTypes).map(w=>this._typeReplace(m,w));else{const w=this._typeReplace(m,g.type);j.push(w)}delete S[y.name]}}if(Object.keys(S).length)for(const b of Object.keys(S))this._errorHandle(Ne(ke.argsNameErr,{name:u,argName:b}),S[b].ctx),I=!0;return{hasErr:I,types:j}}_checkArg(n,o,u,h,m,_){const{ruleType:S,exprs:x,name:C}=n;let A=n.type;S===Oe.Brackethesized&&(A=`[${x.map(b=>b.type).join(", ")}]`);const{allowedTypeIDs:I=[],displayType:j,name:M}=o;if(!(!A||A===W.UNDETERMINED||j===W.UNDETERMINED)){if(u==="input"&&M==="defval"&&!A.startsWith(W.CONST))if(vl.includes(C))n.isSourceType=!0;else return ke.inputDefvalErr;if(!(this._checkMethodThisType(I,this._arrayTypeConvert(A))&&!(u==="input.source"&&M==="defval"))){if(M==="condition"&&(j!=null&&j.endsWith(W.BOOL))&&(A.endsWith(W.INT)||A.endsWith(W.FLOAT))){m&&this._errorHandle(Ne(wi.typeMismatch,{index:M,operator:u,type:W.BOOL}),m,Zn.Warning);return}switch(j){case"tuple of const string values: [val1, val2, ...]":return this._tupleToCheck(n,o,[`${W.CONST} ${W.STRING}`],u,A);case"tuple of const int/float values: [val1, val2, ...]":return this._tupleToCheck(n,o,[`${W.CONST} ${W.FLOAT}`,`${W.CONST} ${W.INT}`],u,A);case"tuple of const int values: [val1, val2, ...]":return this._tupleToCheck(n,o,[`${W.CONST} ${W.INT}`],u,A);case"open/high/low/close/hl2/hlc3/ohlc4/hlcc4":if(!C||!vl.includes(C))return Ne(ke.inputSourceErr,{name:M,funcName:u});if(this._judgeVarBuildIn(C))return Ne(ke.buildInUseErr,{name:C});n.isSourceType=!0;break;case"<matrix_type>":case"<array_type>":const b=this._getArrayType(u)||"";if(!A.endsWith(b)&&!(A.endsWith(W.INT)&&b===W.FLOAT))return Ne(ke.typeMismatch,{operator:u,index:M,typeE:A,typeR:this._typeAddSeries(b)});break;case"any matrix type":if(this._isMatrixType(A)){if(M==="id2"){const D=this._getArrayType(h==null?void 0:h.type);if(!D)return;const V=this._getArrayType(A)||"";if(D!==V)return Ne(ke.typeMismatch,{operator:u,index:M,typeE:V,typeR:D})}}else return Ne(ke.typeMismatch,{operator:u,index:M,typeE:A,typeR:"matrix<fun_arg>"});break;case"any array type":if(this._isArrayType(A)){if(M==="id2"){const D=this._getArrayType(h==null?void 0:h.type);if(!D)return;const V=this._getArrayType(A)||"";if(D!==V)return Ne(ke.typeMismatch,{operator:u,index:M,typeE:V,typeR:D})}}else return Ne(ke.typeMismatch,{operator:u,index:M,typeE:A,typeR:"array<fun_arg>"});break;case"series <type of the matrix's elements>":case"series <type of the array's elements>":const y=this._getArrayType(h==null?void 0:h.type)||"";if(!A.endsWith(y)&&!(A.endsWith(W.INT)&&y===W.FLOAT))return Ne(ke.typeMismatch,{operator:u,index:M,typeE:A,typeR:this._typeAddSeries(y)});break;case"any map type":if(this._isMapType(A)){if(M==="id2"){const D=this._getMapType(h==null?void 0:h.type);if(!D)return;const V=this._getMapType(A)||[];if(D[0]!==V[0]||D[1]!==V[1])return Ne(ke.mapKeyValErr,{typeA:this._typeAddSeries(V[0]),typeB:this._typeAddSeries(V[1]),typeC:this._typeAddSeries(D[0]),typeD:this._typeAddSeries(D[1]),name:u})}}else return Ne(ke.typeMismatch,{operator:u,index:M,typeE:A,typeR:"map<type, type>"});break;case"series <type of the map's elements>":const g=this._getMapType(h==null?void 0:h.type);if(!g)return;const O=M==="key"?0:1;if(!A.endsWith(g[O])&&!(A.endsWith(W.INT)&&g[O]===W.FLOAT))return Ne(ke.typeMismatch,{operator:u,index:M,typeE:A,typeR:this._typeAddSeries(g[O])});break;case"<arg_expr_type>":if(S===Oe.Brackethesized)return Ne(ke.typeMismatch,{operator:u,index:M,typeE:A,typeR:j||""});break;case"<arg_type>":case"variable, function, object, array or matrix of series int/float/bool/string/color, or a tuple of these":break;case"variable, object or function of series int/float/bool/string/color, or a tuple of these":if(S===Oe.Brackethesized){for(const D of x)if(!I.includes(D.type))return this._errorHandle(Ne(ke.requestArgsErr,{name:u,argName:M,type:D.type}),D.ctx),!1}break;case"const int/float/bool/string/color or source-type built-ins":if(vl.includes(n.name)&&I[0].endsWith(this._removePrefix(A)))n.isSourceType=!0;else return Ne(ke.typeMismatch,{operator:u,index:M,typeE:A,typeR:"const int/float/bool/string/color"});break;case"<arg..._type>":if(S===Oe.Brackethesized||this._isArrayType(A)||this._isMapType(A)||this._isMatrixType(A))return Ne(ke.typeMismatch,{operator:u,index:M,typeE:A,typeR:`${W.SERIES} ${W.INT}`});if(A!==(h==null?void 0:h.type))return Ne(ke.typeMismatch,{operator:u,index:M,typeE:A,typeR:h==null?void 0:h.type});break;default:const w=this._removePrefix(n.type);if(n.arg&&n.arg.isArg&&!_){const D=I.find(V=>V.endsWith(w));if(D){n.type=D,n.arg.type=D;return}}if(I.length===1&&I[0].endsWith(w)){const D=this._getPrefix(n.type),V=this._getPrefix(I[0]);if(Ni.indexOf(D)>=Ni.indexOf(V))return}return Ne(ke.typeMismatch,{operator:u,index:M,typeE:A,typeR:j||""})}}}}_tupleToCheck(n,o,u,h,m){var _,S;if(u.push(`${W.SIMPLE} ${W.NA}`),n.ruleType===Oe.Brackethesized){const x=[];let C=!1;for(const A of n.exprs)x.push(A.type),u.includes(A.type)||(C=!0);if(C)return Ne(ke.typeMismatch,{operator:h,index:o.name,typeE:`[${x.join(", ")}]`,typeR:((_=o.allowedTypeIDs)==null?void 0:_[0])||""})}else return Ne(ke.typeMismatch,{operator:h,index:o.name,typeE:m,typeR:((S=o.allowedTypeIDs)==null?void 0:S[0])||""})}_getBlockReturnTypes(n){var I,j;let o=n;if(Array.isArray(n)&&(o=n.slice(-1)[0],Array.isArray(o)&&(o=o.slice(-1)[0])),!o)return[W.UNDETERMINED];const{ruleType:u,type:h,types:m,returnedTypes:_,exprs:S,nameList:x,typeList:C,block:A}=o;if(m&&m.length)return m;if(_&&_.length)return _;if(h)return[h];switch(u){case Oe.Brackethesized:const M=S.map(re=>re.type);return M.isBrackethesized=!0,M;case Oe.VarBlockStmt:case Oe.DeclareAssign:return x?x.ruleType===Oe.VarMultiple?x.types:[x.type]:[((I=o.name)==null?void 0:I.type)||W.UNDETERMINED];case Oe.SwitchStatement:if(!this._isNeedCalc&&!this._isInFunc)return[W.UNDETERMINED];const b=[...o.cases];o.defaultCase&&b.push(o.defaultCase);let y=((j=b[0])==null?void 0:j.returnedTypes)||[],g=y.length<=1?y[0]:`[${y.join(", ")}]`,O=null;for(const re of b.slice(1)){const z=re.returnedTypes||[W.UNDETERMINED];g+=z.length<=1?`; ${z[0]}`:`; [${z.join(", ")}]`;const Y=Array.isArray(re.block)?re.block.slice(-1)[0]:re.block;if(z.length!==y.length)O=Y.ctx;else for(const[K,ce]of y.entries())if(this._compareType(z[K],ce))(z[K].includes(W.FLOAT)&&!ce.includes(W.FLOAT)||y[K]===`${W.SIMPLE} ${W.NA}`||y[K]===W.UNDETERMINED)&&(y[K]=z[K]);else{O=Y.ctx;break}}return O&&(this._errorHandle(Ne(ke.ifOrSwitchTypeErr,{keyword:"switch",types:g}),O),y=y.map(()=>W.UNDETERMINED)),o.returnedTypes=y,y;case Oe.IfStatement:if(!this._isNeedCalc&&!this._isInFunc)return[W.UNDETERMINED];if(!C.filter(re=>re&&re.length).length)return[W.UNDETERMINED];let w=C[0]||[],D=w.length<=1?w[0]:`[${w.join(", ")}]`,V=0,X=0;for(const re of C.slice(1))if(re)if(V++,D+=re.length<=1?`; ${re[0]}`:`; [${re.join(", ")}]`,re.length!==w.length)X=V;else for(const[z,Y]of w.entries())if(this._compareType(re[z],Y))(re[z].includes(W.FLOAT)&&!Y.includes(W.FLOAT)||w[z]===`${W.SIMPLE} ${W.NA}`)&&(w[z]=re[z]);else{X=V;break}if(X){const re=A[X].slice(-1)[0],z=Array.isArray(re)?re.slice(-1)[0]:re;this._errorHandle(Ne(ke.ifOrSwitchTypeErr,{keyword:"if",types:D}),z.ctx),w=w.map(()=>W.UNDETERMINED)}return o.returnedTypes=w,w}return[W.UNDETERMINED]}}class Fm{constructor(e){N(this,"_nameMap");N(this,"_prefixNameVar");N(this,"_prefixNameFunc");N(this,"_prefixNameConst");N(this,"_userTypes");N(this,"_isInFunc");N(this,"_varlist");N(this,"_memberIndexList");N(this,"_blockCount");N(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._inputCount=0}preParser(e){var o,u;const n=[];for(const h of e){if(!h)return;if(Array.isArray(h)){for(const m of h)if(n.push(this._parserStmt(m)),bl.includes((u=(o=m.exprs)==null?void 0:o[0])==null?void 0:u.name))return n.join(`;
12
- `).replace(/;+/g,";")}else n.push(this._parserStmt(h))}return""}parser(e){const n=[];for(const u of e){if(!u)return;if(Array.isArray(u))for(const h of u)n.push(this._parserStmt(h));else n.push(this._parserStmt(u))}const o=this._memberIndexList[this._blockCount]||{};return n.push(...Object.values(o)),n.join(`;
13
- `).replace(/;+/g,";")}_parserStmt(e,n=!1){switch(e==null?void 0:e.ruleType){case Oe.DeclareAssign:return this._parserDeclareAssign(e);case Oe.MethodExpression:return`${this._parserMethodExpression(e)}`;case Oe.ArrowFunction:return this._parserArrowFunction(e);case Oe.ArrowMethod:return this._parserArrowMethod(e);case Oe.IfStatement:return this._parserIfStatement(e,n);case Oe.WhileStatement:return this._parserWhileStatement(e,n);case Oe.SwitchStatement:return this._parserSwitchStatement(e,n);case Oe.ForInStatement:return this._parserForInStatement(e,n);case Oe.ForToStatement:return this._parserForToStatement(e,n);case Oe.AgainAssign:return this._parserAgainAssign(e);case Oe.ImportElement:break;case Oe.TypeStatement:return this._parserTypeStatement(e);case Oe.VarBlockStmt:return this._parserVarBlockStmt(e);case Oe.FlowStmt:return`${e.value};`;case Oe.Brackethesized:return this._parserBrackethesized(e);default:return this._parserSingleExpression(e)}return""}_parserTypeStatement(e){const n=[],o=[];for(const u of e.fields){const{name:h,value:m}=u;u.isVarip&&o.push(`"${h}"`),n.push(`${h}: ${m?this._parserSingleExpression(m):"undefined"}`)}return this._userTypes.push(e.name),`const ${e.name} = ${this._prefixNameVar}.getTypeInstance({${n.join(", ")}}, [${o.join()}])`}_parserVarBlockStmt(e){const{nameList:n,operator:o,name:u,value:h}=e,m=this._parserStmt(h,!0);return u?`${this._parserName(u)} ${o===":="?"=":o} ${m}`:`let ${this._parserDeclareAssignNames(n)} = ${m}`}_parserForToStatement(e,n=!1){const{numerical:o,block:u,name:h}=e,[m,_,S]=o,x=this._parserBlockLine(u,n),C=this._parserSingleExpression(m),A=this._parserSingleExpression(_),I=S?this._parserSingleExpression(S):"",j=`for (let ${h}=${C}; ${h}>=(${A}); ${h}+=(${I||"-1"})){
14
- ${x}
15
- }`,M=`for (let ${h}=${C};${h}<=(${A}); ${h}+=(${I||"1"})){
16
- ${x}
17
- }`;let b="";return(m==null?void 0:m.ruleType)==="Literal"&&(_==null?void 0:_.ruleType)==="Literal"?b=Number(m.value)>Number(_.value)?j:M:b=`if ((${C})>(${A})) {
18
- ${j}
19
- } else {
20
- ${M}
21
- }`,n?this._functionalProcess(b):b}_parserForInStatement(e,n=!1){const{names:o,block:u,array:h}=e,m=this._parserBlockLine(u,n);let _="";return o.length===1?_=`for (const ${o[0]} of ${this._parserSingleExpression(h)}._value) {
22
- ${m}
23
- }`:_=`for (const [${o[0]},${o[1]}] of (${this._parserSingleExpression(h)})._value.entries()) {
24
- ${m}
25
- }`,n?this._functionalProcess(_):_}_parserAgainAssign(e){const{operator:n,name:o,value:u}=e,{varPos:h,declare:m}=o,_=this._parserName(o);let S="";const x=this._parserSingleExpression(u);let C=`${_} ${n===":="?"=":n} ${x}`;const A=`${h==null?void 0:h.column}_${h==null?void 0:h.lineNumber}`;let I="";if(m){const j=this._isInFunc?`posStr + '_${A}'`:`"${A}"`;S=`;
26
- ${this._prefixNameVar}.setVarValue("${_}", ${j}, ${_}, "${m}")`}return n==="-="?C=`${_} = ${this._prefixNameVar}.sub(${_}, ${x})`:n==="+="?C=`${_} = ${this._prefixNameVar}.add(${_}, ${x})`:n===":="&&(I=`${this._prefixNameVar}.againAssignParse(${_}, ${x});
27
- `),`${I}${C}${S}`}_parserSwitchStatement(e,n=!1){const{condition:o,cases:u,defaultCase:h}=e,m=u.length?this._parserCases(u,n):"",_=h?this._parserDefaultCase(h,n):"",S=`switch (${o===!0?o:this._parserSingleExpression(o)}) {
28
- ${m}
29
- ${_}
30
- }`;return n?this._functionalProcess(S):S}_parserCases(e,n=!1){const o=[];for(const u of e)o.push(this._parserCase(u,n));return o.join(`
31
- `)}_parserDefaultCase(e,n=!1){return`default:
32
- ${this._parserBlock(e.block,n)};`}_parserCase(e,n=!1){const{condition:o,block:u}=e;return`case ${this._parserSingleExpression(o)}:
33
- ${this._parserBlock(u,n)}
34
- break;`}_parserWhileStatement(e,n=!1){const{condition:o,block:u}=e,h=`while (${this._parserSingleExpression(o)}) {
35
- ${this._parserBlockLine(u,n)}
36
- }`;return n?this._functionalProcess(h):h}_parserIfStatement(e,n=!1){const{condition:o,block:u}=e;let h="";for(const[m,_]of u.entries()){const S=this._parserBlockLine(_,n),x=o[m]&&this._parserSingleExpression(o[m]);m===0?h=`if (${x}) {
37
- ${S}
38
- }`:x?h+=`else if (${x}) {
39
- ${S}
40
- }`:h+=`else {
41
- ${S}
42
- }`}return n?this._functionalProcess(h):h}_parserBlockLine(e,n=!1,o=!1){const u=[],h=e.length;this._blockCount++;let m=e.slice(-1)[0];for(const[_,S]of e.entries()){const x=n&&_===h-1;if(Array.isArray(S)){const C=[...S];x&&(m=C.pop());const A=C.map(I=>this._parserStmt(I)).join(`;
43
- `);A&&u.push(A)}else x||u.push(this._parserStmt(S))}if(n&&m){const _=this._parserReturnBlock(m,o);u.push(_)}else u.push(this._getMembersCode());return this._varlist[this._blockCount]={},this._memberIndexList[this._blockCount]={},this._blockCount--,`${u.join(`;
44
- `)};`}_parserReturnBlock(e,n=!1){let o="",u="";switch(e.ruleType){case Oe.AgainAssign:return o=this._parserAgainAssign(e),u=this._getMembersCode(),n?`${o};
45
- ${u}
46
- return ${this._parserName(e.name)}`:`${o};
47
- ${u}
48
- $_result = ${this._parserName(e.name)}`;case Oe.DeclareAssign:o=this._parserSingleExpression(e.value),u=this._getMembersCode();break;default:o=this._parserStmt(e,!0),u=this._getMembersCode()}return n?`${u}
49
-
50
- return ${o}`:`${u}
51
-
52
- $_result = ${o}`}_getMembersCode(){const e=this._memberIndexList[this._blockCount]||{};return Object.values(e).join(`;
53
- `)}_parserArrowMethod(e){const n=`$_${e.name}`;this._nameMap.set(e.name,n);const o=[...e.params],u=e.index?`$${e.index}`:"";e.hasMemberIndex&&o.push({name:`${this._prefixNameVar}_position`});let h=`const ${n}${u} = (${this._parserParameters(o)}posStr) => {
54
- ${this._parserBlock(e.block,!0,!0)}
55
- }`;return this._userTypes.includes(e.typeName)&&(h=`${h}
56
- ${e.typeName}.addNewMethod("${e.name}${u}", function (${this._parserParameters(o.slice(1))}posStr) {
57
- const ${o[0].name} = this;
58
- ${this._parserBlock(e.block,!0,!0)}
59
- })
60
- `),this._isInFunc=!1,h}_parserArrowFunction(e){const n=`$_${e.name}`;this._nameMap.set(e.name,n);const o=[...e.params];e.hasMemberIndex&&o.push({name:`${this._prefixNameVar}_position`});const u=`const ${n}${e.index?`$${e.index}`:""} = (${this._parserParameters(o)}posStr) => {
61
- ${this._parserBlock(e.block,!0,!0)}
62
- }`;return this._isInFunc=!1,u}_parserParameters(e){return e.length?`{${e.map(n=>{const{name:o,defaultValue:u}=n;let h=o;if(u){const m=this._parserSingleExpression(u);h=`${h} = ${m}`}return h}).join(", ")}},`:""}_parserBlock(e,n=!1,o=!1){return o&&(this._isInFunc=!0),this._parserBlockLine(Array.isArray(e)?e:[e],n,o)}_parserDeclareAssign(e){const{nameList:n,value:o}=e,u=this._parserDeclareAssignNames(n),h=this._varlist[this._blockCount]||{};if(n.names)for(const[_,S]of n.names.entries())h[S]=n.posList[_];else h[n.name]=n.pos;this._varlist[this._blockCount]=h;const m=this._parserSingleExpression(o);if(n.declare){const _=`${n.pos.column}_${n.pos.lineNumber}`,S=this._isInFunc?`posStr + '_${_}'`:`"${_}"`;return`let ${u} = ${this._prefixNameVar}.getVarValue("${u}", ${S}, "${n.declare}") || ${this._prefixNameVar}.setVarValue("${u}", ${S}, ${m}, "${n.declare}")`}return`let ${u} = ${m}`}_parserDeclareAssignNames(e){switch(e==null?void 0:e.ruleType){case"VarMultiple":return`[${e.names.join(", ")}]`;case"VarSingle":return e.name}return""}_parserSingleExpression(e){if(!e)return"";const{exprs:n,operator:o}=e;switch(e.ruleType){case Oe.MemberIndexExpression:return this._parserMemberIndexExpression(e);case Oe.MethodExpression:return this._parserMethodExpression(e);case Oe.UnaryExpression:return`${o}${this._parserSingleExpression(n[0])}`;case Oe.NotExpression:return`!${this._parserSingleExpression(n[0])}`;case Oe.AdditiveExpression:return this._parserAdditiveExpression(e);case Oe.MultiplicativeExpression:case Oe.RelationalExpression:case Oe.EqualityExpression:return`${this._parserSingleExpression(n[0])} ${o} ${this._parserSingleExpression(n[1])}`;case Oe.LogicalAndExpression:return`${this._parserSingleExpression(n[0])} && ${this._parserSingleExpression(n[1])}`;case Oe.LogicalOrExpression:return`${this._parserSingleExpression(n[0])} || ${this._parserSingleExpression(n[1])}`;case Oe.TernaryExpression:return`${this._parserSingleExpression(n[0])} ? ${this._parserSingleExpression(n[1])} : ${this._parserSingleExpression(n[2])}`;case Oe.Name:return this._parserName(e);case Oe.Literal:return this._parseLiteral(e);case Oe.ParenthesizedExpression:return`(${this._parserSingleExpression(e.exprs)})`;default:return e.name||""}}_parserAdditiveExpression(e){const{exprs:n,operator:o}=e,u=this._parserSingleExpression(n[0]),h=this._parserSingleExpression(n[1]);return o==="-"?`${this._prefixNameVar}.sub(${u}, ${h})`:`${this._prefixNameVar}.add(${u}, ${h})`}_parserMemberIndexExpression(e){const{exprs:n,isInFunc:o,ctx:u}=e,h=n[0],m=this._parserSingleExpression(n[1]);if(h.ruleType===Oe.Name&&!h.hasMethod){let C=this._blockCount;const A=h.name;for(;C>=0;){const I=this._varlist[C]||{},j=I[A];if(j)return this._getUserVarMemberIndexs(j,A,C,m,o);if(h.isBuiltIn){const M=this._parserSingleExpression(h),b=this._memberIndexList[0]||{};return b[A]=`${this._prefixNameVar}.setCacheData('${A}', ${M})`,`${this._prefixNameVar}.getCacheData('${A}', ${m}, ${M})`}else if(A.includes(".")){const M=A.split(".")[0],b=I[M];if(b)return this._getUserVarMemberIndexs(b,A,C,m,o)}C--}}const _=u.start.tokenIndex,S=this._parserSingleExpression(h),x=o?`${this._prefixNameVar}_position`:_;return`${this._prefixNameVar}.getCacheData('m${_}_' + ${x}, ${m}, ${S})`}_getUserVarMemberIndexs(e,n,o,u,h){const m=this._memberIndexList[o]||{};let _=`${n}_${e.lineNumber}_${e.column}`;return _=h&&o!==0?`'${_}_' + posStr`:`'${_}'`,m[_]=`${this._prefixNameVar}.setCacheData(${_}, ${n})`,this._memberIndexList[o]=m,`${this._prefixNameVar}.getCacheData(${_}, ${u}, ${n})`}_parseLiteral(e){return e.type.endsWith(W.COLOR)?`"${this._colorToRgba(e.value)}"`:e.value}_colorToRgba(e){if(e.startsWith("#")){let n;const o=parseInt(e.substring(1,3),16),u=parseInt(e.substring(3,5),16),h=parseInt(e.substring(5,7),16),m=e.substring(7);return m?n=(255-parseInt(m,16))/255:n=1,`rgba(${Math.round(o)}, ${Math.round(u)}, ${Math.round(h)}, ${n.toFixed(2)})`}return e}_parserName(e){const{exprs:n,ctx:o}=e,{column:u,line:h}=(o==null?void 0:o.start)||{},m=`${h}_${u}`,_=n.map(S=>typeof S=="string"?S:this._parserMethodElement(S,m));return e.expr&&_.unshift(`(${this._parserSingleExpression(e.expr)})`),e.isBuiltIn&&(_.join(".")==="strategy.opentrades"&&_.push("opentrades"),_.unshift(e.isConst?this._prefixNameConst:this._prefixNameVar)),_.join(".")}_parserMethodExpression(e){const{exprs:n,ctx:o}=e,{column:u,line:h}=o.start,m=`${h}_${u}`,_=this._isInFunc?`posStr + "_${m}"`:`"${m}"`;return n.map(x=>this._parserMethodElement(x,_)).join(".")}_parserMethodElement(e,n){let o="",u="";const h={...e.args};if(e.hasMemberIndex&&(u=`${this._prefixNameVar}_position: ${e.position}`),e.expr&&(o=`(${this._parserSingleExpression(e.expr)})`),o=o?`${o}.${e.name}`:this._nameMap.get(e.name)||e.name,e.isBuiltIn){if(km.includes(o))o=`${o}.${o}`;else if(o==="max_bars_back"){const{name:_,varPos:S}=h.var||h.params[0];u=`var_name: '${S?`${_}_${S.lineNumber}_${S.column}`:_}'`}o.startsWith(W.INPUT)&&(u=`index: ${this._inputCount}`,this._inputCount++),o=`${this._prefixNameFunc}.${o}`}if(e.selfArg){const _=o.split("."),S=_.length;Object.assign(h,{[e.selfArg.name]:{name:_.slice(0,S-1).join(".")}}),o=_[S-1],o=this._nameMap.get(o)||o}o=`${o}${e.index?`$${e.index}`:""}`;const m=this._parserArguments(h,u,n);return o+m}_parserArguments(e,n,o){const u=e.params||[];delete e.params;const h=[],m=[],_=[];for(const S of u){const x=S.ruleType===Oe.Brackethesized?this._parserBrackethesized(S):this._parserSingleExpression(S);S.originName&&!["arg0, arg1, ...","number0, number1, ..."].includes(S.originName)?(h.push(`${S.originName}: ${x}`),S.isSourceType?h.push(`sourceTypeName: '${S.name}'`):S.type===`${W.SERIES} ${W.COLOR}`&&_.push(`'${S.originName}'`)):m.push(x)}for(const S of Object.keys(e)){const x=e[S],C=x.ruleType===Oe.Brackethesized?this._parserBrackethesized(x):this._parserSingleExpression(x);h.push(`${S}: ${C}`),x.type===`${W.SERIES} ${W.COLOR}`&&_.push(`'${S}'`)}return _.length&&h.push(`seriesColors: [${_.join(",")}]`),n&&h.push(n),m.length?`({${h.join(", ")}}, [${m.join(", ")}], ${o})`:h.length?`({${h.join(", ")}}, ${o})`:`(${o})`}_parserBrackethesized(e){return`[${e.exprs.map(o=>this._parserSingleExpression(o)).join(", ")}]`}_functionalProcess(e){return`(function () {
63
- let $_result=undefined;
64
- ${e}
65
- return $_result
66
- })();`}}/**
67
- * @license
68
- * Copyright 2019 Google LLC
69
- * SPDX-License-Identifier: Apache-2.0
70
- */const Rp=Symbol("Comlink.proxy"),Lm=Symbol("Comlink.endpoint"),Mm=Symbol("Comlink.releaseProxy"),El=Symbol("Comlink.finalizer"),cu=Symbol("Comlink.thrown"),wp=t=>typeof t=="object"&&t!==null||typeof t=="function",Bm={canHandle:t=>wp(t)&&t[Rp],serialize(t){const{port1:e,port2:n}=new MessageChannel;return Sl(t,e),[n,[n]]},deserialize(t){return t.start(),Hm(t)}},Um={canHandle:t=>wp(t)&&cu 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}},Np=new Map([["proxy",Bm],["throw",Um]]);function Vm(t,e){for(const n of t)if(e===n||n==="*"||n instanceof RegExp&&n.test(e))return!0;return!1}function Sl(t,e=globalThis,n=["*"]){e.addEventListener("message",function o(u){if(!u||!u.data)return;if(!Vm(n,u.origin)){console.warn(`Invalid origin '${u.origin}' for comlink proxy`);return}const{id:h,type:m,path:_}=Object.assign({path:[]},u.data),S=(u.data.argumentList||[]).map(po);let x;try{const C=_.slice(0,-1).reduce((I,j)=>I[j],t),A=_.reduce((I,j)=>I[j],t);switch(m){case"GET":x=A;break;case"SET":C[_.slice(-1)[0]]=po(u.data.value),x=!0;break;case"APPLY":x=A.apply(C,S);break;case"CONSTRUCT":{const I=new A(...S);x=Wm(I)}break;case"ENDPOINT":{const{port1:I,port2:j}=new MessageChannel;Sl(t,j),x=$m(I,[I])}break;case"RELEASE":x=void 0;break;default:return}}catch(C){x={value:C,[cu]:0}}Promise.resolve(x).catch(C=>({value:C,[cu]:0})).then(C=>{const[A,I]=pu(C);e.postMessage(Object.assign(Object.assign({},A),{id:h}),I),m==="RELEASE"&&(e.removeEventListener("message",o),Pp(e),El in t&&typeof t[El]=="function"&&t[El]())}).catch(C=>{const[A,I]=pu({value:new TypeError("Unserializable return value"),[cu]:0});e.postMessage(Object.assign(Object.assign({},A),{id:h}),I)})}),e.start&&e.start()}function jm(t){return t.constructor.name==="MessagePort"}function Pp(t){jm(t)&&t.close()}function Hm(t,e){return Tl(t,[],e)}function lu(t){if(t)throw new Error("Proxy has been released and is not useable")}function Ip(t){return jo(t,{type:"RELEASE"}).then(()=>{Pp(t)})}const fu=new WeakMap,hu="FinalizationRegistry"in globalThis&&new FinalizationRegistry(t=>{const e=(fu.get(t)||0)-1;fu.set(t,e),e===0&&Ip(t)});function Gm(t,e){const n=(fu.get(e)||0)+1;fu.set(e,n),hu&&hu.register(t,e,t)}function Km(t){hu&&hu.unregister(t)}function Tl(t,e=[],n=function(){}){let o=!1;const u=new Proxy(n,{get(h,m){if(lu(o),m===Mm)return()=>{Km(u),Ip(t),o=!0};if(m==="then"){if(e.length===0)return{then:()=>u};const _=jo(t,{type:"GET",path:e.map(S=>S.toString())}).then(po);return _.then.bind(_)}return Tl(t,[...e,m])},set(h,m,_){lu(o);const[S,x]=pu(_);return jo(t,{type:"SET",path:[...e,m].map(C=>C.toString()),value:S},x).then(po)},apply(h,m,_){lu(o);const S=e[e.length-1];if(S===Lm)return jo(t,{type:"ENDPOINT"}).then(po);if(S==="bind")return Tl(t,e.slice(0,-1));const[x,C]=Fp(_);return jo(t,{type:"APPLY",path:e.map(A=>A.toString()),argumentList:x},C).then(po)},construct(h,m){lu(o);const[_,S]=Fp(m);return jo(t,{type:"CONSTRUCT",path:e.map(x=>x.toString()),argumentList:_},S).then(po)}});return Gm(u,t),u}function zm(t){return Array.prototype.concat.apply([],t)}function Fp(t){const e=t.map(pu);return[e.map(n=>n[0]),zm(e.map(n=>n[1]))]}const Lp=new WeakMap;function $m(t,e){return Lp.set(t,e),t}function Wm(t){return Object.assign(t,{[Rp]:!0})}function pu(t){for(const[e,n]of Np)if(n.canHandle(t)){const[o,u]=n.serialize(t);return[{type:"HANDLER",name:e,value:o},u]}return[{type:"RAW",value:t},Lp.get(t)||[]]}function po(t){switch(t.type){case"HANDLER":return Np.get(t.name).deserialize(t.value);case"RAW":return t.value}}function jo(t,e,n){return new Promise(o=>{const u=Xm();t.addEventListener("message",function h(m){!m.data||!m.data.id||m.data.id!==u||(t.removeEventListener("message",h),o(m.data))}),t.start&&t.start(),t.postMessage(Object.assign({id:u},e),n)})}function Xm(){return new Array(4).fill(0).map(()=>Math.floor(Math.random()*Number.MAX_SAFE_INTEGER).toString(16)).join("-")}function Ho(t){return t.split("")}function Al(t,e){return e.includes(t)}class qm extends Error{constructor(e,n){super(),this.name="DefaultsError",this.message=e,this.defs=n}}function di(t,e,n){t===!0?t={}:t!=null&&typeof t=="object"&&(t={...t});const o=t||{};if(n){for(const u in o)if(er(o,u)&&!er(e,u))throw new qm("`"+u+"` is not a supported option",e)}for(const u in e)if(er(e,u))if(!t||!er(t,u))o[u]=e[u];else if(u==="ecma"){let h=t[u]|0;h>5&&h<2015&&(h+=2009),o[u]=h}else o[u]=t&&er(t,u)?t[u]:e[u];return o}function dr(){}function vt(){return!1}function Qn(){return!0}function yo(){return this}function Qi(){return null}var Xt=function(){function t(n,o,u=!0){const h=[];for(let m=0;m<n.length;++m){let S=n[m].transform(o,u);S instanceof Te?h.push(S):S instanceof e&&h.push(...S.v)}return h}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 mo(t,e){t.includes(e)||t.push(e)}function du(t,e){return t.replace(/{(.+?)}/g,function(n,o){return e&&e[o]})}function Go(t,e){for(var n=t.length;--n>=0;)t[n]===e&&t.splice(n,1)}function Mp(t,e){if(t.length<2)return t.slice();function n(u,h){for(var m=[],_=0,S=0,x=0;_<u.length&&S<h.length;)e(u[_],h[S])<=0?m[x++]=u[_++]:m[x++]=h[S++];return _<u.length&&m.push.apply(m,u.slice(_)),S<h.length&&m.push.apply(m,h.slice(S)),m}function o(u){if(u.length<=1)return u;var h=Math.floor(u.length/2),m=u.slice(0,h),_=u.slice(h);return m=o(m),_=o(_),n(m,_)}return o(t)}function Ot(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 Ym(t){var e=new Map;for(var n in t)er(t,n)&&n.charAt(0)==="$"&&e.set(n.substr(1),t[n]);return e}function Jm(t){var e=Object.create(null);return t.forEach(function(n,o){e["$"+o]=n}),e}function er(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function Ko(t,e){return t===!0||t instanceof RegExp&&t.test(e)}var Zm={"\0":"0","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"};function mu(t){return t.replace(/[\0\n\r\u2028\u2029]/g,function(e,n){var o=t[n-1]=="\\"&&(t[n-2]!="\\"||/(?:^|[^\\])(?:\\{2})*$/.test(t.slice(0,n-1)));return(o?"":"\\")+Zm[e]})}const Qm=/^[\\/|\0\s\w^$.[\]()]*$/,Bp=t=>Qm.test(t),e_="dgimsuyv";function t_(t){const e=new Set(t.split(""));let n="";for(const o of e_)e.has(o)&&(n+=o,e.delete(o));return e.size&&e.forEach(o=>{n+=o}),n}function ar(t,e){return t._annotations&e}function os(t,e){t._annotations|=e}function Up(t,e){t._annotations&=~e}var _u="",as=new Map,gu="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",bu="false null true",ss="enum import super this "+bu+" "+gu,eo="implements interface package private protected public static "+ss,xl="return new delete throw else case yield await";gu=Ot(gu),ss=Ot(ss),xl=Ot(xl),bu=Ot(bu),eo=Ot(eo);var n_=Ot(Ho("+-*&%=<>!?|~^")),r_=/[0-9a-f]/i,Vp=/^0x[0-9a-f]+$/i,jp=/^0[0-7]+$/,i_=/^0o[0-7]+$/i,o_=/^0b[01]+$/i,a_=/^\d*\.?\d*(?:e[+-]?\d*(?:\d\.?|\.?\d)\d*)?$/i,s_=/^(0[xob])?[0-9a-f]+n$/i,Hp=Ot(["in","instanceof","typeof","new","void","delete","++","--","+","-","!","~","&","|","^","*","**","/","%",">>","<<",">>>","<",">","<=",">=","==","===","!=","!==","?","=","+=","-=","||=","&&=","??=","/=","*=","**=","%=",">>=","<<=",">>>=","|=","^=","&=","&&","??","||"]),u_=Ot(Ho(`  
71
- \r \f\v​           \u2028\u2029   \uFEFF`)),Ol=Ot(Ho(`
72
- \r\u2028\u2029`)),c_=Ot(Ho(";]),:")),l_=Ot(Ho("[{(,;:")),f_=Ot(Ho("[]{}(),;:")),vu={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 Eu(t,e){if(Su(t.charCodeAt(e))){if(Dl(t.charCodeAt(e+1)))return t.charAt(e)+t.charAt(e+1)}else if(Dl(t.charCodeAt(e))&&Su(t.charCodeAt(e-1)))return t.charAt(e-1)+t.charAt(e);return t.charAt(e)}function h_(t,e){return Su(t.charCodeAt(e))?65536+(t.charCodeAt(e)-55296<<10)+t.charCodeAt(e+1)-56320:t.charCodeAt(e)}function p_(t){for(var e=0,n=0;n<t.length;n++)Su(t.charCodeAt(n))&&Dl(t.charCodeAt(n+1))&&(e++,n++);return t.length-e}function d_(t){return t>65535?(t-=65536,String.fromCharCode((t>>10)+55296)+String.fromCharCode(t%1024+56320)):String.fromCharCode(t)}function Su(t){return t>=55296&&t<=56319}function Dl(t){return t>=56320&&t<=57343}function Gp(t){return t>=48&&t<=57}function Cl(t){return vu.ID_Start.test(t)}function Tu(t){return vu.ID_Continue.test(t)}const Kp=/^[a-z_$][a-z0-9_$]*$/i;function Au(t){return Kp.test(t)}function zp(t,e){if(Kp.test(t))return!0;if(!e&&/[\ud800-\udfff]/.test(t))return!1;var n=vu.ID_Start.exec(t);return!n||n.index!==0?!1:(t=t.slice(n[0].length),t?(n=vu.ID_Continue.exec(t),!!n&&n[0].length===t.length):!0)}function $p(t,e=!0){if(!e&&t.includes("e"))return NaN;if(Vp.test(t))return parseInt(t.substr(2),16);if(jp.test(t))return parseInt(t.substr(1),8);if(i_.test(t))return parseInt(t.substr(2),8);if(o_.test(t))return parseInt(t.substr(2),2);if(a_.test(t))return parseFloat(t);var n=parseFloat(t);if(n==t)return n}class Wp extends Error{constructor(e,n,o,u,h){super(),this.name="SyntaxError",this.message=e,this.filename=n,this.line=o,this.col=u,this.pos=h}}function xu(t,e,n,o,u){throw new Wp(t,e,n,o,u)}function sr(t,e,n){return t.type==e&&(n==null||t.value==n)}var kl={};function y_(t,e,n,o){var u={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 h(){return Eu(u.text,u.pos)}function m(){if(!(u.text.charCodeAt(u.pos+1)===46))return!1;const ne=u.text.charCodeAt(u.pos+2);return ne<48||ne>57}function _(J,ne){var se=Eu(u.text,u.pos++);if(J&&!se)throw kl;return Ol.has(se)?(u.newline_before=u.newline_before||!ne,++u.line,u.col=0,se=="\r"&&h()==`
73
- `&&(++u.pos,se=`
74
- `)):(se.length>1&&(++u.pos,++u.col),++u.col),se}function S(J){for(;J--;)_()}function x(J){return u.text.substr(u.pos,J.length)==J}function C(){for(var J=u.text,ne=u.pos,se=u.text.length;ne<se;++ne){var Ee=J[ne];if(Ol.has(Ee))return ne}return-1}function A(J,ne){var se=u.text.indexOf(J,u.pos);if(ne&&se==-1)throw kl;return se}function I(){u.tokline=u.line,u.tokcol=u.col,u.tokpos=u.pos}var j=!1,M=null;function b(J,ne,se){u.regex_allowed=J=="operator"&&!Xp.has(ne)||J=="keyword"&&xl.has(ne)||J=="punc"&&l_.has(ne)||J=="arrow",J=="punc"&&(ne=="."||ne=="?.")?j=!0:se||(j=!1);const Ee=u.tokline,me=u.tokcol,At=u.tokpos,jt=u.newline_before,Et=e;let Mt=[],gt=[];se||(Mt=u.comments_before,gt=u.comments_before=[]),u.newline_before=!1;const Dt=new Rl(J,ne,Ee,me,At,jt,Mt,gt,Et);return se||(M=Dt),Dt}function y(){for(;u_.has(h());)_()}function g(J){for(var ne="",se,Ee=0;(se=h())&&J(se,Ee++);)ne+=_();return ne}function O(J){xu(J,e,u.tokline,u.tokcol,u.tokpos)}function w(J){var ne=!1,se=!1,Ee=!1,me=J==".",At=!1,jt=!1,Et=g(function(gt,Dt){if(At)return!1;var Jt=gt.charCodeAt(0);switch(Jt){case 95:return jt=!0;case 98:case 66:return Ee=!0;case 111:case 79:case 120:case 88:return Ee?!1:Ee=!0;case 101:case 69:return Ee?!0:ne?!1:ne=se=!0;case 45:return se||Dt==0&&!J;case 43:return se;case(se=!1,46):return!me&&!Ee&&!ne?me=!0:!1}return gt==="n"?(At=!0,!0):r_.test(gt)});if(J&&(Et=J+Et),_u=Et,jp.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),Dt=Vp.test(gt),Jt=$p(gt,Dt);if(!me&&s_.test(Et)&&!isNaN(Jt))return b("big_int",gt);O("Invalid or unexpected token")}var Mt=$p(Et);if(isNaN(Mt))O("Invalid syntax: "+Et);else return b("num",Mt)}function D(J){return J>="0"&&J<="7"}function V(J,ne,se){var Ee=_(!0,J);switch(Ee.charCodeAt(0)){case 110:return`
75
- `;case 114:return"\r";case 116:return" ";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 120:return String.fromCharCode(re(2,ne));case 117:if(h()=="{"){for(_(!0),h()==="}"&&O("Expecting hex-character between {}");h()=="0";)_(!0);var me,At=A("}",!0)-u.pos;return(At>6||(me=re(At,ne))>1114111)&&O("Unicode reference out of bounds"),_(!0),d_(me)}return String.fromCharCode(re(4,ne));case 10:return"";case 13:if(h()==`
76
- `)return _(!0,J),""}return D(Ee)?(se&&ne&&(Ee==="0"&&!D(h())||O("Octal escape sequences are not allowed in template strings")),X(Ee,ne)):Ee}function X(J,ne){var se=h();return se>="0"&&se<="7"&&(J+=_(!0),J[0]<="3"&&(se=h())>="0"&&se<="7"&&(J+=_(!0))),J==="0"?"\0":(J.length>0&&Ue.has_directive("use strict")&&ne&&O("Legacy octal escape sequences are not allowed in strict mode"),String.fromCharCode(parseInt(J,8)))}function re(J,ne){for(var se=0;J>0;--J){if(!ne&&isNaN(parseInt(h(),16)))return parseInt(se,16)||"";var Ee=_(!0);isNaN(parseInt(Ee,16))&&O("Invalid hex-character pattern in string"),se+=Ee}return parseInt(se,16)}var z=_e("Unterminated string constant",function(){const J=u.pos;for(var ne=_(),se=[];;){var Ee=_(!0,!0);if(Ee=="\\")Ee=V(!0,!0);else if(Ee=="\r"||Ee==`
77
- `)O("Unterminated string constant");else if(Ee==ne)break;se.push(Ee)}var me=b("string",se.join(""));return _u=u.text.slice(J,u.pos),me.quote=ne,me}),Y=_e("Unterminated template",function(J){J&&u.template_braces.push(u.brace_counter);var ne="",se="",Ee,me;for(_(!0,!0);(Ee=_(!0,!0))!="`";){if(Ee=="\r")h()==`
78
- `&&++u.pos,Ee=`
79
- `;else if(Ee=="$"&&h()=="{")return _(!0,!0),u.brace_counter++,me=b(J?"template_head":"template_substitution",ne),as.set(me,se),me.template_end=!1,me;if(se+=Ee,Ee=="\\"){var At=u.pos,jt=M&&(M.type==="name"||M.type==="punc"&&(M.value===")"||M.value==="]"));Ee=V(!0,!jt,!0),se+=u.text.substr(At,u.pos-At)}ne+=Ee}return u.template_braces.pop(),me=b(J?"template_head":"template_substitution",ne),as.set(me,se),me.template_end=!0,me});function K(J){var ne=u.regex_allowed,se=C(),Ee;return se==-1?(Ee=u.text.substr(u.pos),u.pos=u.text.length):(Ee=u.text.substring(u.pos,se),u.pos=se),u.col=u.tokcol+(u.pos-u.tokpos),u.comments_before.push(b(J,Ee,!0)),u.regex_allowed=ne,Ue}var ce=_e("Unterminated multiline comment",function(){var J=u.regex_allowed,ne=A("*/",!0),se=u.text.substring(u.pos,ne).replace(/\r\n|\r|\u2028|\u2029/g,`
80
- `);return S(p_(se)+2),u.comments_before.push(b("comment2",se,!0)),u.newline_before=u.newline_before||se.includes(`
81
- `),u.regex_allowed=J,Ue}),Q=_e("Unterminated identifier name",function(){var J=[],ne,se=!1,Ee=function(){return se=!0,_(),h()!=="u"&&O("Expecting UnicodeEscapeSequence -- uXXXX or u{XXXX}"),V(!1,!0)};if((ne=h())==="\\")ne=Ee(),Cl(ne)||O("First identifier char is an invalid identifier char");else if(Cl(ne))_();else return"";for(J.push(ne);(ne=h())!=null;){if((ne=h())==="\\")ne=Ee(),Tu(ne)||O("Invalid escaped identifier char");else{if(!Tu(ne))break;_()}J.push(ne)}const me=J.join("");return ss.has(me)&&se&&O("Escaped characters are not allowed in keywords"),me}),de=_e("Unterminated regular expression",function(J){for(var ne=!1,se,Ee=!1;se=_(!0);)if(Ol.has(se))O("Unexpected line terminator");else if(ne)/^[\u0000-\u007F]$/.test(se)?J+="\\"+se:J+=se,ne=!1;else if(se=="[")Ee=!0,J+=se;else if(se=="]"&&Ee)Ee=!1,J+=se;else{if(se=="/"&&!Ee)break;se=="\\"?ne=!0:J+=se}const me=Q();return b("regexp","/"+J+"/"+me)});function ye(J){function ne(se){if(!h())return se;var Ee=se+h();return Hp.has(Ee)?(_(),ne(Ee)):se}return b("operator",ne(J||_()))}function te(){switch(_(),h()){case"/":return _(),K("comment1");case"*":return _(),ce()}return u.regex_allowed?de(""):ye("/")}function he(){return _(),h()===">"?(_(),b("arrow","=>")):ye("=")}function le(){return _(),Gp(h().charCodeAt(0))?w("."):h()==="."?(_(),_(),b("expand","...")):b("punc",".")}function Ae(){var J=Q();return j?b("name",J):bu.has(J)?b("atom",J):gu.has(J)?Hp.has(J)?b("operator",J):b("keyword",J):b("name",J)}function Pe(){return _(),b("privatename",Q())}function _e(J,ne){return function(se){try{return ne(se)}catch(Ee){if(Ee===kl)O(J);else throw Ee}}}function Ue(J){if(J!=null)return de(J);for(o&&u.pos==0&&x("#!")&&(I(),S(2),K("comment5"));;){if(y(),I(),n){if(x("<!--")){S(4),K("comment3");continue}if(x("-->")&&u.newline_before){S(3),K("comment4");continue}}var ne=h();if(!ne)return b("eof");var se=ne.charCodeAt(0);switch(se){case 34:case 39:return z();case 46:return le();case 47:{var Ee=te();if(Ee===Ue)continue;return Ee}case 61:return he();case 63:{if(!m())break;return _(),_(),b("punc","?.")}case 96:return Y(!0);case 123:u.brace_counter++;break;case 125:if(u.brace_counter--,u.template_braces.length>0&&u.template_braces[u.template_braces.length-1]===u.brace_counter)return Y(!1);break}if(Gp(se))return w();if(f_.has(ne))return b("punc",_());if(n_.has(ne))return ye();if(se==92||Cl(ne))return Ae();if(se==35)return Pe();break}O("Unexpected character '"+ne+"'")}return Ue.next=_,Ue.peek=h,Ue.context=function(J){return J&&(u=J),u},Ue.add_directive=function(J){u.directive_stack[u.directive_stack.length-1].push(J),u.directives[J]===void 0?u.directives[J]=1:u.directives[J]++},Ue.push_directives_stack=function(){u.directive_stack.push([])},Ue.pop_directives_stack=function(){for(var J=u.directive_stack[u.directive_stack.length-1],ne=0;ne<J.length;ne++)u.directives[J[ne]]--;u.directive_stack.pop()},Ue.has_directive=function(J){return u.directives[J]>0},Ue}var m_=Ot(["typeof","void","delete","--","++","!","~","-","+"]),Xp=Ot(["--","++"]),__=Ot(["=","+=","-=","??=","&&=","||=","/=","*=","**=","%=",">>=","<<=",">>>=","|=","^=","&="]),g_=Ot(["??=","&&=","||="]),Dr=function(t,e){for(var n=0;n<t.length;++n)for(const o of t[n])e[o]=n+1;return e}([["||"],["??"],["&&"],["|"],["^"],["&"],["==","===","!=","!=="],["<",">","<=",">=","in","instanceof"],[">>","<<",">>>"],["+","-"],["*","/","%"],["**"]],{}),b_=Ot(["atom","num","big_int","string","regexp","name"]);function us(t,e){const n=new WeakMap;e=di(e,{bare_returns:!1,ecma:null,expression:!1,filename:null,html5_comments:!0,module:!1,shebang:!0,strict:!1,toplevel:null},!0);var o={input:typeof t=="string"?y_(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:[]};o.token=m();function u(k,H){return sr(o.token,k,H)}function h(){return o.peeked||(o.peeked=o.input())}function m(){return o.prev=o.token,o.peeked||h(),o.token=o.peeked,o.peeked=null,o.in_directives=o.in_directives&&(o.token.type=="string"||u("punc",";")),o.token}function _(){return o.prev}function S(k,H,$,Z){var ie=o.input.context();xu(k,ie.filename,H??ie.tokline,$??ie.tokcol,Z??ie.tokpos)}function x(k,H){S(H,k.line,k.col)}function C(k){k==null&&(k=o.token),x(k,"Unexpected token: "+k.type+" ("+k.value+")")}function A(k,H){if(u(k,H))return m();x(o.token,"Unexpected token "+o.token.type+" «"+o.token.value+"», expected "+k+" «"+H+"»")}function I(k){return A("punc",k)}function j(k){return k.nlb||!k.comments_before.every(H=>!H.nlb)}function M(){return!e.strict&&(u("eof")||u("punc","}")||j(o.token))}function b(){return o.in_generator===o.in_function}function y(){return o.in_async===o.in_function}function g(){return o.in_async===o.in_function||o.in_function===0&&o.input.has_directive("use strict")}function O(k){u("punc",";")?m():!k&&!M()&&C()}function w(){I("(");var k=mt(!0);return I(")"),k}function D(k){return function(...$){const Z=o.token,ie=k(...$);return ie.start=Z,ie.end=_(),ie}}function V(){(u("operator","/")||u("operator","/="))&&(o.peeked=null,o.token=o.input(o.token.value.substr(1)))}var X=D(function k(H,$,Z){switch(V(),o.token.type){case"string":if(o.in_directives){var ie=h();!_u.includes("\\")&&(sr(ie,"punc",";")||sr(ie,"punc","}")||j(ie)||sr(ie,"eof"))?o.input.add_directive(o.token.value):o.in_directives=!1}var Fe=o.in_directives,Ie=z();return Fe&&Ie.body instanceof dt?new tr(Ie.body):Ie;case"template_head":case"num":case"big_int":case"regexp":case"operator":case"atom":return z();case"name":case"privatename":if(u("privatename")&&!o.in_class&&S("Private field must be used in an enclosing class"),o.token.value=="async"&&sr(h(),"keyword","function"))return m(),m(),$&&S("functions are not allowed as the body of a loop"),te(Qt,!1,!0,H);if(o.token.value=="import"&&!sr(h(),"punc","(")&&!sr(h(),"punc",".")){m();var rt=ln();return O(),rt}return sr(h(),"punc",":")?re():z();case"punc":switch(o.token.value){case"{":return new Ye({start:o.token,body:Ee(),end:_()});case"[":case"(":return z();case";":return o.in_directives=!1,m(),new Rt;default:C()}case"keyword":switch(o.token.value){case"break":return m(),Y(Cr);case"continue":return m(),Y(to);case"debugger":return m(),O(),new Pi;case"do":m();var Gt=ir(k);A("keyword","while");var on=w();return O(!0),new yi({body:Gt,condition:on});case"while":return m(),new Ii({condition:w(),body:ir(function(){return k(!1,!0)})});case"for":return m(),K();case"class":return m(),$&&S("classes are not allowed as the body of a loop"),Z&&S("classes are not allowed as the body of an if"),Zt(Gr,H);case"function":return m(),$&&S("functions are not allowed as the body of a loop"),te(Qt,!1,!1,H);case"if":return m(),se();case"return":o.in_function==0&&!e.bare_returns&&S("'return' outside of function"),m();var bn=null;return u("punc",";")?m():M()||(bn=mt(!0),O()),new an({value:bn});case"switch":return m(),new Wn({expression:w(),body:ir(me)});case"throw":m(),j(o.token)&&S("Illegal newline after 'throw'");var bn=mt(!0);return O(),new ls({value:bn});case"try":return m(),At();case"var":m();var rt=Et();return O(),rt;case"let":m();var rt=Mt();return O(),rt;case"const":m();var rt=gt();return O(),rt;case"with":return o.input.has_directive("use strict")&&S("Strict mode may not include a with statement"),m(),new yr({expression:w(),body:k()});case"export":if(!sr(h(),"punc","(")){m();var rt=Me();return u("punc",";")&&O(),rt}}}C()});function re(){var k=Tn(fs);k.name==="await"&&y()&&x(o.prev,"await cannot be used as label inside async function"),o.labels.some($=>$.name===k.name)&&S("Label "+k.name+" defined twice"),I(":"),o.labels.push(k);var H=X();return o.labels.pop(),H instanceof Ur||k.references.forEach(function($){$ instanceof to&&($=$.label.start,S("Continue label `"+k.name+"` refers to non-IterationStatement.",$.line,$.col,$.pos))}),new Jn({body:H,label:k})}function z(k){return new He({body:(k=mt(!0),O(),k)})}function Y(k){var H=null,$;M()||(H=Tn(Nl,!0)),H!=null?($=o.labels.find(ie=>ie.name===H.name),$||S("Undefined label "+H.name),H.thedef=$):o.in_loop==0&&S(k.TYPE+" not inside a loop or switch"),O();var Z=new k({label:H});return $&&$.references.push(Z),Z}function K(){var k="`for await` invalid in this context",H=o.token;H.type=="name"&&H.value=="await"?(g()||x(H,k),m()):H=!1,I("(");var $=null;if(u("punc",";"))H&&x(H,k);else{$=u("keyword","var")?(m(),Et(!0)):u("keyword","let")?(m(),Mt(!0)):u("keyword","const")?(m(),gt(!0)):mt(!0,!0);var Z=u("operator","in"),ie=u("name","of");if(H&&!ie&&x(H,k),Z||ie)return $ instanceof sn?$.definitions.length>1&&x($.start,"Only one variable declaration allowed in for..in loop"):$i($)||($=Pr($))instanceof Vt||x($.start,"Invalid left-hand side in for..in loop"),m(),Z?de($):Q($,!!H)}return ce($)}function ce(k){I(";");var H=u("punc",";")?null:mt(!0);I(";");var $=u("punc",")")?null:mt(!0);return I(")"),new En({init:k,condition:H,step:$,body:ir(function(){return X(!1,!0)})})}function Q(k,H){var $=k instanceof sn?k.definitions[0].name:null,Z=mt(!0);return I(")"),new bo({await:H,init:k,name:$,object:Z,body:ir(function(){return X(!1,!0)})})}function de(k){var H=mt(!0);return I(")"),new zn({init:k,object:H,body:ir(function(){return X(!1,!0)})})}var ye=function(k,H,$){j(o.token)&&S("Unexpected newline before arrow (=>)"),A("arrow","=>");var Z=Ue(u("punc","{"),!1,$),ie=Z instanceof Array&&Z.length?Z[Z.length-1].end:Z instanceof Array?k:Z.end;return new qt({start:k,end:ie,async:$,argnames:H,body:Z})},te=function(k,H,$,Z){var ie=k===Qt,Fe=u("operator","*");Fe&&m();var Ie=u("name")?Tn(ie?Ei:ri):null;ie&&!Ie&&(Z?k=Ft:C()),Ie&&k!==Fi&&!(Ie instanceof wn)&&C(_());var rt=[],Gt=Ue(!0,Fe||H,$,Ie,rt);return new k({start:rt.start,end:Gt.end,is_generator:Fe,async:$,name:Ie,argnames:rt,body:Gt})};class he{constructor(H,$,Z=!1){this.is_parameter=H,this.duplicates_ok=Z,this.parameters=new Set,this.duplicate=null,this.default_assignment=!1,this.spread=!1,this.strict_mode=!!$}add_parameter(H){if(this.parameters.has(H.value))this.duplicate===null&&(this.duplicate=H),this.check_strict();else if(this.parameters.add(H.value),this.is_parameter)switch(H.value){case"arguments":case"eval":case"yield":this.strict_mode&&x(H,"Unexpected "+H.value+" identifier as parameter inside strict mode");break;default:ss.has(H.value)&&C()}}mark_default_assignment(H){this.default_assignment===!1&&(this.default_assignment=H)}mark_spread(H){this.spread===!1&&(this.spread=H)}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&&x(this.duplicate,"Parameter "+this.duplicate.value+" was used already")}}function le(k){var H=new he(!0,o.input.has_directive("use strict"));for(I("(");!u("punc",")");){var $=Ae(H);if(k.push($),u("punc",")")||I(","),$ instanceof ht)break}m()}function Ae(k,H){var $,Z=!1;return k===void 0&&(k=new he(!0,o.input.has_directive("use strict"))),u("expand","...")&&(Z=o.token,k.mark_spread(o.token),m()),$=Pe(k,H),u("operator","=")&&Z===!1&&(k.mark_default_assignment(o.token),m(),$=new Rr({start:$.start,left:$,operator:"=",right:mt(!1),end:o.token})),Z!==!1&&(u("punc",")")||C(),$=new ht({start:Z,expression:$,end:Z})),k.check_strict(),$}function Pe(k,H){var $=[],Z=!0,ie=!1,Fe,Ie=o.token;if(k===void 0){const Ir=o.input.has_directive("use strict"),Bt=H===Ui;k=new he(!1,Ir,Bt)}if(H=H===void 0?Nn:H,u("punc","[")){for(m();!u("punc","]");){if(Z?Z=!1:I(","),u("expand","...")&&(ie=!0,Fe=o.token,k.mark_spread(o.token),m()),u("punc"))switch(o.token.value){case",":$.push(new wr({start:o.token,end:o.token}));continue;case"]":break;case"[":case"{":$.push(Pe(k,H));break;default:C()}else u("name")?(k.add_parameter(o.token),$.push(Tn(H))):S("Invalid function parameter");u("operator","=")&&ie===!1&&(k.mark_default_assignment(o.token),m(),$[$.length-1]=new Rr({start:$[$.length-1].start,left:$[$.length-1],operator:"=",right:mt(!1),end:o.token})),ie&&(u("punc","]")||S("Rest element must be last element"),$[$.length-1]=new ht({start:Fe,expression:$[$.length-1],end:Fe}))}return I("]"),k.check_strict(),new Vt({start:Ie,names:$,is_array:!0,end:_()})}else if(u("punc","{")){for(m();!u("punc","}");){if(Z?Z=!1:I(","),u("expand","...")&&(ie=!0,Fe=o.token,k.mark_spread(o.token),m()),u("name")&&(sr(h(),"punc")||sr(h(),"operator"))&&[",","}","="].includes(h().value)){k.add_parameter(o.token);var rt=_(),Gt=Tn(H);ie?$.push(new ht({start:Fe,expression:Gt,end:Gt.end})):$.push(new Yt({start:rt,key:Gt.name,value:Gt,end:Gt.end}))}else{if(u("punc","}"))continue;var on=o.token,bn=ut();bn===null?C(_()):_().type==="name"&&!u("punc",":")?$.push(new Yt({start:_(),key:bn,value:new H({start:_(),name:bn,end:_()}),end:_()})):(I(":"),$.push(new Yt({start:on,quote:on.quote,key:bn,value:Pe(k,H),end:_()})))}ie?u("punc","}")||S("Rest element must be last element"):u("operator","=")&&(k.mark_default_assignment(o.token),m(),$[$.length-1].value=new Rr({start:$[$.length-1].value.start,left:$[$.length-1].value,operator:"=",right:mt(!1),end:o.token}))}return I("}"),k.check_strict(),new Vt({start:Ie,names:$,is_array:!1,end:_()})}else{if(u("name"))return k.add_parameter(o.token),Tn(H);S("Invalid function parameter")}}function _e(k,H){var $,Z,ie,Fe=[];for(I("(");!u("punc",")");)$&&C($),u("expand","...")?($=o.token,H&&(Z=o.token),m(),Fe.push(new ht({start:_(),expression:mt(),end:o.token}))):Fe.push(mt()),u("punc",")")||(I(","),u("punc",")")&&(ie=_(),H&&(Z=ie)));return I(")"),k&&u("arrow","=>")?$&&ie&&C(ie):Z&&C(Z),Fe}function Ue(k,H,$,Z,ie){var Fe=o.in_loop,Ie=o.labels,rt=o.in_generator,Gt=o.in_async;if(++o.in_function,H&&(o.in_generator=o.in_function),$&&(o.in_async=o.in_function),ie&&le(ie),k&&(o.in_directives=!0),o.in_loop=0,o.labels=[],k){o.input.push_directives_stack();var on=Ee();Z&&gn(Z),ie&&ie.forEach(gn),o.input.pop_directives_stack()}else var on=[new an({start:o.token,value:mt(!1),end:o.token})];return--o.in_function,o.in_loop=Fe,o.labels=Ie,o.in_generator=rt,o.in_async=Gt,on}function J(){return g()||S("Unexpected await expression outside async function",o.prev.line,o.prev.col,o.prev.pos),new mr({start:_(),end:o.token,expression:Ai(!0)})}function ne(){b()||S("Unexpected yield expression outside generator function",o.prev.line,o.prev.col,o.prev.pos);var k=o.token,H=!1,$=!0;return M()||u("punc")&&c_.has(o.token.value)?$=!1:u("operator","*")&&(H=!0,m()),new _r({start:k,is_star:H,expression:$?mt():null,end:_()})}function se(){var k=w(),H=X(!1,!1,!0),$=null;return u("keyword","else")&&(m(),$=X(!1,!1,!0)),new wt({condition:k,body:H,alternative:$})}function Ee(){I("{");for(var k=[];!u("punc","}");)u("eof")&&C(),k.push(X());return m(),k}function me(){I("{");for(var k=[],H=null,$=null,Z;!u("punc","}");)u("eof")&&C(),u("keyword","case")?($&&($.end=_()),H=[],$=new qr({start:(Z=o.token,m(),Z),expression:mt(!0),body:H}),k.push($),I(":")):u("keyword","default")?($&&($.end=_()),H=[],$=new vo({start:(Z=o.token,m(),I(":"),Z),body:H}),k.push($)):(H||C(),H.push(X()));return $&&($.end=_()),m(),k}function At(){var k,H=null,$=null;if(k=new ku({start:o.token,body:Ee(),end:_()}),u("keyword","catch")){var Z=o.token;if(m(),u("punc","{"))var ie=null;else{I("(");var ie=Ae(void 0,Kr);I(")")}H=new Yr({start:Z,argname:ie,body:Ee(),end:_()})}if(u("keyword","finally")){var Z=o.token;m(),$=new zo({start:Z,body:Ee(),end:_()})}return!H&&!$&&S("Missing catch/finally blocks"),new gr({body:k,bcatch:H,bfinally:$})}function jt(k,H){for(var $=[],Z;;){var ie=H==="var"?Ui:H==="const"?no:H==="let"?Wo:null;if(u("punc","{")||u("punc","[")?Z=new Lt({start:o.token,name:Pe(void 0,ie),value:u("operator","=")?(A("operator","="),mt(!1,k)):null,end:_()}):(Z=new Lt({start:o.token,name:Tn(ie),value:u("operator","=")?(m(),mt(!1,k)):!k&&H==="const"?S("Missing initializer in const declaration"):null,end:_()}),Z.name.name=="import"&&S("Unexpected token: import")),$.push(Z),!u("punc",","))break;m()}return $}var Et=function(k){return new Rn({start:_(),definitions:jt(k,"var"),end:_()})},Mt=function(k){return new Jr({start:_(),definitions:jt(k,"let"),end:_()})},gt=function(k){return new Zr({start:_(),definitions:jt(k,"const"),end:_()})},Dt=function(k){var H=o.token;if(A("operator","new"),u("punc","."))return m(),A("name","target"),fn(new $o({start:H,end:_()}),k);var $=De(!1),Z;u("punc","(")?(m(),Z=bt(")",!0)):Z=[];var ie=new nr({start:H,expression:$,args:Z,end:_()});return Fn(ie),fn(ie,k)};function Jt(){var k=o.token,H;switch(k.type){case"name":H=ft(Se);break;case"num":H=new Je({start:k,end:k,value:k.value,raw:_u});break;case"big_int":H=new ii({start:k,end:k,value:k.value});break;case"string":H=new dt({start:k,end:k,value:k.value,quote:k.quote}),Fn(H);break;case"regexp":const[$,Z,ie]=k.value.match(/^\/(.*)\/(\w*)$/);H=new lr({start:k,end:k,value:{source:Z,flags:ie}});break;case"atom":switch(k.value){case"false":H=new Hi({start:k,end:k});break;case"true":H=new br({start:k,end:k});break;case"null":H=new fr({start:k,end:k});break}break}return m(),H}function oe(k,H){var $=function(Z,ie){return ie?new Rr({start:Z.start,left:Z,operator:"=",right:ie,end:ie.end}):Z};if(k instanceof Nt)return $(new Vt({start:k.start,end:k.end,is_array:!1,names:k.properties.map(Z=>oe(Z))}),H);if(k instanceof Yt)return k.value=oe(k.value),$(k,H);if(k instanceof wr)return k;if(k instanceof Vt)return k.names=k.names.map(Z=>oe(Z)),$(k,H);if(k instanceof Se)return $(new Nn({name:k.name,start:k.start,end:k.end}),H);if(k instanceof ht)return k.expression=oe(k.expression),$(k,H);if(k instanceof St)return $(new Vt({start:k.start,end:k.end,is_array:!0,names:k.elements.map(Z=>oe(Z))}),H);if(k instanceof st)return $(oe(k.left,k.right),H);if(k instanceof Rr)return k.left=oe(k.left),k;S("Invalid function parameter",k.start.line,k.start.col)}var De=function(k,H){if(u("operator","new"))return Dt(k);if(u("name","import")&&sr(h(),"punc","."))return Ti(k);var $=o.token,Z,ie=u("name","async")&&(Z=h()).value!="["&&Z.type!="arrow"&&Jt();if(u("punc")){switch(o.token.value){case"(":if(ie&&!k)break;var Fe=_e(H,!ie);if(H&&u("arrow","=>"))return ye($,Fe.map(Bt=>oe(Bt)),!!ie);var Ie=ie?new je({expression:ie,args:Fe}):Po($,Fe);if(Ie.start){const Bt=$.comments_before.length;if(n.set($,Bt),Ie.start.comments_before.unshift(...$.comments_before),$.comments_before=Ie.start.comments_before,Bt==0&&$.comments_before.length>0){var rt=$.comments_before[0];rt.nlb||(rt.nlb=$.nlb,$.nlb=!1)}$.comments_after=Ie.start.comments_after}Ie.start=$;var Gt=_();return Ie.end&&(Gt.comments_before=Ie.end.comments_before,Ie.end.comments_after.push(...Gt.comments_after),Gt.comments_after=Ie.end.comments_after),Ie.end=Gt,Ie instanceof je&&Fn(Ie),fn(Ie,k);case"[":return fn(xt(),k);case"{":return fn(Mn(),k)}ie||C()}if(H&&u("name")&&sr(h(),"arrow")){var on=new Nn({name:o.token.value,start:$,end:$});return m(),ye($,[on],!!ie)}if(u("keyword","function")){m();var bn=te(Ft,!1,!!ie);return bn.start=$,bn.end=_(),fn(bn,k)}if(ie)return fn(ie,k);if(u("keyword","class")){m();var Ir=Zt(vi);return Ir.start=$,Ir.end=_(),fn(Ir,k)}if(u("template_head"))return fn(pe(),k);if(b_.has(o.token.type))return fn(Jt(),k);C()};function pe(){var k=[],H=o.token;for(k.push(new mi({start:o.token,raw:as.get(o.token),value:o.token.value,end:o.token}));!o.token.template_end;)m(),V(),k.push(mt(!0)),k.push(new mi({start:o.token,raw:as.get(o.token),value:o.token.value,end:o.token}));return m(),new $n({start:H,segments:k,end:o.token})}function bt(k,H,$){for(var Z=!0,ie=[];!u("punc",k)&&(Z?Z=!1:I(","),!(H&&u("punc",k)));)u("punc",",")&&$?ie.push(new wr({start:o.token,end:o.token})):u("expand","...")?(m(),ie.push(new ht({start:_(),expression:mt(),end:o.token}))):ie.push(mt(!1));return m(),ie}var xt=D(function(){return I("["),new St({elements:bt("]",!e.strict,!0)})}),Ct=D((k,H)=>te(Fi,k,H)),Mn=D(function(){var H=o.token,$=!0,Z=[];for(I("{");!u("punc","}")&&($?$=!1:I(","),!(!e.strict&&u("punc","}")));){if(H=o.token,H.type=="expand"){m(),Z.push(new ht({start:H,expression:mt(!1),end:_()}));continue}u("privatename")&&S("private fields are not allowed in an object");var ie=ut(),Fe;if(u("punc",":"))ie===null?C(_()):(m(),Fe=mt(!1));else{var Ie=pn(ie,H);if(Ie){Z.push(Ie);continue}Fe=new Se({start:_(),name:ie,end:_()})}u("operator","=")&&(m(),Fe=new st({start:H,left:Fe,operator:"=",right:mt(!1),logical:!1,end:_()}));const rt=new Yt({start:H,quote:H.quote,key:ie instanceof Te?ie:""+ie,value:Fe,end:_()});Z.push(Fn(rt))}return m(),new Nt({properties:Z})});function Zt(k,H){var $,Z,ie,Fe,Ie=[];o.input.push_directives_stack(),o.input.add_directive("use strict"),o.token.type=="name"&&o.token.value!="extends"&&(ie=Tn(k===Gr?Ru:wu)),k===Gr&&!ie&&(H?k=vi:C()),o.token.value=="extends"&&(m(),Fe=mt(!0)),I("{");const rt=o.in_class;for(o.in_class=!0;u("punc",";");)m();for(;!u("punc","}");)for($=o.token,Z=pn(ut(),$,!0),Z||C(),Ie.push(Z);u("punc",";");)m();return o.in_class=rt,o.input.pop_directives_stack(),m(),new k({start:$,name:ie,extends:Fe,properties:Ie,end:_()})}function pn(k,H,$){const Z=(Bt,$r=Bn)=>typeof Bt=="string"||typeof Bt=="number"?new $r({start:H,name:""+Bt,end:_()}):(Bt===null&&C(),Bt),ie=()=>!u("punc","(")&&!u("punc",",")&&!u("punc","}")&&!u("punc",";")&&!u("operator","=");var Fe=!1,Ie=!1,rt=!1,Gt=!1,on=null;if($&&k==="static"&&ie()){const Bt=Ht();if(Bt!=null)return Bt;Ie=!0,k=ut()}k==="async"&&ie()&&(Fe=!0,k=ut()),_().type==="operator"&&_().value==="*"&&(rt=!0,k=ut()),(k==="get"||k==="set")&&ie()&&(on=k,k=ut()),_().type==="privatename"&&(Gt=!0);const bn=_();if(on!=null)if(Gt){const Bt=on==="get"?ei:_i;return Fn(new Bt({start:H,static:Ie,key:Z(k),value:Ct(),end:_()}))}else{const Bt=on==="get"?Hr:ti;return k=Z(k),Fn(new Bt({start:H,static:Ie,key:k,quote:k instanceof Bn?bn.quote:void 0,value:Ct(),end:_()}))}if(u("punc","(")){k=Z(k);const Bt=Gt?gi:Ln;var Ir=new Bt({start:H,static:Ie,is_generator:rt,async:Fe,key:k,quote:k instanceof Bn?bn.quote:void 0,value:Ct(rt,Fe),end:_()});return Fn(Ir)}if($){const Bt=Z(k,ji),$r=Bt instanceof ji?bn.quote:void 0,Tr=Gt?bi:cr;if(u("operator","="))return m(),Fn(new Tr({start:H,static:Ie,quote:$r,key:Bt,value:mt(!1),end:_()}));if(u("name")||u("privatename")||u("operator","*")||u("punc",";")||u("punc","}"))return Fn(new Tr({start:H,static:Ie,quote:$r,key:Bt,end:_()}))}}function Ht(){if(!u("punc","{"))return null;const k=o.token,H=[];for(m();!u("punc","}");)H.push(X());return m(),new Xn({start:k,body:H,end:_()})}function It(){return u("name","assert")&&!j(o.token)?(m(),Mn()):null}function ln(){var k=_(),H,$;u("name")&&(H=Tn(Xo)),u("punc",",")&&m(),$=Be(!0),($||H)&&A("name","from");var Z=o.token;Z.type!=="string"&&C(),m();const ie=It();return new kr({start:k,imported_name:H,imported_names:$,module_name:new dt({start:Z,value:Z.value,quote:Z.quote,end:Z}),assert_clause:ie,end:o.token})}function Ti(k){var H=o.token;return A("name","import"),A("punc","."),A("name","meta"),fn(new Mi({start:H,end:_()}),k)}function B(k){function H(rt,Gt){return new rt({name:ut(),quote:Gt||void 0,start:_(),end:_()})}var $=k?Eo:Si,Z=k?Xo:So,ie=o.token,Fe,Ie;return k?Fe=H($,ie.quote):Ie=H(Z,ie.quote),u("name","as")?(m(),k?Ie=H(Z):Fe=H($,o.token.quote)):k?Ie=new Z(Fe):Fe=new $(Ie),new Qr({start:ie,foreign_name:Fe,name:Ie,end:_()})}function Re(k,H){var $=k?Eo:Si,Z=k?Xo:So,ie=o.token,Fe,Ie,rt=_();return k?Fe=H:Ie=H,Fe=Fe||new Z({start:ie,name:"*",end:rt}),Ie=Ie||new $({start:ie,name:"*",end:rt}),new Qr({start:ie,foreign_name:Ie,name:Fe,end:rt})}function Be(k){var H;if(u("punc","{")){for(m(),H=[];!u("punc","}");)H.push(B(k)),u("punc",",")&&m();m()}else if(u("operator","*")){var $;m(),u("name","as")&&(m(),$=k?Tn(Xo):ci(Si)),H=[Re(k,$)]}return H}function Me(){var k=o.token,H,$;if(u("keyword","default"))H=!0,m();else if($=Be(!1))if(u("name","from")){m();var Z=o.token;Z.type!=="string"&&C(),m();const rt=It();return new On({start:k,is_default:H,exported_names:$,module_name:new dt({start:Z,value:Z.value,quote:Z.quote,end:Z}),end:_(),assert_clause:rt})}else return new On({start:k,is_default:H,exported_names:$,end:_()});var ie,Fe,Ie;return u("punc","{")||H&&(u("keyword","class")||u("keyword","function"))&&sr(h(),"punc")?(Fe=mt(!1),O()):(ie=X(H))instanceof sn&&H?C(ie.start):ie instanceof sn||ie instanceof Qt||ie instanceof Gr?Ie=ie:ie instanceof vi||ie instanceof Ft?Fe=ie:ie instanceof He?Fe=ie.body:C(ie.start),new On({start:k,is_default:H,exported_value:Fe,exported_definition:Ie,end:_(),assert_clause:null})}function ut(){var k=o.token;switch(k.type){case"punc":if(k.value==="["){m();var H=mt(!1);return I("]"),H}else C(k);case"operator":if(k.value==="*")return m(),null;["delete","in","instanceof","new","typeof","void"].includes(k.value)||C(k);case"name":case"privatename":case"string":case"num":case"big_int":case"keyword":case"atom":return m(),k.value;default:C(k)}}function rn(){var k=o.token;return k.type!="name"&&k.type!="privatename"&&C(),m(),k.value}function ft(k){var H=o.token.value;return new(H=="this"?Un:H=="super"?qo:k)({name:String(H),start:o.token,end:o.token})}function gn(k){var H=k.name;b()&&H=="yield"&&x(k.start,"Yield cannot be used as identifier inside generators"),o.input.has_directive("use strict")&&(H=="yield"&&x(k.start,"Unexpected yield identifier inside strict mode"),k instanceof wn&&(H=="arguments"||H=="eval")&&x(k.start,"Unexpected "+H+" in strict mode"))}function Tn(k,H){if(!u("name"))return H||S("Name expected"),null;var $=ft(k);return gn($),m(),$}function ci(k){if(!u("name")){u("string")||S("Name or string expected");var H=o.token,$=new k({start:H,end:H,name:H.value,quote:H.quote});return m(),$}var Z=ft(k);return gn(Z),m(),Z}function Fn(k,H=k.start){var $=H.comments_before;const Z=n.get(H);for(var ie=Z??$.length;--ie>=0;){var Fe=$[ie];if(/[@#]__/.test(Fe.value)){if(/[@#]__PURE__/.test(Fe.value)){os(k,Pl);break}if(/[@#]__INLINE__/.test(Fe.value)){os(k,Il);break}if(/[@#]__NOINLINE__/.test(Fe.value)){os(k,To);break}if(/[@#]__KEY__/.test(Fe.value)){os(k,ds);break}if(/[@#]__MANGLE_PROP__/.test(Fe.value)){os(k,ys);break}}}return k}var fn=function(k,H,$){var Z=k.start;if(u("punc",".")){m(),u("privatename")&&!o.in_class&&S("Private field must be used in an enclosing class");const Ie=u("privatename")?jr:$t;return Fn(fn(new Ie({start:Z,expression:k,optional:!1,property:rn(),end:_()}),H,$))}if(u("punc","[")){m();var ie=mt(!0);return I("]"),Fn(fn(new Sn({start:Z,expression:k,optional:!1,property:ie,end:_()}),H,$))}if(H&&u("punc","(")){m();var Fe=new je({start:Z,expression:k,optional:!1,args:uo(),end:_()});return Fn(Fe),fn(Fe,!0,$)}if(u("punc","?.")){m();let Ie;if(H&&u("punc","(")){m();const rt=new je({start:Z,optional:!0,expression:k,args:uo(),end:_()});Fn(rt),Ie=fn(rt,!0,!0)}else if(u("name")||u("privatename")){u("privatename")&&!o.in_class&&S("Private field must be used in an enclosing class");const rt=u("privatename")?jr:$t;Ie=Fn(fn(new rt({start:Z,expression:k,optional:!0,property:rn(),end:_()}),H,!0))}else if(u("punc","[")){m();const rt=mt(!0);I("]"),Ie=Fn(fn(new Sn({start:Z,expression:k,optional:!0,property:rt,end:_()}),H,!0))}return Ie||C(),Ie instanceof mn?Ie:new mn({start:Z,expression:Ie,end:_()})}return u("template_head")?($&&C(),fn(new Vr({start:Z,prefix:k,template_string:pe(),end:_()}),H)):k};function uo(){for(var k=[];!u("punc",")");)u("expand","...")?(m(),k.push(new ht({start:_(),expression:mt(!1),end:_()}))):k.push(mt(!1)),u("punc",")")||I(",");return m(),k}var Ai=function(k,H){var $=o.token;if($.type=="name"&&$.value=="await"&&g())return m(),J();if(u("operator")&&m_.has($.value)){m(),V();var Z=co(We,$,Ai(k));return Z.start=$,Z.end=_(),Z}for(var ie=De(k,H);u("operator")&&Xp.has(o.token.value)&&!j(o.token);)ie instanceof qt&&C(),ie=co(Bi,o.token,ie),ie.start=$,ie.end=o.token,m();return ie};function co(k,H,$){var Z=H.value;switch(Z){case"++":case"--":$i($)||S("Invalid use of "+Z+" operator",H.line,H.col,H.pos);break;case"delete":$ instanceof Se&&o.input.has_directive("use strict")&&S("Calling delete on expression not allowed in strict mode",$.start.line,$.start.col,$.start.pos);break}return new k({operator:Z,expression:$})}var Sr=function(k,H,$){var Z=u("operator")?o.token.value:null;Z=="in"&&$&&(Z=null),Z=="**"&&k instanceof We&&!sr(k.start,"punc","(")&&k.operator!=="--"&&k.operator!=="++"&&C(k.start);var ie=Z!=null?Dr[Z]:null;if(ie!=null&&(ie>H||Z==="**"&&H===ie)){m();var Fe=zr($,ie,!0);return Sr(new ae({start:k.start,left:k,operator:Z,right:Fe,end:Fe.end}),H,$)}return k};function zr(k,H,$,Z){if(!k&&H<Dr.in&&u("privatename")){o.in_class||S("Private field must be used in an enclosing class");const ie=o.token,Fe=new hs({start:ie,name:ie.value,end:ie});m(),A("operator","in");const Ie=new ni({start:ie,key:Fe,value:zr(k,Dr.in,!0),end:_()});return Sr(Ie,0,k)}else return Sr(Ai($,Z),H,k)}var No=function(k){var H=o.token,$=zr(k,0,!0,!0);if(u("operator","?")){m();var Z=mt(!1);return I(":"),new tt({start:H,condition:$,consequent:Z,alternative:mt(!1,k),end:_()})}return $};function $i(k){return k instanceof Xe||k instanceof Se}function Pr(k){if(k instanceof Nt)k=new Vt({start:k.start,names:k.properties.map(Pr),is_array:!1,end:k.end});else if(k instanceof St){for(var H=[],$=0;$<k.elements.length;$++)k.elements[$]instanceof ht&&($+1!==k.elements.length&&x(k.elements[$].start,"Spread must the be last element in destructuring array"),k.elements[$].expression=Pr(k.elements[$].expression)),H.push(Pr(k.elements[$]));k=new Vt({start:k.start,names:H,is_array:!0,end:k.end})}else k instanceof un?k.value=Pr(k.value):k instanceof st&&(k=new Rr({start:k.start,left:k.left,operator:"=",right:k.right,end:k.end}));return k}var li=function(k){V();var H=o.token;if(H.type=="name"&&H.value=="yield"){if(b())return m(),ne();o.input.has_directive("use strict")&&x(o.token,"Unexpected yield identifier inside strict mode")}var $=No(k),Z=o.token.value;if(u("operator")&&__.has(Z)){if($i($)||($=Pr($))instanceof Vt)return m(),new st({start:H,left:$,operator:Z,right:li(k),logical:g_.has(Z),end:_()});S("Invalid assignment")}return $},Po=function(k,H){if(H.length===1)return H[0];if(H.length>1)return new lt({start:k,expressions:H,end:h()});S("Invalid parenthesized expression")},mt=function(k,H){for(var $=o.token,Z=[];Z.push(li(H)),!(!k||!u("punc",","));)m(),k=!0;return Po($,Z)};function ir(k){++o.in_loop;var H=k();return--o.in_loop,H}return e.expression?mt(!0):function(){var H=o.token,$=[];for(o.input.push_directives_stack(),e.module&&o.input.add_directive("use strict");!u("eof");)$.push(X());o.input.pop_directives_stack();var Z=_(),ie=e.toplevel;return ie?(ie.body=ie.body.concat($),ie.end=Z):ie=new zt({start:H,body:$,end:Z}),as=new Map,ie}()}function fe(t,e,n,o,u=Te){e?e=e.split(/\s+/):e=[];var h=e;u&&u.PROPS&&(e=e.concat(u.PROPS));const m=u&&Object.create(u.prototype);if(m&&(n.prototype=m,n.BASE=u),u&&u.SUBCLASSES.push(n),n.prototype.CTOR=n,n.prototype.constructor=n,n.PROPS=e||null,n.SELF_PROPS=h,n.SUBCLASSES=[],t&&(n.prototype.TYPE=n.TYPE=t),o)for(let _ in o)er(o,_)&&(_[0]==="$"?n[_.substr(1)]=o[_]:n.prototype[_]=o[_]);return n.DEFMETHOD=function(_,S){this.prototype[_]=S},n}const Ou=(t,e)=>!!(t.flags&e),Du=(t,e,n)=>{n?t.flags|=e:t.flags&=~e},qp=1,Yp=2,Jp=4,Zp=8;class Rl{constructor(e,n,o,u,h,m,_,S,x){this.flags=m?1:0,this.type=e,this.value=n,this.line=o,this.col=u,this.pos=h,this.comments_before=_,this.comments_after=S,this.file=x,Object.seal(this)}[Symbol.for("nodejs.util.inspect.custom")](e,n){const o=m=>n.stylize(m,"special"),u=typeof this.value=="string"&&this.value.includes("`")?"'":"`",h=`${u}${this.value}${u}`;return`${o("[AST_Token")} ${h} at ${this.line}:${this.col}${o("]")}`}get nlb(){return Ou(this,qp)}set nlb(e){Du(this,qp,e)}get quote(){return Ou(this,Jp)?Ou(this,Yp)?"'":'"':""}set quote(e){Du(this,Yp,e==="'"),Du(this,Jp,!!e)}get template_end(){return Ou(this,Zp)}set template_end(e){Du(this,Zp,e)}}var Te=fe("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 pr(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),kn=fe("Statement",null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Base class of all statements"}),Pi=fe("Debugger",null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Represents a debugger statement"},kn),tr=fe("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"}},kn),He=fe("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)}},kn);function _o(t,e){const n=t.body;for(var o=0,u=n.length;o<u;o++)n[o]._walk(e)}function wl(t){var e=this._clone(t);return this.block_scope&&(e.block_scope=this.block_scope.clone()),e}var vn=fe("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(){_o(this,t)})},_children_backwards(t){let e=this.body.length;for(;e--;)t(this.body[e])},clone:wl},kn),Ye=fe("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"},vn),Rt=fe("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)"},kn),go=fe("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"}},kn),Jn=fe("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,o=this.label;e.walk(new In(function(u){u instanceof Xr&&u.label&&u.label.thedef===o&&(u.label.thedef=n,n.references.push(u))}))}return e}},go),Ur=fe("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:wl},go),Cu=fe("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"}},Ur),yi=fe("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)}},Cu),Ii=fe("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)}},Cu),En=fe("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)}},Ur),zn=fe("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)}},Ur),bo=fe("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"},zn),yr=fe("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)}},go),qe=fe("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}},vn),zt=fe("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=us(n),n=n.transform(new pr(function(o){if(o instanceof tr&&o.value=="$ORIG")return Xt.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 us(["(function(",t.slice(0,e),'){"$ORIG"})(',t.slice(e+1),")"].join("")).transform(new pr(function(o){if(o instanceof tr&&o.value=="$ORIG")return Xt.splice(n)}))}},qe),ht=fe("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)}}),Ke=fe("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,o=e.length;n<o;n++)e[n]._walk(t);_o(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 an&&this.body[0].value},length_property(){let t=0;for(const e of this.argnames)(e instanceof Nn||e instanceof Vt)&&t++;return t}},qe),Fi=fe("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."},Ke),Ft=fe("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"},Ke),qt=fe("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)"},Ke),Qt=fe("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"},Ke),Vt=fe("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 wn&&t.push(e),e instanceof Ke)return!0}),t}}),Vr=fe("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)}}),$n=fe("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])}}),mi=fe("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"}}),cs=fe("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`)"},kn),ur=fe("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)}},cs),an=fe("Return",null,function(e){e&&(this.value=e.value,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `return` statement"},ur),ls=fe("Throw",null,function(e){e&&(this.value=e.value,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `throw` statement"},ur),Xr=fe("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)}},cs),Cr=fe("Break",null,function(e){e&&(this.label=e.label,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `break` statement"},Xr),to=fe("Continue",null,function(e){e&&(this.label=e.label,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `continue` statement"},Xr),mr=fe("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)}}),_r=fe("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=fe("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)}},go),Wn=fe("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),_o(this,t)})},_children_backwards(t){let e=this.body.length;for(;e--;)t(this.body[e]);t(this.expression)}},vn),Li=fe("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"},vn),vo=fe("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"},Li),qr=fe("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),_o(this,t)})},_children_backwards(t){let e=this.body.length;for(;e--;)t(this.body[e]);t(this.expression)}},Li),gr=fe("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)}},kn),ku=fe("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"},vn),Yr=fe("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),_o(this,t)})},_children_backwards(t){let e=this.body.length;for(;e--;)t(this.body[e]);this.argname&&t(this.argname)}},vn),zo=fe("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"},vn),sn=fe("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,o=e.length;n<o;n++)e[n]._walk(t)})},_children_backwards(t){let e=this.definitions.length;for(;e--;)t(this.definitions[e])}},kn),Rn=fe("Var",null,function(e){e&&(this.definitions=e.definitions,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `var` statement"},sn),Jr=fe("Let",null,function(e){e&&(this.definitions=e.definitions,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `let` statement"},sn),Zr=fe("Const",null,function(e){e&&(this.definitions=e.definitions,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `const` statement"},sn),Lt=fe("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 wn?[this]:this.name.all_symbols()}}),Qr=fe("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)}}),kr=fe("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)}}),Mi=fe("ImportMeta",null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A reference to import.meta"}),On=fe("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)}},kn),je=fe("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,o=e.length;n<o;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)}}),nr=fe("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=fe("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=fe("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 ?.)"}}),$t=fe("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),jr=fe("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),Sn=fe("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),mn=fe("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)}}),Wt=fe("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=fe("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`"},Wt),Bi=fe("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++`"},Wt),ae=fe("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=fe("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=fe("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),Rr=fe("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=fe("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,o=e.length;n<o;n++)e[n]._walk(t)})},_children_backwards(t){let e=this.elements.length;for(;e--;)t(this.elements[e])}}),Nt=fe("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,o=e.length;n<o;n++)e[n]._walk(t)})},_children_backwards(t){let e=this.properties.length;for(;e--;)t(this.properties[e])}}),un=fe("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 Te&&this.key._walk(t),this.value._walk(t)})},_children_backwards(t){t(this.value),this.key instanceof Te&&t(this.key)}}),Yt=fe("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 Te}},un),_i=fe("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}},un),ei=fe("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}},un),ti=fe("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 Bn)}},un),Hr=fe("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 Bn)}},un),Ln=fe("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 Bn)}},un),gi=fe("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"},Ln),_t=fe("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 Xn){e._walk(t);return}e.computed_key()&&(t.push(e),e.key._walk(t),t.pop()),(e instanceof bi||e instanceof cr)&&e.static&&e.value&&(t.push(e),e.value._walk(t),t.pop())})},visit_deferred_class_parts(t){this.properties.forEach(e=>{e instanceof Ln?e.walk(t):e instanceof cr&&!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 In((o,u)=>{if(e)return!0;if(o instanceof Un)return e=n;if(o instanceof Se)return e=o.definition().id===t;if(o instanceof Ke&&!(o instanceof qt)){const h=n;return n=!1,u(),n=h,!0}})),e}},qe),cr=fe("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 Te&&this.key._walk(t),this.value instanceof Te&&this.value._walk(t)})},_children_backwards(t){this.value instanceof Te&&t(this.value),this.key instanceof Te&&t(this.key)},computed_key(){return!(this.key instanceof ji)}},un),bi=fe("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"},cr),ni=fe("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)}}),Gr=fe("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"},_t),Xn=fe("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(){_o(this,t)})},_children_backwards(t){let e=this.body.length;for(;e--;)t(this.body[e])},clone:wl,computed_key:()=>!1},qe),vi=fe("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."},_t),pt=fe("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"}),$o=fe("NewTarget",null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A reference to new.target"}),wn=fe("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),Ui=fe("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"},wn),Vi=fe("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"},wn),no=fe("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"},Vi),Wo=fe("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"},Vi),Nn=fe("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"},Ui),Ei=fe("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"},wn),Bn=fe("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),ji=fe("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),ri=fe("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"},wn),Ru=fe("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."},Vi),wu=fe("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."},wn),Kr=fe("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"},Vi),Xo=fe("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"},Vi),Eo=fe("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),fs=fe("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),Se=fe("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),So=fe("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"},Se),Si=fe("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),Nl=fe("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),hs=fe("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),Un=fe("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),qo=fe("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"},Un),Tt=fe("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=fe("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),Je=fe("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),ii=fe("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),lr=fe("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),ro=fe("Atom",null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Base class for atoms"},Tt),fr=fe("Null",null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"The `null` atom",value:null},ro),ps=fe("NaN",null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"The impossible value",value:NaN},ro),en=fe("Undefined",null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"The `undefined` value",value:function(){}()},ro),wr=fe("Hole",null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A hole in an array",value:function(){}()},ro),io=fe("Infinity",null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"The `Infinity` value",value:1/0},ro),Nu=fe("Boolean",null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Base class for booleans"},ro),Hi=fe("False",null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"The `false` atom",value:!1},Nu),br=fe("True",null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"The `true` atom",value:!0},Nu);function Pn(t,e,n=[t]){const o=n.push.bind(n);for(;n.length;){const u=n.pop(),h=e(u,n);if(h){if(h===hr)return!0;continue}u._children_backwards(o)}return!1}function Qp(t,e,n){const o=[t],u=o.push.bind(o),h=n?n.slice():[],m=[];let _;const S={parent:(x=0)=>x===-1?_:n&&x>=h.length?(x-=h.length,n[n.length-(x+1)]):h[h.length-(1+x)]};for(;o.length;){for(_=o.pop();m.length&&o.length==m[m.length-1];)h.pop(),m.pop();const x=e(_,S);if(x){if(x===hr)return!0;continue}const C=o.length;_._children_backwards(u),o.length>C&&(h.push(_),m.push(C-1))}return!1}const hr=Symbol("abort walk");class In{constructor(e){this.visit=e,this.stack=[],this.directives=Object.create(null)}_visit(e,n){this.push(e);var o=this.visit(e,n?function(){n.call(e)}:dr);return!o&&n&&n.call(e),this.pop(),o}parent(e){return this.stack[this.stack.length-2-(e||0)]}push(e){e instanceof Ke?this.directives=Object.create(this.directives):e instanceof tr&&!this.directives[e.value]?this.directives[e.value]=e:e instanceof _t&&(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 Ke||e instanceof _t)&&(this.directives=Object.getPrototypeOf(this.directives))}self(){return this.stack[this.stack.length-1]}find_parent(e){for(var n=this.stack,o=n.length;--o>=0;){var u=n[o];if(u instanceof e)return u}}find_scope(){for(var e=this.stack,n=e.length;--n>=0;){const o=e[n];if(o instanceof zt||o instanceof Ke)return o;if(o.block_scope)return o.block_scope}}has_directive(e){var n=this.directives[e];if(n)return n;var o=this.stack[this.stack.length-1];if(o instanceof qe&&o.body)for(var u=0;u<o.body.length;++u){var h=o.body[u];if(!(h instanceof tr))break;if(h.value==e)return h}}loopcontrol_target(e){var n=this.stack;if(e.label)for(var o=n.length;--o>=0;){var u=n[o];if(u instanceof Jn&&u.label.name==e.label.name)return u.body}else for(var o=n.length;--o>=0;){var u=n[o];if(u instanceof Ur||e instanceof Cr&&u instanceof Wn)return u}}}class pr extends In{constructor(e,n){super(),this.before=e,this.after=n}}const Pl=1,Il=2,To=4,ds=8,ys=16;function yt(t,e){t.DEFMETHOD("transform",function(n,o){let u;if(n.push(this),n.before&&(u=n.before(this,e,o)),u===void 0&&(u=this,e(u,n),n.after)){const h=n.after(u,o);h!==void 0&&(u=h)}return n.pop(),u})}yt(Te,dr),yt(Jn,function(t,e){t.label=t.label.transform(e),t.body=t.body.transform(e)}),yt(He,function(t,e){t.body=t.body.transform(e)}),yt(vn,function(t,e){t.body=Xt(t.body,e)}),yt(yi,function(t,e){t.body=t.body.transform(e),t.condition=t.condition.transform(e)}),yt(Ii,function(t,e){t.condition=t.condition.transform(e),t.body=t.body.transform(e)}),yt(En,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)}),yt(zn,function(t,e){t.init=t.init.transform(e),t.object=t.object.transform(e),t.body=t.body.transform(e)}),yt(yr,function(t,e){t.expression=t.expression.transform(e),t.body=t.body.transform(e)}),yt(ur,function(t,e){t.value&&(t.value=t.value.transform(e))}),yt(Xr,function(t,e){t.label&&(t.label=t.label.transform(e))}),yt(wt,function(t,e){t.condition=t.condition.transform(e),t.body=t.body.transform(e),t.alternative&&(t.alternative=t.alternative.transform(e))}),yt(Wn,function(t,e){t.expression=t.expression.transform(e),t.body=Xt(t.body,e)}),yt(qr,function(t,e){t.expression=t.expression.transform(e),t.body=Xt(t.body,e)}),yt(gr,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))}),yt(Yr,function(t,e){t.argname&&(t.argname=t.argname.transform(e)),t.body=Xt(t.body,e)}),yt(sn,function(t,e){t.definitions=Xt(t.definitions,e)}),yt(Lt,function(t,e){t.name=t.name.transform(e),t.value&&(t.value=t.value.transform(e))}),yt(Vt,function(t,e){t.names=Xt(t.names,e)}),yt(Ke,function(t,e){t.name&&(t.name=t.name.transform(e)),t.argnames=Xt(t.argnames,e,!1),t.body instanceof Te?t.body=t.body.transform(e):t.body=Xt(t.body,e)}),yt(je,function(t,e){t.expression=t.expression.transform(e),t.args=Xt(t.args,e,!1)}),yt(lt,function(t,e){const n=Xt(t.expressions,e);t.expressions=n.length?n:[new Je({value:0})]}),yt(Xe,function(t,e){t.expression=t.expression.transform(e)}),yt(Sn,function(t,e){t.expression=t.expression.transform(e),t.property=t.property.transform(e)}),yt(mn,function(t,e){t.expression=t.expression.transform(e)}),yt(_r,function(t,e){t.expression&&(t.expression=t.expression.transform(e))}),yt(mr,function(t,e){t.expression=t.expression.transform(e)}),yt(Wt,function(t,e){t.expression=t.expression.transform(e)}),yt(ae,function(t,e){t.left=t.left.transform(e),t.right=t.right.transform(e)}),yt(ni,function(t,e){t.key=t.key.transform(e),t.value=t.value.transform(e)}),yt(tt,function(t,e){t.condition=t.condition.transform(e),t.consequent=t.consequent.transform(e),t.alternative=t.alternative.transform(e)}),yt(St,function(t,e){t.elements=Xt(t.elements,e)}),yt(Nt,function(t,e){t.properties=Xt(t.properties,e)}),yt(un,function(t,e){t.key instanceof Te&&(t.key=t.key.transform(e)),t.value&&(t.value=t.value.transform(e))}),yt(_t,function(t,e){t.name&&(t.name=t.name.transform(e)),t.extends&&(t.extends=t.extends.transform(e)),t.properties=Xt(t.properties,e)}),yt(Xn,function(t,e){t.body=Xt(t.body,e)}),yt(ht,function(t,e){t.expression=t.expression.transform(e)}),yt(Qr,function(t,e){t.foreign_name=t.foreign_name.transform(e),t.name=t.name.transform(e)}),yt(kr,function(t,e){t.imported_name&&(t.imported_name=t.imported_name.transform(e)),t.imported_names&&Xt(t.imported_names,e),t.module_name=t.module_name.transform(e)}),yt(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&&Xt(t.exported_names,e),t.module_name&&(t.module_name=t.module_name.transform(e))}),yt($n,function(t,e){t.segments=Xt(t.segments,e)}),yt(Vr,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 kn&&b[y].body instanceof dt)b[y]=new tr({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:u(b),end:h(b),properties:b.map(y=>new Yt({start:u(y),end:h(y),key:y.key.name||y.key.value,value:_(y.value)}))}):null;var n={Program:function(b){return new zt({start:u(b),end:h(b),body:t(b.body.map(_))})},ArrayPattern:function(b){return new Vt({start:u(b),end:h(b),names:b.elements.map(function(y){return y===null?new wr:_(y)}),is_array:!0})},ObjectPattern:function(b){return new Vt({start:u(b),end:h(b),names:b.properties.map(_),is_array:!1})},AssignmentPattern:function(b){return new Rr({start:u(b),end:h(b),left:_(b.left),operator:"=",right:_(b.right)})},SpreadElement:function(b){return new ht({start:u(b),end:h(b),expression:_(b.argument)})},RestElement:function(b){return new ht({start:u(b),end:h(b),expression:_(b.argument)})},TemplateElement:function(b){return new mi({start:u(b),end:h(b),value:b.value.cooked,raw:b.value.raw})},TemplateLiteral:function(b){for(var y=[],g=0;g<b.quasis.length;g++)y.push(_(b.quasis[g])),b.expressions[g]&&y.push(_(b.expressions[g]));return new $n({start:u(b),end:h(b),segments:y})},TaggedTemplateExpression:function(b){return new Vr({start:u(b),end:h(b),template_string:_(b.quasi),prefix:_(b.tag)})},FunctionDeclaration:function(b){return new Qt({start:u(b),end:h(b),name:_(b.id),argnames:b.params.map(_),is_generator:b.generator,async:b.async,body:t(_(b.body).body)})},FunctionExpression:function(b){return new Ft({start:u(b),end:h(b),name:_(b.id),argnames:b.params.map(_),is_generator:b.generator,async:b.async,body:t(_(b.body).body)})},ArrowFunctionExpression:function(b){const y=b.body.type==="BlockStatement"?_(b.body).body:[P(an,{},{value:_(b.body)})];return new qt({start:u(b),end:h(b),argnames:b.params.map(_),body:y,async:b.async})},ExpressionStatement:function(b){return new He({start:u(b),end:h(b),body:_(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 gr({start:u(b),end:h(b),body:new ku(_(b.block)),bcatch:_(y[0]),bfinally:b.finalizer?new zo(_(b.finalizer)):null})},Property:function(b){var y=b.key,g={start:u(y||b.value),end:h(b.value),key:y.type=="Identifier"?y.name:y.value,value:_(b.value)};if(b.computed&&(g.key=_(b.key)),b.method)return g.is_generator=b.value.generator,g.async=b.value.async,b.computed?g.key=_(b.key):g.key=new Bn({name:g.key}),new Ln(g);if(b.kind=="init")return y.type!="Identifier"&&y.type!="Literal"&&(g.key=_(y)),new Yt(g);if((typeof g.key=="string"||typeof g.key=="number")&&(g.key=new Bn({name:g.key})),g.value=new Fi(g.value),b.kind=="get")return new Hr(g);if(b.kind=="set")return new ti(g);if(b.kind=="method")return g.async=b.value.async,g.is_generator=b.value.generator,g.quote=b.computed?'"':null,new Ln(g)},MethodDefinition:function(b){const y=b.key.type==="PrivateIdentifier",g=b.computed?_(b.key):new Bn({name:b.key.name||b.key.value});var O={start:u(b),end:h(b),key:g,value:_(b.value),static:b.static};return b.kind=="get"?new(y?ei:Hr)(O):b.kind=="set"?new(y?_i:ti)(O):(O.is_generator=b.value.generator,O.async=b.value.async,new(y?gi:Ln)(O))},FieldDefinition:function(b){let y;if(b.computed)y=_(b.key);else{if(b.key.type!=="Identifier")throw new Error("Non-Identifier key in FieldDefinition");y=_(b.key)}return new cr({start:u(b),end:h(b),key:y,value:_(b.value),static:b.static})},PropertyDefinition:function(b){let y;if(b.computed)y=_(b.key);else{if(b.key.type==="PrivateIdentifier")return new bi({start:u(b),end:h(b),key:_(b.key),value:_(b.value),static:b.static});if(b.key.type!=="Identifier")throw new Error("Non-Identifier key in PropertyDefinition");y=_(b.key)}return new cr({start:u(b),end:h(b),key:y,value:_(b.value),static:b.static})},PrivateIdentifier:function(b){return new hs({start:u(b),end:h(b),name:b.name})},StaticBlock:function(b){return new Xn({start:u(b),end:h(b),body:b.body.map(_)})},ArrayExpression:function(b){return new St({start:u(b),end:h(b),elements:b.elements.map(function(y){return y===null?new wr:_(y)})})},ObjectExpression:function(b){return new Nt({start:u(b),end:h(b),properties:b.properties.map(function(y){return y.type==="SpreadElement"||(y.type="Property"),_(y)})})},SequenceExpression:function(b){return new lt({start:u(b),end:h(b),expressions:b.expressions.map(_)})},MemberExpression:function(b){return b.property.type==="PrivateIdentifier"?new jr({start:u(b),end:h(b),property:b.property.name,expression:_(b.object),optional:b.optional||!1}):new(b.computed?Sn:$t)({start:u(b),end:h(b),property:b.computed?_(b.property):b.property.name,expression:_(b.object),optional:b.optional||!1})},ChainExpression:function(b){return new mn({start:u(b),end:h(b),expression:_(b.expression)})},SwitchCase:function(b){return new(b.test?qr:vo)({start:u(b),end:h(b),expression:_(b.test),body:b.consequent.map(_)})},VariableDeclaration:function(b){return new(b.kind==="const"?Zr:b.kind==="let"?Jr:Rn)({start:u(b),end:h(b),definitions:b.declarations.map(_)})},ImportDeclaration:function(b){var y=null,g=null;return b.specifiers.forEach(function(O){O.type==="ImportSpecifier"||O.type==="ImportNamespaceSpecifier"?(g||(g=[]),g.push(_(O))):O.type==="ImportDefaultSpecifier"&&(y=_(O))}),new kr({start:u(b),end:h(b),imported_name:y,imported_names:g,module_name:_(b.source),assert_clause:e(b.assertions)})},ImportSpecifier:function(b){return new Qr({start:u(b),end:h(b),foreign_name:_(b.imported),name:_(b.local)})},ImportDefaultSpecifier:function(b){return _(b.local)},ImportNamespaceSpecifier:function(b){return new Qr({start:u(b),end:h(b),foreign_name:new Eo({name:"*"}),name:_(b.local)})},ExportAllDeclaration:function(b){var y=b.exported==null?new Si({name:"*"}):_(b.exported);return new On({start:u(b),end:h(b),exported_names:[new Qr({name:new Si({name:"*"}),foreign_name:y})],module_name:_(b.source),assert_clause:e(b.assertions)})},ExportNamedDeclaration:function(b){return new On({start:u(b),end:h(b),exported_definition:_(b.declaration),exported_names:b.specifiers&&b.specifiers.length?b.specifiers.map(_):null,module_name:_(b.source),assert_clause:e(b.assertions)})},ExportDefaultDeclaration:function(b){return new On({start:u(b),end:h(b),exported_value:_(b.declaration),is_default:!0})},ExportSpecifier:function(b){return new Qr({foreign_name:_(b.exported),name:_(b.local)})},Literal:function(b){var y=b.value,g={start:u(b),end:h(b)},O=b.regex;if(O&&O.pattern)return g.value={source:O.pattern,flags:O.flags},new lr(g);if(O){const D=b.raw||y,V=D.match(/^\/(.*)\/(\w*)$/);if(!V)throw new Error("Invalid regex source "+D);const[X,re,z]=V;return g.value={source:re,flags:z},new lr(g)}if(y===null)return new fr(g);switch(typeof y){case"string":g.quote='"';var w=m[m.length-2];return w.type=="ImportSpecifier"?(g.name=y,new Eo(g)):w.type=="ExportSpecifier"?(g.name=y,b==w.exported?new Si(g):new So(g)):w.type=="ExportAllDeclaration"&&b==w.exported?(g.name=y,new Si(g)):(g.value=y,new dt(g));case"number":return g.value=y,g.raw=b.raw||y.toString(),new Je(g);case"boolean":return new(y?br:Hi)(g)}},MetaProperty:function(b){if(b.meta.name==="new"&&b.property.name==="target")return new $o({start:u(b),end:h(b)});if(b.meta.name==="import"&&b.property.name==="meta")return new Mi({start:u(b),end:h(b)})},Identifier:function(b){var y=m[m.length-2];return new(y.type=="LabeledStatement"?fs:y.type=="VariableDeclarator"&&y.id===b?y.kind=="const"?no:y.kind=="let"?Wo:Ui:/Import.*Specifier/.test(y.type)?y.local===b?Xo:Eo:y.type=="ExportSpecifier"?y.local===b?So:Si:y.type=="FunctionExpression"?y.id===b?ri:Nn:y.type=="FunctionDeclaration"?y.id===b?Ei:Nn:y.type=="ArrowFunctionExpression"?y.params.includes(b)?Nn:Se:y.type=="ClassExpression"?y.id===b?wu:Se:y.type=="Property"?y.key===b&&y.computed||y.value===b?Se:Bn:y.type=="PropertyDefinition"||y.type==="FieldDefinition"?y.key===b&&y.computed||y.value===b?Se:ji:y.type=="ClassDeclaration"?y.id===b?Ru:Se:y.type=="MethodDefinition"?y.computed?Se:Bn:y.type=="CatchClause"?Kr:y.type=="BreakStatement"||y.type=="ContinueStatement"?Nl:Se)({start:u(b),end:h(b),name:b.name})},BigIntLiteral(b){return new ii({start:u(b),end:h(b),value:b.value})},EmptyStatement:function(b){return new Rt({start:u(b),end:h(b)})},BlockStatement:function(b){return new Ye({start:u(b),end:h(b),body:b.body.map(_)})},IfStatement:function(b){return new wt({start:u(b),end:h(b),condition:_(b.test),body:_(b.consequent),alternative:_(b.alternate)})},LabeledStatement:function(b){return new Jn({start:u(b),end:h(b),label:_(b.label),body:_(b.body)})},BreakStatement:function(b){return new Cr({start:u(b),end:h(b),label:_(b.label)})},ContinueStatement:function(b){return new to({start:u(b),end:h(b),label:_(b.label)})},WithStatement:function(b){return new yr({start:u(b),end:h(b),expression:_(b.object),body:_(b.body)})},SwitchStatement:function(b){return new Wn({start:u(b),end:h(b),expression:_(b.discriminant),body:b.cases.map(_)})},ReturnStatement:function(b){return new an({start:u(b),end:h(b),value:_(b.argument)})},ThrowStatement:function(b){return new ls({start:u(b),end:h(b),value:_(b.argument)})},WhileStatement:function(b){return new Ii({start:u(b),end:h(b),condition:_(b.test),body:_(b.body)})},DoWhileStatement:function(b){return new yi({start:u(b),end:h(b),condition:_(b.test),body:_(b.body)})},ForStatement:function(b){return new En({start:u(b),end:h(b),init:_(b.init),condition:_(b.test),step:_(b.update),body:_(b.body)})},ForInStatement:function(b){return new zn({start:u(b),end:h(b),init:_(b.left),object:_(b.right),body:_(b.body)})},ForOfStatement:function(b){return new bo({start:u(b),end:h(b),init:_(b.left),object:_(b.right),body:_(b.body),await:b.await})},AwaitExpression:function(b){return new mr({start:u(b),end:h(b),expression:_(b.argument)})},YieldExpression:function(b){return new _r({start:u(b),end:h(b),expression:_(b.argument),is_star:b.delegate})},DebuggerStatement:function(b){return new Pi({start:u(b),end:h(b)})},VariableDeclarator:function(b){return new Lt({start:u(b),end:h(b),name:_(b.id),value:_(b.init)})},CatchClause:function(b){return new Yr({start:u(b),end:h(b),argname:_(b.param),body:_(b.body).body})},ThisExpression:function(b){return new Un({start:u(b),end:h(b)})},Super:function(b){return new qo({start:u(b),end:h(b)})},BinaryExpression:function(b){return b.left.type==="PrivateIdentifier"?new ni({start:u(b),end:h(b),key:new hs({start:u(b.left),end:h(b.left),name:b.left.name}),value:_(b.right)}):new ae({start:u(b),end:h(b),operator:b.operator,left:_(b.left),right:_(b.right)})},LogicalExpression:function(b){return new ae({start:u(b),end:h(b),operator:b.operator,left:_(b.left),right:_(b.right)})},AssignmentExpression:function(b){return new st({start:u(b),end:h(b),operator:b.operator,left:_(b.left),right:_(b.right)})},ConditionalExpression:function(b){return new tt({start:u(b),end:h(b),condition:_(b.test),consequent:_(b.consequent),alternative:_(b.alternate)})},NewExpression:function(b){return new nr({start:u(b),end:h(b),expression:_(b.callee),args:b.arguments.map(_)})},CallExpression:function(b){return new je({start:u(b),end:h(b),expression:_(b.callee),optional:b.optional,args:b.arguments.map(_)})}};n.UpdateExpression=n.UnaryExpression=function(y){var g="prefix"in y?y.prefix:y.type=="UnaryExpression";return new(g?We:Bi)({start:u(y),end:h(y),operator:y.operator,expression:_(y.argument)})},n.ClassDeclaration=n.ClassExpression=function(y){return new(y.type==="ClassDeclaration"?Gr:vi)({start:u(y),end:h(y),name:_(y.id),extends:_(y.superClass),properties:y.body.body.map(_)})},x(Rt,function(){return{type:"EmptyStatement"}}),x(Ye,function(y){return{type:"BlockStatement",body:y.body.map(A)}}),x(wt,function(y){return{type:"IfStatement",test:A(y.condition),consequent:A(y.body),alternate:A(y.alternative)}}),x(Jn,function(y){return{type:"LabeledStatement",label:A(y.label),body:A(y.body)}}),x(Cr,function(y){return{type:"BreakStatement",label:A(y.label)}}),x(to,function(y){return{type:"ContinueStatement",label:A(y.label)}}),x(yr,function(y){return{type:"WithStatement",object:A(y.expression),body:A(y.body)}}),x(Wn,function(y){return{type:"SwitchStatement",discriminant:A(y.expression),cases:y.body.map(A)}}),x(an,function(y){return{type:"ReturnStatement",argument:A(y.value)}}),x(ls,function(y){return{type:"ThrowStatement",argument:A(y.value)}}),x(Ii,function(y){return{type:"WhileStatement",test:A(y.condition),body:A(y.body)}}),x(yi,function(y){return{type:"DoWhileStatement",test:A(y.condition),body:A(y.body)}}),x(En,function(y){return{type:"ForStatement",init:A(y.init),test:A(y.condition),update:A(y.step),body:A(y.body)}}),x(zn,function(y){return{type:"ForInStatement",left:A(y.init),right:A(y.object),body:A(y.body)}}),x(bo,function(y){return{type:"ForOfStatement",left:A(y.init),right:A(y.object),body:A(y.body),await:y.await}}),x(mr,function(y){return{type:"AwaitExpression",argument:A(y.expression)}}),x(_r,function(y){return{type:"YieldExpression",argument:A(y.expression),delegate:y.is_star}}),x(Pi,function(){return{type:"DebuggerStatement"}}),x(Lt,function(y){return{type:"VariableDeclarator",id:A(y.name),init:A(y.value)}}),x(Yr,function(y){return{type:"CatchClause",param:A(y.argname),body:j(y)}}),x(Un,function(){return{type:"ThisExpression"}}),x(qo,function(){return{type:"Super"}}),x(ae,function(y){return{type:"BinaryExpression",operator:y.operator,left:A(y.left),right:A(y.right)}}),x(ae,function(y){return{type:"LogicalExpression",operator:y.operator,left:A(y.left),right:A(y.right)}}),x(st,function(y){return{type:"AssignmentExpression",operator:y.operator,left:A(y.left),right:A(y.right)}}),x(tt,function(y){return{type:"ConditionalExpression",test:A(y.condition),consequent:A(y.consequent),alternate:A(y.alternative)}}),x(nr,function(y){return{type:"NewExpression",callee:A(y.expression),arguments:y.args.map(A)}}),x(je,function(y){return{type:"CallExpression",callee:A(y.expression),optional:y.optional,arguments:y.args.map(A)}}),x(zt,function(y){return M("Program",y)}),x(ht,function(y){return{type:I()?"RestElement":"SpreadElement",argument:A(y.expression)}}),x(Vr,function(y){return{type:"TaggedTemplateExpression",tag:A(y.prefix),quasi:A(y.template_string)}}),x($n,function(y){for(var g=[],O=[],w=0;w<y.segments.length;w++)w%2!==0?O.push(A(y.segments[w])):g.push({type:"TemplateElement",value:{raw:y.segments[w].raw,cooked:y.segments[w].value},tail:w===y.segments.length-1});return{type:"TemplateLiteral",quasis:g,expressions:O}}),x(Qt,function(y){return{type:"FunctionDeclaration",id:A(y.name),params:y.argnames.map(A),generator:y.is_generator,async:y.async,body:M("BlockStatement",y)}}),x(Ft,function(y,g){var O=g.is_generator!==void 0?g.is_generator:y.is_generator;return{type:"FunctionExpression",id:A(y.name),params:y.argnames.map(A),generator:O,async:y.async,body:M("BlockStatement",y)}}),x(qt,function(y){var g={type:"BlockStatement",body:y.body.map(A)};return{type:"ArrowFunctionExpression",params:y.argnames.map(A),async:y.async,body:g}}),x(Vt,function(y){return y.is_array?{type:"ArrayPattern",elements:y.names.map(A)}:{type:"ObjectPattern",properties:y.names.map(A)}}),x(tr,function(y){return{type:"ExpressionStatement",expression:{type:"Literal",value:y.value,raw:y.print_to_string()},directive:y.value}}),x(He,function(y){return{type:"ExpressionStatement",expression:A(y.body)}}),x(Li,function(y){return{type:"SwitchCase",test:A(y.expression),consequent:y.body.map(A)}}),x(gr,function(y){return{type:"TryStatement",block:j(y.body),handler:A(y.bcatch),guardedHandlers:[],finalizer:A(y.bfinally)}}),x(Yr,function(y){return{type:"CatchClause",param:A(y.argname),guard:null,body:j(y)}}),x(sn,function(y){return{type:"VariableDeclaration",kind:y instanceof Zr?"const":y instanceof Jr?"let":"var",declarations:y.definitions.map(A)}});const o=b=>{const y=[];if(b)for(const{key:g,value:O}of b.properties){const w=Au(g)?{type:"Identifier",name:g}:{type:"Literal",value:g,raw:JSON.stringify(g)};y.push({type:"ImportAttribute",key:w,value:A(O)})}return y};x(On,function(y){if(y.exported_names){var g=y.exported_names[0],O=g.name;if(O.name==="*"&&!O.quote){var w=g.foreign_name,D=w.name==="*"&&!w.quote?null:A(w);return{type:"ExportAllDeclaration",source:A(y.module_name),exported:D,assertions:o(y.assert_clause)}}return{type:"ExportNamedDeclaration",specifiers:y.exported_names.map(function(V){return{type:"ExportSpecifier",exported:A(V.foreign_name),local:A(V.name)}}),declaration:A(y.exported_definition),source:A(y.module_name),assertions:o(y.assert_clause)}}return{type:y.is_default?"ExportDefaultDeclaration":"ExportNamedDeclaration",declaration:A(y.exported_value||y.exported_definition)}}),x(kr,function(y){var g=[];if(y.imported_name&&g.push({type:"ImportDefaultSpecifier",local:A(y.imported_name)}),y.imported_names){var O=y.imported_names[0].foreign_name;O.name==="*"&&!O.quote?g.push({type:"ImportNamespaceSpecifier",local:A(y.imported_names[0].name)}):y.imported_names.forEach(function(w){g.push({type:"ImportSpecifier",local:A(w.name),imported:A(w.foreign_name)})})}return{type:"ImportDeclaration",specifiers:g,source:A(y.module_name),assertions:o(y.assert_clause)}}),x(Mi,function(){return{type:"MetaProperty",meta:{type:"Identifier",name:"import"},property:{type:"Identifier",name:"meta"}}}),x(lt,function(y){return{type:"SequenceExpression",expressions:y.expressions.map(A)}}),x(jr,function(y){return{type:"MemberExpression",object:A(y.expression),computed:!1,property:{type:"PrivateIdentifier",name:y.property},optional:y.optional}}),x(Xe,function(y){var g=y instanceof Sn;return{type:"MemberExpression",object:A(y.expression),computed:g,property:g?A(y.property):{type:"Identifier",name:y.property},optional:y.optional}}),x(mn,function(y){return{type:"ChainExpression",expression:A(y.expression)}}),x(Wt,function(y){return{type:y.operator=="++"||y.operator=="--"?"UpdateExpression":"UnaryExpression",operator:y.operator,prefix:y instanceof We,argument:A(y.expression)}}),x(ae,function(y){return y.operator=="="&&I()?{type:"AssignmentPattern",left:A(y.left),right:A(y.right)}:{type:y.operator=="&&"||y.operator=="||"||y.operator==="??"?"LogicalExpression":"BinaryExpression",left:A(y.left),operator:y.operator,right:A(y.right)}}),x(ni,function(y){return{type:"BinaryExpression",left:{type:"PrivateIdentifier",name:y.key.name},operator:"in",right:A(y.value)}}),x(St,function(y){return{type:"ArrayExpression",elements:y.elements.map(A)}}),x(Nt,function(y){return{type:"ObjectExpression",properties:y.properties.map(A)}}),x(un,function(y,g){var O=y.key instanceof Te?A(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 w,D=typeof y.key=="string"||typeof y.key=="number",V=D?!1:!(y.key instanceof pt)||y.key instanceof Se;return y instanceof Yt?(w="init",V=!D):y instanceof Hr?w="get":y instanceof ti&&(w="set"),y instanceof ei||y instanceof _i?{type:"MethodDefinition",computed:!1,kind:y instanceof ei?"get":"set",static:y.static,key:{type:"PrivateIdentifier",name:y.key.name},value:A(y.value)}:y instanceof bi?{type:"PropertyDefinition",key:{type:"PrivateIdentifier",name:y.key.name},value:A(y.value),computed:!1,static:y.static}:y instanceof cr?{type:"PropertyDefinition",key:O,value:A(y.value),computed:V,static:y.static}:g instanceof _t?{type:"MethodDefinition",computed:V,kind:w,static:y.static,key:A(y.key),value:A(y.value)}:{type:"Property",computed:V,kind:w,key:O,value:A(y.value)}}),x(Ln,function(y,g){if(g instanceof Nt)return{type:"Property",computed:!(y.key instanceof pt)||y.key instanceof Se,kind:"init",method:!0,shorthand:!1,key:A(y.key),value:A(y.value)};const O=y instanceof gi?{type:"PrivateIdentifier",name:y.key.name}:A(y.key);return{type:"MethodDefinition",kind:y.key==="constructor"?"constructor":"method",key:O,value:A(y.value),computed:!(y.key instanceof pt)||y.key instanceof Se,static:y.static}}),x(_t,function(y){var g=y instanceof vi?"ClassExpression":"ClassDeclaration";return{type:g,superClass:A(y.extends),id:y.name?A(y.name):null,body:{type:"ClassBody",body:y.properties.map(A)}}}),x(Xn,function(y){return{type:"StaticBlock",body:y.body.map(A)}}),x($o,function(){return{type:"MetaProperty",meta:{type:"Identifier",name:"new"},property:{type:"Identifier",name:"target"}}}),x(pt,function(y,g){if(y instanceof Bn&&g.quote||(y instanceof Eo||y instanceof Si||y instanceof So)&&y.quote)return{type:"Literal",value:y.name};var O=y.definition();return{type:"Identifier",name:O?O.mangled_name||O.name:y.name}}),x(lr,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}}}),x(Tt,function(y){var g=y.value;return{type:"Literal",value:g,raw:y.raw||y.print_to_string()}}),x(ro,function(y){return{type:"Identifier",name:String(y.value)}}),x(ii,b=>({type:"BigIntLiteral",value:b.value})),Nu.DEFMETHOD("to_mozilla_ast",Tt.prototype.to_mozilla_ast),fr.DEFMETHOD("to_mozilla_ast",Tt.prototype.to_mozilla_ast),wr.DEFMETHOD("to_mozilla_ast",function(){return null}),vn.DEFMETHOD("to_mozilla_ast",Ye.prototype.to_mozilla_ast),Ke.DEFMETHOD("to_mozilla_ast",Ft.prototype.to_mozilla_ast);function u(b){var y=b.loc,g=y&&y.start,O=b.range;return new Rl("","",g&&g.line||0,g&&g.column||0,O?O[0]:b.start,!1,[],[],y&&y.source)}function h(b){var y=b.loc,g=y&&y.end,O=b.range;return new Rl("","",g&&g.line||0,g&&g.column||0,O?O[0]:b.end,!1,[],[],y&&y.source)}var m=null;function _(b){m.push(b);var y=b!=null?n[b.type](b):null;return m.pop(),y}Te.from_mozilla_ast=function(b){var y=m;m=[];var g=_(b);return m=y,g};function S(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 x(b,y){b.DEFMETHOD("to_mozilla_ast",function(g){return S(this,y(this,g))})}var C=null;function A(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 j(b){return{type:"BlockStatement",body:b.body.map(A)}}function M(b,y){var g=y.body.map(A);return y.body[0]instanceof He&&y.body[0].body instanceof dt&&g.unshift(A(new Rt(y.body[0]))),{type:b,body:g}}}();function oi(t){let e=t.parent(-1);for(let n=0,o;o=t.parent(n);n++){if(o instanceof kn&&o.body===e)return!0;if(o instanceof lt&&o.expressions[0]===e||o.TYPE==="Call"&&o.expression===e||o instanceof Vr&&o.prefix===e||o instanceof $t&&o.expression===e||o instanceof Sn&&o.expression===e||o instanceof mn&&o.expression===e||o instanceof tt&&o.condition===e||o instanceof ae&&o.left===e||o instanceof Bi&&o.expression===e)e=o;else return!1}}function Gi(t){return t instanceof Nt?!0:t instanceof lt?Gi(t.expressions[0]):t.TYPE==="Call"?Gi(t.expression):t instanceof Vr?Gi(t.prefix):t instanceof $t||t instanceof Sn||t instanceof mn?Gi(t.expression):t instanceof tt?Gi(t.condition):t instanceof ae?Gi(t.left):t instanceof Bi?Gi(t.expression):!1}const ed=10,td=32,nd=/[@#]__(PURE|INLINE|NOINLINE)__/;function v_(t){return(t.type==="comment2"||t.type==="comment1")&&/@preserve|@copyright|@lic|@cc_on|^\**!/i.test(t.value)}const E_=8*1e3;class S_{constructor(){this.committed="",this.current=""}append(e){this.current.length>E_?(this.committed+=this.current+e,this.current=""):this.current+=e}insertAt(e,n){const{committed:o,current:u}=this;n<o.length?this.committed=o.slice(0,n)+e+o.slice(n):n===o.length?this.committed+=e:(n-=o.length,this.committed+=u.slice(0,n)+e,this.current=u.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==td||e==ed););return!e||e===59||e===123}hasNLB(){let e=this.length()-1;for(;e>=0;){const n=this.charCodeAt(e--);if(n===ed)return!0;if(n!==td)return!1}return!0}toString(){return this.committed+this.current}}function Fl(t){var e=!t;t=di(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 o=t.comments.lastIndexOf("/");oe=new RegExp(t.comments.substr(1,o-1),t.comments.substr(o+1))}oe instanceof RegExp?n=function(De){return De.type!="comment5"&&oe.test(De.value)}:typeof oe=="function"?n=function(De){return De.type!="comment5"&&oe(this,De)}:oe==="some"?n=v_:n=Qn}if(t.preserve_annotations){let oe=n;n=function(De){return nd.test(De.value)||oe.apply(this,arguments)}}var u=0,h=0,m=1,_=0,S=new S_;let x=new Set;var C=t.ascii_only?function(oe,De=!1,pe=!1){return t.ecma>=2015&&!t.safari10&&!pe&&(oe=oe.replace(/[\ud800-\udbff][\udc00-\udfff]/g,function(bt){var xt=h_(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&&!De){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(De,pe){return pe?"\\u"+pe.charCodeAt(0).toString(16):De})};function A(oe,De){var pe=0,bt=0;oe=oe.replace(/[\\\b\f\n\r\v\t\x22\x27\u2028\u2029\0\ufeff]/g,function(Zt,pn){switch(Zt){case'"':return++pe,'"';case"'":return++bt,"'";case"\\":return"\\\\";case`
82
- `: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(Eu(oe,pn+1))?"\\x00":"\\0"}return Zt});function xt(){return"'"+oe.replace(/\x27/g,"\\'")+"'"}function Ct(){return'"'+oe.replace(/\x22/g,'\\"')+'"'}function Mn(){return"`"+oe.replace(/`/g,"\\`")+"`"}if(oe=C(oe),De==="`")return Mn();switch(t.quote_style){case 1:return xt();case 2:return Ct();case 3:return De=="'"?xt():Ct();default:return pe>bt?xt():Ct()}}function I(oe,De){var pe=A(oe,De);return t.inline_script&&(pe=pe.replace(/<\x2f(script)([>\/\t\n\f\r ])/gi,"<\\/$1$2"),pe=pe.replace(/\x3c!--/g,"\\x3c!--"),pe=pe.replace(/--\x3e/g,"--\\x3e")),pe}function j(oe){return oe=oe.toString(),oe=C(oe,!0),oe}function M(oe){return" ".repeat(t.indent_start+u-oe*t.indent_level)}var b=!1,y=!1,g=!1,O=0,w=!1,D=!1,V=-1,X="",re,z,Y=t.source_map&&[],K=Y?function(){Y.forEach(function(oe){try{let{name:De,token:pe}=oe;De!==!1&&(pe.type=="name"||pe.type==="privatename"?De=pe.value:De instanceof pt&&(De=pe.type==="string"?pe.value:De.name)),t.source_map.add(oe.token.file,oe.line,oe.col,oe.token.line,oe.token.col,Au(De)?De:void 0)}catch{}}),Y=[]}:dr,ce=t.max_line_len?function(){if(h>t.max_line_len&&O){S.insertAt(`
83
- `,O);const De=S.length()-O-1;if(Y){var oe=De-h;Y.forEach(function(pe){pe.line++,pe.col+=oe})}m++,_++,h=De}O&&(O=0,K())}:dr,Q=Ot("( [ + * / - , . `");function de(oe){oe=String(oe);var De=Eu(oe,0);w&&De&&(w=!1,De!==`
84
- `&&(de(`
85
- `),he())),D&&De&&(D=!1,/[\s;})]/.test(De)||te()),V=-1;var pe=X.charAt(X.length-1);g&&(g=!1,(pe===":"&&De==="}"||(!De||!";}".includes(De))&&pe!==";")&&(t.semicolons||Q.has(De)?(S.append(";"),h++,_++):(ce(),h>0&&(S.append(`
86
- `),_++,m++,h=0),/^\s+$/.test(oe)&&(g=!0)),t.beautify||(y=!1))),y&&((Tu(pe)&&(Tu(De)||De=="\\")||De=="/"&&De==pe||(De=="+"||De=="-")&&De==X)&&(S.append(" "),h++,_++),y=!1),re&&(Y.push({token:re,name:z,line:m,col:h}),re=!1,O||K()),S.append(oe),b=oe[oe.length-1]=="(",_+=oe.length;var bt=oe.split(/\r?\n/),xt=bt.length-1;m+=xt,h+=bt[0].length,xt>0&&(ce(),h=bt[xt].length),X=oe}var ye=function(){de("*")},te=t.beautify?function(){de(" ")}:function(){y=!0},he=t.beautify?function(oe){t.beautify&&de(M(oe?.5:0))}:dr,le=t.beautify?function(oe,De){oe===!0&&(oe=Ue());var pe=u;u=oe;var bt=De();return u=pe,bt}:function(oe,De){return De()},Ae=t.beautify?function(){if(V<0)return de(`
87
- `);S.charAt(V)!=`
88
- `&&(S.insertAt(`
89
- `,V),_++,m++),V++}:t.max_line_len?function(){ce(),O=S.length()}:dr,Pe=t.beautify?function(){de(";")}:function(){g=!0};function _e(){g=!1,de(";")}function Ue(){return u+t.indent_level}function J(oe){var De;return de("{"),Ae(),le(Ue(),function(){De=oe()}),he(),de("}"),De}function ne(oe){de("(");var De=oe();return de(")"),De}function se(oe){de("[");var De=oe();return de("]"),De}function Ee(){de(","),te()}function me(){de(":"),te()}var At=Y?function(oe,De){re=oe,z=De}:dr;function jt(){return O&&ce(),S.toString()}function Et(oe){return t.preserve_annotations||(oe=oe.replace(nd," ")),/^\s*$/.test(oe)?"":oe.replace(/(<\s*\/\s*)(script)/i,"<\\/$2")}function Mt(oe){var De=this,pe=oe.start;if(!pe)return;var bt=De.printed_comments;const xt=oe instanceof ur&&oe.value||(oe instanceof mr||oe instanceof _r)&&oe.expression;if(pe.comments_before&&bt.has(pe.comments_before))if(xt)pe.comments_before=[];else return;var Ct=pe.comments_before;if(Ct||(Ct=pe.comments_before=[]),bt.add(Ct),xt){var Mn=new In(function(Ht){var It=Mn.parent();if(It instanceof ur||It instanceof mr||It instanceof _r||It instanceof ae&&It.left===Ht||It.TYPE=="Call"&&It.expression===Ht||It instanceof tt&&It.condition===Ht||It instanceof $t&&It.expression===Ht||It instanceof lt&&It.expressions[0]===Ht||It instanceof Sn&&It.expression===Ht||It instanceof Bi){if(!Ht.start)return;var ln=Ht.start.comments_before;ln&&!bt.has(ln)&&(bt.add(ln),Ct=Ct.concat(ln))}else return!0});Mn.push(oe),xt.walk(Mn)}if(_==0){Ct.length>0&&t.shebang&&Ct[0].type==="comment5"&&!bt.has(Ct[0])&&(de("#!"+Ct.shift().value+`
90
- `),he());var Zt=t.preamble;Zt&&de(Zt.replace(/\r\n?|[\n\u2028\u2029]|\s*$/g,`
91
- `))}if(Ct=Ct.filter(n,oe).filter(Ht=>!bt.has(Ht)),Ct.length!=0){var pn=S.hasNLB();Ct.forEach(function(Ht,It){if(bt.add(Ht),pn||(Ht.nlb?(de(`
92
- `),he(),pn=!0):It>0&&te()),/comment[134]/.test(Ht.type)){var ln=Et(Ht.value);ln&&(de("//"+ln+`
93
- `),he()),pn=!0}else if(Ht.type=="comment2"){var ln=Et(Ht.value);ln&&de("/*"+ln+"*/"),pn=!1}}),pn||(pe.nlb?(de(`
94
- `),he()):te())}}function gt(oe,De){var pe=this,bt=oe.end;if(bt){var xt=pe.printed_comments,Ct=bt[De?"comments_before":"comments_after"];if(!(!Ct||xt.has(Ct))&&(oe instanceof kn||Ct.every(Zt=>!/comment[134]/.test(Zt.type)))){xt.add(Ct);var Mn=S.length();Ct.filter(n,oe).forEach(function(Zt,pn){if(!xt.has(Zt)){if(xt.add(Zt),D=!1,w?(de(`
95
- `),he(),w=!1):Zt.nlb&&(pn>0||!S.hasNLB())?(de(`
96
- `),he()):(pn>0||!De)&&te(),/comment[134]/.test(Zt.type)){const Ht=Et(Zt.value);Ht&&de("//"+Ht),w=!0}else if(Zt.type=="comment2"){const Ht=Et(Zt.value);Ht&&de("/*"+Ht+"*/"),D=!0}}}),S.length()>Mn&&(V=Mn)}}}const Dt=t._destroy_ast?function(De){De.body.length=0,De.argnames.length=0}:dr;var Jt=[];return{get:jt,toString:jt,indent:he,in_directive:!1,use_asm:null,active_scope:null,indentation:function(){return u},current_width:function(){return h-u},should_break:function(){return t.width&&this.current_width()>=t.width},has_parens:function(){return b},newline:Ae,print:de,star:ye,space:te,comma:Ee,colon:me,last:function(){return X},semicolon:Pe,force_semicolon:_e,to_utf8:C,print_name:function(oe){de(j(oe))},print_string:function(oe,De,pe){var bt=I(oe,De);pe===!0&&!bt.includes("\\")&&(S.expectDirective()||_e(),_e()),de(bt)},print_template_string_chars:function(oe){var De=I(oe,"`").replace(/\${/g,"\\${");return de(De.substr(1,De.length-2))},encode_string:I,next_indent:Ue,with_indent:le,with_block:J,with_parens:ne,with_square:se,add_mapping:At,option:function(oe){return t[oe]},gc_scope:Dt,printed_comments:x,prepend_comments:e?dr:Mt,append_comments:e||n===vt?dr:gt,line:function(){return m},col:function(){return h},pos:function(){return _},push_node:function(oe){Jt.push(oe)},pop_node:function(){return Jt.pop()},parent:function(oe){return Jt[Jt.length-2-(oe||0)]}}}(function(){function t(y,g){y.DEFMETHOD("_codegen",g)}Te.DEFMETHOD("print",function(y,g){var O=this,w=O._codegen;O instanceof qe?y.active_scope=O:!y.use_asm&&O instanceof tr&&O.value=="use asm"&&(y.use_asm=y.active_scope);function D(){y.prepend_comments(O),O.add_source_map(y),w(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)}),Te.DEFMETHOD("_print",Te.prototype.print),Te.DEFMETHOD("print_to_string",function(y){var g=Fl(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(Te,vt),e(Ft,function(y){if(!y.has_parens()&&oi(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(qt,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()&&oi(y)}),e(vi,oi),e(Wt,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(mr,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 Wt||g instanceof ae||g instanceof Lt||g instanceof Xe||g instanceof St||g instanceof un||g instanceof tt||g instanceof qt||g instanceof Rr||g instanceof ht||g instanceof bo&&this===g.object||g instanceof _r||g instanceof On}),e(ae,function(y){var g=y.parent();if(g instanceof je&&g.expression===this||g instanceof Wt||g instanceof Xe&&g.expression===this)return!0;if(g instanceof ae){const O=g.operator,w=this.operator;if(w==="??"&&(O==="||"||O==="&&")||O==="??"&&(w==="||"||w==="&&"))return!0;const D=Dr[O],V=Dr[w];if(D>V||D==V&&(this===g.right||O=="**"))return!0}if(g instanceof ni){const O=this.operator,w=Dr.in,D=Dr[O];if(w>D||w==D&&this===g.value)return!0}}),e(ni,function(y){var g=y.parent();if(g instanceof je&&g.expression===this||g instanceof Wt||g instanceof Xe&&g.expression===this)return!0;if(g instanceof ae){const O=g.operator,w=Dr[O],D=Dr.in;if(w>D||w==D&&(this===g.right||O=="**"))return!0}if(g instanceof ni&&this===g.value)return!0}),e(_r,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 Wt||g instanceof Xe&&g.expression===this)return!0}),e(mn,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 nr&&g.expression===this)return Pn(this,O=>{if(O instanceof qe)return!0;if(O instanceof je)return hr})}),e(je,function(y){var g=y.parent(),O;return g instanceof nr&&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(nr,function(y){var g=y.parent();if(this.args.length===0&&(g instanceof Xe||g instanceof je&&g.expression===this||g instanceof Vr&&g.prefix===this))return!0}),e(Je,function(y){var g=y.parent();if(g instanceof Xe&&g.expression===this){var O=this.getValue();if(O<0||/^0/.test(j(O)))return!0}}),e(ii,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 Wt||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(tr,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(w,D){D>0&&g.comma(),w.print(g),D==O-1&&w instanceof wr&&g.comma()}),g.print(y.is_array?"]":"}")}),t(Pi,function(y,g){g.print("debugger"),g.semicolon()});function n(y,g,O,w){var D=y.length-1;O.in_directive=w,y.forEach(function(V,X){O.in_directive===!0&&!(V instanceof tr||V instanceof Rt||V instanceof He&&V.body instanceof dt)&&(O.in_directive=!1),V instanceof Rt||(O.indent(),V.print(O),X==D&&g||(O.newline(),g&&O.newline())),O.in_directive===!0&&V instanceof He&&V.body instanceof dt&&(O.in_directive=!1)}),O.in_directive=!1}go.DEFMETHOD("_do_print_body",function(y){A(this.body,y)}),t(kn,function(y,g){y.body.print(g),g.semicolon()}),t(zt,function(y,g){n(y.body,!0,g,!0),g.print("")}),t(Jn,function(y,g){y.label.print(g),g.colon(),y.body.print(g)}),t(He,function(y,g){y.body.print(g),g.semicolon()});function o(y,g){g.print("{"),g.with_indent(g.next_indent(),function(){g.append_comments(y,!0)}),g.add_mapping(y.end),g.print("}")}function u(y,g,O){y.body.length>0?g.with_block(function(){n(y.body,!1,g,O),g.add_mapping(y.end)}):o(y,g)}t(Ye,function(y,g){u(y,g)}),t(Rt,function(y,g){g.semicolon()}),t(yi,function(y,g){g.print("do"),g.space(),M(y.body,g),g.space(),g.print("while"),g.space(),g.with_parens(function(){y.condition.print(g)}),g.semicolon()}),t(Ii,function(y,g){g.print("while"),g.space(),g.with_parens(function(){y.condition.print(g)}),g.space(),y._do_print_body(g)}),t(En,function(y,g){g.print("for"),g.space(),g.with_parens(function(){y.init?(y.init instanceof sn?y.init.print(g):m(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(zn,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 bo?"of":"in"),g.space(),y.object.print(g)}),g.space(),y._do_print_body(g)}),t(yr,function(y,g){g.print("with"),g.space(),g.with_parens(function(){y.expression.print(g)}),g.space(),y._do_print_body(g)}),Ke.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 Te&&y.with_square(function(){O.name.print(y)}),y.with_parens(function(){O.argnames.forEach(function(w,D){D&&y.comma(),w.print(y)})}),y.space(),u(O,y,!0)}),t(Ke,function(y,g){y._do_print(g),g.gc_scope(y)}),t(Vr,function(y,g){var O=y.prefix,w=O instanceof Ke||O instanceof ae||O instanceof tt||O instanceof lt||O instanceof Wt||O instanceof $t&&O.expression instanceof Nt;w&&g.print("("),y.prefix.print(g),w&&g.print(")"),y.template_string.print(g)}),t($n,function(y,g){var O=g.parent()instanceof Vr;g.print("`");for(var w=0;w<y.segments.length;w++)y.segments[w]instanceof mi?O?g.print(y.segments[w].raw):g.print_template_string_chars(y.segments[w].value):(g.print("${"),y.segments[w].print(g),g.print("}"));g.print("`")}),t(mi,function(y,g){g.print_template_string_chars(y.value)}),qt.DEFMETHOD("_do_print",function(y){var g=this,O=y.parent(),w=O instanceof ae&&!(O instanceof st)||O instanceof Wt||O instanceof je&&g===O.expression;w&&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(V,X){X&&y.comma(),V.print(y)})}),y.space(),y.print("=>"),y.space();const D=g.body[0];if(g.body.length===1&&D instanceof an){const V=D.value;V?Gi(V)?(y.print("("),V.print(y),y.print(")")):V.print(y):y.print("{}")}else u(g,y);w&&y.print(")"),y.gc_scope(g)}),ur.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(an,function(y,g){y._do_print(g,"return")}),t(ls,function(y,g){y._do_print(g,"throw")}),t(_r,function(y,g){var O=y.is_star?"*":"";g.print("yield"+O),y.expression&&(g.space(),y.expression.print(g))}),t(mr,function(y,g){g.print("await"),g.space();var O=y.expression,w=!(O instanceof je||O instanceof Se||O instanceof Xe||O instanceof Wt||O instanceof Tt||O instanceof mr||O instanceof Nt);w&&g.print("("),y.expression.print(g),w&&g.print(")")}),Xr.DEFMETHOD("_do_print",function(y,g){y.print(g),this.label&&(y.space(),this.label.print(y)),y.semicolon()}),t(Cr,function(y,g){y._do_print(g,"break")}),t(to,function(y,g){y._do_print(g,"continue")});function h(y,g){var O=y.body;if(g.option("braces")||g.option("ie8")&&O instanceof yi)return M(O,g);if(!O)return g.force_semicolon();for(;;)if(O instanceof wt){if(!O.alternative){M(y.body,g);return}O=O.alternative}else if(O instanceof go)O=O.body;else break;A(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?(h(y,g),g.space(),g.print("else"),g.space(),y.alternative instanceof wt?y.alternative.print(g):A(y.alternative,g)):y._do_print_body(g)}),t(Wn,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?o(y,g):g.with_block(function(){y.body.forEach(function(w,D){g.indent(!0),w.print(g),D<O&&w.body.length>0&&g.newline()})})}),Li.DEFMETHOD("_do_print_body",function(y){y.newline(),this.body.forEach(function(g){y.indent(),g.print(y),y.newline()})}),t(vo,function(y,g){g.print("default:"),y._do_print_body(g)}),t(qr,function(y,g){g.print("case"),g.space(),y.expression.print(g),g.print(":"),y._do_print_body(g)}),t(gr,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(ku,function(y,g){u(y,g)}),t(Yr,function(y,g){g.print("catch"),y.argname&&(g.space(),g.with_parens(function(){y.argname.print(g)})),g.space(),u(y,g)}),t(zo,function(y,g){g.print("finally"),g.space(),u(y,g)}),sn.DEFMETHOD("_do_print",function(y,g){y.print(g),y.space(),this.definitions.forEach(function(V,X){X&&y.comma(),V.print(y)});var O=y.parent(),w=O instanceof En||O instanceof zn,D=!w||O&&O.init!==this;D&&y.semicolon()}),t(Jr,function(y,g){y._do_print(g,"let")}),t(Rn,function(y,g){y._do_print(g,"var")}),t(Zr,function(y,g){y._do_print(g,"const")}),t(kr,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,w){g.space(),O.print(g),w<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(Mi,function(y,g){g.print("import.meta")}),t(Qr,function(y,g){var O=g.parent()instanceof kr,w=y.name.definition(),D=y.foreign_name,V=(w&&w.mangled_name||y.name.name)!==D.name;!V&&D.name==="*"&&D.quote!=y.name.quote&&(V=!0);var X=D.quote==null;V?(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,w){g.space(),O.print(g),w<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 sn))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 Qt||y.exported_value instanceof Ft||y.exported_value instanceof _t)||y.module_name||y.exported_names)&&g.semicolon()});function m(y,g,O){var w=!1;O&&(w=Pn(y,D=>{if(D instanceof qe&&!(D instanceof qt))return!0;if(D instanceof ae&&D.operator=="in"||D instanceof ni)return hr})),y.print(g,w)}t(Lt,function(y,g){if(y.name.print(g),y.value){g.space(),g.print("="),g.space();var O=g.parent(1),w=O instanceof En||O instanceof zn;m(y.value,g,w)}}),t(je,function(y,g){y.expression.print(g),!(y instanceof nr&&y.args.length===0)&&((y.expression instanceof je||y.expression instanceof Ke)&&g.add_mapping(y.start),y.optional&&g.print("?."),g.with_parens(function(){y.args.forEach(function(O,w){w&&g.comma(),O.print(g)})}))}),t(nr,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($t,function(y,g){var O=y.expression;O.print(g);var w=y.property,D=eo.has(w)?g.option("ie8"):!zp(w,g.option("ecma")>=2015&&!g.option("safari10"));y.optional&&g.print("?."),D?(g.print("["),g.add_mapping(y.end),g.print_string(w),g.print("]")):(O instanceof Je&&O.getValue()>=0&&(/[xa-f.)]/i.test(g.last())||g.print(".")),y.optional||g.print("."),g.add_mapping(y.end),g.print_name(w))}),t(jr,function(y,g){var O=y.expression;O.print(g);var w=y.property;y.optional&&g.print("?"),g.print(".#"),g.add_mapping(y.end),g.print_name(w)}),t(Sn,function(y,g){y.expression.print(g),y.optional&&g.print("?."),g.print("["),y.property.print(g),g.print("]")}),t(mn,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(Bi,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,w=O.length;w>0&&g.space(),O.forEach(function(D,V){V&&g.comma(),D.print(g),V===w-1&&D instanceof wr&&g.comma()}),w>0&&g.space()})}),t(Nt,function(y,g){y.properties.length>0?g.with_block(function(){y.properties.forEach(function(O,w){w&&(g.print(","),g.newline()),g.indent(),O.print(g)}),g.newline()}):o(y,g)}),t(_t,function(y,g){if(g.print("class"),g.space(),y.name&&(y.name.print(g),g.space()),y.extends){var O=!(y.extends instanceof Se)&&!(y.extends instanceof Xe)&&!(y.extends instanceof vi)&&!(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(w,D){D&&g.newline(),g.indent(),w.print(g)}),g.newline()}):g.print("{}")}),t($o,function(y,g){g.print("new.target")});function _(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(j(y)),!1);var w=eo.has(y)?O.option("ie8"):O.option("ecma")<2015||O.option("safari10")?!Au(y):!zp(y,!0);return w||g&&O.option("keep_quoted_props")?(O.print_string(y,g),!1):(O.print_name(y),!0)}t(Yt,function(y,g){function O(D){var V=D.definition();return V?V.mangled_name||V.name:D.name}const w=g.option("shorthand")&&!(y.key instanceof Te);w&&y.value instanceof pt&&O(y.value)===y.key&&!eo.has(y.key)?_(y.key,y.quote,g)||(g.colon(),y.value.print(g)):w&&y.value instanceof Rr&&y.value.left instanceof pt&&O(y.value.left)===y.key?(_(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 Te?g.with_square(function(){y.key.print(g)}):_(y.key,y.quote,g),g.colon(),y.value.print(g))}),t(bi,(y,g)=>{y.static&&(g.print("static"),g.space()),g.print("#"),_(y.key.name,y.quote,g),y.value&&(g.print("="),y.value.print(g)),g.semicolon()}),t(cr,(y,g)=>{y.static&&(g.print("static"),g.space()),y.key instanceof ji?_(y.key.name,y.quote,g):(g.print("["),y.key.print(g),g.print("]")),y.value&&(g.print("="),y.value.print(g)),g.semicolon()}),un.DEFMETHOD("_print_getter_setter",function(y,g,O){var w=this;w.static&&(O.print("static"),O.space()),y&&(O.print(y),O.space()),w.key instanceof Bn?(g&&O.print("#"),_(w.key.name,w.quote,O),w.key.add_source_map(O)):O.with_square(function(){w.key.print(O)}),w.value._do_print(O,!0)}),t(ti,function(y,g){y._print_getter_setter("set",!1,g)}),t(Hr,function(y,g){y._print_getter_setter("get",!1,g)}),t(_i,function(y,g){y._print_getter_setter("set",!0,g)}),t(ei,function(y,g){y._print_getter_setter("get",!0,g)}),t(gi,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(ni,function(y,g){y.key.print(g),g.space(),g.print("in"),g.space(),y.value.print(g)}),t(hs,function(y,g){g.print("#"+y.name)}),t(Ln,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(Xn,function(y,g){g.print("static"),g.space(),u(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(wr,dr),t(Un,function(y,g){g.print("this")}),t(qo,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(Je,function(y,g){(g.option("keep_numbers")||g.use_asm)&&y.raw?g.print(y.raw):g.print(j(y.getValue()))}),t(ii,function(y,g){g.print(y.getValue()+"n")});const S=/(<\s*\/\s*script)/i,x=/^\s*script/i,C=(y,g)=>g.replace("/","\\/");t(lr,function(y,g){let{source:O,flags:w}=y.getValue();O=mu(O),w=w?t_(w):"",O=O.replace(S,C),x.test(O)&&g.last().endsWith("<")&&g.print(" "),g.print(g.to_utf8(`/${O}/${w}`,!1,!0));const D=g.parent();D instanceof ae&&/^\w/.test(D.operator)&&D.left===y&&g.print(" ")});function A(y,g){g.option("braces")?M(y,g):!y||y instanceof Rt?g.force_semicolon():y instanceof Jr||y instanceof Zr||y instanceof _t?M(y,g):y.print(g)}function I(y){for(var g=y[0],O=g.length,w=1;w<y.length;++w)y[w].length<O&&(g=y[w],O=g.length);return g}function j(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 w,D,V;return(w=/^\.0+/.exec(g))?(D=w[0].length,V=g.slice(D),O.push(V+"e-"+(V.length+D-1))):(w=/0+$/.exec(g))?(D=w[0].length,O.push(g.slice(0,-D)+"e"+D)):(w=/^(\d)\.(\d+)e(-?\d+)$/.exec(g))&&O.push(w[1]+w[2]+"e"+(w[3]-w[2].length)),I(O)}function M(y,g){!y||y instanceof Rt?g.print("{}"):y instanceof Ye?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([Te,Jn,zt],dr),b([St,Ye,Yr,_t,Tt,Pi,sn,tr,zo,cs,Ke,nr,Nt,go,pt,Wn,Li,$n,mi,gr],function(y){y.add_mapping(this.start)}),b([Hr,ti,ei,_i,Ln,gi],function(y){y.add_mapping(this.start,!1)}),b([Bn,hs],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([un],function(y){y.add_mapping(this.start,this.key)})})();const rd=(t,e)=>t===null&&e===null||t.TYPE===e.TYPE&&t.shallow_cmp(e),T_=(t,e)=>{if(!rd(t,e))return!1;const n=[t],o=[e],u=n.push.bind(n),h=o.push.bind(o);for(;n.length&&o.length;){const m=n.pop(),_=o.pop();if(!rd(m,_)||(m._children_backwards(u),_._children_backwards(h),n.length!==o.length))return!1}return n.length==0&&o.length==0},Pt=()=>!0;Te.prototype.shallow_cmp=function(){throw new Error("did not find a shallow_cmp function for "+this.constructor.name)},Pi.prototype.shallow_cmp=Pt,tr.prototype.shallow_cmp=function(t){return this.value===t.value},He.prototype.shallow_cmp=Pt,vn.prototype.shallow_cmp=Pt,Rt.prototype.shallow_cmp=Pt,Jn.prototype.shallow_cmp=function(t){return this.label.name===t.label.name},yi.prototype.shallow_cmp=Pt,Ii.prototype.shallow_cmp=Pt,En.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)},zn.prototype.shallow_cmp=Pt,bo.prototype.shallow_cmp=Pt,yr.prototype.shallow_cmp=Pt,zt.prototype.shallow_cmp=Pt,ht.prototype.shallow_cmp=Pt,Ke.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},Vr.prototype.shallow_cmp=Pt,$n.prototype.shallow_cmp=Pt,mi.prototype.shallow_cmp=function(t){return this.value===t.value},cs.prototype.shallow_cmp=Pt,Xr.prototype.shallow_cmp=Pt,mr.prototype.shallow_cmp=Pt,_r.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},Wn.prototype.shallow_cmp=Pt,Li.prototype.shallow_cmp=Pt,gr.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)},Yr.prototype.shallow_cmp=function(t){return this.argname==null?t.argname==null:this.argname===t.argname},zo.prototype.shallow_cmp=Pt,sn.prototype.shallow_cmp=Pt,Lt.prototype.shallow_cmp=function(t){return this.value==null?t.value==null:this.value===t.value},Qr.prototype.shallow_cmp=Pt,kr.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)},Mi.prototype.shallow_cmp=Pt,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=Pt,lt.prototype.shallow_cmp=Pt,Xe.prototype.shallow_cmp=Pt,mn.prototype.shallow_cmp=Pt,$t.prototype.shallow_cmp=function(t){return this.property===t.property},jr.prototype.shallow_cmp=function(t){return this.property===t.property},Wt.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=Pt,St.prototype.shallow_cmp=Pt,Nt.prototype.shallow_cmp=Pt,un.prototype.shallow_cmp=Pt,Yt.prototype.shallow_cmp=function(t){return this.key===t.key},ti.prototype.shallow_cmp=function(t){return this.static===t.static},Hr.prototype.shallow_cmp=function(t){return this.static===t.static},Ln.prototype.shallow_cmp=function(t){return this.static===t.static&&this.is_generator===t.is_generator&&this.async===t.async},_t.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)},cr.prototype.shallow_cmp=function(t){return this.static===t.static},pt.prototype.shallow_cmp=function(t){return this.name===t.name},$o.prototype.shallow_cmp=Pt,Un.prototype.shallow_cmp=Pt,qo.prototype.shallow_cmp=Pt,dt.prototype.shallow_cmp=function(t){return this.value===t.value},Je.prototype.shallow_cmp=function(t){return this.value===t.value},ii.prototype.shallow_cmp=function(t){return this.value===t.value},lr.prototype.shallow_cmp=function(t){return this.value.flags===t.value.flags&&this.value.source===t.value.source},ro.prototype.shallow_cmp=Pt;const Pu=1,A_=2;let Yo=null,Jo=null,Zo=null;class Qo{constructor(e,n,o){this.name=n.name,this.orig=[n],this.init=o,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=Qo.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 Te?this.fixed:this.fixed()}unmangleable(e){return e||(e={}),Yo&&Yo.has(this.id)&&Ko(e.keep_fnames,this.orig[0].name)?!0:this.global&&!e.toplevel||this.export&Pu||this.undeclared||!e.eval&&this.scope.pinned()||(this.orig[0]instanceof ri||this.orig[0]instanceof Ei)&&Ko(e.keep_fnames,this.orig[0].name)||this.orig[0]instanceof Bn||(this.orig[0]instanceof wu||this.orig[0]instanceof Ru)&&Ko(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 o=this.scope,u=this.orig[0];e.ie8&&u instanceof ri&&(o=o.parent_scope);const h=Ll(this);this.mangled_name=h?h.mangled_name||h.name:o.next_mangled(e,this),this.global&&n&&n.set(this.name,this.mangled_name)}}}Qo.next_id=1;function Ll(t){if(t.orig[0]instanceof Kr&&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=di(t,{cache:null,ie8:!1,safari10:!1,module:!1}),!(n instanceof zt))throw new Error("Invalid toplevel scope");var o=this.parent_scope=e,u=new Map,h=null,m=null,_=[],C=new In((A,I)=>{if(A.is_block_scope()){const D=o;if(A.block_scope=o=new qe(A),o._block_scope=!0,o.init_scope_vars(D),o.uses_with=D.uses_with,o.uses_eval=D.uses_eval,t.safari10&&(A instanceof En||A instanceof zn||A instanceof bo)&&_.push(o),A instanceof Wn){const V=o;o=D,A.expression.walk(C),o=V;for(let X=0;X<A.body.length;X++)A.body[X].walk(C)}else I();return o=D,!0}if(A instanceof Vt){const D=m;return m=A,I(),m=D,!0}if(A instanceof qe){A.init_scope_vars(o);var j=o,M=h,b=u;return h=o=A,u=new Map,I(),o=j,h=M,u=b,!0}if(A instanceof Jn){var y=A.label;if(u.has(y.name))throw new Error(du("Label {name} defined twice",y));return u.set(y.name,y),I(),u.delete(y.name),!0}if(A instanceof yr){for(var g=o;g;g=g.parent_scope)g.uses_with=!0;return}if(A instanceof pt&&(A.scope=o),A instanceof fs&&(A.thedef=A,A.references=[]),A instanceof ri)h.def_function(A,A.name=="arguments"?void 0:h);else if(A instanceof Ei){const D=h.parent_scope;A.scope=C.directives["use strict"]?D:D.get_defun_scope(),S(A.scope.def_function(A,h),1)}else if(A instanceof wu)S(h.def_variable(A,h),1);else if(A instanceof Xo)o.def_variable(A);else if(A instanceof Ru)S((A.scope=h.parent_scope).def_function(A,h),1);else if(A instanceof Ui||A instanceof Wo||A instanceof no||A instanceof Kr){var O;if(A instanceof Vi?O=o.def_variable(A,null):O=h.def_variable(A,A.TYPE=="SymbolVar"?null:void 0),O.orig.every(D=>D===A?!0:A instanceof Vi?D instanceof ri:!(D instanceof Wo||D instanceof no))||xu(`"${A.name}" is redeclared`,A.start.file,A.start.line,A.start.col,A.start.pos),A instanceof Nn||S(O,2),h!==o){A.mark_enclosed();var O=o.find_variable(A);A.thedef!==O&&(A.thedef=O,A.reference())}}else if(A instanceof Nl){var w=u.get(A.name);if(!w)throw new Error(du("Undefined label {name} [{line},{col}]",{name:A.name,line:A.start.line,col:A.start.col}));A.thedef=w}!(o instanceof zt)&&(A instanceof On||A instanceof kr)&&xu(`"${A.TYPE}" statement may only appear at the top level`,A.start.file,A.start.line,A.start.col,A.start.pos)});t.module&&(C.directives["use strict"]=!0),this.walk(C);function S(A,I){if(m){var j=0;do I++;while(C.parent(j++)!==m)}var M=C.parent(I);if(A.export=M instanceof On?Pu:0){var b=M.exported_definition;(b instanceof Qt||b instanceof Gr)&&M.is_default&&(A.export=A_)}}this instanceof zt&&(this.globals=new Map);var C=new In(A=>{if(A instanceof Xr&&A.label)return A.label.thedef.references.push(A),!0;if(A instanceof Se){var I=A.name;if(I=="eval"&&C.parent()instanceof je)for(var j=A.scope;j&&!j.uses_eval;j=j.parent_scope)j.uses_eval=!0;var M;return C.parent()instanceof Qr&&C.parent(1).module_name||!(M=A.scope.find_variable(I))?(M=n.def_global(A),A instanceof So&&(M.export=Pu)):M.scope instanceof Ke&&I=="arguments"&&(M.scope.get_defun_scope().uses_arguments=!0),A.thedef=M,A.reference(),A.scope.is_block_scope()&&!(M.orig[0]instanceof Vi)&&(A.scope=A.scope.get_defun_scope()),!0}var b;if(A instanceof Kr&&(b=Ll(A.definition())))for(var j=A.scope;j&&(mo(j.enclosed,b),j!==b.scope);)j=j.parent_scope});if(this.walk(C),(t.ie8||t.safari10)&&Pn(this,A=>{if(A instanceof Kr){var I=A.name,j=A.thedef.references,M=A.scope.get_defun_scope(),b=M.find_variable(I)||n.globals.get(I)||M.def_variable(A);return j.forEach(function(y){y.thedef=b,y.reference()}),A.thedef=b,A.reference(),!0}}),t.safari10)for(const A of _)A.parent_scope.variables.forEach(function(I){mo(A.enclosed,I)})}),zt.DEFMETHOD("def_global",function(t){var e=this.globals,n=t.name;if(e.has(n))return e.get(n);var o=new Qo(this,t);return o.undeclared=!0,o.global=!0,e.set(n,o),o}),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 qt&&!this.uses_arguments&&(this.uses_arguments=Pn(t,u=>{if(u instanceof Se&&u.scope instanceof Ke&&u.name==="arguments")return hr;if(u instanceof Ke&&!(u instanceof qt))return!0})),this.uses_with=this.uses_with||t.uses_with,this.uses_eval=this.uses_eval||t.uses_eval;const e=(()=>{const u=[];let h=this;do u.push(h);while(h=h.parent_scope);return u.reverse(),u})(),n=new Set(t.enclosed),o=[];for(const u of e){o.forEach(h=>mo(u.enclosed,h));for(const h of u.variables.values())n.has(h)&&(mo(o,h),mo(u.enclosed,h))}});function x_(t){const e=new Set;for(const n of new Set(t))(function o(u){u==null||e.has(u)||(e.add(u),o(u.parent_scope))})(n);return[...e]}qe.DEFMETHOD("create_symbol",function(t,{source:e,tentative_name:n,scope:o,conflict_scopes:u=[o],init:h=null}={}){let m;if(u=x_(u),n){n=m=n.replace(/(?:^[^a-z_$]|[^a-z0-9_$])/ig,"_");let S=0;for(;u.find(x=>x.conflicting_def_shallow(m));)m=n+"$"+S++}if(!m)throw new Error("No symbol name could be generated in create_symbol()");const _=P(t,e,{name:m,scope:o});return this.def_variable(_,h||null),_.mark_enclosed(),_}),Te.DEFMETHOD("is_block_scope",vt),_t.DEFMETHOD("is_block_scope",vt),Ke.DEFMETHOD("is_block_scope",vt),zt.DEFMETHOD("is_block_scope",vt),Li.DEFMETHOD("is_block_scope",vt),vn.DEFMETHOD("is_block_scope",Qn),qe.DEFMETHOD("is_block_scope",function(){return this._block_scope||!1}),Ur.DEFMETHOD("is_block_scope",Qn),Ke.DEFMETHOD("init_scope_vars",function(){qe.prototype.init_scope_vars.apply(this,arguments),this.uses_arguments=!1,this.def_variable(new Nn({name:"arguments",start:this.start,end:this.end}))}),qt.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&&(mo(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 Qt)&&(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 Qo(this,t,e),this.variables.set(t.name,n),n.global=!this.parent_scope),t.thedef=n});function Ml(t,e){let n;Zo&&(n=t.get_defun_scope())&&Zo.has(n)&&(t=n);var o=t.enclosed,u=e.nth_identifier;e:for(;;){var h=u.get(++t.cname);if(!eo.has(h)&&!e.reserved.has(h)){if(Jo&&Jo.has(h))continue e;for(let m=o.length;--m>=0;){const _=o[m],S=_.mangled_name||_.unmangleable(e)&&_.name;if(h==S)continue e}return h}}}qe.DEFMETHOD("next_mangled",function(t){return Ml(this,t)}),zt.DEFMETHOD("next_mangled",function(t){let e;const n=this.mangled_names;do e=Ml(this,t);while(n.has(e));return e}),Ft.DEFMETHOD("next_mangled",function(t,e){for(var n=e.orig[0]instanceof Nn&&this.name&&this.name.definition(),o=n?n.mangled_name||n.name:null;;){var u=Ml(this,t);if(!o||o!=u)return u}}),pt.DEFMETHOD("unmangleable",function(t){var e=this.definition();return!e||e.unmangleable(t)}),fs.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 Iu(t){return t=di(t,{eval:!1,nth_identifier:ms,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=Iu(t);var e=t.nth_identifier,n=-1,o=[];t.keep_fnames&&(Yo=new Set);const u=this.mangled_names=new Set;Jo=new Set,t.cache&&(this.globals.forEach(m),t.cache.props&&t.cache.props.forEach(function(_){u.add(_)}));var h=new In(function(_,S){if(_ instanceof Jn){var x=n;return S(),n=x,!0}if(_ instanceof Qt&&!(h.parent()instanceof qe)&&(Zo=Zo||new Set,Zo.add(_.parent_scope.get_defun_scope())),_ instanceof qe){_.variables.forEach(m);return}if(_.is_block_scope()){_.block_scope.variables.forEach(m);return}if(Yo&&_ instanceof Lt&&_.value instanceof Ke&&!_.value.name&&Ko(t.keep_fnames,_.name.name)){Yo.add(_.name.definition().id);return}if(_ instanceof fs){let C;do C=e.get(++n);while(eo.has(C));return _.mangled_name=C,!0}if(!(t.ie8||t.safari10)&&_ instanceof Kr){o.push(_.definition());return}});this.walk(h),(t.keep_fnames||t.keep_classnames)&&o.forEach(_=>{_.name.length<6&&_.unmangleable(t)&&Jo.add(_.name)}),o.forEach(_=>{_.mangle(t)}),Yo=null,Jo=null,Zo=null;function m(_){_.export&Pu?Jo.add(_.name):t.reserved.has(_.name)||o.push(_)}}),zt.DEFMETHOD("find_colliding_names",function(t){const e=t.cache&&t.cache.props,n=new Set;return t.reserved.forEach(o),this.globals.forEach(u),this.walk(new In(function(h){h instanceof qe&&h.variables.forEach(u),h instanceof Kr&&u(h.definition())})),n;function o(h){n.add(h)}function u(h){var m=h.name;if(h.global&&e&&e.has(m))m=e.get(m);else if(!h.unmangleable(t))return;o(m)}}),zt.DEFMETHOD("expand_names",function(t){t=Iu(t);var e=t.nth_identifier;e.reset&&e.sort&&(e.reset(),e.sort());var n=this.find_colliding_names(t),o=0;this.globals.forEach(h),this.walk(new In(function(m){m instanceof qe&&m.variables.forEach(h),m instanceof Kr&&h(m.definition())}));function u(){var m;do m=e.get(o++);while(n.has(m)||eo.has(m));return m}function h(m){if(m.global&&t.cache||m.unmangleable(t)||t.reserved.has(m.name))return;const _=Ll(m),S=m.name=_?_.name:u();m.orig.forEach(function(x){x.name=S}),m.references.forEach(function(x){x.name=S})}}),Te.DEFMETHOD("tail_node",yo),lt.DEFMETHOD("tail_node",function(){return this.expressions[this.expressions.length-1]}),zt.DEFMETHOD("compute_char_frequency",function(t){t=Iu(t);var e=t.nth_identifier;if(!e.reset||!e.consider||!e.sort)return;e.reset();try{Te.prototype.print=function(o,u){this._print(o,u),this instanceof pt&&!this.unmangleable(t)?e.consider(this.name,-1):t.properties&&(this instanceof jr?e.consider("#"+this.property,-1):this instanceof $t?e.consider(this.property,-1):this instanceof Sn&&n(this.property))},e.consider(this.print_to_string(),1)}finally{Te.prototype.print=Te.prototype._print}e.sort();function n(o){o instanceof dt?e.consider(o.value,-1):o instanceof tt?(n(o.consequent),n(o.alternative)):o instanceof lt&&n(o.tail_node())}});const ms=(()=>{const t="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ$_".split(""),e="0123456789".split("");let n,o;function u(){o=new Map,t.forEach(function(x){o.set(x,0)}),e.forEach(function(x){o.set(x,0)})}function h(x,C){for(var A=x.length;--A>=0;)o.set(x[A],o.get(x[A])+C)}function m(x,C){return o.get(C)-o.get(x)}function _(){n=Mp(t,m).concat(Mp(e,m))}u(),_();function S(x){var C="",A=54;x++;do x--,C+=n[x%A],x=Math.floor(x/A),A=64;while(x>0);return C}return{get:S,consider:h,reset:u,sort:_}})();let Fu;Te.prototype.size=function(t,e){Fu=t&&t._mangle_options;let n=0;return Qp(this,(o,u)=>{if(n+=o._size(u),o instanceof qt&&o.is_braceless())return n+=o.body[0].value._size(u),!0},e||t&&t.stack),Fu=void 0,n},Te.prototype._size=()=>0,Pi.prototype._size=()=>8,tr.prototype._size=function(){return 2+this.value.length};const tn=t=>t.length&&t.length-1;vn.prototype._size=function(){return 2+tn(this.body)},zt.prototype._size=function(){return tn(this.body)},Rt.prototype._size=()=>1,Jn.prototype._size=()=>2,yi.prototype._size=()=>9,Ii.prototype._size=()=>7,En.prototype._size=()=>8,zn.prototype._size=()=>8,yr.prototype._size=()=>6,ht.prototype._size=()=>3;const _s=t=>(t.is_generator?1:0)+(t.async?6:0);Fi.prototype._size=function(){return _s(this)+4+tn(this.argnames)+tn(this.body)},Ft.prototype._size=function(t){return!!oi(t)*2+_s(this)+12+tn(this.argnames)+tn(this.body)},Qt.prototype._size=function(){return _s(this)+13+tn(this.argnames)+tn(this.body)},qt.prototype._size=function(){let t=2+tn(this.argnames);this.argnames.length===1&&this.argnames[0]instanceof pt||(t+=2);const e=this.is_braceless()?0:tn(this.body)+2;return _s(this)+t+e},Vt.prototype._size=()=>2,$n.prototype._size=function(){return 2+Math.floor(this.segments.length/2)*3},mi.prototype._size=function(){return this.value.length},an.prototype._size=function(){return this.value?7:6},ls.prototype._size=()=>6,Cr.prototype._size=function(){return this.label?6:5},to.prototype._size=function(){return this.label?9:8},wt.prototype._size=()=>4,Wn.prototype._size=function(){return 8+tn(this.body)},qr.prototype._size=function(){return 5+tn(this.body)},vo.prototype._size=function(){return 8+tn(this.body)},gr.prototype._size=()=>3,Yr.prototype._size=function(){let t=7+tn(this.body);return this.argname&&(t+=2),t},zo.prototype._size=function(){return 7+tn(this.body)},Rn.prototype._size=function(){return 4+tn(this.definitions)},Jr.prototype._size=function(){return 4+tn(this.definitions)},Zr.prototype._size=function(){return 6+tn(this.definitions)},Lt.prototype._size=function(){return this.value?1:0},Qr.prototype._size=function(){return this.name?4:0},kr.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+tn(this.imported_names)),t},Mi.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+tn(this.exported_names)),this.module_name&&(t+=5),t},je.prototype._size=function(){return this.optional?4+tn(this.args):2+tn(this.args)},nr.prototype._size=function(){return 6+tn(this.args)},lt.prototype._size=function(){return tn(this.expressions)},$t.prototype._size=function(){return this.optional?this.property.length+2:this.property.length+1},jr.prototype._size=function(){return this.optional?this.property.length+3:this.property.length+2},Sn.prototype._size=function(){return this.optional?4:2},Wt.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 Wt&&this.right.operator===this.operator&&(e+=1),this.needs_parens(t)&&(e+=2),e},tt.prototype._size=()=>3,St.prototype._size=function(){return 2+tn(this.elements)},Nt.prototype._size=function(t){let e=2;return oi(t)&&(e+=2),e+tn(this.properties)};const Lu=t=>typeof t=="string"?t.length:0;Yt.prototype._size=function(){return Lu(this.key)+1};const Mu=t=>t?7:0;Hr.prototype._size=function(){return 5+Mu(this.static)+Lu(this.key)},ti.prototype._size=function(){return 5+Mu(this.static)+Lu(this.key)},Ln.prototype._size=function(){return Mu(this.static)+Lu(this.key)+_s(this)},gi.prototype._size=function(){return Ln.prototype._size.call(this)+1},ei.prototype._size=_i.prototype._size=function(){return Ln.prototype._size.call(this)+4},ni.prototype._size=function(){return 5},_t.prototype._size=function(){return(this.name?8:7)+(this.extends?8:0)},Xn.prototype._size=function(){return 8+tn(this.body)},cr.prototype._size=function(){return Mu(this.static)+(typeof this.key=="string"?this.key.length+2:0)+(this.value?1:0)},bi.prototype._size=function(){return cr.prototype._size.call(this)+1},pt.prototype._size=function(){return Fu&&this.thedef&&!this.thedef.unmangleable(Fu)?1:this.name.length},ji.prototype._size=function(){return this.name.length},Se.prototype._size=wn.prototype._size=function(){return this.name==="arguments"?9:pt.prototype._size.call(this)},$o.prototype._size=()=>10,Eo.prototype._size=function(){return this.name.length},Si.prototype._size=function(){return this.name.length},Un.prototype._size=()=>4,qo.prototype._size=()=>5,dt.prototype._size=function(){return this.value.length+2},Je.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},ii.prototype._size=function(){return this.value.length},lr.prototype._size=function(){return this.value.toString().length},fr.prototype._size=()=>4,ps.prototype._size=()=>3,en.prototype._size=()=>6,wr.prototype._size=()=>0,io.prototype._size=()=>8,br.prototype._size=()=>4,Hi.prototype._size=()=>5,mr.prototype._size=()=>6,_r.prototype._size=()=>6;const oo=1,Bl=2,Ul=4,Vl=8,gs=16,ea=32,Ao=256,jl=512,Hl=1024,O_=Ao|jl|Hl,Vn=(t,e)=>t.flags&e,vr=(t,e)=>{t.flags|=e},ta=(t,e)=>{t.flags&=~e};function Gl(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(Gl,[])})}function rr(t,e){switch(typeof t){case"string":return P(dt,e,{value:t});case"number":return isNaN(t)?P(ps,e):isFinite(t)?1/t<0?P(We,e,{operator:"-",expression:P(Je,e,{value:-t})}):P(Je,e,{value:t}):t<0?P(We,e,{operator:"-",expression:P(io,e)}):P(io,e);case"bigint":return P(ii,e,{value:t.toString()});case"boolean":return P(t?br:Hi,e);case"undefined":return P(en,e);default:if(t===null)return P(fr,e,{value:null});if(t instanceof RegExp)return P(lr,e,{value:{source:mu(t.source),flags:t.flags}});throw new Error(du("Can't handle constant of type: {type}",{type:typeof t}))}}function Ki(t,e){return t.size()>e.size()?e:t}function D_(t,e){return Ki(P(He,t,{body:t}),P(He,e,{body:e})).body}function Er(t,e,n){return oi(t)?D_(e,n):Ki(e,n)}function id(t){if(t instanceof Tt)return t.getValue();if(!(t instanceof We&&t.operator=="void"&&t.expression instanceof Tt))return t}function od(t,e){if(e=id(e),!(e instanceof Te)){var n;if(t instanceof St){var o=t.elements;if(e=="length")return rr(o.length,t);typeof e=="number"&&e in o&&(n=o[e])}else if(t instanceof Nt){e=""+e;for(var u=t.properties,h=u.length;--h>=0;){var m=u[h];if(!(m instanceof Yt))return;!n&&u[h].key===e&&(n=u[h].value)}}return n instanceof Se&&n.fixed_value()||n}}function Kl(t,e){var n=!1,o=new In(function(u){if(n||u instanceof qe)return!0;if(u instanceof Xr&&o.loopcontrol_target(u)===t)return n=!0});return e instanceof Jn&&o.push(e),o.push(t),t.body.walk(o),n}function xo(t,e,n){if(t instanceof We&&t.operator=="delete"||t instanceof je&&t.expression===e&&(n instanceof mn||n instanceof Xe||n instanceof Se&&n.name=="eval")){const o=P(Je,e,{value:0});return nt(e,[o,n])}else return n}function Bu(t){return t instanceof qt||t instanceof Ft}function zl(t){return t.TYPE!="Call"?!1:t.expression instanceof Ft||zl(t.expression)}function ao(t){return t===null||t instanceof Rt?!0:t instanceof Ye?t.body.length==0:!1}const ad=Ot("Infinity NaN undefined");function sd(t){return t instanceof io||t instanceof ps||t instanceof en}function $l(t,e){if(!(t instanceof Se))return!1;for(var n=t.definition().orig,o=n.length;--o>=0;)if(n[o]instanceof e)return!0}function Wl(t){return!(t instanceof Gr||t instanceof Qt||t instanceof Jr||t instanceof Zr||t instanceof On||t instanceof kr)}function Uu(t){if(t===null)return[];if(t instanceof Ye)return t.body;if(t instanceof Rt)return[];if(t instanceof kn)return[t];throw new Error("Can't convert thing to statement array")}function ud(t,e){const n=o=>{if(o instanceof Se&&e.includes(o.definition()))return hr};return Qp(t,(o,u)=>{if(o instanceof qe&&o!==t){var h=u.parent();return h instanceof je&&h.expression===o&&!(o.async||o.is_generator)?void 0:Pn(o,n)?hr:!0}})}function Xl(t,e){for(var n,o=0;n=t.parent(o);o++)if(n instanceof Ke||n instanceof _t){var u=n.name;if(u&&u.definition()===e)return!0}return!1}function cd(t,e){return e.top_retain&&t instanceof Qt&&Vn(t,Hl)&&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,Ot(t[n]));return(u,h)=>{const m=e.get(u);return m!=null&&m.has(h)}}const Vu=new Set(["Number","String","Array","Object","Function","Promise"]),Oo=["constructor","toString","valueOf"],ld=ql({Array:["at","flat","includes","indexOf","join","lastIndexOf","slice",...Oo],Boolean:Oo,Function:Oo,Number:["toExponential","toFixed","toPrecision",...Oo],Object:Oo,RegExp:["test",...Oo],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",...Oo]}),fd=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"]}),C_=ql({Math:["E","LN10","LN2","LOG2E","LOG10E","PI","SQRT1_2","SQRT2"],Number:["MAX_VALUE","MIN_VALUE","NaN","NEGATIVE_INFINITY","POSITIVE_INFINITY"]}),ai=t=>t instanceof Se&&t.definition().undeclared,Yl=Ot("<<< >> << & | ^ ~"),Do=Ot("&& || ??"),ju=Ot("delete ++ --");(function(t){const e=Ot("! delete"),n=Ot("in instanceof == != === !== < <= >= >");t(Te,vt),t(We,function(){return e.has(this.operator)}),t(ae,function(){return n.has(this.operator)||Do.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(br,Qn),t(Hi,Qn)})(function(t,e){t.DEFMETHOD("is_boolean",e)}),function(t){t(Te,vt),t(Je,Qn);const e=Ot("+ - ~ ++ --");t(Wt,function(){return e.has(this.operator)&&!(this.expression instanceof ii)});const n=Ot("- * / % & | ^ << >> >>>");t(ae,function(o){return n.has(this.operator)||this.operator=="+"&&this.left.is_number(o)&&this.right.is_number(o)}),t(st,function(o){return n.has(this.operator.slice(0,-1))||this.operator=="="&&this.right.is_number(o)}),t(lt,function(o){return this.tail_node().is_number(o)}),t(tt,function(o){return this.consequent.is_number(o)&&this.alternative.is_number(o)})}(function(t,e){t.DEFMETHOD("is_number",e)}),function(t){t(Te,vt),t(Je,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 Yl.has(this.operator)})}(function(t,e){t.DEFMETHOD("is_32_bit_integer",e)}),function(t){t(Te,vt),t(dt,Qn),t($n,Qn),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 si(t,e){return Vn(t,Vl)||t instanceof en||t instanceof We&&t.operator=="void"&&!t.expression.has_side_effects(e)}function hd(t,e){let n;return t instanceof fr||si(t,e)||t instanceof Se&&(n=t.definition().fixed)instanceof Te&&ui(n,e)}function na(t,e){return t instanceof Xe||t instanceof je?t.optional&&hd(t.expression,e)||na(t.expression,e):t instanceof mn?na(t.expression,e):!1}function ui(t,e){return hd(t,e)?!0:na(t,e)}(function(t){t(Te,Qn),t(Rt,vt),t(Tt,vt),t(Un,vt);function e(n,o){for(var u=n.length;--u>=0;)if(n[u].has_side_effects(o))return!0;return!1}t(vn,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(Wn,function(n){return this.expression.has_side_effects(n)||e(this.body,n)}),t(qr,function(n){return this.expression.has_side_effects(n)||e(this.body,n)}),t(gr,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(Mi,vt),t(Jn,function(n){return this.body.has_side_effects(n)}),t(He,function(n){return this.body.has_side_effects(n)}),t(Ke,vt),t(_t,function(n){return this.extends&&this.extends.has_side_effects(n)?!0:e(this.properties,n)}),t(Xn,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,Qn),t(tt,function(n){return this.condition.has_side_effects(n)||this.consequent.has_side_effects(n)||this.alternative.has_side_effects(n)}),t(Wt,function(n){return ju.has(this.operator)||this.expression.has_side_effects(n)}),t(Se,function(n){return!this.is_declared(n)&&!Vu.has(this.name)}),t(ji,vt),t(wn,vt),t(Nt,function(n){return e(this.properties,n)}),t(un,function(n){return this.computed_key()&&this.key.has_side_effects(n)||this.value&&this.value.has_side_effects(n)}),t(cr,function(n){return this.computed_key()&&this.key.has_side_effects(n)||this.static&&this.value&&this.value.has_side_effects(n)}),t(Ln,function(n){return this.computed_key()&&this.key.has_side_effects(n)}),t(Hr,function(n){return this.computed_key()&&this.key.has_side_effects(n)}),t(ti,function(n){return this.computed_key()&&this.key.has_side_effects(n)}),t(St,function(n){return e(this.elements,n)}),t($t,function(n){return ui(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(Sn,function(n){if(ui(this,n))return this.expression.has_side_effects(n);if(!this.optional&&this.expression.may_throw_on_access(n))return!0;var o=this.property.has_side_effects(n);return o&&this.optional?!0:o||this.expression.has_side_effects(n)}),t(mn,function(n){return this.expression.has_side_effects(n)}),t(lt,function(n){return e(this.expressions,n)}),t(sn,function(n){return e(this.definitions,n)}),t(Lt,function(){return this.value}),t(mi,vt),t($n,function(n){return e(this.segments,n)})})(function(t,e){t.DEFMETHOD("has_side_effects",e)}),function(t){t(Te,Qn),t(Tt,vt),t(Rt,vt),t(Ke,vt),t(wn,vt),t(Un,vt),t(Mi,vt);function e(n,o){for(var u=n.length;--u>=0;)if(n[u].may_throw(o))return!0;return!1}t(_t,function(n){return this.extends&&this.extends.may_throw(n)?!0:e(this.properties,n)}),t(Xn,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 Se?!1:this.left.may_throw(n)}),t(ae,function(n){return this.left.may_throw(n)||this.right.may_throw(n)}),t(vn,function(n){return e(this.body,n)}),t(je,function(n){return ui(this,n)?!1:e(this.args,n)?!0:this.is_callee_pure(n)?!1:this.expression.may_throw(n)?!0:!(this.expression instanceof Ke)||e(this.expression.body,n)}),t(qr,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(sn,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(Jn,function(n){return this.body.may_throw(n)}),t(Nt,function(n){return e(this.properties,n)}),t(un,function(n){return this.value?this.value.may_throw(n):!1}),t(cr,function(n){return this.computed_key()&&this.key.may_throw(n)||this.static&&this.value&&this.value.may_throw(n)}),t(Ln,function(n){return this.computed_key()&&this.key.may_throw(n)}),t(Hr,function(n){return this.computed_key()&&this.key.may_throw(n)}),t(ti,function(n){return this.computed_key()&&this.key.may_throw(n)}),t(an,function(n){return this.value&&this.value.may_throw(n)}),t(lt,function(n){return e(this.expressions,n)}),t(He,function(n){return this.body.may_throw(n)}),t($t,function(n){return ui(this,n)?!1:!this.optional&&this.expression.may_throw_on_access(n)||this.expression.may_throw(n)}),t(Sn,function(n){return ui(this,n)?!1:!this.optional&&this.expression.may_throw_on_access(n)||this.expression.may_throw(n)||this.property.may_throw(n)}),t(mn,function(n){return this.expression.may_throw(n)}),t(Wn,function(n){return this.expression.may_throw(n)||e(this.body,n)}),t(Se,function(n){return!this.is_declared(n)&&!Vu.has(this.name)}),t(ji,vt),t(gr,function(n){return this.bcatch?this.bcatch.may_throw(n):this.body.may_throw(n)||this.bfinally&&this.bfinally.may_throw(n)}),t(Wt,function(n){return this.operator=="typeof"&&this.expression instanceof Se?!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 o=!0;return Pn(this,u=>{if(u instanceof Se){if(Vn(this,gs))return o=!1,hr;var h=u.definition();if(Al(h,this.enclosed)&&!this.variables.has(h.name)){if(n){var m=n.find_variable(u);if(h.undeclared?!m:m===h)return o="f",!0}return o=!1,hr}return!0}if(u instanceof Un&&this instanceof qt)return o=!1,hr}),o}t(Te,vt),t(Tt,Qn),t(_t,function(n){if(this.extends&&!this.extends.is_constant_expression(n))return!1;for(const o of this.properties)if(o.computed_key()&&!o.key.is_constant_expression(n)||o.static&&o.value&&!o.value.is_constant_expression(n)||o instanceof Xn)return!1;return e.call(this,n)}),t(Ke,e),t(Wt,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(un,function(){return!!(!(this.key instanceof Te)&&this.value&&this.value.is_constant_expression())})}(function(t,e){t.DEFMETHOD("is_constant_expression",e)}),function(t){Te.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(Te,e),t(fr,Qn),t(en,Qn),t(Tt,vt),t(St,vt),t(Nt,function(n){if(!e(n))return!1;for(var o=this.properties.length;--o>=0;)if(this.properties[o]._dot_throw(n))return!0;return!1}),t(_t,vt),t(un,vt),t(Hr,Qn),t(ht,function(n){return this.expression._dot_throw(n)}),t(Ft,vt),t(qt,vt),t(Bi,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($t,function(n){return e(n)?this.property=="prototype"?!(this.expression instanceof Ft||this.expression instanceof _t):!0:!1}),t(mn,function(n){return this.expression._dot_throw(n)}),t(lt,function(n){return this.tail_node()._dot_throw(n)}),t(Se,function(n){if(this.name==="arguments"&&this.scope instanceof Ke)return!1;if(Vn(this,Vl))return!0;if(!e(n)||ai(this)&&this.is_declared(n)||this.is_immutable())return!1;var o=this.fixed_value();return!o||o._dot_throw(n)})}(function(t,e){t.DEFMETHOD("_dot_throw",e)});function Co(t,e){if(e instanceof Wt&&ju.has(e.operator))return e.expression;if(e instanceof st&&e.left===t||e instanceof zn&&e.init===t)return t}(function(t){function e(o){return P(We,o,{operator:"!",expression:o})}function n(o,u,h){var m=e(o);if(h){var _=P(He,u,{body:u});return Ki(m,_)===_?u:m}return Ki(m,u)}t(Te,function(){return e(this)}),t(kn,function(){throw new Error("Cannot negate a statement")}),t(Ft,function(){return e(this)}),t(_t,function(){return e(this)}),t(qt,function(){return e(this)}),t(We,function(){return this.operator=="!"?this.expression:e(this)}),t(lt,function(o){var u=this.expressions.slice();return u.push(u.pop().negate(o)),nt(this,u)}),t(tt,function(o,u){var h=this.clone();return h.consequent=h.consequent.negate(o),h.alternative=h.alternative.negate(o),n(this,h,u)}),t(ae,function(o,u){var h=this.clone(),m=this.operator;if(o.option("unsafe_comps"))switch(m){case"<=":return h.operator=">",h;case"<":return h.operator=">=",h;case">=":return h.operator="<",h;case">":return h.operator="<=",h}switch(m){case"==":return h.operator="!=",h;case"!=":return h.operator="==",h;case"===":return h.operator="!==",h;case"!==":return h.operator="===",h;case"&&":return h.operator="||",h.left=h.left.negate(o,u),h.right=h.right.negate(o),n(this,h,u);case"||":return h.operator="&&",h.left=h.left.negate(o,u),h.right=h.right.negate(o),n(this,h,u)}return e(this)})})(function(t,e){t.DEFMETHOD("negate",function(n,o){return e.call(this,n,o)})}),function(t){function e(n){return P(We,n,{operator:"~",expression:n})}t(Te,function(){return e(this)}),t(Je,function(){const n=~this.value;return n.toString().length>this.value.toString().length?e(this):P(Je,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 k_=Ot("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(ai(e)&&k_.has(e.name)||e instanceof $t&&ai(e.expression)&&fd(e.expression.name,e.property))return!0}return this instanceof nr&&t.option("pure_new")||t.option("side_effects")&&ar(this,Pl)?!0:!t.pure_funcs(this)}),Te.DEFMETHOD("is_call_pure",vt),$t.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 lr?n="RegExp":e.is_string(t)?n="String":this.may_throw_on_access(t)||(n="Object"),n!=null&&ld(n,this.property)});const Nr=t=>t&&t.aborts();(function(t){t(kn,Qi),t(cs,yo);function e(){for(var n=0;n<this.body.length;n++)if(Nr(this.body[n]))return this.body[n];return null}t(kr,Qi),t(Ye,e),t(Li,e),t(Gr,function(){for(const n of this.properties)if(n instanceof Xn&&n.aborts())return n;return null}),t(Xn,e),t(wt,function(){return this.alternative&&Nr(this.body)&&Nr(this.alternative)&&this})})(function(t,e){t.DEFMETHOD("aborts",e)}),Te.DEFMETHOD("contains_this",function(){return Pn(this,t=>{if(t instanceof Un)return hr;if(t!==this&&t instanceof qe&&!(t instanceof qt))return!0})});function ra(t,e,n,o,u,h){var m=e.parent(u),_=Co(n,m);if(_)return _;if(!h&&m instanceof je&&m.expression===n&&!(o instanceof qt)&&!(o instanceof _t)&&!m.is_callee_pure(t)&&(!(o instanceof Ft)||!(m instanceof nr)&&o.contains_this()))return!0;if(m instanceof St)return ra(t,e,m,m,u+1);if(m instanceof Yt&&n===m.value){var S=e.parent(u+1);return ra(t,e,S,S,u+2)}if(m instanceof Xe&&m.expression===n){var x=od(o,m.property);return!h&&ra(t,e,m,x,u+1)}}function jn(t,e){t.DEFMETHOD("_eval",e)}const ia=Symbol("This AST_Chain is nullish");Te.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==ia)return this;if(typeof e=="string"){const n=this.size(t);if(e.length+2>n)return this}return e});var R_=Ot("! ~ - + void");Te.DEFMETHOD("is_constant",function(){return this instanceof Tt?!(this instanceof lr):this instanceof We&&this.expression instanceof Tt&&R_.has(this.operator)}),jn(kn,function(){throw new Error(du("Cannot evaluate a statement [{file}:{line},{col}]",this.start))}),jn(Ke,yo),jn(_t,yo),jn(Te,yo),jn(Tt,function(){return this.getValue()});const w_=typeof BigInt=="function";jn(ii,function(){return w_?BigInt(this.value):this}),jn(lr,function(t){let e=t.evaluated_regexps.get(this.value);if(e===void 0&&Bp(this.value.source)){try{const{source:n,flags:o}=this.value;e=new RegExp(n,o)}catch{e=null}t.evaluated_regexps.set(this.value,e)}return e||this}),jn($n,function(){return this.segments.length!==1?this:this.segments[0].value}),jn(Ft,function(t){if(t.option("unsafe")){var e=function(){};return e.node=this,e.toString=()=>this.print_to_string(),e}return this}),jn(St,function(t,e){if(t.option("unsafe")){for(var n=[],o=0,u=this.elements.length;o<u;o++){var h=this.elements[o],m=h._eval(t,e);if(h===m)return this;n.push(m)}return n}return this}),jn(Nt,function(t,e){if(t.option("unsafe")){for(var n={},o=0,u=this.properties.length;o<u;o++){var h=this.properties[o];if(h instanceof ht)return this;var m=h.key;if(m instanceof pt)m=m.name;else if(m instanceof Te&&(m=m._eval(t,e),m===h.key))return this;if(typeof Object.prototype[m]=="function")return this;if(!(h.value instanceof Ft)&&(n[m]=h.value._eval(t,e),n[m]===h.value))return this}return n}return this});var N_=Ot("! typeof void");jn(We,function(t,e){var n=this.expression;if(t.option("typeofs")&&this.operator=="typeof"&&(n instanceof Ke||n instanceof Se&&n.fixed_value()instanceof Ke))return"function";if(N_.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 P_=Ot("&& || ?? === !==");const I_=Ot("== != === !=="),pd=t=>typeof t=="object"||typeof t=="function"||typeof t=="symbol";jn(ae,function(t,e){P_.has(this.operator)||e++;var n=this.left._eval(t,e);if(n===this.left)return this;var o=this.right._eval(t,e);if(o===this.right)return this;if(n!=null&&o!=null&&I_.has(this.operator)&&pd(n)&&pd(o)&&typeof n==typeof o)return this;if(typeof n=="bigint"!=(typeof o=="bigint")||typeof n=="bigint"&&(this.operator===">>>"||this.operator==="/"&&Number(o)===0))return this;var u;switch(this.operator){case"&&":u=n&&o;break;case"||":u=n||o;break;case"??":u=n??o;break;case"|":u=n|o;break;case"&":u=n&o;break;case"^":u=n^o;break;case"+":u=n+o;break;case"*":u=n*o;break;case"**":u=n**o;break;case"/":u=n/o;break;case"%":u=n%o;break;case"-":u=n-o;break;case"<<":u=n<<o;break;case">>":u=n>>o;break;case">>>":u=n>>>o;break;case"==":u=n==o;break;case"===":u=n===o;break;case"!=":u=n!=o;break;case"!==":u=n!==o;break;case"<":u=n<o;break;case"<=":u=n<=o;break;case">":u=n>o;break;case">=":u=n>=o;break;default:return this}return typeof u=="number"&&isNaN(u)&&t.find_parent(yr)?this:u}),jn(tt,function(t,e){var n=this.condition._eval(t,e);if(n===this.condition)return this;var o=n?this.consequent:this.alternative,u=o._eval(t,e);return u===o?this:u});const Jl=new Set;jn(Se,function(t,e){if(Jl.has(this))return this;var n=this.fixed_value();if(!n)return this;Jl.add(this);const o=n._eval(t,e);if(Jl.delete(this),o===n)return this;if(o&&typeof o=="object"){var u=this.definition().escaped;if(u&&e>u)return this}return o});const dd={Array,Math,Number,Object,String},F_=new Set(["dotAll","global","ignoreCase","multiline","sticky","unicode"]);jn(Xe,function(t,e){let n=this.expression._eval(t,e+1);if(n===ia||this.optional&&n==null)return ia;if(this.property==="length"){if(typeof n=="string")return n.length;if(n instanceof St&&n.elements.every(S=>!(S instanceof ht))&&n.elements.every(S=>!S.has_side_effects(t)))return n.elements.length}if(t.option("unsafe")){var o=this.property;if(o instanceof Te&&(o=o._eval(t,e),o===this.property))return this;var u=this.expression;if(ai(u)){var h,m=u.name==="hasOwnProperty"&&o==="call"&&(h=t.parent()&&t.parent().args)&&h&&h[0]&&h[0].evaluate(t);if(m=m instanceof $t?m.expression:m,m==null||m.thedef&&m.thedef.undeclared)return this.clone();if(!C_(u.name,o))return this;n=dd[u.name]}else{if(n instanceof RegExp){if(o=="source")return mu(n.source);if(o=="flags"||F_.has(o))return n[o]}if(!n||n===u||!er(n,o))return this;if(typeof n=="function")switch(o){case"name":return n.node.name?n.node.name.name:"";case"length":return n.node.length_property();default:return this}}return n[o]}return this}),jn(mn,function(t,e){const n=this.expression._eval(t,e);return n===ia?void 0:n===this.expression?this:n}),jn(je,function(t,e){var n=this.expression;const o=n._eval(t,e);if(o===ia||this.optional&&o==null)return ia;if(t.option("unsafe")&&n instanceof Xe){var u=n.property;if(u instanceof Te&&(u=u._eval(t,e),u===n.property))return this;var h,m=n.expression;if(ai(m)){var _=m.name==="hasOwnProperty"&&u==="call"&&this.args[0]&&this.args[0].evaluate(t);if(_=_ instanceof $t?_.expression:_,_==null||_.thedef&&_.thedef.undeclared)return this.clone();if(!fd(m.name,u))return this;h=dd[m.name]}else{if(h=m._eval(t,e+1),h===m||!h)return this;if(!ld(h.constructor.name,u))return this}for(var S=[],x=0,C=this.args.length;x<C;x++){var A=this.args[x],I=A._eval(t,e);if(A===I)return this;if(A instanceof Ke)return this;S.push(I)}try{return h[u].apply(h,S)}catch{}}return this}),jn(nr,yo);function nn(t,e){t.DEFMETHOD("drop_side_effect_free",e)}function bs(t,e,n){var o=t.length;if(!o)return null;for(var u=[],h=!1,m=0;m<o;m++){var _=t[m].drop_side_effect_free(e,n);h|=_!==t[m],_&&(u.push(_),n=!1)}return h?u.length?u:null:t}nn(Te,yo),nn(Tt,Qi),nn(Un,Qi),nn(je,function(t,e){if(na(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=bs(n,t,e),n&&nt(this,n)}if(Bu(this.expression)&&(!this.expression.name||!this.expression.name.definition().references.length)){var o=this.clone();return o.expression.process_expression(!1,t),o}return this}var u=bs(this.args,t,e);return u&&nt(this,u)}),nn(Fi,Qi),nn(Ft,Qi),nn(qt,Qi),nn(_t,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 u of this.properties)if(u instanceof Xn){if(u.has_side_effects(t))return this}else{const h=u.drop_side_effect_free(t);h&&e.push(h)}if(!e.length)return null;const o=nt(this,e);return this instanceof Gr?P(He,this,{body:o}):o}),nn(cr,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}),nn(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(Do.has(this.operator)){if(n===this.right)return this;var o=this.clone();return o.right=n,o}else{var u=this.left.drop_side_effect_free(t,e);return u?nt(this,[u,n]):this.right.drop_side_effect_free(t,e)}}),nn(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(vr(this,ea);e instanceof Xe;)e=e.expression;return e.is_constant_expression(t.find_parent(qe))?this.right.drop_side_effect_free(t):this}),nn(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 o=this.clone();return o.consequent=e,o.alternative=n,o}),nn(Wt,function(t,e){if(ju.has(this.operator))return this.expression.has_side_effects(t)?ta(this,ea):vr(this,ea),this;if(this.operator=="typeof"&&this.expression instanceof Se)return null;var n=this.expression.drop_side_effect_free(t,e);return e&&n&&zl(n)?n===this.expression&&this.operator=="!"?this:n.negate(t,e):n}),nn(Se,function(t){return this.is_declared(t)||Vu.has(this.name)?null:this}),nn(Nt,function(t,e){var n=bs(this.properties,t,e);return n&&nt(this,n)}),nn(un,function(t,e){const o=this instanceof Yt&&this.key instanceof Te&&this.key.drop_side_effect_free(t,e),u=this.value&&this.value.drop_side_effect_free(t,e);return o&&u?nt(this,[o,u]):o||u}),nn(Ln,function(){return this.computed_key()?this.key:null}),nn(Hr,function(){return this.computed_key()?this.key:null}),nn(ti,function(){return this.computed_key()?this.key:null}),nn(St,function(t,e){var n=bs(this.elements,t,e);return n&&nt(this,n)}),nn($t,function(t,e){return na(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)}),nn(Sn,function(t,e){if(na(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 o=this.expression.drop_side_effect_free(t,e);return o&&n?nt(this,[o,n]):o||n}),nn(mn,function(t,e){return this.expression.drop_side_effect_free(t,e)}),nn(lt,function(t){var e=this.tail_node(),n=e.drop_side_effect_free(t);if(n===e)return this;var o=this.expressions.slice(0,-1);return n&&o.push(n),o.length?nt(this,o):P(Je,this,{value:0})}),nn(ht,function(t,e){return this.expression.drop_side_effect_free(t,e)}),nn(mi,Qi),nn($n,function(t){var e=bs(this.segments,t,oi);return e&&nt(this,e)});const L_=/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,o=!(e instanceof zt)||t.toplevel.vars;const u=L_.test(t.option("unused"))?vt:function(M){if(M instanceof st&&!M.logical&&(Vn(M,ea)||M.operator=="="))return M.left;if(M instanceof Wt&&Vn(M,ea))return M.expression};var h=new Map,m=new Map;e instanceof zt&&t.top_retain&&e.variables.forEach(function(M){t.top_retain(M)&&h.set(M.id,M)});var _=new Map,S=new Map,x=new Set,C=this,A=new In(function(M,b){if(M instanceof Ke&&M.uses_arguments&&!A.has_directive("use strict")&&M.argnames.forEach(function(O){if(O instanceof wn){var w=O.definition();h.set(w.id,w)}}),M===e)return;if(M instanceof _t&&M.has_side_effects(t)&&(M.is_self_referential()&&x.add(M),M.visit_nondeferred_class_parts(A)),M instanceof Qt||M instanceof Gr){var y=M.name.definition();return(A.parent()instanceof On||!n&&C===e)&&y.global&&h.set(y.id,y),yu(S,y.id,M),!0}const g=C===e;if(M instanceof Nn&&g&&yu(_,M.definition().id,M),M instanceof sn&&g){const O=A.parent()instanceof On;return M.definitions.forEach(function(w){if(w.name instanceof Ui&&yu(_,w.name.definition().id,w),(O||!o)&&Pn(w.name,V=>{if(V instanceof wn){const X=V.definition();X.global&&h.set(X.id,X)}}),w.name instanceof Vt&&w.walk(A),w.name instanceof wn&&w.value){var D=w.name.definition();yu(S,D.id,w.value),!D.chained&&w.name.fixed_value()===w.value&&m.set(D.id,w),w.value.has_side_effects(t)&&w.value.walk(A)}}),!0}return j(M,b)});e.walk(A),A=new In(j),h.forEach(function(M){var b=S.get(M.id);b&&b.forEach(function(y){y.walk(A)})}),x.forEach(function(M){M.walk(A)});var I=new pr(function(b,y,g){var O=I.parent();if(o){const te=u(b);if(te instanceof Se){var D=te.definition(),w=h.has(D.id);if(b instanceof st){if(!w||m.has(D.id)&&m.get(D.id)!==b)return xo(O,b,b.right.transform(I))}else if(!w)return g?Xt.skip:P(Je,b,{value:0})}}if(C===e){var D;if(b.name&&(b instanceof vi&&!Ko(t.option("keep_classnames"),(D=b.name.definition()).name)||b instanceof Ft&&!Ko(t.option("keep_fnames"),(D=b.name.definition()).name))&&(!h.has(D.id)||D.orig.length>1)&&(b.name=null),b instanceof Ke&&!(b instanceof Fi))for(var V=!t.option("keep_fargs"),X=b.argnames,re=X.length;--re>=0;){var z=X[re];z instanceof ht&&(z=z.expression),z instanceof Rr&&(z=z.left),!(z instanceof Vt)&&!h.has(z.definition().id)?(vr(z,oo),V&&X.pop()):V=!1}if(b instanceof Gr&&b!==e){const te=b.name.definition();if(y(b,this),!(te.global&&!n||h.has(te.id))){const le=b.drop_side_effect_free(t);return le??(te.eliminated++,g?Xt.skip:P(Rt,b))}return b}if(b instanceof Qt&&b!==e){const te=b.name.definition();if(!(te.global&&!n||h.has(te.id)))return te.eliminated++,g?Xt.skip:P(Rt,b)}if(b instanceof sn&&!(O instanceof zn&&O.init===b)){var Y=!(O instanceof zt)&&!(b instanceof Rn),K=[],ce=[],Q=[],de=[];switch(b.definitions.forEach(function(te){te.value&&(te.value=te.value.transform(I));var he=te.name instanceof Vt,le=he?new Qo(null,{name:"<destructure>"}):te.name.definition();if(Y&&le.global)return Q.push(te);if(!(o||Y)||he&&(te.name.names.length||te.name.is_array||t.option("pure_getters")!=!0)||h.has(le.id)){if(te.value&&m.has(le.id)&&m.get(le.id)!==te&&(te.value=te.value.drop_side_effect_free(t)),te.name instanceof Ui){var Ae=_.get(le.id);if(Ae.length>1&&(!te.value||le.orig.indexOf(te.name)>le.eliminated)){if(te.value){var Pe=P(Se,te.name,te.name);le.references.push(Pe);var _e=P(st,te,{operator:"=",logical:!1,left:Pe,right:te.value});m.get(le.id)===te&&m.set(le.id,_e),de.push(_e.transform(I))}Go(Ae,te),le.eliminated++;return}}te.value?(de.length>0&&(Q.length>0?(de.push(te.value),te.value=nt(te.value,de)):K.push(P(He,b,{body:nt(b,de)})),de=[]),Q.push(te)):ce.push(te)}else if(le.orig[0]instanceof Kr){var Ue=te.value&&te.value.drop_side_effect_free(t);Ue&&de.push(Ue),te.value=null,ce.push(te)}else{var Ue=te.value&&te.value.drop_side_effect_free(t);Ue&&de.push(Ue),le.eliminated++}}),(ce.length>0||Q.length>0)&&(b.definitions=ce.concat(Q),K.push(b)),de.length>0&&K.push(P(He,b,{body:nt(b,de)})),K.length){case 0:return g?Xt.skip:P(Rt,b);case 1:return K[0];default:return g?Xt.splice(K):P(Ye,b,{body:K})}}if(b instanceof En){y(b,this);var ye;return b.init instanceof Ye&&(ye=b.init,b.init=ye.body.pop(),ye.body.push(b)),b.init instanceof He?b.init=b.init.body:ao(b.init)&&(b.init=null),ye?g?Xt.splice(ye.body):ye:b}if(b instanceof Jn&&b.body instanceof En){if(y(b,this),b.body instanceof Ye){var ye=b.body;return b.body=ye.body.pop(),ye.body.push(b),g?Xt.splice(ye.body):ye}return b}if(b instanceof Ye)return y(b,this),g&&b.body.every(Wl)?Xt.splice(b.body):b;if(b instanceof qe&&!(b instanceof Xn)){const te=C;return C=b,y(b,this),C=te,b}}});e.transform(I);function j(M,b){var y;const g=u(M);if(g instanceof Se&&!$l(M.left,Vi)&&e.variables.get(g.name)===(y=g.definition()))return M instanceof st&&(M.right.walk(A),!y.chained&&M.left.fixed_value()===M.right&&m.set(y.id,M)),!0;if(M instanceof Se){if(y=M.definition(),!h.has(y.id)&&(h.set(y.id,y),y.orig[0]instanceof Kr)){const w=y.scope.is_block_scope()&&y.scope.get_defun_scope().variables.get(y.name);w&&h.set(w.id,w)}return!0}if(M instanceof _t)return b(),!0;if(M instanceof qe&&!(M instanceof Xn)){var O=C;return C=M,b(),C=O,!0}}});function cn(t,e){t.DEFMETHOD("reduce_vars",e)}cn(Te,dr);function Zl(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 Nn&&e.scope.uses_arguments?e.fixed=!1:e.orig[0]instanceof no||!t.exposed(e)?e.fixed=e.init:e.fixed=!1}function Ql(t,e,n){n.variables.forEach(function(o){Zl(e,o),o.fixed===null?(t.defs_to_safe_ids.set(o.id,t.safe_ids),zi(t,o,!0)):o.fixed&&(t.loop_ids.set(o.id,t.in_loop),zi(t,o,!0))})}function ko(t,e){e.block_scope&&e.block_scope.variables.forEach(n=>{Zl(t,n)})}function _n(t){t.safe_ids=Object.create(t.safe_ids)}function Dn(t){t.safe_ids=Object.getPrototypeOf(t.safe_ids)}function zi(t,e,n){t.safe_ids[e.id]=n}function yd(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 Nn||n.name=="arguments")return!1;e.fixed=P(en,n)}return!0}return e.fixed instanceof Qt}function ef(t,e,n,o){if(e.fixed===void 0)return!0;let u;return e.fixed===null&&(u=t.defs_to_safe_ids.get(e.id))?(u[e.id]=!1,t.defs_to_safe_ids.delete(e.id),!0):!er(t.safe_ids,e.id)||!yd(t,e)||e.fixed===!1||e.fixed!=null&&(!o||e.references.length>e.assignments)?!1:e.fixed instanceof Qt?o instanceof Te&&e.fixed.parent_scope===n:e.orig.every(h=>!(h instanceof no||h instanceof Ei||h instanceof ri))}function M_(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 B_(t){return t?t.is_constant()||t instanceof Ke||t instanceof Un:!1}function vs(t,e,n,o,u,h=0,m=1){var _=t.parent(h);if(!(u&&(u.is_constant()||u instanceof vi))){if(_ instanceof st&&(_.operator==="="||_.logical)&&o===_.right||_ instanceof je&&(o!==_.expression||_ instanceof nr)||_ instanceof ur&&o===_.value&&o.scope!==e.scope||_ instanceof Lt&&o===_.value||_ instanceof _r&&o===_.value&&o.scope!==e.scope){m>1&&!(u&&u.is_constant_expression(n))&&(m=1),(!e.escaped||e.escaped>m)&&(e.escaped=m);return}else if(_ instanceof St||_ instanceof mr||_ instanceof ae&&Do.has(_.operator)||_ instanceof tt&&o!==_.condition||_ instanceof ht||_ instanceof lt&&o===_.tail_node())vs(t,e,n,_,_,h+1,m);else if(_ instanceof Yt&&o===_.value){var S=t.parent(h+1);vs(t,e,n,S,S,h+2,m)}else if(_ instanceof Xe&&o===_.expression&&(u=od(u,_.property),vs(t,e,n,_,u,h+1,m+1),u))return;h>0||_ instanceof lt&&o!==_.tail_node()||_ instanceof He||(e.direct_access=!0)}}const tf=t=>Pn(t,e=>{if(e instanceof pt){var n=e.definition();n&&(e instanceof Se&&n.references.push(e),n.fixed=!1)}});cn(Fi,function(t,e,n){return _n(t),Ql(t,n,this),e(),Dn(t),!0}),cn(st,function(t,e,n){var o=this;if(o.left instanceof Vt){tf(o.left);return}const u=()=>{if(o.logical)return o.left.walk(t),_n(t),o.right.walk(t),Dn(t),!0};var h=o.left;if(!(h instanceof Se))return u();var m=h.definition(),_=ef(t,m,h.scope,o.right);if(m.assignments++,!_)return u();var S=m.fixed;if(!S&&o.operator!="="&&!o.logical)return u();var x=o.operator=="=",C=x?o.right:o;return ra(n,t,o,C,0)?u():(m.references.push(h),o.logical||(x||(m.chained=!0),m.fixed=x?function(){return o.right}:function(){return P(ae,o,{operator:o.operator.slice(0,-1),left:S instanceof Te?S:S(),right:o.right})}),o.logical?(zi(t,m,!1),_n(t),o.right.walk(t),Dn(t),!0):(zi(t,m,!1),o.right.walk(t),zi(t,m,!0),vs(t,m,h.scope,o,C,0,1),!0))}),cn(ae,function(t){if(Do.has(this.operator))return this.left.walk(t),_n(t),this.right.walk(t),Dn(t),!0}),cn(vn,function(t,e,n){ko(n,this)}),cn(qr,function(t){return _n(t),this.expression.walk(t),Dn(t),_n(t),_o(this,t),Dn(t),!0}),cn(_t,function(t,e){return ta(this,gs),_n(t),e(),Dn(t),!0}),cn(Xn,function(t,e,n){ko(n,this)}),cn(tt,function(t){return this.condition.walk(t),_n(t),this.consequent.walk(t),Dn(t),_n(t),this.alternative.walk(t),Dn(t),!0}),cn(mn,function(t,e){const n=t.safe_ids;return e(),t.safe_ids=n,!0}),cn(je,function(t){this.expression.walk(t),this.optional&&_n(t);for(const e of this.args)e.walk(t);return!0}),cn(Xe,function(t){if(this.optional)return this.expression.walk(t),_n(t),this.property instanceof Te&&this.property.walk(t),!0}),cn(vo,function(t,e){return _n(t),e(),Dn(t),!0});function U_(t,e,n){ta(this,gs),_n(t),Ql(t,n,this);var o;return!this.name&&!this.uses_arguments&&!this.pinned()&&(o=t.parent())instanceof je&&o.expression===this&&!o.args.some(u=>u instanceof ht)&&this.argnames.every(u=>u instanceof pt)&&this.argnames.forEach((u,h)=>{if(u.definition){var m=u.definition();m.orig.length>1||(m.fixed===void 0&&(!this.uses_arguments||t.has_directive("use strict"))?(m.fixed=function(){return o.args[h]||P(en,o)},t.loop_ids.set(m.id,t.in_loop),zi(t,m,!0)):m.fixed=!1)}}),e(),Dn(t),md(this),!0}function md(t){const e=[];Pn(t,h=>{if(h!==t&&(h instanceof Qt&&e.push(h),h instanceof qe||h instanceof He))return!0});const n=new Set,o=new Set,u=[];for(const h of e){const m=h.name.definition(),_=e.some(S=>S!==h&&S.enclosed.indexOf(m)!==-1);for(const S of h.enclosed)if(!(S.fixed===!1||S===m||S.scope.get_defun_scope()!==t)&&!(S.assignments===0&&S.orig.length===1&&S.orig[0]instanceof Ei)){if(_){S.fixed=!1;continue}u.push({defun:h,def:S,fname_def:m}),n.add(S.id),n.add(m.id),o.add(h)}}if(u.length){const h=[],m=new Set,_=new Map;let S;t.walk(S=new In((x,C)=>{if(x instanceof Qt&&o.has(x)){const A=h.length;C();const I=h.length;return _.set(x,{start:A,end:I}),!0}if(x instanceof pt&&x.thedef){const A=x.definition().id;n.has(A)&&((x instanceof wn||Co(x,S))&&m.add(h.length),h.push(A))}}));for(const{def:x,defun:C,fname_def:A}of u){const I=_.get(C),j=(g,O=0,w=!1)=>{let D=O;for(;D=h.indexOf(g,D),D!==-1;)if(D>=I.start&&D<I.end){D=I.end;continue}else if(w&&!m.has(D)){D++;continue}else break;return D},M=j(A.id),b=j(x.id,M+1,!0);M!=-1&&b!=-1&&b>M&&(x.fixed=!1)}}}cn(Ke,U_),cn(yi,function(t,e,n){ko(n,this);const o=t.in_loop;return t.in_loop=this,_n(t),this.body.walk(t),Kl(this)&&(Dn(t),_n(t)),this.condition.walk(t),Dn(t),t.in_loop=o,!0}),cn(En,function(t,e,n){ko(n,this),this.init&&this.init.walk(t);const o=t.in_loop;return t.in_loop=this,_n(t),this.condition&&this.condition.walk(t),this.body.walk(t),this.step&&(Kl(this)&&(Dn(t),_n(t)),this.step.walk(t)),Dn(t),t.in_loop=o,!0}),cn(zn,function(t,e,n){ko(n,this),tf(this.init),this.object.walk(t);const o=t.in_loop;return t.in_loop=this,_n(t),this.body.walk(t),Dn(t),t.in_loop=o,!0}),cn(wt,function(t){return this.condition.walk(t),_n(t),this.body.walk(t),Dn(t),this.alternative&&(_n(t),this.alternative.walk(t),Dn(t)),!0}),cn(Jn,function(t){return _n(t),this.body.walk(t),Dn(t),!0}),cn(Kr,function(){this.definition().fixed=!1}),cn(Se,function(t,e,n){var o=this.definition();o.references.push(this),o.references.length==1&&!o.fixed&&o.orig[0]instanceof Ei&&t.loop_ids.set(o.id,t.in_loop);var u;o.fixed===void 0||!yd(t,o)?o.fixed=!1:o.fixed&&(u=this.fixed_value(),u instanceof Ke&&Xl(t,o)?o.recursive_refs++:u&&!n.exposed(o)&&M_(t,n,o)?o.single_use=u instanceof Ke&&!u.pinned()||u instanceof _t||o.scope===this.scope&&u.is_constant_expression():o.single_use=!1,ra(n,t,this,u,0,B_(u))&&(o.single_use?o.single_use="m":o.fixed=!1)),vs(t,o,this.scope,this,u,0,1)}),cn(zt,function(t,e,n){return this.globals.forEach(function(o){Zl(n,o)}),Ql(t,n,this),e(),md(this),!0}),cn(gr,function(t,e,n){return ko(n,this),_n(t),this.body.walk(t),Dn(t),this.bcatch&&(_n(t),this.bcatch.walk(t),Dn(t)),this.bfinally&&this.bfinally.walk(t),!0}),cn(Wt,function(t){var e=this;if(!(e.operator!=="++"&&e.operator!=="--")){var n=e.expression;if(n instanceof Se){var o=n.definition(),u=ef(t,o,n.scope,!0);if(o.assignments++,!!u){var h=o.fixed;if(h)return o.references.push(n),o.chained=!0,o.fixed=function(){return P(ae,e,{operator:e.operator.slice(0,-1),left:P(We,e,{operator:"+",expression:h instanceof Te?h:h()}),right:P(Je,e,{value:1})})},zi(t,o,!0),!0}}}}),cn(Lt,function(t,e){var n=this;if(n.name instanceof Vt){tf(n.name);return}var o=n.name.definition();if(n.value){if(ef(t,o,n.name.scope,n.value))return o.fixed=function(){return n.value},t.loop_ids.set(o.id,t.in_loop),zi(t,o,!1),e(),zi(t,o,!0),!0;o.fixed=!1}}),cn(Ii,function(t,e,n){ko(n,this);const o=t.in_loop;return t.in_loop=this,_n(t),e(),Dn(t),t.in_loop=o,!0});function nf(t){return t instanceof Ur&&t.body instanceof Ye?t.body:t}function _d(t){if(t instanceof Un)return!0;if(t instanceof Se)return t.definition().orig[0]instanceof ri;if(t instanceof Xe){if(t=t.expression,t instanceof Se){if(t.is_immutable())return!1;t=t.fixed_value()}return t?t instanceof lr?!1:t instanceof Tt?!0:_d(t):!0}return!1}function V_(t){var e=[];return t.definitions.forEach(function(n){n.name instanceof wn?(n.value=null,e.push(n)):n.declarations_as_names().forEach(o=>{e.push(P(Lt,n,{name:o,value:null}))})}),e.length?P(Rn,t,{definitions:e}):null}function Ro(t,e,n){Pn(e,o=>{if(o instanceof Rn){const u=V_(o);return u&&n.push(u),!0}if(o instanceof Qt&&(o===e||!t.has_directive("use strict")))return n.push(o===e?o:P(Rn,o,{definitions:[P(Lt,o,{name:P(Ui,o.name,o.name),value:null})]})),!0;if(o instanceof On||o instanceof kr)return n.push(o),!0;if(o instanceof qe)return!0})}function Hu(t,e){const n=e.find_scope(),o=n.get_defun_scope(),{in_loop:u,in_try:h}=S();var m,_=10;do m=!1,C(t),e.option("dead_code")&&I(t,e),e.option("if_return")&&A(t,e),e.sequences_limit>0&&(M(t,e),y(t,e)),e.option("join_vars")&&O(t),e.option("collapse_vars")&&x(t,e);while(m&&_-- >0);function S(){var w=e.self(),D=0,V=!1,X=!1;do if(w instanceof Ur)V=!0;else{if(w instanceof qe)break;w instanceof ku&&(X=!0)}while(w=e.parent(D++));return{in_loop:V,in_try:X}}function x(w,D){if(n.pinned()||o.pinned())return w;for(var V,X=[],re=w.length,z=new pr(function(B){if(se)return B;if(!ne)return B!==K[ce]?B:(ce++,ce<K.length?Et(B):(ne=!0,ye=De(B,0),ye===B&&(se=!0),B));var Re=z.parent();if(B instanceof st&&(B.logical||B.operator!="="&&he.equivalent_to(B.left))||B instanceof mr||B instanceof je&&he instanceof Xe&&he.equivalent_to(B.expression)||(B instanceof je||B instanceof Xe)&&B.optional||B instanceof Pi||B instanceof Vt||B instanceof ht&&B.expression instanceof pt&&(B.expression instanceof Un||B.expression.definition().references.length>1)||B instanceof Ur&&!(B instanceof En)||B instanceof Xr||B instanceof gr||B instanceof yr||B instanceof _r||B instanceof On||B instanceof _t||Re instanceof En&&B!==Re.init||!_e&&B instanceof Se&&!B.is_declared(D)&&!Vu.has(B)||B instanceof Se&&Re instanceof je&&ar(Re,To)||B instanceof un&&B.key instanceof Te)return se=!0,B;if(!te&&(!Ae||!_e)&&(Re instanceof ae&&Do.has(Re.operator)&&Re.left!==B||Re instanceof tt&&Re.condition!==B||Re instanceof wt&&Re.condition!==B)&&(te=Re),me&&!(B instanceof wn)&&he.equivalent_to(B)&&!Ti(z.find_scope()||n,le)){if(te)return se=!0,B;if(Co(B,Re))return de&&Ee++,B;if(Ee++,de&&Q instanceof Lt)return B;if(m=se=!0,Q instanceof Bi)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&&sd(Me)?Me.transform(D):xo(Re,B,Me)):P(st,Q,{operator:"=",logical:!1,left:P(Se,Q.name,Q.name),right:Me})}return ta(Q,ea),Q}var ut;return(B instanceof je||B instanceof ur&&(Pe||he instanceof Xe||It(he))||B instanceof Xe&&(Pe||B.expression.may_throw_on_access(D))||B instanceof Se&&(le.has(B.name)&&le.get(B.name).modified||Pe&&It(B))||B instanceof Lt&&B.value&&(le.has(B.name.name)||Pe&&It(B.name))||(ut=Co(B.left,B))&&(ut instanceof Xe||le.has(ut.name))||Ue&&(h?B.has_side_effects(D):ln(B)))&&(ye=B,B instanceof qe&&(se=!0)),Et(B)},function(B){se||(ye===B&&(se=!0),te===B&&(te=null))}),Y=new pr(function(B){if(se)return B;if(!ne)return B!==K[ce]?B:(ce++,ce<K.length?void 0:(ne=!0,B));if(B instanceof Se&&B.name==jt.name)return--Ee||(se=!0),Co(B,Y.parent())?B:(jt.replaced++,de.replaced--,Q.value);if(B instanceof vo||B instanceof qe)return B});--re>=0;){re==0&&D.option("unused")&&Jt();var K=[];for(oe(w[re]);X.length>0;){K=X.pop();var ce=0,Q=K[K.length-1],de=null,ye=null,te=null,he=bt(Q);if(!(!he||_d(he)||he.has_side_effects(D))){var le=Ct(Q),Ae=Zt(he);he instanceof Se&&le.set(he.name,{def:he.definition(),modified:!1});var Pe=pn(Q),_e=Ht(),Ue=Q.may_throw(D),J=Q.name instanceof Nn,ne=J,se=!1,Ee=0,me=!V||!ne;if(!me){for(let B=D.self().argnames.lastIndexOf(Q.name)+1;!se&&B<V.length;B++)V[B].transform(z);me=!0}for(var At=re;!se&&At<w.length;At++)w[At].transform(z);if(de){var jt=Q.name.definition();if(se&&jt.references.length-jt.replaced>Ee)Ee=!1;else{se=!1,ce=0,ne=J;for(var At=re;!se&&At<w.length;At++)w[At].transform(Y);de.single_use=!1}}Ee&&!Mn(Q)&&w.splice(re,1)}}}function Et(B){if(B instanceof qe)return B;if(B instanceof Wn){B.expression=B.expression.transform(z);for(var Re=0,Be=B.body.length;!se&&Re<Be;Re++){var Me=B.body[Re];if(Me instanceof qr){if(!ne){if(Me!==K[ce])continue;ce++}if(Me.expression=Me.expression.transform(z),!_e)break}}return se=!0,B}}function Mt(B,Re){if(B.global)return!1;let Be=B.scope;for(;Be&&Be!==Re;){if(Be.variables.has(B.name))return!0;Be=Be.parent_scope}return!1}function gt(B,Re,Be){var Me=!1,ut=!(B instanceof qt);return Re.walk(new In(function(rn,ft){if(Me)return!0;if(rn instanceof Se&&(B.variables.has(rn.name)||Mt(rn.definition(),B))){var gn=rn.definition().scope;if(gn!==o){for(;gn=gn.parent_scope;)if(gn===o)return!0}return Me=!0}if((Be||ut)&&rn instanceof Un)return Me=!0;if(rn instanceof qe&&!(rn instanceof qt)){var Tn=ut;return ut=!1,ft(),ut=Tn,!0}})),Me}function Dt(B){return!(B instanceof ht||Pn(B,Be=>{if(Be instanceof mr)return hr}))}function Jt(){var B,Re=D.self();if(Bu(Re)&&!Re.name&&!Re.uses_arguments&&!Re.pinned()&&(B=D.parent())instanceof je&&B.expression===Re&&B.args.every(Dt)){var Be=D.has_directive("use strict");Be&&!Al(Be,Re.body)&&(Be=!1);var Me=Re.argnames.length;V=B.args.slice(Me);for(var ut=new Set,rn=Me;--rn>=0;){var ft=Re.argnames[rn],gn=B.args[rn];const ci=ft.definition&&ft.definition();if(!(ci&&ci.orig.length>1)&&(V.unshift(P(Lt,ft,{name:ft,value:gn})),!ut.has(ft.name)))if(ut.add(ft.name),ft instanceof ht){var Tn=B.args.slice(rn);Tn.every(fn=>!gt(Re,fn,Be))&&X.unshift([P(Lt,ft,{name:ft.expression,value:P(St,B,{elements:Tn})})])}else gn?(gn instanceof Ke&&gn.pinned()||gt(Re,gn,Be))&&(gn=null):gn=P(en,ft).transform(D),gn&&X.unshift([P(Lt,ft,{name:ft,value:gn})])}}}function oe(B){if(K.push(B),B instanceof st)!B.left.has_side_effects(D)&&!(B.right instanceof mn)&&X.push(K.slice()),oe(B.right);else if(B instanceof ae)oe(B.left),oe(B.right);else if(B instanceof je&&!ar(B,To))oe(B.expression),B.args.forEach(oe);else if(B instanceof qr)oe(B.expression);else if(B instanceof tt)oe(B.condition),oe(B.consequent),oe(B.alternative);else if(B instanceof sn){var Re=B.definitions.length,Be=Re-200;for(Be<0&&(Be=0);Be<Re;Be++)oe(B.definitions[Be])}else B instanceof Cu?(oe(B.condition),B.body instanceof vn||oe(B.body)):B instanceof ur?B.value&&oe(B.value):B instanceof En?(B.init&&oe(B.init),B.condition&&oe(B.condition),B.step&&oe(B.step),B.body instanceof vn||oe(B.body)):B instanceof zn?(oe(B.object),B.body instanceof vn||oe(B.body)):B instanceof wt?(oe(B.condition),B.body instanceof vn||oe(B.body),B.alternative&&!(B.alternative instanceof vn)&&oe(B.alternative)):B instanceof lt?B.expressions.forEach(oe):B instanceof He?oe(B.body):B instanceof Wn?(oe(B.expression),B.body.forEach(oe)):B instanceof Wt?(B.operator=="++"||B.operator=="--")&&X.push(K.slice()):B instanceof Lt&&B.value&&!(B.value instanceof mn)&&(X.push(K.slice()),oe(B.value));K.pop()}function De(B,Re,Be){var Me=z.parent(Re);return Me instanceof st?Be&&!Me.logical&&!(Me.left instanceof Xe||le.has(Me.left.name))?De(Me,Re+1,Be):B:Me instanceof ae?Be&&(!Do.has(Me.operator)||Me.left===B)?De(Me,Re+1,Be):B:Me instanceof je||Me instanceof qr?B:Me instanceof tt?Be&&Me.condition===B?De(Me,Re+1,Be):B:Me instanceof sn?De(Me,Re+1,!0):Me instanceof ur?Be?De(Me,Re+1,Be):B:Me instanceof wt?Be&&Me.condition===B?De(Me,Re+1,Be):B:Me instanceof Ur?B:Me instanceof lt?De(Me,Re+1,Me.tail_node()!==B):Me instanceof He?De(Me,Re+1,!0):Me instanceof Wn||Me instanceof Lt?B:null}function pe(B){var Re=B.value;if(Re instanceof Se&&Re.name!="arguments"){var Be=Re.definition();if(!Be.undeclared)return de=Be}}function bt(B){if(B instanceof st&&B.logical)return!1;if(B instanceof Lt&&B.name instanceof wn){var Re=B.name.definition();if(!Al(B.name,Re.orig))return;var Be=Re.references.length-Re.replaced;if(!Be)return;var Me=Re.orig.length-Re.eliminated;if(Me>1&&!(B.name instanceof Nn)||(Be>1?pe(B):!D.exposed(Re)))return P(Se,B.name,B.name)}else{const ut=B instanceof st?B.left:B.expression;return!$l(ut,no)&&!$l(ut,Wo)&&ut}}function xt(B){return B instanceof st?B.right:B.value}function Ct(B){var Re=new Map;if(B instanceof Wt)return Re;var Be=new In(function(Me){for(var ut=Me;ut instanceof Xe;)ut=ut.expression;if(ut instanceof Se){const rn=Re.get(ut.name);(!rn||!rn.modified)&&Re.set(ut.name,{def:ut.definition(),modified:ra(D,Be,Me,Me,0)})}});return xt(B).walk(Be),Re}function Mn(B){if(B.name instanceof Nn){var Re=D.parent(),Be=D.self().argnames,Me=Be.indexOf(B.name);if(Me<0)Re.args.length=Math.min(Re.args.length,Be.length-1);else{var ut=Re.args;ut[Me]&&(ut[Me]=P(Je,ut[Me],{value:0}))}return!0}var rn=!1;return w[re].transform(new pr(function(ft,gn,Tn){if(rn)return ft;if(ft===B||ft.body===B)return rn=!0,ft instanceof Lt?(ft.value=ft.name instanceof no?P(en,ft.value):null,ft):Tn?Xt.skip:null},function(ft){if(ft instanceof lt)switch(ft.expressions.length){case 0:return null;case 1:return ft.expressions[0]}}))}function Zt(B){for(;B instanceof Xe;)B=B.expression;return B instanceof Se&&B.definition().scope.get_defun_scope()===o&&!(u&&(le.has(B.name)||Q instanceof Wt||Q instanceof st&&!Q.logical&&Q.operator!="="))}function pn(B){return B instanceof Wt?ju.has(B.operator):xt(B).has_side_effects(D)}function Ht(){if(Pe)return!1;if(de)return!0;if(he instanceof Se){var B=he.definition();if(B.references.length-B.replaced==(Q instanceof Lt?1:2))return!0}return!1}function It(B){if(!B.definition)return!0;var Re=B.definition();return Re.orig.length==1&&Re.orig[0]instanceof Ei?!1:Re.scope.get_defun_scope()!==o?!0:Re.references.some(Be=>Be.scope.get_defun_scope()!==o)}function ln(B,Re){if(B instanceof st)return ln(B.left,!0);if(B instanceof Wt)return ln(B.expression,!0);if(B instanceof Lt)return B.value&&ln(B.value);if(Re){if(B instanceof $t||B instanceof Sn)return ln(B.expression,!0);if(B instanceof Se)return B.definition().scope.get_defun_scope()!==o}return!1}function Ti(B,Re){for(const{def:Be}of Re.values()){const Me=B.find_variable(Be.name);if(Me){if(Me===Be)continue;return!0}}return!1}}function C(w){for(var D=[],V=0;V<w.length;){var X=w[V];X instanceof Ye&&X.body.every(Wl)?(m=!0,C(X.body),w.splice(V,1,...X.body),V+=X.body.length):X instanceof Rt?(m=!0,w.splice(V,1)):X instanceof tr?D.indexOf(X.value)<0?(V++,D.push(X.value)):(m=!0,w.splice(V,1)):V++}}function A(w,D){var V=D.self(),X=te(w),re=V instanceof Ke;const z=Math.min(w.length,500);for(var Y=z;--Y>=0;){var K=w[Y],ce=_e(Y),Q=w[ce];if(re&&!Q&&K instanceof an){if(!K.value){m=!0,w.splice(Y,1);continue}if(K.value instanceof We&&K.value.operator=="void"){m=!0,w[Y]=P(He,K,{body:K.value.expression});continue}}if(K instanceof wt){let J,ne;if(J=Nr(K.body),le(J)&&(ne=Pe(K.body,J))){J.label&&Go(J.label.thedef.references,J),m=!0,K=K.clone(),K.condition=K.condition.negate(D),K.body=P(Ye,K,{body:Uu(K.alternative).concat(Ae())}),K.alternative=P(Ye,K,{body:ne}),w[Y]=K.transform(D);continue}if(J=Nr(K.alternative),le(J)&&(ne=Pe(K.alternative,J))){J.label&&Go(J.label.thedef.references,J),m=!0,K=K.clone(),K.body=P(Ye,K.body,{body:Uu(K.body).concat(Ae())}),K.alternative=P(Ye,K.alternative,{body:ne}),w[Y]=K.transform(D);continue}}if(K instanceof wt&&K.body instanceof an){var de=K.body.value;if(!de&&!K.alternative&&(re&&!Q||Q instanceof an&&!Q.value)){m=!0,w[Y]=P(He,K.condition,{body:K.condition});continue}if(de&&!K.alternative&&Q instanceof an&&Q.value){m=!0,K=K.clone(),K.alternative=Q,w[Y]=K.transform(D),w.splice(ce,1);continue}if(de&&!K.alternative&&(!Q&&re&&X||Q instanceof an)){m=!0,K=K.clone(),K.alternative=Q||P(an,K,{value:null}),w[Y]=K.transform(D),Q&&w.splice(ce,1);continue}var ye=w[Ue(Y)];if(D.option("sequences")&&re&&!K.alternative&&ye instanceof wt&&ye.body instanceof an&&_e(ce)==w.length&&Q instanceof He){m=!0,K=K.clone(),K.alternative=P(Ye,Q,{body:[Q,P(an,Q,{value:null})]}),w[Y]=K.transform(D),w.splice(ce,1);continue}}}function te(J){for(var ne=0,se=J.length;--se>=0;){var Ee=J[se];if(Ee instanceof wt&&Ee.body instanceof an&&++ne>1)return!0}return!1}function he(J){return!J||J instanceof We&&J.operator=="void"}function le(J){if(!J)return!1;for(var ne=Y+1,se=w.length;ne<se;ne++){var Ee=w[ne];if(Ee instanceof Zr||Ee instanceof Jr)return!1}var me=J instanceof Xr?D.loopcontrol_target(J):null;return J instanceof an&&re&&he(J.value)||J instanceof to&&V===nf(me)||J instanceof Cr&&me instanceof Ye&&V===me}function Ae(){var J=w.slice(Y+1);return w.length=Y+1,J.filter(function(ne){return ne instanceof Qt?(w.push(ne),!1):!0})}function Pe(J,ne){var se=Uu(J);if(ne===se[se.length-1])return se=se.slice(0,-1),ne.value&&se.push(P(He,ne.value,{body:ne.value.expression})),se}function _e(J){for(var ne=J+1,se=w.length;ne<se;ne++){var Ee=w[ne];if(!(Ee instanceof Rn&&j(Ee)))break}return ne}function Ue(J){for(var ne=J;--ne>=0;){var se=w[ne];if(!(se instanceof Rn&&j(se)))break}return ne}}function I(w,D){for(var V,X=D.self(),re=0,z=0,Y=w.length;re<Y;re++){var K=w[re];if(K instanceof Xr){var ce=D.loopcontrol_target(K);K instanceof Cr&&!(ce instanceof Ur)&&nf(ce)===X||K instanceof to&&nf(ce)===X?K.label&&Go(K.label.thedef.references,K):w[z++]=K}else w[z++]=K;if(Nr(K)){V=w.slice(re+1);break}}w.length=z,m=z!=Y,V&&V.forEach(function(Q){Ro(D,Q,w)})}function j(w){return w.definitions.every(D=>!D.value)}function M(w,D){if(w.length<2)return;var V=[],X=0;function re(){if(V.length){var Q=nt(V[0],V);w[X++]=P(He,Q,{body:Q}),V=[]}}for(var z=0,Y=w.length;z<Y;z++){var K=w[z];if(K instanceof He){V.length>=D.sequences_limit&&re();var ce=K.body;V.length>0&&(ce=ce.drop_side_effect_free(D)),ce&&Gl(V,ce)}else K instanceof sn&&j(K)||K instanceof Qt||re(),w[X++]=K}re(),w.length=X,X!=Y&&(m=!0)}function b(w,D){if(!(w instanceof Ye))return w;for(var V=null,X=0,re=w.body.length;X<re;X++){var z=w.body[X];if(z instanceof Rn&&j(z))D.push(z);else{if(V||z instanceof Zr||z instanceof Jr)return!1;V=z}}return V}function y(w,D){function V(ye){X--,m=!0;var te=re.body;return nt(te,[te,ye]).transform(D)}for(var X=0,re,z=0;z<w.length;z++){var Y=w[z];if(re&&(Y instanceof ur?Y.value=V(Y.value||P(en,Y).transform(D)):Y instanceof En?Y.init instanceof sn||Pn(re.body,te=>{if(te instanceof qe)return!0;if(te instanceof ae&&te.operator==="in")return hr})||(Y.init?Y.init=V(Y.init):(Y.init=re.body,X--,m=!0)):Y instanceof zn?!(Y.init instanceof Zr)&&!(Y.init instanceof Jr)&&(Y.object=V(Y.object)):Y instanceof wt?Y.condition=V(Y.condition):(Y instanceof Wn||Y instanceof yr)&&(Y.expression=V(Y.expression))),D.option("conditionals")&&Y instanceof wt){var K=[],ce=b(Y.body,K),Q=b(Y.alternative,K);if(ce!==!1&&Q!==!1&&K.length>0){var de=K.length;K.push(P(wt,Y,{condition:Y.condition,body:ce||P(Rt,Y.body),alternative:Q})),K.unshift(X,1),[].splice.apply(w,K),z+=de,X+=de+1,re=null,m=!0;continue}}w[X++]=Y,re=Y instanceof He?Y:null}w.length=X}function g(w,D){if(w instanceof sn){var V=w.definitions[w.definitions.length-1];if(V.value instanceof Nt){var X;if(D instanceof st&&!D.logical?X=[D]:D instanceof lt&&(X=D.expressions.slice()),!!X){var re=!1;do{var z=X[0];if(!(z instanceof st)||z.operator!="="||!(z.left instanceof Xe))break;var Y=z.left.expression;if(!(Y instanceof Se)||V.name.name!=Y.name||!z.right.is_constant_expression(n))break;var K=z.left.property;if(K instanceof Te&&(K=K.evaluate(e)),K instanceof Te)break;K=""+K;var ce=e.option("ecma")<2015&&e.has_directive("use strict")?function(de){return de.key!=K&&de.key&&de.key.name!=K}:function(de){return de.key&&de.key.name!=K};if(!V.value.properties.every(ce))break;var Q=V.value.properties.filter(function(de){return de.key===K})[0];Q?Q.value=new lt({start:Q.start,expressions:[Q.value.clone(),z.right.clone()],end:Q.end}):V.value.properties.push(P(Yt,z,{key:K,value:z.right})),X.shift(),re=!0}while(X.length);return re&&X}}}}function O(w){for(var D,V=0,X=-1,re=w.length;V<re;V++){var z=w[V],Y=w[X];if(z instanceof sn)Y&&Y.TYPE==z.TYPE?(Y.definitions=Y.definitions.concat(z.definitions),m=!0):D&&D.TYPE==z.TYPE&&j(z)?(D.definitions=D.definitions.concat(z.definitions),m=!0):(w[++X]=z,D=z);else if(z instanceof ur)z.value=ce(z.value);else if(z instanceof En){var K=g(Y,z.init);K?(m=!0,z.init=K.length?nt(z.init,K):null,w[++X]=z):Y instanceof Rn&&(!z.init||z.init.TYPE==Y.TYPE)?(z.init&&(Y.definitions=Y.definitions.concat(z.init.definitions)),z.init=Y,w[X]=z,m=!0):D instanceof Rn&&z.init instanceof Rn&&j(z.init)?(D.definitions=D.definitions.concat(z.init.definitions),z.init=null,w[++X]=z,m=!0):w[++X]=z}else if(z instanceof zn)z.object=ce(z.object);else if(z instanceof wt)z.condition=ce(z.condition);else if(z instanceof He){var K=g(Y,z.body);if(K){if(m=!0,!K.length)continue;z.body=nt(z.body,K)}w[++X]=z}else z instanceof Wn||z instanceof yr?z.expression=ce(z.expression):w[++X]=z}w.length=X+1;function ce(Q){w[++X]=z;var de=g(Y,Q);return de?(m=!0,de.length?nt(Q,de):Q instanceof lt?Q.tail_node().left:Q.left):Q}}}function j_(t){for(var e,n=0;e=t.parent(n++);){if(e instanceof kn)return!1;if(e instanceof St||e instanceof Yt||e instanceof Nt)return!0}return!1}function rf(t,e){for(const n of e.enclosed){if(e.variables.has(n.name))continue;const o=t.find_variable(n.name);if(o){if(o===n)continue;return!0}}return!1}function H_(t,e){if(t.orig.length===1&&e){const n=e.size(),o=t.name.length;return n>o}return!0}function G_(t,e){if(e.in_computed_key())return t;const n=e.parent(),o=t.definition(),u=e.find_scope();let h=t.fixed_value();if(e.top_retain&&o.global&&e.top_retain(o)&&H_(o,h))return o.fixed=!1,o.single_use=!1,t;let m=o.single_use&&!(n instanceof je&&n.is_callee_pure(e)||ar(n,To))&&!(n instanceof On&&h instanceof Ke&&h.name);if(m&&h instanceof Te&&(m=!h.has_side_effects(e)&&!h.may_throw(e)),h instanceof _t&&o.scope!==t.scope)return t;if(m&&(h instanceof Ke||h instanceof _t)){if(cd(h,e))m=!1;else if(o.scope!==t.scope&&(o.escaped==1||Vn(h,gs)||j_(e)||!e.option("reduce_funcs")))m=!1;else if(Xl(e,o))m=!1;else if((o.scope!==t.scope||o.orig[0]instanceof Nn)&&(m=h.is_constant_expression(t.scope),m=="f")){var _=t.scope;do(_ instanceof Qt||Bu(_))&&vr(_,gs);while(_=_.parent_scope)}}if(m&&(h instanceof Ke||h instanceof _t)&&(m=o.scope===t.scope&&!rf(u,h)||n instanceof je&&n.expression===t&&!rf(u,h)&&!(h.name&&h.name.definition().recursive_refs>0)),m&&h){if(h instanceof Gr&&(vr(h,Ao),h=P(vi,h,h)),h instanceof Qt&&(vr(h,Ao),h=P(Ft,h,h)),o.recursive_refs>0&&h.name instanceof Ei){const x=h.name.definition();let C=h.variables.get(h.name.name),A=C&&C.orig[0];A instanceof ri||(A=P(ri,h.name,h.name),A.scope=h,h.name=A,C=h.def_function(A)),Pn(h,I=>{I instanceof Se&&I.definition()===x&&(I.thedef=C,C.references.push(I))})}return(h instanceof Ke||h instanceof _t)&&h.parent_scope!==u&&(h=h.clone(!0,e.get_toplevel()),u.add_child_scope(h)),h.optimize(e)}if(h){let x;if(h instanceof Un)!(o.orig[0]instanceof Nn)&&o.references.every(C=>o.scope===C.scope)&&(x=h);else{var S=h.evaluate(e);S!==h&&(e.option("unsafe_regexp")||!(S instanceof RegExp))&&(x=rr(S,h))}if(x){const C=t.size(e),A=x.size(e);let I=0;if(e.option("unused")&&!e.exposed(o)&&(I=(C+2+h.size(e))/(o.references.length-o.assignments)),A<=C+I)return x}}return t}function K_(t,e){if(e.in_computed_key())return t;var n=t.expression,o=n,u=t.args.every(z=>!(z instanceof ht));if(e.option("reduce_vars")&&o instanceof Se&&!ar(t,To)){const z=o.fixed_value();if(cd(z,e)||!e.toplevel.funcs&&n.definition().global)return t;o=z}var h=o instanceof Ke,m=h&&o.body[0],_=h&&!o.is_generator&&!o.async,S=_&&e.option("inline")&&!t.is_callee_pure(e);if(S&&m instanceof an){let z=m.value;if(!z||z.is_constant_expression()){z?z=z.clone(!0):z=P(en,t);const Y=t.args.concat(z);return nt(t,Y).optimize(e)}if(o.argnames.length===1&&o.argnames[0]instanceof Nn&&t.args.length<2&&!(t.args[0]instanceof ht)&&z instanceof Se&&z.name===o.argnames[0].name){const Y=(t.args[0]||P(en)).optimize(e);let K;return Y instanceof Xe&&(K=e.parent())instanceof je&&K.expression===t?nt(t,[P(Je,t,{value:0}),Y]):Y}}if(S){var x,C,A=-1;let z,Y,K;if(u&&!o.uses_arguments&&!(e.parent()instanceof _t)&&!(o.name&&o instanceof Ft)&&(Y=y(m))&&(n===o||ar(t,Il)||e.option("unused")&&(z=n.definition()).references.length==1&&!Xl(e,z)&&o.is_constant_expression(n.scope))&&!ar(t,Pl|To)&&!o.contains_this()&&w()&&(K=e.find_scope())&&!rf(K,o)&&!function(){let Q=0,de;for(;de=e.parent(Q++);){if(de instanceof Rr)return!0;if(de instanceof vn)break}return!1}()&&!(x instanceof _t))return vr(o,Ao),K.add_child_scope(o),nt(t,re(Y)).optimize(e)}if(S&&ar(t,Il))return vr(o,Ao),o=P(o.CTOR===Qt?Ft:o.CTOR,o,o),o=o.clone(!0),o.figure_out_scope({},{parent_scope:e.find_scope(),toplevel:e.get_toplevel()}),P(je,t,{expression:o,args:t.args}).optimize(e);if(_&&e.option("side_effects")&&o.body.every(ao)){var j=t.args.concat(P(en,t));return nt(t,j).optimize(e)}if(e.option("negate_iife")&&e.parent()instanceof He&&zl(t))return t.negate(e,!0);var M=t.evaluate(e);if(M!==t)return M=rr(M,t).optimize(e),Er(e,M,t);return t;function b(z){if(!z)return P(en,t);if(z instanceof an)return z.value?z.value.clone(!0):P(en,t);if(z instanceof He)return P(We,z,{operator:"void",expression:z.body.clone(!0)})}function y(z){var Y=o.body,K=Y.length;if(e.option("inline")<3)return K==1&&b(z);z=null;for(var ce=0;ce<K;ce++){var Q=Y[ce];if(Q instanceof Rn){if(z&&!Q.definitions.every(de=>!de.value))return!1}else{if(z)return!1;Q instanceof Rt||(z=Q)}}return b(z)}function g(z,Y){for(var K=0,ce=o.argnames.length;K<ce;K++){var Q=o.argnames[K];if(Q instanceof Rr){if(Vn(Q.left,oo))continue;return!1}if(Q instanceof Vt)return!1;if(Q instanceof ht){if(Vn(Q.expression,oo))continue;return!1}if(!Vn(Q,oo)){if(!Y||z.has(Q.name)||ad.has(Q.name)||x.conflicting_def(Q.name))return!1;C&&C.push(Q.definition())}}return!0}function O(z,Y){for(var K=o.body.length,ce=0;ce<K;ce++){var Q=o.body[ce];if(Q instanceof Rn){if(!Y)return!1;for(var de=Q.definitions.length;--de>=0;){var ye=Q.definitions[de].name;if(ye instanceof Vt||z.has(ye.name)||ad.has(ye.name)||x.conflicting_def(ye.name))return!1;C&&C.push(ye.definition())}}}return!0}function w(){var z=new Set;do if(x=e.parent(++A),x.is_block_scope()&&x.block_scope&&x.block_scope.variables.forEach(function(ce){z.add(ce.name)}),x instanceof Yr)x.argname&&z.add(x.argname.name);else if(x instanceof Ur)C=[];else if(x instanceof Se&&x.fixed_value()instanceof qe)return!1;while(!(x instanceof qe));var Y=!(x instanceof zt)||e.toplevel.vars,K=e.option("inline");return!O(z,K>=3&&Y)||!g(z,K>=2&&Y)?!1:!C||C.length==0||!ud(o,C)}function D(z,Y,K,ce){var Q=K.definition();x.variables.has(K.name)||(x.variables.set(K.name,Q),x.enclosed.push(Q),z.push(P(Lt,K,{name:K,value:null})));var ye=P(Se,K,K);Q.references.push(ye),ce&&Y.push(P(st,t,{operator:"=",logical:!1,left:ye,right:ce.clone()}))}function V(z,Y){for(var K=o.argnames.length,ce=t.args.length;--ce>=K;)Y.push(t.args[ce]);for(ce=K;--ce>=0;){var Q=o.argnames[ce],de=t.args[ce];if(Vn(Q,oo)||!Q.name||x.conflicting_def(Q.name))de&&Y.push(de);else{var ye=P(Ui,Q,Q);Q.definition().orig.push(ye),!de&&C&&(de=P(en,t)),D(z,Y,ye,de)}}z.reverse(),Y.reverse()}function X(z,Y){for(var K=Y.length,ce=0,Q=o.body.length;ce<Q;ce++){var de=o.body[ce];if(de instanceof Rn)for(var ye=0,te=de.definitions.length;ye<te;ye++){var he=de.definitions[ye],le=he.name;if(D(z,Y,le,he.value),C&&o.argnames.every(_e=>_e.name!=le.name)){var Ae=o.variables.get(le.name),Pe=P(Se,le,le);Ae.references.push(Pe),Y.splice(K++,0,P(st,he,{operator:"=",logical:!1,left:Pe,right:P(en,le)}))}}}}function re(z){var Y=[],K=[];if(V(Y,K),X(Y,K),K.push(z),Y.length){const ce=x.body.indexOf(e.parent(A-1))+1;x.body.splice(ce,0,P(Rn,o,{definitions:Y}))}return K.map(ce=>ce.clone(!0))}}(function(t){function e(n,o){if(n instanceof Te)return n instanceof Tt||(n=n.clone(!0)),P(n.CTOR,o,n);if(Array.isArray(n))return P(St,o,{elements:n.map(function(m){return e(m,o)})});if(n&&typeof n=="object"){var u=[];for(var h in n)er(n,h)&&u.push(P(Yt,o,{key:h,value:e(n[h],o)}));return P(Nt,o,{properties:u})}return rr(n,o)}zt.DEFMETHOD("resolve_defines",function(n){return n.option("global_defs")?(this.figure_out_scope({ie8:n.option("ie8")}),this.transform(new pr(function(o){var u=o._find_defs(n,"");if(u){for(var h=0,m=o,_;(_=this.parent(h++))&&!(!(_ instanceof Xe)||_.expression!==m);)m=_;if(!Co(m,_))return u}}))):this}),t(Te,dr),t(mn,function(n,o){return this.expression._find_defs(n,o)}),t($t,function(n,o){return this.expression._find_defs(n,"."+this.property+o)}),t(wn,function(){this.global()}),t(Se,function(n,o){if(this.global()){var u=n.option("global_defs"),h=this.name+o;if(er(u,h))return e(u[h],this)}}),t(Mi,function(n,o){var u=n.option("global_defs"),h="import.meta"+o;if(er(u,h))return e(u[h],this)})})(function(t,e){t.DEFMETHOD("_find_defs",e)});class gd extends In{constructor(e,{false_by_default:n=!1,mangle_options:o=!1}){super(),e.defaults!==void 0&&!e.defaults&&(n=!0),this.options=di(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 u=this.options.global_defs;if(typeof u=="object")for(var h in u)h[0]==="@"&&er(u,h)&&(u[h.slice(1)]=us(u[h],{expression:!0}));this.options.inline===!0&&(this.options.inline=3);var m=this.options.pure_funcs;typeof m=="function"?this.pure_funcs=m:this.pure_funcs=m?function(C){return!m.includes(C.expression.print_to_string())}:Qn;var _=this.options.top_retain;_ instanceof RegExp?this.top_retain=function(C){return _.test(C.name)}:typeof _=="function"?this.top_retain=_:_&&(typeof _=="string"&&(_=_.split(/,/)),this.top_retain=function(C){return _.includes(C.name)}),this.options.module&&(this.directives["use strict"]=!0,this.options.toplevel=!0);var S=this.options.toplevel;this.toplevel=typeof S=="string"?{funcs:/funcs/.test(S),vars:/vars/.test(S)}:{funcs:S,vars:S};var x=this.options.sequences;this.sequences_limit=x==1?800:x|0,this.evaluated_regexps=new Map,this._toplevel=void 0,this._mangle_options=o&&Iu(o)}mangle_options(){var e=this._mangle_options&&this._mangle_options.nth_identifier||ms,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,o=e.orig.length;n<o;n++)if(!this.toplevel[e.orig[n]instanceof Ei?"funcs":"vars"])return!0}return!1}in_boolean_context(){if(!this.option("booleans"))return!1;for(var e=this.self(),n=0,o;o=this.parent(n);n++){if(o instanceof He||o instanceof tt&&o.condition===e||o instanceof Cu&&o.condition===e||o instanceof En&&o.condition===e||o instanceof wt&&o.condition===e||o instanceof We&&o.operator=="!"&&o.expression===e)return!0;if(o instanceof ae&&(o.operator=="&&"||o.operator=="||"||o.operator=="??")||o instanceof tt||o.tail_node()===e)e=o;else return!1}}in_32_bit_context(){if(!this.option("evaluate"))return!1;for(var e=this.self(),n=0,o;o=this.parent(n);n++){if(o instanceof ae&&Yl.has(o.operator))return!0;if(o instanceof We)return o.operator==="~";if(o instanceof ae&&(o.operator=="&&"||o.operator=="||"||o.operator=="??")||o instanceof tt&&o.condition!==e||o.tail_node()===e)e=o;else return!1}}in_computed_key(){if(!this.option("evaluate"))return!1;for(var e=this.self(),n=0,o;o=this.parent(n);n++)if(o instanceof un&&o.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,o=1/0,u=!1,h=this.mangle_options(),m=0;m<n;m++)if(this._toplevel.figure_out_scope(h),m===0&&this.option("drop_console")&&(this._toplevel=this._toplevel.drop_console(this.option("drop_console"))),(m>0||this.option("reduce_vars"))&&this._toplevel.reset_opt_flags(this),this._toplevel=this._toplevel.transform(this),n>1){let _=0;if(Pn(this._toplevel,()=>{_++}),_<o)o=_,u=!1;else{if(u)break;u=!0}}return this.option("expression")&&this._toplevel.process_expression(!1),e=this._toplevel,this._toplevel=void 0,e}before(e,n){if(Vn(e,Ao))return e;var o=!1;e instanceof qe&&(e=e.hoist_properties(this),e=e.hoist_declarations(this),o=!0),n(e,this),n(e,this);var u=e.optimize(this);return o&&u instanceof qe&&(u.drop_unused(this),n(u,this)),u===e&&vr(u,Ao),u}is_lhs(){const e=this.stack[this.stack.length-1],n=this.stack[this.stack.length-2];return Co(e,n)}}function Ze(t,e){t.DEFMETHOD("optimize",function(n){var o=this;if(Vn(o,jl)||n.has_directive("use asm"))return o;var u=e(o,n);return vr(u,jl),u})}Ze(Te,function(t){return t}),zt.DEFMETHOD("drop_console",function(t){var e=Array.isArray(t);return this.transform(new pr(function(n){if(n.TYPE==="Call"){var o=n.expression;if(o instanceof Xe&&!(e&&t.indexOf(o.property)===-1)){for(var u=o.expression;u.expression;)u=u.expression;if(ai(u)&&u.name=="console")return P(en,n)}}}))}),Te.DEFMETHOD("equivalent_to",function(t){return T_(this,t)}),qe.DEFMETHOD("process_expression",function(t,e){var n=this,o=new pr(function(u){if(t&&u instanceof He)return P(an,u,{value:u.body});if(!t&&u instanceof an){if(e){var h=u.value&&u.value.drop_side_effect_free(e,!0);return h?P(He,u,{body:h}):P(Rt,u)}return P(He,u,{body:u.value||P(We,u,{operator:"void",expression:P(Je,u,{value:0})})})}if(u instanceof _t||u instanceof Ke&&u!==n)return u;if(u instanceof vn){var m=u.body.length-1;m>=0&&(u.body[m]=u.body[m].transform(o))}else u instanceof wt?(u.body=u.body.transform(o),u.alternative&&(u.alternative=u.alternative.transform(o))):u instanceof yr&&(u.body=u.body.transform(o));return u});n.transform(o)}),zt.DEFMETHOD("reset_opt_flags",function(t){const e=this,n=t.option("reduce_vars"),o=new In(function(u,h){if(ta(u,O_),n)return t.top_retain&&u instanceof Qt&&o.parent()===e&&vr(u,Hl),u.reduce_vars(o,h,t)});o.safe_ids=Object.create(null),o.in_loop=null,o.loop_ids=new Map,o.defs_to_safe_ids=new Map,e.walk(o)}),pt.DEFMETHOD("fixed_value",function(){var t=this.thedef.fixed;return!t||t instanceof Te?t:t()}),Se.DEFMETHOD("is_immutable",function(){var t=this.definition().orig;return t.length==1&&t[0]instanceof ri});function of(t,e){for(var n,o=0;(n=t.parent(o++))&&!(n instanceof qe);)if(n instanceof Yr&&n.argname){n=n.argname.definition().scope;break}return n.find_variable(e)}var z_=Ot("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");Se.DEFMETHOD("is_declared",function(t){return!this.definition().undeclared||t.option("unsafe")&&z_.has(this.name)});var $_=new Set(["use asm","use strict"]);Ze(tr,function(t,e){return e.option("directives")&&(!$_.has(t.value)||e.has_directive(t.value)!==t)?P(Rt,t):t}),Ze(Pi,function(t,e){return e.option("drop_debugger")?P(Rt,t):t}),Ze(Jn,function(t,e){return t.body instanceof Cr&&e.loopcontrol_target(t.body)===t.body?P(Rt,t):t.label.references.length==0?t.body:t}),Ze(vn,function(t,e){return Hu(t.body,e),t});function W_(t){return!(t instanceof Zr||t instanceof Jr||t instanceof _t)}Ze(Ye,function(t,e){switch(Hu(t.body,e),t.body.length){case 1:if(!e.has_directive("use strict")&&e.parent()instanceof wt&&W_(t.body[0])||Wl(t.body[0]))return t.body[0];break;case 0:return P(Rt,t)}return t});function af(t,e){return Hu(t.body,e),e.option("side_effects")&&t.body.length==1&&t.body[0]===e.has_directive("use strict")&&(t.body.length=0),t}Ze(Ke,af),qe.DEFMETHOD("hoist_declarations",function(t){var e=this;if(t.has_directive("use asm"))return e;var n=t.option("hoist_funs"),o=t.option("hoist_vars");if(n||o){var u=[],h=[],m=new Map,_=0,S=0;Pn(e,y=>{if(y instanceof qe&&y!==e)return!0;if(y instanceof Rn)return++S,!0}),o=o&&S>1;var x=new pr(function(g){if(g!==e){if(g instanceof tr)return u.push(g),P(Rt,g);if(n&&g instanceof Qt&&!(x.parent()instanceof On)&&x.parent()===e)return h.push(g),P(Rt,g);if(o&&g instanceof Rn&&!g.definitions.some(V=>V.name instanceof Vt)){g.definitions.forEach(function(V){m.set(V.name.name,V),++_});var O=g.to_assignments(t),w=x.parent();if(w instanceof zn&&w.init===g){if(O==null){var D=g.definitions[0].name;return P(Se,D,D)}return O}return w instanceof En&&w.init===g?O:O?P(He,g,{body:O}):P(Rt,g)}if(g instanceof qe)return g}});if(e=e.transform(x),_>0){var C=[];const y=e instanceof Ke,g=y?e.args_as_names():null;if(m.forEach((O,w)=>{y&&g.some(D=>D.name===O.name.name)?m.delete(w):(O=O.clone(),O.value=null,C.push(O),m.set(w,O))}),C.length>0){for(var A=0;A<e.body.length;){if(e.body[A]instanceof He){var I=e.body[A].body,j,M;if(I instanceof st&&I.operator=="="&&(j=I.left)instanceof pt&&m.has(j.name)){var b=m.get(j.name);if(b.value)break;b.value=I.right,Go(C,b),C.push(b),e.body.splice(A,1);continue}if(I instanceof lt&&(M=I.expressions[0])instanceof st&&M.operator=="="&&(j=M.left)instanceof pt&&m.has(j.name)){var b=m.get(j.name);if(b.value)break;b.value=M.right,Go(C,b),C.push(b),e.body[A].body=nt(I,I.expressions.slice(1));continue}}if(e.body[A]instanceof Rt){e.body.splice(A,1);continue}if(e.body[A]instanceof Ye){e.body.splice(A,1,...e.body[A].body);continue}break}C=P(Rn,e,{definitions:C}),h.push(C)}}e.body=u.concat(h,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,o=new Map,u=new pr(function(h,m){if(h instanceof Lt){const _=h.name;let S,x;if(_.scope===e&&(S=_.definition()).escaped!=1&&!S.assignments&&!S.direct_access&&!S.single_use&&!t.exposed(S)&&!n(S)&&(x=_.fixed_value())===h.value&&x instanceof Nt&&!x.properties.some(C=>C instanceof ht||C.computed_key())){m(h,this);const C=new Map,A=[];return x.properties.forEach(({key:I,value:j})=>{const M=u.find_scope(),b=e.create_symbol(_.CTOR,{source:_,scope:M,conflict_scopes:new Set([M,..._.definition().references.map(y=>y.scope)]),tentative_name:_.name+"_"+I});C.set(String(I),b.definition()),A.push(P(Lt,h,{name:b,value:j}))}),o.set(S.id,C),Xt.splice(A)}}else if(h instanceof Xe&&h.expression instanceof Se){const _=o.get(h.expression.definition().id);if(_){const S=_.get(String(id(h.property))),x=P(Se,h,{name:S.name,scope:h.expression.scope,thedef:S});return x.reference({}),x}}});return e.transform(u)}),Ze(He,function(t,e){if(e.option("side_effects")){var n=t.body,o=n.drop_side_effect_free(e,!0);if(!o)return P(Rt,t);if(o!==n)return P(He,t,{body:o})}return t}),Ze(Ii,function(t,e){return e.option("loops")?P(En,t,t).optimize(e):t}),Ze(yi,function(t,e){if(!e.option("loops"))return t;var n=t.condition.tail_node().evaluate(e);if(!(n instanceof Te)){if(n)return P(En,t,{body:P(Ye,t.body,{body:[t.body,P(He,t.condition,{body:t.condition})]})}).optimize(e);if(!Kl(t,e.parent()))return P(Ye,t.body,{body:[t.body,P(He,t.condition,{body:t.condition})]}).optimize(e)}return t});function bd(t,e){var n=t.body instanceof Ye?t.body.body[0]:t.body;if(e.option("dead_code")&&u(n)){var o=[];return t.init instanceof kn?o.push(t.init):t.init&&o.push(P(He,t.init,{body:t.init})),t.condition&&o.push(P(He,t.condition,{body:t.condition})),Ro(e,t.body,o),P(Ye,t,{body:o})}return n instanceof wt&&(u(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),h(n.alternative)):u(n.alternative)&&(t.condition?t.condition=P(ae,t.condition,{left:t.condition,operator:"&&",right:n.condition}):t.condition=n.condition,h(n.body))),t;function u(m){return m instanceof Cr&&e.loopcontrol_target(m)===e.self()}function h(m){m=Uu(m),t.body instanceof Ye?(t.body=t.body.clone(),t.body.body=m.concat(t.body.body.slice(1)),t.body=t.body.transform(e)):t.body=P(Ye,t.body,{body:m}).transform(e),t=bd(t,e)}}Ze(En,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 Te)){if(n)t.condition=null;else if(!e.option("dead_code")){var o=t.condition;t.condition=rr(n,t.condition),t.condition=Ki(t.condition.transform(e),o)}}if(e.option("dead_code")&&(n instanceof Te&&(n=t.condition.tail_node().evaluate(e)),!n)){var u=[];return Ro(e,t.body,u),t.init instanceof kn?u.push(t.init):t.init&&u.push(P(He,t.init,{body:t.init})),u.push(P(He,t.condition,{body:t.condition})),P(Ye,t,{body:u}).optimize(e)}}return bd(t,e)}),Ze(wt,function(t,e){if(ao(t.alternative)&&(t.alternative=null),!e.option("conditionals"))return t;var n=t.condition.evaluate(e);if(!e.option("dead_code")&&!(n instanceof Te)){var o=t.condition;t.condition=rr(n,o),t.condition=Ki(t.condition.transform(e),o)}if(e.option("dead_code"))if(n instanceof Te&&(n=t.condition.tail_node().evaluate(e)),n){if(!(n instanceof Te)){var u=[];return u.push(P(He,t.condition,{body:t.condition})),u.push(t.body),t.alternative&&Ro(e,t.alternative,u),P(Ye,t,{body:u}).optimize(e)}}else{var u=[];return Ro(e,t.body,u),u.push(P(He,t.condition,{body:t.condition})),t.alternative&&u.push(t.alternative),P(Ye,t,{body:u}).optimize(e)}var h=t.condition.negate(e),m=t.condition.size(),_=h.size(),S=_<m;if(t.alternative&&S){S=!1,t.condition=h;var x=t.body;t.body=t.alternative||P(Rt,t),t.alternative=x}if(ao(t.body)&&ao(t.alternative))return P(He,t.condition,{body:t.condition.clone()}).optimize(e);if(t.body instanceof He&&t.alternative instanceof He)return P(He,t,{body:P(tt,t,{condition:t.condition,consequent:t.body.body,alternative:t.alternative.body})}).optimize(e);if(ao(t.alternative)&&t.body instanceof He)return m===_&&!S&&t.condition instanceof ae&&t.condition.operator=="||"&&(S=!0),S?P(He,t,{body:P(ae,t,{operator:"||",left:h,right:t.body.body})}).optimize(e):P(He,t,{body:P(ae,t,{operator:"&&",left:t.condition,right:t.body.body})}).optimize(e);if(t.body instanceof Rt&&t.alternative instanceof He)return P(He,t,{body:P(ae,t,{operator:"||",left:t.condition,right:t.alternative.body})}).optimize(e);if(t.body instanceof ur&&t.alternative instanceof ur&&t.body.TYPE==t.alternative.TYPE)return P(t.body.CTOR,t,{value:P(tt,t,{condition:t.condition,consequent:t.body.value||P(en,t.body),alternative:t.alternative.value||P(en,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})),Nr(t.body)&&t.alternative){var C=t.alternative;return t.alternative=null,P(Ye,t,{body:[t,C]}).optimize(e)}if(Nr(t.alternative)){var u=t.body;return t.body=t.alternative,t.condition=S?h:t.condition.negate(e),t.alternative=null,P(Ye,t,{body:[t,u]}).optimize(e)}return t}),Ze(Wn,function(t,e){if(!e.option("switches"))return t;var n,o=t.expression.evaluate(e);if(!(o instanceof Te)){var u=t.expression;t.expression=rr(o,u),t.expression=Ki(t.expression.transform(e),u)}if(!e.option("dead_code"))return t;o instanceof Te&&(o=t.expression.tail_node().evaluate(e));for(var h=[],m=[],_,S,x=0,C=t.body.length;x<C&&!S;x++){if(n=t.body[x],n instanceof vo)_?M(n,m[m.length-1]):_=n;else if(!(o instanceof Te)){var A=n.expression.evaluate(e);if(!(A instanceof Te)&&A!==o){M(n,m[m.length-1]);continue}if(A instanceof Te&&(A=n.expression.tail_node().evaluate(e)),A===o&&(S=n,_)){var I=m.indexOf(_);m.splice(I,1),M(_,m[I-1]),_=null}}m.push(n)}for(;x<C;)M(t.body[x++],m[m.length-1]);t.body=m;let j=_||S;if(_=null,S=null,m.every((D,V)=>(D===j||D.expression instanceof Tt)&&(D.body.length===0||Nr(D)||m.length-1===V)))for(let D=0;D<m.length;D++){const V=m[D];for(let X=D+1;X<m.length;X++){const re=m[X];if(re.body.length===0)continue;const z=X===m.length-1,Y=b(re,V,!1);if(Y||z&&b(re,V,!0)){!Y&&z&&re.body.push(P(Cr));let K=X-1,ce=0;for(;K>D&&w(m[K--]);)ce++;const Q=m.splice(X-ce,1+ce);m.splice(D+1,0,...Q),D+=Q.length}}}for(let D=0;D<m.length;D++){let V=m[D];if(V.body.length!==0&&Nr(V))for(let X=D+1;X<m.length;D++,X++){let re=m[X];if(re.body.length!==0){if(b(re,V,!1)||X===m.length-1&&b(re,V,!0)){V.body=[],V=re;continue}break}}}{let D=m.length-1;for(;D>=0;D--){let V=m[D].body;if(O(V[V.length-1],e)&&V.pop(),!w(m[D]))break}if(D++,!j||m.indexOf(j)>=D)for(let V=m.length-1;V>=D;V--){let X=m[V];if(X===j)j=null,m.pop();else if(!X.expression.has_side_effects(e))m.pop();else break}}e:if(j){let D=m.indexOf(j),V=D;for(;V<m.length-1&&w(m[V]);V++);if(V<m.length-1)break e;let X=m.length-1;for(;X>=0;X--){let re=m[X];if(re!==j&&re.expression.has_side_effects(e))break}if(V>X){let re=D-1;for(;re>=0&&w(m[re]);re--);let z=Math.max(X,re)+1,Y=D;X>D?(Y=X,m[X].body=m[V].body):j.body=m[V].body,m.splice(Y+1,V-Y),m.splice(z,D-z)}}e:if(j){let D=m.findIndex(z=>!w(z)),V;if(D===m.length-1){let z=m[D];if(g(t))break e;V=P(Ye,z,{body:z.body}),z.body=[]}else if(D!==-1)break e;if(!m.find(z=>z!==j&&z.expression.has_side_effects(e)))return P(Ye,t,{body:h.concat(y(t.expression),j.expression?y(j.expression):[],V||[])}).optimize(e);const re=m.indexOf(j);if(m.splice(re,1),j=null,V)return P(Ye,t,{body:h.concat(t,V)}).optimize(e)}if(m.length>0&&(m[0].body=h.concat(m[0].body)),m.length==0)return P(Ye,t,{body:h.concat(y(t.expression))}).optimize(e);if(m.length==1&&!g(t)){let D=m[0];return P(wt,t,{condition:P(ae,t,{operator:"===",left:t.expression,right:D.expression}),body:P(Ye,D,{body:D.body}),alternative:null}).optimize(e)}if(m.length===2&&j&&!g(t)){let D=m[0]===j?m[1]:m[0],V=j.expression&&y(j.expression);if(Nr(m[0])){let Y=m[0];return O(Y.body[Y.body.length-1],e)&&Y.body.pop(),P(wt,t,{condition:P(ae,t,{operator:"===",left:t.expression,right:D.expression}),body:P(Ye,D,{body:D.body}),alternative:P(Ye,j,{body:[].concat(V||[],j.body)})}).optimize(e)}let X="===",re=P(Ye,D,{body:D.body}),z=P(Ye,j,{body:[].concat(V||[],j.body)});if(m[0]===j){X="!==";let Y=z;z=re,re=Y}return P(Ye,t,{body:[P(wt,t,{condition:P(ae,t,{operator:X,left:t.expression,right:D.expression}),body:re,alternative:null})].concat(z)}).optimize(e)}return t;function M(D,V){V&&!Nr(V)?V.body=V.body.concat(D.body):Ro(e,D,h)}function b(D,V,X){let re=D.body,z=V.body;if(X&&(re=re.concat(P(Cr))),re.length!==z.length)return!1;let Y=P(Ye,D,{body:re}),K=P(Ye,V,{body:z});return Y.equivalent_to(K)}function y(D){return P(He,D,{body:D})}function g(D){let V=!1,X=new In(re=>{if(V||re instanceof Ke||re instanceof He)return!0;if(!O(re,X))return;let z=X.parent();z instanceof Li&&z.body[z.body.length-1]===re||(V=!0)});return D.walk(X),V}function O(D,V){return D instanceof Cr&&V.loopcontrol_target(D)===t}function w(D){return!Nr(D)&&!P(Ye,D,{body:D.body}).has_side_effects(e)}}),Ze(gr,function(t,e){if(t.bcatch&&t.bfinally&&t.bfinally.body.every(ao)&&(t.bfinally=null),e.option("dead_code")&&t.body.body.every(ao)){var n=[];return t.bcatch&&Ro(e,t.bcatch,n),t.bfinally&&n.push(...t.bfinally.body),P(Ye,t,{body:n}).optimize(e)}return t}),sn.DEFMETHOD("to_assignments",function(t){var e=t.option("reduce_vars"),n=[];for(const u of this.definitions){if(u.value){var o=P(Se,u.name,u.name);n.push(P(st,u,{operator:"=",logical:!1,left:o,right:u.value})),e&&(o.definition().fixed=!1)}const h=u.name.definition();h.eliminated++,h.replaced--}return n.length==0?null:nt(this,n)}),Ze(sn,function(t){return t.definitions.length==0?P(Rt,t):t}),Ze(Lt,function(t,e){return t.name instanceof Wo&&t.value!=null&&si(t.value,e)&&(t.value=null),t}),Ze(kr,function(t){return t}),Ze(je,function(t,e){var n=t.expression,o=n;Ed(t.args);var u=t.args.every(Q=>!(Q instanceof ht));e.option("reduce_vars")&&o instanceof Se&&(o=o.fixed_value());var h=o instanceof Ke;if(h&&o.pinned())return t;if(e.option("unused")&&u&&h&&!o.uses_arguments){for(var m=0,_=0,S=0,x=t.args.length;S<x;S++){if(o.argnames[S]instanceof ht){if(Vn(o.argnames[S].expression,oo))for(;S<x;){var C=t.args[S++].drop_side_effect_free(e);C&&(t.args[m++]=C)}else for(;S<x;)t.args[m++]=t.args[S++];_=m;break}var A=S>=o.argnames.length;if(A||Vn(o.argnames[S],oo)){var C=t.args[S].drop_side_effect_free(e);if(C)t.args[m++]=C;else if(!A){t.args[m++]=P(Je,t.args[S],{value:0});continue}}else t.args[m++]=t.args[S];_=m}t.args.length=_}if(e.option("unsafe")&&!n.contains_optional()){if(n instanceof $t&&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(ai(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 Je&&t.args[0].value<=11){const Q=[];for(let de=0;de<t.args[0].value;de++)Q.push(new wr);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(Je,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(Hi,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 de=Q.evaluate(e);return I.push(de),Q!==de})&&Bp(I[0])){let[Q,de]=I;Q=mu(new RegExp(Q).source);const ye=P(lr,t,{value:{source:Q,flags:de}});if(ye._eval(e)!==ye)return ye}break}else if(n instanceof $t)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 j;if(t.args.length>0&&(j=t.args[0].evaluate(e),j===t.args[0]))break e;for(var M=[],b=[],S=0,x=n.expression.elements.length;S<x;S++){var y=n.expression.elements[S];if(y instanceof ht)break e;var g=y.evaluate(e);g!==y?b.push(g):(b.length>0&&(M.push(P(dt,t,{value:b.join(j)})),b.length=0),M.push(y))}if(b.length>0&&M.push(P(dt,t,{value:b.join(j)})),M.length==0)return P(dt,t,{value:""});if(M.length==1)return M[0].is_string(e)?M[0]:P(ae,M[0],{operator:"+",left:P(dt,t,{value:""}),right:M[0]});if(j==""){var O;return M[0].is_string(e)||M[1].is_string(e)?O=M.shift():O=P(dt,t,{value:""}),M.reduce(function(de,ye){return P(ae,ye,{operator:"+",left:de,right:ye})},O).optimize(e)}var C=t.clone();return C.expression=C.expression.clone(),C.expression.expression=C.expression.expression.clone(),C.expression.expression.elements=M,Er(e,t,C)}break;case"charAt":if(n.expression.is_string(e)){var w=t.args[0],D=w?w.evaluate(e):0;if(D!==w)return P(Sn,n,{expression:n.expression,property:rr(D|0,w||n)}).optimize(e)}break;case"apply":if(t.args.length==2&&t.args[1]instanceof St){var V=t.args[1].elements.slice();return V.unshift(t.args[0]),P(je,t,{expression:P($t,n,{expression:n.expression,optional:!1,property:"call"}),args:V}).optimize(e)}break;case"call":var X=n.expression;if(X instanceof Se&&(X=X.fixed_value()),X instanceof Ke&&!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")&&ai(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+"})",re=us(ce),z=e.mangle_options();re.figure_out_scope(z);var Y=new gd(e.options,{mangle_options:e._mangle_options});re=re.transform(Y),re.figure_out_scope(z),re.compute_char_frequency(z),re.mangle_names(z);var K;Pn(re,Q=>{if(Bu(Q))return K=Q,hr});var ce=Fl();return Ye.prototype._codegen.call(K,K,ce),t.args=[P(dt,t,{value:K.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 Wp))throw Q}}return K_(t,e)}),Te.DEFMETHOD("contains_optional",function(){return this instanceof Xe||this instanceof je||this instanceof mn?this.optional?!0:this.expression.contains_optional():!1}),Ze(nr,function(t,e){return e.option("unsafe")&&ai(t.expression)&&["Object","RegExp","Function","Error","Array"].includes(t.expression.name)?P(je,t,t).transform(e):t}),Ze(lt,function(t,e){if(!e.option("side_effects"))return t;var n=[];u();var o=n.length-1;if(h(),o==0)return t=xo(e.parent(),e.self(),n[0]),t instanceof lt||(t=t.optimize(e)),t;return t.expressions=n,t;function u(){var m=oi(e),_=t.expressions.length-1;t.expressions.forEach(function(S,x){x<_&&(S=S.drop_side_effect_free(e,m)),S&&(Gl(n,S),m=!1)})}function h(){for(;o>0&&si(n[o],e);)o--;o<n.length-1&&(n[o]=P(We,t,{operator:"void",expression:n[o]}),n.length=o+1)}}),Wt.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}),Ze(Bi,function(t,e){return t.lift_sequences(e)}),Ze(We,function(t,e){var n=t.expression;if(t.operator=="delete"&&!(n instanceof Se||n instanceof Xe||n instanceof mn||sd(n)))return nt(t,[n,P(br,t)]).optimize(e);var o=t.lift_sequences(e);if(o!==t)return o;if(e.option("side_effects")&&t.operator=="void")return n=n.drop_side_effect_free(e),n?(t.expression=n,t):P(en,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=Er(e,t,n.negate(e,oi(e))));break;case"typeof":return(n instanceof Se?P(br,t):nt(t,[n,P(br,t)])).optimize(e)}if(t.operator=="-"&&n instanceof io&&(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 Je||n instanceof io||n instanceof ii)){var u=t.evaluate(e);if(u!==t)return u=rr(u,t).optimize(e),Er(e,u,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 o=this.operator=="="&&this.left instanceof Se,e=this.right.expressions,u=e.length-1,h=0;h<u&&!(!o&&e[h].has_side_effects(t));h++);if(h==u){e=e.slice();var n=this.clone();return n.right=e.pop(),e.push(n),nt(this,e).optimize(t)}else if(h>0){var n=this.clone();return n.right=nt(this.right,e.slice(h)),e=e.slice(0,h),e.push(n),nt(this,e).optimize(t)}}}return this});var X_=Ot("== === != !== * & | ^");function q_(t){return t instanceof St||t instanceof Ke||t instanceof Nt||t instanceof _t}Ze(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 o(X){if(n()){X&&(t.operator=X);var re=t.left;t.left=t.right,t.right=re}}if(e.option("lhs_constants")&&X_.has(t.operator)&&t.right.is_constant()&&!t.left.is_constant()&&(t.left instanceof ae&&Dr[t.left.operator]>=Dr[t.operator]||o()),t=t.lift_sequences(e),e.option("comparisons"))switch(t.operator){case"===":case"!==":var u=!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(!u&&si(t.left,e))t.left=P(fr,t.left);else if(!u&&si(t.right,e))t.right=P(fr,t.right);else if(e.option("typeofs")&&t.left instanceof dt&&t.left.value=="undefined"&&t.right instanceof We&&t.right.operator=="typeof"){var h=t.right.expression;(h instanceof Se?h.is_declared(e):!(h instanceof Xe&&e.option("ie8")))&&(t.right=h,t.left=P(en,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 h=t.left.expression;(h instanceof Se?h.is_declared(e):!(h instanceof Xe&&e.option("ie8")))&&(t.left=h,t.right=P(en,t.right).optimize(e),t.operator.length==2&&(t.operator+="="))}else{if(t.left instanceof Se&&t.right instanceof Se&&t.left.definition()===t.right.definition()&&q_(t.left.fixed_value()))return P(t.operator[0]=="="?br:Hi,t);if(t.left.is_32_bit_integer()&&t.right.is_32_bit_integer()){const X=ce=>P(We,ce,{operator:"!",expression:ce}),re=(ce,Q)=>Q?e.in_boolean_context()?ce:X(X(ce)):X(ce);if(t.left instanceof Je&&t.left.value===0)return re(t.right,t.operator[0]==="!");if(t.right instanceof Je&&t.right.value===0)return re(t.left,t.operator[0]==="!");let z,Y,K;if((z=t.left instanceof ae?t.left:t.right instanceof ae?t.right:null)&&(K=z===t.left?t.right:t.left)&&z.operator==="&"&&K instanceof Je&&K.is_32_bit_integer()&&(Y=z.left.equivalent_to(K)?z.right:z.right.equivalent_to(K)?z.left:null)){let ce=re(P(ae,t,{operator:"&",left:K,right:P(We,t,{operator:"~",expression:Y})}),t.operator[0]==="!");return Er(e,ce,t)}}}break;case"&&":case"||":var m=t.left;if(m.operator==t.operator&&(m=m.right),m instanceof ae&&m.operator==(t.operator=="&&"?"!==":"===")&&t.right instanceof ae&&m.operator==t.right.operator&&(si(m.left,e)&&t.right.left instanceof fr||m.left instanceof fr&&si(t.right.left,e))&&!m.right.has_side_effects(e)&&m.right.equivalent_to(t.right.right)){var _=P(ae,t,{operator:m.operator.slice(0,-1),left:P(fr,t),right:m.right});return m!==t.left&&(_=P(ae,t,{operator:t.operator,left:t.left.left,right:_})),_}break}if(t.operator=="+"&&e.in_boolean_context()){var S=t.left.evaluate(e),x=t.right.evaluate(e);if(S&&typeof S=="string")return nt(t,[t.right,P(br,t)]).optimize(e);if(x&&typeof x=="string")return nt(t,[t.left,P(br,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,oi(e))});t=Er(e,t,C)}if(e.option("unsafe_comps"))switch(t.operator){case"<":o(">");break;case"<=":o(">=");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 S=Vn(t.left,Bl)?!0:Vn(t.left,Ul)?!1:t.left.evaluate(e);if(S){if(!(S instanceof Te))return nt(t,[t.left,t.right]).optimize(e)}else return xo(e.parent(),e.self(),t.left).optimize(e);var x=t.right.evaluate(e);if(x){if(!(x instanceof Te)){var A=e.parent();if(A.operator=="&&"&&A.left===e.self()||e.in_boolean_context())return t.left.optimize(e)}}else{if(e.in_boolean_context())return nt(t,[t.left,P(Hi,t)]).optimize(e);vr(t,Ul)}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 S=Vn(t.left,Bl)?!0:Vn(t.left,Ul)?!1:t.left.evaluate(e);if(S){if(!(S instanceof Te))return xo(e.parent(),e.self(),t.left).optimize(e)}else return nt(t,[t.left,t.right]).optimize(e);var x=t.right.evaluate(e);if(x){if(!(x instanceof Te)){if(e.in_boolean_context())return nt(t,[t.left,P(br,t)]).optimize(e);vr(t,Bl)}}else{var A=e.parent();if(A.operator=="||"&&A.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 Te))return P(tt,t,{condition:t.left.left,consequent:t.left.right,alternative:t.right}).optimize(e)}break;case"??":if(ui(t.left,e))return t.right;var S=t.left.evaluate(e);if(!(S instanceof Te))return S==null?t.right:t.left;if(e.in_boolean_context()){const z=t.right.evaluate(e);if(!(z instanceof Te)&&!z)return t.left}}var j=!0;switch(t.operator){case"+":if(t.right instanceof Tt&&t.left instanceof ae&&t.left.operator=="+"&&t.left.is_string(e)){var M=P(ae,t,{operator:"+",left:t.left.right,right:t.right}),b=M.optimize(e);M!==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 M=P(ae,t,{operator:"+",left:t.left.right,right:t.right.left}),y=M.optimize(e);M!==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 $n){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 $n){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 $n&&t.right instanceof $n){var g=t.left,O=g.segments,b=t.right;O[O.length-1].value+=b.segments[0].value;for(var w=1;w<b.segments.length;w++)O.push(b.segments[w]);return g}case"*":j=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&&Dr[t.left.operator]>=Dr[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=Er(e,D,t):t=Er(e,t,D)}j&&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(Yl.has(t.operator)){let X,re,z,Y,K=t.left;if(t.operator==="&"&&t.right instanceof ae&&t.right.operator==="|"&&typeof(re=t.left.evaluate(e))=="number"&&(typeof(X=t.right.right.evaluate(e))=="number"?(z=t.right.left,Y=t.right.right):typeof(X=t.right.left.evaluate(e))=="number"&&(z=t.right.right,Y=t.right.left),z&&Y))if(!(X&re))t=P(ae,t,{operator:t.operator,left:K,right:z});else{const le=P(ae,t,{operator:"|",left:P(ae,t,{operator:"&",left:z,right:K}),right:rr(X&re,Y)});t=Er(e,t,le)}if(t.left.equivalent_to(t.right)&&!t.left.has_side_effects(e)){if(t.operator==="^")return P(Je,t,{value:0});(t.operator==="|"||t.operator==="&")&&(t.left=P(Je,t,{value:0}),t.operator="|")}(t.operator==="<<"||t.operator===">>")&&t.right instanceof Je&&t.right.value===0&&(t.operator="|");const Q=t.right instanceof Je&&t.right.value===0?t.right:t.left instanceof Je&&t.left.value===0?t.left:null,de=Q&&(Q===t.right?t.left:t.right);if(Q&&(t.operator==="|"||t.operator==="^")&&(de.is_32_bit_integer()||e.in_32_bit_context()))return de;if(Q&&t.operator==="&"&&!de.has_side_effects(e))return Q;const ye=le=>le instanceof Je&&le.value===-1||le instanceof We&&(le.operator==="-"&&le.expression instanceof Je&&le.expression.value===1||le.operator==="~"&&le.expression instanceof Je&&le.expression.value===0),te=ye(t.right)?t.right:ye(t.left)?t.left:null,he=te&&(te===t.right?t.left:t.right);switch(t.operator){case"|":if(te&&!he.has_side_effects(e))return te;break;case"&":if(te&&(he.is_32_bit_integer()||e.in_32_bit_context()))return he;break;case"^":if(te)return he.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&&(Do.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 V=t.evaluate(e);return V!==t?(V=rr(V,t).optimize(e),Er(e,V,t)):t}),Ze(So,function(t){return t}),Ze(Se,function(t,e){if(!e.option("ie8")&&ai(t)&&!e.find_parent(yr))switch(t.name){case"undefined":return P(en,t).optimize(e);case"NaN":return P(ps,t).optimize(e);case"Infinity":return P(io,t).optimize(e)}return e.option("reduce_vars")&&!e.is_lhs()?G_(t,e):t});function Gu(t,e){return t instanceof Se||t.TYPE===e.TYPE}Ze(en,function(t,e){if(e.option("unsafe_undefined")){var n=of(e,"undefined");if(n){var o=P(Se,t,{name:"undefined",scope:n.scope,thedef:n});return vr(o,Vl),o}}var u=e.is_lhs();return u&&Gu(u,t)?t:P(We,t,{operator:"void",expression:P(Je,t,{value:0})})}),Ze(io,function(t,e){var n=e.is_lhs();return n&&Gu(n,t)||e.option("keep_infinity")&&!(n&&!Gu(n,t))&&!of(e,"Infinity")?t:P(ae,t,{operator:"/",left:P(Je,t,{value:1}),right:P(Je,t,{value:0})})}),Ze(ps,function(t,e){var n=e.is_lhs();return n&&!Gu(n,t)||of(e,"NaN")?P(ae,t,{operator:"/",left:P(Je,t,{value:0}),right:P(Je,t,{value:0})}):t});const Y_=Ot("+ - / * % >> << >>> | ^ &"),J_=Ot("* | ^ &");Ze(st,function(t,e){if(t.logical)return t.lift_sequences(e);var n;if(t.operator==="="&&t.left instanceof Se&&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 Se&&(n=t.left.definition()).scope===e.find_parent(Ke)){var o=0,u,h=t;do if(u=h,h=e.parent(o++),h instanceof ur){if(m(o,h)||ud(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(h instanceof ae&&h.right===u||h instanceof lt&&h.tail_node()===u)}return t=t.lift_sequences(e),t.operator=="="&&t.left instanceof Se&&t.right instanceof ae&&(t.right.left instanceof Se&&t.right.left.name==t.left.name&&Y_.has(t.right.operator)?(t.operator=t.right.operator+"=",t.right=t.right.right):t.right.right instanceof Se&&t.right.right.name==t.left.name&&J_.has(t.right.operator)&&!t.right.left.has_side_effects(e)&&(t.operator=t.right.operator+"=",t.right=t.right.left)),t;function m(_,S){function x(){const I=t.right;t.right=P(fr,I);const j=S.may_throw(e);return t.right=I,j}for(var C=t.left.definition().scope.get_defun_scope(),A;(A=e.parent(_++))!==C;)if(A instanceof gr&&(A.bfinally||A.bcatch&&x()))return!0}}),Ze(Rr,function(t,e){if(!e.option("evaluate"))return t;var n=t.right.evaluate(e);let o,u;return n===void 0?(!((o=e.parent())instanceof Ke)||e.option("keep_fargs")===!1||(u=e.parent(1)).TYPE==="Call"&&u.expression===o)&&(t=t.left):n!==t.right&&(n=rr(n,t.right),t.right=Ki(n,t.right)),t});function Z_(t,e,n){if(e.may_throw(n))return!1;let o;if(t instanceof ae&&t.operator==="=="&&((o=ui(t.left,n)&&t.left)||(o=ui(t.right,n)&&t.right))&&(o===t.left?t.right:t.left).equivalent_to(e))return!0;if(t instanceof ae&&t.operator==="||"){let u,h;const m=_=>{if(!(_ instanceof ae&&(_.operator==="==="||_.operator==="==")))return!1;let S=0,x;return _.left instanceof fr&&(S++,u=_,x=_.right),_.right instanceof fr&&(S++,u=_,x=_.left),si(_.left,n)&&(S++,h=_,x=_.right),si(_.right,n)&&(S++,h=_,x=_.left),!(S!==1||!x.equivalent_to(e))};if(!m(t.left)||!m(t.right))return!1;if(u&&h&&u!==h)return!0}return!1}Ze(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 o=t.condition.evaluate(e);if(o!==t.condition)return o?xo(e.parent(),e.self(),t.consequent):xo(e.parent(),e.self(),t.alternative);var u=o.negate(e,oi(e));Er(e,o,u)===u&&(t=P(tt,t,{condition:u,consequent:t.alternative,alternative:t.consequent}));var h=t.condition,m=t.consequent,_=t.alternative;if(h instanceof Se&&m instanceof Se&&h.definition()===m.definition())return P(ae,t,{operator:"||",left:h,right:_});if(m instanceof st&&_ instanceof st&&m.operator===_.operator&&m.logical===_.logical&&m.left.equivalent_to(_.left)&&(!t.condition.has_side_effects(e)||m.operator=="="&&!m.left.has_side_effects(e)))return P(st,t,{operator:m.operator,left:m.left,logical:m.logical,right:P(tt,t,{condition:t.condition,consequent:m.right,alternative:_.right})});var S;if(m instanceof je&&_.TYPE===m.TYPE&&m.args.length>0&&m.args.length==_.args.length&&m.expression.equivalent_to(_.expression)&&!t.condition.has_side_effects(e)&&!m.expression.has_side_effects(e)&&typeof(S=M())=="number"){var x=m.clone();return x.args[S]=P(tt,t,{condition:t.condition,consequent:m.args[S],alternative:_.args[S]}),x}if(_ instanceof tt&&m.equivalent_to(_.consequent))return P(tt,t,{condition:P(ae,t,{operator:"||",left:h,right:_.condition}),consequent:m,alternative:_.alternative}).optimize(e);if(e.option("ecma")>=2020&&Z_(h,_,e))return P(ae,t,{operator:"??",left:_,right:m}).optimize(e);if(_ instanceof lt&&m.equivalent_to(_.expressions[_.expressions.length-1]))return nt(t,[P(ae,t,{operator:"||",left:h,right:nt(t,_.expressions.slice(0,-1))}),m]).optimize(e);if(_ instanceof ae&&_.operator=="&&"&&m.equivalent_to(_.right))return P(ae,t,{operator:"&&",left:P(ae,t,{operator:"||",left:h,right:_.left}),right:m}).optimize(e);if(m instanceof tt&&m.alternative.equivalent_to(_))return P(tt,t,{condition:P(ae,t,{left:t.condition,operator:"&&",right:m.condition}),consequent:m.consequent,alternative:_});if(m.equivalent_to(_))return nt(t,[t.condition,m]).optimize(e);if(m instanceof ae&&m.operator=="||"&&m.right.equivalent_to(_))return P(ae,t,{operator:"||",left:P(ae,t,{operator:"&&",left:t.condition,right:m.left}),right:_}).optimize(e);const C=e.in_boolean_context();if(I(t.consequent))return j(t.alternative)?A(t.condition):P(ae,t,{operator:"||",left:A(t.condition),right:t.alternative});if(j(t.consequent))return I(t.alternative)?A(t.condition.negate(e)):P(ae,t,{operator:"&&",left:A(t.condition.negate(e)),right:t.alternative});if(I(t.alternative))return P(ae,t,{operator:"||",left:A(t.condition.negate(e)),right:t.consequent});if(j(t.alternative))return P(ae,t,{operator:"&&",left:A(t.condition),right:t.consequent});return t;function A(b){return b.is_boolean()?b:P(We,b,{operator:"!",expression:b.negate(e)})}function I(b){return b instanceof br||C&&b instanceof Tt&&b.getValue()||b instanceof We&&b.operator=="!"&&b.expression instanceof Tt&&!b.expression.getValue()}function j(b){return b instanceof Hi||C&&b instanceof Tt&&!b.getValue()||b instanceof We&&b.operator=="!"&&b.expression instanceof Tt&&b.expression.getValue()}function M(){for(var b=m.args,y=_.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 w=g+1;w<O;w++)if(b[w]instanceof ht||!b[w].equivalent_to(y[w]))return;return g}}}}),Ze(Nu,function(t,e){if(e.in_boolean_context())return P(Je,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(Je,t,{value:+t.value})):e.option("booleans")?n instanceof ae&&(n.operator=="=="||n.operator=="!=")?P(Je,t,{value:+t.value}):P(We,t,{operator:"!",expression:P(Je,t,{value:1-t.value})}):t});function vd(t,e){return t instanceof Se&&(t=t.fixed_value()),t?!(t instanceof Ke||t instanceof _t)||!(t instanceof Ke&&t.contains_this())?!0:e.parent()instanceof nr:!1}Xe.DEFMETHOD("flatten_object",function(t,e){if(e.option("properties")&&t!=="__proto__"){var n=e.option("unsafe_arrows")&&e.option("ecma")>=2015,o=this.expression;if(o instanceof Nt)for(var u=o.properties,h=u.length;--h>=0;){var m=u[h];if(""+(m instanceof Ln?m.key.name:m.key)==t)return!u.every(S=>(S instanceof Yt||n&&S instanceof Ln&&!S.is_generator)&&!S.computed_key())||!vd(m.value,e)?void 0:P(Sn,this,{expression:P(St,o,{elements:u.map(function(S){var x=S.value;x instanceof Fi&&(x=P(Ft,x,x));var C=S.key;return C instanceof Te&&!(C instanceof Bn)?nt(S,[C,x]):x})}),property:P(Je,this,{value:h})})}}}),Ze(Sn,function(t,e){var n=t.expression,o=t.property;if(e.option("properties")){var u=o.evaluate(e);if(u!==o){if(typeof u=="string")if(u=="undefined")u=void 0;else{var h=parseFloat(u);h.toString()==u&&(u=h)}o=t.property=Ki(o,rr(u,o).transform(e));var m=""+u;if(Au(m)&&m.length<=o.size()+1)return P($t,t,{expression:n,optional:t.optional,property:m,quote:o.quote}).optimize(e)}}var _;e:if(e.option("arguments")&&n instanceof Se&&n.name=="arguments"&&n.definition().orig.length==1&&(_=n.scope)instanceof Ke&&_.uses_arguments&&!(_ instanceof qt)&&o instanceof Je){for(var S=o.getValue(),x=new Set,C=_.argnames,A=0;A<C.length;A++){if(!(C[A]instanceof Nn))break e;var I=C[A].name;if(x.has(I))break e;x.add(I)}var j=_.argnames[S];if(j&&e.has_directive("use strict")){var M=j.definition();(!e.option("reduce_vars")||M.assignments||M.orig.length>1)&&(j=null)}else if(!j&&!e.option("keep_fargs")&&S<_.argnames.length+5)for(;S>=_.argnames.length;)j=_.create_symbol(Nn,{source:_,scope:_,tentative_name:"argument_"+_.argnames.length}),_.argnames.push(j);if(j){var b=P(Se,t,j);return b.reference({}),ta(j,oo),b}}if(e.is_lhs())return t;if(u!==o){var y=t.flatten_object(m,e);y&&(n=t.expression=y.expression,o=t.property=y.property)}if(e.option("properties")&&e.option("side_effects")&&o instanceof Je&&n instanceof St){var S=o.getValue(),g=n.elements,O=g[S];e:if(vd(O,e)){for(var w=!0,D=[],V=g.length;--V>S;){var h=g[V].drop_side_effect_free(e);h&&(D.unshift(h),w&&h.has_side_effects(e)&&(w=!1))}if(O instanceof ht)break e;for(O=O instanceof wr?P(en,O):O,w||D.unshift(O);--V>=0;){var h=g[V];if(h instanceof ht)break e;h=h.drop_side_effect_free(e),h?D.unshift(h):S--}return w?(D.push(O),nt(t,D).optimize(e)):P(Sn,t,{expression:P(St,n,{elements:D}),property:P(Je,o,{value:S})})}}var X=t.evaluate(e);return X!==t?(X=rr(X,t).optimize(e),Er(e,X,t)):t}),Ze(mn,function(t,e){if(ui(t.expression,e)){let n=e.parent();return n instanceof We&&n.operator==="delete"?rr(0,t):P(en,t)}return t}),Ze($t,function(t,e){const n=e.parent();if(e.is_lhs())return t;if(e.option("unsafe_proto")&&t.expression instanceof $t&&t.expression.property=="prototype"){var o=t.expression.expression;if(ai(o))switch(o.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(Je,t.expression,{value:0});break;case"Object":t.expression=P(Nt,t.expression,{properties:[]});break;case"RegExp":t.expression=P(lr,t.expression,{value:{source:"t",flags:""}});break;case"String":t.expression=P(dt,t.expression,{value:""});break}}if(!(n instanceof je)||!ar(n,To)){const h=t.flatten_object(t.property,e);if(h)return h.optimize(e)}if(t.expression instanceof Xe&&n instanceof Xe)return t;let u=t.evaluate(e);return u!==t?(u=rr(u,t).optimize(e),Er(e,u,t)):t});function sf(t,e){return e.in_boolean_context()?Er(e,t,nt(t,[t,P(br,t)]).optimize(e)):t}function Ed(t){for(var e=0;e<t.length;e++){var n=t[e];if(n instanceof ht){var o=n.expression;o instanceof St&&!o.elements.some(u=>u instanceof wr)&&(t.splice(e,1,...o.elements),e--)}}}Ze(St,function(t,e){var n=sf(t,e);return n!==t?n:(Ed(t.elements),t)});function Q_(t){for(var e=0;e<t.length;e++){var n=t[e];if(n instanceof ht){const o=n.expression;o instanceof Nt&&o.properties.every(u=>u instanceof Yt)?(t.splice(e,1,...o.properties),e--):(o instanceof Tt||o.is_constant())&&!(o instanceof dt)&&(t.splice(e,1),e--)}}}Ze(Nt,function(t,e){var n=sf(t,e);return n!==t?n:(Q_(t.properties),t)}),Ze(lr,sf),Ze(an,function(t,e){return t.value&&si(t.value,e)&&(t.value=null),t}),Ze(qt,af),Ze(Ft,function(t,e){return t=af(t,e),e.option("unsafe_arrows")&&e.option("ecma")>=2015&&!t.name&&!t.is_generator&&!t.uses_arguments&&!t.pinned()&&!Pn(t,o=>{if(o instanceof Un)return hr})?P(qt,t,t).optimize(e):t}),Ze(_t,function(t){for(let e=0;e<t.properties.length;e++){const n=t.properties[e];n instanceof Xn&&n.body.length==0&&(t.properties.splice(e,1),e--)}return t}),Ze(Xn,function(t,e){return Hu(t.body,e),t}),Ze(_r,function(t,e){return t.expression&&!t.is_star&&si(t.expression,e)&&(t.expression=null),t}),Ze($n,function(t,e){if(!e.option("evaluate")||e.parent()instanceof Vr)return t;for(var n=[],o=0;o<t.segments.length;o++){var u=t.segments[o];if(u instanceof Te){var h=u.evaluate(e);if(h!==u&&(h+"").length<=u.size()+3){n[n.length-1].value=n[n.length-1].value+h+t.segments[++o].value;continue}if(u instanceof $n){var m=u.segments;n[n.length-1].value+=m[0].value;for(var _=1;_<m.length;_++)u=m[_],n.push(u);continue}}n.push(u)}if(t.segments=n,n.length==1)return P(dt,t,n[0]);if(n.length===3&&n[1]instanceof Te&&(n[1].is_string(e)||n[1].is_number(e)||ui(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}),Ze(Vr,function(t){return t});function uf(t,e){if(!e.option("computed_props")||!(t.key instanceof Tt))return t;if(t.key instanceof dt||t.key instanceof Je){const n=t.key.value.toString();if(n==="__proto__"||n=="constructor"&&e.parent()instanceof _t)return t;t instanceof Yt?(t.quote=t.key.quote,t.key=n):t instanceof cr?(t.quote=t.key.quote,t.key=P(ji,t.key,{name:n})):(t.quote=t.key.quote,t.key=P(Bn,t.key,{name:n}))}return t}Ze(un,uf),Ze(Ln,function(t,e){if(uf(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 an&&t.value.body[0].value&&!t.value.contains_this()){var n=P(qt,t.value,t.value);return n.async=t.async,n.is_generator=t.is_generator,P(Yt,t,{key:t.key instanceof Bn?t.key.name:t.key,value:n,quote:t.quote})}return t}),Ze(Yt,function(t,e){uf(t,e);var n=e.option("unsafe_methods");if(n&&e.option("ecma")>=2015&&(!(n instanceof RegExp)||n.test(t.key+""))){var o=t.key,u=t.value,h=u instanceof qt&&Array.isArray(u.body)&&!u.contains_this();if((h||u instanceof Ft)&&!u.name)return P(Ln,t,{async:u.async,is_generator:u.is_generator,key:o instanceof Te?o:P(Bn,t,{name:o}),value:P(Fi,u,u),quote:t.quote})}return t}),Ze(Vt,function(t,e){if(e.option("pure_getters")==!0&&e.option("unused")&&!t.is_array&&Array.isArray(t.names)&&!h(e)&&!(t.names[t.names.length-1]instanceof ht)){for(var n=[],o=0;o<t.names.length;o++){var u=t.names[o];u instanceof Yt&&typeof u.key=="string"&&u.value instanceof wn&&!m(e,u.value.definition())||n.push(u)}n.length!=t.names.length&&(t.names=n)}return t;function h(_){for(var S=[/^VarDef$/,/^(Const|Let|Var)$/,/^Export$/],x=0,C=0,A=S.length;x<A;C++){var I=_.parent(C);if(!I)return!1;if(!(x===0&&I.TYPE=="Destructuring")){if(!S[x].test(I.TYPE))return!1;x++}}return!0}function m(_,S){return S.references.length?!0:S.global?_.toplevel.vars?_.top_retain?_.top_retain(S):!1:!0:!1}});var cf={exports:{}};(function(t,e){(function(n,o){o(e)})(kp,function(n){const h="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",m=new Uint8Array(64),_=new Uint8Array(128);for(let U=0;U<h.length;U++){const G=h.charCodeAt(U);m[U]=G,_[G]=U}const S=typeof TextDecoder<"u"?new TextDecoder:typeof Buffer<"u"?{decode(U){return Buffer.from(U.buffer,U.byteOffset,U.byteLength).toString()}}:{decode(U){let G="";for(let q=0;q<U.length;q++)G+=String.fromCharCode(U[q]);return G}};function x(U){const G=new Int32Array(5),q=[];let ue=0;do{const be=C(U,ue),ge=[];let ve=!0,ze=0;G[0]=0;for(let Le=ue;Le<be;Le++){let ot;Le=A(U,Le,G,0);const Ut=G[0];Ut<ze&&(ve=!1),ze=Ut,I(U,Le,be)?(Le=A(U,Le,G,1),Le=A(U,Le,G,2),Le=A(U,Le,G,3),I(U,Le,be)?(Le=A(U,Le,G,4),ot=[Ut,G[1],G[2],G[3],G[4]]):ot=[Ut,G[1],G[2],G[3]]):ot=[Ut],ge.push(ot)}ve||j(ge),q.push(ge),ue=be+1}while(ue<=U.length);return q}function C(U,G){const q=U.indexOf(";",G);return q===-1?U.length:q}function A(U,G,q,ue){let be=0,ge=0,ve=0;do{const Le=U.charCodeAt(G++);ve=_[Le],be|=(ve&31)<<ge,ge+=5}while(ve&32);const ze=be&1;return be>>>=1,ze&&(be=-2147483648|-be),q[ue]+=be,G}function I(U,G,q){return G>=q?!1:U.charCodeAt(G)!==44}function j(U){U.sort(M)}function M(U,G){return U[0]-G[0]}function b(U){const G=new Int32Array(5),q=1024*16,ue=q-36,be=new Uint8Array(q),ge=be.subarray(0,ue);let ve=0,ze="";for(let Le=0;Le<U.length;Le++){const ot=U[Le];if(Le>0&&(ve===q&&(ze+=S.decode(be),ve=0),be[ve++]=59),ot.length!==0){G[0]=0;for(let Ut=0;Ut<ot.length;Ut++){const ct=ot[Ut];ve>ue&&(ze+=S.decode(ge),be.copyWithin(0,ue,ve),ve-=ue),Ut>0&&(be[ve++]=44),ve=y(be,ve,G,ct,0),ct.length!==1&&(ve=y(be,ve,G,ct,1),ve=y(be,ve,G,ct,2),ve=y(be,ve,G,ct,3),ct.length!==4&&(ve=y(be,ve,G,ct,4)))}}}return ze+S.decode(be.subarray(0,ve))}function y(U,G,q,ue,be){const ge=ue[be];let ve=ge-q[be];q[be]=ge,ve=ve<0?-ve<<1|1:ve<<1;do{let ze=ve&31;ve>>>=5,ve>0&&(ze|=32),U[G++]=m[ze]}while(ve>0);return G}const g=/^[\w+.-]+:\/\//,O=/^([\w+.-]+:)\/\/([^@/#?]*@)?([^:/#?]*)(:\d+)?(\/[^#?]*)?(\?[^#]*)?(#.*)?/,w=/^file:(?:\/\/((?![a-z]:)[^/#?]*)?)?(\/?[^#?]*)(\?[^#]*)?(#.*)?/i;function D(U){return g.test(U)}function V(U){return U.startsWith("//")}function X(U){return U.startsWith("/")}function re(U){return U.startsWith("file:")}function z(U){return/^[.?#]/.test(U)}function Y(U){const G=O.exec(U);return ce(G[1],G[2]||"",G[3],G[4]||"",G[5]||"/",G[6]||"",G[7]||"")}function K(U){const G=w.exec(U),q=G[2];return ce("file:","",G[1]||"","",X(q)?q:"/"+q,G[3]||"",G[4]||"")}function ce(U,G,q,ue,be,ge,ve){return{scheme:U,user:G,host:q,port:ue,path:be,query:ge,hash:ve,type:7}}function Q(U){if(V(U)){const q=Y("http:"+U);return q.scheme="",q.type=6,q}if(X(U)){const q=Y("http://foo.com"+U);return q.scheme="",q.host="",q.type=5,q}if(re(U))return K(U);if(D(U))return Y(U);const G=Y("http://foo.com/"+U);return G.scheme="",G.host="",G.type=U?U.startsWith("?")?3:U.startsWith("#")?2:4:1,G}function de(U){if(U.endsWith("/.."))return U;const G=U.lastIndexOf("/");return U.slice(0,G+1)}function ye(U,G){te(G,G.type),U.path==="/"?U.path=G.path:U.path=de(G.path)+U.path}function te(U,G){const q=G<=4,ue=U.path.split("/");let be=1,ge=0,ve=!1;for(let Le=1;Le<ue.length;Le++){const ot=ue[Le];if(!ot){ve=!0;continue}if(ve=!1,ot!=="."){if(ot===".."){ge?(ve=!0,ge--,be--):q&&(ue[be++]=ot);continue}ue[be++]=ot,ge++}}let ze="";for(let Le=1;Le<be;Le++)ze+="/"+ue[Le];(!ze||ve&&!ze.endsWith("/.."))&&(ze+="/"),U.path=ze}function he(U,G){if(!U&&!G)return"";const q=Q(U);let ue=q.type;if(G&&ue!==7){const ge=Q(G),ve=ge.type;switch(ue){case 1:q.hash=ge.hash;case 2:q.query=ge.query;case 3:case 4:ye(q,ge);case 5:q.user=ge.user,q.host=ge.host,q.port=ge.port;case 6:q.scheme=ge.scheme}ve>ue&&(ue=ve)}te(q,ue);const be=q.query+q.hash;switch(ue){case 2:case 3:return be;case 4:{const ge=q.path.slice(1);return ge?z(G||U)&&!z(ge)?"./"+ge+be:ge+be:be||"."}case 5:return q.path+be;default:return q.scheme+"//"+q.user+q.host+q.port+q.path+be}}function le(U,G){return G&&!G.endsWith("/")&&(G+="/"),he(U,G)}function Ae(U){if(!U)return"";const G=U.lastIndexOf("/");return U.slice(0,G+1)}const Pe=0,_e=1,Ue=2,J=3,ne=4,se=1,Ee=2;function me(U,G){const q=At(U,0);if(q===U.length)return U;G||(U=U.slice());for(let ue=q;ue<U.length;ue=At(U,ue+1))U[ue]=Et(U[ue],G);return U}function At(U,G){for(let q=G;q<U.length;q++)if(!jt(U[q]))return q;return U.length}function jt(U){for(let G=1;G<U.length;G++)if(U[G][Pe]<U[G-1][Pe])return!1;return!0}function Et(U,G){return G||(U=U.slice()),U.sort(Mt)}function Mt(U,G){return U[Pe]-G[Pe]}let gt=!1;function Dt(U,G,q,ue){for(;q<=ue;){const be=q+(ue-q>>1),ge=U[be][Pe]-G;if(ge===0)return gt=!0,be;ge<0?q=be+1:ue=be-1}return gt=!1,q-1}function Jt(U,G,q){for(let ue=q+1;ue<U.length&&U[ue][Pe]===G;q=ue++);return q}function oe(U,G,q){for(let ue=q-1;ue>=0&&U[ue][Pe]===G;q=ue--);return q}function De(){return{lastKey:-1,lastNeedle:-1,lastIndex:-1}}function pe(U,G,q,ue){const{lastKey:be,lastNeedle:ge,lastIndex:ve}=q;let ze=0,Le=U.length-1;if(ue===be){if(G===ge)return gt=ve!==-1&&U[ve][Pe]===G,ve;G>=ge?ze=ve===-1?0:ve:Le=ve}return q.lastKey=ue,q.lastNeedle=G,q.lastIndex=Dt(U,G,ze,Le)}function bt(U,G){const q=G.map(Ct);for(let ue=0;ue<U.length;ue++){const be=U[ue];for(let ge=0;ge<be.length;ge++){const ve=be[ge];if(ve.length===1)continue;const ze=ve[_e],Le=ve[Ue],ot=ve[J],Ut=q[ze],ct=Ut[Le]||(Ut[Le]=[]),Kt=G[ze];let An=Jt(ct,ot,pe(ct,ot,Kt,Le));Kt.lastIndex=++An,xt(ct,An,[ot,ue,ve[Pe]])}}return q}function xt(U,G,q){for(let ue=U.length;ue>G;ue--)U[ue]=U[ue-1];U[G]=q}function Ct(){return{__proto__:null}}const Mn=function(U,G){const q=Zt(U);if(!("sections"in q))return new Me(q,G);const ue=[],be=[],ge=[],ve=[],ze=[];pn(q,G,ue,be,ge,ve,ze,0,0,1/0,1/0);const Le={version:3,file:q.file,names:ve,sources:be,sourcesContent:ge,mappings:ue,ignoreList:ze};return Ai(Le)};function Zt(U){return typeof U=="string"?JSON.parse(U):U}function pn(U,G,q,ue,be,ge,ve,ze,Le,ot,Ut){const{sections:ct}=U;for(let Kt=0;Kt<ct.length;Kt++){const{map:An,offset:Hn}=ct[Kt];let qn=ot,Fr=Ut;if(Kt+1<ct.length){const Wr=ct[Kt+1].offset;qn=Math.min(ot,ze+Wr.line),qn===ot?Fr=Math.min(Ut,Le+Wr.column):qn<ot&&(Fr=Le+Wr.column)}Ht(An,G,q,ue,be,ge,ve,ze+Hn.line,Le+Hn.column,qn,Fr)}}function Ht(U,G,q,ue,be,ge,ve,ze,Le,ot,Ut){const ct=Zt(U);if("sections"in ct)return pn(...arguments);const Kt=new Me(ct,G),An=ue.length,Hn=ge.length,qn=ft(Kt),{resolvedSources:Fr,sourcesContent:Wr,ignoreList:Es}=Kt;if(It(ue,Fr),It(ge,Kt.names),Wr)It(be,Wr);else for(let Yn=0;Yn<Fr.length;Yn++)be.push(null);if(Es)for(let Yn=0;Yn<Es.length;Yn++)ve.push(Es[Yn]+An);for(let Yn=0;Yn<qn.length;Yn++){const qi=ze+Yn;if(qi>ot)return;const sa=ln(q,qi),zu=Yn===0?Le:0,ua=qn[Yn];for(let Yi=0;Yi<ua.length;Yi++){const Ji=ua[Yi],Lr=zu+Ji[Pe];if(qi===ot&&Lr>=Ut)return;if(Ji.length===1){sa.push([Lr]);continue}const lo=An+Ji[_e],$u=Ji[Ue],Lo=Ji[J];sa.push(Ji.length===4?[Lr,lo,$u,Lo]:[Lr,lo,$u,Lo,Hn+Ji[ne]])}}}function It(U,G){for(let q=0;q<G.length;q++)U.push(G[q])}function ln(U,G){for(let q=U.length;q<=G;q++)U[q]=[];return U[G]}const Ti="`line` must be greater than 0 (lines start at line 1)",B="`column` must be greater than or equal to 0 (columns start at column 0)",Re=-1,Be=1;class Me{constructor(G,q){const ue=typeof G=="string";if(!ue&&G._decodedMemo)return G;const be=ue?JSON.parse(G):G,{version:ge,file:ve,names:ze,sourceRoot:Le,sources:ot,sourcesContent:Ut}=be;this.version=ge,this.file=ve,this.names=ze||[],this.sourceRoot=Le,this.sources=ot,this.sourcesContent=Ut,this.ignoreList=be.ignoreList||be.x_google_ignoreList||void 0;const ct=le(Le||"",Ae(q));this.resolvedSources=ot.map(An=>le(An||"",ct));const{mappings:Kt}=be;typeof Kt=="string"?(this._encoded=Kt,this._decoded=void 0):(this._encoded=void 0,this._decoded=me(Kt,ue)),this._decodedMemo=De(),this._bySources=void 0,this._bySourceMemos=void 0}}function ut(U){return U}function rn(U){var G,q;return(G=(q=U)._encoded)!==null&&G!==void 0?G:q._encoded=b(U._decoded)}function ft(U){var G;return(G=U)._decoded||(G._decoded=x(U._encoded))}function gn(U,G){let{line:q,column:ue,bias:be}=G;if(q--,q<0)throw new Error(Ti);if(ue<0)throw new Error(B);const ge=ft(U);if(q>=ge.length)return Sr(null,null,null,null);const ve=ge[q],ze=No(ve,U._decodedMemo,q,ue,be||Be);if(ze===-1)return Sr(null,null,null,null);const Le=ve[ze];if(Le.length===1)return Sr(null,null,null,null);const{names:ot,resolvedSources:Ut}=U;return Sr(Ut[Le[_e]],Le[Ue]+1,Le[J],Le.length===5?ot[Le[ne]]:null)}function Tn(U,G){const{source:q,line:ue,column:be,bias:ge}=G;return Pr(U,q,ue,be,ge||Be,!1)}function ci(U,G){const{source:q,line:ue,column:be,bias:ge}=G;return Pr(U,q,ue,be,ge||Re,!0)}function Fn(U,G){const q=ft(U),{names:ue,resolvedSources:be}=U;for(let ge=0;ge<q.length;ge++){const ve=q[ge];for(let ze=0;ze<ve.length;ze++){const Le=ve[ze],ot=ge+1,Ut=Le[0];let ct=null,Kt=null,An=null,Hn=null;Le.length!==1&&(ct=be[Le[1]],Kt=Le[2]+1,An=Le[3]),Le.length===5&&(Hn=ue[Le[4]]),G({generatedLine:ot,generatedColumn:Ut,source:ct,originalLine:Kt,originalColumn:An,name:Hn})}}}function fn(U,G){const{sources:q,resolvedSources:ue}=U;let be=q.indexOf(G);return be===-1&&(be=ue.indexOf(G)),be}function uo(U,G){const{sourcesContent:q}=U;if(q==null)return null;const ue=fn(U,G);return ue===-1?null:q[ue]}function Ai(U,G){const q=new Me(co(U,[]),G);return q._decoded=U.mappings,q}function co(U,G){return{version:U.version,file:U.file,names:U.names,sourceRoot:U.sourceRoot,sources:U.sources,sourcesContent:U.sourcesContent,mappings:G,ignoreList:U.ignoreList||U.x_google_ignoreList}}function Sr(U,G,q,ue){return{source:U,line:G,column:q,name:ue}}function zr(U,G){return{line:U,column:G}}function No(U,G,q,ue,be){let ge=pe(U,ue,G,q);return gt?ge=(be===Re?Jt:oe)(U,ue,ge):be===Re&&ge++,ge===-1||ge===U.length?-1:ge}function $i(U,G,q,ue,be){let ge=No(U,G,q,ue,Be);if(!gt&&be===Re&&ge++,ge===-1||ge===U.length)return[];const ve=gt?ue:U[ge][Pe];gt||(ge=oe(U,ve,ge));const ze=Jt(U,ve,ge),Le=[];for(;ge<=ze;ge++){const ot=U[ge];Le.push(zr(ot[se]+1,ot[Ee]))}return Le}function Pr(U,G,q,ue,be,ge){var ve;if(q--,q<0)throw new Error(Ti);if(ue<0)throw new Error(B);const{sources:ze,resolvedSources:Le}=U;let ot=ze.indexOf(G);if(ot===-1&&(ot=Le.indexOf(G)),ot===-1)return ge?[]:zr(null,null);const ct=((ve=U)._bySources||(ve._bySources=bt(ft(U),U._bySourceMemos=ze.map(De))))[ot][q];if(ct==null)return ge?[]:zr(null,null);const Kt=U._bySourceMemos[ot];if(ge)return $i(ct,Kt,q,ue,be);const An=No(ct,Kt,q,ue,be);if(An===-1)return zr(null,null);const Hn=ct[An];return zr(Hn[se]+1,Hn[Ee])}class li{constructor(){this._indexes={__proto__:null},this.array=[]}}function Po(U){return U}function mt(U,G){return U._indexes[G]}function ir(U,G){const q=mt(U,G);if(q!==void 0)return q;const{array:ue,_indexes:be}=U,ge=ue.push(G);return be[G]=ge-1}const k=0,H=1,$=2,Z=3,ie=4,Fe=-1;class Ie{constructor({file:G,sourceRoot:q}={}){this._names=new li,this._sources=new li,this._sourcesContent=[],this._mappings=[],this.file=G,this.sourceRoot=q,this._ignoreList=new li}}function rt(U){return U}const Gt=(U,G)=>Fo(!0,U,G);function on(U,G,q){const{_sources:ue,_sourcesContent:be}=U,ge=ir(ue,G);be[ge]=q}function bn(U){const{_mappings:G,_sources:q,_sourcesContent:ue,_names:be,_ignoreList:ge}=U;return lf(G),{version:3,file:U.file||void 0,names:be.array,sourceRoot:U.sourceRoot||void 0,sources:q.array,sourcesContent:ue,mappings:G,ignoreList:ge.array}}function Ir(U){const G=bn(U);return Object.assign(Object.assign({},G),{mappings:b(G.mappings)})}function Bt(U){const G=new Me(U),q=new Ie({file:G.file,sourceRoot:G.sourceRoot});return Io(q._names,G.names),Io(q._sources,G.sources),q._sourcesContent=G.sourcesContent||G.sources.map(()=>null),q._mappings=ft(G),G.ignoreList&&Io(q._ignoreList,G.ignoreList),q}function $r(U,G,q,ue,be,ge,ve,ze,Le){const{_mappings:ot,_sources:Ut,_sourcesContent:ct,_names:Kt}=G,An=Tr(ot,q),Hn=Ku(An,ue);if(!be)return U&&oa(An,Hn)?void 0:Wi(An,Hn,[ue]);const qn=ir(Ut,be),Fr=ze?ir(Kt,ze):Fe;if(qn===ct.length&&(ct[qn]=Le??null),!(U&&Xi(An,Hn,qn,ge,ve,Fr)))return Wi(An,Hn,ze?[ue,qn,ge,ve,Fr]:[ue,qn,ge,ve])}function Tr(U,G){for(let q=U.length;q<=G;q++)U[q]=[];return U[G]}function Ku(U,G){let q=U.length;for(let ue=q-1;ue>=0;q=ue--){const be=U[ue];if(G>=be[k])break}return q}function Wi(U,G,q){for(let ue=U.length;ue>G;ue--)U[ue]=U[ue-1];U[G]=q}function lf(U){const{length:G}=U;let q=G;for(let ue=q-1;ue>=0&&!(U[ue].length>0);q=ue,ue--);q<G&&(U.length=q)}function Io(U,G){for(let q=0;q<G.length;q++)ir(U,G[q])}function oa(U,G){return G===0?!0:U[G-1].length===1}function Xi(U,G,q,ue,be,ge){if(G===0)return!1;const ve=U[G-1];return ve.length===1?!1:q===ve[H]&&ue===ve[$]&&be===ve[Z]&&ge===(ve.length===5?ve[ie]:Fe)}function Fo(U,G,q){const{generated:ue,source:be,original:ge,name:ve,content:ze}=q;return be?$r(U,G,ue.line-1,ue.column,be,ge.line-1,ge.column,ve,ze):$r(U,G,ue.line-1,ue.column,null,null,null,null,null)}class aa{constructor(G,q){const ue=this._map=new Mn(G,q);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(G,q){return G.toDecodedMap?new aa(G.toDecodedMap(),q):new aa(G.toJSON(),q)}get mappings(){return rn(this._map)}originalPositionFor(G){return gn(this._map,G)}generatedPositionFor(G){return Tn(this._map,G)}allGeneratedPositionsFor(G){return ci(this._map,G)}hasContentsOfAllSources(){if(!this.sourcesContent||this.sourcesContent.length!==this.sources.length)return!1;for(const G of this.sourcesContent)if(G==null)return!1;return!0}sourceContentFor(G,q){const ue=uo(this._map,G);if(ue!=null)return ue;if(q)return null;throw new Error(`"${G}" is not in the SourceMap.`)}eachMapping(G,q){Fn(this._map,q?G.bind(q):G)}destroy(){}}class it{constructor(G){this._map=G instanceof Ie?G:new Ie(G)}static fromSourceMap(G){return new it(Bt(G))}addMapping(G){Gt(this._map,G)}setSourceContent(G,q){on(this._map,G,q)}toJSON(){return Ir(this._map)}toString(){return JSON.stringify(this.toJSON())}toDecodedMap(){return bn(this._map)}}n.SourceMapConsumer=aa,n.SourceMapGenerator=it,Object.defineProperty(n,"__esModule",{value:!0})})})(cf,cf.exports);var Sd=cf.exports;function*e0(t){t=di(t,{file:null,root:null,orig:null,files:{}});var e,n=new Sd.SourceMapGenerator({file:t.file,sourceRoot:t.root});let o={__proto__:null},u=t.files;for(var h in u)er(u,h)&&(o[h]=u[h]);t.orig&&(e=yield new Sd.SourceMapConsumer(t.orig),e.sourcesContent&&e.sources.forEach(function(A,I){var j=e.sourcesContent[I];j&&(o[A]=j)}));function m(A,I,j,M,b,y){let g={line:I,column:j};if(e){var O=e.originalPositionFor({line:M,column:b});if(O.source===null){n.addMapping({generated:g,original:null,source:null,name:null});return}A=O.source,M=O.line,b=O.column,y=O.name||y}n.addMapping({generated:g,original:{line:M,column:b},source:A,name:y}),n.setSourceContent(A,o[A])}function _(A){return A.sourcesContent&&A.sourcesContent.every(j=>j==null)&&delete A.sourcesContent,A.file===void 0&&delete A.file,A.sourceRoot===void 0&&delete A.sourceRoot,A}function S(){return n.toDecodedMap?_(n.toDecodedMap()):null}function x(){return _(n.toJSON())}function C(){e&&e.destroy&&e.destroy()}return{add:m,getDecoded:S,getEncoded:x,destroy:C}}var t0=["$&","$'","$*","$+","$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 n0(t){t0.forEach(u);var e=["Symbol","Map","Promise","Proxy","Reflect","Set","WeakMap","WeakSet"],n={},o=typeof global=="object"?global:self;e.forEach(function(h){n[h]=o[h]||function(){}}),["null","true","false","NaN","Infinity","-Infinity","undefined"].forEach(u),[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(h){Object.getOwnPropertyNames(h).map(u),h.prototype&&Object.getOwnPropertyNames(h.prototype).map(u)});function u(h){t.add(h)}}function r0(t,e){function n(o){mo(e,o)}t.walk(new In(function(o){o instanceof Yt&&o.quote?n(o.key):o instanceof un&&o.quote?n(o.key.name):o instanceof Sn&&wo(o.property,n)}))}function wo(t,e){t.walk(new In(function(n){return n instanceof lt?wo(n.tail_node(),e):n instanceof dt?e(n.value):n instanceof tt&&(wo(n.consequent,e),wo(n.alternative,e)),!0}))}function i0(t,e){var n=-1,o=new Map,u=e.nth_identifier||ms;return t=t.transform(new pr(function(m){m instanceof bi||m instanceof gi||m instanceof ei||m instanceof _i||m instanceof ni?m.key.name=h(m.key.name):m instanceof jr&&(m.property=h(m.property))})),t;function h(m){let _=o.get(m);return _||(_=u.get(++n),o.set(m,_)),_}}function Td(t){var e=new Set;return Pn(t,n=>{n instanceof bi||n instanceof gi||n instanceof ei||n instanceof _i||n instanceof jr||(n instanceof Yt?typeof n.key=="string"&&ar(n,ys)&&e.add(n.key):n instanceof un?ar(n,ys)&&e.add(n.key.name):n instanceof $t?ar(n,ys)&&e.add(n.property):n instanceof Sn&&n.property instanceof dt&&ar(n,ys)&&e.add(n.property.value))}),e}function o0(t,e,n=Td(t)){e=di(e,{builtins:!1,cache:null,debug:!1,keep_quoted:!1,nth_identifier:ms,only_cache:!1,regex:null,reserved:null,undeclared:!1,only_annotated:!1},!0);var o=e.nth_identifier,u=e.reserved;Array.isArray(u)||(u=[u]);var h=new Set(u);e.builtins||n0(h);var m=-1,_;e.cache?_=e.cache.props:_=new Map;var S=e.only_annotated,x=e.regex&&new RegExp(e.regex),C=e.debug!==!1,A;C&&(A=e.debug===!0?"":e.debug);var I=new Set,j=new Set;_.forEach(D=>j.add(D));var M=!!e.keep_quoted;return t.walk(new In(function(D){if(!(D instanceof bi||D instanceof gi||D instanceof ei||D instanceof _i||D instanceof jr))if(D instanceof Yt)typeof D.key=="string"&&(!M||!D.quote)&&g(D.key);else if(D instanceof un)(!M||!D.quote)&&g(D.key.name);else if(D instanceof $t){var V=!!e.undeclared;if(!V){for(var X=D;X.expression;)X=X.expression;V=!(X.thedef&&X.thedef.undeclared)}V&&(!M||!D.quote)&&g(D.property)}else D instanceof Sn?M||wo(D.property,g):D instanceof je&&D.expression.print_to_string()=="Object.defineProperty"?wo(D.args[1],g):D instanceof ae&&D.operator==="in"?wo(D.left,g):D instanceof dt&&ar(D,ds)&&g(D.value)})),t.transform(new pr(function(D){D instanceof bi||D instanceof gi||D instanceof ei||D instanceof _i||D instanceof jr||(D instanceof Yt?typeof D.key=="string"&&(!M||!D.quote)&&(D.key=O(D.key)):D instanceof un?(!M||!D.quote)&&(D.key.name=O(D.key.name)):D instanceof $t?(!M||!D.quote)&&(D.property=O(D.property)):!M&&D instanceof Sn?D.property=w(D.property):D instanceof je&&D.expression.print_to_string()=="Object.defineProperty"?D.args[1]=w(D.args[1]):D instanceof ae&&D.operator==="in"?D.left=w(D.left):D instanceof dt&&ar(D,ds)&&(Up(D,ds),D.value=O(D.value)))}));function b(D){return j.has(D)||h.has(D)?!1:e.only_cache?_.has(D):!/^-?[0-9]+(\.[0-9]+)?(e[+-][0-9]+)?$/.test(D)}function y(D){return S&&!n.has(D)?!1:x&&!x.test(D)?n.has(D):h.has(D)?!1:_.has(D)||I.has(D)}function g(D){b(D)&&I.add(D),y(D)||j.add(D)}function O(D){if(!y(D))return D;var V=_.get(D);if(!V){if(C){var X="_$"+D+"$"+A+"_";b(X)&&(V=X)}if(!V)do V=o.get(++m);while(!b(V));_.set(D,V)}return V}function w(D){return D.transform(new pr(function(V){if(V instanceof lt){var X=V.expressions.length-1;V.expressions[X]=w(V.expressions[X])}else V instanceof dt?(Up(V,ds),V.value=O(V.value)):V instanceof tt&&(V.consequent=w(V.consequent),V.alternative=w(V.alternative));return V}))}}var a0=typeof Buffer<"u"?t=>Buffer.from(t,"base64").toString():t=>decodeURIComponent(escape(atob(t))),s0=typeof Buffer<"u"?t=>Buffer.from(t).toString("base64"):t=>btoa(unescape(encodeURIComponent(t)));function u0(t){var e=/(?:^|[^.])\/\/# sourceMappingURL=data:application\/json(;[\w=-]*)?;base64,([+/0-9A-Za-z]*=*)\s*$/.exec(t);return e?a0(e[2]):(console.warn("inline source map not found"),null)}function so(t,e,n){e[t]&&n.forEach(function(o){e[o]&&(typeof e[o]!="object"&&(e[o]={}),t in e[o]||(e[o][t]=e[t]))})}function Ad(t){t&&("props"in t?t.props instanceof Map||(t.props=Ym(t.props)):t.props=new Map)}function xd(t){return{props:Jm(t.props)}}function c0(t,e,n,o){if(!(n&&n.writeFileSync&&n.mkdirSync))return;try{n.mkdirSync(o)}catch(_){if(_.code!=="EEXIST")throw _}const u=`${o}/terser-debug-${Math.random()*9999999|0}.log`;e=e||{};const h=JSON.stringify(e,(_,S)=>typeof S=="function"?"[Function "+S.toString()+"]":S instanceof RegExp?"[RegExp "+S.toString()+"]":S,4),m=_=>typeof _=="object"&&e.parse&&e.parse.spidermonkey?JSON.stringify(_,null,2):typeof _=="object"?Object.keys(_).map(S=>S+": "+m(_[S])).join(`
97
-
98
- `):typeof _=="string"?"```\n"+_+"\n```":_;n.writeFileSync(u,`Options:
99
- `+h+`
100
-
101
- Input files:
102
-
103
- `+m(t)+`
104
- `)}function*l0(t,e,n){n&&typeof process=="object"&&process.env&&typeof process.env.TERSER_DEBUG_DIR=="string"&&c0(t,e,n,process.env.TERSER_DEBUG_DIR),e=di(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 o=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||{},so("ecma",e,["parse","compress","format"]),so("ie8",e,["compress","mangle","format"]),so("keep_classnames",e,["compress","mangle"]),so("keep_fnames",e,["compress","mangle"]),so("module",e,["parse","compress","mangle"]),so("safari10",e,["mangle","format"]),so("toplevel",e,["compress","mangle"]),so("warnings",e,["compress"]);var u;e.mangle&&(e.mangle=di(e.mangle,{cache:e.nameCache&&(e.nameCache.vars||{}),eval:!1,ie8:!1,keep_classnames:!1,keep_fnames:!1,module:!1,nth_identifier:ms,properties:!1,reserved:[],safari10:!1,toplevel:!1},!0),e.mangle.properties&&(typeof e.mangle.properties!="object"&&(e.mangle.properties={}),e.mangle.properties.keep_quoted&&(u=e.mangle.properties.reserved,Array.isArray(u)||(u=[]),e.mangle.properties.reserved=u),e.nameCache&&!("cache"in e.mangle.properties)&&(e.mangle.properties.cache=e.nameCache.props||{})),Ad(e.mangle.cache),Ad(e.mangle.properties.cache)),e.sourceMap&&(e.sourceMap=di(e.sourceMap,{asObject:!1,content:null,filename:null,includeSources:!1,root:null,url:null},!0)),o&&(o.parse=Date.now());var h;if(t instanceof zt)h=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=Te.from_mozilla_ast(Object.keys(t).reduce(function(I,j){return I?(I.body=I.body.concat(t[j].body),I):t[j]},null));else{delete e.parse.spidermonkey;for(var m in t)if(er(t,m)&&(e.parse.filename=m,e.parse.toplevel=us(t[m],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=u0(t[m])}}if(e.parse.toplevel===null)throw new Error("no source file given");h=e.parse.toplevel}u&&e.mangle.properties.keep_quoted!=="strict"&&r0(h,u);var _;e.mangle&&e.mangle.properties&&(_=Td(h)),e.wrap&&(h=h.wrap_commonjs(e.wrap)),e.enclose&&(h=h.wrap_enclose(e.enclose)),o&&(o.rename=Date.now()),o&&(o.compress=Date.now()),e.compress&&(h=new gd(e.compress,{mangle_options:e.mangle}).compress(h)),o&&(o.scope=Date.now()),e.mangle&&h.figure_out_scope(e.mangle),o&&(o.mangle=Date.now()),e.mangle&&(h.compute_char_frequency(e.mangle),h.mangle_names(e.mangle),h=i0(h,e.mangle)),o&&(o.properties=Date.now()),e.mangle&&e.mangle.properties&&(h=o0(h,e.mangle.properties,_)),o&&(o.format=Date.now());var S={};e.format.ast&&(S.ast=h),e.format.spidermonkey&&(S.ast=h.to_mozilla_ast());let x;if(!er(e.format,"code")||e.format.code){if(x={...e.format},x.ast||(x._destroy_ast=!0,Pn(h,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");x.source_map=yield*e0({file:e.sourceMap.filename,orig:e.sourceMap.content,root:e.sourceMap.root,files:e.sourceMap.includeSources?t:null})}delete x.ast,delete x.code,delete x.spidermonkey;var C=Fl(x);if(h.print(C),S.code=C.get(),e.sourceMap)if(Object.defineProperty(S,"map",{configurable:!0,enumerable:!0,get(){const I=x.source_map.getEncoded();return S.map=e.sourceMap.asObject?I:JSON.stringify(I)},set(I){Object.defineProperty(S,"map",{value:I,writable:!0})}}),S.decoded_map=x.source_map.getDecoded(),e.sourceMap.url=="inline"){var A=typeof S.map=="object"?JSON.stringify(S.map):S.map;S.code+=`
105
- //# sourceMappingURL=data:application/json;charset=utf-8;base64,`+s0(A)}else e.sourceMap.url&&(S.code+=`
106
- //# sourceMappingURL=`+e.sourceMap.url)}return e.nameCache&&e.mangle&&(e.mangle.cache&&(e.nameCache.vars=xd(e.mangle.cache)),e.mangle.properties&&e.mangle.properties.cache&&(e.nameCache.props=xd(e.mangle.properties.cache))),x&&x.source_map&&x.source_map.destroy(),o&&(o.end=Date.now(),S.timings={parse:.001*(o.rename-o.parse),rename:.001*(o.compress-o.rename),compress:.001*(o.scope-o.compress),scope:.001*(o.mangle-o.scope),mangle:.001*(o.properties-o.mangle),properties:.001*(o.format-o.properties),format:.001*(o.end-o.format),total:.001*(o.end-o.start)}),S}async function f0(t,e,n){const o=l0(t,e,n);let u,h;do h=o.next(await u),u=h.value;while(!h.done);return h.value}function h0(t){const e=new Yy(t),n=new gl(e);n.removeErrorListeners();const o=new Wy(n),u=new F(o);u._interp.predictionMode=nm.SLL,u.removeErrorListeners();const h=new d0;n.addErrorListener(h),u.addErrorListener(h),u.buildParseTrees=!0;const m=u.program(),_=o.tokens.filter(S=>S.channel===2);return{errors:h.errors,ast:m,comments:_}}async function p0(t,e,n){const{errors:o,ast:u,comments:h}=h0(t+`
107
-
108
- `),m=new Im(n,h),_=m.visit(u);let S=o.splice(0,1);S.length||(S=m.errors);let x="";const C=new Fm("$"),A=e?"":C.preParser(_);if(e&&!S.some(I=>I.type===Zn.Error)){const I=C.parser(_)||"";x=(await f0(I,{compress:!0,mangle:!0})).code||"";const M={message:ke.indiRunErr,type:Zn.Error,startColumn:0,startLineNumber:0,endColumn:0,endLineNumber:0};if(m.hasUseDrawFunc){if(m.scriptType===uu.library)m.exportPositions.length||(M.message=ke.libraryExportErr,S.push(M));else if(m.exportPositions.length){const b=m.exportPositions.map(y=>{const{type:g,...O}=y;return{message:Ne(ke.exportUseErr,{type:g}),type:Zn.Error,...O}});S.push(...b)}}else switch(m.scriptType){case uu.indicator:S.push(M);break;case uu.strategy:m.hasUseCreateOrderFunc||(M.message=ke.strategyRunErr,S.push(M));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,codeStr:x,preParserCode:A}}class d0 extends Xy{constructor(){super(...arguments);N(this,"errors",[])}syntaxError(n,o,u,h,m){this.errors.push({message:`syntax error: ${m.replace(/expecting.+/,"")}`,type:Zn.Error,startColumn:h,startLineNumber:u,endColumn:h,endLineNumber:u})}}Sl(p0)})();