1/*! For license information please see 77686358f0037b81fcb056f4656d2ea8cfbb3820-c604aed6cdcf7b906def.js.LICENSE.txt */ 2(self.webpackChunkthe_trevor_harmon=self.webpackChunkthe_trevor_harmon||[]).push([[2779],{1466:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0})},1597:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0})},8623:function(t,e,r){"use strict";var n=this&&this.__decorate||function(t,e,r,n){var o,i=arguments.length,s=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(s=(i<3?o(s):i>3?o(e,r,s):o(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s};Object.defineProperty(e,"__esModule",{value:!0}),e.ANTLRInputStream=void 0;const o=r(9282),i=r(8042),s=r(3227);class a{constructor(t){this.p=0,this.data=t,this.n=t.length}reset(){this.p=0}consume(){if(this.p>=this.n)throw o(this.LA(1)===s.IntStream.EOF),new Error("cannot consume EOF");this.p<this.n&&this.p++}LA(t){return 0===t?0:t<0&&(t++,this.p+t-1<0)||this.p+t-1>=this.n?s.IntStream.EOF:this.data.charCodeAt(this.p+t-1)}LT(t){return this.LA(t)}get index(){return this.p}get size(){return this.n}mark(){return-1}release(t){}seek(t){if(t<=this.p)this.p=t;else for(t=Math.min(t,this.n);this.p<t;)this.consume()}getText(t){let e=t.a,r=t.b;r>=this.n&&(r=this.n-1);let n=r-e+1;return e>=this.n?"":this.data.substr(e,n)}get sourceName(){return this.name?this.name:s.IntStream.UNKNOWN_SOURCE_NAME}toString(){return this.data}}n([i.Override],a.prototype,"consume",null),n([i.Override],a.prototype,"LA",null),n([i.Override],a.prototype,"index",null),n([i.Override],a.prototype,"size",null),n([i.Override],a.prototype,"mark",null),n([i.Override],a.prototype,"release",null),n([i.Override],a.prototype,"seek",null),n([i.Override],a.prototype,"getText",null),n([i.Override],a.prototype,"sourceName",null),n([i.Override],a.prototype,"toString",null),e.ANTLRInputStream=a},7446:function(t,e,r){"use strict";var n=this&&this.__decorate||function(t,e,r,n){var o,i=arguments.length,s=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(s=(i<3?o(s):i>3?o(e,r,s):o(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s};Object.defineProperty(e,"__esModule",{value:!0}),e.BailErrorStrategy=void 0;const o=r(3992),i=r(4837),s=r(8042),a=r(156);class l extends o.DefaultErrorStrategy{recover(t,e){for(let r=t.context;r;r=r.parent)r.exception=e;throw new a.ParseCancellationException(e)}recoverInline(t){let e=new i.InputMismatchException(t);for(let r=t.context;r;r=r.parent)r.exception=e;throw new a.ParseCancellationException(e)}sync(t){}}n([s.Override],l.prototype,"recover",null),n([s.Override],l.prototype,"recoverInline",null),n([s.Override],l.prototype,"sync",null),e.BailErrorStrategy=l},8218:function(t,e,r){"use strict";var n=this&&this.__decorate||function(t,e,r,n){var o,i=arguments.length,s=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(s=(i<3?o(s):i>3?o(e,r,s):o(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},o=this&&this.__param||function(t,e){return function(r,n){e(r,n,t)}};Object.defineProperty(e,"__esModule",{value:!0}),e.BufferedTokenStream=void 0;const i=r(9282),s=r(824),a=r(8813),l=r(9557),c=r(8042),u=r(4966);let p=class{constructor(t){if(this.tokens=[],this.p=-1,this.fetchedEOF=!1,null==t)throw new Error("tokenSource cannot be null");this._tokenSource=t}get tokenSource(){return this._tokenSource}set tokenSource(t){this._tokenSource=t,this.tokens.length=0,this.p=-1,this.fetchedEOF=!1}get index(){return this.p}mark(){return 0}release(t){}seek(t){this.lazyInit(),this.p=this.adjustSeekIndex(t)}get size(){return this.tokens.length}consume(){let t;if(t=this.p>=0&&(this.fetchedEOF?this.p<this.tokens.length-1:this.p<this.tokens.length),!t&&this.LA(1)===u.Token.EOF)throw new Error("cannot consume EOF");this.sync(this.p+1)&&(this.p=this.adjustSeekIndex(this.p+1))}sync(t){i(t>=0);let e=t-this.tokens.length+1;if(e>0){return this.fetch(e)>=e}return!0}fetch(t){if(this.fetchedEOF)return 0;for(let e=0;e<t;e++){let t=this.tokenSource.nextToken();if(this.isWritableToken(t)&&(t.tokenIndex=this.tokens.length),this.tokens.push(t),t.type===u.Token.EOF)return this.fetchedEOF=!0,e+1}return t}get(t){if(t<0||t>=this.tokens.length)throw new RangeError("token index "+t+" out of range 0.."+(this.tokens.length-1));return this.tokens[t]}getRange(t,e){if(t<0||e<0)return[];this.lazyInit();let r=new Array;e>=this.tokens.length&&(e=this.tokens.length-1);for(let n=t;n<=e;n++){let t=this.tokens[n];if(t.type===u.Token.EOF)break;r.push(t)}return r}LA(t){let e=this.LT(t);return e?e.type:u.Token.INVALID_TYPE}tryLB(t){if(!(this.p-t<0))return this.tokens[this.p-t]}LT(t){let e=this.tryLT(t);if(void 0===e)throw new RangeError("requested lookback index out of range");return e}tryLT(t){if(this.lazyInit(),0===t)throw new RangeError("0 is not a valid lookahead index");if(t<0)return this.tryLB(-t);let e=this.p+t-1;return this.sync(e),e>=this.tokens.length?this.tokens[this.tokens.length-1]:this.tokens[e]}adjustSeekIndex(t){return t}lazyInit(){-1===this.p&&this.setup()}setup(){this.sync(0),this.p=this.adjustSeekIndex(0)}getTokens(t,e,r){if(this.lazyInit(),void 0===t)return i(void 0===e&&void 0===r),this.tokens;if(void 0===e&&(e=this.tokens.length-1),t<0||e>=this.tokens.length||e<0||t>=this.tokens.length)throw new RangeError("start "+t+" or stop "+e+" not in 0.."+(this.tokens.length-1));if(t>e)return[];if(void 0===r)return this.tokens.slice(t,e+1);"number"==typeof r&&(r=(new Set).add(r));let n=r,o=this.tokens.slice(t,e+1);return o=o.filter((t=>n.has(t.type))),o}nextTokenOnChannel(t,e){if(this.sync(t),t>=this.size)return this.size-1;let r=this.tokens[t];for(;r.channel!==e;){if(r.type===u.Token.EOF)return t;t++,this.sync(t),r=this.tokens[t]}return t}previousTokenOnChannel(t,e){if(this.sync(t),t>=this.size)return this.size-1;for(;t>=0;){let r=this.tokens[t];if(r.type===u.Token.EOF||r.channel===e)return t;t--}return t}getHiddenTokensToRight(t,e=-1){if(this.lazyInit(),t<0||t>=this.tokens.length)throw new RangeError(t+" not in 0.."+(this.tokens.length-1));let r,n=this.nextTokenOnChannel(t+1,l.Lexer.DEFAULT_TOKEN_CHANNEL),o=t+1;return r=-1===n?this.size-1:n,this.filterForChannel(o,r,e)}getHiddenTokensToLeft(t,e=-1){if(this.lazyInit(),t<0||t>=this.tokens.length)throw new RangeError(t+" not in 0.."+(this.tokens.length-1));if(0===t)return[];let r=this.previousTokenOnChannel(t-1,l.Lexer.DEFAULT_TOKEN_CHANNEL);if(r===t-1)return[];let n=r+1,o=t-1;return this.filterForChannel(n,o,e)}filterForChannel(t,e,r){let n=new Array;for(let o=t;o<=e;o++){let t=this.tokens[o];-1===r?t.channel!==l.Lexer.DEFAULT_TOKEN_CHANNEL&&n.push(t):t.channel===r&&n.push(t)}return n}get sourceName(){return this.tokenSource.sourceName}getText(t){void 0===t?t=a.Interval.of(0,this.size-1):t instanceof a.Interval||(t=t.sourceInterval);let e=t.a,r=t.b;if(e<0||r<0)return"";this.fill(),r>=this.tokens.length&&(r=this.tokens.length-1);let n="";for(let o=e;o<=r;o++){let t=this.tokens[o];if(t.type===u.Token.EOF)break;n+=t.text}return n.toString()}getTextFromRange(t,e){return this.isToken(t)&&this.isToken(e)?this.getText(a.Interval.of(t.tokenIndex,e.tokenIndex)):""}fill(){this.lazyInit();for(;;){if(this.fetch(1e3)<1e3)return}}isWritableToken(t){return t instanceof s.CommonToken}isToken(t){return t instanceof s.CommonToken}};n([c.NotNull],p.prototype,"_tokenSource",void 0),n([c.Override],p.prototype,"tokenSource",null),n([c.Override],p.prototype,"index",null),n([c.Override],p.prototype,"mark",null),n([c.Override],p.prototype,"release",null),n([c.Override],p.prototype,"seek",null),n([c.Override],p.prototype,"size",null),n([c.Override],p.prototype,"consume",null),n([c.Override],p.prototype,"get",null),n([c.Override],p.prototype,"LA",null),n([c.NotNull,c.Override],p.prototype,"LT",null),n([c.Override],p.prototype,"sourceName",null),n([c.NotNull,c.Override],p.prototype,"getText",null),n([c.NotNull,c.Override],p.prototype,"getTextFromRange",null),p=n([o(0,c.NotNull)],p),e.BufferedTokenStream=p},5699:function(t,e){"use strict";
2Object.defineProperty(e,"__esModule",{value:!0})},3675:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CharStreams=void 0;const n=r(5444),o=r(1540),i=r(3227);!function(t){t.fromString=function(t,e){void 0!==e&&0!==e.length||(e=i.IntStream.UNKNOWN_SOURCE_NAME);let r=n.CodePointBuffer.builder(t.length),s=new Uint16Array(t.length);for(let n=0;n<t.length;n++)s[n]=t.charCodeAt(n);return r.append(s),o.CodePointCharStream.fromBuffer(r.build(),e)}}(e.CharStreams||(e.CharStreams={}))},5444:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CodePointBuffer=void 0;const n=r(9282),o=r(9363);class i{constructor(t,e){this.buffer=t,this._position=0,this._size=e}static withArray(t){return new i(t,t.length)}get position(){return this._position}set position(t){if(t<0||t>this._size)throw new RangeError;this._position=t}get remaining(){return this._size-this.position}get(t){return this.buffer[t]}array(){return this.buffer.slice(0,this._size)}static builder(t){return new i.Builder(t)}}e.CodePointBuffer=i,function(t){let e;!function(t){t[t.BYTE=0]="BYTE",t[t.CHAR=1]="CHAR",t[t.INT=2]="INT"}(e||(e={}));class r{constructor(t){this.type=0,this.buffer=new Uint8Array(t),this.prevHighSurrogate=-1,this.position=0}build(){return new t(this.buffer,this.position)}static roundUpToNextPowerOfTwo(t){let e=32-Math.clz32(t-1);return Math.pow(2,e)}ensureRemaining(t){switch(this.type){case 0:if(this.buffer.length-this.position<t){let e=r.roundUpToNextPowerOfTwo(this.buffer.length+t),n=new Uint8Array(e);n.set(this.buffer.subarray(0,this.position),0),this.buffer=n}break;case 1:if(this.buffer.length-this.position<t){let e=r.roundUpToNextPowerOfTwo(this.buffer.length+t),n=new Uint16Array(e);n.set(this.buffer.subarray(0,this.position),0),this.buffer=n}break;case 2:if(this.buffer.length-this.position<t){let e=r.roundUpToNextPowerOfTwo(this.buffer.length+t),n=new Int32Array(e);n.set(this.buffer.subarray(0,this.position),0),this.buffer=n}}}append(t){this.ensureRemaining(t.length),this.appendArray(t)}appendArray(t){switch(this.type){case 0:this.appendArrayByte(t);break;case 1:this.appendArrayChar(t);break;case 2:this.appendArrayInt(t)}}appendArrayByte(t){n(-1===this.prevHighSurrogate);let e=t,r=0,i=t.length,s=this.buffer,a=this.position;for(;r<i;){let n=e[r];if(!(n<=255))return t=t.subarray(r,i),this.position=a,o.isHighSurrogate(n)?(this.byteToIntBuffer(t.length),void this.appendArrayInt(t)):(this.byteToCharBuffer(t.length),void this.appendArrayChar(t));s[a]=n,r++,a++}this.position=a}appendArrayChar(t){n(-1===this.prevHighSurrogate);let e=t,r=0,i=t.length,s=this.buffer,a=this.position;for(;r<i;){let n=e[r];if(o.isHighSurrogate(n))return t=t.subarray(r,i),this.position=a,this.charToIntBuffer(t.length),void this.appendArrayInt(t);s[a]=n,r++,a++}this.position=a}appendArrayInt(t){let e=t,r=0,n=t.length,i=this.buffer,s=this.position;for(;r<n;){let t=e[r];r++,-1!==this.prevHighSurrogate?o.isLowSurrogate(t)?(i[s]=String.fromCharCode(this.prevHighSurrogate,t).codePointAt(0),s++,this.prevHighSurrogate=-1):(i[s]=this.prevHighSurrogate,s++,o.isHighSurrogate(t)?this.prevHighSurrogate=t:(i[s]=t,s++,this.prevHighSurrogate=-1)):o.isHighSurrogate(t)?this.prevHighSurrogate=t:(i[s]=t,s++)}-1!==this.prevHighSurrogate&&(i[s]=this.prevHighSurrogate,s++),this.position=s}byteToCharBuffer(t){let e=new Uint16Array(Math.max(this.position+t,this.buffer.length>>1));e.set(this.buffer.subarray(0,this.position),0),this.type=1,this.buffer=e}byteToIntBuffer(t){let e=new Int32Array(Math.max(this.position+t,this.buffer.length>>2));e.set(this.buffer.subarray(0,this.position),0),this.type=2,this.buffer=e}charToIntBuffer(t){let e=new Int32Array(Math.max(this.position+t,this.buffer.length>>1));e.set(this.buffer.subarray(0,this.position),0),this.type=2,this.buffer=e}}t.Builder=r}(i=e.CodePointBuffer||(e.CodePointBuffer={}))},1540:function(t,e,r){"use strict";var n=this&&this.__decorate||function(t,e,r,n){var o,i=arguments.length,s=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;
2a--)(o=t[a])&&(s=(i<3?o(s):i>3?o(e,r,s):o(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s};Object.defineProperty(e,"__esModule",{value:!0}),e.CodePointCharStream=void 0;const o=r(9282),i=r(3227),s=r(8813),a=r(8042);class l{constructor(t,e,r,n){o(0===e),this._array=t,this._size=r,this._name=n,this._position=0}get internalStorage(){return this._array}static fromBuffer(t,e){return void 0!==e&&0!==e.length||(e=i.IntStream.UNKNOWN_SOURCE_NAME),new l(t.array(),t.position,t.remaining,e)}consume(){if(this._size-this._position==0)throw o(this.LA(1)===i.IntStream.EOF),new RangeError("cannot consume EOF");this._position++}get index(){return this._position}get size(){return this._size}mark(){return-1}release(t){}seek(t){this._position=t}get sourceName(){return this._name}toString(){return this.getText(s.Interval.of(0,this.size-1))}LA(t){let e;switch(Math.sign(t)){case-1:return e=this.index+t,e<0?i.IntStream.EOF:this._array[e];case 0:return 0;case 1:return e=this.index+t-1,e>=this.size?i.IntStream.EOF:this._array[e]}throw new RangeError("Not reached")}getText(t){const e=Math.min(t.a,this.size),r=Math.min(t.b-t.a+1,this.size-e);return this._array instanceof Int32Array?String.fromCodePoint(...Array.from(this._array.subarray(e,e+r))):String.fromCharCode(...Array.from(this._array.subarray(e,e+r)))}}n([a.Override],l.prototype,"consume",null),n([a.Override],l.prototype,"index",null),n([a.Override],l.prototype,"size",null),n([a.Override],l.prototype,"mark",null),n([a.Override],l.prototype,"release",null),n([a.Override],l.prototype,"seek",null),n([a.Override],l.prototype,"sourceName",null),n([a.Override],l.prototype,"toString",null),n([a.Override],l.prototype,"LA",null),n([a.Override],l.prototype,"getText",null),e.CodePointCharStream=l},824:function(t,e,r){"use strict";var n=this&&this.__decorate||function(t,e,r,n){var o,i=arguments.length,s=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(s=(i<3?o(s):i>3?o(e,r,s):o(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},o=this&&this.__param||function(t,e){return function(r,n){e(r,n,t)}};Object.defineProperty(e,"__esModule",{value:!0}),e.CommonToken=void 0;const i=r(8813),s=r(8042),a=r(4966);let l=class t{constructor(e,r,n=t.EMPTY_SOURCE,o=a.Token.DEFAULT_CHANNEL,i=0,s=0){this._line=0,this._charPositionInLine=-1,this._channel=a.Token.DEFAULT_CHANNEL,this.index=-1,this._text=r,this._type=e,this.source=n,this._channel=o,this.start=i,this.stop=s,null!=n.source&&(this._line=n.source.line,this._charPositionInLine=n.source.charPositionInLine)}static fromToken(e){let r=new t(e.type,void 0,t.EMPTY_SOURCE,e.channel,e.startIndex,e.stopIndex);return r._line=e.line,r.index=e.tokenIndex,r._charPositionInLine=e.charPositionInLine,e instanceof t?(r._text=e._text,r.source=e.source):(r._text=e.text,r.source={source:e.tokenSource,stream:e.inputStream}),r}get type(){return this._type}set type(t){this._type=t}get line(){return this._line}set line(t){this._line=t}get text(){if(null!=this._text)return this._text;let t=this.inputStream;if(null==t)return;let e=t.size;return this.start<e&&this.stop<e?t.getText(i.Interval.of(this.start,this.stop)):"<EOF>"}set text(t){this._text=t}get charPositionInLine(){return this._charPositionInLine}set charPositionInLine(t){this._charPositionInLine=t}get channel(){return this._channel}set channel(t){this._channel=t}get startIndex(){return this.start}set startIndex(t){this.start=t}get stopIndex(){return this.stop}set stopIndex(t){this.stop=t}get tokenIndex(){return this.index}set tokenIndex(t){this.index=t}get tokenSource(){return this.source.source}get inputStream(){return this.source.stream}toString(t){let e="";this._channel>0&&(e=",channel="+this._channel);let r=this.text;null!=r?(r=r.replace(/\n/g,"\\n"),r=r.replace(/\r/g,"\\r"),r=r.replace(/\t/g,"\\t")):r="<no text>";let n=String(this._type);return t&&(n=t.vocabulary.getDisplayName(this._type)),"[@"+this.tokenIndex+","+this.start+":"+this.stop+"='"+r+"',<"+n+">"+e+","+this._line+":"+this.charPositionInLine+"]"}};l.EMPTY_SOURCE={source:void 0,stream:void 0},n([s.NotNull],l.prototype,"source",void 0),n([s.Override],l.prototype,"type",null),n([s.Override],l.prototype,"line",null),n([s.Override],l.prototype,"text",null),n([s.Override],l.prototype,"charPositionInLine",null),n([s.Override],l.prototype,"channel",null),n([s.Override],l.prototype,"startIndex",null),n([s.Override],l.prototype,"stopIndex",null),n([s.Override],l.prototype,"tokenIndex",null),n([s.Override],l.prototype,"tokenSource",null),n([s.Override],l.prototype,"inputStream",null),n([s.Override],l.prototype,"toString",null),n([o(0,s.NotNull)],l,"fromToken",null),l=n([o(2,s.NotNull)],l),e.CommonToken=l},8735:function(t,e,r){"use strict";var n=this&&this.__decorate||function(t,e,r,n){var o,i=arguments.length,s=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;
2a--)(o=t[a])&&(s=(i<3?o(s):i>3?o(e,r,s):o(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s};Object.defineProperty(e,"__esModule",{value:!0}),e.CommonTokenFactory=void 0;const o=r(824),i=r(8813),s=r(8042);class a{constructor(t=!1){this.copyText=t}create(t,e,r,n,s,a,l,c){let u=new o.CommonToken(e,r,t,n,s,a);return u.line=l,u.charPositionInLine=c,null==r&&this.copyText&&null!=t.stream&&(u.text=t.stream.getText(i.Interval.of(s,a))),u}createSimple(t,e){return new o.CommonToken(t,e)}}n([s.Override],a.prototype,"create",null),n([s.Override],a.prototype,"createSimple",null),e.CommonTokenFactory=a,function(t){t.DEFAULT=new t}(a=e.CommonTokenFactory||(e.CommonTokenFactory={}))},4321:function(t,e,r){"use strict";var n=this&&this.__decorate||function(t,e,r,n){var o,i=arguments.length,s=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(s=(i<3?o(s):i>3?o(e,r,s):o(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},o=this&&this.__param||function(t,e){return function(r,n){e(r,n,t)}};Object.defineProperty(e,"__esModule",{value:!0}),e.CommonTokenStream=void 0;const i=r(8218),s=r(8042),a=r(4966);let l=class extends i.BufferedTokenStream{constructor(t,e=a.Token.DEFAULT_CHANNEL){super(t),this.channel=e}adjustSeekIndex(t){return this.nextTokenOnChannel(t,this.channel)}tryLB(t){if(this.p-t<0)return;let e=this.p,r=1;for(;r<=t&&e>0;)e=this.previousTokenOnChannel(e-1,this.channel),r++;return e<0?void 0:this.tokens[e]}tryLT(t){if(this.lazyInit(),0===t)throw new RangeError("0 is not a valid lookahead index");if(t<0)return this.tryLB(-t);let e=this.p,r=1;for(;r<t;)this.sync(e+1)&&(e=this.nextTokenOnChannel(e+1,this.channel)),r++;return this.tokens[e]}getNumberOfOnChannelTokens(){let t=0;this.fill();for(let e of this.tokens)if(e.channel===this.channel&&t++,e.type===a.Token.EOF)break;return t}};n([s.Override],l.prototype,"adjustSeekIndex",null),n([s.Override],l.prototype,"tryLB",null),n([s.Override],l.prototype,"tryLT",null),l=n([o(0,s.NotNull)],l),e.CommonTokenStream=l},4525:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ConsoleErrorListener=void 0;class r{syntaxError(t,e,r,n,o,i){console.error(`line ${r}:${n} ${o}`)}}e.ConsoleErrorListener=r,r.INSTANCE=new r},8042:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SuppressWarnings=e.Override=e.Nullable=e.NotNull=void 0,e.NotNull=function(t,e,r){},e.Nullable=function(t,e,r){},e.Override=function(t,e,r){},e.SuppressWarnings=function(t){return(t,e,r)=>{}}},3992:function(t,e,r){"use strict";var n=this&&this.__decorate||function(t,e,r,n){var o,i=arguments.length,s=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(s=(i<3?o(s):i>3?o(e,r,s):o(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},o=this&&this.__param||function(t,e){return function(r,n){e(r,n,t)}};Object.defineProperty(e,"__esModule",{value:!0}),e.DefaultErrorStrategy=void 0;const i=r(3269),s=r(4700),a=r(2915),l=r(4837),c=r(4405),u=r(4609),p=r(9767),h=r(4966),f=r(8042);class d{constructor(){this.errorRecoveryMode=!1,this.lastErrorIndex=-1,this.nextTokensState=i.ATNState.INVALID_STATE_NUMBER}reset(t){this.endErrorCondition(t)}beginErrorCondition(t){this.errorRecoveryMode=!0}inErrorRecoveryMode(t){return this.errorRecoveryMode}endErrorCondition(t){this.errorRecoveryMode=!1,this.lastErrorStates=void 0,this.lastErrorIndex=-1}reportMatch(t){this.endErrorCondition(t)}reportError(t,e){this.inErrorRecoveryMode(t)||(this.beginErrorCondition(t),e instanceof u.NoViableAltException?this.reportNoViableAlternative(t,e):e instanceof l.InputMismatchException?this.reportInputMismatch(t,e):e instanceof a.FailedPredicateException?this.reportFailedPredicate(t,e):(console.error(`unknown recognition error type: ${e}`),this.notifyErrorListeners(t,e.toString(),e)))}notifyErrorListeners(t,e,r){let n=r.getOffendingToken(t);void 0===n&&(n=null),t.notifyErrorListeners(e,n,r)}recover(t,e){this.lastErrorIndex===t.inputStream.index&&this.lastErrorStates&&this.lastErrorStates.contains(t.state)&&t.consume(),this.lastErrorIndex=t.inputStream.index,this.lastErrorStates||(this.lastErrorStates=new c.IntervalSet),this.lastErrorStates.add(t.state);let r=this.getErrorRecoverySet(t);this.consumeUntil(t,r)}sync(t){let e=t.interpreter.atn.states[t.state];if(this.inErrorRecoveryMode(t))return;let r=t.inputStream.LA(1),n=t.atn.nextTokens(e);if(n.contains(r))return this.nextTokensContext=void 0,void(this.nextTokensState=i.ATNState.INVALID_STATE_NUMBER);if(n.contains(h.Token.EPSILON))void 0===this.nextTokensContext&&(this.nextTokensContext=t.context,this.nextTokensState=t.state);else switch(e.stateType){case s.ATNStateType.BLOCK_START:case s.ATNStateType.STAR_BLOCK_START:case s.ATNStateType.PLUS_BLOCK_START:case s.ATNStateType.STAR_LOOP_ENTRY:if(this.singleTokenDeletion(t))return;throw new l.InputMismatchException(t);case s.ATNStateType.PLUS_LOOP_BACK:case s.ATNStateType.STAR_LOOP_BACK:this.reportUnwantedToken(t);let e=t.getExpectedTokens().or(this.getErrorRecoverySet(t));this.consumeUntil(t,e)}}reportNoViableAlternative(t,e){let r,n=t.inputStream;r=n?e.startToken.type===h.Token.EOF?"<EOF>":n.getTextFromRange(e.startToken,e.getOffendingToken()):"<unknown input>";let o="no viable alternative at input "+this.escapeWSAndQuote(r);this.notifyErrorListeners(t,o,e)}reportInputMismatch(t,e){let r=e.expectedTokens,n=r?r.toStringVocabulary(t.vocabulary):"",o="mismatched input "+this.getTokenErrorDisplay(e.getOffendingToken(t))+" expecting "+n;this.notifyErrorListeners(t,o,e)}reportFailedPredicate(t,e){let r="rule "+t.ruleNames[t.context.ruleIndex]+" "+e.message;this.notifyErrorListeners(t,r,e)}reportUnwantedToken(t){if(this.inErrorRecoveryMode(t))return;this.beginErrorCondition(t);let e=t.currentToken,r="extraneous input "+this.getTokenErrorDisplay(e)+" expecting "+this.getExpectedTokens(t).toStringVocabulary(t.vocabulary);
2t.notifyErrorListeners(r,e,void 0)}reportMissingToken(t){if(this.inErrorRecoveryMode(t))return;this.beginErrorCondition(t);let e=t.currentToken,r="missing "+this.getExpectedTokens(t).toStringVocabulary(t.vocabulary)+" at "+this.getTokenErrorDisplay(e);t.notifyErrorListeners(r,e,void 0)}recoverInline(t){let e=this.singleTokenDeletion(t);if(e)return t.consume(),e;if(this.singleTokenInsertion(t))return this.getMissingSymbol(t);throw void 0===this.nextTokensContext?new l.InputMismatchException(t):new l.InputMismatchException(t,this.nextTokensState,this.nextTokensContext)}singleTokenInsertion(t){let e=t.inputStream.LA(1),r=t.interpreter.atn.states[t.state].transition(0).target,n=t.interpreter.atn;return!!n.nextTokens(r,p.PredictionContext.fromRuleContext(n,t.context)).contains(e)&&(this.reportMissingToken(t),!0)}singleTokenDeletion(t){let e=t.inputStream.LA(2);if(this.getExpectedTokens(t).contains(e)){this.reportUnwantedToken(t),t.consume();let e=t.currentToken;return this.reportMatch(t),e}}getMissingSymbol(t){let e,r=t.currentToken,n=this.getExpectedTokens(t),o=h.Token.INVALID_TYPE;n.isNil||(o=n.minElement),e=o===h.Token.EOF?"<missing EOF>":"<missing "+t.vocabulary.getDisplayName(o)+">";let i=r,s=t.inputStream.tryLT(-1);return i.type===h.Token.EOF&&null!=s&&(i=s),this.constructToken(t.inputStream.tokenSource,o,e,i)}constructToken(t,e,r,n){let o=t.tokenFactory,i=n.tokenSource,s=i?i.inputStream:void 0;return o.create({source:t,stream:s},e,r,h.Token.DEFAULT_CHANNEL,-1,-1,n.line,n.charPositionInLine)}getExpectedTokens(t){return t.getExpectedTokens()}getTokenErrorDisplay(t){if(!t)return"<no token>";let e=this.getSymbolText(t);return e||(e=this.getSymbolType(t)===h.Token.EOF?"<EOF>":`<${this.getSymbolType(t)}>`),this.escapeWSAndQuote(e)}getSymbolText(t){return t.text}getSymbolType(t){return t.type}escapeWSAndQuote(t){return"'"+(t=(t=(t=t.replace("\n","\\n")).replace("\r","\\r")).replace("\t","\\t"))+"'"}getErrorRecoverySet(t){let e=t.interpreter.atn,r=t.context,n=new c.IntervalSet;for(;r&&r.invokingState>=0;){let t=e.states[r.invokingState].transition(0),o=e.nextTokens(t.followState);n.addAll(o),r=r._parent}return n.remove(h.Token.EPSILON),n}consumeUntil(t,e){let r=t.inputStream.LA(1);for(;r!==h.Token.EOF&&!e.contains(r);)t.consume(),r=t.inputStream.LA(1)}}n([f.Override],d.prototype,"reset",null),n([o(0,f.NotNull)],d.prototype,"beginErrorCondition",null),n([f.Override],d.prototype,"inErrorRecoveryMode",null),n([o(0,f.NotNull)],d.prototype,"endErrorCondition",null),n([f.Override],d.prototype,"reportMatch",null),n([f.Override],d.prototype,"reportError",null),n([o(0,f.NotNull)],d.prototype,"notifyErrorListeners",null),n([f.Override],d.prototype,"recover",null),n([f.Override],d.prototype,"sync",null),n([o(0,f.NotNull),o(1,f.NotNull)],d.prototype,"reportNoViableAlternative",null),n([o(0,f.NotNull),o(1,f.NotNull)],d.prototype,"reportInputMismatch",null),n([o(0,f.NotNull),o(1,f.NotNull)],d.prototype,"reportFailedPredicate",null),n([o(0,f.NotNull)],d.prototype,"reportUnwantedToken",null),n([o(0,f.NotNull)],d.prototype,"reportMissingToken",null),n([f.Override],d.prototype,"recoverInline",null),n([o(0,f.NotNull)],d.prototype,"singleTokenInsertion",null),n([o(0,f.NotNull)],d.prototype,"singleTokenDeletion",null),n([f.NotNull,o(0,f.NotNull)],d.prototype,"getMissingSymbol",null),n([f.NotNull,o(0,f.NotNull)],d.prototype,"getExpectedTokens",null),n([o(0,f.NotNull)],d.prototype,"getSymbolText",null),n([o(0,f.NotNull)],d.prototype,"getSymbolType",null),n([f.NotNull,o(0,f.NotNull)],d.prototype,"escapeWSAndQuote",null),n([f.NotNull,o(0,f.NotNull)],d.prototype,"getErrorRecoverySet",null),n([o(0,f.NotNull),o(1,f.NotNull)],d.prototype,"consumeUntil",null),e.DefaultErrorStrategy=d},4361:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Dependents=void 0,function(t){t[t.SELF=0]="SELF",t[t.PARENTS=1]="PARENTS",t[t.CHILDREN=2]="CHILDREN",t[t.ANCESTORS=3]="ANCESTORS",t[t.DESCENDANTS=4]="DESCENDANTS",t[t.SIBLINGS=5]="SIBLINGS",t[t.PRECEEDING_SIBLINGS=6]="PRECEEDING_SIBLINGS",t[t.FOLLOWING_SIBLINGS=7]="FOLLOWING_SIBLINGS",t[t.PRECEEDING=8]="PRECEEDING",t[t.FOLLOWING=9]="FOLLOWING"}(e.Dependents||(e.Dependents={}))},7574:function(t,e,r){"use strict";var n=this&&this.__decorate||function(t,e,r,n){var o,i=arguments.length,s=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;
2a--)(o=t[a])&&(s=(i<3?o(s):i>3?o(e,r,s):o(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},o=this&&this.__param||function(t,e){return function(r,n){e(r,n,t)}};Object.defineProperty(e,"__esModule",{value:!0}),e.DiagnosticErrorListener=void 0;const i=r(5280),s=r(8042),a=r(8813);class l{constructor(t=!0){this.exactOnly=t,this.exactOnly=t}syntaxError(t,e,r,n,o,i){}reportAmbiguity(t,e,r,n,o,i,s){if(this.exactOnly&&!o)return;let l=`reportAmbiguity d=${this.getDecisionDescription(t,e)}: ambigAlts=${this.getConflictingAlts(i,s)}, input='${t.inputStream.getText(a.Interval.of(r,n))}'`;t.notifyErrorListeners(l)}reportAttemptingFullContext(t,e,r,n,o,i){let s=`reportAttemptingFullContext d=${this.getDecisionDescription(t,e)}, input='${t.inputStream.getText(a.Interval.of(r,n))}'`;t.notifyErrorListeners(s)}reportContextSensitivity(t,e,r,n,o,i){let s=`reportContextSensitivity d=${this.getDecisionDescription(t,e)}, input='${t.inputStream.getText(a.Interval.of(r,n))}'`;t.notifyErrorListeners(s)}getDecisionDescription(t,e){let r=e.decision,n=e.atnStartState.ruleIndex,o=t.ruleNames;if(n<0||n>=o.length)return r.toString();let i=o[n];return i?`${r} (${i})`:r.toString()}getConflictingAlts(t,e){if(null!=t)return t;let r=new i.BitSet;for(let n of e)r.set(n.alt);return r}}n([s.Override],l.prototype,"syntaxError",null),n([s.Override,o(0,s.NotNull),o(1,s.NotNull),o(6,s.NotNull)],l.prototype,"reportAmbiguity",null),n([s.Override,o(0,s.NotNull),o(1,s.NotNull),o(5,s.NotNull)],l.prototype,"reportAttemptingFullContext",null),n([s.Override,o(0,s.NotNull),o(1,s.NotNull),o(5,s.NotNull)],l.prototype,"reportContextSensitivity",null),n([o(0,s.NotNull),o(1,s.NotNull)],l.prototype,"getDecisionDescription",null),n([s.NotNull,o(1,s.NotNull)],l.prototype,"getConflictingAlts",null),e.DiagnosticErrorListener=l},2915:function(t,e,r){"use strict";var n=this&&this.__decorate||function(t,e,r,n){var o,i=arguments.length,s=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(s=(i<3?o(s):i>3?o(e,r,s):o(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},o=this&&this.__param||function(t,e){return function(r,n){e(r,n,t)}};Object.defineProperty(e,"__esModule",{value:!0}),e.FailedPredicateException=void 0;const i=r(3998),s=r(8042),a=r(3233);let l=class t extends i.RecognitionException{constructor(e,r,n){super(e,e.inputStream,e.context,t.formatMessage(r,n));let o=e.interpreter.atn.states[e.state].transition(0);o instanceof a.PredicateTransition?(this._ruleIndex=o.ruleIndex,this._predicateIndex=o.predIndex):(this._ruleIndex=0,this._predicateIndex=0),this._predicate=r,super.setOffendingToken(e,e.currentToken)}get ruleIndex(){return this._ruleIndex}get predicateIndex(){return this._predicateIndex}get predicate(){return this._predicate}static formatMessage(t,e){return e||`failed predicate: {${t}}?`}};n([s.NotNull],l,"formatMessage",null),l=n([o(0,s.NotNull)],l),e.FailedPredicateException=l},4837:function(t,e,r){"use strict";var n=this&&this.__decorate||function(t,e,r,n){var o,i=arguments.length,s=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(s=(i<3?o(s):i>3?o(e,r,s):o(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},o=this&&this.__param||function(t,e){return function(r,n){e(r,n,t)}};Object.defineProperty(e,"__esModule",{value:!0}),e.InputMismatchException=void 0;const i=r(3998),s=r(8042);let a=class extends i.RecognitionException{constructor(t,e,r){void 0===r&&(r=t.context),super(t,t.inputStream,r),void 0!==e&&this.setOffendingState(e),this.setOffendingToken(t,t.currentToken)}};a=n([o(0,s.NotNull)],a),e.InputMismatchException=a},3227:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.IntStream=void 0,function(t){t.EOF=-1,t.UNKNOWN_SOURCE_NAME="<unknown>"}(e.IntStream||(e.IntStream={}))},4126:function(t,e,r){"use strict";var n=this&&this.__decorate||function(t,e,r,n){var o,i=arguments.length,s=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;
2a--)(o=t[a])&&(s=(i<3?o(s):i>3?o(e,r,s):o(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s};Object.defineProperty(e,"__esModule",{value:!0}),e.InterpreterRuleContext=void 0;const o=r(8042),i=r(3208);class s extends i.ParserRuleContext{constructor(t,e,r){void 0!==r?super(e,r):super(),this._ruleIndex=t}get ruleIndex(){return this._ruleIndex}}n([o.Override],s.prototype,"ruleIndex",null),e.InterpreterRuleContext=s},9557:function(t,e,r){"use strict";var n=this&&this.__decorate||function(t,e,r,n){var o,i=arguments.length,s=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(s=(i<3?o(s):i>3?o(e,r,s):o(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s};Object.defineProperty(e,"__esModule",{value:!0}),e.Lexer=void 0;const o=r(8735),i=r(1350),s=r(8813),a=r(3227),l=r(2178),c=r(5324),u=r(8042),p=r(8610),h=r(4966);class f extends p.Recognizer{constructor(t){super(),this._factory=o.CommonTokenFactory.DEFAULT,this._tokenStartCharIndex=-1,this._tokenStartLine=0,this._tokenStartCharPositionInLine=0,this._hitEOF=!1,this._channel=0,this._type=0,this._modeStack=new i.IntegerStack,this._mode=f.DEFAULT_MODE,this._input=t,this._tokenFactorySourcePair={source:this,stream:t}}static get DEFAULT_TOKEN_CHANNEL(){return h.Token.DEFAULT_CHANNEL}static get HIDDEN(){return h.Token.HIDDEN_CHANNEL}reset(t){(void 0===t||t)&&this._input.seek(0),this._token=void 0,this._type=h.Token.INVALID_TYPE,this._channel=h.Token.DEFAULT_CHANNEL,this._tokenStartCharIndex=-1,this._tokenStartCharPositionInLine=-1,this._tokenStartLine=-1,this._text=void 0,this._hitEOF=!1,this._mode=f.DEFAULT_MODE,this._modeStack.clear(),this.interpreter.reset()}nextToken(){if(null==this._input)throw new Error("nextToken requires a non-null input stream.");let t=this._input.mark();try{t:for(;;){if(this._hitEOF)return this.emitEOF();this._token=void 0,this._channel=h.Token.DEFAULT_CHANNEL,this._tokenStartCharIndex=this._input.index,this._tokenStartCharPositionInLine=this.interpreter.charPositionInLine,this._tokenStartLine=this.interpreter.line,this._text=void 0;do{let t;this._type=h.Token.INVALID_TYPE;try{t=this.interpreter.match(this._input,this._mode)}catch(e){if(!(e instanceof c.LexerNoViableAltException))throw e;this.notifyListeners(e),this.recover(e),t=f.SKIP}if(this._input.LA(1)===a.IntStream.EOF&&(this._hitEOF=!0),this._type===h.Token.INVALID_TYPE&&(this._type=t),this._type===f.SKIP)continue t}while(this._type===f.MORE);return null==this._token?this.emit():this._token}}finally{this._input.release(t)}}skip(){this._type=f.SKIP}more(){this._type=f.MORE}mode(t){this._mode=t}pushMode(t){l.LexerATNSimulator.debug&&console.log("pushMode "+t),this._modeStack.push(this._mode),this.mode(t)}popMode(){if(this._modeStack.isEmpty)throw new Error("EmptyStackException");return l.LexerATNSimulator.debug&&console.log("popMode back to "+this._modeStack.peek()),this.mode(this._modeStack.pop()),this._mode}get tokenFactory(){return this._factory}set tokenFactory(t){this._factory=t}get inputStream(){return this._input}set inputStream(t){this.reset(!1),this._input=t,this._tokenFactorySourcePair={source:this,stream:this._input}}get sourceName(){return this._input.sourceName}emit(t){return t||(t=this._factory.create(this._tokenFactorySourcePair,this._type,this._text,this._channel,this._tokenStartCharIndex,this.charIndex-1,this._tokenStartLine,this._tokenStartCharPositionInLine)),this._token=t,t}emitEOF(){let t=this.charPositionInLine,e=this.line,r=this._factory.create(this._tokenFactorySourcePair,h.Token.EOF,void 0,h.Token.DEFAULT_CHANNEL,this._input.index,this._input.index-1,e,t);return this.emit(r),r}get line(){return this.interpreter.line}set line(t){this.interpreter.line=t}get charPositionInLine(){return this.interpreter.charPositionInLine}set charPositionInLine(t){this.interpreter.charPositionInLine=t}get charIndex(){return this._input.index}get text(){return null!=this._text?this._text:this.interpreter.getText(this._input)}set text(t){this._text=t}get token(){return this._token}set token(t){this._token=t}set type(t){this._type=t}get type(){return this._type}set channel(t){this._channel=t}
2get channel(){return this._channel}getAllTokens(){let t=[],e=this.nextToken();for(;e.type!==h.Token.EOF;)t.push(e),e=this.nextToken();return t}notifyListeners(t){let e=this._input.getText(s.Interval.of(this._tokenStartCharIndex,this._input.index)),r="token recognition error at: '"+this.getErrorDisplay(e)+"'",n=this.getErrorListenerDispatch();n.syntaxError&&n.syntaxError(this,void 0,this._tokenStartLine,this._tokenStartCharPositionInLine,r,t)}getErrorDisplay(t){if("number"==typeof t){switch(t){case h.Token.EOF:return"<EOF>";case 10:return"\\n";case 9:return"\\t";case 13:return"\\r"}return String.fromCharCode(t)}return t.replace(/\n/g,"\\n").replace(/\t/g,"\\t").replace(/\r/g,"\\r")}getCharErrorDisplay(t){return"'"+this.getErrorDisplay(t)+"'"}recover(t){t instanceof c.LexerNoViableAltException?this._input.LA(1)!==a.IntStream.EOF&&this.interpreter.consume(this._input):this._input.consume()}}f.DEFAULT_MODE=0,f.MORE=-2,f.SKIP=-3,f.MIN_CHAR_VALUE=0,f.MAX_CHAR_VALUE=1114111,n([u.Override],f.prototype,"nextToken",null),n([u.Override],f.prototype,"tokenFactory",null),n([u.Override],f.prototype,"inputStream",null),n([u.Override],f.prototype,"sourceName",null),n([u.Override],f.prototype,"line",null),n([u.Override],f.prototype,"charPositionInLine",null),e.Lexer=f},7301:function(t,e,r){"use strict";var n=this&&this.__decorate||function(t,e,r,n){var o,i=arguments.length,s=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(s=(i<3?o(s):i>3?o(e,r,s):o(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},o=this&&this.__param||function(t,e){return function(r,n){e(r,n,t)}};Object.defineProperty(e,"__esModule",{value:!0}),e.LexerInterpreter=void 0;const i=r(9557),s=r(2178),a=r(8042),l=r(8042);let c=class extends i.Lexer{constructor(t,e,r,n,o,i,a){if(super(a),0!==i.grammarType)throw new Error("IllegalArgumentException: The ATN must be a lexer ATN.");this._grammarFileName=t,this._atn=i,this._ruleNames=r.slice(0),this._channelNames=n.slice(0),this._modeNames=o.slice(0),this._vocabulary=e,this._interp=new s.LexerATNSimulator(i,this)}get atn(){return this._atn}get grammarFileName(){return this._grammarFileName}get ruleNames(){return this._ruleNames}get channelNames(){return this._channelNames}get modeNames(){return this._modeNames}get vocabulary(){return this._vocabulary}};n([a.NotNull],c.prototype,"_vocabulary",void 0),n([l.Override],c.prototype,"atn",null),n([l.Override],c.prototype,"grammarFileName",null),n([l.Override],c.prototype,"ruleNames",null),n([l.Override],c.prototype,"channelNames",null),n([l.Override],c.prototype,"modeNames",null),n([l.Override],c.prototype,"vocabulary",null),c=n([o(1,a.NotNull)],c),e.LexerInterpreter=c},5324:function(t,e,r){"use strict";var n=this&&this.__decorate||function(t,e,r,n){var o,i=arguments.length,s=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(s=(i<3?o(s):i>3?o(e,r,s):o(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},o=this&&this.__param||function(t,e){return function(r,n){e(r,n,t)}};Object.defineProperty(e,"__esModule",{value:!0}),e.LexerNoViableAltException=void 0;const i=r(3998),s=r(8042),a=r(8813),l=r(5103);let c=class extends i.RecognitionException{constructor(t,e,r,n){super(t,e),this._startIndex=r,this._deadEndConfigs=n}get startIndex(){return this._startIndex}get deadEndConfigs(){return this._deadEndConfigs}get inputStream(){return super.inputStream}toString(){let t="";return this._startIndex>=0&&this._startIndex<this.inputStream.size&&(t=this.inputStream.getText(a.Interval.of(this._startIndex,this._startIndex)),t=l.escapeWhitespace(t,!1)),`LexerNoViableAltException('${t}')`}};n([s.Override],c.prototype,"inputStream",null),n([s.Override],c.prototype,"toString",null),c=n([o(1,s.NotNull)],c),e.LexerNoViableAltException=c},7683:function(t,e,r){"use strict";var n=this&&this.__decorate||function(t,e,r,n){var o,i=arguments.length,s=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;
2a--)(o=t[a])&&(s=(i<3?o(s):i>3?o(e,r,s):o(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},o=this&&this.__param||function(t,e){return function(r,n){e(r,n,t)}};Object.defineProperty(e,"__esModule",{value:!0}),e.ListTokenSource=void 0;const i=r(8735),s=r(8042),a=r(4966);let l=class{constructor(t,e){if(this.i=0,this._factory=i.CommonTokenFactory.DEFAULT,null==t)throw new Error("tokens cannot be null");this.tokens=t,this._sourceName=e}get charPositionInLine(){if(this.i<this.tokens.length)return this.tokens[this.i].charPositionInLine;if(null!=this.eofToken)return this.eofToken.charPositionInLine;if(this.tokens.length>0){let t=this.tokens[this.tokens.length-1],e=t.text;if(null!=e){let t=e.lastIndexOf("\n");if(t>=0)return e.length-t-1}return t.charPositionInLine+t.stopIndex-t.startIndex+1}return 0}nextToken(){if(this.i>=this.tokens.length){if(null==this.eofToken){let t=-1;if(this.tokens.length>0){let e=this.tokens[this.tokens.length-1].stopIndex;-1!==e&&(t=e+1)}let e=Math.max(-1,t-1);this.eofToken=this._factory.create({source:this,stream:this.inputStream},a.Token.EOF,"EOF",a.Token.DEFAULT_CHANNEL,t,e,this.line,this.charPositionInLine)}return this.eofToken}let t=this.tokens[this.i];return this.i===this.tokens.length-1&&t.type===a.Token.EOF&&(this.eofToken=t),this.i++,t}get line(){if(this.i<this.tokens.length)return this.tokens[this.i].line;if(null!=this.eofToken)return this.eofToken.line;if(this.tokens.length>0){let t=this.tokens[this.tokens.length-1],e=t.line,r=t.text;if(null!=r)for(let n=0;n<r.length;n++)"\n"===r.charAt(n)&&e++;return e}return 1}get inputStream(){return this.i<this.tokens.length?this.tokens[this.i].inputStream:null!=this.eofToken?this.eofToken.inputStream:this.tokens.length>0?this.tokens[this.tokens.length-1].inputStream:void 0}get sourceName(){if(this._sourceName)return this._sourceName;let t=this.inputStream;return null!=t?t.sourceName:"List"}set tokenFactory(t){this._factory=t}get tokenFactory(){return this._factory}};n([s.Override],l.prototype,"charPositionInLine",null),n([s.Override],l.prototype,"nextToken",null),n([s.Override],l.prototype,"line",null),n([s.Override],l.prototype,"inputStream",null),n([s.Override],l.prototype,"sourceName",null),n([s.Override,s.NotNull,o(0,s.NotNull)],l.prototype,"tokenFactory",null),l=n([o(0,s.NotNull)],l),e.ListTokenSource=l},4609:function(t,e,r){"use strict";var n=this&&this.__decorate||function(t,e,r,n){var o,i=arguments.length,s=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(s=(i<3?o(s):i>3?o(e,r,s):o(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s};Object.defineProperty(e,"__esModule",{value:!0}),e.NoViableAltException=void 0;const o=r(2824),i=r(3998),s=r(8042);class a extends i.RecognitionException{constructor(t,e,r,n,i,s){t instanceof o.Parser&&(void 0===e&&(e=t.inputStream),void 0===r&&(r=t.currentToken),void 0===n&&(n=t.currentToken),void 0===s&&(s=t.context)),super(t,e,s),this._deadEndConfigs=i,this._startToken=r,this.setOffendingToken(t,n)}get startToken(){return this._startToken}get deadEndConfigs(){return this._deadEndConfigs}}n([s.NotNull],a.prototype,"_startToken",void 0),e.NoViableAltException=a},2824:function(t,e,r){"use strict";var n=this&&this.__decorate||function(t,e,r,n){var o,i=arguments.length,s=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(s=(i<3?o(s):i>3?o(e,r,s):o(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},o=this&&this.__param||function(t,e){return function(r,n){e(r,n,t)}},i=this&&this.__awaiter||function(t,e,r,n){return new(r||(r=Promise))((function(o,i){function s(t){try{l(n.next(t))}catch(e){i(e)}}function a(t){try{l(n.throw(t))}catch(e){i(e)}}function l(t){var e;t.done?o(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(s,a)}l((n=n.apply(t,e||[])).next())}))};Object.defineProperty(e,"__esModule",{value:!0}),e.Parser=void 0;const s=r(5103),a=r(9704),l=r(9963),c=r(3992),u=r(6912),p=r(1350),h=r(9557),f=r(8042),d=r
2(6019),y=r(4584),g=r(6454),m=r(8610),_=r(8011),v=r(4966);class S{constructor(t,e){this.ruleNames=t,this.tokenStream=e}enterEveryRule(t){console.log("enter "+this.ruleNames[t.ruleIndex]+", LT(1)="+this.tokenStream.LT(1).text)}exitEveryRule(t){console.log("exit "+this.ruleNames[t.ruleIndex]+", LT(1)="+this.tokenStream.LT(1).text)}visitErrorNode(t){}visitTerminal(t){let e=t.parent.ruleContext,r=t.symbol;console.log("consume "+r+" rule "+this.ruleNames[e.ruleIndex])}}n([f.Override],S.prototype,"enterEveryRule",null),n([f.Override],S.prototype,"exitEveryRule",null),n([f.Override],S.prototype,"visitErrorNode",null),n([f.Override],S.prototype,"visitTerminal",null);class O extends m.Recognizer{constructor(t){super(),this._errHandler=new c.DefaultErrorStrategy,this._precedenceStack=new p.IntegerStack,this._buildParseTrees=!0,this._parseListeners=[],this._syntaxErrors=0,this.matchedEOF=!1,this._precedenceStack.push(0),this.inputStream=t}reset(t){(void 0===t||t)&&this.inputStream.seek(0),this._errHandler.reset(this),this._ctx=void 0,this._syntaxErrors=0,this.matchedEOF=!1,this.isTrace=!1,this._precedenceStack.clear(),this._precedenceStack.push(0);let e=this.interpreter;null!=e&&e.reset()}match(t){let e=this.currentToken;return e.type===t?(t===v.Token.EOF&&(this.matchedEOF=!0),this._errHandler.reportMatch(this),this.consume()):(e=this._errHandler.recoverInline(this),this._buildParseTrees&&-1===e.tokenIndex&&this._ctx.addErrorNode(this.createErrorNode(this._ctx,e))),e}matchWildcard(){let t=this.currentToken;return t.type>0?(this._errHandler.reportMatch(this),this.consume()):(t=this._errHandler.recoverInline(this),this._buildParseTrees&&-1===t.tokenIndex&&this._ctx.addErrorNode(this.createErrorNode(this._ctx,t))),t}set buildParseTree(t){this._buildParseTrees=t}get buildParseTree(){return this._buildParseTrees}getParseListeners(){return this._parseListeners}addParseListener(t){if(null==t)throw new TypeError("listener cannot be null");this._parseListeners.push(t)}removeParseListener(t){let e=this._parseListeners.findIndex((e=>e===t));-1!==e&&this._parseListeners.splice(e,1)}removeParseListeners(){this._parseListeners.length=0}triggerEnterRuleEvent(){for(let t of this._parseListeners)t.enterEveryRule&&t.enterEveryRule(this._ctx),this._ctx.enterRule(t)}triggerExitRuleEvent(){for(let t=this._parseListeners.length-1;t>=0;t--){let e=this._parseListeners[t];this._ctx.exitRule(e),e.exitEveryRule&&e.exitEveryRule(this._ctx)}}get numberOfSyntaxErrors(){return this._syntaxErrors}get tokenFactory(){return this._input.tokenSource.tokenFactory}getATNWithBypassAlts(){let t=this.serializedATN;if(null==t)throw new Error("The current parser does not support an ATN with bypass alternatives.");let e=O.bypassAltsAtnCache.get(t);if(null==e){let r=new a.ATNDeserializationOptions;r.isGenerateRuleBypassTransitions=!0,e=new l.ATNDeserializer(r).deserialize(s.toCharArray(t)),O.bypassAltsAtnCache.set(t,e)}return e}compileParseTreePattern(t,e,n){return i(this,void 0,void 0,(function*(){if(!n){if(this.inputStream){let t=this.inputStream.tokenSource;t instanceof h.Lexer&&(n=t)}if(!n)throw new Error("Parser can't discover a lexer to use")}let o=n;return new((yield Promise.resolve().then((()=>r(1293)))).ParseTreePatternMatcher)(o,this).compile(t,e)}))}get errorHandler(){return this._errHandler}set errorHandler(t){this._errHandler=t}get inputStream(){return this._input}set inputStream(t){this.reset(!1),this._input=t}get currentToken(){return this._input.LT(1)}notifyErrorListeners(t,e,r){void 0===e?e=this.currentToken:null===e&&(e=void 0),this._syntaxErrors++;let n=-1,o=-1;null!=e&&(n=e.line,o=e.charPositionInLine);let i=this.getErrorListenerDispatch();i.syntaxError&&i.syntaxError(this,e,n,o,t,r)}consume(){let t=this.currentToken;t.type!==O.EOF&&this.inputStream.consume();let e=0!==this._parseListeners.length;if(this._buildParseTrees||e)if(this._errHandler.inErrorRecoveryMode(this)){let r=this._ctx.addErrorNode(this.createErrorNode(this._ctx,t));if(e)for(let t of this._parseListeners)t.visitErrorNode&&t.visitErrorNode(r)}else{let r=this.createTerminalNode(this._ctx,t);if(this._ctx.addChild(r),e)for(let t of this._parseListeners)t.visitTerminal&&t.visitTerminal(r)}return t}createTerminalNode(t,e){return new _.TerminalNode(e)}createErrorNode(t,e){return new u.ErrorNode(e)}addContextToParseTree(){let t=this._ctx._parent;null!=t&&t.addChild(this._ctx)}enterRule(t,e,r){this.state=e,this._ctx=t,this._ctx._start=this._input.LT(1),this._buildParseTrees&&this.addContextToParseTree(),this.triggerEnterRuleEvent()}enterLeftFactoredRule(t,e,r){if(this.state=e,this._buildParseTrees){let e=this._ctx.getChild(this._ctx.childCount-1);this._ctx.removeLastChild(),e._parent=t,t.addChild(e)}this._ctx=t,this._ctx._start=this._input.LT(1),this._buildParseTrees&&this.addContextToParseTree(),this.triggerEnterRuleEvent()}exitRule(){this.matchedEOF?this._ctx._stop=this._input.LT(1):this._ctx._stop=this._input.tryLT(-1),this.triggerExitRuleEvent(),this.state=this._ctx.invokingState,this._ctx=this._ctx._parent}enterOuterAlt(t,e){if(t.altNumber=e,this._buildParseTrees&&this._ctx!==t){let e=this._ctx._parent;null!=e&&(e.removeLastChild(),e.addChild(t))}this._ctx=t}get precedence(){return this._precedenceStack.isEmpty?-1:this._precedenceStack.peek()}enterRecursionRule(t,e,r,n){this.state=e,this._precedenceStack.push(n),this._ctx=t,this._ctx._start=this._input.LT(1),this.triggerEnterRuleEvent()}pushNewRecursionContext(t,e,r){let n=this._ctx;n._parent=t,n.invokingState=e,n._stop=this._input.tryLT(-1),this._ctx=t,this._ctx._start=n._start,this._buildParseTrees&&this._ctx.addChild(n),this.triggerEnterRuleEvent()}unrollRecursionContexts(t){this._precedenceStack.pop(),this._ctx._stop=this._input.tryLT(-1);let e=this._ctx;if(this._parseListeners.length>0)for(;this._ctx!==t;)this.triggerExitRuleEvent(),this._ctx=this._ctx._parent;else this._ctx=t;e._parent=t,this._buildParseTrees&&null!=t&&t.addChild(e)}getInvokingContext(t){let e=this._ctx;for(;e&&e.ruleIndex!==t;)e=e._parent;return e}get context(){return this._ctx}set context(t){this._ctx=t}precpred(t,e){return e>=this._precedenceStack.peek()}getErrorListenerDispatch(){return new g.ProxyParserErrorListener(this.getErrorListeners())}inContext(t){return!1}isExpectedToken(t){let e=this.interpreter.atn,r=this._ctx,n=e.states[this.state],o=e.nextTokens(n);if(o.contains(t))return!0;
2if(!o.contains(v.Token.EPSILON))return!1;for(;null!=r&&r.invokingState>=0&&o.contains(v.Token.EPSILON);){let n=e.states[r.invokingState].transition(0);if(o=e.nextTokens(n.followState),o.contains(t))return!0;r=r._parent}return!(!o.contains(v.Token.EPSILON)||t!==v.Token.EOF)}get isMatchedEOF(){return this.matchedEOF}getExpectedTokens(){return this.atn.getExpectedTokens(this.state,this.context)}getExpectedTokensWithinCurrentRule(){let t=this.interpreter.atn,e=t.states[this.state];return t.nextTokens(e)}getRuleIndex(t){let e=this.getRuleIndexMap().get(t);return null!=e?e:-1}get ruleContext(){return this._ctx}getRuleInvocationStack(t=this._ctx){let e=t,r=this.ruleNames,n=[];for(;null!=e;){let t=e.ruleIndex;t<0?n.push("n/a"):n.push(r[t]),e=e._parent}return n}getDFAStrings(){let t=[];for(let e of this._interp.atn.decisionToDFA)t.push(e.toString(this.vocabulary,this.ruleNames));return t}dumpDFA(){let t=!1;for(let e of this._interp.atn.decisionToDFA)e.isEmpty||(t&&console.log(),console.log("Decision "+e.decision+":"),process.stdout.write(e.toString(this.vocabulary,this.ruleNames)),t=!0)}get sourceName(){return this._input.sourceName}get parseInfo(){return Promise.resolve().then((()=>r(2916))).then((t=>{let e=this.interpreter;if(e instanceof t.ProfilingATNSimulator)return new d.ParseInfo(e)}))}setProfile(t){return i(this,void 0,void 0,(function*(){let e=yield Promise.resolve().then((()=>r(2916))),n=this.interpreter;t?n instanceof e.ProfilingATNSimulator||(this.interpreter=new e.ProfilingATNSimulator(this)):n instanceof e.ProfilingATNSimulator&&(this.interpreter=new y.ParserATNSimulator(this.atn,this)),this.interpreter.setPredictionMode(n.getPredictionMode())}))}set isTrace(t){t?(this._tracer?this.removeParseListener(this._tracer):this._tracer=new S(this.ruleNames,this._input),this.addParseListener(this._tracer)):this._tracer&&(this.removeParseListener(this._tracer),this._tracer=void 0)}get isTrace(){return null!=this._tracer}}O.bypassAltsAtnCache=new Map,n([f.NotNull],O.prototype,"_errHandler",void 0),n([f.NotNull],O.prototype,"match",null),n([f.NotNull],O.prototype,"matchWildcard",null),n([f.NotNull],O.prototype,"getParseListeners",null),n([o(0,f.NotNull)],O.prototype,"addParseListener",null),n([f.NotNull],O.prototype,"getATNWithBypassAlts",null),n([f.NotNull,o(0,f.NotNull)],O.prototype,"errorHandler",null),n([f.Override],O.prototype,"inputStream",null),n([f.NotNull],O.prototype,"currentToken",null),n([o(0,f.NotNull)],O.prototype,"enterRule",null),n([f.Override,o(0,f.Nullable)],O.prototype,"precpred",null),n([f.Override],O.prototype,"getErrorListenerDispatch",null),n([f.NotNull],O.prototype,"getExpectedTokens",null),n([f.NotNull],O.prototype,"getExpectedTokensWithinCurrentRule",null),n([f.Override],O.prototype,"parseInfo",null),e.Parser=O},1603:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0})},627:function(t,e,r){"use strict";var n=this&&this.__decorate||function(t,e,r,n){var o,i=arguments.length,s=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(s=(i<3?o(s):i>3?o(e,r,s):o(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},o=this&&this.__param||function(t,e){return function(r,n){e(r,n,t)}};Object.defineProperty(e,"__esModule",{value:!0}),e.ParserInterpreter=void 0;const i=r(3269),s=r(4700),a=r(5280),l=r(2915),c=r(4837),u=r(4126),p=r(4068),h=r(8042),f=r(8042),d=r
2(2824),y=r(4584),g=r(3998),m=r(7165),_=r(4966);let v=class t extends d.Parser{constructor(e,r,n,o,i){if(super(e instanceof t?e.inputStream:i),this._parentContextStack=[],this.overrideDecision=-1,this.overrideDecisionInputIndex=-1,this.overrideDecisionAlt=-1,this.overrideDecisionReached=!1,this._overrideDecisionRoot=void 0,e instanceof t){let t=e;this._grammarFileName=t._grammarFileName,this._atn=t._atn,this.pushRecursionContextStates=t.pushRecursionContextStates,this._ruleNames=t._ruleNames,this._vocabulary=t._vocabulary,this.interpreter=new y.ParserATNSimulator(this._atn,this)}else{this._grammarFileName=e,this._atn=o,this._ruleNames=n.slice(0),this._vocabulary=r,this.pushRecursionContextStates=new a.BitSet(o.states.length);for(let t of o.states)t instanceof m.StarLoopEntryState&&t.precedenceRuleDecision&&this.pushRecursionContextStates.set(t.stateNumber);this.interpreter=new y.ParserATNSimulator(o,this)}}reset(t){void 0===t?super.reset():super.reset(t),this.overrideDecisionReached=!1,this._overrideDecisionRoot=void 0}get atn(){return this._atn}get vocabulary(){return this._vocabulary}get ruleNames(){return this._ruleNames}get grammarFileName(){return this._grammarFileName}parse(t){let e=this._atn.ruleToStartState[t];for(this._rootContext=this.createInterpreterRuleContext(void 0,i.ATNState.INVALID_STATE_NUMBER,t),e.isPrecedenceRule?this.enterRecursionRule(this._rootContext,e.stateNumber,t,0):this.enterRule(this._rootContext,e.stateNumber,t);;){let t=this.atnState;if(t.stateType===s.ATNStateType.RULE_STOP){if(this._ctx.isEmpty){if(e.isPrecedenceRule){let t=this._ctx,e=this._parentContextStack.pop();return this.unrollRecursionContexts(e[0]),t}return this.exitRule(),this._rootContext}this.visitRuleStopState(t)}else try{this.visitState(t)}catch(r){if(!(r instanceof g.RecognitionException))throw r;this.state=this._atn.ruleToStopState[t.ruleIndex].stateNumber,this.context.exception=r,this.errorHandler.reportError(this,r),this.recover(r)}}}enterRecursionRule(t,e,r,n){this._parentContextStack.push([this._ctx,t.invokingState]),super.enterRecursionRule(t,e,r,n)}get atnState(){return this._atn.states[this.state]}visitState(t){let e=1;t.numberOfTransitions>1&&(e=this.visitDecisionState(t));let r=t.transition(e-1);switch(r.serializationType){case 1:if(this.pushRecursionContextStates.get(t.stateNumber)&&!(r.target instanceof p.LoopEndState)){let e=this._parentContextStack[this._parentContextStack.length-1],r=this.createInterpreterRuleContext(e[0],e[1],this._ctx.ruleIndex);this.pushNewRecursionContext(r,this._atn.ruleToStartState[t.ruleIndex].stateNumber,this._ctx.ruleIndex)}break;case 5:this.match(r._label);break;case 2:case 7:case 8:r.matches(this._input.LA(1),_.Token.MIN_USER_TOKEN_TYPE,65535)||this.recoverInline(),this.matchWildcard();break;case 9:this.matchWildcard();break;case 3:let e=r.target,n=e.ruleIndex,o=this.createInterpreterRuleContext(this._ctx,t.stateNumber,n);e.isPrecedenceRule?this.enterRecursionRule(o,e.stateNumber,n,r.precedence):this.enterRule(o,r.target.stateNumber,n);break;case 4:let i=r;if(!this.sempred(this._ctx,i.ruleIndex,i.predIndex))throw new l.FailedPredicateException(this);break;case 6:let s=r;this.action(this._ctx,s.ruleIndex,s.actionIndex);break;case 10:if(!this.precpred(this._ctx,r.precedence)){let t=r.precedence;throw new l.FailedPredicateException(this,`precpred(_ctx, ${t})`)}break;default:throw new Error("UnsupportedOperationException: Unrecognized ATN transition type.")}this.state=r.target.stateNumber}visitDecisionState(t){let e;this.errorHandler.sync(this);let r=t.decision;return r!==this.overrideDecision||this._input.index!==this.overrideDecisionInputIndex||this.overrideDecisionReached?e=this.interpreter.adaptivePredict(this._input,r,this._ctx):(e=this.overrideDecisionAlt,this.overrideDecisionReached=!0),e}createInterpreterRuleContext(t,e,r){return new u.InterpreterRuleContext(r,t,e)}visitRuleStopState(t){if(this._atn.ruleToStartState[t.ruleIndex].isPrecedenceRule){let t=this._parentContextStack.pop();this.unrollRecursionContexts(t[0]),this.state=t[1]}else this.exitRule();let e=this._atn.states[this.state].transition(0);this.state=e.followState.stateNumber}addDecisionOverride(t,e,r){this.overrideDecision=t,this.overrideDecisionInputIndex=e,this.overrideDecisionAlt=r}get overrideDecisionRoot(){return this._overrideDecisionRoot}recover(t){let e=this._input.index;if(this.errorHandler.recover(this,t),this._input.index===e){let e=t.getOffendingToken();if(!e)throw new Error("Expected exception to have an offending token");
2let r=e.tokenSource,n={source:r,stream:void 0!==r?r.inputStream:void 0};if(t instanceof c.InputMismatchException){let r=t.expectedTokens;if(void 0===r)throw new Error("Expected the exception to provide expected tokens");let o=_.Token.INVALID_TYPE;r.isNil||(o=r.minElement);let i=this.tokenFactory.create(n,o,e.text,_.Token.DEFAULT_CHANNEL,-1,-1,e.line,e.charPositionInLine);this._ctx.addErrorNode(this.createErrorNode(this._ctx,i))}else{e.tokenSource;let t=this.tokenFactory.create(n,_.Token.INVALID_TYPE,e.text,_.Token.DEFAULT_CHANNEL,-1,-1,e.line,e.charPositionInLine);this._ctx.addErrorNode(this.createErrorNode(this._ctx,t))}}}recoverInline(){return this._errHandler.recoverInline(this)}get rootContext(){return this._rootContext}};n([h.NotNull],v.prototype,"_vocabulary",void 0),n([f.Override],v.prototype,"reset",null),n([f.Override],v.prototype,"atn",null),n([f.Override],v.prototype,"vocabulary",null),n([f.Override],v.prototype,"ruleNames",null),n([f.Override],v.prototype,"grammarFileName",null),n([f.Override],v.prototype,"enterRecursionRule",null),v=n([o(1,h.NotNull)],v),e.ParserInterpreter=v},3208:function(t,e,r){"use strict";var n=this&&this.__decorate||function(t,e,r,n){var o,i=arguments.length,s=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(s=(i<3?o(s):i>3?o(e,r,s):o(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s};Object.defineProperty(e,"__esModule",{value:!0}),e.ParserRuleContext=void 0;const o=r(6912),i=r(8813),s=r(8042),a=r(7423),l=r(8011);class c extends a.RuleContext{constructor(t,e){null==e?super():super(t,e)}static emptyContext(){return c.EMPTY}copyFrom(t){if(this._parent=t._parent,this.invokingState=t.invokingState,this._start=t._start,this._stop=t._stop,t.children){this.children=[];for(let e of t.children)e instanceof o.ErrorNode&&this.addChild(e)}}enterRule(t){}exitRule(t){}addAnyChild(t){return this.children?this.children.push(t):this.children=[t],t}addChild(t){return t instanceof l.TerminalNode?(t.setParent(this),void this.addAnyChild(t)):t instanceof a.RuleContext?void this.addAnyChild(t):(t=new l.TerminalNode(t),this.addAnyChild(t),t.setParent(this),t)}addErrorNode(t){if(t instanceof o.ErrorNode){const e=t;return e.setParent(this),this.addAnyChild(e)}{const e=t;let r=new o.ErrorNode(e);return this.addAnyChild(r),r.setParent(this),r}}removeLastChild(){this.children&&this.children.pop()}get parent(){let t=super.parent;if(void 0===t||t instanceof c)return t;throw new TypeError("Invalid parent type for ParserRuleContext")}getChild(t,e){if(!this.children||t<0||t>=this.children.length)throw new RangeError("index parameter must be between >= 0 and <= number of children.");if(null==e)return this.children[t];let r=this.tryGetChild(t,e);if(void 0===r)throw new Error("The specified node does not exist");return r}tryGetChild(t,e){if(!this.children||t<0||t>=this.children.length)return;let r=-1;for(let n of this.children)if(n instanceof e&&(r++,r===t))return n}getToken(t,e){let r=this.tryGetToken(t,e);if(void 0===r)throw new Error("The specified token does not exist");return r}tryGetToken(t,e){if(!this.children||e<0||e>=this.children.length)return;let r=-1;for(let n of this.children)if(n instanceof l.TerminalNode){if(n.symbol.type===t&&(r++,r===e))return n}}getTokens(t){let e=[];
2if(!this.children)return e;for(let r of this.children)if(r instanceof l.TerminalNode){r.symbol.type===t&&e.push(r)}return e}get ruleContext(){return this}getRuleContext(t,e){return this.getChild(t,e)}tryGetRuleContext(t,e){return this.tryGetChild(t,e)}getRuleContexts(t){let e=[];if(!this.children)return e;for(let r of this.children)r instanceof t&&e.push(r);return e}get childCount(){return this.children?this.children.length:0}get sourceInterval(){return this._start?!this._stop||this._stop.tokenIndex<this._start.tokenIndex?i.Interval.of(this._start.tokenIndex,this._start.tokenIndex-1):i.Interval.of(this._start.tokenIndex,this._stop.tokenIndex):i.Interval.INVALID}get start(){return this._start}get stop(){return this._stop}toInfoString(t){return"ParserRuleContext"+t.getRuleInvocationStack(this).reverse()+"{start="+this._start+", stop="+this._stop+"}"}}c.EMPTY=new c,n([s.Override],c.prototype,"parent",null),n([s.Override],c.prototype,"childCount",null),n([s.Override],c.prototype,"sourceInterval",null),e.ParserRuleContext=c},9583:function(t,e,r){"use strict";var n=this&&this.__decorate||function(t,e,r,n){var o,i=arguments.length,s=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(s=(i<3?o(s):i>3?o(e,r,s):o(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},o=this&&this.__param||function(t,e){return function(r,n){e(r,n,t)}};Object.defineProperty(e,"__esModule",{value:!0}),e.ProxyErrorListener=void 0;const i=r(8042);class s{constructor(t){if(this.delegates=t,!t)throw new Error("Invalid delegates")}getDelegates(){return this.delegates}
2syntaxError(t,e,r,n,o,i){this.delegates.forEach((s=>{s.syntaxError&&s.syntaxError(t,e,r,n,o,i)}))}}n([i.Override,o(0,i.NotNull),o(4,i.NotNull)],s.prototype,"syntaxError",null),e.ProxyErrorListener=s},6454:function(t,e,r){"use strict";var n=this&&this.__decorate||function(t,e,r,n){var o,i=arguments.length,s=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(s=(i<3?o(s):i>3?o(e,r,s):o(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s};Object.defineProperty(e,"__esModule",{value:!0}),e.ProxyParserErrorListener=void 0;const o=r(9583),i=r(8042);class s extends o.ProxyErrorListener{constructor(t){super(t)}reportAmbiguity(t,e,r,n,o,i,s){this.getDelegates().forEach((a=>{a.reportAmbiguity&&a.reportAmbiguity(t,e,r,n,o,i,s)}))}reportAttemptingFullContext(t,e,r,n,o,i){this.getDelegates().forEach((s=>{s.reportAttemptingFullContext&&s.reportAttemptingFullContext(t,e,r,n,o,i)}))}reportContextSensitivity(t,e,r,n,o,i){this.getDelegates().forEac
2h((s=>{s.reportContextSensitivity&&s.reportContextSensitivity(t,e,r,n,o,i)}))}}n([i.Override],s.prototype,"reportAmbiguity",null),n([i.Override],s.prototype,"reportAttemptingFullContext",null),n([i.Override],s.prototype,"reportContextSensitivity",null),e.ProxyParserErrorListener=s},3998:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.RecognitionException=void 0;class r extends Error{constructor(t,e,r,n){super(n),this._offendingState=-1,this._recognizer=t,this.input=e,this.ctx=r,t&&(this._offendingState=t.state)}get offendingState(){return this._offendingState}setOffendingState(t){this._offendingState=t}get expectedTokens(){if(this._recognizer)return this._recognizer.atn.getExpectedTokens(this._offendingState,this.ctx)}get context(){return this.ctx}get inputStream(){return this.input}getOffendingToken(t){if(!t||t===this._recognizer)return this.offendingToken}setOffendingToken(t,e){t===this._recognizer&&(this.offendingToken=e)}get recognizer(){return this._recognizer}}e.RecognitionException=r},8610:function(t,e,r){"use strict";var n=this&&this.__decorate||function(t,e,r,n){var o,i=arguments.length,s=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(s=(i<3?o(s):i>3?o(e,r,s):o(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},o=this&&this.__param||function(t,e){return function(r,n){e(r,n,t)}};Object.defineProperty(e,"__esModule",{value:!0}),e.Recognizer=void 0;const i=r(4525),s=r(9583),a=r(8042),l=r(4966),c=r(5103);class u{constructor(){this._listeners=[i.ConsoleErrorListener.INSTANCE],this._stateNumber=-1}getTokenTypeMap(){let t=this.vocabulary,e=u.tokenTypeMapCache.get(t);if(null==e){let r=new Map;for(let e=0;e<=this.atn.maxTokenType;e++){let n=t.getLiteralName(e);null!=n&&r.set(n,e);let o=t.getSymbolicName(e);null!=o&&r.set(o,e)}r.set("EOF",l.Token.EOF),e=r,u.tokenTypeMapCache.set(t,e)}return e}getRuleIndexMap(){let t=this.ruleNames;if(null==t)throw new Error("The current recognizer does not provide a list of rule names.");let e=u.ruleIndexMapCache.get(t);return null==e&&(e=c.toMap(t),u.ruleIndexMapCache.set(t,e)),e}getTokenType(t){let e=this.getTokenTypeMap().get(t);return null!=e?e:l.Token.INVALID_TYPE}get serializedATN(){throw new Error("there is no serialized ATN")}get atn(){return this._interp.atn}get interpreter(){return this._interp}set interpreter(t){this._interp=t}get parseInfo(){return Promise.resolve(void 0)}getErrorHeader(t){let e=t.getOffendingToken();return e?"line "+e.line+":"+e.charPositionInLine:""}addErrorListener(t){if(!t)throw new TypeError("listener must not be null");this._listeners.push(t)}removeErrorListener(t){let e=this._listeners.indexOf(t);-1!==e&&this._listeners.splice(e,1)}removeErrorListeners(){this._listeners.length=0}getErrorListeners(){return this._listeners.slice(0)}getErrorListenerDispatch(){return new s.ProxyErrorListener(this.getErrorListeners())}sempred(t,e,r){return!0}precpred(t,e){return!0}action(t,e,r){}get state(){return this._stateNumber}set state(t){this._stateNumber=t}}u.EOF=-1,u.tokenTypeMapCache=new WeakMap,u.ruleIndexMapCache=new WeakMap,n([a.SuppressWarnings("serial"),a.NotNull],u.prototype,"_listeners",void 0),n([a.NotNull],u.prototype,"getTokenTypeMap",null),n([a.NotNull],u.prototype,"getRuleIndexMap",null),n([a.NotNull],u.prototype,"serializedATN",null),n([a.NotNull],u.prototype,"atn",null),n([a.NotNull,o(0,a.NotNull)],u.prototype,"interpreter",null),n([a.NotNull,o(0,a.NotNull)],u.prototype,"getErrorHeader",null),n([o(0,a.NotNull)],u.prototype,"addErrorListener",null),n([o(0,a.NotNull)],u.prototype,"removeErrorListener",null),n([a.NotNull],u.prototype,"getErrorListeners",null),e.Recognizer=u},7423:function(t,e,r){"use strict";var n=this&&this.__decorate||function(t,e,r,n){var o,i=arguments.length,s=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(s=(i<3?o(s):i>3?o(e,r,s):o(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s};
2Object.defineProperty(e,"__esModule",{value:!0}),e.RuleContext=void 0;const o=r(7949),i=r(8610),s=r(3627),a=r(8813),l=r(8042),c=r(5194),u=r(3208);class p extends s.RuleNode{constructor(t,e){super(),this._parent=t,this.invokingState=null!=e?e:-1}static getChildContext(t,e){return new p(t,e)}depth(){let t=0,e=this;for(;e;)e=e._parent,t++;return t}get isEmpty(){return-1===this.invokingState}get sourceInterval(){return a.Interval.INVALID}get ruleContext(){return this}get parent(){return this._parent}setParent(t){this._parent=t}get payload(){return this}get text(){if(0===this.childCount)return"";let t="";for(let e=0;e<this.childCount;e++)t+=this.getChild(e).text;return t.toString()}get ruleIndex(){return-1}get altNumber(){return o.ATN.INVALID_ALT_NUMBER}set altNumber(t){}getChild(t){throw new RangeError("i must be greater than or equal to 0 and less than childCount")}get childCount(){return 0}accept(t){return t.visitChildren(this)}toStringTree(t){return c.Trees.toStringTree(this,t)}toString(t,e){const r=t instanceof i.Recognizer?t.ruleNames:t;e=e||u.ParserRuleContext.emptyContext();let n="",o=this;for(n+="[";o&&o!==e;){if(r){let t=o.ruleIndex;n+=t>=0&&t<r.length?r[t]:t.toString()}else o.isEmpty||(n+=o.invokingState);!o._parent||!r&&o._parent.isEmpty||(n+=" "),o=o._parent}return n+="]",n.toString()}}n([l.Override],p.prototype,"sourceInterval",null),n([l.Override],p.prototype,"ruleContext",null),n([l.Override],p.prototype,"parent",null),n([l.Override],p.prototype,"setParent",null),n([l.Override],p.prototype,"payload",null),n([l.Override],p.prototype,"text",null),n([l.Override],p.prototype,"getChild",null),n([l.Override],p.prototype,"childCount",null),n([l.Override],p.prototype,"accept",null),n([l.Override],p.prototype,"toStringTree",null),e.RuleContext=p},6599:function(t,e,r){"use strict";var n=this&&this.__decorate||function(t,e,r,n){var o,i=arguments.length,s=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(s=(i<3?o(s):i>3?o(e,r,s):o(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s};Object.defineProperty(e,"__esModule",{value:!0}),e.RuleContextWithAltNum=void 0;const o=r(7949),i=r(8042),s=r(3208);class a extends s.ParserRuleContext{constructor(t,e){void 0!==e?super(t,e):super(),this._altNumber=o.ATN.INVALID_ALT_NUMBER}get altNumber(){return this._altNumber}set altNumber(t){this._altNumber=t}}n([i.Override],a.prototype,"altNumber",null),e.RuleContextWithAltNum=a},3252:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.RuleDependency=void 0,e.RuleDependency=function(t){return(t,e,r)=>{}}},345:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.RuleVersion=void 0,e.RuleVersion=function(t){return(t,e,r)=>{}}},4966:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Token=void 0;const n=r(3227);!function(t){t.INVALID_TYPE=0,t.EPSILON=-2,t.MIN_USER_TOKEN_TYPE=1,t.EOF=n.IntStream.EOF,t.DEFAULT_CHANNEL=0,t.HIDDEN_CHANNEL=1,t.MIN_USER_CHANNEL_VALUE=2}(e.Token||(e.Token={}))},2362:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0})},9089:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0})},9293:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0})},929:function(t,e,r){"use strict";var n=this&&this.__decorate||function(t,e,r,n){var o,i=arguments.length,s=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(s=(i<3?o(s):i>3?o(e,r,s):o(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s};Object.defineProperty(e,"__esModule",{value:!0}),e.RewriteOperation=e.TokenStreamRewriter=void 0;const o=r(8813),i=r(8042),s=r(4966);class a{constructor(t){this.tokens=t,this.programs=new Map,this.programs.set(a.DEFAULT_PROGRAM_NAME,[]),this.lastRewriteTokenIndexes=new Map}getTokenStream(){return this.tokens}rollback(t,e=a.DEFAULT_PROGRAM_NAME){let r=this.programs.get(e);null!=r&&this.programs.set(e,r.slice(a.MIN_TOKEN_INDEX,t))}deleteProgram(t=a.DEFAULT_PROGRAM_NAME){this.rollback(a.MIN_TOKEN_INDEX,t)}insertAfter(t,e,r=a.DEFAULT_PROGRAM_NAME){let n;n="number"==typeof t?t:t.tokenIndex;let o=this.getProgram(r),i=new u(this.tokens,n,o.length,e);o.push(i)}insertBefore(t,e,r=a.DEFAULT_PROGRAM_NAME){let n;n="number"==typeof t?t:t.tokenIndex;let o=this.getProgram(r),i=new c(this.tokens,n,o.length,e);o.push(i)}replaceSingle(t,e){this.replace(t,t,e)}replace(t,e,r,n=a.DEFAULT_PROGRAM_NAME){if("number"!=typeof t&&(t=t.tokenIndex),"number"!=typeof e&&(e=e.tokenIndex),t>e||t<0||e<0||e>=this.tokens.size)throw new RangeError(`replace: range invalid: ${t}..${e}(size=${this.tokens.size})`);let o=this.getProgram(n),i=new p(this.tokens,t,e,o.length,r);o.push(i)}delete(t,e,r=a.DEFAULT_PROGRAM_NAME){void 0===e&&(e=t),this.replace(t,e,"",r)}getLastRewriteTokenIndex(t=a.DEFAULT_PROGRAM_NAME){let e=this.lastRewriteTokenIndexes.get(t);return null==e?-1:e}setLastRewriteTokenIndex(t,e){this.lastRewriteTokenIndexes.set(t,e)}getProgram(t){let e=this.programs.get(t);return null==e&&(e=this.initializeProgram(t)),e}initializeProgram(t){let e=[];return this.programs.set(t,e),e}getText(t,e=a.DEFAULT_PROGRAM_NAME){let r;r=t instanceof o.Interval?t:o.Interval.of(0,this.tokens.size-1),"string"==typeof t&&(e=t);let n=this.programs.get(e),i=r.a,l=r.b;if(l>this.tokens.size-1&&(l=this.tokens.size-1),i<0&&(i=0),null==n||0===n.length)return this.tokens.getText(r);let c=[],u=this.reduceToSingleOperationPerIndex(n),p=i;for(;p<=l&&p<this.tokens.size;){let t=u.get(p);u.delete(p);let e=this.tokens.get(p);null==t?(e.type!==s.Token.EOF&&c.push(String(e.text)),p++):p=t.execute(c)}if(l===this.tokens.size-1)for(let o of u.values())o.index>=this.tokens.size-1&&c.push(o.text.toString());return c.join("")}reduceToSingleOperationPerIndex(t){for(let r=0;r<t.length;r++){let e=t[r];if(null==e)continue;if(!(e instanceof p))continue;let n=e,o=this.getKindOfOps(t,c,r);for(let r of o)r.index===n.index?(t[r.instructionIndex]=void 0,n.text=r.text.toString()+(null!=n.text?n.text.toString():"")):r.index>n.index&&r.index<=n.lastIndex&&(t[r.instructionIndex]=void 0);let i=this.getKindOfOps(t,p,r);for(let r of i){if(r.index>=n.index&&r.lastIndex<=n.lastIndex){t[r.instructionIndex]=void 0;continue}let e=r.lastIndex<n.index||r.index>
2n.lastIndex;if(null!=r.text||null!=n.text||e){if(!e)throw new Error(`replace op boundaries of ${n} overlap with previous ${r}`)}else t[r.instructionIndex]=void 0,n.index=Math.min(r.index,n.index),n.lastIndex=Math.max(r.lastIndex,n.lastIndex)}}for(let r=0;r<t.length;r++){let e=t[r];if(null==e)continue;if(!(e instanceof c))continue;let n=e,o=this.getKindOfOps(t,c,r);for(let r of o)r.index===n.index&&(r instanceof u?(n.text=this.catOpText(r.text,n.text),t[r.instructionIndex]=void 0):r instanceof c&&(n.text=this.catOpText(n.text,r.text),t[r.instructionIndex]=void 0));let i=this.getKindOfOps(t,p,r);for(let s of i)if(n.index!==s.index){if(n.index>=s.index&&n.index<=s.lastIndex)throw new Error(`insert op ${n} within boundaries of previous ${s}`)}else s.text=this.catOpText(n.text,s.text),t[r]=void 0}let e=new Map;for(let r of t)if(null!=r){if(null!=e.get(r.index))throw new Error("should only be one op per index");e.set(r.index,r)}return e}catOpText(t,e){let r="",n="";return null!=t&&(r=t.toString()),null!=e&&(n=e.toString()),r+n}getKindOfOps(t,e,r){let n=[];for(let o=0;o<r&&o<t.length;o++){let r=t[o];null!=r&&(r instanceof e&&n.push(r))}return n}}e.TokenStreamRewriter=a,a.DEFAULT_PROGRAM_NAME="default",a.PROGRAM_INIT_SIZE=100,a.MIN_TOKEN_INDEX=0;class l{constructor(t,e,r,n){this.tokens=t,this.instructionIndex=r,this.index=e,this.text=void 0===n?"":n}execute(t){return this.index}toString(){let t=this.constructor.name,e=t.indexOf("$");return t=t.substring(e+1,t.length),"<"+t+"@"+this.tokens.get(this.index)+':"'+this.text+'">'}}n([i.Override],l.prototype,"toString",null),e.RewriteOperation=l;class c extends l{constructor(t,e,r,n){super(t,e,r,n)}execute(t){return t.push(this.text.toString()),this.tokens.get(this.index).type!==s.Token.EOF&&t.push(String(this.tokens.get(this.index).text)),this.index+1}}n([i.Override],c.prototype,"execute",null);class u extends c{constructor(t,e,r,n){super(t,e+1,r,n)}}class p extends l{constructor(t,e,r,n,o){super(t,e,n,o),this.lastIndex=r}execute(t){return null!=this.text&&t.push(this.text.toString()),this.lastIndex+1}toString(){return null==this.text?"<DeleteOp@"+this.tokens.get(this.index)+".."+this.tokens.get(this.lastIndex)+">":"<ReplaceOp@"+this.tokens.get(this.index)+".."+this.tokens.get(this.lastIndex)+':"'+this.text+'">'}}n([i.Override],p.prototype,"execute",null),n([i.Override],p.prototype,"toString",null)},2499:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0})},6763:function(t,e,r){"use strict";var n=this&&this.__decorate||function(t,e,r,n){var o,i=arguments.length,s=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(s=(i<3?o(s):i>3?o(e,r,s):o(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s};Object.defineProperty(e,"__esModule",{value:!0}),e.VocabularyImpl=void 0;const o=r(8042),i=r(4966);class s{constructor(t,e,r){this.literalNames=t,this.symbolicNames=e,this.displayNames=r,this._maxTokenType=Math.max(this.displayNames.length,Math.max(this.literalNames.length,this.symbolicNames.length))-1}get maxTokenType(){return this._maxTokenType}getLiteralName(t){if(t>=0&&t<this.literalNames.length)return this.literalNames[t]}getSymbolicName(t){return t>=0&&t<this.symbolicNames.length?this.symbolicNames[t]:t===i.Token.EOF?"EOF":void 0}getDisplayName(t){if(t>=0&&t<this.displayNames.length){let e=this.displayNames[t];if(e)return e}let e=this.getLiteralName(t);if(e)return e;let r=this.getSymbolicName(t);return r||String(t)}}s.EMPTY_VOCABULARY=new s([],[],[]),n([o.NotNull],s.prototype,"literalNames",void 0),n([o.NotNull],s.prototype,"symbolicNames",void 0),n([o.NotNull],s.prototype,"displayNames",void 0),n([o.Override],s.prototype,"maxTokenType",null),n([o.Override],s.prototype,"getLiteralName",null),n([o.Override],s.prototype,"getSymbolicName",null),n([o.Override,o.NotNull],s.prototype,"getDisplayName",null),n([o.NotNull],s,"EMPTY_VOCABULARY",void 0),e.VocabularyImpl=s},4955:function(t,e){"use strict";
2Object.defineProperty(e,"__esModule",{value:!0})},7949:function(t,e,r){"use strict";var n=this&&this.__decorate||function(t,e,r,n){var o,i=arguments.length,s=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(s=(i<3?o(s):i>3?o(e,r,s):o(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},o=this&&this.__param||function(t,e){return function(r,n){e(r,n,t)}};Object.defineProperty(e,"__esModule",{value:!0}),e.ATN=void 0;const i=r(3874),s=r(7055),a=r(4405),l=r(4834),c=r(4334),u=r(8042),p=r(8842),h=r(9767),f=r(4966),d=r(9282);let y=class{constructor(t,e){this.states=[],this.decisionToState=[],this.modeNameToStartState=new Map,this.modeToStartState=[],this.contextCache=new i.Array2DHashMap(p.ObjectEqualityComparator.INSTANCE),this.decisionToDFA=[],this.modeToDFA=[],this.LL1Table=new Map,this.grammarType=t,this.maxTokenType=e}clearDFA(){this.decisionToDFA=new Array(this.decisionToState.length);for(let t=0;t<this.decisionToDFA.length;t++)this.decisionToDFA[t]=new s.DFA(this.decisionToState[t],t);this.modeToDFA=new Array(this.modeToStartState.length);for(let t=0;t<this.modeToDFA.length;t++)this.modeToDFA[t]=new s.DFA(this.modeToStartState[t]);this.contextCache.clear(),this.LL1Table.clear()}get contextCacheSize(){return this.contextCache.size}getCachedContext(t){return h.PredictionContext.getCachedContext(t,this.contextCache,new h.PredictionContext.IdentityHashMap)}getDecisionToDFA(){return d(null!=this.decisionToDFA&&this.decisionToDFA.length===this.decisionToState.length),this.decisionToDFA}nextTokens(t,e){if(e){return new c.LL1Analyzer(this).LOOK(t,e)}return t.nextTokenWithinRule||(t.nextTokenWithinRule=this.nextTokens(t,h.PredictionContext.EMPTY_LOCAL),t.nextTokenWithinRule.setReadonly(!0)),t.nextTokenWithinRule}addState(t){t.atn=this,t.stateNumber=this.states.length,this.states.push(t)}removeState(t){let e=new l.InvalidState;e.atn=this,e.stateNumber=t.stateNumber,this.states[t.stateNumber]=e}defineMode(t,e){this.modeNameToStartState.set(t,e),this.modeToStartState.push(e),this.modeToDFA.push(new s.DFA(e)),this.defineDecisionState(e)}defineDecisionState(t){return this.decisionToState.push(t),t.decision=this.decisionToState.length-1,this.decisionToDFA.push(new s.DFA(t,t.decision)),t.decision}getDecisionState(t){if(this.decisionToState.length>0)return this.decisionToState[t]}get numberOfDecisions(){return this.decisionToState.length}getExpectedTokens(t,e){if(t<0||t>=this.states.length)throw new RangeError("Invalid state number.");let r=e,n=this.states[t],o=this.nextTokens(n);if(!o.contains(f.Token.EPSILON))return o;let i=new a.IntervalSet;for(i.addAll(o),i.remove(f.Token.EPSILON);null!=r&&r.invokingState>=0&&o.contains(f.Token.EPSILON);){let t=this.states[r.invokingState].transition(0);o=this.nextTokens(t.followState),i.addAll(o),i.remove(f.Token.EPSILON),r=r._parent}return o.contains(f.Token.EPSILON)&&i.add(f.Token.EOF),i}};n([u.NotNull],y.prototype,"states",void 0),n([u.NotNull],y.prototype,"decisionToState",void 0),n([u.NotNull],y.prototype,"modeNameToStartState",void 0),n([u.NotNull],y.prototype,"modeToStartState",void 0),n([u.NotNull],y.prototype,"decisionToDFA",void 0),n([u.NotNull],y.prototype,"modeToDFA",void 0),n([u.NotNull],y.prototype,"nextTokens",null),n([o(0,u.NotNull)],y.prototype,"removeState",null),n([o(0,u.NotNull),o(1,u.NotNull)],y.prototype,"defineMode",null),n([o(0,u.NotNull)],y.prototype,"defineDecisionState",null),n([u.NotNull],y.prototype,"getExpectedTokens",null),y=n([o(0,u.NotNull)],y),e.ATN=y,function(t){t.INVALID_ALT_NUMBER=0}(y=e.ATN||(e.ATN={})),e.ATN=y},8595:function(t,e,r){"use strict";var n=this&&this.__decorate||function(t,e,r,n){var o,i=arguments.length,s=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(s=(i<3?o(s):i>3?o(e,r,s):o(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s}
2,o=this&&this.__param||function(t,e){return function(r,n){e(r,n,t)}};Object.defineProperty(e,"__esModule",{value:!0}),e.ATNConfig=void 0;const i=r(3874),s=r(213),a=r(3943),l=r(8042),c=r(8842),u=r(9767),p=r(1888),h=r(9282),f=2147483648;let d=class t{constructor(t,e,r){"number"==typeof e?(h((16777215&e)===e),this._state=t,this.altAndOuterContextDepth=e,this._context=r):(this._state=t,this.altAndOuterContextDepth=e.altAndOuterContextDepth,this._context=r)}static create(e,r,n,o=p.SemanticContext.NONE,i){return o!==p.SemanticContext.NONE?null!=i?new m(i,o,e,r,n,!1):new y(o,e,r,n):null!=i?new g(i,e,r,n,!1):new t(e,r,n)}get state(){return this._state}get alt(){return 16777215&this.altAndOuterContextDepth}get context(){return this._context}set context(t){this._context=t}get reachesIntoOuterContext(){return 0!==this.outerContextDepth}get outerContextDepth(){return this.altAndOuterContextDepth>>>24&127}set outerContextDepth(t){h(t>=0),t=Math.min(t,127),this.altAndOuterContextDepth=t<<24|(-2130706433&this.altAndOuterContextDepth)>>>0}get lexerActionExecutor(){}get semanticContext(){return p.SemanticContext.NONE}get hasPassedThroughNonGreedyDecision(){return!1}clone(){return this.transform(this.state,!1)}transform(t,e,r){return null==r?this.transformImpl(t,this._context,this.semanticContext,e,this.lexerActionExecutor):r instanceof u.PredictionContext?this.transformImpl(t,r,this.semanticContext,e,this.lexerActionExecutor):r instanceof p.SemanticContext?this.transformImpl(t,this._context,r,e,this.lexerActionExecutor):this.transformImpl(t,this._context,this.semanticContext,e,r)}transformImpl(e,r,n,o,i){let s=o&&t.checkNonGreedyDecision(this,e);return n!==p.SemanticContext.NONE?null!=i||s?new m(i,n,e,this,r,s):new y(n,e,this,r):null!=i||s?new g(i,e,this,r,s):new t(e,this,r)}static checkNonGreedyDecision(t,e){return t.hasPassedThroughNonGreedyDecision||e instanceof s.DecisionState&&e.nonGreedy}appendContext(t,e){if("number"==typeof t){let r=this.context.appendSingleContext(t,e);return this.transform(this.state,!1,r)}{let r=this.context.appendContext(t,e);return this.transform(this.state,!1,r)}}contains(t){if(this.state.stateNumber!==t.state.stateNumber||this.alt!==t.alt||!this.semanticContext.equals(t.semanticContext))return!1;let e=[],r=[];for(e.push(this.context),r.push(t.context);;){let t=e.pop(),n=r.pop();if(!t||!n)break;if(t===n)return!0;if(t.size<n.size)return!1;if(n.isEmpty)return t.hasEmpty;for(let o=0;o<n.size;o++){let i=t.findReturnState(n.getReturnState(o));if(i<0)return!1;e.push(t.getParent(i)),r.push(n.getParent(o))}}return!1}get isPrecedenceFilterSuppressed(){return 0!=(this.altAndOuterContextDepth&f)}set isPrecedenceFilterSuppressed(t){t?this.altAndOuterContextDepth|=f:this.altAndOuterContextDepth&=2147483647}equals(e){return this===e||e instanceof t&&(this.state.stateNumber===e.state.stateNumber&&this.alt===e.alt&&this.reachesIntoOuterContext===e.reachesIntoOuterContext&&this.context.equals(e.context)&&this.semanticContext.equals(e.semanticContext)&&this.isPrecedenceFilterSuppressed===e.isPrecedenceFilterSuppressed&&this.hasPassedThroughNonGreedyDecision===e.hasPassedThroughNonGreedyDecision&&c.ObjectEqualityComparator.INSTANCE.equals(this.lexerActionExecutor,e.lexerActionExecutor))}hashCode(){let t=a.MurmurHash.initialize(7);return t=a.MurmurHash.update(t,this.state.stateNumber),t=a.MurmurHash.update(t,this.alt),t=a.MurmurHash.update(t,this.reachesIntoOuterContext?1:0),t=a.MurmurHash.update(t,this.context),t=a.MurmurHash.update(t,this.semanticContext),t=a.MurmurHash.update(t,this.hasPassedThroughNonGreedyDecision?1:0),t=a.MurmurHash.update(t,this.lexerActionExecutor),t=a.MurmurHash.finish(t,7),t}toDotString(){let t="";t+="digraph G {\n",t+="rankdir=LR;\n";let e=new i.Array2DHashMap(u.PredictionContext.IdentityEqualityComparator.INSTANCE),r=[];function n(t){let n=e.size,o=e.putIfAbsent(t,n);return null!=o?o:(r.push(t),n)}for(r.push(this.context),e.put(this.context,0);;){let e=r.pop();if(!e)break;for(let r=0;r<e.size;r++)t+=" s"+n(e),t+="->",t+="s"+n(e.getParent(r)),t+='[label="'+e.getReturnState(r)+'"];\n'}return t+="}\n",t.toString()}toString(t,e,r){null==r&&(r=null!=e),null==e&&(e=!0);let n,o="";n=r?this.context.toStrings(t,this.state.stateNumber):["?"];let i=!0;for(let s of n)i?i=!1:o+=", ",o+="(",o+=this.state,e&&(o+=",",o+=this.alt),this.context&&(o+=",",o+=s),this.semanticContext!==p.SemanticContext.NONE&&(o+=",",o+=this.semanticContext),this.reachesIntoOuterContext&&(o+=",up="+this.outerContextDepth),o+=")";return o.toString()}};n([l.NotNull],d.prototype,"_state",void 0),n([l.NotNull],d.prototype,"_context",void 0),n([l.NotNull],d.prototype,"state",null),n([l.NotNull,o(0,l.NotNull)],d.prototype,"context",null),n([l.NotNull],d.prototype,"semanticContext",null),n([l.Override],d.prototype,"clone",null),n([o(0,l.NotNull),o(2,l.NotNull)],d.prototype,"transformImpl",null),n([l.Override],d.prototype,"equals",null),n([l.Override],d.prototype,"hashCode",null),n([o(0,l.NotNull),o(3,l.NotNull)],d,"create",null),d=n([o(0,l.NotNull),o(2,l.NotNull)],d),e.ATNConfig=d;let y=class extends d{constructor(t,e,r,n){super(e,r,n),this._semanticContext=t}get semanticContext(){return this._semanticContext}};n([l.NotNull],y.prototype,"_semanticContext",void 0),n([l.Override],y.prototype,"semanticContext",null),y=n([o(1,l.NotNull),o(2,l.NotNull)],y);let g=class extends d{constructor(t,e,r,n,o){if("number"==typeof r)super(e,r,n);else if(super(e,r,n),r.semanticContext!==p.SemanticContext.NONE)throw new Error("Not supported");this._lexerActionExecutor=t,this.passedThroughNonGreedyDecision=o}get lexerActionExecutor(){return this._lexerActionExecutor}get hasPassedThroughNonGreedyDecision(){return this.passedThroughNonGreedyDecision}};n([l.Override],g.prototype,"lexerActionExecutor",null),n([l.Override],g.prototype,"hasPassedThroughNonGreedyDecision",
2null),g=n([o(1,l.NotNull),o(2,l.NotNull)],g);let m=class extends y{constructor(t,e,r,n,o,i){super(e,r,n,o),this._lexerActionExecutor=t,this.passedThroughNonGreedyDecision=i}get lexerActionExecutor(){return this._lexerActionExecutor}get hasPassedThroughNonGreedyDecision(){return this.passedThroughNonGreedyDecision}};n([l.Override],m.prototype,"lexerActionExecutor",null),n([l.Override],m.prototype,"hasPassedThroughNonGreedyDecision",null),m=n([o(1,l.NotNull),o(2,l.NotNull)],m)},7176:function(t,e,r){"use strict";var n=this&&this.__decorate||function(t,e,r,n){var o,i=arguments.length,s=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(s=(i<3?o(s):i>3?o(e,r,s):o(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s};Object.defineProperty(e,"__esModule",{value:!0}),e.ATNConfigSet=void 0;const o=r(3874),i=r(9026),s=r(5192),a=r(7949),l=r(8595),c=r(5280),u=r(8042),p=r(8842),h=r(9767),f=r(604),d=r(1888),y=r(9282),g=r(5103);class m{hashCode(t){return t.state^t.alt}equals(t,e){return t.state===e.state&&t.alt===e.alt}}function _(t){return t?new o.Array2DHashMap(t):new o.Array2DHashMap(m.INSTANCE)}m.INSTANCE=new m;class v{constructor(t,e){this._uniqueAlt=0,this._hasSemanticContext=!1,this._dipsIntoOuterContext=!1,this.outermostConfigSet
2=!1,this.cachedHashCode=-1,t?(e?(this.mergedConfigs=void 0,this.unmerged=void 0):t.isReadOnly?(this.mergedConfigs=_(),this.unmerged=[]):(this.mergedConfigs=_(t.mergedConfigs),this.unmerged=t.unmerged.slice(0)),this.configs=t.configs.slice(0),this._dipsIntoOuterContext=t._dipsIntoOuterContext,this._hasSemanticContext=t._hasSemanticContext,this.outermostConfigSet=t.outermostConfigSet,!e&&t.isReadOnly||(this._uniqueAlt=t._uniqueAlt,this._conflictInfo=t._conflictInfo)):(this.mergedConfigs=_(),this.unmerged=[],this.configs=[],this._uniqueAlt=a.ATN.INVALID_ALT_NUMBER)}getRepresentedAlternatives(){if(null!=this._conflictInfo)return this._conflictInfo.conflictedAlts.clone();let t=new c.BitSet;for(let e of this)t.set(e.alt);return t}get isReadOnly(){return null==this.mergedConfigs}get isOutermostConfigSet(){return this.outermostConfigSet}set isOutermostConfigSet(t){if(this.outermostConfigSet&&!t)throw new Error("IllegalStateException");y(!t||!this._dipsIntoOuterContext),this.outermostConfigSet=t}getStates(){let t=new i.Array2DHashSet(p.ObjectEqualityComparator.INSTANCE);for(let e of this.configs)t.add(e.state);return t}optimizeConfigs(t){if(0!==this.configs.length)for(let e of this.configs)e.context=t.atn.getCachedContext(e.context)}clone(t){let e=new v(this,t);return!t&&this.isReadOnly&&e.addAll(this.configs),e}get size(){return this.configs.length}get isEmpty(){return 0===this.configs.length}contains(t){if(!(t instanceof l.ATNConfig))return!1;if(this.mergedConfigs&&this.unmerged){let e=t,r=this.getKey(e),n=this.mergedConfigs.get(r);if(null!=n&&this.canMerge(e,r,n))return n.contains(e);for(let o of this.unmerged)if(o.contains(t))return!0}else for(let e of this.configs)if(e.contains(t))return!0;return!1}*[Symbol.iterator](){yield*this.configs}toArray(){return this.configs}add(t,e){if(this.ensureWritable(),!this.mergedConfigs||!this.unmerged)throw new Error("Covered by ensureWritable but duplicated here for strict null check limitation");let r;y(!this.outermostConfigSet||!t.reachesIntoOuterContext),null==e&&(e=f.PredictionContextCache.UNCACHED);let n=this.getKey(t),o=this.mergedConfigs.get(n);if(r=null==o,null!=o&&this.canMerge(t,n,o)){o.outerContextDepth=Math.max(o.outerContextDepth,t.outerContextDepth),t.isPrecedenceFilterSuppressed&&(o.isPrecedenceFilterSuppressed=!0);let r=h.PredictionContext.join(o.context,t.context,e);return this.updatePropertiesForMergedConfig(t),o.context===r?!1:(o.context=r,!0)}for(let i=0;i<this.unmerged.length;i++){let o=this.unmerged[i];if(this.canMerge(t,n,o)){o.outerContextDepth=Math.max(o.outerContextDepth,t.outerContextDepth),t.isPrecedenceFilterSuppressed&&(o.isPrecedenceFilterSuppressed=!0);let s=h.PredictionContext.join(o.context,t.context,e);return this.updatePropertiesForMergedConfig(t),o.context===s?!1:(o.context=s,r&&(this.mergedConfigs.put(n,o),this.unmerged.splice(i,1)),!0)}}return this.configs.push(t),r?this.mergedConfigs.put(n,t):this.unmerged.push(t),this.updatePropertiesForAddedConfig(t),!0}updatePropertiesForMergedConfig(t){this._dipsIntoOuterContext=this._dipsIntoOuterContext||t.reachesIntoOuterContext,y(!this.outermostConfigSet||!this._dipsIntoOuterContext)}updatePropertiesForAddedConfig(t){1===this.configs.length?this._uniqueAlt=t.alt:this._uniqueAlt!==t.alt&&(this._uniqueAlt=a.ATN.INVALID_ALT_NUMBER),this._hasSemanticContext=this._hasSemanticContext||!d.SemanticContext.NONE.equals(t.semanticContext),this._dipsIntoOuterContext=this._dipsIntoOuterContext||t.reachesIntoOuterContext,y(!this.outermostConfigSet||!this._dipsIntoOuterContext)}canMerge(t,e,r){return t.state.stateNumber===r.state.stateNumber&&(e.alt===r.alt&&t.semanticContext.equals(r.semanticContext))}getKey(t){return{state:t.state.stateNumber,alt:t.alt}}containsAll(t){for(let e of t){if(!(e instanceof l.ATNConfig))return!1;if(!this.contains(e))return!1}return!0}addAll(t,e){this.ensureWritable();let r=!1;for(let n of t)this.add(n,e)&&(r=!0);return r}clear(){if(this.ensureWritable(),!this.mergedConfigs||!this.unmerged)throw new Error("Covered by ensureWritable but duplicated here for strict null check limitation");this.mergedConfigs.clear(),this.unmerged.length=0,this.configs.length=0,this._dipsIntoOuterContext=!1,this._hasSemanticContext=!1,this._uniqueAlt=a.ATN.INVALID_ALT_NUMBER,this._conflictInfo=void 0}equals(t){return this===t||t instanceof v&&(this.outermostConfigSet
2===t.outermostConfigSet&&g.equals(this._conflictInfo,t._conflictInfo)&&s.ArrayEqualityComparator.INSTANCE.equals(this.configs,t.configs))}hashCode(){if(this.isReadOnly&&-1!==this.cachedHashCode)return this.cachedHashCode;let t=1;return t=5*t^(this.outermostConfigSet?1:0),t=5*t^s.ArrayEqualityComparator.INSTANCE.hashCode(this.configs),this.isReadOnly&&(this.cachedHashCode=t),t}toString(t){null==t&&(t=!1);let e="",r=this.configs.slice(0);r.sort(((t,e)=>t.alt!==e.alt?t.alt-e.alt:t.state.stateNumber!==e.state.stateNumber?t.state.stateNumber-e.state.stateNumber:t.semanticContext.toString().localeCompare(e.semanticContext.toString()))),e+="[";for(let n=0;n<r.length;n++)n>0&&(e+=", "),e+=r[n].toString(void 0,!0,t);return e+="]",this._hasSemanticContext&&(e+=",hasSemanticContext="+this._hasSemanticContext),this._uniqueAlt!==a.ATN.INVALID_ALT_NUMBER&&(e+=",uniqueAlt="+this._uniqueAlt),null!=this._conflictInfo&&(e+=",conflictingAlts="+this._conflictInfo.conflictedAlts,this._conflictInfo.isExact||(e+="*")),this._dipsIntoOuterContext&&(e+=",dipsIntoOuterContext"),e.toString()}get uniqueAlt(){return this._uniqueAlt}get hasSemanticContext(){return this._hasSemanticContext}set hasSemanticContext(t){this.ensureWritable(),this._hasSemanticContext=t}get conflictInfo(){return this._conflictInfo}set conflictInfo(t){this.ensureWritable(),this._conflictInfo=t}get conflictingAlts(){if(null!=this._conflictInfo)return this._conflictInfo.conflictedAlts}get isExactConflict(){return null!=this._conflictInfo&&this._conflictInfo.isExact}get dipsIntoOuterContext(){return this._dipsIntoOuterContext}get(t){return this.configs[t]}ensureWritable(){if(this.isReadOnly)throw new Error("This ATNConfigSet is read only.")}}n([u.NotNull],v.prototype,"getRepresentedAlternatives",null),n([u.Override],v.prototype,"size",null),n([u.Override],v.prototype,"isEmpty",null),n([u.Override],v.prototype,"contains",null),n([u.Override],v.prototype,Symbol.iterator,null),n([u.Override],v.prototype,"toArray",null),n([u.Override],v.prototype,"containsAll",null),n([u.Override],v.prototype,"clear",null),n([u.Override],v.prototype,"equals",null),n([u.Override],v.prototype,"hashCode",null),e.ATNConfigSet=v},9704:function(t,e,r){"use strict";var n=this&&this.__decorate||function(t,e,r,n){var o,i=arguments.length,s=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(s=(i<3?o(s):i>3?o(e,r,s):o(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s};Object.defineProperty(e,"__esModule",{value:!0}),e.ATNDeserializationOptions=void 0;const o=r(8042);class i{constructor(t){this.readOnly=!1,t?(this.verifyATN=t.verifyATN,this.generateRuleBypassTransitions=t.generateRuleBypassTransitions,this.optimize=t.optimize):(this.verifyATN=!0,this.generateRuleBypassTransitions=!1,this.optimize=!0)}static get defaultOptions(){return null==i._defaultOptions&&(i._defaultOptions=new i,i._defaultOptions.makeReadOnly()),i._defaultOptions}get isReadOnly(){return this.readOnly}makeReadOnly(){this.readOnly=!0}get isVerifyATN(){return this.verifyATN}set isVerifyATN(t){this.throwIfReadOnly(),this.verifyATN=t}get isGenerateRuleBypassTransitions(){return this.generateRuleBypassTransitions}set isGenerateRuleBypassTransitions(t){this.throwIfReadOnly(),this.generateRuleBypassTransitions=t}get isOptimize(){return this.optimize}set isOptimize(t){this.throwIfReadOnly(),this.optimize=t}throwIfReadOnly(){if(this.isReadOnly)throw new Error("The object is read only.")}}n([o.NotNull],i,"defaultOptions",null),e.ATNDeserializationOptions=i},9963:function(t,e,r){"use strict";var n=this&&this.__decorate||function(t,e,r,n){var o,i=arguments.length,s=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(s=(i<3?o(s):i>3?o(e,r,s):o(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},o=this&&this.__param||function(t,e){return function(r,n){e(r,n,t)}};
2Object.defineProperty(e,"__esModule",{value:!0}),e.ATNDeserializer=void 0;const i=r(212),s=r(9026),a=r(7949),l=r(9704),c=r(4700),u=r(4389),p=r(9291),h=r(4743),f=r(5280),d=r(3374),y=r(4136),g=r(213),m=r(7055),_=r(628),v=r(4405),S=r(4834),O=r(8363),N=r(614),b=r(8525),x=r(4222),T=r(3642),E=r(9917),A=r(3609),C=r(5834),P=r(4068),I=r(8042),R=r(3973),w=r(4584),k=r(4604),L=r(8080),j=r(4649),D=r(3233),M=r(2751),F=r(6557),z=r(5337),U=r(4704),B=r(6765),q=r(1069),H=r(8303),V=r(7165),Y=r(4966),G=r(5223),W=r(4117),K=r(8844);var $;!function(t){t[t.UNICODE_BMP=0]="UNICODE_BMP",t[t.UNICODE_SMP=1]="UNICODE_SMP"}($||($={}));class Q{constructor(t){void 0===t&&(t=l.ATNDeserializationOptions.defaultOptions),this.deserializationOptions=t}static get SERIALIZED_VERSION(){return 3}static isFeatureSupported(t,e){let r=Q.SUPPORTED_UUIDS.findIndex((e=>e.equals(t)));return!(r<0)&&Q.SUPPORTED_UUIDS.findIndex((t=>t.equals(e)))>=r}static getUnicodeDeserializer(t){return 0===t?{readUnicode:(t,e)=>Q.toInt(t[e]),size:1}:{readUnicode:(t,e)=>Q.toInt32(t,e),size:2}}deserialize(t){t=t.slice(0);for(let i=1;i<t.length;i++)t[i]=t[i]-2&65535;let e=0,r=Q.toInt(t[e++]);if(r!==Q.SERIALIZED_VERSION){let t=`Could not deserialize ATN with version ${r} (expected ${Q.SERIALIZED_VERSION}).`;throw new Error(t)}let n=Q.toUUID(t,e);if(e+=8,Q.SUPPORTED_UUIDS.findIndex((t=>t.equals(n)))<0){let t=`Could not deserialize ATN with UUID ${n} (expected ${Q.SERIALIZED_UUID} or a legacy UUID).`;throw new Error(t)}let o=Q.isFeatureSupported(Q.ADDED_LEXER_ACTIONS,n),l=Q.toInt(t[e++]),f=Q.toInt(t[e++]),g=new a.ATN(l,f),v=[],O=[],b=Q.toInt(t[e++]);for(let i=0;i<b;i++){let r=Q.toInt(t[e++]);if(r===c.ATNStateType.INVALID_TYPE){g.addState(new S.InvalidState);continue}let n=Q.toInt(t[e++]);65535===n&&(n=-1);let o=this.stateFactory(r,n);if(r===c.ATNStateType.LOOP_END){let r=Q.toInt(t[e++]);v.push([o,r])}else if(o instanceof y.BlockStartState){let r=Q.toInt(t[e++]);O.push([o,r])}g.addState(o)}for(let i of v)i[0].loopBackState=g.states[i[1]];for(let i of O)i[0].endState=g.states[i[1]];let x=Q.toInt(t[e++]);for(let i=0;i<x;i++){let r=Q.toInt(t[e++]);g.states[r].nonGreedy=!0}let T=Q.toInt(t[e++]);for(let i=0;i<T;i++){let r=Q.toInt(t[e++]);g.states[r].sll=!0}let E=Q.toInt(t[e++]);for(let i=0;i<E;i++){let r=Q.toInt(t[e++]);g.states[r].isPrecedenceRule=!0}let A=Q.toInt(t[e++]);0===g.grammarType&&(g.ruleToTokenType=new Int32Array(A)),g.ruleToStartState=new Array(A);for(let i=0;i<A;i++){let r=Q.toInt(t[e++]),o=g.states[r];if(o.leftFactored=0!==Q.toInt(t[e++]),g.ruleToStartState[i]=o,0===g.grammarType){let r=Q.toInt(t[e++]);if(65535===r&&(r=Y.Token.EOF),g.ruleToTokenType[i]=r,!Q.isFeatureSupported(Q.ADDED_LEXER_ACTIONS,n)){let r=Q.toInt(t[e++]);65535===r&&(r=-1)}}}g.ruleToStopState=new Array(A);for(let i of g.states)i instanceof z.RuleStopState&&(g.ruleToStopState[i.ruleIndex]=i,g.ruleToStartState[i.ruleIndex].stopState=i);let C=Q.toInt(t[e++]);for(let i=0;i<C;i++){let r=Q.toInt(t[e++]);g.modeToStartState.push(g.states[r])}g.modeToDFA=new Array(C);for(let i=0;i<C;i++)g.modeToDFA[i]=new m.DFA(g.modeToStartState[i]);let I=[];e=this.deserializeSets(t,e,I,Q.getUnicodeDeserializer(0)),Q.isFeatureSupported(Q.ADDED_UNICODE_SMP,n)&&(e=this.deserializeSets(t,e,I,Q.getUnicodeDeserializer(1)));let R=Q.toInt(t[e++]);for(let i=0;i<R;i++){let r=Q.toInt(t[e]),n=Q.toInt(t[e+1]),o=Q.toInt(t[e+2]),i=Q.toInt(t[e+3]),s=Q.toInt(t[e+4]),a=Q.toInt(t[e+5]),l=this.edgeFactory(g,o,r,n,i,s,a,I);g.states[r].addTransition(l),e+=6}let w=new s.Array2DHashSet({hashCode:t=>t.stopState^t.returnState^t.outermostPrecedenceReturn,equals:(t,e)=>t.stopState===e.stopState&&t.returnState===e.returnState&&t.outermostPrecedenceReturn===e.outermostPrecedenceReturn}),j=[];for(let i of g.states){let t=i.ruleIndex>=0&&g.ruleToStartState[i.ruleIndex].leftFactored;for(let e=0;e<i.numberOfTransitions;e++){let r=i.transition(e);if(!(r instanceof U.RuleTransition))continue;let n=r;if(!g.ruleToStartState[n.target.ruleIndex].leftFactored&&t)continue;let o=-1;g.ruleToStartState[n.target.ruleIndex].isPrecedenceRule&&0===n.precedence&&(o=n.target.ruleIndex);let s={stopState:n.target.ruleIndex,returnState:n.followState.stateNumber,outermostPrecedenceReturn:o};w.add(s)&&j.push(s)}}for(let i of j){let t=new _.EpsilonTransition(g.states[i.returnState],i.outermostPrecedenceReturn);g.ruleToStopState[i.stopState].addTransition(t)}for(let i of g.states){if(i instanceof y.BlockStartState){if(void 0===i.endState)throw new Error("IllegalStateException");if(void 0!==i.endState.startState)throw new Error("IllegalStateException");i.endState.startState=i}if(i instanceof L.PlusLoopbackState){let t=i;for(let e=0;e<t.numberOfTransitions;e++){let r=t.transition(e).target;r instanceof k.PlusBlockStartState&&(r.loopBackState=t)}}else if(i instanceof H.StarLoopbackState){let t=i;for(let e=0;e<t.numberOfTransitions;e++){let r=t.transition(e).target;r instanceof V.StarLoopEntryState&&(r.loopBackState=t)}}}let D=Q.toInt(t[e++]);for(let i=1;i<=D;i++){let r=Q.toInt(t[e++]),n=g.states[r];g.decisionToState.push(n),n.decision=i-1}if(0===g.grammarType)if(o){g.lexerActions=new Array(Q.toInt(t[e++]));for(let r=0;r<g.lexerActions.length;r++){let n=Q.toInt(t[e++]),o=Q.toInt(t[e++]);65535===o&&(o=-1);let i=Q.toInt(t[e++]);65535===i&&(i=-1);let s=this.lexerActionFactory(n,o,i);g.lexerActions[r]=s}}else{let t=[];for(let e of g.states)for(let r=0;r<e.numberOfTransitions;r++){let n=e.transition(r);if(!(n instanceof i.ActionTransition))continue;let o=n.ruleIndex,s=n.actionIndex,a=new N.LexerCustomAction(o,s);e.setTransition(r,new i.ActionTransition(n.target,o,t.length,!1)),t.push(a)}g.lexerActions=t}this.markPrecedenceDecisions(g),g.decisionToDFA=new Array(D);for(let i=0;i<D;i++)g.decisionToDFA[i]=new m.DFA(g.decisionToState[i],i);if(this.deserializationOptions.isVerifyATN&&this.verifyATN(g),this.deserializationOptions.isGenerateRuleBypassTransitions&&1===g.grammarType){g.ruleToTokenType=new Int32Array(g.ruleToStartState.length);for(let t=0;t<g.ruleToStartState.length;t++)g.ruleToTokenType[t]=g.maxTokenType+t+1;for(let t=0;t<g.ruleToStartState.length;t++){let e=new p.BasicBlockStartState;e.ruleIndex=t,g.addState(e);let r,n,o=new d.BlockEndState;if(o.ruleIndex=t,g.addState(o),e.endState=o,g.defineDecisionState(e),o.startState=e,g.ruleToStartState[t].isPrecedenceRule){r=void 0;for(let e of g.states){if(e.ruleIndex!==t)continue;if(!(e instanceof V.StarLoopEntryState))continue;let n=e.transition(e.numberOfTransitions-1).target;if(n instanceof P.LoopEndState&&(n.epsilonOnlyTransitions&&n.transition(0).target instanceof z.RuleStopState)){r=e;break}}if(!r)throw new Error("Couldn't identify final state of the precedence rule prefix section.");n=r.loopBackState.transition(0)}else r=g.ruleToStopState[t];for(let t of g.states)for(let e=0;e<t.numberOfTransitions;e++){let i=t.transition(e);i!==n&&(i.target===r&&(i.target=o))}for(;g.ruleToStartState[t].numberOfTransitions>0;){let r=g.ruleToStartState[t].removeTransition(g.ruleToStartState[t].numberOfTransitions-1);e.addTransition(r)}g.ruleToStartState[t].addTransition(new _.EpsilonTransition(e)),o.addTransition(new _.EpsilonTransition(r));let i=new h.BasicState;g.addState(i),i.addTransition(new u.AtomTransition(o,g.ruleToTokenType[t])),e.addTransition(new _.EpsilonTransition(i))}this.deserializationOptions.isVerifyATN&&this.verifyATN(g)}if(this.deserializationOptions.isOptimize){for(;;){let t=0;t+=Q.inlineSetRules(g),t+=Q.combineChainedEpsilons(g);let e=0===g.grammarType;if(t+=Q.optimizeSets(g,e),0===t)break}this.deserializationOptions.isVerifyATN&&this.verifyATN(g)}return Q.identifyTailCalls(g),g}deserializeSets(t,e,r,n){let o=Q.toInt(t[e++]);for(let i=0;i<o;i++){let o=Q.toInt(t[e]);e++;let i=new v.IntervalSet;r.push(i),0!==Q.toInt(t[e++])&&i.add(-1);for(let r=0;r<o;r++){let r=n.readUnicode(t,e);e+=n.size;let o=n.readUnicode(t,e);e+=n.size,i.add(r,o)}}return e}markPrecedenceDecisions(t){let e=new Map;for(let r of t.states)if(r instanceof V.StarLoopEntryState&&t.ruleToStartState[r.ruleIndex].isPrecedenceRule){let n=r.transition(r.numberOfTransitions-1).target;n instanceof P.LoopEndState&&n.epsilonOnlyTransitions&&n.transition(0).target instanceof z.RuleStopState&&(e.set(r.ruleIndex,r),r.precedenceRuleDecision=!0,r.precedenceLoopbackStates=new f.BitSet(t.states.length))}for(let r of e)for(let e of t.ruleToStopState[r[0]].getTransitions()){if(1!==e.serializationType)continue;-1===e.outermostPrecedenceReturn&&r[1].precedenceLoopbackStates.set(e.target.stateNumber)}}verifyATN(t){for(let e of t.states)if(this.checkCondition(void 0!==e,"ATN states should not be undefined."),e.stateType!==c.ATNStateType.INVALID_TYPE){if(this.checkCondition(e.onlyHasEpsilonTransitions||e.numberOfTransitions<=1),e instanceof k.PlusBlockStartState&&this.checkCondition(void 0!==e.loopBackState),e instanceof V.StarLoopEntryState){let t=e;if(this.checkCondition(void 0!==t.loopBackState),this.checkCondition(2===t.numberOfTransitions),t.transition(0).target instanceof q.StarBlockStartState)this.checkCondition(t.transition(1).target instanceof P.LoopEndState),this.checkCondition(!t.nonGreedy);else{if(!(t.transition(0).target instanceof P.LoopEndState))throw new Error("IllegalStateException");this.checkCondition(t.transition(1).target instanceof q.StarBlockStartState),this.checkCondition(t.nonGreedy)}}if(e instanceof H.StarLoopbackState&&(this.checkCondition(1===e.numberOfTransitions),this.checkCondition(e.transition(0).target instanceof V.StarLoopEntryState)),e instanceof P.LoopEndState&&this.checkCondition(void 0!==e.loopBackState),e instanceof F.RuleStartState&&this.checkCondition(void 0!==e.stopState),e instanceof y.BlockStartState&&this.checkCondition(void 0!==e.endState),e instanceof d.BlockEndState&&this.checkCondition(void 0!==e.startState),e instanceof g.DecisionState){let t=e;this.checkCondition(t.numberOfTransitions<=1||t.decision>=0)}else this.checkCondition(e.numberOfTransitions<=1||e instanceof z.RuleStopState)}}checkCondition(t,e){if(!t)throw new Error("IllegalStateException: "+e)}static inlineSetRules(t){let e=0,r=new Array(t.ruleToStartState.length);for(let n=0;n<t.ruleToStartState.length;n++){let e=t.ruleToStartState[n];for(;e.onlyHasEpsilonTransitions&&1===e.numberOfOptimizedTransitions&&1===e.getOptimizedTransition(0).serializationType;)e=e.getOptimizedTransition(0).target;if(1!==e.numberOfOptimizedTransitions)continue;let o=e.getOptimizedTransition(0),i=o.target;if(!o.isEpsilon&&i.onlyHasEpsilonTransitions&&1===i.numberOfOptimizedTransitions&&i.getOptimizedTransition(0).target instanceof z.RuleStopState)switch(o.serializationType){case 5:case 2:case 7:r[n]=o;break;default:continue}}for(let n of t.states){if(n.ruleIndex<0)continue;let o;for(let i=0;i<n.numberOfOptimizedTransitions;i++){let s=n.getOptimizedTransition(i);if(!(s instanceof U.RuleTransition)){void 0!==o&&o.push(s);continue}let a=s,l=r[a.target.ruleIndex];if(void 0===l){void 0!==o&&o.push(s);continue}if(void 0===o){o=[];for(let t=0;t<i;t++)o.push(n.getOptimizedTransition(i))}e++;let c=a.followState,p=new h.BasicState;switch(p.setRuleIndex(c.ruleIndex),t.addState(p),o.push(new _.EpsilonTransition(p)),l.serializationType){case 5:p.addTransition(new u.AtomTransition(c,l._label));break;case 2:p.addTransition(new M.RangeTransition(c,l.from,l.to));break;case 7:p.addTransition(new B.SetTransition(c,l.label));break;default:throw new Error("UnsupportedOperationException")}}if(void 0!==o){if(n.isOptimized)for(;n.numberOfOptimizedTransitions>0;)n.removeOptimizedTransition(n.numberOfOptimizedTransitions-1);for(let t of o)n.addOptimizedTransition(t)}}return w.ParserATNSimulator.debug&&console.log("ATN runtime optimizer removed "+e+" rule invocations by inlining sets."),e}static combineChainedEpsilons(t){let e=0;for(let r of t.states){if(!r.onlyHasEpsilonTransitions||r instanceof z.RuleStopState)continue;let t;t:for(let n=0;n<r.numberOfOptimizedTransitions;n++){let o=r.getOptimizedTransition(n),i=o.target;if(1===o.serializationType&&-1===o.outermostPrecedenceReturn&&i.stateType===c.ATNStateType.BASIC&&i.onlyHasEpsilonTransitions){for(let e=0;e<i.numberOfOptimizedTransitions;e++)if(1!==i.getOptimizedTransition(e).serializationType||-1!==i.getOptimizedTransition(e).outermostPrecedenceReturn){void 0!==t&&t.push(o);continue t}if(e++,void 0===t){t=[];for(let e=0;e<n;e++)t.push(r.getOptimizedTransition(e))}for(let e=0;e<i.numberOfOptimizedTransitions;e++){let r=i.getOptimizedTransition(e).target;t.push(new _.EpsilonTransition(r))}}else void 0!==t&&t.push(o)}if(void 0!==t){if(r.isOptimized)for(;r.numberOfOptimizedTransitions>0;)r.removeOptimizedTransition(r.numberOfOptimizedTransitions-1);for(let e of t)r.addOptimizedTransition(e)}}return w.ParserATNSimulator.debug&&console.log("ATN runtime optimizer removed "+e+" transitions by combining chained epsilon transitions."),e}static optimizeSets(t,e){if(e)return 0;let r=0,n=t.decisionToState;for(let o of n){let e=new v.IntervalSet;for(let t=0;t<o.numberOfOptimizedTransitions;t++){let r=o.getOptimizedTransition(t);
2if(!(r instanceof _.EpsilonTransition))continue;if(1!==r.target.numberOfOptimizedTransitions)continue;let n=r.target.getOptimizedTransition(0);n.target instanceof d.BlockEndState&&(n instanceof R.NotSetTransition||(n instanceof u.AtomTransition||n instanceof M.RangeTransition||n instanceof B.SetTransition)&&e.add(t))}if(e.size<=1)continue;let n=[];for(let t=0;t<o.numberOfOptimizedTransitions;t++)e.contains(t)||n.push(o.getOptimizedTransition(t));let i,s=o.getOptimizedTransition(e.minElement).target.getOptimizedTransition(0).target,a=new v.IntervalSet;for(let t of e.intervals)for(let e=t.a;e<=t.b;e++){let t=o.getOptimizedTransition(e).target.getOptimizedTransition(0);if(t instanceof R.NotSetTransition)throw new Error("Not yet implemented.");a.addAll(t.label)}if(1===a.intervals.length)if(1===a.size)i=new u.AtomTransition(s,a.minElement);else{let t=a.intervals[0];i=new M.RangeTransition(s,t.a,t.b)}else i=new B.SetTransition(s,a);let l=new h.BasicState;if(l.setRuleIndex(o.ruleIndex),t.addState(l),l.addTransition(i),n.push(new _.EpsilonTransition(l)),r+=o.numberOfOptimizedTransitions-n.length,o.isOptimized)for(;o.numberOfOptimizedTransitions>0;)o.removeOptimizedTransition(o.numberOfOptimizedTransitions-1);for(let t of n)o.addOptimizedTransition(t)}return w.ParserATNSimulator.debug&&console.log("ATN runtime optimizer removed "+r+" paths by collapsing sets."),r}static identifyTailCalls(t){for(let e of t.states){for(let r=0;r<e.numberOfTransitions;r++){let n=e.transition(r);n instanceof U.RuleTransition&&(n.tailCall=this.testTailCall(t,n,!1),n.optimizedTailCall=this.testTailCall(t,n,!0))}if(e.isOptimized)for(let r=0;r<e.numberOfOptimizedTransitions;r++){let n=e.getOptimizedTransition(r);n instanceof U.RuleTransition&&(n.tailCall=this.testTailCall(t,n,!1),n.optimizedTailCall=this.testTailCall(t,n,!0))}}}static testTailCall(t,e,r){if(!r&&e.tailCall)return!0;if(r&&e.optimizedTailCall)return!0;let n=new f.BitSet(t.states.length),o=[];for(o.push(e.followState);;){let t=o.pop();if(!t)break;if(n.get(t.stateNumber))continue;if(t instanceof z.RuleStopState)continue;if(!t.onlyHasEpsilonTransitions)return!1;let e=r?t.numberOfOptimizedTransitions:t.numberOfTransitions;for(let n=0;n<e;n++){let e=r?t.getOptimizedTransition(n):t.transition(n);if(1!==e.serializationType)return!1;o.push(e.target)}}return!0}static toInt(t){return t}static toInt32(t,e){return(t[e]|t[e+1]<<16)>>>0}static toUUID(t,e){let r=Q.toInt32(t,e),n=Q.toInt32(t,e+2),o=Q.toInt32(t,e+4),i=Q.toInt32(t,e+6);return new W.UUID(i,o,n,r)}edgeFactory(t,e,r,n,o,s,a,l){let c=t.states[n];switch(e){case 1:return new _.EpsilonTransition(c);case 2:return 0!==a?new M.RangeTransition(c,Y.Token.EOF,s):new M.RangeTransition(c,o,s);case 3:return new U.RuleTransition(t.states[o],s,a,c);case 4:return new D.PredicateTransition(c,o,s,0!==a);case 10:return new j.PrecedencePredicateTransition(c,o);case 5:return 0!==a?new u.AtomTransition(c,Y.Token.EOF):new u.AtomTransition(c,o);case 6:return new i.ActionTransition(c,o,s,0!==a);case 7:return new B.SetTransition(c,l[o]);case 8:return new R.NotSetTransition(c,l[o]);case 9:return new K.WildcardTransition(c)}throw new Error("The specified transition type is not valid.")}stateFactory(t,e){let r;switch(t){case c.ATNStateType.INVALID_TYPE:return new S.InvalidState;case c.ATNStateType.BASIC:r=new h.BasicState;break;case c.ATNStateType.RULE_START:r=new F.RuleStartState;break;case c.ATNStateType.BLOCK_START:r=new p.BasicBlockStartState;break;case c.ATNStateType.PLUS_BLOCK_START:r=new k.PlusBlockStartState;break;case c.ATNStateType.STAR_BLOCK_START:r=new q.StarBlockStartState;break;case c.ATNStateType.TOKEN_START:r=new G.TokensStartState;break;case c.ATNStateType.RULE_STOP:r=new z.RuleStopState;break;case c.ATNStateType.BLOCK_END:r=new d.BlockEndState;break;case c.ATNStateType.STAR_LOOP_BACK:r=new H.StarLoopbackState;break;case c.ATNStateType.STAR_LOOP_ENTRY:r=new V.StarLoopEntryState;break;case c.ATNStateType.PLUS_LOOP_BACK:r=new L.PlusLoopbackState;break;case c.ATNStateType.LOOP_END:r=new P.LoopEndState;break;default:throw new Error(`The specified state type ${t}
2 is not valid.`)}return r.ruleIndex=e,r}lexerActionFactory(t,e,r){switch(t){case 0:return new O.LexerChannelAction(e);case 1:return new N.LexerCustomAction(e,r);case 2:return new b.LexerModeAction(e);case 3:return x.LexerMoreAction.INSTANCE;case 4:return T.LexerPopModeAction.INSTANCE;case 5:return new E.LexerPushModeAction(e);case 6:return A.LexerSkipAction.INSTANCE;case 7:return new C.LexerTypeAction(e);default:throw new Error(`The specified lexer action type ${t} is not valid.`)}}}Q.BASE_SERIALIZED_UUID=W.UUID.fromString("E4178468-DF95-44D0-AD87-F22A5D5FB6D3"),Q.ADDED_LEXER_ACTIONS=W.UUID.fromString("AB35191A-1603-487E-B75A-479B831EAF6D"),Q.ADDED_UNICODE_SMP=W.UUID.fromString("C23FEA89-0605-4f51-AFB8-058BCAB8C91B"),Q.SUPPORTED_UUIDS=[Q.BASE_SERIALIZED_UUID,Q.ADDED_LEXER_ACTIONS,Q.ADDED_UNICODE_SMP],Q.SERIALIZED_UUID=Q.ADDED_UNICODE_SMP,n([I.NotNull],Q.prototype,"deserializationOptions",void 0),n([o(0,I.NotNull)],Q.prototype,"deserialize",null),n([o(0,I.NotNull)],Q.prototype,"markPrecedenceDecisions",null),n([I.NotNull,o(0,I.NotNull)],Q.prototype,"edgeFactory",null),e.ATNDeserializer=Q},7643:function(t,e,r){"use strict";var n=this&&this.__decorate||function(t,e,r,n){var o,i=arguments.length,s=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(s=(i<3?o(s):i>3?o(e,r,s):o(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},o=this&&this.__param||function(t,e){return function(r,n){e(r,n,t)}};Object.defineProperty(e,"__esModule",{value:!0}),e.ATNSimulator=void 0;const i=r(7176),s=r(1186),a=r(8042),l=r(9767);let c=class t{constructor(t){this.atn=t}static get ERROR(){return t._ERROR||(t._ERROR=new s.DFAState(new i.ATNConfigSet),t._ERROR.stateNumber=l.PredictionContext.EMPTY_FULL_STATE_KEY),t._ERROR}clearDFA(){this.atn.clearDFA()}};n([a.NotNull],c.prototype,"atn",void 0),n([a.NotNull],c,"ERROR",null),c=n([o(0,a.NotNull)],c),e.ATNSimulator=c,c=e.ATNSimulator||(e.ATNSimulator={}),e.ATNSimulator=c},3269:function(t,e,r){"use strict";var n=this&&this.__decorate||function(t,e,r,n){var o,i=arguments.length,s=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(s=(i<3?o(s):i>3?o(e,r,s):o(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s};Object.defineProperty(e,"__esModule",{value:!0}),e.ATNState=void 0;const o=r(8042);class i{constructor(){this.stateNumber=i.INVALID_STATE_NUMBER,this.ruleIndex=0,this.epsilonOnlyTransitions=!1,this.transitions=[],this.optimizedTransitions=this.transitions}getStateNumber(){return this.stateNumber}get nonStopStateNumber(){return this.getStateNumber()}hashCode(){return this.stateNumber}equals(t){return t instanceof i&&this.stateNumber===t.stateNumber}get isNonGreedyExitState(){return!1}toString(){return String(this.stateNumber)}getTransitions(){return this.transitions.slice(0)}get numberOfTransitions(){return this.transitions.length}addTransition(t,e){if(0===this.transitions.length)this.epsilonOnlyTransitions=t.isEpsilon;else if(this.epsilonOnlyTransitions!==t.isEpsilon)throw this.epsilonOnlyTransitions=!1,new Error("ATN state "+this.stateNumber+" has both epsilon and non-epsilon transitions.");this.transitions.splice(void 0!==e?e:this.transitions.length,0,t)}transition(t){return this.transitions[t]}setTransition(t,e){this.transitions[t]=e}removeTransition(t){return this.transitions.splice(t,1)[0]}get onlyHasEpsilonTransitions(){return this.epsilonOnlyTransitions}setRuleIndex(t){this.ruleIndex=t}get isOptimized(){return this.optimizedTransitions!==this.transitions}get numberOfOptimizedTransitions(){return this.optimizedTransitions.length}getOptimizedTransition(t){return this.optimizedTransitions[t]}addOptimizedTransition(t){this.isOptimized||(this.optimizedTransitions=new Array),this.optimizedTransitions.push(t)}setOptimizedTransition(t,e){if(!this.isOptimized)throw new Error("This ATNState is not optimized.");this.optimizedTransitions[t]=e}removeOptimizedTransition(t){if(!this.isOptimized)throw new Error("This ATNState is not optimized.");this.optimizedTransitions.splice(t,1)}}n([o.Override],i.prototype,"hashCode",null),n([o.Override],i.prototype,"equals",null),n([o.Override],i.prototype,"toString",null),e.ATNState=i,function(t){t.INVA
2LID_STATE_NUMBER=-1}(i=e.ATNState||(e.ATNState={}))},4700:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ATNStateType=void 0,function(t){t[t.INVALID_TYPE=0]="INVALID_TYPE",t[t.BASIC=1]="BASIC",t[t.RULE_START=2]="RULE_START",t[t.BLOCK_START=3]="BLOCK_START",t[t.PLUS_BLOCK_START=4]="PLUS_BLOCK_START",t[t.STAR_BLOCK_START=5]="STAR_BLOCK_START",t[t.TOKEN_START=6]="TOKEN_START",t[t.RULE_STOP=7]="RULE_STOP",t[t.BLOCK_END=8]="BLOCK_END",t[t.STAR_LOOP_BACK=9]="STAR_LOOP_BACK",t[t.STAR_LOOP_ENTRY=10]="STAR_LOOP_ENTRY",t[t.PLUS_LOOP_BACK=11]="PLUS_LOOP_BACK",t[t.LOOP_END=12]="LOOP_END"}(e.ATNStateType||(e.ATNStateType={}))},7520:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AbstractPredicateTransition=void 0;const n=r(312);class o extends n.Transition{constructor(t){super(t)}}e.AbstractPredicateTransition=o},212:function(t,e,r){"use strict";var n=this&&this.__decorate||function(t,e,r,n){var o,i=arguments.length,s=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(s=(i<3?o(s):i>3?o(e,r,s):o(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},o=this&&this.__param||function(t,e){return function(r,n){e(r,n,t)}};Object.defineProperty(e,"__esModule",{value:!0}),e.ActionTransition=void 0;const i=r(8042),s=r(312);let a=class extends s.Transition{constructor(t,e,r=-1,n=!1){super(t),this.ruleIndex=e,this.actionIndex=r,this.isCtxDependent=n}get serializationType(){return 6}get isEpsilon(){return!0}matches(t,e,r){return!1}toString(){return"action_"+this.ruleIndex+":"+this.actionIndex}};n([i.Override],a.prototype,"serializationType",null),n([i.Override],a.prototype,"isEpsilon",null),n([i.Override],a.prototype,"matches",null),n([i.Override],a.prototype,"toString",null),a=n([o(0,i.NotNull)],a),e.ActionTransition=a},1305:function(t,e,r){"use strict";var n=this&&this.__decorate||function(t,e,r,n){var o,i=arguments.length,s=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(s=(i<3?o(s):i>3?o(e,r,s):o(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},o=this&&this.__param||function(t,e){return function(r,n){e(r,n,t)}};Object.defineProperty(e,"__esModule",{value:!0}),e.AmbiguityInfo=void 0;const i=r(112),s=r(8042);let a=class extends i.DecisionEventInfo{constructor(t,e,r,n,o,i){super(t,e,n,o,i,e.useContext),this.ambigAlts=r}get ambiguousAlternatives(){return this.ambigAlts}};n([s.NotNull],a.prototype,"ambigAlts",void 0),n([s.NotNull],a.prototype,"ambiguousAlternatives",null),a=n([o(1,s.NotNull),o(2,s.NotNull),o(3,s.NotNull)],a),e.AmbiguityInfo=a},4389:function(t,e,r){"use strict";var n=this&&this.__decorate||function(t,e,r,n){var o,i=arguments.length,s=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(s=(i<3?o(s):i>3?o(e,r,s):o(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},o=this&&this.__param||function(t,e){return function(r,n){e(r,n,t)}};Object.defineProperty(e,"__esModule",{value:!0}),e.AtomTransition=void 0;const i=r(4405),s=r(8042),a=r(312);let l=class extends a.Transition{constructor(t,e){super(t),this._label=e}get serializationType(){return 5}get label(){return i.IntervalSet.of(this._label)}matches(t,e,r){return this._label===t}toString(){return String(this.label)}};n([s.Override],l.prototype,"serializationType",null),n([s.Override,s.NotNull],l.prototype,"label",null),n([s.Override],l.prototype,"matches",null),n([s.Override,s.NotNull],l.prototype,"toString",null),l=n([o(0,s.NotNull)],l),e.AtomTransition=l},9291:function(t,e,r){"use strict";var n=this&&this.__decorate||function(t,e,r,n){var o,i=arguments.length,s=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;
2a--)(o=t[a])&&(s=(i<3?o(s):i>3?o(e,r,s):o(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s};Object.defineProperty(e,"__esModule",{value:!0}),e.BasicBlockStartState=void 0;const o=r(4700),i=r(4136),s=r(8042);class a extends i.BlockStartState{get stateType(){return o.ATNStateType.BLOCK_START}}n([s.Override],a.prototype,"stateType",null),e.BasicBlockStartState=a},4743:function(t,e,r){"use strict";var n=this&&this.__decorate||function(t,e,r,n){var o,i=arguments.length,s=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(s=(i<3?o(s):i>3?o(e,r,s):o(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s};Object.defineProperty(e,"__esModule",{value:!0}),e.BasicState=void 0;const o=r(3269),i=r(4700),s=r(8042);class a extends o.ATNState{get stateType(){return i.ATNStateType.BASIC}}n([s.Override],a.prototype,"stateType",null),e.BasicState=a},3374:function(t,e,r){"use strict";var n=this&&this.__decorate||function(t,e,r,n){var o,i=arguments.length,s=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(s=(i<3?o(s):i>3?o(e,r,s):o(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s};Object.defineProperty(e,"__esModule",{value:!0}),e.BlockEndState=void 0;const o=r(3269),i=r(4700),s=r(8042);class a extends o.ATNState{get stateType(){return i.ATNStateType.BLOCK_END}}n([s.Override],a.prototype,"stateType",null),e.BlockEndState=a},4136:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.BlockStartState=void 0;const n=r(213);class o extends n.DecisionState{}e.BlockStartState=o},9619:function(t,e,r){"use strict";var n=this&&this.__decorate||function(t,e,r,n){var o,i=arguments.length,s=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(s=(i<3?o(s):i>3?o(e,r,s):o(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s};Object.defineProperty(e,"__esModule",{value:!0}),e.ConflictInfo=void 0;const o=r(8042),i=r(5103);class s{constructor(t,e){this._conflictedAlts=t,this.exact=e}get conflictedAlts(){return this._conflictedAlts}get isExact(){return this.exact}equals(t){return t===this||t instanceof s&&(this.isExact===t.isExact&&i.equals(this.conflictedAlts,t.conflictedAlts))}hashCode(){return this.conflictedAlts.hashCode()}}n([o.Override],s.prototype,"equals",null),n([o.Override],s.prototype,"hashCode",null),e.ConflictInfo=s},8862:function(t,e,r){"use strict";var n=this&&this.__decorate||function(t,e,r,n){var o,i=arguments.length,s=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(s=(i<3?o(s):i>3?o(e,r,s):o(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},o=this&&this.__param||function(t,e){return function(r,n){e(r,n,t)}};Object.defineProperty(e,"__esModule",{value:!0}),e.ContextSensitivityInfo=void 0;const i=r(112),s=r(8042);let a=class extends i.DecisionEventInfo{constructor(t,e,r,n,o){super(t,e,r,n,o,!0)}};a=n([o(1,s.NotNull),o(2,s.NotNull)],a),e.ContextSensitivityInfo=a},112:function(t,e,r){"use strict";var n=this&&this.__decorate||function(t,e,r,n){var o,i=arguments.length,s=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(s=(i<3?o(s):i>3?o(e,r,s):o(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},o=this&&this.__param||function(t,e){return function(r,n){e(r,n,t)}};Object.defineProperty(e,"__esModule",{value:!0}),e.DecisionEventInfo=void 0;const i=r(8042);let s=class{constructor(t,e,r,n,o,i){this.decision=t,this.fullCtx=i,this.stopIndex=o,this.input=r,this.startIndex=n,this.state=e}};n([i.NotNull],s.prototype,"input",void 0),s=n([o(2,i.NotNull)],s),e.DecisionEventInfo=s},8966:function(t,e,r){"use strict";var n=this&&this.__decorate||function(t,e,r,n){var o,i=arguments.length,s=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;
2a--)(o=t[a])&&(s=(i<3?o(s):i>3?o(e,r,s):o(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s};Object.defineProperty(e,"__esModule",{value:!0}),e.DecisionInfo=void 0;const o=r(8042);class i{constructor(t){this.invocations=0,this.timeInPrediction=0,this.SLL_TotalLook=0,this.SLL_MinLook=0,this.SLL_MaxLook=0,this.LL_TotalLook=0,this.LL_MinLook=0,this.LL_MaxLook=0,this.contextSensitivities=[],this.errors=[],this.ambiguities=[],this.predicateEvals=[],this.SLL_ATNTransitions=0,this.SLL_DFATransitions=0,this.LL_Fallback=0,this.LL_ATNTransitions=0,this.LL_DFATransitions=0,this.decision=t}toString(){return"{decision="+this.decision+", contextSensitivities="+this.contextSensitivities.length+", errors="+this.errors.length+", ambiguities="+this.ambiguities.length+", SLL_lookahead="+this.SLL_TotalLook+", SLL_ATNTransitions="+this.SLL_ATNTransitions+", SLL_DFATransitions="+this.SLL_DFATransitions+", LL_Fallback="+this.LL_Fallback+", LL_lookahead="+this.LL_TotalLook+", LL_ATNTransitions="+this.LL_ATNTransitions+"}"}}n([o.Override],i.prototype,"toString",null),e.DecisionInfo=i},213:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DecisionState=void 0;const n=r(3269);class o extends n.ATNState{constructor(){super(...arguments),this.decision=-1,this.nonGreedy=!1,this.sll=!1}}e.DecisionState=o},628:function(t,e,r){"use strict";var n=this&&this.__decorate||function(t,e,r,n){var o,i=arguments.length,s=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(s=(i<3?o(s):i>3?o(e,r,s):o(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},o=this&&this.__param||function(t,e){return function(r,n){e(r,n,t)}};Object.defineProperty(e,"__esModule",{value:!0}),e.EpsilonTransition=void 0;const i=r(8042),s=r(312);let a=class extends s.Transition{constructor(t,e=-1){super(t),this._outermostPrecedenceReturn=e}get outermostPrecedenceReturn(){return this._outermostPrecedenceReturn}get serializationType(){return 1}get isEpsilon(){return!0}matches(t,e,r){return!1}toString(){return"epsilon"}};n([i.Override],a.prototype,"serializationType",null),n([i.Override],a.prototype,"isEpsilon",null),n([i.Override],a.prototype,"matches",null),n([i.Override,i.NotNull],a.prototype,"toString",null),a=n([o(0,i.NotNull)],a),e.EpsilonTransition=a},291:function(t,e,r){"use strict";var n=this&&this.__decorate||function(t,e,r,n){var o,i=arguments.length,s=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(s=(i<3?o(s):i>3?o(e,r,s):o(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},o=this&&this.__param||function(t,e){return function(r,n){e(r,n,t)}};Object.defineProperty(e,"__esModule",{value:!0}),e.ErrorInfo=void 0;const i=r(112),s=r(8042);let a=class extends i.DecisionEventInfo{constructor(t,e,r,n,o){super(t,e,r,n,o,e.useContext)}};a=n([o(1,s.NotNull),o(2,s.NotNull)],a),e.ErrorInfo=a},4834:function(t,e,r){"use strict";var n=this&&this.__decorate||function(t,e,r,n){var o,i=arguments.length,s=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(s=(i<3?o(s):i>3?o(e,r,s):o(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s};Object.defineProperty(e,"__esModule",{value:!0}),e.InvalidState=void 0;const o=r(4700),i=r(4743),s=r(8042);class a extends i.BasicState{get stateType(){return o.ATNStateType.INVALID_TYPE}}n([s.Override],a.prototype,"stateType",null),e.InvalidState=a},4334:function(t,e,r){"use strict";var n=this&&this.__decorate||function(t,e,r,n){var o,i=arguments.length,s=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(s=(i<3?o(s):i>3?o(e,r,s):o(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s}
2,o=this&&this.__param||function(t,e){return function(r,n){e(r,n,t)}};Object.defineProperty(e,"__esModule",{value:!0}),e.LL1Analyzer=void 0;const i=r(7520),s=r(9026),a=r(8595),l=r(5280),c=r(4405),u=r(8042),p=r(3973),h=r(8842),f=r(9767),d=r(5337),y=r(4704),g=r(4966),m=r(8844);let _=class t{constructor(t){this.atn=t}getDecisionLookahead(e){if(null==e)return;let r=new Array(e.numberOfTransitions);for(let n=0;n<e.numberOfTransitions;n++){let o=new c.IntervalSet;r[n]=o;let i=new s.Array2DHashSet(h.ObjectEqualityComparator.INSTANCE),a=!1;this._LOOK(e.transition(n).target,void 0,f.PredictionContext.EMPTY_LOCAL,o,i,new l.BitSet,a,!1),(0===o.size||o.contains(t.HIT_PRED))&&(o=void 0,r[n]=o)}return r}LOOK(t,e,r){if(void 0===r){if(null==t.atn)throw new Error("Illegal state");r=t.atn.ruleToStopState[t.ruleIndex]}else null===r&&(r=void 0);let n=new c.IntervalSet;return this._LOOK(t,r,e,n,new s.Array2DHashSet,new l.BitSet,!0,!0),n}_LOOK(e,r,n,o,s,l,u,h){let _=a.ATNConfig.create(e,0,n);if(!s.add(_))return;if(e===r){if(f.PredictionContext.isEmptyLocal(n))return void o.add(g.Token.EPSILON);if(n.isEmpty)return void(h&&o.add(g.Token.EOF))}if(e instanceof d.RuleStopState){if(n.isEmpty&&!f.PredictionContext.isEmptyLocal(n))return void(h&&o.add(g.Token.EOF));let t=l.get(e.ruleIndex);try{l.clear(e.ruleIndex);for(let t=0;t<n.size;t++){if(n.getReturnState(t)===f.PredictionContext.EMPTY_FULL_STATE_KEY)continue;let e=this.atn.states[n.getReturnState(t)];this._LOOK(e,r,n.getParent(t),o,s,l,u,h)}}finally{t&&l.set(e.ruleIndex)}}let v=e.numberOfTransitions;for(let a=0;a<v;a++){let f=e.transition(a);if(f instanceof y.RuleTransition){if(l.get(f.ruleIndex))continue;let t=n.getChild(f.followState.stateNumber);try{l.set(f.ruleIndex),this._LOOK(f.target,r,t,o,s,l,u,h)}finally{l.clear(f.ruleIndex)}}else if(f instanceof i.AbstractPredicateTransition)u?this._LOOK(f.target,r,n,o,s,l,u,h):o.add(t.HIT_PRED);else if(f.isEpsilon)this._LOOK(f.target,r,n,o,s,l,u,h);else if(f instanceof m.WildcardTransition)o.addAll(c.IntervalSet.of(g.Token.MIN_USER_TOKEN_TYPE,this.atn.maxTokenType));else{let t=f.label;null!=t&&(f instanceof p.NotSetTransition&&(t=t.complement(c.IntervalSet.of(g.Token.MIN_USER_TOKEN_TYPE,this.atn.maxTokenType))),o.addAll(t))}}}};_.HIT_PRED=g.Token.INVALID_TYPE,n([u.NotNull],_.prototype,"atn",void 0),n([u.NotNull,o(0,u.NotNull),o(1,u.NotNull)],_.prototype,"LOOK",null),n([o(0,u.NotNull),o(2,u.NotNull),o(3,u.NotNull),o(4,u.NotNull),o(5,u.NotNull)],_.prototype,"_LOOK",null),_=n([o(0,u.NotNull)],_),e.LL1Analyzer=_},2178:function(t,e,r){"use strict";var n=this&&this.__decorate||function(t,e,r,n){var o,i=arguments.length,s=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(s=(i<3?o(s):i>3?o(e,r,s):o(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},o=this&&this.__param||function(t,e){return function(r,n){e(r,n,t)}};Object.defineProperty(e,"__esModule",{value:!0}),e.LexerATNSimulator=void 0;const i=r(1060),s=r(7949),a=r(8595),l=r(7176),c=r(7643),u=r(1186),p=r(8813),h=r(3227),f=r(9557),d=r(6683),y=r(5324),g=r(8042),m=r(3169),_=r(9767),v=r(5337),S=r(4966),O=r(9282);let N=class t extends c.ATNSimulator{constructor(e,r){super(e),this.optimize_tail_calls=!0,this.startIndex=-1,this._line=1,this._charPositionInLine=0,this.mode=f.Lexer.DEFAULT_MODE,this.prevAccept=new t.SimState,this.recog=r}copyState(t){this._charPositionInLine=t.charPositionInLine,this._line=t._line,this.mode=t.mode,this.startIndex=t.startIndex}match(t,e){this.mode=e;let r=t.mark();try{this.startIndex=t.index,this.prevAccept.reset();let r=this.atn.modeToDFA[e].s0;return null==r?this.matchATN(t):this.execATN(t,r)}finally{t.release(r)}}reset(){this.prevAccept.reset(),this.startIndex=-1,this._line=1,this._charPositionInLine=0,this.mode=f.Lexer.DEFAULT_MODE}matchATN(e){let r=this.atn.modeToStartState[this.mode];t.debug&&console.log(`matchATN mode ${this.mode} start: ${r}`);let n=this.mode,o=this.computeStartState(e,r),i=o.hasSemanticContext;i&&(o.hasSemanticContext=!1);let s=this.addDFAState(o);if(!i){let t=this.atn.modeToDFA[this.mode];t.s0?s=t.s0:t.s0=s}let a=this.execATN(e,s);return t.debug&&console.log(`DFA after matchATN: ${this.atn.modeToDFA[n].toLexerString()}`),a}execATN(e,r){t.debug&&console.log(`start state closure=${r.configs}`),r.isAcceptState&&this.captureSimState(this.prevAccept,e,r);let n=e.LA(1),o=r;for(;;){t.debug&&console.log(`execATN loop starting closure: ${o.configs}`);let r=this.getExistingTargetState(o,n);if(null==r&&(r=this.computeTargetState(e,o,n)),r===c.ATNSimulator.ERROR)break;if(n!==h.IntStream.EOF&&this.consume(e),r.isAcceptState&&(this.captureSimState(this.prevAccept,e,r),n===h.IntStream.EOF))break;n=e.LA(1),o=r}return this.failOrAccept(this.prevAccept,e,o.configs,n)}getExistingTargetState(e,r){let n=e.getTarget(r);return t.debug&&null!=n&&console.log("reuse state "+e.stateNumber+" edge to "+n.stateNumber),n}computeTargetState(t,e,r){let n=new m.OrderedATNConfigSet;return this.getReachableConfigSet(t,e.configs,n,r),n.isEmpty?(n.hasSemanticContext||this.addDFAEdge(e,r,c.ATNSimulator.ERROR),c.ATNSimulator.ERROR):this.addDFAEdge(e,r,n)}failOrAccept(t,e,r,n){if(null!=t.dfaState){let r=t.dfaState.lexerActionExecutor;return this.accept(e,r,this.startIndex,t.index,t.line,t.charPos),t.dfaState.prediction}if(n===h.IntStream.EOF&&e.index===this.startIndex)return S.Token.EOF;throw new y.LexerNoViableAltException(this.recog,e,this.startIndex,r)}getReachableConfigSet(e,r,n,o){let i=s.ATN.INVALID_ALT_NUMBER;for(let s of r){let r=s.alt===i;if(r&&s.hasPassedThroughNonGreedyDecision)continue;t.debug&&console.log(`testing ${this.getTokenName(o)} at ${s.toString(this.recog,!0)}`);let a=s.state.numberOfOptimizedTransitions;for(let t=0;t<a;t++){let a=s.state.getOptimizedTransition(t),l=this.getReachableTarget(a,o);if(null!=l){let t,a=s.lexerActionExecutor;null!=a?(a=a.fixOffsetBeforeMatch(e.index-this.startIndex),t=s.transform(l,!0,a)):(O(null==s.lexerActionExecutor),t=s.transform(l,!0));let c=o===h.IntStream.EOF;if(this.closure(e,t,n,r,!0,c)){i=s.alt;break}}}}}accept(e,r,n,o,i,s){t.debug&&console.log(`ACTION ${r}`),e.seek(o),this._line=i,this._charPositionInLine=s,null!=r&&null!=this.recog&&r.execute(this.recog,e,n)}getReachableTarget(t,e){if(t.matches(e,f.Lexer.MIN_CHAR_VALUE,f.Lexer.MAX_CHAR_VALUE))return t.target}computeStartState(t,e){let r=_.PredictionContext.EMPTY_FULL,n=new m.OrderedATNConfigSet;for(let o=0;o<e.numberOfTransitions;o++){let i=e.transition(o).target,s=a.ATNConfig.create(i,o+1,r);
2this.closure(t,s,n,!1,!1,!1)}return n}closure(e,r,n,o,i,s){if(t.debug&&console.log("closure("+r.toString(this.recog,!0)+")"),r.state instanceof v.RuleStopState){t.debug&&(null!=this.recog?console.log(`closure at ${this.recog.ruleNames[r.state.ruleIndex]} rule stop ${r}`):console.log(`closure at rule stop ${r}`));let a=r.context;if(a.isEmpty)return n.add(r),!0;a.hasEmpty&&(n.add(r.transform(r.state,!0,_.PredictionContext.EMPTY_FULL)),o=!0);for(let t=0;t<a.size;t++){let l=a.getReturnState(t);if(l===_.PredictionContext.EMPTY_FULL_STATE_KEY)continue;let c=a.getParent(t),u=this.atn.states[l],p=r.transform(u,!1,c);o=this.closure(e,p,n,o,i,s)}return o}r.state.onlyHasEpsilonTransitions||o&&r.hasPassedThroughNonGreedyDecision||n.add(r);let a=r.state;for(let t=0;t<a.numberOfOptimizedTransitions;t++){let l=a.getOptimizedTransition(t),c=this.getEpsilonTarget(e,r,l,n,i,s);null!=c&&(o=this.closure(e,c,n,o,i,s))}return o}getEpsilonTarget(e,r,n,o,i,s){let a;switch(n.serializationType){case 3:let l=n;if(this.optimize_tail_calls&&l.optimizedTailCall&&!r.context.hasEmpty)a=r.transform(n.target,!0);else{let t=r.context.getChild(l.followState.stateNumber);a=r.transform(n.target,!0,t)}break;case 10:throw new Error("Precedence predicates are not supported in lexers.");case 4:let c=n;t.debug&&console.log("EVAL rule "+c.ruleIndex+":"+c.predIndex),o.hasSemanticContext=!0,a=this.evaluatePredicate(e,c.ruleIndex,c.predIndex,i)?r.transform(n.target,!0):void 0;break;case 6:if(r.context.hasEmpty){let t=d.LexerActionExecutor.append(r.lexerActionExecutor,this.atn.lexerActions[n.actionIndex]);a=r.transform(n.target,!0,t);break}a=r.transform(n.target,!0);break;case 1:a=r.transform(n.target,!0);break;case 5:case 2:case 7:if(s&&n.matches(h.IntStream.EOF,f.Lexer.MIN_CHAR_VALUE,f.Lexer.MAX_CHAR_VALUE)){a=r.transform(n.target,!1);break}a=void 0;break;default:a=void 0}return a}evaluatePredicate(t,e,r,n){if(null==this.recog)return!0;if(!n)return this.recog.sempred(void 0,e,r);let o=this._charPositionInLine,i=this._line,s=t.index,a=t.mark();try{return this.consume(t),this.recog.sempred(void 0,e,r)}finally{this._charPositionInLine=o,this._line=i,t.seek(s),t.release(a)}}captureSimState(t,e,r){t.index=e.index,t.line=this._line,t.charPos=this._charPositionInLine,t.dfaState=r}addDFAEdge(e,r,n){if(n instanceof l.ATNConfigSet){let t=n.hasSemanticContext;t&&(n.hasSemanticContext=!1);let o=this.addDFAState(n);return t||this.addDFAEdge(e,r,o),o}t.debug&&console.log("EDGE "+e+" -> "+n+" upon "+String.fromCharCode(r)),null!=e&&e.setTarget(r,n)}addDFAState(t){O(!t.hasSemanticContext);let e=new u.DFAState(t),r=this.atn.modeToDFA[this.mode].states.get(e);if(null!=r)return r;t.optimizeConfigs(this);let n,o=new u.DFAState(t.clone(!0));for(let i of t)if(i.state instanceof v.RuleStopState){n=i;break}if(null!=n){let t=this.atn.ruleToTokenType[n.state.ruleIndex],e=n.lexerActionExecutor;o.acceptStateInfo=new i.AcceptStateInfo(t,e)}return this.atn.modeToDFA[this.mode].addState(o)}getDFA(t){return this.atn.modeToDFA[t]}getText(t){return t.getText(p.Interval.of(this.startIndex,t.index-1))}get line(){return this._line}set line(t){this._line=t}get charPositionInLine(){return this._charPositionInLine}set charPositionInLine(t){this._charPositionInLine=t}consume(t){t.LA(1)==="\n".charCodeAt(0)?(this._line++,this._charPositionInLine=0):this._charPositionInLine++,t.consume()}getTokenName(t){return-1===t?"EOF":"'"+String.fromCharCode(t)+"'"}};n([g.NotNull],N.prototype,"prevAccept",void 0),n([o(0,g.NotNull)],N.prototype,"copyState",null),n([o(0,g.NotNull)],N.prototype,"match",null),n([g.Override],N.prototype,"reset",null),n([o(0,g.NotNull)],N.prototype,"matchATN",null),n([o(0,g.NotNull),o(1,g.NotNull)],N.prototype,"execATN",null),n([o(0,g.NotNull)],N.prototype,"getExistingTargetState",null),n([g.NotNull,o(0,g.NotNull),o(1,g.NotNull)],N.prototype,"computeTargetState",null),n([o(0,g.NotNull),o(1,g.NotNull),o(2,g.NotNull)],N.prototype,"getReachableConfigSet",null),n([o(0,g.NotNull)],N.prototype,"accept",null),n([g.NotNull,o(0,g.NotNull),o(1,g.NotNull)],N.prototype,"computeStartState",null),n([o(0,g.NotNull),o(1,g.NotNull),o(2,g.NotNull)],N.prototype,"closure",null),n([o(0,g.NotNull),o(1,g.NotNull),o(2,g.NotNull),o(3,g.NotNull)],N.prototype,"getEpsilonTarget",null),n([o(0,g.NotNull)],N.prototype,"evaluatePredicate",null),n([o(0,g.NotNull),o(1,g.NotNull),o(2,g.NotNull)],N.prototype,"captureSimState",null),n([g.NotNull,o(0,g.NotNull)],N.prototype,"addDFAState",null),n([g.NotNull],N.prototype,"getDFA",null),n([g.NotNull,o(0,g.NotNull)],N.prototype,"getText",null),n([o(0,g.NotNull)],N.prototype,"consume",null),n([g.NotNull],N.prototype,"getTokenName",null),N=n([o(0,g.NotNull)],N),e.LexerATNSimulator=N,function(t){t.debug=!1,t.dfa_debug=!1;t.SimState=class{constructor(){this.index=-1,this.line=0,this.charPos=-1}reset(){this.index=-1,this.line=0,this.charPos=-1,this.dfaState=void 0}}}(N=e.LexerATNSimulator||(e.LexerATNSimulator={})),e.LexerATNSimulator=N},6683:function(t,e,r){"use strict";var n=this&&this.__decorate||function(t,e,r,n){var o,i=arguments.length,s=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;
2a--)(o=t[a])&&(s=(i<3?o(s):i>3?o(e,r,s):o(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},o=this&&this.__param||function(t,e){return function(r,n){e(r,n,t)}};Object.defineProperty(e,"__esModule",{value:!0}),e.LexerActionExecutor=void 0;const i=r(5192),s=r(440),a=r(3943),l=r(8042);let c=class t{constructor(t){this._lexerActions=t;let e=a.MurmurHash.initialize();for(let r of t)e=a.MurmurHash.update(e,r);this.cachedHashCode=a.MurmurHash.finish(e,t.length)}static append(e,r){if(!e)return new t([r]);let n=e._lexerActions.slice(0);return n.push(r),new t(n)}fixOffsetBeforeMatch(e){let r;for(let t=0;t<this._lexerActions.length;t++)!this._lexerActions[t].isPositionDependent||this._lexerActions[t]instanceof s.LexerIndexedCustomAction||(r||(r=this._lexerActions.slice(0)),r[t]=new s.LexerIndexedCustomAction(e,this._lexerActions[t]));return r?new t(r):this}get lexerActions(){return this._lexerActions}execute(t,e,r){let n=!1,o=e.index;try{for(let i of this._lexerActions){if(i instanceof s.LexerIndexedCustomAction){let t=i.offset;e.seek(r+t),i=i.action,n=r+t!==o}else i.isPositionDependent&&(e.seek(o),n=!1);i.execute(t)}}finally{n&&e.seek(o)}}hashCode(){return this.cachedHashCode}equals(e){return e===this||e instanceof t&&(this.cachedHashCode===e.cachedHashCode&&i.ArrayEqualityComparator.INSTANCE.equals(this._lexerActions,e._lexerActions))}};n([l.NotNull],c.prototype,"_lexerActions",void 0),n([l.NotNull],c.prototype,"lexerActions",null),n([o(0,l.NotNull)],c.prototype,"execute",null),n([l.Override],c.prototype,"hashCode",null),n([l.Override],c.prototype,"equals",null),n([l.NotNull,o(1,l.NotNull)],c,"append",null),c=n([o(0,l.NotNull)],c),e.LexerActionExecutor=c},8363:function(t,e,r){"use strict";var n=this&&this.__decorate||function(t,e,r,n){var o,i=arguments.length,s=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(s=(i<3?o(s):i>3?o(e,r,s):o(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},o=this&&this.__param||function(t,e){return function(r,n){e(r,n,t)}};Object.defineProperty(e,"__esModule",{value:!0}),e.LexerChannelAction=void 0;const i=r(3943),s=r(8042);class a{constructor(t){this._channel=t}get channel(){return this._channel}get actionType(){return 0}get isPositionDependent(){return!1}execute(t){t.channel=this._channel}hashCode(){let t=i.MurmurHash.initialize();return t=i.MurmurHash.update(t,this.actionType),t=i.MurmurHash.update(t,this._channel),i.MurmurHash.finish(t,2)}equals(t){return t===this||t instanceof a&&this._channel===t._channel}toString(){return`channel(${this._channel})`}}n([s.Override],a.prototype,"actionType",null),n([s.Override],a.prototype,"isPositionDependent",null),n([s.Override,o(0,s.NotNull)],a.prototype,"execute",null),n([s.Override],a.prototype,"hashCode",null),n([s.Override],a.prototype,"equals",null),n([s.Override],a.prototype,"toString",null),e.LexerChannelAction=a},614:function(t,e,r){"use strict";var n=this&&this.__decorate||function(t,e,r,n){var o,i=arguments.length,s=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(s=(i<3?o(s):i>3?o(e,r,s):o(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},o=this&&this.__param||function(t,e){return function(r,n){e(r,n,t)}};Object.defineProperty(e,"__esModule",{value:!0}),e.LexerCustomAction=void 0;const i=r(3943),s=r(8042);class a{constructor(t,e){this._ruleIndex=t,this._actionIndex=e}get ruleIndex(){return this._ruleIndex}get actionIndex(){return this._actionIndex}get actionType(){return 1}get isPositionDependent(){return!0}execute(t){t.action(void 0,this._ruleIndex,this._actionIndex)}hashCode(){let t=i.MurmurHash.initialize();return t=i.MurmurHash.update(t,this.actionType),t=i.MurmurHash.update(t,this._ruleIndex),t=i.MurmurHash.update(t,this._actionIndex),i.MurmurHash.finish(t,3)}equals(t){return t===this||t instanceof a&&(this._ruleIndex===t._ruleIndex&&this._actionIndex===t._actionIndex)}}n([s.Override],a.prototype,"actionType",null),n([s.Override],a.prototype,"isPositionDependent",null),n([s.Override,o(0,s.NotNull)],a.prototype,"execute",null),n([s.Override],a.prototype,"hashCode",null),n([s.Override],a.prototype,"equals",null),e.LexerCustomAction=a},440:function(t,e,r){"use strict";var n=this&&this.__decorate||function(t,e,r,n){var o,i=arguments.length,s=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;
2a--)(o=t[a])&&(s=(i<3?o(s):i>3?o(e,r,s):o(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},o=this&&this.__param||function(t,e){return function(r,n){e(r,n,t)}};Object.defineProperty(e,"__esModule",{value:!0}),e.LexerIndexedCustomAction=void 0;const i=r(3943),s=r(8042);let a=class t{constructor(t,e){this._offset=t,this._action=e}get offset(){return this._offset}get action(){return this._action}get actionType(){return this._action.actionType}get isPositionDependent(){return!0}execute(t){this._action.execute(t)}hashCode(){let t=i.MurmurHash.initialize();return t=i.MurmurHash.update(t,this._offset),t=i.MurmurHash.update(t,this._action),i.MurmurHash.finish(t,2)}equals(e){return e===this||e instanceof t&&(this._offset===e._offset&&this._action.equals(e._action))}};n([s.NotNull],a.prototype,"action",null),n([s.Override],a.prototype,"actionType",null),n([s.Override],a.prototype,"isPositionDependent",null),n([s.Override],a.prototype,"execute",null),n([s.Override],a.prototype,"hashCode",null),n([s.Override],a.prototype,"equals",null),a=n([o(1,s.NotNull)],a),e.LexerIndexedCustomAction=a},8525:function(t,e,r){"use strict";var n=this&&this.__decorate||function(t,e,r,n){var o,i=arguments.length,s=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(s=(i<3?o(s):i>3?o(e,r,s):o(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},o=this&&this.__param||function(t,e){return function(r,n){e(r,n,t)}};Object.defineProperty(e,"__esModule",{value:!0}),e.LexerModeAction=void 0;const i=r(3943),s=r(8042);class a{constructor(t){this._mode=t}get mode(){return this._mode}get actionType(){return 2}get isPositionDependent(){return!1}execute(t){t.mode(this._mode)}hashCode(){let t=i.MurmurHash.initialize();return t=i.MurmurHash.update(t,this.actionType),t=i.MurmurHash.update(t,this._mode),i.MurmurHash.finish(t,2)}equals(t){return t===this||t instanceof a&&this._mode===t._mode}toString(){return`mode(${this._mode})`}}n([s.Override],a.prototype,"actionType",null),n([s.Override],a.prototype,"isPositionDependent",null),n([s.Override,o(0,s.NotNull)],a.prototype,"execute",null),n([s.Override],a.prototype,"hashCode",null),n([s.Override],a.prototype,"equals",null),n([s.Override],a.prototype,"toString",null),e.LexerModeAction=a},4222:function(t,e,r){"use strict";var n=this&&this.__decorate||function(t,e,r,n){var o,i=arguments.length,s=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(s=(i<3?o(s):i>3?o(e,r,s):o(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},o=this&&this.__param||function(t,e){return function(r,n){e(r,n,t)}};Object.defineProperty(e,"__esModule",{value:!0}),e.LexerMoreAction=void 0;const i=r(3943),s=r(8042);class a{constructor(){}get actionType(){return 3}get isPositionDependent(){return!1}execute(t){t.more()}hashCode(){let t=i.MurmurHash.initialize();return t=i.MurmurHash.update(t,this.actionType),i.MurmurHash.finish(t,1)}equals(t){return t===this}toString(){return"more"}}n([s.Override],a.prototype,"actionType",null),n([s.Override],a.prototype,"isPositionDependent",null),n([s.Override,o(0,s.NotNull)],a.prototype,"execute",null),n([s.Override],a.prototype,"hashCode",null),n([s.Override],a.prototype,"equals",null),n([s.Override],a.prototype,"toString",null),e.LexerMoreAction=a,function(t){t.INSTANCE=new t}(a=e.LexerMoreAction||(e.LexerMoreAction={}))},3642:function(t,e,r){"use strict";var n=this&&this.__decorate||function(t,e,r,n){var o,i=arguments.length,s=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(s=(i<3?o(s):i>3?o(e,r,s):o(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},o=this&&this.__param||function(t,e){return function(r,n){e(r,n,t)}};Object.defineProperty(e,"__esModule",{value:!0}),e.LexerPopModeAction=void 0;const i=r(3943),s=r(8042);class a{constructor(){}get actionType(){return 4}get isPositionDependent(){return!1}execute(t){t.popMode()}hashCode(){let t=i.MurmurHash.initialize();return t=i.MurmurHash.update(t,this.actionType),i.MurmurHash.finish(t,1)}equals(t){return t===this}toString(){return"popMode"}}n([s.Override],a.prototype,"actionType",null),n([s.Override],a.prototype,"isPositionDependent",null),n([s.Override,o(0,s.NotNull)],a.prototype,"execute",null),n([s.Override],a.prototype,"hashCode",null),n([s.Override],a.prototype,"equals",null),n([s.Override],a.prototype,"toString",null),e.LexerPopModeAction=a,function(t){t.INSTANCE=new t}(a=e.LexerPopModeAction||(e.LexerPopModeAction={}))},9917:function(t,e,r){"use strict";var n=this&&this.__decorate||function(t,e,r,n){var o,i=arguments.length,s=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;
2a--)(o=t[a])&&(s=(i<3?o(s):i>3?o(e,r,s):o(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},o=this&&this.__param||function(t,e){return function(r,n){e(r,n,t)}};Object.defineProperty(e,"__esModule",{value:!0}),e.LexerPushModeAction=void 0;const i=r(3943),s=r(8042);class a{constructor(t){this._mode=t}get mode(){return this._mode}get actionType(){return 5}get isPositionDependent(){return!1}execute(t){t.pushMode(this._mode)}hashCode(){let t=i.MurmurHash.initialize();return t=i.MurmurHash.update(t,this.actionType),t=i.MurmurHash.update(t,this._mode),i.MurmurHash.finish(t,2)}equals(t){return t===this||t instanceof a&&this._mode===t._mode}toString(){return`pushMode(${this._mode})`}}n([s.Override],a.prototype,"actionType",null),n([s.Override],a.prototype,"isPositionDependent",null),n([s.Override,o(0,s.NotNull)],a.prototype,"execute",null),n([s.Override],a.prototype,"hashCode",null),n([s.Override],a.prototype,"equals",null),n([s.Override],a.prototype,"toString",null),e.LexerPushModeAction=a},3609:function(t,e,r){"use strict";var n=this&&this.__decorate||function(t,e,r,n){var o,i=arguments.length,s=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(s=(i<3?o(s):i>3?o(e,r,s):o(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},o=this&&this.__param||function(t,e){return function(r,n){e(r,n,t)}};Object.defineProperty(e,"__esModule",{value:!0}),e.LexerSkipAction=void 0;const i=r(3943),s=r(8042);class a{constructor(){}get actionType(){return 6}get isPositionDependent(){return!1}execute(t){t.skip()}hashCode(){let t=i.MurmurHash.initialize();return t=i.MurmurHash.update(t,this.actionType),i.MurmurHash.finish(t,1)}equals(t){return t===this}toString(){return"skip"}}n([s.Override],a.prototype,"actionType",null),n([s.Override],a.prototype,"isPositionDependent",null),n([s.Override,o(0,s.NotNull)],a.prototype,"execute",null),n([s.Override],a.prototype,"hashCode",null),n([s.Override],a.prototype,"equals",null),n([s.Override],a.prototype,"toString",null),e.LexerSkipAction=a,function(t){t.INSTANCE=new t}(a=e.LexerSkipAction||(e.LexerSkipAction={}))},5834:function(t,e,r){"use strict";var n=this&&this.__decorate||function(t,e,r,n){var o,i=arguments.length,s=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(s=(i<3?o(s):i>3?o(e,r,s):o(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},o=this&&this.__param||function(t,e){return function(r,n){e(r,n,t)}};Object.defineProperty(e,"__esModule",{value:!0}),e.LexerTypeAction=void 0;const i=r(3943),s=r(8042);class a{constructor(t){this._type=t}get type(){return this._type}get actionType(){return 7}get isPositionDependent(){return!1}execute(t){t.type=this._type}hashCode(){let t=i.MurmurHash.initialize();return t=i.MurmurHash.update(t,this.actionType),t=i.MurmurHash.update(t,this._type),i.MurmurHash.finish(t,2)}equals(t){return t===this||t instanceof a&&this._type===t._type}toString(){return`type(${this._type})`}}n([s.Override],a.prototype,"actionType",null),n([s.Override],a.prototype,"isPositionDependent",null),n([s.Override,o(0,s.NotNull)],a.prototype,"execute",null),n([s.Override],a.prototype,"hashCode",null),n([s.Override],a.prototype,"equals",null),n([s.Override],a.prototype,"toString",null),e.LexerTypeAction=a},5164:function(t,e,r){"use strict";var n=this&&this.__decorate||function(t,e,r,n){var o,i=arguments.length,s=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(s=(i<3?o(s):i>3?o(e,r,s):o(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},o=this&&this.__param||function(t,e){return function(r,n){e(r,n,t)}};Object.defineProperty(e,"__esModule",{value:!0}),e.LookaheadEventInfo=void 0;const i=r(112),s=r(8042);let a=class extends i.DecisionEventInfo{constructor(t,e,r,n,o,i,s){super(t,e,n,o,i,s),this.predictedAlt=r}};a=n([o(3,s.NotNull)],a),e.LookaheadEventInfo=a},4068:function(t,e,r){"use strict";var n=this&&this.__decorate||function(t,e,r,n){var o,i=arguments.length,s=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;
2a--)(o=t[a])&&(s=(i<3?o(s):i>3?o(e,r,s):o(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s};Object.defineProperty(e,"__esModule",{value:!0}),e.LoopEndState=void 0;const o=r(3269),i=r(4700),s=r(8042);class a extends o.ATNState{get stateType(){return i.ATNStateType.LOOP_END}}n([s.Override],a.prototype,"stateType",null),e.LoopEndState=a},3973:function(t,e,r){"use strict";var n=this&&this.__decorate||function(t,e,r,n){var o,i=arguments.length,s=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(s=(i<3?o(s):i>3?o(e,r,s):o(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},o=this&&this.__param||function(t,e){return function(r,n){e(r,n,t)}};Object.defineProperty(e,"__esModule",{value:!0}),e.NotSetTransition=void 0;const i=r(8042),s=r(6765);let a=class extends s.SetTransition{constructor(t,e){super(t,e)}get serializationType(){return 8}matches(t,e,r){return t>=e&&t<=r&&!super.matches(t,e,r)}toString(){return"~"+super.toString()}};n([i.Override],a.prototype,"serializationType",null),n([i.Override],a.prototype,"matches",null),n([i.Override],a.prototype,"toString",null),a=n([o(0,i.NotNull),o(1,i.Nullable)],a),e.NotSetTransition=a},3169:function(t,e,r){"use strict";var n=this&&this.__decorate||function(t,e,r,n){var o,i=arguments.length,s=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(s=(i<3?o(s):i>3?o(e,r,s):o(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s};Object.defineProperty(e,"__esModule",{value:!0}),e.OrderedATNConfigSet=void 0;const o=r(7176),i=r(8042);class s extends o.ATNConfigSet{constructor(t,e){null!=t&&null!=e?super(t,e):super()}clone(t){let e=new s(this,t);return!t&&this.isReadOnly&&e.addAll(this),e}getKey(t){return{state:0,alt:t.hashCode()}}canMerge(t,e,r){return t.equals(r)}}n([i.Override],s.prototype,"clone",null),n([i.Override],s.prototype,"getKey",null),n([i.Override],s.prototype,"canMerge",null),e.OrderedATNConfigSet=s},6019:function(t,e,r){"use strict";var n=this&&this.__decorate||function(t,e,r,n){var o,i=arguments.length,s=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(s=(i<3?o(s):i>3?o(e,r,s):o(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},o=this&&this.__param||function(t,e){return function(r,n){e(r,n,t)}};Object.defineProperty(e,"__esModule",{value:!0}),e.ParseInfo=void 0;const i=r(8042);let s=class{constructor(t){this.atnSimulator=t}getDecisionInfo(){return this.atnSimulator.getDecisionInfo()}getLLDecisions(){let t=this.atnSimulator.getDecisionInfo(),e=[];for(let r=0;r<t.length;r++){t[r].LL_Fallback>0&&e.push(r)}return e}getTotalTimeInPrediction(){let t=this.atnSimulator.getDecisionInfo(),e=0;for(let r of t)e+=r.timeInPrediction;return e}getTotalSLLLookaheadOps(){let t=this.atnSimulator.getDecisionInfo(),e=0;for(let r of t)e+=r.SLL_TotalLook;return e}getTotalLLLookaheadOps(){let t=this.atnSimulator.getDecisionInfo(),e=0;for(let r of t)e+=r.LL_TotalLook;return e}getTotalSLLATNLookaheadOps(){let t=this.atnSimulator.getDecisionInfo(),e=0;for(let r of t)e+=r.SLL_ATNTransitions;return e}getTotalLLATNLookaheadOps(){let t=this.atnSimulator.getDecisionInfo(),e=0;for(let r of t)e+=r.LL_ATNTransitions;return e}getTotalATNLookaheadOps(){let t=this.atnSimulator.getDecisionInfo(),e=0;for(let r of t)e+=r.SLL_ATNTransitions,e+=r.LL_ATNTransitions;return e}getDFASize(t){if(t){return this.atnSimulator.atn.decisionToDFA[t].states.size}{let t=0,e=this.atnSimulator.atn.decisionToDFA;for(let r=0;r<e.length;r++)t+=this.getDFASize(r);return t}}};n([i.NotNull],s.prototype,"getDecisionInfo",null),n([i.NotNull],s.prototype,"getLLDecisions",null),s=n([o(0,i.NotNull)],s),e.ParseInfo=s},4584:function(t,e,r){"use strict";var n=this&&this.__decorate||function(t,e,r,n){var o,i=arguments.length,s=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;
2a--)(o=t[a])&&(s=(i<3?o(s):i>3?o(e,r,s):o(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},o=this&&this.__param||function(t,e){return function(r,n){e(r,n,t)}};Object.defineProperty(e,"__esModule",{value:!0}),e.ParserATNSimulator=void 0;const i=r(1060),s=r(212),a=r(9026),l=r(6005),c=r(7949),u=r(8595),p=r(7176),h=r(7643),f=r(4700),d=r(4389),y=r(5280),g=r(9619),m=r(213),_=r(1186),v=r(6766),S=r(8813),O=r(3227),N=r(8042),b=r(3973),x=r(4609),T=r(8842),E=r(3208),A=r(9767),C=r(604),P=r(6247),I=r(5337),R=r(4704),w=r(1888),k=r(6765),L=r(1071),j=r(4966),D=r(6763),M=r(9282),F=-2147483648;let z=class t extends h.ATNSimulator{constructor(t,e){super(t),this.predictionMode=P.PredictionMode.LL,this.force_global_context=!1,this.always_try_local_context=!0,this.enable_global_context_dfa=!1,this.optimize_unique_closure=!0,this.optimize_ll1=!0,this.optimize_tail_calls=!0,this.tail_call_preserves_sll=!0,this.treat_sllk1_conflict_as_ambiguity=!1,this.reportAmbiguities=!1,this.userWantsCtxSensitive=!0,this._parser=e}getPredictionMode(){return this.predictionMode}setPredictionMode(t){this.predictionMode=t}reset(){}adaptivePredict(e,r,n,o){void 0===o&&(o=!1);let i,s=this.atn.decisionToDFA[r];if(M(null!=s),this.optimize_ll1&&!s.isPrecedenceDfa&&!s.isEmpty){let t=e.LA(1);if(t>=0&&t<=65535){let e=(r<<16>>>0)+t,n=this.atn.LL1Table.get(e);if(null!=n)return n}}this.dfa=s,this.force_global_context?o=!0:this.always_try_local_context||(o=o||s.isContextSensitive),this.userWantsCtxSensitive=o||this.predictionMode!==P.PredictionMode.SLL&&null!=n&&!this.atn.decisionToState[r].sll,null==n&&(n=E.ParserRuleContext.emptyContext()),s.isEmpty||(i=this.getStartState(s,e,n,o)),null==i&&(null==n&&(n=E.ParserRuleContext.emptyContext()),t.debug&&console.log("ATN decision "+s.decision+" exec LA(1)=="+this.getLookaheadName(e)+", outerContext="+n.toString(this._parser)),i=this.computeStartState(s,n,o));let a=e.mark(),l=e.index;try{let r=this.execDFA(s,e,l,i);return t.debug&&console.log("DFA after predictATN: "+s.toString(this._parser.vocabulary,this._parser.ruleNames)),r}finally{this.dfa=void 0,e.seek(l),e.release(a)}}getStartState(t,e,r,n){if(!n){if(t.isPrecedenceDfa){let e=t.getPrecedenceStartState(this._parser.precedence,!1);if(null==e)return;return new L.SimulatorState(r,e,!1,r)}if(null==t.s0)return;return new L.SimulatorState(r,t.s0,!1,r)}if(!this.enable_global_context_dfa)return;let o,i=r;for(M(null!=r),o=t.isPrecedenceDfa?t.getPrecedenceStartState(this._parser.precedence,!0):t.s0full;null!=i&&null!=o&&o.isContextSensitive;)i=this.skipTailCalls(i),o=o.getContextTarget(this.getReturnState(i)),i.isEmpty?M(null==o||!o.isContextSensitive):i=i.parent;return null!=o?new L.SimulatorState(r,o,n,i):void 0}execDFA(e,r,n,o){let i=o.outerContext;t.dfa_debug&&console.log("DFA decision "+e.decision+" exec LA(1)=="+this.getLookaheadName(r)+", outerContext="+i.toString(this._parser)),t.dfa_debug&&console.log(e.toString(this._parser.vocabulary,this._parser.ruleNames));let s=o.s0,a=r.LA(1),l=o.remainingOuterContext;
2for(;;){if(t.dfa_debug&&console.log("DFA state "+s.stateNumber+" LA(1)=="+this.getLookaheadName(r)),o.useContext)for(;s.isContextSymbol(a);){let t;if(null!=l&&(l=this.skipTailCalls(l),t=s.getContextTarget(this.getReturnState(l))),null==t){let t=new L.SimulatorState(o.outerContext,s,o.useContext,l);return this.execATN(e,r,n,t)}M(null!=l),l=l.parent,s=t}if(this.isAcceptState(s,o.useContext)){null!=s.predicates?t.dfa_debug&&console.log("accept "+s):t.dfa_debug&&console.log("accept; predict "+s.prediction+" in state "+s.stateNumber);break}M(!this.isAcceptState(s,o.useContext));let c=this.getExistingTargetState(s,a);if(null==c){let c;if(t.dfa_debug&&a>=0&&console.log("no edge for "+this._parser.vocabulary.getDisplayName(a)),t.dfa_debug){let t=S.Interval.of(n,this._parser.inputStream.index);console.log("ATN exec upon "+this._parser.inputStream.getText(t)+" at DFA state "+s.stateNumber)}let u=new L.SimulatorState(i,s,o.useContext,l);return c=this.execATN(e,r,n,u),t.dfa_debug&&console.log("back from DFA update, alt="+c+", dfa=\n"+e.toString(this._parser.vocabulary,this._parser.ruleNames)),t.dfa_debug&&console.log("DFA decision "+e.decision+" predicts "+c),c}if(c===h.ATNSimulator.ERROR){let t=new L.SimulatorState(i,s,o.useContext,l);return this.handleNoViableAlt(r,n,t)}s=c,this.isAcceptState(s,o.useContext)||a===O.IntStream.EOF||(r.consume(),a=r.LA(1))}if(!o.useContext&&null!=s.configs.conflictInfo&&e.atnStartState instanceof m.DecisionState&&!(!this.userWantsCtxSensitive||!s.configs.dipsIntoOuterContext&&s.configs.isExactConflict||this.treat_sllk1_conflict_as_ambiguity&&r.index===n)){let t;M(!o.useContext);let a=s.predicates;if(null!=a){let e=r.index;if(e!==n&&r.seek(n),t=this.evalSemanticContext(a,i,!0),1===t.cardinality())return t.nextSetBit(0);e!==n&&r.seek(e)}if(this.reportAmbiguities){let a=new L.SimulatorState(i,s,o.useContext,l);this.reportAttemptingFullContext(e,t,a,n,r.index)}return r.seek(n),this.adaptivePredict(r,e.decision,i,!0)}let c=s.predicates;if(null!=c){let t=r.index;n!==t&&r.seek(n);let o=this.evalSemanticContext(c,i,this.reportAmbiguities&&this.predictionMode===P.PredictionMode.LL_EXACT_AMBIG_DETECTION);switch(o.cardinality()){case 0:throw this.noViableAlt(r,i,s.configs,n);case 1:return o.nextSetBit(0);default:return n!==t&&r.seek(t),this.reportAmbiguity(e,s,n,t,s.configs.isExactConflict,o,s.configs),o.nextSetBit(0)}}return t.dfa_debug&&console.log("DFA decision "+e.decision+" predicts "+s.prediction),s.prediction}isAcceptState(t,e){return!!t.isAcceptState&&(null==t.configs.conflictingAlts||(!e||this.predictionMode!==P.PredictionMode.LL_EXACT_AMBIG_DETECTION||t.configs.isExactConflict))}execATN(e,r,n,o){t.debug&&console.log("execATN decision "+e.decision+" exec LA(1)=="+this.getLookaheadName(r));let i=o.outerContext,s=o.useContext,a=r.LA(1),l=o,u=new C.PredictionContextCache;for(;;){let o=this.computeReachSet(e,l,a,u);if(null==o)return this.setDFAEdge(l.s0,r.LA(1),h.ATNSimulator.ERROR),this.handleNoViableAlt(r,n,l);let p=o.s0;if(M(p.isAcceptState||p.prediction===c.ATN.INVALID_ALT_NUMBER),M(p.isAcceptState||null==p.configs.conflictInfo),this.isAcceptState(p,s)){let l=p.configs.conflictingAlts,u=null==l?p.prediction:c.ATN.INVALID_ALT_NUMBER;if(u!==c.ATN.INVALID_ALT_NUMBER){if(this.optimize_ll1&&r.index===n&&!e.isPrecedenceDfa&&o.outerContext===o.remainingOuterContext&&e.decision>=0&&!p.configs.hasSemanticContext&&a>=0&&a<=65535){let t=(e.decision<<16>>>0)+a;this.atn.LL1Table.set(t,u)}s&&this.always_try_local_context&&this.reportContextSensitivity(e,u,o,n,r.index)}u=p.prediction;let h=null!=l&&this.userWantsCtxSensitive;if(h&&(h=!s&&(p.configs.dipsIntoOuterContext||!p.configs.isExactConflict)&&(!this.treat_sllk1_conflict_as_ambiguity||r.index!==n)),p.configs.hasSemanticContext){let t=p.predicates;if(null!=t){let e=r.index;switch(e!==n&&r.seek(n),l=this.evalSemanticContext(t,i,h||this.reportAmbiguities),l.cardinality()){case 0:throw this.noViableAlt(r,i,p.configs,n);case 1:return l.nextSetBit(0)}e!==n&&r.seek(e)}}if(h){M(!s),M(this.isAcceptState(p,!1)),t.debug&&console.log("RETRY with outerContext="+i);let a=this.computeStartState(e,i,!0);return this.reportAmbiguities&&this.reportAttemptingFullContext(e,l,o,n,r.index),r.seek(n),this.execATN(e,r,n,a)}return null!=l&&(this.reportAmbiguities&&l.cardinality()>1&&this.reportAmbiguity(e,p,n,r.index,p.configs.isExactConflict,l,p.configs),u=l.nextSetBit(0)),u}l=o,a!==O.IntStream.EOF&&(r.consume(),a=r.LA(1))}}handleNoViableAlt(t,e,r){if(null!=r.s0){let n=new y.BitSet,o=0;for(let t of r.s0.configs)(t.reachesIntoOuterContext||t.state instanceof I.RuleStopState)&&(n.set(t.alt),o=Math.max(o,t.alt));switch(n.cardinality()){case 0:break;case 1:return n.nextSetBit(0);default:if(!r.s0.configs.hasSemanticContext)return n.nextSetBit(0);let i=new p.ATNConfigSet;for(let t of r.s0.configs)(t.reachesIntoOuterContext||t.state instanceof I.RuleStopState)&&i.add(t);let s=this.getPredsForAmbigAlts(n,i,o);if(null!=s){let o=this.getPredicatePredictions(n,s);if(null!=o){let n=t.index;try{t.seek(e);let n=this.evalSemanticContext(o,r.outerContext,!1);if(!n.isEmpty)return n.nextSetBit(0)}finally{t.seek(n)}}}return n.nextSetBit(0)}}throw this.noViableAlt(t,r.outerContext,r.s0.configs,e)}computeReachSet(t,e,r,n){let o=e.useContext,i=e.remainingOuterContext,s=e.s0;if(o)for(;s.isContextSymbol(r);){let t;if(null!=i&&(i=this.skipTailCalls(i),t=s.getContextTarget(this.getReturnState(i))),null==t)break;M(null!=i),i=i.parent,s=t}if(M(!this.isAcceptState(s,o)),this.isAcceptState(s,o))return new L.SimulatorState(e.outerContext,s,o,i);let a=s,l=this.getExistingTargetState(a,r);if(null==l){let e=this.computeTargetState(t,a,i,r,o,n);l=e[0],i=e[1]}return l!==h.ATNSimulator.ERROR?(M(!o||!l.configs.dipsIntoOuterContext),new L.SimulatorState(e.outerContext,l,o,i)):void 0}getExistingTargetState(t,e){return t.getTarget(e)}computeTargetState(e,r,n,o,i,s){let a,l,u=r.configs.toArray(),f=new p.ATNConfigSet;do{let e=!i||null!=n;
2e||(f.isOutermostConfigSet=!0);let r,h=new p.ATNConfigSet;for(let n of u){if(t.debug&&console.log("testing "+this.getTokenName(o)+" at "+n.toString()),n.state instanceof I.RuleStopState){M(n.context.isEmpty),(i&&!n.reachesIntoOuterContext||o===O.IntStream.EOF)&&(null==r&&(r=[]),r.push(n));continue}let e=n.state.numberOfOptimizedTransitions;for(let t=0;t<e;t++){let e=n.state.getOptimizedTransition(t),r=this.getReachableTarget(n,e,o);null!=r&&h.add(n.transform(r,!1),s)}}if(this.optimize_unique_closure&&null==r&&o!==j.Token.EOF&&h.uniqueAlt!==c.ATN.INVALID_ALT_NUMBER){h.isOutermostConfigSet=f.isOutermostConfigSet,f=h;break}let d=!1,y=o===j.Token.EOF;if(this.closure(h,f,d,e,s,y),l=f.dipsIntoOuterContext,o===O.IntStream.EOF&&(f=this.removeAllConfigsNotInRuleStopState(f,s)),!(null==r||i&&P.PredictionMode.hasConfigInRuleStopState(f))){M(r.length>0);for(let t of r)f.add(t,s)}if(i&&l){f.clear(),n=this.skipTailCalls(n);let t=this.getReturnState(n);if(null==a&&(a=new v.IntegerList),n=n.isEmpty?void 0:n.parent,a.add(t),t!==A.PredictionContext.EMPTY_FULL_STATE_KEY)for(let e=0;e<u.length;e++)u[e]=u[e].appendContext(t,s)}}while(i&&l);return f.isEmpty?(this.setDFAEdge(r,o,h.ATNSimulator.ERROR),[h.ATNSimulator.ERROR,n]):[this.addDFAEdge(e,r,o,a,f,s),n]}removeAllConfigsNotInRuleStopState(t,e){if(P.PredictionMode.allConfigsInRuleStopStates(t))return t;let r=new p.ATNConfigSet;for(let n of t)n.state instanceof I.RuleStopState&&r.add(n,e);return r}computeStartState(t,e,r){let n=t.isPrecedenceDfa?t.getPrecedenceStartState(this._parser.precedence,r):r?t.s0full:t.s0;if(null!=n){if(!r)return new L.SimulatorState(e,n,r,e);n.setContextSensitive(this.atn)}t.decision;let o=t.atnStartState,i=0,s=e,a=r?A.PredictionContext.EMPTY_FULL:A.PredictionContext.EMPTY_LOCAL,l=new C.PredictionContextCache;if(r){if(!this.enable_global_context_dfa)for(;null!=s;)s.isEmpty?(i=A.PredictionContext.EMPTY_FULL_STATE_KEY,s=void 0):(i=this.getReturnState(s),a=a.appendSingleContext(i,l),s=s.parent);for(;null!=n&&n.isContextSensitive&&null!=s;){let t;if(s=this.skipTailCalls(s),s.isEmpty?(t=n.getContextTarget(A.PredictionContext.EMPTY_FULL_STATE_KEY),i=A.PredictionContext.EMPTY_FULL_STATE_KEY,s=void 0):(i=this.getReturnState(s),t=n.getContextTarget(i),a=a.appendSingleContext(i,l),s=s.parent),null==t)break;n=t}}if(null!=n&&!n.isContextSensitive)return new L.SimulatorState(e,n,r,s);let c=new p.ATNConfigSet;for(;;){let h=new p.ATNConfigSet,f=o.numberOfTransitions;for(let t=0;t<f;t++){let e=o.transition(t).target;h.add(u.ATNConfig.create(e,t+1,a))}let d=null!=s;
2d||(c.isOutermostConfigSet=!0);let y=!0;this.closure(h,c,y,d,l,!1);let g,m=c.dipsIntoOuterContext;if(r&&!this.enable_global_context_dfa){n=this.addDFAState(t,c,l);break}if(null==n?t.isPrecedenceDfa?(c=this.applyPrecedenceFilter(c,e,l),g=this.addDFAState(t,c,l),t.setPrecedenceStartState(this._parser.precedence,r,g)):(g=this.addDFAState(t,c,l),r?t.s0full?g=t.s0full:t.s0full=g:t.s0?g=t.s0:t.s0=g):(t.isPrecedenceDfa&&(c=this.applyPrecedenceFilter(c,e,l)),g=this.addDFAState(t,c,l),n.setContextTarget(i,g)),n=g,!r||!m)break;g.setContextSensitive(this.atn),c.clear(),s=this.skipTailCalls(s);let _=this.getReturnState(s);s=s.isEmpty?void 0:s.parent,_!==A.PredictionContext.EMPTY_FULL_STATE_KEY&&(a=a.appendSingleContext(_,l)),i=_}return new L.SimulatorState(e,n,r,s)}applyPrecedenceFilter(t,e,r){let n=new Map,o=new p.ATNConfigSet;for(let i of t){if(1!==i.alt)continue;let t=i.semanticContext.evalPrecedence(this._parser,e);null!=t&&(n.set(i.state.stateNumber,i.context),t!==i.semanticContext?o.add(i.transform(i.state,!1,t),r):o.add(i,r))}for(let i of t)if(1!==i.alt){if(!i.isPrecedenceFilterSuppressed){let t=n.get(i.state.stateNumber);if(null!=t&&t.equals(i.context))continue}o.add(i,r)}return o}getReachableTarget(t,e,r){if(e.matches(r,0,this.atn.maxTokenType))return e.target}predicateDFAState(e,r,n){let o=this.getConflictingAltsFromConfigSet(r);if(!o)throw new Error("This unhandled scenario is intended to be unreachable, but I'm currently not sure of why we know that's the case.");t.debug&&console.log("predicateDFAState "+e);let i,s=this.getPredsForAmbigAlts(o,r,n);return null!=s&&(i=this.getPredicatePredictions(o,s),e.predicates=i),i}getPredsForAmbigAlts(e,r,n){let o=new Array(n+1),i=o.length;for(let t of r)e.get(t.alt)&&(o[t.alt]=w.SemanticContext.or(o[t.alt],t.semanticContext));let s=0;for(let t=0;t<i;t++)null==o[t]?o[t]=w.SemanticContext.NONE:o[t]!==w.SemanticContext.NONE&&s++;let a=o;return 0===s&&(a=void 0),t.debug&&console.log("getPredsForAmbigAlts result "+(a?l.Arrays.toString(a):"undefined")),a}getPredicatePredictions(t,e){let r=[],n=!1;for(let o=1;o<e.length;o++){let i=e[o];M(null!=i),null!=t&&t.get(o)&&i===w.SemanticContext.NONE?r.push(new _.DFAState.PredPrediction(i,o)):i!==w.SemanticContext.NONE&&(n=!0,r.push(new _.DFAState.PredPrediction(i,o)))}if(n)return r}evalSemanticContext(e,r,n){let o=new y.BitSet;for(let i of e){if(i.pred===w.SemanticContext.NONE){if(o.set(i.alt),!n)break;continue}let e=this.evalSemanticContextImpl(i.pred,r,i.alt);if((t.debug||t.dfa_debug)&&console.log("eval pred "+i+"="+e),e&&((t.debug||t.dfa_debug)&&console.log("PREDICT "+i.alt),o.set(i.alt),!n))break}return o}evalSemanticContextImpl(t,e,r){return t.eval(this._parser,e)}closure(t,e,r,n,o,i){null==o&&(o=C.PredictionContextCache.UNCACHED);let s=t,l=new a.Array2DHashSet(T.ObjectEqualityComparator.INSTANCE);for(;s.size>0;){let t=new p.ATNConfigSet;for(let a of s)this.closureImpl(a,e,t,l,r,n,o,0,i);s=t}}closureImpl(e,r,n,o,i,a,l,c,p){if(t.debug&&console.log("closure("+e.toString(this._parser,!0)+")"),e.state instanceof I.RuleStopState)if(e.context.isEmpty){if(!a)return void r.add(e,l);t.debug&&console.log("FALLING off rule "+this.getRuleName(e.state.ruleIndex)),e.context===A.PredictionContext.EMPTY_FULL?e=e.transform(e.state,!1,A.PredictionContext.EMPTY_LOCAL):!e.reachesIntoOuterContext&&A.PredictionContext.isEmptyLocal(e.context)&&r.add(e,l)}else{let t=e.context.hasEmpty,s=e.context.size-(t?1:0);for(let h=0;h<s;h++){let t=e.context.getParent(h),s=this.atn.states[e.context.getReturnState(h)],f=u.ATNConfig.create(s,e.alt,t,e.semanticContext);f.outerContextDepth=e.outerContextDepth,f.isPrecedenceFilterSuppressed=e.isPrecedenceFilterSuppressed,M(c>F),this.closureImpl(f,r,n,o,i,a,l,c-1,p)}if(!t||!a)return;e=e.transform(e.state,!1,A.PredictionContext.EMPTY_LOCAL)}let h=e.state;h.onlyHasEpsilonTransitions||(r.add(e,l),t.debug&&console.log("added config "+r));for(let u=0;u<h.numberOfOptimizedTransitions;u++){if(0===u&&h.stateType===f.ATNStateType.STAR_LOOP_ENTRY&&h.precedenceRuleDecision&&!e.context.hasEmpty){let t=h,r=!0;for(let n=0;n<e.context.size;n++)if(!t.precedenceLoopbackStates.get(e.context.getReturnState(n))){r=!1;break}if(r)continue}let d=h.getOptimizedTransition(u),y=!(d instanceof s.ActionTransition)&&i,g=this.getEpsilonTarget(e,d,y,0===c,l,p);if(null!=g){if(d instanceof R.RuleTransition&&null!=n&&!i){n.add(g,l);continue}let s=c;if(e.state instanceof I.RuleStopState){if(null!=this.dfa&&this.dfa.isPrecedenceDfa){d.outermostPrecedenceReturn===this.dfa.atnStartState.ruleIndex&&(g.isPrecedenceFilterSuppressed=!0)}if(g.outerContextDepth=g.outerContextDepth+1,!o.add(g))continue;M(s>F),s--,t.debug&&console.log("dips into outer ctx: "+g)}else if(d instanceof R.RuleTransition)!this.optimize_tail_calls||!d.optimizedTailCall||this.tail_call_preserves_sll&&A.PredictionContext.isEmptyLocal(e.context)?s>=0&&s++:(M(g.context===e.context),0===s&&(s--,!this.tail_call_preserves_sll&&A.PredictionContext.isEmptyLocal(e.context)&&(g.outerContextDepth=g.outerContextDepth+1)));else if(!d.isEpsilon&&!o.add(g))continue;this.closureImpl(g,r,n,o,y,a,l,s,p)}}}getRuleName(t){return null!=this._parser&&t>=0?this._parser.ruleNames[t]:"<rule "+t+">"}getEpsilonTarget(t,e,r,n,o,i){switch(e.serializationType){case 3:return this.ruleTransition(t,e,o);case 10:return this.precedenceTransition(t,e,r,n);case 4:return this.predTransition(t,e,r,n);case 6:return this.actionTransition(t,e);case 1:return t.transform(e.target,!1);case 5:case 2:case 7:return i&&e.matches(j.Token.EOF,0,1)?t.transform(e.target,!1):void 0;default:return}}actionTransition(e,r){return t.debug&&console.log("ACTION edge "+r.ruleIndex+":"+r.actionIndex),e.transform(r.target,!1)}precedenceTransition(e,r,n,o){let i;if(t.debug&&(console.log("PRED (collectPredicates="+n+") "+r.precedence+">=_p, ctx dependent=true"),null!=this._parser&&console.log("context surrounding pred is "+this._parser.getRuleInvocationStack())),n&&o){let t=w.SemanticContext.and(e.semanticContext,r.predicate);i=e.transform(r.target,!1,t)}else i=e.transform(r.target,!1);return t.debug&&console.log("config from pred transition="+i),i}predTransition(e,r,n,o){let i;if(t.debug&&(console.log("PRED (collectPredicates="+n+") "+r.ruleIndex+":"+r.predIndex+", ctx dependent="+r.isCtxDependent),null!=this._parser&&console.log("context surrounding pred is "+this._parser.getRuleInvocationStack())),n&&(!r.isCtxDependent||r.isCtxDependent&&o)){let t=w.SemanticContext.and(e.semanticContext,r.predicate);i=e.transform(r.target,!1,t)}else i=e.transform(r.target,!1);return t.debug&&console.log("config from pred transition="+i),i}ruleTransition(e,r,n){t.debug&&console.log("CALL rule "+this.getRuleName(r.target.ruleIndex)+", ctx="+e.context);let o,i=r.followState;return o=!this.optimize_tail_calls||!r.optimizedTailCall||this.tail_call_preserves_sll&&A.PredictionContext.isEmptyLocal(e.context)?null!=n?n.getChild(e.context,i.stateNumber):e.context.getChild(i.stateNumber):e.context,e.transform(r.target,!1,o)}isConflicted(e,r){if(e.uniqueAlt!==c.ATN.INVALID_ALT_NUMBER||e.size<=1)return;let n=e.toArray();n.sort(t.STATE_ALT_SORT_COMPARATOR);let o=!e.dipsIntoOuterContext,i=new y.BitSet,s=n[0].alt;i.set(s);let a,l=n[0].state.nonStopStateNumber;for(let t of n){let e=t.state.nonStopStateNumber;if(e!==l){if(t.alt!==s)return;l=e}}if(o){l=n[0].state.nonStopStateNumber,a=new y.BitSet;let t=s;for(let r of n){if(r.state.nonStopStateNumber!==l)break;let e=r.alt;a.set(e),t=e}l=n[0].state.nonStopStateNumber;let e=s;for(let r of n){let n=r.state.nonStopStateNumber,i=r.alt;if(n!==l){if(e!==t){o=!1;break}l=n,e=s}else if(i!==e){if(i!==a.nextSetBit(e+1)){o=!1;break}e=i}}}l=n[0].state.nonStopStateNumber;let u=0,p=0,h=n[0].context;
2for(let t=1;t<n.length;t++){let e=n[t];if(e.alt!==s)break;if(e.state.nonStopStateNumber!==l)break;p=t,h=r.join(h,n[t].context)}for(let t=p+1;t<n.length;t++){let e=n[t],a=e.state;if(i.set(e.alt),a.nonStopStateNumber!==l){l=a.nonStopStateNumber,u=t,p=t,h=e.context;for(let t=u+1;t<n.length;t++){let e=n[t];if(e.alt!==s)break;if(e.state.nonStopStateNumber!==l)break;p=t,h=r.join(h,e.context)}t=p;continue}let c=e.context,f=e.alt,d=t;for(let t=d+1;t<n.length;t++){let e=n[t];if(e.alt!==f)break;if(e.state.nonStopStateNumber!==l)break;d=t,c=r.join(c,e.context)}t=d;let y=r.join(h,c);if(!h.equals(y))return;o=o&&h.equals(c)}return new g.ConflictInfo(i,o)}getConflictingAltsFromConfigSet(t){let e=t.conflictingAlts;return null==e&&t.uniqueAlt!==c.ATN.INVALID_ALT_NUMBER&&(e=new y.BitSet,e.set(t.uniqueAlt)),e}getTokenName(t){if(t===j.Token.EOF)return"EOF";let e=(null!=this._parser?this._parser.vocabulary:D.VocabularyImpl.EMPTY_VOCABULARY).getDisplayName(t);return e===String(t)?e:e+"<"+t+">"}getLookaheadName(t){return this.getTokenName(t.LA(1))}dumpDeadEndConfigs(t){console.log("dead end configs: ");let e=t.deadEndConfigs;if(e)for(let r of e){let t="no edges";if(r.state.numberOfOptimizedTransitions>0){let e=r.state.getOptimizedTransition(0);if(e instanceof d.AtomTransition)t="Atom "+this.getTokenName(e._label);else if(e instanceof k.SetTransition){t=(e instanceof b.NotSetTransition?"~":"")+"Set "+e.set.toString()}}console.log(r.toString(this._parser,!0)+":"+t)}}noViableAlt(t,e,r,n){return new x.NoViableAltException(this._parser,t,t.get(n),t.LT(1),r,e)}getUniqueAlt(t){let e=c.ATN.INVALID_ALT_NUMBER;for(let r of t)if(e===c.ATN.INVALID_ALT_NUMBER)e=r.alt;else if(r.alt!==e)return c.ATN.INVALID_ALT_NUMBER;return e}configWithAltAtStopState(t,e){for(let r of t)if(r.alt===e&&r.state instanceof I.RuleStopState)return!0;return!1}addDFAEdge(e,r,n,o,i,s){M(null==o||o.isEmpty||e.isContextSensitive);let a=r,l=this.addDFAState(e,i,s);if(null!=o)for(let t of o.toArray()){if(t===A.PredictionContext.EMPTY_FULL_STATE_KEY&&a.configs.isOutermostConfigSet)continue;a.setContextSensitive(this.atn),a.setContextSymbol(n);let r=a.getContextTarget(t);null==r?(r=this.addDFAContextState(e,a.configs,t,s),M(t!==A.PredictionContext.EMPTY_FULL_STATE_KEY||r.configs.isOutermostConfigSet),a.setContextTarget(t,r),a=r):a=r}return t.debug&&console.log("EDGE "+a+" -> "+l+" upon "+this.getTokenName(n)),this.setDFAEdge(a,n,l),t.debug&&console.log("DFA=\n"+e.toString(null!=this._parser?this._parser.vocabulary:D.VocabularyImpl.EMPTY_VOCABULARY,null!=this._parser?this._parser.ruleNames:void 0)),l}setDFAEdge(t,e,r){null!=t&&t.setTarget(e,r)}addDFAContextState(t,e,r,n){if(r!==A.PredictionContext.EMPTY_FULL_STATE_KEY){let o=new p.ATNConfigSet;for(let t of e)o.add(t.appendContext(r,n));return this.addDFAState(t,o,n)}return M(!e.isOutermostConfigSet,"Shouldn't be adding a duplicate edge."),(e=e.clone(!0)).isOutermostConfigSet
2=!0,this.addDFAState(t,e,n)}addDFAState(e,r,n){let o=this.enable_global_context_dfa||!r.isOutermostConfigSet;if(o){r.isReadOnly||r.optimizeConfigs(this);let t=this.createDFAState(e,r),n=e.states.get(t);if(null!=n)return n}r.isReadOnly||null==r.conflictInfo&&(r.conflictInfo=this.isConflicted(r,n));let s=this.createDFAState(e,r.clone(!0)),a=this.atn.getDecisionState(e.decision),l=this.getUniqueAlt(r);if(l!==c.ATN.INVALID_ALT_NUMBER)s.acceptStateInfo=new i.AcceptStateInfo(l);else if(null!=r.conflictingAlts){let t=r.conflictingAlts;t&&(s.acceptStateInfo=new i.AcceptStateInfo(t.nextSetBit(0)))}if(s.isAcceptState&&r.hasSemanticContext&&this.predicateDFAState(s,r,a.numberOfTransitions),!o)return s;let u=e.addState(s);return t.debug&&u===s&&console.log("adding new DFA state: "+s),u}createDFAState(t,e){return new _.DFAState(e)}reportAttemptingFullContext(e,r,n,o,i){if(t.debug||t.retry_debug){let t=S.Interval.of(o,i);console.log("reportAttemptingFullContext decision="+e.decision+":"+n.s0.configs+", input="+this._parser.inputStream.getText(t))}if(null!=this._parser){let t=this._parser.getErrorListenerDispatch();t.reportAttemptingFullContext&&t.reportAttemptingFullContext(this._parser,e,o,i,r,n)}}reportContextSensitivity(e,r,n,o,i){if(t.debug||t.retry_debug){let t=S.Interval.of(o,i);console.log("reportContextSensitivity decision="+e.decision+":"+n.s0.configs+", input="+this._parser.inputStream.getText(t))}if(null!=this._parser){let t=this._parser.getErrorListenerDispatch();t.reportContextSensitivity&&t.reportContextSensitivity(this._parser,e,o,i,r,n)}}reportAmbiguity(e,r,n,o,i,s,a){if(t.debug||t.retry_debug){let t=S.Interval.of(n,o);console.log("reportAmbiguity "+s+":"+a+", input="+this._parser.inputStream.getText(t))}if(null!=this._parser){let t=this._parser.getErrorListenerDispatch();t.reportAmbiguity&&t.reportAmbiguity(this._parser,e,n,o,i,s,a)}}getReturnState(t){if(t.isEmpty)return A.PredictionContext.EMPTY_FULL_STATE_KEY;return this.atn.states[t.invokingState].transition(0).followState.stateNumber}skipTailCalls(t){if(!this.optimize_tail_calls)return t;for(;!t.isEmpty;){let e=this.atn.states[t.invokingState];if(M(1===e.numberOfTransitions&&3===e.transition(0).serializationType),!e.transition(0).tailCall)break;t=t.parent}return t}get parser(){return this._parser}};z.debug=!1,z.dfa_debug=!1,z.retry_debug=!1,z.STATE_ALT_SORT_COMPARATOR=(t,e)=>{let r=t.state.nonStopStateNumber-e.state.nonStopStateNumber;return 0!==r?r:(r=t.alt-e.alt,0!==r?r:0)},n([N.NotNull],z.prototype,"predictionMode",void 0),n([N.NotNull],z.prototype,"getPredictionMode",null),n([o(0,N.NotNull)],z.prototype,"setPredictionMode",null),n([N.Override],z.prototype,"reset",null),n([o(0,N.NotNull)],z.prototype,"adaptivePredict",null),n([o(0,N.NotNull),o(1,N.NotNull),o(2,N.NotNull)],z.prototype,"getStartState",null),n([o(0,N.NotNull),o(1,N.NotNull),o(3,N.NotNull)],z.prototype,"execDFA",null),n([o(0,N.NotNull),o(1,N.NotNull),o(3,N.NotNull)],z.prototype,"execATN",null),n([o(0,N.NotNull),o(2,N.NotNull)],z.prototype,"handleNoViableAlt",null),n([o(0,N.NotNull)],z.prototype,"getExistingTargetState",null),n([N.NotNull,o(0,N.NotNull),o(1,N.NotNull)],z.prototype,"computeTargetState",null),n([N.NotNull,o(0,N.NotNull)],z.prototype,"removeAllConfigsNotInRuleStopState",null),n([N.NotNull],z.prototype,"computeStartState",null),n([N.NotNull,o(0,N.NotNull)],z.prototype,"applyPrecedenceFilter",null),n([o(0,N.NotNull),o(1,N.NotNull)],z.prototype,"getReachableTarget",null),n([o(0,N.NotNull),o(1,N.NotNull)],z.prototype,"getPredsForAmbigAlts",null),n([o(0,N.NotNull)],z.prototype,"evalSemanticContext",null),n([o(0,N.NotNull)],z.prototype,"evalSemanticContextImpl",null),n([o(1,N.NotNull),o(4,N.Nullable)],z.prototype,"closure",null),n([o(0,N.NotNull),o(1,N.NotNull),o(2,N.Nullable),o(3,N.NotNull),o(6,N.NotNull)],z.prototype,"closureImpl",null),n([N.NotNull],z.prototype,"getRuleName",null),n([o(0,N.NotNull),o(1,N.NotNull)],z.prototype,"getEpsilonTarget",null),n([N.NotNull,o(0,N.NotNull),o(1,N.NotNull)],z.prototype,"actionTransition",null),n([N.Nullable,o(0,N.NotNull),o(1,N.NotNull)],z.prototype,"precedenceTransition",null),n([N.Nullable,o(0,N.NotNull),o(1,N.NotNull)],z.prototype,"predTransition",null),n([N.NotNull,o(0,N.NotNull),o(1,N.NotNull),o(2,N.Nullable)],z.prototype,"ruleTransition",null),n([o(0,N.NotNull)],z.prototype,"isConflicted",null),n([N.NotNull],z.prototype,"getTokenName",null),n([o(0,N.NotNull)],z.prototype,"dumpDeadEndConfigs",null),n([N.NotNull,o(0,N.NotNull),o(1,N.NotNull),o(2,N.NotNull)],z.prototype,"noViableAlt",null),n([o(0,N.NotNull)],z.prototype,"getUniqueAlt",null),n([o(0,N.NotNull)],z.prototype,"configWithAltAtStopState",null),n([N.NotNull,o(0,N.NotNull),o(1,N.NotNull),o(4,N.NotNull)],z.prototype,"addDFAEdge",null),n([o(0,N.Nullable),o(2,N.Nullable)],z.prototype,"setDFAEdge",null),n([N.NotNull,o(0,N.NotNull),o(1,N.NotNull)],z.prototype,"addDFAContextState",null),n([N.NotNull,o(0,N.NotNull),o(1,N.NotNull)],z.prototype,"addDFAState",null),n([N.NotNull,o(0,N.NotNull),o(1,N.NotNull)],z.prototype,"createDFAState",null),n([o(0,N.NotNull),o(2,N.NotNull)],z.prototype,"reportAttemptingFullContext",null),n([o(0,N.NotNull),o(2,N.NotNull)],z.prototype,"reportContextSensitivity",null),n([o(0,N.NotNull),o(5,N.NotNull),o(6,N.NotNull)],z.prototype,"reportAmbiguity",null),z=n([o(0,N.NotNull)],z),e.ParserATNSimulator=z},4604:function(t,e,r){"use strict";var n=this&&this.__decorate||function(t,e,r,n){var o,i=arguments.length,s=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;
2a--)(o=t[a])&&(s=(i<3?o(s):i>3?o(e,r,s):o(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s};Object.defineProperty(e,"__esModule",{value:!0}),e.PlusBlockStartState=void 0;const o=r(4700),i=r(4136),s=r(8042);class a extends i.BlockStartState{get stateType(){return o.ATNStateType.PLUS_BLOCK_START}}n([s.Override],a.prototype,"stateType",null),e.PlusBlockStartState=a},8080:function(t,e,r){"use strict";var n=this&&this.__decorate||function(t,e,r,n){var o,i=arguments.length,s=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(s=(i<3?o(s):i>3?o(e,r,s):o(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s};Object.defineProperty(e,"__esModule",{value:!0}),e.PlusLoopbackState=void 0;const o=r(4700),i=r(213),s=r(8042);class a extends i.DecisionState{get stateType(){return o.ATNStateType.PLUS_LOOP_BACK}}n([s.Override],a.prototype,"stateType",null),e.PlusLoopbackState=a},4649:function(t,e,r){"use strict";var n=this&&this.__decorate||function(t,e,r,n){var o,i=arguments.length,s=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(s=(i<3?o(s):i>3?o(e,r,s):o(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},o=this&&this.__param||function(t,e){return function(r,n){e(r,n,t)}};Object.defineProperty(e,"__esModule",{value:!0}),e.PrecedencePredicateTransition=void 0;const i=r(7520),s=r(8042),a=r(1888);let l=class extends i.AbstractPredicateTransition{constructor(t,e){super(t),this.precedence=e}get serializationType(){return 10}get isEpsilon(){return!0}matches(t,e,r){return!1}get predicate(){return new a.SemanticContext.PrecedencePredicate(this.precedence)}toString(){return this.precedence+" >= _p"}};n([s.Override],l.prototype,"serializationType",null),n([s.Override],l.prototype,"isEpsilon",null),n([s.Override],l.prototype,"matches",null),n([s.Override],l.prototype,"toString",null),l=n([o(0,s.NotNull)],l),e.PrecedencePredicateTransition=l},5814:function(t,e,r){"use strict";var n=this&&this.__decorate||function(t,e,r,n){var o,i=arguments.length,s=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(s=(i<3?o(s):i>3?o(e,r,s):o(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},o=this&&this.__param||function(t,e){return function(r,n){e(r,n,t)}};Object.defineProperty(e,"__esModule",{value:!0}),e.PredicateEvalInfo=void 0;const i=r(112),s=r(8042);let a=class extends i.DecisionEventInfo{constructor(t,e,r,n,o,i,s,a){super(e,t,r,n,o,t.useContext),this.semctx=i,this.evalResult=s,this.predictedAlt=a}};a=n([o(0,s.NotNull),o(2,s.NotNull),o(5,s.NotNull)],a),e.PredicateEvalInfo=a},3233:function(t,e,r){"use strict";var n=this&&this.__decorate||function(t,e,r,n){var o,i=arguments.length,s=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(s=(i<3?o(s):i>3?o(e,r,s):o(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},o=this&&this.__param||function(t,e){return function(r,n){e(r,n,t)}};Object.defineProperty(e,"__esModule",{value:!0}),e.PredicateTransition=void 0;const i=r(7520),s=r(8042),a=r(1888);let l=class extends i.AbstractPredicateTransition{constructor(t,e,r,n){super(t),this.ruleIndex=e,this.predIndex=r,this.isCtxDependent=n}get serializationType(){return 4}get isEpsilon(){return!0}matches(t,e,r){return!1}get predicate(){return new a.SemanticContext.Predicate(this.ruleIndex,this.predIndex,this.isCtxDependent)}toString(){return"pred_"+this.ruleIndex+":"+this.predIndex}};n([s.Override],l.prototype,"serializationType",null),n([s.Override],l.prototype,"isEpsilon",null),n([s.Override],l.prototype,"matches",null),n([s.Override,s.NotNull],l.prototype,"toString",null),l=n([o(0,s.NotNull)],l),e.PredicateTransition=l},9767:function(t,e,r){"use strict";var n=this&&this.__decorate||function(t,e,r,n){var o,i=arguments.length,s=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;
2a--)(o=t[a])&&(s=(i<3?o(s):i>3?o(e,r,s):o(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},o=this&&this.__param||function(t,e){return function(r,n){e(r,n,t)}};Object.defineProperty(e,"__esModule",{value:!0}),e.SingletonPredictionContext=e.PredictionContext=void 0;const i=r(3874),s=r(9026),a=r(6005),l=r(3943),c=r(8042),u=r(604),p=r(9282);class h{constructor(t){this.cachedHashCode=t}static calculateEmptyHashCode(){let t=l.MurmurHash.initialize(1);return t=l.MurmurHash.finish(t,0),t}static calculateSingleHashCode(t,e){let r=l.MurmurHash.initialize(1);return r=l.MurmurHash.update(r,t),r=l.MurmurHash.update(r,e),r=l.MurmurHash.finish(r,2),r}static calculateHashCode(t,e){let r=l.MurmurHash.initialize(1);for(let n of t)r=l.MurmurHash.update(r,n);for(let n of e)r=l.MurmurHash.update(r,n);return r=l.MurmurHash.finish(r,2*t.length),r}static fromRuleContext(t,e,r=!0){if(e.isEmpty)return r?h.EMPTY_FULL:h.EMPTY_LOCAL;let n;n=e._parent?h.fromRuleContext(t,e._parent,r):r?h.EMPTY_FULL:h.EMPTY_LOCAL;let o=t.states[e.invokingState].transition(0);return n.getChild(o.followState.stateNumber)}static addEmptyContext(t){return t.addEmptyContext()}static removeEmptyContext(t){return t.removeEmptyContext()}static join(t,e,r=u.PredictionContextCache.UNCACHED){if(t===e)return t;if(t.isEmpty)return h.isEmptyLocal(t)?t:h.addEmptyContext(e);if(e.isEmpty)return h.isEmptyLocal(e)?e:h.addEmptyContext(t);let n=t.size,o=e.size;if(1===n&&1===o&&t.getReturnState(0)===e.getReturnState(0)){let n=r.join(t.getParent(0),e.getParent(0));return n===t.getParent(0)?t:n===e.getParent(0)?e:n.getChild(t.getReturnState(0))}let i=0,s=new Array(n+o),a=new Array(s.length),l=0,c=0,f=!0,g=!0;for(;l<n&&c<o;)t.getReturnState(l)===e.getReturnState(c)?(s[i]=r.join(t.getParent(l),e.getParent(c)),a[i]=t.getReturnState(l),f=f&&s[i]===t.getParent(l),g=g&&s[i]===e.getParent(c),l++,c++):t.getReturnState(l)<e.getReturnState(c)?(s[i]=t.getParent(l),a[i]=t.getReturnState(l),g=!1,l++):(p(e.getReturnState(c)<t.getReturnState(l)),s[i]=e.getParent(c),a[i]=e.getReturnState(c),f=!1,c++),i++;for(;l<n;)s[i]=t.getParent(l),a[i]=t.getReturnState(l),l++,g=!1,i++;for(;c<o;)s[i]=e.getParent(c),a[i]=e.getReturnState(c),c++,f=!1,i++;return f?t:g?e:(i<s.length&&(s=s.slice(0,i),a=a.slice(0,i)),0===s.length?h.EMPTY_FULL:1===s.length?new y(s[0],a[0]):new d(s,a))}static isEmptyLocal(t){return t===h.EMPTY_LOCAL}static getCachedContext(t,e,r){if(t.isEmpty)return t;let n=r.get(t);if(n)return n;if(n=e.get(t),n)return r.put(t,n),n;let o,i=!1,s=new Array(t.size);for(let a=0;a<s.length;a++){let n=h.getCachedContext(t.getParent(a),e,r);if(i||n!==t.getParent(a)){if(!i){s=new Array(t.size);for(let e=0;e<t.size;e++)s[e]=t.getParent(e);i=!0}s[a]=n}}if(!i)return n=e.putIfAbsent(t,t),r.put(t,null!=n?n:t),t;if(1===s.length)o=new y(s[0],t.getReturnState(0));else{let e=new Array(t.size);for(let r=0;r<t.size;r++)e[r]=t.getReturnState(r);o=new d(s,e,t.hashCode())}return n=e.putIfAbsent(o,o),r.put(o,n||o),r.put(t,n||o),o}appendSingleContext(t,e){return this.appendContext(h.EMPTY_FULL.getChild(t),e)}getChild(t){return new y(this,t)}hashCode(){return this.cachedHashCode}toStrings(t,e,r=h.EMPTY_FULL){let n=[];t:for(let o=0;;o++){let i=0,s=!0,a=this,l=e,c="";for(c+="[";!a.isEmpty&&a!==r;){let e=0;if(a.size>0){let t=1;for(;1<<t>>>0<a.size;)t++;if(e=o>>i&(1<<t>>>0)-1,s=s&&e>=a.size-1,e>=a.size)continue t;i+=t}if(t){c.length>1&&(c+=" ");let e=t.atn.states[l];c+=t.ruleNames[e.ruleIndex]}else a.getReturnState(e)!==h.EMPTY_FULL_STATE_KEY&&(a.isEmpty||(c.length>1&&(c+=" "),c+=a.getReturnState(e)));l=a.getReturnState(e),a=a.getParent(e)}if(c+="]",n.push(c),s)break}return n}}n([c.Override],h.prototype,"hashCode",null),n([o(0,c.NotNull),o(1,c.NotNull),o(2,c.NotNull)],h,"join",null),n([o(0,c.NotNull),o(1,c.NotNull),o(2,c.NotNull)],h,"getCachedContext",null),e.PredictionContext=h;class f extends h{constructor(t){super(h.calculateEmptyHashCode()),this.fullContext=t}get isFullContext(){return this.fullContext}addEmptyContext(){return this}removeEmptyContext(){throw new Error("Cannot remove the empty context from itself.")}getParent(t){throw new Error("index out of bounds")}getReturnState(t){throw new Error("index out of bounds")}findReturnState(t){return-1}get size(){return 0}appendSingleContext(t,e){return e.getChild(this,t)}appendContext(t,e){return t}get isEmpty(){return!0}get hasEmpty(){return!0}equals(t){return this===t}toStrings(t,e,r){return["[]"]}}n([c.Override],f.prototype,"addEmptyContext",null),n([c.Override],f.prototype,"removeEmptyContext",null),n([c.Override],f.prototype,"getParent",null),n([c.Override],f.prototype,"getReturnState",null),n([c.Override],f.prototype,"findReturnState",null),n([c.Override],f.prototype,"size",null),n([c.Override],f.prototype,"appendSingleContext",null),n([c.Override],f.prototype,"appendContext",null),n([c.Override],f.prototype,"isEmpty",null),n([c.Override],f.prototype,"hasEmpty",null),n([c.Override],f.prototype,"equals",null),n([c.Override],f.prototype,"toStrings",null);let d=class t extends h{constructor(t,e,r){super(r||h.calculateHashCode(t,e)),p(t.length===e.length),p(e.length>1||e[0]!==h.EMPTY_FULL_STATE_KEY,"Should be using PredictionContext.EMPTY instead."),this.parents=t,this.returnStates=e}getParent(t){return this.parents[t]}getReturnState(t){return this.returnStates[t]}findReturnState(t){return a.Arrays.binarySearch(this.returnStates,t)}get size(){return this.returnStates.length}get isEmpty(){return!1}get hasEmpty(){return this.returnStates[this.returnStates.length-1]===h.EMPTY_FULL_STATE_KEY}addEmptyContext(){if(this.hasEmpty)return this;let e=this.parents.slice(0),r=this.returnStates.slice(0);return e.push(h.EMPTY_FULL),r.push(h.EMPTY_FULL_STATE_KEY),new t(e,r)}removeEmptyContext(){if(!this.hasEmpty)return this;if(2===this.returnStates.length)return new y(this.parents[0],this.returnStates[0]);{let e=this.parents.slice(0,this.parents.length-1),r=this.returnStates.slice(0,this.returnStates.length-1);return new t(e,r)}}appendContext(e,r){return t.appendContextImpl(this,e,new h.IdentityHashMap)}static appendContextImpl(e,r,n){if(r.isEmpty){if(h.isEmptyLocal(r)){if(e.hasEmpty)return h.EMPTY_LOCAL;throw new Error("what to do here?")}return e}if(1!==r.size)throw new Error("Appending a tree suffix is not yet supported.");let o=n.get(e);if(!o){if(e.isEmpty)o=r;else{let i=e.size;e.hasEmpty&&i--;let s=new Array(i),a=new Array(i);for(let t=0;t<i;t++)a[t]=e.getReturnState(t);for(let o=0;o<i;o++)s[o]=t.appendContextImpl(e.getParent(o),r,n);1===s.length?o=new y(s[0],a[0]):(p(s.length>1),o=new t(s,a)),e.hasEmpty&&(o=h.join(o,r))}n.put(e,o)}return o}equals(e){if(this===e)return!0;
2if(!(e instanceof t))return!1;if(this.hashCode()!==e.hashCode())return!1;let r=e;return this.equalsImpl(r,new s.Array2DHashSet)}equalsImpl(t,e){let r=[],n=[];for(r.push(this),n.push(t);;){let t=r.pop(),o=n.pop();if(!t||!o)break;let i=new u.PredictionContextCache.IdentityCommutativePredictionContextOperands(t,o);if(!e.add(i))continue;let s=i.x.size;if(0!==s){if(s!==i.y.size)return!1;for(let t=0;t<s;t++){if(i.x.getReturnState(t)!==i.y.getReturnState(t))return!1;let e=i.x.getParent(t),o=i.y.getParent(t);if(e.hashCode()!==o.hashCode())return!1;e!==o&&(r.push(e),n.push(o))}}else if(!i.x.equals(i.y))return!1}return!0}};n([c.NotNull],d.prototype,"parents",void 0),n([c.NotNull],d.prototype,"returnStates",void 0),n([c.Override],d.prototype,"getParent",null),n([c.Override],d.prototype,"getReturnState",null),n([c.Override],d.prototype,"findReturnState",null),n([c.Override],d.prototype,"size",null),n([c.Override],d.prototype,"isEmpty",null),n([c.Override],d.prototype,"hasEmpty",null),n([c.Override],d.prototype,"addEmptyContext",null),n([c.Override],d.prototype,"removeEmptyContext",null),n([c.Override],d.prototype,"appendContext",null),n([c.Override],d.prototype,"equals",null),d=n([o(0,c.NotNull)],d);let y=class t extends h{constructor(t,e){super(h.calculateSingleHashCode(t,e)),this.parent=t,this.returnState=e}getParent(t){return this.parent}getReturnState(t){return this.returnState}findReturnState(t){return this.returnState===t?0:-1}get size(){return 1}get isEmpty(){return!1}get hasEmpty(){return!1}appendContext(t,e){return e.getChild(this.parent.appendContext(t,e),this.returnState)}addEmptyContext(){let t=[this.parent,h.EMPTY_FULL],e=[this.returnState,h.EMPTY_FULL_STATE_KEY];return new d(t,e)}removeEmptyContext(){return this}equals(e){if(e===this)return!0;if(!(e instanceof t))return!1;let r=e;return this.hashCode()===r.hashCode()&&(this.returnState===r.returnState&&this.parent.equals(r.parent))}};n([c.NotNull],y.prototype,"parent",void 0),n([c.Override],y.prototype,"getParent",null),n([c.Override],y.prototype,"getReturnState",null),n([c.Override],y.prototype,"findReturnState",null),n([c.Override],y.prototype,"size",null),n([c.Override],y.prototype,"isEmpty",null),n([c.Override],y.prototype,"hasEmpty",null),n([c.Override],y.prototype,"appendContext",null),n([c.Override],y.prototype,"addEmptyContext",null),n([c.Override],y.prototype,"removeEmptyContext",null),n([c.Override],y.prototype,"equals",null),y=n([o(0,c.NotNull)],y),e.SingletonPredictionContext=y,function(t){t.EMPTY_LOCAL=new f(!1),t.EMPTY_FULL=new f(!0),t.EMPTY_LOCAL_STATE_KEY=-2147483648,t.EMPTY_FULL_STATE_KEY=2147483647;class e extends i.Array2DHashMap{constructor(){super(r.INSTANCE)}}t.IdentityHashMap=e;class r{IdentityEqualityComparator(){}hashCode(t){return t.hashCode()}equals(t,e){return t===e}}r.INSTANCE=new r,n([c.Override],r.prototype,"hashCode",null),n([c.Override],r.prototype,"equals",null),t.IdentityEqualityComparator=r}(h=e.PredictionContext||(e.PredictionContext={}))},604:function(t,e,r){"use strict";var n=this&&this.__decorate||function(t,e,r,n){var o,i=arguments.length,s=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(s=(i<3?o(s):i>3?o(e,r,s):o(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s};Object.defineProperty(e,"__esModule",{value:!0}),e.PredictionContextCache=void 0;const o=r(3874),i=r(8042),s=r(8842),a=r(9767),l=r(9282);class c{constructor(t=!0){this.contexts=new o.Array2DHashMap(s.ObjectEqualityComparator.INSTANCE),this.childContexts=new o.Array2DHashMap(s.ObjectEqualityComparator.INSTANCE),this.joinContexts=new o.Array2DHashMap(s.ObjectEqualityComparator.INSTANCE),this.enableCache=t}getAsCached(t){if(!this.enableCache)return t;let e=this.contexts.get(t);return e||(e=t,this.contexts.put(t,t)),e}getChild(t,e){if(!this.enableCache)return t.getChild(e);let r=new c.PredictionContextAndInt(t,e),n=this.childContexts.get(r);return n||(n=t.getChild(e),n=this.getAsCached(n),this.childContexts.put(r,n)),n}join(t,e){if(!this.enableCache)return a.PredictionContext.join(t,e,this);let r=new c.IdentityCommutativePredictionContextOperands(t,e),n=this.joinContexts.get(r);return n||(n=a.PredictionContext.join(t,e,this),n=this.getAsCached(n),this.joinContexts.put(r,n),n)}}e.PredictionContextCache=c,c.UNCACHED=new c(!1),function(t){class e{constructor(t,e){this.obj=t,this.value=e}equals(t){if(!(t instanceof e))return!1;if(t===this)return!0;let r=t;return this.value===r.value&&(this.obj===r.obj||null!=this.obj&&this.obj.equals(r.obj))}hashCode(){let t=5;return t=7*t+(null!=this.obj?this.obj.hashCode():0),t=7*t+this.value,t}}n([i.Override],e.prototype,"equals",null),n([i.Override],e.prototype,"hashCode",null),t.PredictionContextAndInt=e;
2class r{constructor(t,e){l(null!=t),l(null!=e),this._x=t,this._y=e}get x(){return this._x}get y(){return this._y}equals(t){if(!(t instanceof r))return!1;if(this===t)return!0;let e=t;return this._x===e._x&&this._y===e._y||this._x===e._y&&this._y===e._x}hashCode(){return this._x.hashCode()^this._y.hashCode()}}n([i.Override],r.prototype,"equals",null),n([i.Override],r.prototype,"hashCode",null),t.IdentityCommutativePredictionContextOperands=r}(c=e.PredictionContextCache||(e.PredictionContextCache={}))},6247:function(t,e,r){"use strict";var n=this&&this.__decorate||function(t,e,r,n){var o,i=arguments.length,s=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(s=(i<3?o(s):i>3?o(e,r,s):o(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s};Object.defineProperty(e,"__esModule",{value:!0}),e.PredictionMode=void 0;const o=r(3874),i=r(3943),s=r(8042),a=r(5337);!function(t){t[t.SLL=0]="SLL",t[t.LL=1]="LL",t[t.LL_EXACT_AMBIG_DETECTION=2]="LL_EXACT_AMBIG_DETECTION"}(e.PredictionMode||(e.PredictionMode={})),function(t){class e extends o.Array2DHashMap{constructor(){super(r.INSTANCE)}}class r{AltAndContextConfigEqualityComparator(){}hashCode(t){let e=i.MurmurHash.initialize(7);return e=i.MurmurHash.update(e,t.state.stateNumber),e=i.MurmurHash.update(e,t.context),e=i.MurmurHash.finish(e,2),e}equals(t,e){return t===e||null!=t&&null!=e&&(t.state.stateNumber===e.state.stateNumber&&t.context.equals(e.context))}}r.INSTANCE=new r,n([s.Override],r.prototype,"hashCode",null),n([s.Override],r.prototype,"equals",null),t.hasConfigInRuleStopState=function(t){for(let e of t)if(e.state instanceof a.RuleStopState)return!0;return!1},t.allConfigsInRuleStopStates=function(t){for(let e of t)if(!(e.state instanceof a.RuleStopState))return!1;return!0}}(e.PredictionMode||(e.PredictionMode={}))},2916:function(t,e,r){"use strict";var n=this&&this.__decorate||function(t,e,r,n){var o,i=arguments.length,s=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(s=(i<3?o(s):i>3?o(e,r,s):o(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},o=this&&this.__param||function(t,e){return function(r,n){e(r,n,t)}};Object.defineProperty(e,"__esModule",{value:!0}),e.ProfilingATNSimulator=void 0;const i=r(1305),s=r(7949),a=r(7643),l=r(8862),c=r(8966),u=r(291),p=r(8042),h=r(5164),f=r(4584),d=r(5814),y=r(1888),g=r(1071);class m extends f.ParserATNSimulator{constructor(t){super(t.interpreter.atn,t),this._startIndex=0,this._sllStopIndex=0,this._llStopIndex=0,this.currentDecision=0,this.conflictingAltResolvedBySLL=0,this.optimize_ll1=!1,this.reportAmbiguities=!0,this.numDecisions=this.atn.decisionToState.length,this.decisions=[];for(let e=0;e<this.numDecisions;e++)this.decisions.push(new c.DecisionInfo(e))}adaptivePredict(t,e,r,n){if(void 0!==n)return super.adaptivePredict(t,e,r,n);try{this._input=t,this._startIndex=t.index,this._sllStopIndex=this._startIndex-1,this._llStopIndex=-1,this.currentDecision=e,this.currentState=void 0,this.conflictingAltResolvedBySLL=s.ATN.INVALID_ALT_NUMBER;let n=process.hrtime(),o=super.adaptivePredict(t,e,r),i=process.hrtime(),a=1e9*(i[0]-n[0]);0===a?a=i[1]-n[1]:a+=1e9-n[1]+i[1],this.decisions[e].timeInPrediction+=a,this.decisions[e].invocations++;let l=this._sllStopIndex-this._startIndex+1;if(this.decisions[e].SLL_TotalLook+=l,this.decisions[e].SLL_MinLook=0===this.decisions[e].SLL_MinLook?l:Math.min(this.decisions[e].SLL_MinLook,l),l>this.decisions[e].SLL_MaxLook&&(this.decisions[e].SLL_MaxLook=l,this.decisions[e].SLL_MaxLookEvent=new h.LookaheadEventInfo(e,void 0,o,t,this._startIndex,this._sllStopIndex,!1)),this._llStopIndex>=0){let r=this._llStopIndex-this._startIndex+1;this.decisions[e].LL_TotalLook+=r,this.decisions[e].LL_MinLook=0===this.decisions[e].LL_MinLook?r:Math.min(this.decisions[e].LL_MinLook,r),r>this.decisions[e].LL_MaxLook&&(this.decisions[e].LL_MaxLook=r,this.decisions[e].LL_MaxLookEvent=new h.LookaheadEventInfo(e,void 0,o,t,this._startIndex,this._llStopIndex,!0))}return o}finally{this._input=void 0,this.currentDecision=-1}}getStartState(t,e,r,n){let o=super.getStartState(t,e,r,n);return this.currentState=o,o}computeStartState(t,e,r){let n=super.computeStartState(t,e,r);return this.currentState=n,n}computeReachSet(t,e,r,n){if(void 0===this._input)throw new Error("Invalid state");let o=super.computeReachSet(t,e,r,n);return null==o&&this.decisions[this.currentDecision].errors.push(new u.ErrorInfo(this.currentDecision,e,this._input,this._startIndex,this._input.index)),this.currentState=o,o}getExistingTargetState(t,e){if(void 0===this.currentState||void 0===this._input)throw new Error("Invalid state");this.currentState.useContext?this._llStopIndex=this._input.index:this._sllStopIndex=this._input.index;let r=super.getExistingTargetState(t,e);if(null!=r&&(this.currentState=new g.SimulatorState(this.currentState.outerContext,r,this.currentState.useContext,this.currentState.remainingOuterContext),this.currentState.useContext?this.decisions[this.currentDecision].LL_DFATransitions++:this.decisions[this.currentDecision].SLL_DFATransitions++,r===a.ATNSimulator.ERROR)){let e=new g.SimulatorState(this.currentState.outerContext,t,this.currentState.useContext,this.currentState.remainingOuterContext);this.decisions[this.currentDecision].errors.push(new u.ErrorInfo(this.currentDecision,e,this._input,this._startIndex,this._input.index))}return r}computeTargetState(t,e,r,n,o,i){let s=super.computeTargetState(t,e,r,n,o,i);return o?this.decisions[this.currentDecision].LL_ATNTransitions++:this.decisions[this.currentDecision].SLL_ATNTransitions++,s}evalSemanticContextImpl(t,e,r){if(void 0===this.currentState||void 0===this._input)throw new Error("Invalid state");let n=super.evalSemanticContextImpl(t,e,r);
2if(!(t instanceof y.SemanticContext.PrecedencePredicate)){let e=this._llStopIndex>=0?this._llStopIndex:this._sllStopIndex;this.decisions[this.currentDecision].predicateEvals.push(new d.PredicateEvalInfo(this.currentState,this.currentDecision,this._input,this._startIndex,e,t,n,r))}return n}reportContextSensitivity(t,e,r,n,o){if(void 0===this._input)throw new Error("Invalid state");e!==this.conflictingAltResolvedBySLL&&this.decisions[this.currentDecision].contextSensitivities.push(new l.ContextSensitivityInfo(this.currentDecision,r,this._input,n,o)),super.reportContextSensitivity(t,e,r,n,o)}reportAttemptingFullContext(t,e,r,n,o){this.conflictingAltResolvedBySLL=null!=e?e.nextSetBit(0):r.s0.configs.getRepresentedAlternatives().nextSetBit(0),this.decisions[this.currentDecision].LL_Fallback++,super.reportAttemptingFullContext(t,e,r,n,o)}reportAmbiguity(t,e,r,n,o,a,c){if(void 0===this.currentState||void 0===this._input)throw new Error("Invalid state");let u;u=null!=a?a.nextSetBit(0):c.getRepresentedAlternatives().nextSetBit(0),this.conflictingAltResolvedBySLL!==s.ATN.INVALID_ALT_NUMBER&&u!==this.conflictingAltResolvedBySLL&&this.decisions[this.currentDecision].contextSensitivities.push(new l.ContextSensitivityInfo(this.currentDecision,this.currentState,this._input,r,n)),this.decisions[this.currentDecision].ambiguities.push(new i.AmbiguityInfo(this.currentDecision,this.currentState,a,this._input,r,n)),super.reportAmbiguity(t,e,r,n,o,a,c)}getDecisionInfo(){return this.decisions}getCurrentState(){return this.currentState}}n([p.Override,o(0,p.NotNull)],m.prototype,"adaptivePredict",null),n([p.Override],m.prototype,"getStartState",null),n([p.Override],m.prototype,"computeStartState",null),n([p.Override],m.prototype,"computeReachSet",null),n([p.Override],m.prototype,"getExistingTargetState",null),n([p.Override],m.prototype,"computeTargetState",null),n([p.Override],m.prototype,"evalSemanticContextImpl",null),n([p.Override],m.prototype,"reportContextSensitivity",null),n([p.Override],m.prototype,"reportAttemptingFullContext",null),n([p.Override,o(0,p.NotNull),o(5,p.NotNull),o(6,p.NotNull)],m.prototype,"reportAmbiguity",null),e.ProfilingATNSimulator=m},2751:function(t,e,r){"use strict";var n=this&&this.__decorate||function(t,e,r,n){var o,i=arguments.length,s=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(s=(i<3?o(s):i>3?o(e,r,s):o(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},o=this&&this.__param||function(t,e){return function(r,n){e(r,n,t)}};Object.defineProperty(e,"__esModule",{value:!0}),e.RangeTransition=void 0;const i=r(4405),s=r(8042),a=r(312);let l=class extends a.Transition{constructor(t,e,r){super(t),this.from=e,this.to=r}get serializationType(){return 2}get label(){return i.IntervalSet.of(this.from,this.to)}matches(t,e,r){return t>=this.from&&t<=this.to}toString(){return"'"+String.fromCodePoint(this.from)+"'..'"+String.fromCodePoint(this.to)+"'"}};n([s.Override],l.prototype,"serializationType",null),n([s.Override,s.NotNull],l.prototype,"label",null),n([s.Override],l.prototype,"matches",null),n([s.Override,s.NotNull],l.prototype,"toString",null),l=n([o(0,s.NotNull)],l),e.RangeTransition=l},6557:function(t,e,r){"use strict";var n=this&&this.__decorate||function(t,e,r,n){var o,i=arguments.length,s=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(s=(i<3?o(s):i>3?o(e,r,s):o(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s};Object.defineProperty(e,"__esModule",{value:!0}),e.RuleStartState=void 0;const o=r(3269),i=r(4700),s=r(8042);class a extends o.ATNState{constructor(){super(...arguments),this.isPrecedenceRule=!1,this.leftFactored=!1}get stateType(){return i.ATNStateType.RULE_START}}n([s.Override],a.prototype,"stateType",null),e.RuleStartState=a},5337:function(t,e,r){"use strict";var n=this&&this.__decorate||function(t,e,r,n){var o,i=arguments.length,s=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;
2a--)(o=t[a])&&(s=(i<3?o(s):i>3?o(e,r,s):o(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s};Object.defineProperty(e,"__esModule",{value:!0}),e.RuleStopState=void 0;const o=r(3269),i=r(4700),s=r(8042);class a extends o.ATNState{get nonStopStateNumber(){return-1}get stateType(){return i.ATNStateType.RULE_STOP}}n([s.Override],a.prototype,"nonStopStateNumber",null),n([s.Override],a.prototype,"stateType",null),e.RuleStopState=a},4704:function(t,e,r){"use strict";var n=this&&this.__decorate||function(t,e,r,n){var o,i=arguments.length,s=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(s=(i<3?o(s):i>3?o(e,r,s):o(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},o=this&&this.__param||function(t,e){return function(r,n){e(r,n,t)}};Object.defineProperty(e,"__esModule",{value:!0}),e.RuleTransition=void 0;const i=r(8042),s=r(312);let a=class extends s.Transition{constructor(t,e,r,n){super(t),this.tailCall=!1,this.optimizedTailCall=!1,this.ruleIndex=e,this.precedence=r,this.followState=n}get serializationType(){return 3}get isEpsilon(){return!0}matches(t,e,r){return!1}};n([i.NotNull],a.prototype,"followState",void 0),n([i.Override],a.prototype,"serializationType",null),n([i.Override],a.prototype,"isEpsilon",null),n([i.Override],a.prototype,"matches",null),a=n([o(0,i.NotNull),o(3,i.NotNull)],a),e.RuleTransition=a},1888:function(t,e,r){"use strict";var n=this&&this.__decorate||function(t,e,r,n){var o,i=arguments.length,s=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(s=(i<3?o(s):i>3?o(e,r,s):o(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},o=this&&this.__param||function(t,e){return function(r,n){e(r,n,t)}};Object.defineProperty(e,"__esModule",{value:!0}),e.SemanticContext=void 0;const i=r(9026),s=r(5192),a=r(3943),l=r(8042),c=r(8842),u=r(5103);class p{static get NONE(){return void 0===p._NONE&&(p._NONE=new p.Predicate),p._NONE}evalPrecedence(t,e){return this}static and(t,e){if(!t||t===p.NONE)return e;if(e===p.NONE)return t;let r=new p.AND(t,e);return 1===r.opnds.length?r.opnds[0]:r}static or(t,e){if(!t)return e;if(t===p.NONE||e===p.NONE)return p.NONE;let r=new p.OR(t,e);return 1===r.opnds.length?r.opnds[0]:r}}e.SemanticContext=p,function(t){function e(e){let r=[];for(let n=0;n<e.length;n++){let o=e[n];o instanceof t.PrecedencePredicate&&(r.push(o),e.splice(n,1),n--)}return r}class r extends t{constructor(t=-1,e=-1,r=!1){super(),this.ruleIndex=t,this.predIndex=e,this.isCtxDependent=r}eval(t,e){let r=this.isCtxDependent?e:void 0;return t.sempred(r,this.ruleIndex,this.predIndex)}hashCode(){let t=a.MurmurHash.initialize();return t=a.MurmurHash.update(t,this.ruleIndex),t=a.MurmurHash.update(t,this.predIndex),t=a.MurmurHash.update(t,this.isCtxDependent?1:0),t=a.MurmurHash.finish(t,3),t}equals(t){return t instanceof r&&(this===t||this.ruleIndex===t.ruleIndex&&this.predIndex===t.predIndex&&this.isCtxDependent===t.isCtxDependent)}toString(){return"{"+this.ruleIndex+":"+this.predIndex+"}?"}}n([l.Override],r.prototype,"eval",null),n([l.Override],r.prototype,"hashCode",null),n([l.Override],r.prototype,"equals",null),n([l.Override],r.prototype,"toString",null),t.Predicate=r;class p extends t{constructor(t){super(),this.precedence=t}eval(t,e){return t.precpred(e,this.precedence)}evalPrecedence(e,r){return e.precpred(r,this.precedence)?t.NONE:void 0}compareTo(t){return this.precedence-t.precedence}hashCode(){let t=1;return t=31*t+this.precedence,t}equals(t){return t instanceof p&&(this===t||this.precedence===t.precedence)}toString(){return"{"+this.precedence+">=prec}?"}}n([l.Override],p.prototype,"eval",null),n([l.Override],p.prototype,"evalPrecedence",null),n([l.Override],p.prototype,"compareTo",null),n([l.Override],p.prototype,"hashCode",null),n([l.Override],p.prototype,"equals",null),n([l.Override],p.prototype,"toString",null),t.PrecedencePredicate=p;class h extends t{}t.Operator=h;let f=class r extends h{constructor(t,n){super();let o=new i.Array2DHashSet(c.ObjectEqualityComparator.INSTANCE);t instanceof r?o.addAll(t.opnds):o.add(t),n instanceof r?o.addAll(n.opnds):o.add(n),this.opnds=o.toArray();let s=function(t){let e;for(let r of t)void 0!==e?e.compareTo(r)>0&&(e=r):e=r;return e}(e(this.opnds));s&&this.opnds.push(s)}get operands(){return this.opnds}equals(t){return this===t||t instanceof r&&s.ArrayEqualityComparator.INSTANCE.equals(this.opnds,t.opnds)}hashCode(){return a.MurmurHash.hashCode(this.opnds,40363613)}eval(t,e){for(let r of this.opnds)if(!r.eval(t,e))return!1;return!0}evalPrecedence(e,r){let n=!1,o=[];for(let s of this.opnds){let i=s.evalPrecedence(e,r);if(n=n||i!==s,null==i)return;i!==t.NONE&&o.push(i)}if(!n)return this;if(0===o.length)return t.NONE;let i=o[0];for(let s=1;s<o.length;s++)i=t.and(i,o[s]);return i}toString(){return u.join(this.opnds,"&&")}};n([l.Override],f.prototype,"operands",null),n([l.Override],f.prototype,"equals",null),n([l.Override],f.prototype,"hashCode",null),n([l.Override],f.prototype,"eval",null),n([l.Override],f.prototype,"evalPrecedence",null),n([l.Override],f.prototype,"toString",null),f=n([o(0,l.NotNull),o(1,l.NotNull)],f),t.AND=f;let d=class r extends h{constructor(t,n){super();let o=new i.Array2DHashSet(c.ObjectEqualityComparator.INSTANCE);t instanceof r?o.addAll(t.opnds):o.add(t),n instanceof r?o.addAll(n.opnds):o.add(n),this.opnds=o.toArray();let s=function(t){let e;for(let r of t)void 0!==e?e.compareTo(r)<0&&(e=r):e=r;return e}(e(this.opnds));s&&this.opnds.push(s)}get operands(){return this.opnds}equals(t){return this===t||t instanceof r&&s.ArrayEqualityComparator.INSTANCE.equals(this.opnds,t.opnds)}hashCode(){return a.MurmurHash.hashCode(this.opnds,486279973)}eval(t,e){for(let r of this.opnds)if(r.eval(t,e))return!0;return!1}evalPrecedence(e,r){let n=!1,o=[];for(let s of this.opnds){let i=s.evalPrecedence(e,r);if(n=n||i!==s,i===t.NONE)return t.NONE;i&&o.push(i)}if(!n)return this;if(0===o.length)return;let i=o[0];for(let s=1;s<o.length;s++)i=t.or(i,o[s]);return i}toString(){return u.join(this.opnds,"||")}};n([l.Override],d.prototype,"operands",null),n([l.Override],d.prototype,"equals",null),n([l.Override],d.prototype,"hashCode",null),n([l.Override],d.prototype,"eval",null),n([l.Override],d.prototype,"evalPrecedence",null),n([l.Override],d.prototype,"toString",null),d=n([o(0,l.NotNull),o(1,l.NotNull)],d),t.OR=d}(p=e.SemanticContext||(e.SemanticContext={}))},6765:function(t,e,r){"use strict";var n=this&&this.__decorate||function(t,e,r,n){var o,i=arguments.length,s=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;
2a--)(o=t[a])&&(s=(i<3?o(s):i>3?o(e,r,s):o(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},o=this&&this.__param||function(t,e){return function(r,n){e(r,n,t)}};Object.defineProperty(e,"__esModule",{value:!0}),e.SetTransition=void 0;const i=r(4405),s=r(8042),a=r(4966),l=r(312);let c=class extends l.Transition{constructor(t,e){super(t),null==e&&(e=i.IntervalSet.of(a.Token.INVALID_TYPE)),this.set=e}get serializationType(){return 7}get label(){return this.set}matches(t,e,r){return this.set.contains(t)}toString(){return this.set.toString()}};n([s.NotNull],c.prototype,"set",void 0),n([s.Override],c.prototype,"serializationType",null),n([s.Override,s.NotNull],c.prototype,"label",null),n([s.Override],c.prototype,"matches",null),n([s.Override,s.NotNull],c.prototype,"toString",null),c=n([o(0,s.NotNull),o(1,s.Nullable)],c),e.SetTransition=c},1071:function(t,e,r){"use strict";var n=this&&this.__decorate||function(t,e,r,n){var o,i=arguments.length,s=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(s=(i<3?o(s):i>3?o(e,r,s):o(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},o=this&&this.__param||function(t,e){return function(r,n){e(r,n,t)}};Object.defineProperty(e,"__esModule",{value:!0}),e.SimulatorState=void 0;const i=r(8042),s=r(3208);let a=class{constructor(t,e,r,n){this.outerContext=null!=t?t:s.ParserRuleContext.emptyContext(),this.s0=e,this.useContext=r,this.remainingOuterContext=n}};a=n([o(1,i.NotNull)],a),e.SimulatorState=a},1069:function(t,e,r){"use strict";var n=this&&this.__decorate||function(t,e,r,n){var o,i=arguments.length,s=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(s=(i<3?o(s):i>3?o(e,r,s):o(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s};Object.defineProperty(e,"__esModule",{value:!0}),e.StarBlockStartState=void 0;const o=r(4700),i=r(4136),s=r(8042);class a extends i.BlockStartState{get stateType(){return o.ATNStateType.STAR_BLOCK_START}}n([s.Override],a.prototype,"stateType",null),e.StarBlockStartState=a},7165:function(t,e,r){"use strict";var n=this&&this.__decorate||function(t,e,r,n){var o,i=arguments.length,s=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(s=(i<3?o(s):i>3?o(e,r,s):o(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s};Object.defineProperty(e,"__esModule",{value:!0}),e.StarLoopEntryState=void 0;const o=r(4700),i=r(5280),s=r(213),a=r(8042);class l extends s.DecisionState{constructor(){super(...arguments),this.precedenceRuleDecision=!1,this.precedenceLoopbackStates=new i.BitSet}get stateType(){return o.ATNStateType.STAR_LOOP_ENTRY}}n([a.Override],l.prototype,"stateType",null),e.StarLoopEntryState=l},8303:function(t,e,r){"use strict";var n=this&&this.__decorate||function(t,e,r,n){var o,i=arguments.length,s=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(s=(i<3?o(s):i>3?o(e,r,s):o(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s};Object.defineProperty(e,"__esModule",{value:!0}),e.StarLoopbackState=void 0;const o=r(3269),i=r(4700),s=r(8042);class a extends o.ATNState{get loopEntryState(){return this.transition(0).target}get stateType(){return i.ATNStateType.STAR_LOOP_BACK}}n([s.Override],a.prototype,"stateType",null),e.StarLoopbackState=a},5223:function(t,e,r){"use strict";var n=this&&this.__decorate||function(t,e,r,n){var o,i=arguments.length,s=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(s=(i<3?o(s):i>3?o(e,r,s):o(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s};
2Object.defineProperty(e,"__esModule",{value:!0}),e.TokensStartState=void 0;const o=r(4700),i=r(213),s=r(8042);class a extends i.DecisionState{get stateType(){return o.ATNStateType.TOKEN_START}}n([s.Override],a.prototype,"stateType",null),e.TokensStartState=a},312:function(t,e,r){"use strict";var n=this&&this.__decorate||function(t,e,r,n){var o,i=arguments.length,s=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(s=(i<3?o(s):i>3?o(e,r,s):o(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},o=this&&this.__param||function(t,e){return function(r,n){e(r,n,t)}};Object.defineProperty(e,"__esModule",{value:!0}),e.Transition=void 0;const i=r(8042);let s=class{constructor(t){if(null==t)throw new Error("target cannot be null.");this.target=t}get isEpsilon(){return!1}get label(){}};s.serializationNames=["INVALID","EPSILON","RANGE","RULE","PREDICATE","ATOM","ACTION","SET","NOT_SET","WILDCARD","PRECEDENCE"],n([i.NotNull],s.prototype,"target",void 0),s=n([o(0,i.NotNull)],s),e.Transition=s},8844:function(t,e,r){"use strict";var n=this&&this.__decorate||function(t,e,r,n){var o,i=arguments.length,s=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(s=(i<3?o(s):i>3?o(e,r,s):o(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},o=this&&this.__param||function(t,e){return function(r,n){e(r,n,t)}};Object.defineProperty(e,"__esModule",{value:!0}),e.WildcardTransition=void 0;const i=r(8042),s=r(312);let a=class extends s.Transition{constructor(t){super(t)}get serializationType(){return 9}matches(t,e,r){return t>=e&&t<=r}toString(){return"."}};n([i.Override],a.prototype,"serializationType",null),n([i.Override],a.prototype,"matches",null),n([i.Override,i.NotNull],a.prototype,"toString",null),a=n([o(0,i.NotNull)],a),e.WildcardTransition=a},1060:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AcceptStateInfo=void 0;e.AcceptStateInfo=class{constructor(t,e){this._prediction=t,this._lexerActionExecutor=e}get prediction(){return this._prediction}get lexerActionExecutor(){return this._lexerActionExecutor}}},7055:function(t,e,r){"use strict";var n=this&&this.__decorate||function(t,e,r,n){var o,i=arguments.length,s=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(s=(i<3?o(s):i>3?o(e,r,s):o(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},o=this&&this.__param||function(t,e){return function(r,n){e(r,n,t)}};Object.defineProperty(e,"__esModule",{value:!0}),e.DFA=void 0;const i=r(9026),s=r(7176),a=r(3917),l=r(1186),c=r(3694),u=r(8042),p=r(8842),h=r(7165),f=r(6763);let d=class{constructor(t,e=0){if(this.states=new i.Array2DHashSet(p.ObjectEqualityComparator.INSTANCE),this.nextStateNumber=0,!t.atn)throw new Error("The ATNState must be associated with an ATN");this.atnStartState=t,this.atn=t.atn,this.decision=e;let r=!1;t instanceof h.StarLoopEntryState&&t.precedenceRuleDecision&&(r=!0,this.s0=new l.DFAState(new s.ATNConfigSet),this.s0full=new l.DFAState(new s.ATNConfigSet)),this.precedenceDfa=r}get isPrecedenceDfa(){return this.precedenceDfa}getPrecedenceStartState(t,e){if(!this.isPrecedenceDfa)throw new Error("Only precedence DFAs may contain a precedence start state.");return e?this.s0full.getTarget(t):this.s0.getTarget(t)}setPrecedenceStartState(t,e,r){if(!this.isPrecedenceDfa)throw new Error("Only precedence DFAs may contain a precedence start state.");t<0||(e?this.s0full.setTarget(t,r):this.s0.setTarget(t,r))}get isEmpty(){return this.isPrecedenceDfa?0===this.s0.getEdgeMap().size&&0===this.s0full.getEdgeMap().size:null==this.s0&&null==this.s0full}get isContextSensitive(){return this.isPrecedenceDfa?this.s0full.getEdgeMap().size>0:null!=this.s0full}addState(t){return t.stateNumber=this.nextStateNumber++,this.states.getOrAdd(t)}toString(t,e){if(t||(t=f.VocabularyImpl.EMPTY_VOCABULARY),!this.s0)return"";let r;return r=e?new a.DFASerializer(this,t,e,this.atnStartState.atn):new a.DFASerializer(this,t),r.toString()}toLexerString(){if(!this.s0)return"";return new c.LexerDFASerializer(this).toString()}};n([u.NotNull],d.prototype,"states",void 0),n([u.NotNull],d.prototype,"atnStartState",void 0),n([u.NotNull],d.prototype,"atn",void 0),d=n([o(0,u.NotNull)],d),e.DFA=d},3917:function(t,e,r){"use strict";var n=this&&this.__decorate||function(t,e,r,n){var o,i=arguments.length,s=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;
2a--)(o=t[a])&&(s=(i<3?o(s):i>3?o(e,r,s):o(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s};Object.defineProperty(e,"__esModule",{value:!0}),e.DFASerializer=void 0;const o=r(7643),i=r(8042),s=r(9767),a=r(8610),l=r(6763);class c{constructor(t,e,r,n){e instanceof a.Recognizer?(r=e.ruleNames,n=e.atn,e=e.vocabulary):e||(e=l.VocabularyImpl.EMPTY_VOCABULARY),this.dfa=t,this.vocabulary=e,this.ruleNames=r,this.atn=n}toString(){if(!this.dfa.s0)return"";let t="";if(this.dfa.states){let e=new Array(...this.dfa.states.toArray());e.sort(((t,e)=>t.stateNumber-e.stateNumber));for(let r of e){let e=r.getEdgeMap(),n=[...e.keys()].sort(((t,e)=>t-e)),i=r.getContextEdgeMap(),s=[...i.keys()].sort(((t,e)=>t-e));for(let a of n){let n=e.get(a);if((null==n||n===o.ATNSimulator.ERROR)&&!r.isContextSymbol(a))continue;let i=!1;t+=this.getStateString(r)+"-"+this.getEdgeLabel(a)+"->",r.isContextSymbol(a)&&(t+="!",i=!0);let s=n;s&&s.stateNumber!==o.ATNSimulator.ERROR.stateNumber?t+=this.getStateString(s)+"\n":i&&(t+="ctx\n")}if(r.isContextSensitive)for(let o of s)t+=this.getStateString(r)+"-"+this.getContextLabel(o)+"->"+this.getStateString(i.get(o))+"\n"}}let e=t;return 0===e.length?"":e}getContextLabel(t){if(t===s.PredictionContext.EMPTY_FULL_STATE_KEY)return"ctx:EMPTY_FULL";if(t===s.PredictionContext.EMPTY_LOCAL_STATE_KEY)return"ctx:EMPTY_LOCAL";if(this.atn&&t>0&&t<=this.atn.states.length){let e=this.atn.states[t].ruleIndex;if(this.ruleNames&&e>=0&&e<this.ruleNames.length)return"ctx:"+String(t)+"("+this.ruleNames[e]+")"}return"ctx:"+String(t)}getEdgeLabel(t){return this.vocabulary.getDisplayName(t)}getStateString(t){if(t===o.ATNSimulator.ERROR)return"ERROR";let e=t.stateNumber,r="s"+e;if(t.isAcceptState&&(r=t.predicates?":s"+e+"=>"+t.predicates:":s"+e+"=>"+t.prediction),t.isContextSensitive){r+="*";for(let e of t.configs)if(e.reachesIntoOuterContext){r+="*";break}}return r}}n([i.NotNull],c.prototype,"dfa",void 0),n([i.NotNull],c.prototype,"vocabulary",void 0),n([i.Override],c.prototype,"toString",null),e.DFASerializer=c},1186:function(t,e,r){"use strict";var n=this&&this.__decorate||function(t,e,r,n){var o,i=arguments.length,s=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(s=(i<3?o(s):i>3?o(e,r,s):o(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},o=this&&this.__param||function(t,e){return function(r,n){e(r,n,t)}};Object.defineProperty(e,"__esModule",{value:!0}),e.DFAState=void 0;const i=r(7949),s=r(5280),a=r(3943),l=r(8042),c=r(9767),u=r(9282);class p{constructor(t){this.stateNumber=-1,this.configs=t,this.edges=new Map,this.contextEdges=new Map}get isContextSensitive(){return!!this.contextSymbols}isContextSymbol(t){return!!this.isContextSensitive&&this.contextSymbols.get(t)}setContextSymbol(t){u(this.isContextSensitive),this.contextSymbols.set(t)}setContextSensitive(t){u(!this.configs.isOutermostConfigSet),this.isContextSensitive||this.contextSymbols||(this.contextSymbols=new s.BitSet)}get acceptStateInfo(){return this._acceptStateInfo}set acceptStateInfo(t){this._acceptStateInfo=t}get isAcceptState(){return!!this._acceptStateInfo}get prediction(){return this._acceptStateInfo?this._acceptStateInfo.prediction:i.ATN.INVALID_ALT_NUMBER}get lexerActionExecutor(){if(this._acceptStateInfo)return this._acceptStateInfo.lexerActionExecutor}getTarget(t){return this.edges.get(t)}setTarget(t,e){this.edges.set(t,e)}getEdgeMap(){return this.edges}getContextTarget(t){return t===c.PredictionContext.EMPTY_FULL_STATE_KEY&&(t=-1),this.contextEdges.get(t)}setContextTarget(t,e){if(!this.isContextSensitive)throw new Error("The state is not context sensitive.");t===c.PredictionContext.EMPTY_FULL_STATE_KEY&&(t=-1),this.contextEdges.set(t,e)}getContextEdgeMap(){let t=new Map(this.contextEdges),e=t.get(-1);if(void 0!==e){if(1===t.size){let t=new Map;return t.set(c.PredictionContext.EMPTY_FULL_STATE_KEY,e),t}t.delete(-1),t.set(c.PredictionContext.EMPTY_FULL_STATE_KEY,e)}return t}hashCode(){let t=a.MurmurHash.initialize(7);return t=a.MurmurHash.update(t,this.configs.hashCode()),t=a.MurmurHash.finish(t,1),t}equals(t){if(this===t)return!0;
2if(!(t instanceof p))return!1;let e=t;return this.configs.equals(e.configs)}toString(){let t="";return t+=this.stateNumber+":"+this.configs,this.isAcceptState&&(t+="=>",this.predicates?t+=this.predicates:t+=this.prediction),t.toString()}}n([l.NotNull],p.prototype,"configs",void 0),n([l.NotNull],p.prototype,"edges",void 0),n([l.NotNull],p.prototype,"contextEdges",void 0),n([l.Override],p.prototype,"hashCode",null),n([l.Override],p.prototype,"equals",null),n([l.Override],p.prototype,"toString",null),e.DFAState=p,function(t){let e=class{constructor(t,e){this.alt=e,this.pred=t}toString(){return"("+this.pred+", "+this.alt+")"}};n([l.NotNull],e.prototype,"pred",void 0),n([l.Override],e.prototype,"toString",null),e=n([o(0,l.NotNull)],e),t.PredPrediction=e}(p=e.DFAState||(e.DFAState={}))},3694:function(t,e,r){"use strict";var n=this&&this.__decorate||function(t,e,r,n){var o,i=arguments.length,s=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(s=(i<3?o(s):i>3?o(e,r,s):o(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},o=this&&this.__param||function(t,e){return function(r,n){e(r,n,t)}};Object.defineProperty(e,"__esModule",{value:!0}),e.LexerDFASerializer=void 0;const i=r(3917),s=r(8042),a=r(6763);let l=class extends i.DFASerializer{constructor(t){super(t,a.VocabularyImpl.EMPTY_VOCABULARY)}getEdgeLabel(t){return"'"+String.fromCodePoint(t)+"'"}};n([s.Override,s.NotNull],l.prototype,"getEdgeLabel",null),l=n([o(0,s.NotNull)],l),e.LexerDFASerializer=l},352:function(t,e,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(t,e,r,n){void 0===n&&(n=r),Object.defineProperty(t,n,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,n){void 0===n&&(n=r),t[n]=e[r]}),o=this&&this.__exportStar||function(t,e){for(var r in t)"default"===r||Object.prototype.hasOwnProperty.call(e,r)||n(e,t,r)};Object.defineProperty(e,"__esModule",{value:!0}),o(r(1466),e),o(r(1597),e),o(r(8623),e),o(r(7446),e),o(r(8218),e),o(r(5699),e),o(r(3675),e),o(r(5444),e),o(r(1540),e),o(r(824),e),o(r(8735),e),o(r(4321),e),o(r(4525),e),o(r(3992),e),o(r(4361),e),o(r(7574),e),o(r(2915),e),o(r(4837),e),o(r(4126),e),o(r(3227),e),o(r(9557),e),o(r(7301),e),o(r(5324),e),o(r(7683),e),o(r(4609),e),o(r(2824),e),o(r(1603),e),o(r(627),e),o(r(3208),e),o(r(9583),e),o(r(6454),e),o(r(3998),e),o(r(8610),e),o(r(7423),e),o(r(6599),e),o(r(3252),e),o(r(345),e),o(r(4966),e),o(r(2362),e),o(r(9089),e),o(r(9293),e),o(r(929),e),o(r(2499),e),o(r(6763),e),o(r(4955),e)},3874:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Array2DHashMap=void 0;const n=r(9026);class o{constructor(t){this.keyComparator=t}hashCode(t){return this.keyComparator.hashCode(t.key)}equals(t,e){return this.keyComparator.equals(t.key,e.key)}}class i{constructor(t){this.backingStore=t instanceof i?new n.Array2DHashSet(t.backingStore):new n.Array2DHashSet(new o(t))}clear(){this.backingStore.clear()}containsKey(t){return this.backingStore.contains({key:t})}get(t){let e=this.backingStore.get({key:t});if(e)return e.value}get isEmpty(){return this.backingStore.isEmpty}put(t,e){let r,n=this.backingStore.get({key:t,value:e});return n?(r=n.value,n.value=e):this.backingStore.add({key:t,value:e}),r}putIfAbsent(t,e){let r,n=this.backingStore.get({key:t,value:e});return n?r=n.value:this.backingStore.add({key:t,value:e}),r}get size(){return this.backingStore.size}hashCode(){return this.backingStore.hashCode()}equals(t){return t instanceof i&&this.backingStore.equals(t.backingStore)}}e.Array2DHashMap=i},9026:function(t,e,r){"use strict";var n=this&&this.__decorate||function(t,e,r,n){var o,i=arguments.length,s=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(s=(i<3?o(s):i>3?o(e,r,s):o(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s}
2,o=this&&this.__param||function(t,e){return function(r,n){e(r,n,t)}};Object.defineProperty(e,"__esModule",{value:!0}),e.Array2DHashSet=void 0;const i=r(9282),s=r(3197),a=r(8042),l=r(3943),c=.75;class u{constructor(t,e=16){if(this.n=0,this.threshold=Math.floor(12),t instanceof u){this.comparator=t.comparator,this.buckets=t.buckets.slice(0);for(let t=0;t<this.buckets.length;t++){let e=this.buckets[t];e&&(this.buckets[t]=e.slice(0))}this.n=t.n,this.threshold=t.threshold}else this.comparator=t||s.DefaultEqualityComparator.INSTANCE,this.buckets=this.createBuckets(e)}getOrAdd(t){return this.n>this.threshold&&this.expand(),this.getOrAddImpl(t)}getOrAddImpl(t){let e=this.getBucket(t),r=this.buckets[e];if(!r)return r=[t],this.buckets[e]=r,this.n++,t;for(let n of r)if(this.comparator.equals(n,t))return n;return r.push(t),this.n++,t}get(t){if(null==t)return t;let e=this.getBucket(t),r=this.buckets[e];if(r)for(let n of r)if(this.comparator.equals(n,t))return n}getBucket(t){return this.comparator.hashCode(t)&this.buckets.length-1}hashCode(){let t=l.MurmurHash.initialize();for(let e of this.buckets)if(null!=e)for(let r of e){if(null==r)break;t=l.MurmurHash.update(t,this.comparator.hashCode(r))}return t=l.MurmurHash.finish(t,this.size),t}equals(t){if(t===this)return!0;if(!(t instanceof u))return!1;if(t.size!==this.size)return!1;return this.containsAll(t)}expand(){let t=this.buckets,e=2*this.buckets.length,r=this.createBuckets(e);this.buckets=r,this.threshold=Math.floor(e*c);let n=this.size;for(let o of t)if(o)for(let t of o){let e=this.getBucket(t),r=this.buckets[e];r||(r=[],this.buckets[e]=r),r.push(t)}i(this.n===n)}add(t){return this.getOrAdd(t)===t}get size(){return this.n}get isEmpty(){return 0===this.n}contains(t){return this.containsFast(this.asElementType(t))}containsFast(t){return null!=t&&null!=this.get(t)}*[Symbol.iterator](){yield*this.toArray()}toArray(){const t=new Array(this.size);let e=0;for(let r of this.buckets)if(null!=r)for(let n of r){if(null==n)break;t[e++]=n}return t}containsAll(t){if(t instanceof u){let e=t;for(let t of e.buckets)if(null!=t)for(let e of t){if(null==e)break;if(!this.containsFast(this.asElementType(e)))return!1}}else for(let e of t)if(!this.containsFast(this.asElementType(e)))return!1;return!0}addAll(t){let e=!1;for(let r of t){this.getOrAdd(r)!==r&&(e=!0)}return e}clear(){this.buckets=this.createBuckets(16),this.n=0,this.threshold=Math.floor(12)}toString(){if(0===this.size)return"{}";let t="{",e=!0;for(let r of this.buckets)if(null!=r)for(let n of r){if(null==n)break;e?e=!1:t+=", ",t+=n.toString()}return t+="}",t}toTableString(){let t="";for(let e of this.buckets){if(null==e){t+="null\n";continue}t+="[";let r=!0;for(let n of e)r?r=!1:t+=" ",t+=null==n?"_":n.toString();t+="]\n"}return t}asElementType(t){return t}createBuckets(t){return new Array(t)}}n([a.NotNull],u.prototype,"comparator",void 0),n([a.Override],u.prototype,"hashCode",null),n([a.Override],u.prototype,"equals",null),n([a.Override],u.prototype,"add",null),n([a.Override],u.prototype,"size",null),n([a.Override],u.prototype,"isEmpty",null),n([a.Override],u.prototype,"contains",null),n([o(0,a.Nullable)],u.prototype,"containsFast",null),n([a.Override],u.prototype,Symbol.iterator,null),n([a.Override],u.prototype,"toArray",null),n([a.Override],u.prototype,"containsAll",null),n([a.Override],u.prototype,"addAll",null),n([a.Override],u.prototype,"clear",null),n([a.Override],u.prototype,"toString",null),n([a.SuppressWarnings("unchecked")],u.prototype,"asElementType",null),n([a.SuppressWarnings("unchecked")],u.prototype,"createBuckets",null),e.Array2DHashSet=u},5192:function(t,e,r){"use strict";var n=this&&this.__decorate||function(t,e,r,n){var o,i=arguments.length,s=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(s=(i<3?o(s):i>3?o(e,r,s):o(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s};Object.defineProperty(e,"__esModule",{value:!0}),e.ArrayEqualityComparator=void 0;const o=r(8042),i=r(3943),s=r(8842);class a{hashCode(t){return null==t?0:i.MurmurHash.hashCode(t,0)}equals(t,e){if(null==t)return null==e;if(null==e)return!1;if(t.length!==e.length)return!1;for(let r=0;r<t.length;r++)if(!s.ObjectEqualityComparator.INSTANCE.equals(t[r],e[r]))return!1;return!0}}a.INSTANCE=new a,n([o.Override],a.prototype,"hashCode",null),n([o.Override],a.prototype,"equals",null),e.ArrayEqualityComparator=a},6005:function(t,e){"use strict";
2Object.defineProperty(e,"__esModule",{value:!0}),e.Arrays=void 0,function(t){t.binarySearch=function(t,e,r,n){return function(t,e,r,n){let o=e,i=r-1;for(;o<=i;){let e=o+i>>>1,r=t[e];if(r<n)o=e+1;else{if(!(r>n))return e;i=e-1}}return-(o+1)}(t,void 0!==r?r:0,void 0!==n?n:t.length,e)},t.toString=function(t){let e="[",r=!0;for(let n of t)r?r=!1:e+=", ",e+=null===n?"null":void 0===n?"undefined":n;return e+="]",e}}(e.Arrays||(e.Arrays={}))},5280:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.BitSet=void 0;const n=r(9539),o=r(3943),i=new Uint16Array(0);function s(t){return t>>>4}function a(t){return 16*t}function l(t){let e=1;for(let r=0;r<16;r++){if(0!=(t&e))return r;e=e<<1>>>0}throw new RangeError("No specified bit found")}function c(t){let e=32768;for(let r=15;r>=0;r--){if(0!=(t&e))return r;e>>>=1}throw new RangeError("No specified bit found")}function u(t,e){return(t&=15)===(e&=15)?1<<t>>>0:65535>>>15-e^65535>>>16-t}const p=new Uint8Array(65536);for(let d=0;d<16;d++){const t=1<<d>>>0;let e=0;for(;e<p.length;){e+=t;for(let r=0;r<t;r++)p[e]++,e++}}class h{constructor(t){if(t)if("number"==typeof t){if(t<0)throw new RangeError("nbits cannot be negative");this.data=new Uint16Array(s(t-1)+1)}else if(t instanceof h)this.data=t.data.slice(0);else{let e=-1;for(let r of t)e<r&&(e=r);this.data=new Uint16Array(s(e-1)+1);for(let r of t)this.set(r)}else this.data=i}and(t){const e=this.data,r=t.data,n=Math.min(e.length,r.length);let o=-1;for(let i=0;i<n;i++){0!==(e[i]&=r[i])&&(o=i)}-1===o&&(this.data=i),o<e.length-1&&(this.data=e.slice(0,o+1))}andNot(t){const e=this.data,r=t.data,n=Math.min(e.length,r.length);let o=-1;for(let i=0;i<n;i++){0!==(e[i]&=65535^r[i])&&(o=i)}-1===o&&(this.data=i),o<e.length-1&&(this.data=e.slice(0,o+1))}cardinality(){if(this.isEmpty)return 0;const t=this.data,e=t.length;let r=0;for(let n=0;n<e;n++)r+=p[t[n]];return r}clear(t,e){null==t?this.data.fill(0):null==e?this.set(t,!1):this.set(t,e,!1)}flip(t,e){if(null==e&&(e=t),t<0||e<t)throw new RangeError;let r=s(t);const n=s(e);if(r===n)this.data[r]^=u(t,e);else{for(this.data[r++]^=u(t,15);r<n;)this.data[r++]^=65535;this.data[r++]^=u(0,e)}}get(t,e){if(void 0===e)return!!(this.data[s(t)]&u(t,t));{let r=new h(e+1);for(let n=t;n<=e;n++)r.set(n,this.get(n));return r}}intersects(t){let e=Math.min(this.length(),t.length());if(0===e)return!1;let r=s(e-1);for(let n=0;n<=r;n++)if(0!=(this.data[n]&t.data[n]))return!0;return!1}get isEmpty(){return 0===this.length()}length(){return this.data.length?this.previousSetBit(a(this.data.length)-1)+1:0}nextClearBit(t){if(t<0)throw new RangeError("fromIndex cannot be negative");const e=this.data,r=e.length;let n=s(t);if(n>r)return-1;let o=65535^u(t,15);if(65535==(e[n]|o)){for(n++,o=0;n<r&&65535===e[n];n++);if(n===r)return-1}return a(n)+l(65535^(e[n]|o))}nextSetBit(t){if(t<0)throw new RangeError("fromIndex cannot be negative");const e=this.data,r=e.length;let n=s(t);if(n>r)return-1;let o=u(t,15);if(0==(e[n]&o)){for(n++,o=65535;n<r&&0===e[n];n++);if(n>=r)return-1}return a(n)+l(e[n]&o)}or(t){const e=this.data,r=t.data,n=Math.min(e.length,r.length),o=Math.max(e.length,r.length),s=e.length===o?e:new Uint16Array(o);let a=-1;for(let i=0;i<n;i++){0!==(s[i]=e[i]|r[i])&&(a=i)}const l=e.length>r.length?e:r;for(let i=n;i<o;i++){0!==(s[i]=l[i])&&(a=i)}-1===a?this.data=i:s.length===a+1?this.data=s:this.data=s.slice(0,a)}previousClearBit(t){if(t<0)throw new RangeError("fromIndex cannot be negative");const e=this.data,r=e.length;let n=s(t);n>=r&&(n=r-1);let o=65535^u(0,t);if(65535==(e[n]|o)){for(o=0,n--;n>=0&&65535===e[n];n--);if(n<0)return-1}return a(n)+c(65535^(e[n]|o))}previousSetBit(t){if(t<0)throw new RangeError("fromIndex cannot be negative");const e=this.data,r=e.length;let n=s(t);n>=r&&(n=r-1);let o=u(0,t);if(0==(e[n]&o)){for(n--,o=65535;n>=0&&0===e[n];n--);if(n<0)return-1}return a(n)+c(e[n]&o)}set(t,e,r){if(void 0===e?(e=t,r=!0):"boolean"==typeof e&&(r=e,e=t),void 0===r&&(r=!0),t<0||t>e)throw new RangeError;let n=s(t),o=s(e);if(r&&o>=this.data.length){let t=new Uint16Array(o+1);this.data.forEach(((e,r)=>t[r]=e)),this.data=t}else if(!r){if(n>=this.data.length)return;o>=this.data.length&&(o=this.data.length-1,e=16*this.data.length-1)}if(n===o)this._setBits(n,r,u(t,e));else{for(this._setBits(n++,r,u(t,15));n<o;)this.data[n++]=r?65535:0;this._setBits(n,r,u(0,e))}}_setBits(t,e,r){e?this.data[t]|=r:this.data[t]&=65535^r}get size(){return 8*this.data.byteLength}hashCode(){return o.MurmurHash.hashCode(this.data,22)}equals(t){if(t===this)return!0;
2if(!(t instanceof h))return!1;const e=this.length();if(e!==t.length())return!1;if(0===e)return!0;let r=s(e-1);for(let n=0;n<=r;n++)if(this.data[n]!==t.data[n])return!1;return!0}toString(){let t="{",e=!0;for(let r=this.nextSetBit(0);r>=0;r=this.nextSetBit(r+1))e?e=!1:t+=", ",t+=r;return t+="}",t}xor(t){const e=this.data,r=t.data,n=Math.min(e.length,r.length),o=Math.max(e.length,r.length),s=e.length===o?e:new Uint16Array(o);let a=-1;for(let i=0;i<n;i++){0!==(s[i]=e[i]^r[i])&&(a=i)}const l=e.length>r.length?e:r;for(let i=n;i<o;i++){0!==(s[i]=l[i])&&(a=i)}-1===a?this.data=i:s.length===a+1?this.data=s:this.data=s.slice(0,a+1)}clone(){return new h(this)}[Symbol.iterator](){return new f(this.data)}[n.inspect.custom](){return"BitSet "+this.toString()}}e.BitSet=h;class f{constructor(t){this.data=t,this.index=0,this.mask=65535}next(){for(;this.index<this.data.length;){const t=this.data[this.index]&this.mask;if(0!==t){const e=a(this.index)+l(t);return this.mask=u(e+1,15),{done:!1,value:e}}this.index++,this.mask=65535}return{done:!0,value:-1}}[Symbol.iterator](){return this}}},9363:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isSupplementaryCodePoint=e.isLowSurrogate=e.isHighSurrogate=void 0,e.isHighSurrogate=function(t){return t>=55296&&t<=56319},e.isLowSurrogate=function(t){return t>=56320&&t<=57343},e.isSupplementaryCodePoint=function(t){return t>=65536}},3197:function(t,e,r){"use strict";var n=this&&this.__decorate||function(t,e,r,n){var o,i=arguments.length,s=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(s=(i<3?o(s):i>3?o(e,r,s):o(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s};Object.defineProperty(e,"__esModule",{value:!0}),e.DefaultEqualityComparator=void 0;const o=r(8042),i=r(3943),s=r(8842);class a{hashCode(t){return null==t?0:"string"==typeof t||"number"==typeof t?i.MurmurHash.hashCode([t]):s.ObjectEqualityComparator.INSTANCE.hashCode(t)}equals(t,e){return null==t?null==e:"string"==typeof t||"number"==typeof t?t===e:s.ObjectEqualityComparator.INSTANCE.equals(t,e)}}a.INSTANCE=new a,n([o.Override],a.prototype,"hashCode",null),n([o.Override],a.prototype,"equals",null),e.DefaultEqualityComparator=a},6766:function(t,e,r){"use strict";var n=this&&this.__decorate||function(t,e,r,n){var o,i=arguments.length,s=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(s=(i<3?o(s):i>3?o(e,r,s):o(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s};Object.defineProperty(e,"__esModule",{value:!0}),e.IntegerList=void 0;const o=r(6005),i=r(8042),s=new Int32Array(0),a=2147483639;class l{constructor(t){if(t)if(t instanceof l)this._data=t._data.slice(0),this._size=t._size;else if("number"==typeof t)0===t?(this._data=s,this._size=0):(this._data=new Int32Array(t),this._size=0);else{this._data=s,this._size=0;for(let e of t)this.add(e)}else this._data=s,this._size=0}add(t){this._data.length===this._size&&this.ensureCapacity(this._size+1),this._data[this._size]=t,this._size++}addAll(t){if(Array.isArray(t))this.ensureCapacity(this._size+t.length),this._data.subarray(this._size,this._size+t.length).set(t),this._size+=t.length;else if(t instanceof l)this.ensureCapacity(this._size+t._size),this._data.subarray(this._size,this._size+t.size).set(t._data),this._size+=t._size;else{this.ensureCapacity(this._size+t.size);let e=0;for(let r of t)this._data[this._size+e]=r,e++;this._size+=t.size}}get(t){if(t<0||t>=this._size)throw RangeError();return this._data[t]}contains(t){for(let e=0;e<this._size;e++)if(this._data[e]===t)return!0;return!1}set(t,e){if(t<0||t>=this._size)throw RangeError();let r=this._data[t];return this._data[t]=e,r}removeAt(t){let e=this.get(t);return this._data.copyWithin(t,t+1,this._size),this._data[this._size-1]=0,this._size--,e}removeRange(t,e){if(t<0||e<0||t>this._size||e>this._size)throw RangeError();if(t>e)throw RangeError();this._data.copyWithin(e,t,this._size),this._data.fill(0,this._size-(e-t),this._size),this._size-=e-t}get isEmpty(){return 0===this._size}get size(){return this._size}trimToSize(){this._data.length!==this._size&&(this._data=this._data.slice(0,this._size))}clear(){this._data.fill(0,0,this._size),this._size=0}toArray(){return 0===this._size?[]:Array.from(this._data.subarray(0,this._size))}sort(){this._data.subarray(0,this._size).sort()}equals(t){if(t===this)return!0;
2if(!(t instanceof l))return!1;if(this._size!==t._size)return!1;for(let e=0;e<this._size;e++)if(this._data[e]!==t._data[e])return!1;return!0}hashCode(){let t=1;for(let e=0;e<this._size;e++)t=31*t+this._data[e];return t}toString(){return this._data.toString()}binarySearch(t,e,r){if(void 0===e&&(e=0),void 0===r&&(r=this._size),e<0||r<0||e>this._size||r>this._size)throw new RangeError;if(e>r)throw new RangeError;return o.Arrays.binarySearch(this._data,t,e,r)}ensureCapacity(t){if(t<0||t>a)throw new RangeError;let e;for(e=0===this._data.length?4:this._data.length;e<t;)e*=2,(e<0||e>a)&&(e=a);let r=new Int32Array(e);r.set(this._data),this._data=r}toCharArray(){let t=new Uint16Array(this._size),e=0,r=!1;for(let n=0;n<this._size;n++){let o=this._data[n];if(o>=0&&o<65536){t[e]=o,e++;continue}if(!r){let e=new Uint16Array(this.charArraySize());e.set(t,0),t=e,r=!0}let i=String.fromCodePoint(o);t[e]=i.charCodeAt(0),t[e+1]=i.charCodeAt(1),e+=2}return t}charArraySize(){let t=0;for(let e=0;e<this._size;e++)t+=this._data[e]>=65536?2:1;return t}}n([i.NotNull],l.prototype,"_data",void 0),n([i.Override],l.prototype,"equals",null),n([i.Override],l.prototype,"hashCode",null),n([i.Override],l.prototype,"toString",null),e.IntegerList=l},1350:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.IntegerStack=void 0;const n=r(6766);class o extends n.IntegerList{constructor(t){super(t)}push(t){this.add(t)}pop(){return this.removeAt(this.size-1)}peek(){return this.get(this.size-1)}}e.IntegerStack=o},8813:function(t,e,r){"use strict";var n=this&&this.__decorate||function(t,e,r,n){var o,i=arguments.length,s=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(s=(i<3?o(s):i>3?o(e,r,s):o(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s};Object.defineProperty(e,"__esModule",{value:!0}),e.Interval=void 0;const o=r(8042);class i{constructor(t,e){this.a=t,this.b=e}static get INVALID(){return i._INVALID}static of(t,e){return t!==e||t<0||t>1e3?new i(t,e):(null==i.cache[t]&&(i.cache[t]=new i(t,t)),i.cache[t])}get length(){return this.b<this.a?0:this.b-this.a+1}equals(t){return t===this||t instanceof i&&(this.a===t.a&&this.b===t.b)}hashCode(){let t=23;return t=31*t+this.a,t=31*t+this.b,t}startsBeforeDisjoint(t){return this.a<t.a&&this.b<t.a}startsBeforeNonDisjoint(t){return this.a<=t.a&&this.b>=t.a}startsAfter(t){return this.a>t.a}startsAfterDisjoint(t){return this.a>t.b}startsAfterNonDisjoint(t){return this.a>t.a&&this.a<=t.b}disjoint(t){return this.startsBeforeDisjoint(t)||this.startsAfterDisjoint(t)}adjacent(t){return this.a===t.b+1||this.b===t.a-1}properlyContains(t){return t.a>=this.a&&t.b<=this.b}union(t){return i.of(Math.min(this.a,t.a),Math.max(this.b,t.b))}intersection(t){return i.of(Math.max(this.a,t.a),Math.min(this.b,t.b))}differenceNotProperlyContained(t){let e;return t.startsBeforeNonDisjoint(this)?e=i.of(Math.max(this.a,t.b+1),this.b):t.startsAfterNonDisjoint(this)&&(e=i.of(this.a,t.a-1)),e}toString(){return this.a+".."+this.b}}i._INVALID=new i(-1,-2),i.cache=new Array(1001),n([o.Override],i.prototype,"equals",null),n([o.Override],i.prototype,"hashCode",null),n([o.Override],i.prototype,"toString",null),e.Interval=i},4405:function(t,e,r){"use strict";var n=this&&this.__decorate||function(t,e,r,n){var o,i=arguments.length,s=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(s=(i<3?o(s):i>3?o(e,r,s):o(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},o=this&&this.__param||function(t,e){return function(r,n){e(r,n,t)}};Object.defineProperty(e,"__esModule",{value:!0}),e.IntervalSet=void 0;const i=r(5192),s=r(6766),a=r(8813),l=r(9557),c=r(3943),u=r(8042),p=r(4966);class h{constructor(t){this.readonly=!1,this._intervals=null!=t?t.slice(0):[]}static get COMPLETE_CHAR_SET(){return void 0===h._COMPLETE_CHAR_SET&&(h._COMPLETE_CHAR_SET=h.of(l.Lexer.MIN_CHAR_VALUE,l.Lexer.MAX_CHAR_VALUE),h._COMPLETE_CHAR_SET.setReadonly(!0)),h._COMPLETE_CHAR_SET}static get EMPTY_SET(){return null==h._EMPTY_SET&&(h._EMPTY_SET=new h,h._EMPTY_SET.setReadonly(!0)),h._EMPTY_SET}static of(t,e=t){let r=new h;return r.add(t,e),r}clear(){if(this.readonly)throw new Error("can't alter readonly IntervalSet");this._intervals.length=0}add(t,e=t){this.addRange(a.Interval.of(t,e))}addRange(t){if(this.readonly)throw new Error("can't alter readonly IntervalSet");if(!(t.b<t.a)){for(let e=0;e<this._intervals.length;e++){let r=this._intervals[e];if(t.equals(r))return;if(t.adjacent(r)||!t.disjoint(r)){let n=t.union(r);for(this._intervals[e]=n;e<this._intervals.length-1;){e++;let t=this._intervals[e];if(!n.adjacent(t)&&n.disjoint(t))break;this._intervals.splice(e,1),e--,this._intervals[e]=n.union(t)}return}if(t.startsBeforeDisjoint(r))return void this._intervals.splice(e,0,t)}this._intervals.push(t)}}static or(t){let e=new h;for(let r of t)e.addAll(r);return e}addAll(t){if(null==t)return this;if(t instanceof h){let e=t,r=e._intervals.length;for(let t=0;t<r;t++){let r=e._intervals[t];this.add(r.a,r.b)}}else for(let e of t.toArray())this.add(e);return this}complementRange(t,e){return this.complement(h.of(t,e))}complement(t){if(t.isNil)return h.EMPTY_SET;let e;return t instanceof h?e=t:(e=new h,e.addAll(t)),e.subtract(this)}subtract(t){if(null==t||t.isNil)return new h(this._intervals);if(t instanceof h)return h.subtract(this,t);let e=new h;return e.addAll(t),h.subtract(this,e)}static subtract(t,e){if(t.isNil)return new h;let r=new h(t._intervals);if(e.isNil)return r;let n=0,o=0;for(;n<r._intervals.length&&o<e._intervals.length;){let t,i,s=r._intervals[n],l=e._intervals[o];if(l.b<s.a)o++;else if(l.a>s.b)n++;else if(l.a>s.a&&(t=new a.Interval(s.a,l.a-1)),l.b<s.b&&(i=new a.Interval(l.b+1,s.b)),t){if(i){r._intervals[n]=t,r._intervals.splice(n+1,0,i),n++,o++;continue}r._intervals[n]=t,n++}else i?(r._intervals[n]=i,o++):r._intervals.splice(n,1)}return r}or(t){let e=new h;return e.addAll(this),e.addAll(t),e}and(t){if(t.isNil)return new h;let e,r=this._intervals,n=t._intervals,o=r.length,i=n.length,s=0,a=0;for(;s<o&&a<i;){let t=r[s],o=n[a];t.startsBeforeDisjoint(o)?s++:o.startsBeforeDisjoint(t)?a++:t.properlyContains(o)?(e||(e=new h),e.addRange(t.intersection(o)),a++):o.properlyContains(t)?(e||(e=new h),e.addRange(t.intersection(o)),s++):t.disjoint(o)||(e||(e=new h),e.addRange(t.intersection(o)),t.startsAfterNonDisjoint(o)?a++:o.startsAfterNonDisjoint(t)&&s++)}return e||new h}contains(t){let e=0,r=this._intervals.length-1;for(;e<=r;){let n=e+r>>1,o=this._intervals[n],i=o.a;if(o.b<t)e=n+1;else{if(!(i>t))return!0;r=n-1}}return!1}get isNil(){return null==this._intervals||0===this._intervals.length}get maxElement(){if(this.isNil)throw new RangeError("set is empty");return this._intervals[this._intervals.length-1].b}get minElement(){if(this.isNil)throw new RangeError("set is empty");return this._intervals[0].a}get intervals(){return this._intervals}hashCode(){let t=c.MurmurHash.initialize();for(let e of this._intervals)t=c.MurmurHash.update(t,e.a),t=c.MurmurHash.update(t,e.b);return t=c.MurmurHash.finish(t,2*this._intervals.length),t}equals(t){return null!=t&&t instanceof h&&i.ArrayEqualityComparator.INSTANCE.equals(this._intervals,t._intervals)}toString(t=!1){let e="";if(null==this._intervals||0===this._intervals.length)return"{}";this.size>1&&(e+="{");let r=!0;for(let n of this._intervals){r?r=!1:e+=", ";let o=n.a,i=n.b;o===i?o===p.Token.EOF?e+="<EOF>":e+=t?"'"+String.fromCodePoint(o)+"'":o:e+=t?"'"+String.fromCodePoint(o)+"'..'"+String.fromCodePoint(i)+"'":o+".."+i}return this.size>1&&(e+="}"),e}toStringVocabulary(t){if(null==this._intervals||0===this._intervals.length)return"{}";let e="";this.size>1&&(e+="{");let r=!0;for(let n of this._intervals){r?r=!1:e+=", ";let o=n.a,i=n.b;if(o===i)e+=this.elementName(t,o);else for(let r=o;r<=i;r++)r>o&&(e+=", "),e+=this.elementName(t,r)}return this.size>1&&(e+="}"),e}elementName(t,e){return e===p.Token.EOF?"<EOF>":e===p.Token.EPSILON?"<EPSILON>":t.getDisplayName(e)}get size(){let t=0,e=this._intervals.length;if(1===e){let t=this._intervals[0];return t.b-t.a+1}for(let r=0;r<e;r++){let e=this._intervals[r];t+=e.b-e.a+1}return t}toIntegerList(){let t=new s.IntegerList(this.size),e=this._intervals.length;for(let r=0;r<e;r++){let e=this._intervals[r],n=e.a,o=e.b;for(let r=n;r<=o;r++)t.add(r)}return t}toSet(){let t=new Set;for(let e of this._intervals){let r=e.a,n=e.b;for(let e=r;e<=n;e++)t.add(e)}return t}toArray(){let t=new Array,e=this._intervals.length;for(let r=0;r<e;r++){let e=this._intervals[r],n=e.a,o=e.b;for(let r=n;r<=o;r++)t.push(r)}return t}remove(t){if(this.readonly)throw new Error("can't alter readonly IntervalSet");let e=this._intervals.length;for(let r=0;r<e;r++){let e=this._intervals[r],n=e.a,o=e.b;if(t<n)break;if(t===n&&t===o){this._intervals.splice(r,1);break}if(t===n){this._intervals[r]=a.Interval.of(e.a+1,e.b);break}if(t===o){this._intervals[r]=a.Interval.of(e.a,e.b-1);break}if(t>n&&t<o){let n=e.b;this._intervals[r]=a.Interval.of(e.a,t-1),this.add(t+1,n)}}}get isReadonly(){return this.readonly}setReadonly(t){if(this.readonly&&!t)throw new Error("can't alter readonly IntervalSet");this.readonly=t}}n([u.Override],h.prototype,"addAll",null),n([u.Override],h.prototype,"complement",null),n([u.Override],h.prototype,"subtract",null),n([u.Override],h.prototype,"or",null),n([u.Override],h.prototype,"and",null),n([u.Override],h.prototype,"contains",null),n([u.Override],h.prototype,"isNil",null),n([u.Override],h.prototype,"hashCode",null),n([u.Override],h.prototype,"equals",null),n([o(0,u.NotNull)],h.prototype,"toStringVocabulary",null),n([u.NotNull,o(0,u.NotNull)],h.prototype,"elementName",null),n([u.Override],h.prototype,"size",null),n([u.Override],h.prototype,"remove",null),n([u.NotNull],h,"of",null),n([u.NotNull],h,"subtract",null),e.IntervalSet=h},355:function(t,e){"use strict";
2Object.defineProperty(e,"__esModule",{value:!0}),e.MultiMap=void 0;class r extends Map{constructor(){super()}map(t,e){let r=super.get(t);r||(r=[],super.set(t,r)),r.push(e)}getPairs(){let t=[];return this.forEach(((e,r)=>{e.forEach((e=>{t.push([r,e])}))})),t}}e.MultiMap=r},3943:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.MurmurHash=void 0,function(t){const e=0;function r(t=e){return t}function n(t,e){null==e?e=0:"string"==typeof e?e=function(t){let e=t.length;if(0===e)return 0;let r=0;for(let n=0;n<e;n++){r=(r<<5>>>0)-r+t.charCodeAt(n),r|=0}return r}(e):"object"==typeof e&&(e=e.hashCode());let r=e;return r=Math.imul(r,3432918353),r=r<<15|r>>>17,r=Math.imul(r,461845907),t=(t^=r)<<13|t>>>19,4294967295&(t=Math.imul(t,5)+3864292196)}function o(t,e){return t^=4*e,t^=t>>>16,t=Math.imul(t,2246822507),t^=t>>>13,t=Math.imul(t,3266489909),t^=t>>>16}t.initialize=r,t.update=n,t.finish=o,t.hashCode=function(t,i=e){let s=r(i),a=0;for(let e of t)s=n(s,e),a++;return s=o(s,a),s}}(e.MurmurHash||(e.MurmurHash={}))},8842:function(t,e,r){"use strict";var n=this&&this.__decorate||function(t,e,r,n){var o,i=arguments.length,s=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(s=(i<3?o(s):i>3?o(e,r,s):o(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s};Object.defineProperty(e,"__esModule",{value:!0}),e.ObjectEqualityComparator=void 0;const o=r(8042);class i{hashCode(t){return null==t?0:t.hashCode()}equals(t,e){return null==t?null==e:t.equals(e)}}i.INSTANCE=new i,n([o.Override],i.prototype,"hashCode",null),n([o.Override],i.prototype,"equals",null),e.ObjectEqualityComparator=i},156:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ParseCancellationException=void 0;class r extends Error{constructor(t){super(t.message),this.cause=t,this.stack=t.stack}getCause(){return this.cause}}e.ParseCancellationException=r},4117:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.UUID=void 0;const n=r(3943);class o{constructor(t,e,r,n){this.data=new Uint32Array(4),this.data[0]=t,this.data[1]=e,this.data[2]=r,this.data[3]=n}static fromString(t){if(!/^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$/.test(t))throw new Error("Incorrectly formatted UUID");let e=t.split("-"),r=parseInt(e[0],16),n=(parseInt(e[1],16)<<16>>>0)+parseInt(e[2],16),i=(parseInt(e[3],16)<<16>>>0)+parseInt(e[4].substr(0,4),16),s=parseInt(e[4].substr(-8),16);return new o(r,n,i,s)}hashCode(){return n.MurmurHash.hashCode([this.data[0],this.data[1],this.data[2],this.data[3]])}equals(t){return t===this||t instanceof o&&(this.data[0]===t.data[0]&&this.data[1]===t.data[1]&&this.data[2]===t.data[2]&&this.data[3]===t.data[3])}toString(){return("00000000"+this.data[0].toString(16)).substr(-8)+"-"+("0000"+(this.data[1]>>>16).toString(16)).substr(-4)+"-"+("0000"+this.data[1].toString(16)).substr(-4)+"-"+("0000"+(this.data[2]>>>16).toString(16)).substr(-4)+"-"+("0000"+this.data[2].toString(16)).substr(-4)+("00000000"+this.data[3].toString(16)).substr(-8)}}e.UUID=o},5103:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.toCharArray=e.toMap=e.equals=e.join=e.escapeWhitespace=void 0,e.escapeWhitespace=function(t,e){return e?t.replace(/ /,"·"):t.replace(/\t/,"\\t").replace(/\n/,"\\n").replace(/\r/,"\\r")},e.join=function(t,e){let r="",n=!0;for(let o of t)n?n=!1:r+=e,r+=o;return r},e.equals=function(t,e){return t===e||void 0!==t&&void 0!==e&&t.equals(e)},e.toMap=function(t){let e=new Map;for(let r=0;r<t.length;r++)e.set(t[r],r);return e},e.toCharArray=function(t){if("string"==typeof t){let e=new Uint16Array(t.length);for(let r=0;r<t.length;r++)e[r]=t.charCodeAt(r);return e}return t.toCharArray()}},6912:function(t,e,r){"use strict";var n=this&&this.__decorate||function(t,e,r,n){var o,i=arguments.length,s=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;
2a--)(o=t[a])&&(s=(i<3?o(s):i>3?o(e,r,s):o(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s};Object.defineProperty(e,"__esModule",{value:!0}),e.ErrorNode=void 0;const o=r(8042),i=r(8011);class s extends i.TerminalNode{constructor(t){super(t)}accept(t){return t.visitErrorNode(this)}}n([o.Override],s.prototype,"accept",null),e.ErrorNode=s},3627:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.RuleNode=void 0;e.RuleNode=class{}},8011:function(t,e,r){"use strict";var n=this&&this.__decorate||function(t,e,r,n){var o,i=arguments.length,s=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(s=(i<3?o(s):i>3?o(e,r,s):o(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s};Object.defineProperty(e,"__esModule",{value:!0}),e.TerminalNode=void 0;const o=r(8813),i=r(8042),s=r(4966);class a{constructor(t){this._symbol=t}getChild(t){throw new RangeError("Terminal Node has no children.")}get symbol(){return this._symbol}get parent(){return this._parent}setParent(t){this._parent=t}get payload(){return this._symbol}get sourceInterval(){let t=this._symbol.tokenIndex;return new o.Interval(t,t)}get childCount(){return 0}accept(t){return t.visitTerminal(this)}get text(){return this._symbol.text||""}toStringTree(t){return this.toString()}toString(){return this._symbol.type===s.Token.EOF?"<EOF>":this._symbol.text||""}}n([i.Override],a.prototype,"getChild",null),n([i.Override],a.prototype,"parent",null),n([i.Override],a.prototype,"setParent",null),n([i.Override],a.prototype,"payload",null),n([i.Override],a.prototype,"sourceInterval",null),n([i.Override],a.prototype,"childCount",null),n([i.Override],a.prototype,"accept",null),n([i.Override],a.prototype,"text",null),n([i.Override],a.prototype,"toStringTree",null),n([i.Override],a.prototype,"toString",null),e.TerminalNode=a},5194:function(t,e,r){"use strict";var n=this&&this.__decorate||function(t,e,r,n){var o,i=arguments.length,s=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(s=(i<3?o(s):i>3?o(e,r,s):o(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},o=this&&this.__param||function(t,e){return function(r,n){e(r,n,t)}};Object.defineProperty(e,"__esModule",{value:!0}),e.Trees=void 0;const i=r(7949),s=r(824),a=r(6912),l=r(8042),c=r(2824),u=r(3208),p=r(3627),h=r(8011),f=r(4966),d=r(5103);class y{static toStringTree(t,e){let r;r=e instanceof c.Parser?e.ruleNames:e;let n=d.escapeWhitespace(this.getNodeText(t,r),!1);if(0===t.childCount)return n;let o="";o+="(",n=d.escapeWhitespace(this.getNodeText(t,r),!1),o+=n,o+=" ";for(let i=0;i<t.childCount;i++)i>0&&(o+=" "),o+=this.toStringTree(t.getChild(i),r);return o+=")",o}static getNodeText(t,e){let r;if(e instanceof c.Parser)r=e.ruleNames;else{if(!e){let e=t.payload;return"string"==typeof e.text?e.text:t.payload.toString()}r=e}if(t instanceof p.RuleNode){let e=t.ruleContext,n=r[e.ruleIndex],o=e.altNumber;return o!==i.ATN.INVALID_ALT_NUMBER?n+":"+o:n}if(t instanceof a.ErrorNode)return t.toString();if(t instanceof h.TerminalNode){return t.symbol.text||""}throw new TypeError("Unexpected node type")}static getChildren(t){let e=[];for(let r=0;r<t.childCount;r++)e.push(t.getChild(r));return e}static getAncestors(t){let e=[],r=t.parent;for(;r;)e.unshift(r),r=r.parent;return e}static isAncestorOf(t,e){if(!t||!e||!t.parent)return!1;let r=e.parent;for(;r;){if(t===r)return!0;r=r.parent}return!1}static findAllTokenNodes(t,e){return y.findAllNodes(t,e,!0)}static findAllRuleNodes(t,e){return y.findAllNodes(t,e,!1)}static findAllNodes(t,e,r){let n=[];return y._findAllNodes(t,e,r,n),n}static _findAllNodes(t,e,r,n){r&&t instanceof h.TerminalNode?t.symbol.type===e&&n.push(t):!r&&t instanceof u.ParserRuleContext&&t.ruleIndex===e&&n.push(t);for(let o=0;o<t.childCount;o++)y._findAllNodes(t.getChild(o),e,r,n)}static getDescendants(t){let e=[];return function t(r){e.push(r);const n=r.childCount;for(let e=0;e<n;e++)t(r.getChild(e))}(t),e}static getRootOfSubtreeEnclosingRegion(t,e,r){let n=t.childCount;for(let o=0;o<n;o++){let n=t.getChild(o),i=y.getRootOfSubtreeEnclosingRegion(n,e,r);if(i)return i}if(t instanceof u.ParserRuleContext){let n=t.stop;if(e>=t.start.tokenIndex&&(null==n||r<=n.tokenIndex))return t}}static stripChildrenOutOfRange(t,e,r,n){if(!t)return;let o=t.childCount;for(let i=0;i<o;i++){let o=t.getChild(i),a=o.sourceInterval;if(o instanceof u.ParserRuleContext&&(a.b<r||a.a>n)&&y.isAncestorOf(o,e)){let e=new s.CommonToken(f.Token.INVALID_TYPE,"...");t.children[i]=new h.TerminalNode(e)}}}static findNodeSuchThat(t,e){if(e(t))return t;let r=t.childCount;for(let n=0;n<r;n++){let r=y.findNodeSuchThat(t.getChild(n),e);if(void 0!==r)return r}}}n([o(0,l.NotNull)],y,"toStringTree",null),n([l.NotNull,o(0,l.NotNull)],y,"getAncestors",null),n([o(0,l.NotNull)],y,"getRootOfSubtreeEnclosingRegion",null),e.Trees=y},6581:function(t,e){"use strict";
2Object.defineProperty(e,"__esModule",{value:!0}),e.Chunk=void 0;e.Chunk=class{}},2719:function(t,e,r){"use strict";var n=this&&this.__decorate||function(t,e,r,n){var o,i=arguments.length,s=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(s=(i<3?o(s):i>3?o(e,r,s):o(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},o=this&&this.__param||function(t,e){return function(r,n){e(r,n,t)}};Object.defineProperty(e,"__esModule",{value:!0}),e.ParseTreeMatch=void 0;const i=r(8042);let s=class{constructor(t,e,r,n){if(!t)throw new Error("tree cannot be null");if(!e)throw new Error("pattern cannot be null");if(!r)throw new Error("labels cannot be null");this._tree=t,this._pattern=e,this._labels=r,this._mismatchedNode=n}get(t){let e=this._labels.get(t);if(e&&0!==e.length)return e[e.length-1]}getAll(t){const e=this._labels.get(t);return e||[]}get labels(){return this._labels}get mismatchedNode(){return this._mismatchedNode}get succeeded(){return!this._mismatchedNode}get pattern(){return this._pattern}get tree(){return this._tree}toString(){return`Match ${this.succeeded?"succeeded":"failed"}; found ${this.labels.size} labels`}};n([i.NotNull,o(0,i.NotNull)],s.prototype,"getAll",null),n([i.NotNull],s.prototype,"labels",null),n([i.NotNull],s.prototype,"pattern",null),n([i.NotNull],s.prototype,"tree",null),n([i.Override],s.prototype,"toString",null),s=n([o(0,i.NotNull),o(1,i.NotNull),o(2,i.NotNull)],s),e.ParseTreeMatch=s},2237:function(t,e,r){"use strict";var n=this&&this.__decorate||function(t,e,r,n){var o,i=arguments.length,s=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(s=(i<3?o(s):i>3?o(e,r,s):o(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},o=this&&this.__param||function(t,e){return function(r,n){e(r,n,t)}};Object.defineProperty(e,"__esModule",{value:!0}),e.ParseTreePattern=void 0;const i=r(8042),s=r(1310);let a=class{constructor(t,e,r,n){this._matcher=t,this._patternRuleIndex=r,this._pattern=e,this._patternTree=n}match(t){return this._matcher.match(t,this)}matches(t){return this._matcher.match(t,this).succeeded}findAll(t,e){let r=s.XPath.findAll(t,e,this._matcher.parser),n=[];for(let o of r){let t=this.match(o);t.succeeded&&n.push(t)}return n}get matcher(){return this._matcher}get pattern(){return this._pattern}get patternRuleIndex(){return this._patternRuleIndex}get patternTree(){return this._patternTree}};n([i.NotNull],a.prototype,"_pattern",void 0),n([i.NotNull],a.prototype,"_patternTree",void 0),n([i.NotNull],a.prototype,"_matcher",void 0),n([i.NotNull,o(0,i.NotNull)],a.prototype,"match",null),n([o(0,i.NotNull)],a.prototype,"matches",null),n([i.NotNull,o(0,i.NotNull),o(1,i.NotNull)],a.prototype,"findAll",null),n([i.NotNull],a.prototype,"matcher",null),n([i.NotNull],a.prototype,"pattern",null),n([i.NotNull],a.prototype,"patternTree",null),a=n([o(0,i.NotNull),o(1,i.NotNull),o(3,i.NotNull)],a),e.ParseTreePattern=a},1293:function(t,e,r){"use strict";var n=this&&this.__decorate||function(t,e,r,n){var o,i=arguments.length,s=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(s=(i<3?o(s):i>3?o(e,r,s):o(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},o=this&&this.__param||function(t,e){return function(r,n){e(r,n,t)}};Object.defineProperty(e,"__esModule",{value:!0}),e.ParseTreePatternMatcher=void 0;const i=r(7446),s=r(3675),a=r(4321),l=r(7683),c=r(355),u=r(8042),p=r(156),h=r(627),f=r(3208),d=r(2719),y=r(2237),g=r(3998),m=r(3627),_=r(5144),v=r(5760),S=r(8011),O=r(8965),N=r(4966),b=r(6290);class x{constructor(t,e){this.start="<",this.stop=">",this.escape="\\",this.escapeRE=/\\/g,this._lexer=t,this._parser=e}setDelimiters(t,e,r){if(!t)throw new Error("start cannot be null or empty");if(!e)throw new Error("stop cannot be null or empty");this.start=t,this.stop=e,this.escape=r,this.escapeRE=new RegExp(r.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"g")}matches(t,e,r=0){if("string"==typeof e){let n=this.compile(e,r);return this.matches(t,n)}{let r=new c.MultiMap;return!this.matchImpl(t,e.patternTree,r)}}match(t,e,r=0){if("string"==typeof e){let n=this.compile(e,r);return this.match(t,n)}{let r=new c.MultiMap,n=this.matchImpl(t,e.patternTree,r);return new d.ParseTreeMatch(t,e,r,n)}}compile(t,e){let r=this.tokenize(t),n=new l.ListTokenSource(r),o=new a.CommonTokenStream(n);const s=this._parser;let c,u=new h.ParserInterpreter(s.grammarFileName,s.vocabulary,s.ruleNames,s.getATNWithBypassAlts(),o);try{u.errorHandler=new i.BailErrorStrategy,c=u.parse(e)}catch(f){throw f instanceof p.ParseCancellationException?f.getCause():f instanceof g.RecognitionException?f:f instanceof Error?new x.CannotInvokeStartRule(f):f}if(o.LA(1)!==N.Token.EOF)throw new x.StartRuleDoesNotConsumeFullPattern;return new y.ParseTreePattern(this,t,e,c)}get lexer(){return this._lexer}get parser(){return this._parser}matchImpl(t,e,r){if(!t)throw new TypeError("tree cannot be null");if(!e)throw new TypeError("patternTree cannot be null");if(t instanceof S.TerminalNode&&e instanceof S.TerminalNode){let n;if(t.symbol.type===e.symbol.type)if(e.symbol instanceof b.TokenTagToken){let n=e.symbol;r.map(n.tokenName,t);const o=n.label;o&&r.map(o,t)}else t.text===e.text||n||(n=t);else n||(n=t);return n}if(t instanceof f.ParserRuleContext&&e instanceof f.ParserRuleContext){let n,o=this.getRuleTagToken(e);if(o){if(t.ruleContext.ruleIndex===e.ruleContext.ruleIndex){r.map(o.ruleName,t);const e=o.label;e&&r.map(e,t)}else n||(n=t);return n}if(t.childCount!==e.childCount)return n||(n=t),n;let i=t.childCount;for(let s=0;s<i;s++){let n=this.matchImpl(t.getChild(s),e.getChild(s),r);if(n)return n}return n}return t}getRuleTagToken(t){if(t instanceof m.RuleNode&&1===t.childCount&&t.getChild(0)instanceof S.TerminalNode){let e=t.getChild(0);if(e.symbol instanceof _.RuleTagToken)return e.symbol}}tokenize(t){let e=this.split(t),r=[];for(let n of e)if(n instanceof v.TagChunk){let e=n;const o=e.tag.substr(0,1);if(o===o.toUpperCase()){let n=this._parser.getTokenType(e.tag);if(n===N.Token.INVALID_TYPE)throw new Error("Unknown token "+e.tag
2+" in pattern: "+t);let o=new b.TokenTagToken(e.tag,n,e.label);r.push(o)}else{if(o!==o.toLowerCase())throw new Error("invalid tag: "+e.tag+" in pattern: "+t);{let n=this._parser.getRuleIndex(e.tag);if(-1===n)throw new Error("Unknown rule "+e.tag+" in pattern: "+t);let o=this._parser.getATNWithBypassAlts().ruleToTokenType[n];r.push(new _.RuleTagToken(e.tag,o,e.label))}}}else{let t=n;this._lexer.inputStream=s.CharStreams.fromString(t.text);let e=this._lexer.nextToken();for(;e.type!==N.Token.EOF;)r.push(e),e=this._lexer.nextToken()}return r}split(t){let e=0,r=t.length,n=[],o=[],i=[];for(;e<r;)e===t.indexOf(this.escape+this.start,e)?e+=this.escape.length+this.start.length:e===t.indexOf(this.escape+this.stop,e)?e+=this.escape.length+this.stop.length:e===t.indexOf(this.start,e)?(o.push(e),e+=this.start.length):e===t.indexOf(this.stop,e)?(i.push(e),e+=this.stop.length):e++;if(o.length>i.length)throw new Error("unterminated tag in pattern: "+t);if(o.length<i.length)throw new Error("missing start tag in pattern: "+t);let s=o.length;for(let a=0;a<s;a++)if(o[a]>=i[a])throw new Error("tag delimiters out of order in pattern: "+t);if(0===s){let e=t.substring(0,r);n.push(new O.TextChunk(e))}if(s>0&&o[0]>0){let e=t.substring(0,o[0]);n.push(new O.TextChunk(e))}for(let a=0;a<s;a++){let e,r=t.substring(o[a]+this.start.length,i[a]),l=r,c=r.indexOf(":");if(c>=0&&(e=r.substring(0,c),l=r.substring(c+1,r.length)),n.push(new v.TagChunk(l,e)),a+1<s){let e=t.substring(i[a]+this.stop.length,o[a+1]);n.push(new O.TextChunk(e))}}if(s>0){let e=i[s-1]+this.stop.length;if(e<r){let o=t.substring(e,r);n.push(new O.TextChunk(o))}}for(let a=0;a<n.length;a++){let t=n[a];if(t instanceof O.TextChunk){let e=t.text.replace(this.escapeRE,"");e.length<t.text.length&&(n[a]=new O.TextChunk(e))}}return n}}n([u.NotNull,o(1,u.NotNull)],x.prototype,"match",null),n([u.NotNull],x.prototype,"lexer",null),n([u.NotNull],x.prototype,"parser",null),n([o(0,u.NotNull),o(1,u.NotNull),o(2,u.NotNull)],x.prototype,"matchImpl",null),e.ParseTreePatternMatcher=x,function(t){class e extends Error{constructor(t){super(`CannotInvokeStartRule: ${t}`),this.error=t}}t.CannotInvokeStartRule=e;class r extends Error{constructor(){super("StartRuleDoesNotConsumeFullPattern")}}t.StartRuleDoesNotConsumeFullPattern=r}(x=e.ParseTreePatternMatcher||(e.ParseTreePatternMatcher={}))},5144:function(t,e,r){"use strict";var n=this&&this.__decorate||function(t,e,r,n){var o,i=arguments.length,s=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(s=(i<3?o(s):i>3?o(e,r,s):o(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},o=this&&this.__param||function(t,e){return function(r,n){e(r,n,t)}};Object.defineProperty(e,"__esModule",{value:!0}),e.RuleTagToken=void 0;const i=r(8042),s=r(4966);let a=class{constructor(t,e,r){if(null==t||0===t.length)throw new Error("ruleName cannot be null or empty.");this._ruleName=t,this.bypassTokenType=e,this._label=r}get ruleName(){return this._ruleName}get label(){return this._label}get channel(){return s.Token.DEFAULT_CHANNEL}get text(){return null!=this._label?"<"+this._label+":"+this._ruleName+">":"<"+this._ruleName+">"}get type(){return this.bypassTokenType}get line(){return 0}get charPositionInLine(){return-1}get tokenIndex(){return-1}get startIndex(){return-1}get stopIndex(){return-1}get tokenSource(){}get inputStream(){}toString(){return this._ruleName+":"+this.bypassTokenType}};n([i.NotNull],a.prototype,"ruleName",null),n([i.Override],a.prototype,"channel",null),n([i.Override],a.prototype,"text",null),n([i.Override],a.prototype,"type",null),n([i.Override],a.prototype,"line",null),n([i.Override],a.prototype,"charPositionInLine",null),n([i.Override],a.prototype,"tokenIndex",null),n([i.Override],a.prototype,"startIndex",null),n([i.Override],a.prototype,"stopIndex",null),n([i.Override],a.prototype,"tokenSource",null),n([i.Override],a.prototype,"inputStream",null),n([i.Override],a.prototype,"toString",null),a=n([o(0,i.NotNull)],a),e.RuleTagToken=a},5760:function(t,e,r){"use strict";var n=this&&this.__decorate||function(t,e,r,n){var o,i=arguments.length,s=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;
2a--)(o=t[a])&&(s=(i<3?o(s):i>3?o(e,r,s):o(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s};Object.defineProperty(e,"__esModule",{value:!0}),e.TagChunk=void 0;const o=r(6581),i=r(8042);class s extends o.Chunk{constructor(t,e){if(super(),null==t||0===t.length)throw new Error("tag cannot be null or empty");this._tag=t,this._label=e}get tag(){return this._tag}get label(){return this._label}toString(){return null!=this._label?this._label+":"+this._tag:this._tag}}n([i.NotNull],s.prototype,"tag",null),n([i.Override],s.prototype,"toString",null),e.TagChunk=s},8965:function(t,e,r){"use strict";var n=this&&this.__decorate||function(t,e,r,n){var o,i=arguments.length,s=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(s=(i<3?o(s):i>3?o(e,r,s):o(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},o=this&&this.__param||function(t,e){return function(r,n){e(r,n,t)}};Object.defineProperty(e,"__esModule",{value:!0}),e.TextChunk=void 0;const i=r(6581),s=r(8042);let a=class extends i.Chunk{constructor(t){if(super(),null==t)throw new Error("text cannot be null");this._text=t}get text(){return this._text}toString(){return"'"+this._text+"'"}};n([s.NotNull],a.prototype,"_text",void 0),n([s.NotNull],a.prototype,"text",null),n([s.Override],a.prototype,"toString",null),a=n([o(0,s.NotNull)],a),e.TextChunk=a},6290:function(t,e,r){"use strict";var n=this&&this.__decorate||function(t,e,r,n){var o,i=arguments.length,s=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(s=(i<3?o(s):i>3?o(e,r,s):o(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},o=this&&this.__param||function(t,e){return function(r,n){e(r,n,t)}};Object.defineProperty(e,"__esModule",{value:!0}),e.TokenTagToken=void 0;const i=r(824),s=r(8042);let a=class extends i.CommonToken{constructor(t,e,r){super(e),this._tokenName=t,this._label=r}get tokenName(){return this._tokenName}get label(){return this._label}get text(){return null!=this._label?"<"+this._label+":"+this._tokenName+">":"<"+this._tokenName+">"}toString(){return this._tokenName+":"+this.type}};n([s.NotNull],a.prototype,"_tokenName",void 0),n([s.NotNull],a.prototype,"tokenName",null),n([s.Override],a.prototype,"text",null),n([s.Override],a.prototype,"toString",null),a=n([o(0,s.NotNull)],a),e.TokenTagToken=a},1310:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.XPath=void 0;const n=r(3675),o=r(4321),i=r(5324),s=r(3208),a=r(4966),l=r(1257),c=r(393),u=r(8386),p=r(4703),h=r(8576),f=r(4559),d=r(7636),y=r(881);class g{constructor(t,e){this.parser=t,this.path=e,this.elements=this.split(e)}split(t){let e=new l.XPathLexer(n.CharStreams.fromString(t));e.recover=t=>{throw t},e.removeErrorListeners(),e.addErrorListener(new c.XPathLexerErrorListener);let r=new o.CommonTokenStream(e);try{r.fill()}catch(f){if(f instanceof i.LexerNoViableAltException){let r="Invalid tokens or characters at index "+e.charPositionInLine+" in path '"+t+"' -- "+f.message;throw new RangeError(r)}throw f}let s=r.getTokens(),u=[],p=s.length,h=0;t:for(;h<p;){let t,e=s[h];switch(e.type){case l.XPathLexer.ROOT:case l.XPathLexer.ANYWHERE:let r=e.type===l.XPathLexer.ANYWHERE;h++,t=s[h];let n=t.type===l.XPathLexer.BANG;n&&(h++,t=s[h]);let o=this.getXPathElement(t,r);o.invert=n,u.push(o),h++;break;case l.XPathLexer.TOKEN_REF:case l.XPathLexer.RULE_REF:case l.XPathLexer.WILDCARD:u.push(this.getXPathElement(e,!1)),h++;break;case a.Token.EOF:break t;default:throw new Error("Unknowth path element "+e)}}return u}getXPathElement(t,e){if(t.type===a.Token.EOF)throw new Error("Missing path element at end of path");let r=t.text;if(null==r)throw new Error("Expected wordToken to have text content.");let n=this.parser.getTokenType(r),o=this.parser.getRuleIndex(r);switch(t.type){case l.XPathLexer.WILDCARD:return e?new d.XPathWildcardAnywhereElement:new y.XPathWildcardElement;case l.XPathLexer.TOKEN_REF:case l.XPathLexer.STRING:if(n===a.Token.INVALID_TYPE)throw new Error(r+" at index "+t.startIndex+" isn't a valid token name");
2return e?new h.XPathTokenAnywhereElement(r,n):new f.XPathTokenElement(r,n);default:if(-1===o)throw new Error(r+" at index "+t.startIndex+" isn't a valid rule name");return e?new u.XPathRuleAnywhereElement(r,o):new p.XPathRuleElement(r,o)}}static findAll(t,e,r){return new g(r,e).evaluate(t)}evaluate(t){let e=new s.ParserRuleContext;e.addChild(t);let r=new Set([e]),n=0;for(;n<this.elements.length;){let t=new Set;for(let e of r)if(e.childCount>0){this.elements[n].evaluate(e).forEach(t.add,t)}n++,r=t}return r}}e.XPath=g,g.WILDCARD="*",g.NOT="!"},1298:function(t,e,r){"use strict";var n=this&&this.__decorate||function(t,e,r,n){var o,i=arguments.length,s=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(s=(i<3?o(s):i>3?o(e,r,s):o(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s};Object.defineProperty(e,"__esModule",{value:!0}),e.XPathElement=void 0;const o=r(8042);class i{constructor(t){this.nodeName=t,this.invert=!1}toString(){let t=this.invert?"!":"";return Object.constructor.name+"["+t+this.nodeName+"]"}}n([o.Override],i.prototype,"toString",null),e.XPathElement=i},1257:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.XPathLexer=void 0;const n=r(9963),o=r(9557),i=r(2178),s=r(6763),a=r(5103);class l extends o.Lexer{constructor(t){super(t),this._interp=new i.LexerATNSimulator(l._ATN,this)}get vocabulary(){return l.VOCABULARY}get grammarFileName(){return"XPathLexer.g4"}get ruleNames(){return l.ruleNames}
2get serializedATN(){return l._serializedATN}get channelNames(){return l.channelNames}get modeNames(){return l.modeNames}action(t,e,r){if(4===e)this.ID_action(t,r)}ID_action(t,e){if(0===e){let t=this.text;t.charAt(0)===t.charAt(0).toUpperCase()?this.type=l.TOKEN_REF:this.type=l.RULE_REF}}static get _ATN(){return l.__ATN||(l.__ATN=(new n.ATNDeserializer).deserialize(a.toCharArray(l._serializedATN))),l.__ATN}}e.XPathLexer=l,l.TOKEN_REF=1,l.RULE_REF=2,l.ANYWHERE=3,l.ROOT=4,l.WILDCARD=5,l.BANG=6,l.ID=7,l.STRING=8,l.channelNames=["DEFAULT_TOKEN_CHANNEL","HIDDEN"],l.modeNames=["DEFAULT_MODE"],l.ruleNames=["ANYWHERE","ROOT","WILDCARD","BANG","ID","NameChar","NameStartChar","STRING"],l._LITERAL_NAMES=[void 0,void 0,void 0,"'//'","'/'","'*'","'!'"],l._SYMBOLIC_NAMES=[void 0,"TOKEN_REF","RULE_REF","ANYWHERE","ROOT","WILDCARD","BANG","ID","STRING"],l.VOCABULARY=new s.VocabularyImpl(l._LITERAL_NAMES,l._SYMBOLIC_NAMES,[]),l._serializedATNSegments=2,l._serializedATNSegment0='�ì¤ìªºÖê¾ºä½Øîªì�\n2\b���\t���\t���\t���\t���\t���\t��\b\t\b�\t\t\t�������������������������\n�\f���"\v����������\b�\b�\t�\t�\t,\n\t\f\t�\t/\v\t�\t�\t�-��\n���������\t�\b\v�\t\r�������\n����ʶ���\n�����2�;�C�\\�a�a�c�|�Â�¡�¬�¬�¯�¯�·�·�¼�¼�Ã�Ã�Ã�ø�ú�Ë�Ë�Ë�Ë¢�˦�Ë®�Ë®�˰�˰�Ì�Ͷ�͸�͹�ͼ�Í¿�Î�Î�Î�Î�Î�Î�Î�Î�Î�Σ�Î¥�Ï·�Ϲ�Ò�Ò
�Ò�Ò�Ô±�Ô³�Õ�Õ�Õ�Õ£�Ö�Ö�Ö¿�×�×�×�×�×�×�×�×�×�׬�ײ�×´�Ø�Ø�Ø�Ø�Ø�Ø�Ø¢�Ù«�Ù°�Û�Û�Û�Û¡�Ûª�Û¬�Û¾�Ü�Ü�Ü�Ý�Ý�Þ³�ß�ß·�ß¼�ß¼�à �à ¯�à¡�à¡�ࢢ�ࢶ�ࢸ�ࢿ�à£�॥�२�ॱ�ॳ�à¦
�à¦�à¦�à¦�à¦�à¦�প�ব�ল�঴�঴�স�঻�া�à§�à§�à§�à§�à§�à§�à§�à§�à§�à§¡�à§¥�২�à§³�à¨�à¨
�à¨�à¨�à¨�à¨�à¨�ਪ�ਬ�ਲ�਴�ਵ�਷�ਸ�਺�਻�ਾ�ਾ�à©�à©�à©�à©�à©�à©�à©�à©�à©�à©�à© �à© �੨�à©·�àª�àª
�àª�àª�àª�àª�àª�પ�બ�લ�઴�વ�ષ�઻�ા�à«�à«�à«�à«�à«�à«�à«�à«¢�à«¥�૨�૱�à«»�à«»�à¬�à¬
�à¬�à¬�à¬�à¬�à¬�ପ�ବ�ଲ�଴�ଵ�ଷ�଻�ା�à�à�à�à�à�à�à�à�à�à¡�à¥�à¨�à±�à³�à³�à®�à®
�à®�à®�à®�à®�à®�à®�à®�à®�à®�à®�à® �஡�஥�஦�ப�஬�à®°�à®»�à¯�à¯�à¯�à¯�à¯�à¯�à¯�à¯�à¯�à¯�௨�௱�à°�à°
�à°�à°�à°�à°�à°�à°ª�à°¬�à°»�à°¿�à±�à±�à±�à±�à±
2�à±�à±�à±�à±�à±¢�à±¥�౨�à±±�à²�à²
�à²�à²�à²�à²�à²�ಪ�ಬ�ವ�ಷ�಻�ಾ�à³�à³�à³�à³�à³�à³�à³�à³ �à³ �à³¢�à³¥�೨�à³±�à³³�à³´�à´�à´
�à´�à´�à´�à´�à´�à´¼�à´¿�àµ�àµ�àµ�àµ�àµ�àµ�àµ�ൡ�൥�൨�൱�ർ�à¶�à¶�à¶
�à¶�à¶�à¶�à¶³�à¶µ�à¶½�à¶¿�à¶¿�à·�à·�à·�à·�à·�à·�à·�à·�à·�à·¡�à·¨�à·±�à·´�à·µ�à¸�฼�à¹�à¹�à¹�à¹�àº�àº�àº�àº�àº�àº�àº�àº�àº�àº�àº�àº�àº�ມ�ຣ�ລ�ວ�ວ�ຩ�ຩ�ຬ�àº�ຯ�ົ�ຽ�຿�à»�à»�à»�à»�à»�à»�à»�à»�à»�໡�à¼�à¼�à¼�à¼�༢�༫�༷�༷�༹�༹�༻�༻�à½�à½�à½�཮�ཱི�à¾�à¾�à¾�à¾�྾�à¿�à¿�á�á�á�á�á¢�á�á�á�á�á�á�á¼�á¾�á�á�á�á�á�á�á�á�á�á¢�á�á�á�á�á²�á´�á·�áº�á�á�á�á�á�á�á�á�á�á�á�á�á�á�á¡�á�á�á¢�á·�áº�á¿�á�á®�á±�á�á�á�á¢�á¬�á°�áº�á�á�á�á�á¢�á¶�á�á�á¢�á®�á°�á²�á´�áµ�á�á�á�á�á�á�á¢�á«�á �á �á �á �á ¢�᡹�á¢�᢬�ᢲ�᣷�á¤�ᤠ�ᤢ�á¤�ᤲ�᤽�á¥�᥯�ᥲ�᥶�á¦�á¦�ᦲ�á§�á§�á§�á¨�á¨�ᨢ�á© �á©¢�᩾�áª�áª�áª�áª�᪩�᪩�᪲�ᪿ�á¬�á�á�á�á�áµ�á®�᯵�á°�á°¹�á±�á±�á±�᱿�á²�á²�á³�á³�á³�᳸�ᳺ�á³»�á´�á··�á·½�á¼�á¼�á¼�á¼¢�á½�á½�á½�á½�á½�á½�á½�á½�á½�á½�á½�ὡ�὿�á¾�á¾¶�Ᾰ�á¾¾�á¿�á¿�á¿�á¿�á¿�á¿�á¿�á¿�á¿�á¿�á¿¢�á¿®�á¿´�á¿¶�Ὸ�῾�â�â�â¬�â°�â�â�â�â�â¢�â¦�â¨�â±�â³�â³�â�â�â�â�â�â�â£�â£�â§�â²�â�â�â�â�â�â�â�â�â�â�â¦�â¦�â¨�â¨�âª�âª�â¬�â¯�â±�â»�â¾�â
�â
�â
�â
�â
�â
¢�â�â°�â°°�â°²�â± �â±¢�⳦�â³�â³µ�â´�â´§�â´©�â´©�â´¯�â´¯�â´²�⵩�âµ±�âµ±�â¶�â¶�â¶¢�ⶨ�ⶪ�â¶°�â¶²�ⶸ�ⶺ�â·�â·�â·�â·�â·�â·�â·�â·�â· �â·¢�â¸�⸱�⸱�ã�ã�ã£�ã±�ã³�ã·�ãº�ã¾�ã�ã�ã�ã�ã�ã¡�ã£�ã¼�ã¾�ã�ã�ã¯�ã³�ã�ã¢�ã¼�ã²�ã�ã�ä¶·�ä¸�é¿�ê�ê�ê�ê¿�ê�ê�ê�ê�ê�ê±�ê¶�ê¿�ê�ê³�ê�ê¡�ê¤�ê�ê�ê°�ê²�ê¹�ê¹�ê ©�ê¡�꡵�ê¢�ê£�ê£�ê£�꣢�꣹�ꣽ�ꣽ�ꣿ�ꣿ�ê¤�꤯�ꤲ�ê¥�ꥢ�꥾�ê¦�ê§�ê§�ê§�ê§¢�ê¨�ê¨�꨸�ê©�ê©�ê©�ê©�ê©¢�꩸�ꩼ�ê«�ê«�ê«�ê«¢�꫱�ê«´�꫸�ê¬�ê¬�ê¬�ê¬�ê¬�ê¬�ꬢ�ꬨ�ꬪ�ꬰ�ꬲ�ê�ê�ê§�ê²�꯬�꯮�꯯�꯲�꯻�ê°�í¥�í²�í�í�í½�ï¤�﩯�全�ï«�ï¬�ï¬�ï¬�ï¬�ï¬�שׁ�שּׁ�טּ�ךּ�מּ�ï�ï�ï�ï�ï
�ï�ï�﮳�ï¯�ï´¿�ïµ�ï¶�ï¶�ï·�ï·²�ï·½�ï¸�ï¸�︢�︱�︵�︶�ï¹�ï¹�ï¹²�ï¹¶�ﹸ�﻾�ï¼�ï¼�ï¼�ï¼�ï¼£�ï¼¼�ï½�ï½�ï½�ï½�ィ�ï¿�ï¿�ï¿�ï¿�ï¿�ï¿�ï¿�ï¿�ï¿�ï¿»�����\r���(�*�<�>�?�A�O�R�_�Â�ü�Å�Ŷ�Ç¿�Ç¿�Ê�Ê�Ê¢�Ë�Ë¢�Ë¢�Ì�Ì¡�̲�Í�Í�ͼ�Î�Î�΢�Ï
�Ï�Ï�Ï�Ï�Ð�Ò�Ò¢�Ò«�Ò²�Ó�Ó�Ó½�Ô�Ô©�Ô²�Õ¥�Ø�ܸ�Ý�Ý�Ý¢�Ý©�à �à �à �à �à �à ·�à ¹�à º�à ¾�à ¾�à¡�à¡�à¡¢�ࡸ�à¢�ࢠ�࣢�ࣴ�ࣶ�ࣷ�à¤�à¤�ढ�ऻ�à¦�হ�à§�à§�à¨�à¨
�à¨�à¨�à¨�à¨�à¨�à¨�à¨�ਵ�਺�਼�à©�à©�à©¢�੾�àª�àª�à«�à«�à«�૨�à¬�ଷ�à�à�à¢�à´�à®�à®�à°�à±�à²�಴�à³�à³´�á�á�á¨�á±�á�á¼�á¿�á¿�á�áª�á²�á»�á�á¶�á¸�á
�á
�á
µ�á
¸�á
¸�á�á�á�á�á�á�á�á�á�á�á�á¹�á�á�á�á�á�á�á�á�á�á�á¡�áª�á²�á¬�á²�á»�á�á
�á�á�á�á�á�áª�á¬�á²�á´�áµ�á·�á»�á¾�á�á�á�á�á�á�á�á�á�á�á¥�á¨�á®�á²�á¶�á�á�á�á�á�á�á�á�á�á�á�á·�áº�á�á�á�á�á�á�á�á�á�á�á¹�á�á�á�á�á�á�á²�á»�ᢢ�ᣫ�á¤�á¤�á«�᫺�á°�á°�á°�á°¸�á°º�á±�á±�á±�á±´�á²�á²�Ჩ�Ძ�Ჸ�â�â�â�â°�â�â
�ã�ã°�ä�ä�æ �樺�æ©�æ© �æ©¢�æ©«�æ«�櫯�櫲�æ«¶�æ¬�欸�æ�æ
�æ�æ�æ¥�æ¹�æ¿�æ®�æ¼�æ½�æ½�æ¾�æ¾�澡�æ¿¢�æ¿¢�ç�è®�è �è«´�ë�ë�ë°�뱬�ë±²�ë±¾�ë²�ë²�ë²�ë²�ë²�ë² �ë²¢�ë²¥�í
§�í
«�í
¯�í�í�í�í¬�í¯�í�í�í�í�í�í�í �í¡�í¤�í¤�í§�í¨�í«�í®�í°�í»�í½�í½�í¿�í
�í�í�í�í�í�í�í�í�í �í»�í½�í�í�í�í�í�í�í�í�í§�íª�í�í�í�í�í¼�í¾�í�í�í¶�í¸�í�í�í°�í²�í�í�íª�í¬�í�í�í�í�\ud801�\uda02�\uda38�\uda3d�\uda6e�\uda77�\uda77�\uda86�\uda86�\uda9d�\udaa1�\udaa3�\udab1�î�î�î�î�î�î£�î¥�î¦�î¨�î¬�î �î£�î£�î£�î¤�î¥�î¥�î¥�î¸�î¸
�������������������������������������������������
2î¹¶�î¹¹�î¹»�î¹¾�îº�îº�îº�îº�îº�îº�����îº����ê�ê�ë¶�ë�ë �ë ¢�캣�ï �ï¨�����"�Â�Ä�DZ�É�C�\\�c�|�¬�¬�·�·�¼�¼�Ã�Ã�Ã�ø�ú�Ë�Ë�Ë�Ë¢�˦�Ë®�Ë®�˰�˰�Ͳ�Ͷ�͸�͹�ͼ�Í¿�Î�Î�Î�Î�Î�Î�Î�Î�Î�Σ�Î¥�Ï·�Ϲ�Ò�Ò�Ô±�Ô³�Õ�Õ�Õ�Õ£�Ö�×�׬�ײ�×´�Ø¢�Ù�Ù°�Ù±�Ù³�Û�Û�Û�Û§�Û¨�Û°�Û±�Û¼�Û¾�Ü�Ü�Ü�Ü�Ü�ܱ�Ý�Þ§�Þ³�Þ³�ß�߬�ß¶�ß·�ß¼�ß¼�à �à �à �à �à ¦�à ¦�à ª�à ª�à¡�à¡�ࢢ�ࢶ�ࢸ�ࢿ�à¤�ऻ�ि�ि�à¥�à¥�à¥�ॣ�ॳ�à¦�à¦�à¦�à¦�à¦�à¦�প�ব�ল�঴�঴�স�঻�ি�ি�à§�à§�à§�à§�à§¡�à§£�à§²�à§³�à¨�à¨�à¨�à¨�à¨�ਪ�ਬ�ਲ�਴�ਵ�਷�ਸ�਺�਻�à©�à©�à© �à© �à©´�à©¶�àª�àª�àª�àª�àª�પ�બ�લ�઴�વ�ષ�઻�િ�િ�à«�à«�à«¢�à«£�à«»�à«»�à¬�à¬�à¬�à¬�à¬�ପ�ବ�ଲ�଴�ଵ�ଷ�଻�ି�ି�à�à�à¡�à£�à³�à³�à®
�à®
�à®�à®�à®�à®�à®�à®�à®�à®�à®�à®�à® �஡�஥�஦�ப�஬�à®°�à®»�à¯�à¯�à°�à°�à°�à°�à°�à°ª�à°¬�à°»�à°¿�à°¿�à±�à±�à±¢�à±£�à²�à²�à²�à²�à²�à²�à²�ಪ�ಬ�ವ�ಷ�಻�ಿ�ಿ�à³ �à³ �à³¢�à³£�à³³�à³´�à´�à´�à´�à´�à´�à´¼�à´¿�à´¿�àµ�àµ�àµ�àµ�ൡ�ൣ�ർ�à¶�à¶�à¶�à¶�à¶³�à¶µ�à¶½�à¶¿�à¶¿�à·�à·�à¸�า�ิ�ี�à¹�à¹�àº�àº�àº�àº�àº�àº�àº�àº�àº�àº�àº�àº�àº�ມ�ຣ�ລ�ວ�ວ�ຩ�ຩ�ຬ�àº�ຯ�າ�ິ�ີ�຿�຿�à»�à»�à»�à»�à»�໡�à¼�à¼�à½�à½�à½�཮�à¾�à¾�á�á¬�á�á�á�á�á�á�á£�á£�á§�á¨�á°�á²�á·�á�á�á�á¢�á�á�á�á�á�á�á¼�á¾�á�á�á�á�á�á�á�á�á�á¢�á�á�á�á�á²�á´�á·�áº�á�á�á�á�á�á�á�á�á�á�á�á�á�á�á�á¢�á·�áº�á¿�á�á®�á±�á�á�á�á¢�á¬�á°�áº�á�á�á�á�á¢�á³�á�á�á¢�á®�á°�á²�á�áµ�á�á�á�á�á ¢�᡹�á¢�á¢�á¢�ᢪ�᢬�᢬�ᢲ�᣷�á¤�ᤠ�á¥�᥯�ᥲ�᥶�á¦�á¦�ᦲ�á§�á¨�á¨�ᨢ�á©�᪩�᪩�á¬�ᬵ�á�á�á®
�ᮢ�á®°�á®±�ᮼ�ᯧ�á°�á°¥�á±�á±�á±�᱿�á²�á²�ᳫ�á³®�á³°�á³³�á³·�᳸�á´�á·�á¸�á¼�á¼�á¼�á¼¢�á½�á½�á½�á½�á½�á½�á½�á½�á½�á½�á½�ὡ�὿�á¾�á¾¶�Ᾰ�á¾¾�á¿�á¿�á¿�á¿�á¿�á¿�á¿�á¿�á¿�á¿�á¿¢�á¿®�á¿´�á¿¶�Ὸ�῾�â³�â³�â�â�â�â�â�â�â�â�â�â�â�â�â�â�â¦�â¦�â¨�â¨�âª�âª�â¬�â¯�â±�â»�â¾�â
�â
�â
�â
�â
�â
¢�â�â°�â°°�â°²�â± �â±¢�⳦�â³�â³°�â³´�â³µ�â´�â´§�â´©�â´©�â´¯�â´¯�â´²�⵩�âµ±�âµ±�â¶�â¶�â¶¢�ⶨ�ⶪ�â¶°�â¶²�ⶸ�ⶺ�â·�â·�â·�â·�â·�â·�â·�â·�â· �⸱�⸱�ã�ã�ã£�ã«�ã³�ã·�ãº�ã¾�ã�ã�ã�ã¡�ã£�ã¼�ã¾�ã�ã�ã¯�ã³�ã�ã¢�ã¼�ã²�ã�ã�ä¶·�ä¸�é¿�ê�ê�ê�ê¿�ê�ê�ê�ê¡�ê¬�ê�ê�ê°�ê�ê�ê¢�ê±�ê�ê¡�ê¤�ê�ê�ê°�ê²�ê¹�ê¹�ê �ê
�ê �ê �ê �ê �ê ¤�ê¡�꡵�ê¢�ꢵ�ꣴ�꣹�ꣽ�ꣽ�ꣿ�ꣿ�ê¤�ꤧ�ꤲ�ê¥�ꥢ�꥾�ê¦�ꦴ�ê§�ê§�ê§¢�ꧦ�ꧨ�ê§±�ê§¼�ê¨�ê¨�ꨪ�ê©�ê©�ê©�ê©�ê©¢�꩸�ꩼ�ꩼ�êª�ꪱ�ꪳ�ꪳ�ꪷ�ꪸ�ꪻ�꪿�ê«�ê«�ê«�ê«�ê«�ê«�ê«¢�ꫬ�ê«´�ê«¶�ê¬�ê¬�ê¬�ê¬�ê¬�ê¬�ꬢ�ꬨ�ꬪ�ꬰ�ꬲ�ê�ê�ê§�ê²�ꯤ�ê°�í¥�í²�í�í�í½�ï¤�﩯�全�ï«�ï¬�ï¬�ï¬�ï¬�ï¬�ï¬�ﬡ�שׁ�שּׁ�טּ�ךּ�מּ�ï�ï�ï�ï�ï
�ï�ï�﮳�ï¯�ï´¿�ïµ�ï¶�ï¶�ï·�ï·²�ï·½�ï¹²�ï¹¶�ﹸ�﻾�ï¼£�ï¼¼�ï½�ï½�ィ�ï¿�ï¿�ï¿�ï¿�ï¿�ï¿�ï¿�ï¿�ï¿���\r���(�*�<�>�?�A�O�R�_�Â�ü�Å�Ŷ�Ê�Ê�Ê¢�Ë�Ì�Ì¡�̲�Í�Í�Í·�Î�Î�΢�Ï
�Ï�Ï�Ï�Ï�Ð�Ò�Ò²�Ó�Ó�Ó½�Ô�Ô©�Ô²�Õ¥�Ø�ܸ�Ý�Ý�Ý¢�Ý©�à �à �à �à �à �à ·�à ¹�à º�à ¾�à ¾�à¡�à¡�à¡¢�ࡸ�à¢�ࢠ�࣢�ࣴ�ࣶ�ࣷ�à¤�à¤�ढ�ऻ�à¦�হ�à§�à§�à¨�à¨�à¨�à¨�à¨�à¨�à¨�ਵ�à©¢�੾�àª�àª�à«�à«�à«�૦�à¬�ଷ�à�à�à¢�à´�à®�à®�à°�à±�à²�಴�à³�à³´�á
�á¹�á
�á±�á�áª�á
�á¨�á
�á
´�á
¸�á
¸�á
�á´�á�á�á�á�á�á�á�á�á�á�á�á�á�á�á�á�á�á�á¡�áª�á²�á �á�á�á�á�á�áª�á¬�á²�á´�áµ�á·�á»�á¿�á¿�á�á�á�á£�á�á¶�á�á�á�á±�á�á�á�á�á�á°�á�á�á�á±�á�á�á�á¬�á�á�ᢢ�ᣡ�á¤�á¤�á«�᫺�á°�á°�á°�á°°�á±�á±�á±´�á²�â�â�â�â°�â�â
�ã�ã°�ä�ä�æ �樺�æ©�æ© �æ«�櫯�æ¬�欱�æ�æ
�æ¥�æ¹�æ¿�æ®�æ¼�æ½�æ½�æ½�æ¾�澡�æ¿¢�æ¿¢�ç�è®�è �è«´�ë�ë�ë°�뱬�ë±²�ë±¾�ë²�ë²�ë²�ë²�í�í�í�í�í �í¡�í¤�í¤�í§�í¨�í«�í®�í°�í»�í½�í½�í¿�í
�í�í�í�í�í�í�í�í�í �í»�í½�í�í�í�í�í',l._seri
2alizedATNSegment1="�í�í�í�í§�íª�í�í�í�í�í¼�í¾�í�í�í¶�í¸�í�í�í°�í²�í�í�íª�í¬�í�í�í�î �î£�î¤�î¥
�î¸�î¸
�î¸����������������î¹�î¹�î¹�î¹�î¹�î¹�î¹�î¹�î¹�î¹�î¹�î¹�î¹�î¹�î¹�î¹�î¹�î¹�î¹�î¹�î¹�î¹���î¹£������î¹®�î¹´�î¹¶�î¹¹�î¹»�î¹¾�îº�îº�îº�îº�îº�îº�����îº����ê�ê�ë¶�ë�ë �ë ¢�캣�ï �ï¨�1�������������������\t�����\v����������������������������\t�����\v�����\r%�����'�����)�������1�����1�����������1�����������,���\b�������#���\n����� ��\b����\r���������\"���� ����� !����!#����\" ����#$\b���$\f����%&\t���&�����'(\t���(�����)-�)��*,\v���+*����,/����-.����-+����.0����/-����01�)��1������� -����",l._serializedATN=a.join([l._serializedATNSegment0,l._serializedATNSegment1],"")},393:function(t,e,r){"use strict";var n=this&&this.__decorate||function(t,e,r,n){var o,i=arguments.length,s=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(s=(i<3?o(s):i>3?o(e,r,s):o(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s};Object.defineProperty(e,"__esModule",{value:!0}),e.XPathLexerErrorListener=void 0;const o=r(8042);class i{syntaxError(t,e,r,n,o,i){}}n([o.Override],i.prototype,"syntaxError",null),e.XPathLexerErrorListener=i},8386:function(t,e,r){"use strict";var n=this&&this.__decorate||function(t,e,r,n){var o,i=arguments.length,s=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(s=(i<3?o(s):i>3?o(e,r,s):o(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s};Object.defineProperty(e,"__esModule",{value:!0}),e.XPathRuleAnywhereElement=void 0;const o=r(8042),i=r(5194),s=r(1298);class a extends s.XPathElement{constructor(t,e){super(t),this.ruleIndex=e}evaluate(t){return i.Trees.findAllRuleNodes(t,this.ruleIndex)}}n([o.Override],a.prototype,"evaluate",null),e.XPathRuleAnywhereElement=a},4703:function(t,e,r){"use strict";var n=this&&this.__decorate||function(t,e,r,n){var o,i=arguments.length,s=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(s=(i<3?o(s):i>3?o(e,r,s):o(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s};Object.defineProperty(e,"__esModule",{value:!0}),e.XPathRuleElement=void 0;const o=r(3208),i=r(8042),s=r(5194),a=r(1298);class l extends a.XPathElement{constructor(t,e){super(t),this.ruleIndex=e}evaluate(t){let e=[];for(let r of s.Trees.getChildren(t))r instanceof o.ParserRuleContext&&(r.ruleIndex===this.ruleIndex&&!this.invert||r.ruleIndex!==this.ruleIndex&&this.invert)&&e.push(r);return e}}n([i.Override],l.prototype,"evaluate",null),e.XPathRuleElement=l},8576:function(t,e,r){"use strict";var n=this&&this.__decorate||function(t,e,r,n){var o,i=arguments.length,s=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(s=(i<3?o(s):i>3?o(e,r,s):o(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s};Object.defineProperty(e,"__esModule",{value:!0}),e.XPathTokenAnywhereElement=void 0;const o=r(8042),i=r(5194),s=r(1298);class a extends s.XPathElement{constructor(t,e){super(t),this.tokenType=e}evaluate(t){return i.Trees.findAllTokenNodes(t,this.tokenType)}}n([o.Override],a.prototype,"evaluate",null),e.XPathTokenAnywhereElement=a},4559:function(t,e,r){"use strict";var n=this&&this.__decorate||function(t,e,r,n){var o,i=arguments.length,s=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(s=(i<3?o(s):i>3?o(e,r,s):o(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s};
2Object.defineProperty(e,"__esModule",{value:!0}),e.XPathTokenElement=void 0;const o=r(8042),i=r(8011),s=r(5194),a=r(1298);class l extends a.XPathElement{constructor(t,e){super(t),this.tokenType=e}evaluate(t){let e=[];for(let r of s.Trees.getChildren(t))r instanceof i.TerminalNode&&(r.symbol.type===this.tokenType&&!this.invert||r.symbol.type!==this.tokenType&&this.invert)&&e.push(r);return e}}n([o.Override],l.prototype,"evaluate",null),e.XPathTokenElement=l},7636:function(t,e,r){"use strict";var n=this&&this.__decorate||function(t,e,r,n){var o,i=arguments.length,s=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(s=(i<3?o(s):i>3?o(e,r,s):o(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s};Object.defineProperty(e,"__esModule",{value:!0}),e.XPathWildcardAnywhereElement=void 0;const o=r(8042),i=r(5194),s=r(1310),a=r(1298);class l extends a.XPathElement{constructor(){super(s.XPath.WILDCARD)}evaluate(t){return this.invert?[]:i.Trees.getDescendants(t)}}n([o.Override],l.prototype,"evaluate",null),e.XPathWildcardAnywhereElement=l},881:function(t,e,r){"use strict";var n=this&&this.__decorate||function(t,e,r,n){var o,i=arguments.length,s=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(s=(i<3?o(s):i>3?o(e,r,s):o(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s};Object.defineProperty(e,"__esModule",{value:!0}),e.XPathWildcardElement=void 0;const o=r(8042),i=r(5194),s=r(1310),a=r(1298);class l extends a.XPathElement{constructor(){super(s.XPath.WILDCARD)}evaluate(t){let e=[];
2if(this.invert)return e;for(let r of i.Trees.getChildren(t))e.push(r);return e}}n([o.Override],l.prototype,"evaluate",null),e.XPathWildcardElement=l},9282:function(t,e,r){"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var o,i,s=r(2136).codes,a=s.ERR_AMBIGUOUS_ARGUMENT,l=s.ERR_INVALID_ARG_TYPE,c=s.ERR_INVALID_ARG_VALUE,u=s.ERR_INVALID_RETURN_VALUE,p=s.ERR_MISSING_ARGS,h=r(5961),f=r(9539).inspect,d=r(9539).types,y=d.isPromise,g=d.isRegExp,m=Object.assign?Object.assign:r(8091).assign,_=Object.is?Object.is:r(609);new Map;function v(){var t=r(9158);o=t.isDeepEqual,i=t.isDeepStrictEqual}var S=!1,O=t.exports=T,N={};function b(t){if(t.message instanceof Error)throw t.message;throw new h(t)}function x(t,e,r,n){if(!r){var o=!1;if(0===e)o=!0,n="No value argument passed to `assert.ok()`";else if(n instanceof Error)throw n;var i=new h({actual:r,expected:!0,message:n,operator:"==",stackStartFn:t});throw i.generatedMessage=o,i}}function T(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];x.apply(void 0,[T,e.length].concat(e))}O.fail=function t(e,r,n,o,i){var s,a=arguments.length;if(0===a)s="Failed";else if(1===a)n=e,e=void 0;else{if(!1===S)S=!0,(process.emitWarning?process.emitWarning:console.warn.bind(console))("assert.fail() with more than one argument is deprecated. Please use assert.strictEqual() instead or only pass a message.","DeprecationWarning","DEP0094");2===a&&(o="!=")}if(n instanceof Error)throw n;var l={actual:e,expected:r,operator:void 0===o?"fail":o,stackStartFn:i||t};void 0!==n&&(l.message=n);var c=new h(l);throw s&&(c.message=s,c.generatedMessage=!0),c},O.AssertionError=h,O.ok=T,O.equal=function t(e,r,n){if(arguments.length<2)throw new p("actual","expected");e!=r&&b({actual:e,expected:r,message:n,operator:"==",stackStartFn:t})},O.notEqual=function t(e,r,n){if(arguments.length<2)throw new p("actual","expected");e==r&&b({actual:e,expected:r,message:n,operator:"!=",stackStartFn:t})},O.deepEqual=function t(e,r,n){if(arguments.length<2)throw new p("actual","expected");void 0===o&&v(),o(e,r)||b({actual:e,expected:r,message:n,operator:"deepEqual",stackStartFn:t})},O.notDeepEqual=function t(e,r,n){if(arguments.length<2)throw new p("actual","expected");void 0===o&&v(),o(e,r)&&b({actual:e,expected:r,message:n,operator:"notDeepEqual",stackStartFn:t})},O.deepStrictEqual=function t(e,r,n){if(arguments.length<2)throw new p("actual","expected");void 0===o&&v(),i(e,r)||b({actual:e,expected:r,message:n,operator:"deepStrictEqual",stackStartFn:t})},O.notDeepStrictEqual=function t(e,r,n){if(arguments.length<2)throw new p("actual","expected");void 0===o&&v();i(e,r)&&b({actual:e,expected:r,message:n,operator:"notDeepStrictEqual",stackStartFn:t})},O.strictEqual=function t(e,r,n){if(arguments.length<2)throw new p("actual","expected");_(e,r)||b({actual:e,expected:r,message:n,operator:"strictEqual",stackStartFn:t})},O.notStrictEqual=function t(e,r,n){if(arguments.length<2)throw new p("actual","expected");_(e,r)&&b({actual:e,expected:r,message:n,operator:"notStrictEqual",stackStartFn:t})};var E=function t(e,r,n){var o=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),r.forEach((function(t){t in e&&(void 0!==n&&"string"==typeof n[t]&&g(e[t])&&e[t].test(n[t])?o[t]=n[t]:o[t]=e[t])}))};function A(t,e,r,s){if("function"!=typeof e){if(g(e))return e.test(t);if(2===arguments.length)throw new l("expected",["Function","RegExp"],e);if("object"!==n(t)||null===t){var a=new h({actual:t,expected:e,message:r,operator:"deepStrictEqual",stackStartFn:s});throw a.operator=s.name,a}var u=Object.keys(e);if(e instanceof Error)u.push("name","message");else if(0===u.length)throw new c("error",e,"may not be an empty object");return void 0===o&&v(),u.forEach((function(n){"string"==typeof t[n]&&g(e[n])&&e[n].test(t[n])||function(t,e,r,n,o,s){if(!(r in t)||!i(t[r],e[r])){if(!n){var a=new E(t,o),l=new E(e,o,t),c=new h({actual:a,expected:l,operator:"deepStrictEqual",stackStartFn:s});throw c.actual=t,c.expected=e,c.operator=s.name,c}b({actual:t,expected:e,message:n,operator:s.name,stackStartFn:s})}}(t,e,n,r,u,s)}
vendor: 4,626 bytes, line 2
2)),!0}return void 0!==e.prototype&&t instanceof e||!Error.isPrototypeOf(e)&&!0===e.call({},t)}function C(t){if("function"!=typeof t)throw new l("fn","Function",t);try{t()}catch(e){return e}return N}function P(t){return y(t)||null!==t&&"object"===n(t)&&"function"==typeof t.then&&"function"==typeof t.catch}function I(t){return Promise.resolve().then((function(){var e;if("function"==typeof t){if(!P(e=t()))throw new u("instance of Promise","promiseFn",e)}else{if(!P(t))throw new l("promiseFn",["Function","Promise"],t);e=t}return Promise.resolve().then((function(){return e})).then((function(){return N})).catch((function(t){return t}))}))}function R(t,e,r,o){if("string"==typeof r){if(4===arguments.length)throw new l("error",["Object","Error","Function","RegExp"],r);if("object"===n(e)&&null!==e){if(e.message===r)throw new a("error/message",'The error message "'.concat(e.message,'" is identical to the message.'))}else if(e===r)throw new a("error/message",'The error "'.concat(e,'" is identical to the message.'));o=r,r=void 0}else if(null!=r&&"object"!==n(r)&&"function"!=typeof r)throw new l("error",["Object","Error","Function","RegExp"],r);if(e===N){var i="";r&&r.name&&(i+=" (".concat(r.name,")")),i+=o?": ".concat(o):".";var s="rejects"===t.name?"rejection":"exception";b({actual:void 0,expected:r,operator:t.name,message:"Missing expected ".concat(s).concat(i),stackStartFn:t})}if(r&&!A(e,r,o,t))throw e}function w(t,e,r,n){if(e!==N){if("string"==typeof r&&(n=r,r=void 0),!r||A(e,r)){var o=n?": ".concat(n):".",i="doesNotReject"===t.name?"rejection":"exception";b({actual:e,expected:r,operator:t.name,message:"Got unwanted ".concat(i).concat(o,"\n")+'Actual message: "'.concat(e&&e.message,'"'),stackStartFn:t})}throw e}}function k(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];x.apply(void 0,[k,e.length].concat(e))}O.throws=function t(e){for(var r=arguments.length,n=new Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];R.apply(void 0,[t,C(e)].concat(n))},O.rejects=function t(e){for(var r=arguments.length,n=new Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];return I(e).then((function(e){return R.apply(void 0,[t,e].concat(n))}))},O.doesNotThrow=function t(e){for(var r=arguments.length,n=new Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];w.apply(void 0,[t,C(e)].concat(n))},O.doesNotReject=function t(e){for(var r=arguments.length,n=new Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];return I(e).then((function(e){return w.apply(void 0,[t,e].concat(n))}))},O.ifError=function t(e){if(null!=e){var r="ifError got unwanted exception: ";"object"===n(e)&&"string"==typeof e.message?0===e.message.length&&e.constructor?r+=e.constructor.name:r+=e.message:r+=f(e);var o=new h({actual:e,expected:null,operator:"ifError",message:r,stackStartFn:t}),i=e.stack;if("string"==typeof i){var s=i.split("\n");s.shift();for(var a=o.stack.split("\n"),l=0;l<s.length;l++){var c=a.indexOf(s[l]);if(-1!==c){a=a.slice(0,c);break}}o.stack="".concat(a.join("\n"),"\n").concat(s.join("\n"))}throw o}},O.strict=m(k,O,{equal:O.strictEqual,deepEqual:O.deepStrictEqual,notEqual:O.notStrictEqual,notDeepEqual:O.notDeepStrictEqual}),O.strict.strict=O.strict},5961:function(t,e,r){"use strict";function n(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function o(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function i(t,e){return!e||"object"!==p(e)&&"function"!=typeof e?s(t):e}function s(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function a(t){var e="function"==typeof Map?new Map:void 0;return a=function(t){if(null===t||(r=t,-1===Function.toString.call(r).indexOf("[native code]")))return t;var r;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,n)}function n(){return l(t,arguments,u(this).constructor)}return n.prototype=Object.create(t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),c(n,t)},a(t)}function l(t,e,r){return l=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}()?Reflect.construct:function(t,e,r){var n=[null];n.push.apply(n,e);var o=new(Function.bind.apply(t,n));return r&&c(o,r.prototype),o},l.apply(null,arguments)}
vendor: 2,868 bytes, line 2
2function c(t,e){return c=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},c(t,e)}function u(t){return u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},u(t)}function p(t){return p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},p(t)}var h=r(9539).inspect,f=r(2136).codes.ERR_INVALID_ARG_TYPE;function d(t,e,r){return(void 0===r||r>t.length)&&(r=t.length),t.substring(r-e.length,r)===e}var y="",g="",m="",_="",v={deepStrictEqual:"Expected values to be strictly deep-equal:",strictEqual:"Expected values to be strictly equal:",strictEqualObject:'Expected "actual" to be reference-equal to "expected":',deepEqual:"Expected values to be loosely deep-equal:",equal:"Expected values to be loosely equal:",notDeepStrictEqual:'Expected "actual" not to be strictly deep-equal to:',notStrictEqual:'Expected "actual" to be strictly unequal to:',notStrictEqualObject:'Expected "actual" not to be reference-equal to "expected":',notDeepEqual:'Expected "actual" not to be loosely deep-equal to:',notEqual:'Expected "actual" to be loosely unequal to:',notIdentical:"Values identical but not reference-equal:"};function S(t){var e=Object.keys(t),r=Object.create(Object.getPrototypeOf(t));return e.forEach((function(e){r[e]=t[e]})),Object.defineProperty(r,"message",{value:t.message}),r}function O(t){return h(t,{compact:!1,customInspect:!1,depth:1e3,maxArrayLength:1/0,showHidden:!1,breakLength:1/0,showProxy:!1,sorted:!0,getters:!0})}function N(t,e,r){var n="",o="",i=0,s="",a=!1,l=O(t),c=l.split("\n"),u=O(e).split("\n"),h=0,f="";if("strictEqual"===r&&"object"===p(t)&&"object"===p(e)&&null!==t&&null!==e&&(r="strictEqualObject"),1===c.length&&1===u.length&&c[0]!==u[0]){var S=c[0].length+u[0].length;if(S<=10){if(!("object"===p(t)&&null!==t||"object"===p(e)&&null!==e||0===t&&0===e))return"".concat(v[r],"\n\n")+"".concat(c[0]," !== ").concat(u[0],"\n")}else if("strictEqualObject"!==r){if(S<(process.stderr&&process.stderr.isTTY?process.stderr.columns:80)){for(;c[0][h]===u[0][h];)h++;h>2&&(f="\n ".concat(function(t,e){if(e=Math.floor(e),0==t.length||0==e)return"";var r=t.length*e;for(e=Math.floor(Math.log(e)/Math.log(2));e;)t+=t,e--;return t+t.substring(0,r-t.length)}(" ",h),"^"),h=0)}}}for(var N=c[c.length-1],b=u[u.length-1];N===b&&(h++<2?s="\n ".concat(N).concat(s):n=N,c.pop(),u.pop(),0!==c.length&&0!==u.length);)N=c[c.length-1],b=u[u.length-1];var x=Math.max(c.length,u.length);if(0===x){var T=l.split("\n");if(T.length>30)for(T[26]="".concat(y,"...").concat(_);T.length>27;)T.pop();return"".concat(v.notIdentical,"\n\n").concat(T.join("\n"),"\n")}h>3&&(s="\n".concat(y,"...").concat(_).concat(s),a=!0),""!==n&&(s="\n ".concat(n).concat(s),n="");
vendor: 2,823 bytes, line 2
2var E=0,A=v[r]+"\n".concat(g,"+ actual").concat(_," ").concat(m,"- expected").concat(_),C=" ".concat(y,"...").concat(_," Lines skipped");for(h=0;h<x;h++){var P=h-i;if(c.length<h+1)P>1&&h>2&&(P>4?(o+="\n".concat(y,"...").concat(_),a=!0):P>3&&(o+="\n ".concat(u[h-2]),E++),o+="\n ".concat(u[h-1]),E++),i=h,n+="\n".concat(m,"-").concat(_," ").concat(u[h]),E++;else if(u.length<h+1)P>1&&h>2&&(P>4?(o+="\n".concat(y,"...").concat(_),a=!0):P>3&&(o+="\n ".concat(c[h-2]),E++),o+="\n ".concat(c[h-1]),E++),i=h,o+="\n".concat(g,"+").concat(_," ").concat(c[h]),E++;else{var I=u[h],R=c[h],w=R!==I&&(!d(R,",")||R.slice(0,-1)!==I);w&&d(I,",")&&I.slice(0,-1)===R&&(w=!1,R+=","),w?(P>1&&h>2&&(P>4?(o+="\n".concat(y,"...").concat(_),a=!0):P>3&&(o+="\n ".concat(c[h-2]),E++),o+="\n ".concat(c[h-1]),E++),i=h,o+="\n".concat(g,"+").concat(_," ").concat(R),n+="\n".concat(m,"-").concat(_," ").concat(I),E+=2):(o+=n,n="",1!==P&&0!==h||(o+="\n ".concat(R),E++))}if(E>20&&h<x-2)return"".concat(A).concat(C,"\n").concat(o,"\n").concat(y,"...").concat(_).concat(n,"\n")+"".concat(y,"...").concat(_)}return"".concat(A).concat(a?C:"","\n").concat(o).concat(n).concat(s).concat(f)}var b=function(t){function e(t){var r;if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),"object"!==p(t)||null===t)throw new f("options","Object",t);var n=t.message,o=t.operator,a=t.stackStartFn,l=t.actual,c=t.expected,h=Error.stackTraceLimit;if(Error.stackTraceLimit=0,null!=n)r=i(this,u(e).call(this,String(n)));else if(process.stderr&&process.stderr.isTTY&&(process.stderr&&process.stderr.getColorDepth&&1!==process.stderr.getColorDepth()?(y="�[34m",g="�[32m",_="�[39m",m="�[31m"):(y="",g="",_="",m="")),"object"===p(l)&&null!==l&&"object"===p(c)&&null!==c&&"stack"in l&&l instanceof Error&&"stack"in c&&c instanceof Error&&(l=S(l),c=S(c)),"deepStrictEqual"===o||"strictEqual"===o)r=i(this,u(e).call(this,N(l,c,o)));else if("notDeepStrictEqual"===o||"notStrictEqual"===o){var d=v[o],b=O(l).split("\n");if("notStrictEqual"===o&&"object"===p(l)&&null!==l&&(d=v.notStrictEqualObject),b.length>30)for(b[26]="".concat(y,"...").concat(_);b.length>27;)b.pop();r=1===b.length?i(this,u(e).call(this,"".concat(d," ").concat(b[0]))):i(this,u(e).call(this,"".concat(d,"\n\n").concat(b.join("\n"),"\n")))}else{var x=O(l),T="",E=v[o];"notDeepEqual"===o||"notEqual"===o?(x="".concat(v[o],"\n\n").concat(x)).length>1024&&(x="".concat(x.slice(0,1021),"...")):(T="".concat(O(c)),x.length>512&&(x="".concat(x.slice(0,509),"...")),T.length>512&&(T="".concat(T.slice(0,509),"...")),"deepEqual"===o||"equal"===o?x="".concat(E,"\n\n").concat(x,"\n\nshould equal\n\n"):T=" ".concat(o," ").concat(T)),r=i(this,u(e).call(this,"".concat(x).concat(T)))}return Error.stackTraceLimit=h,r.generatedMessage=!n,Object.defineProperty(s(r),"n
2ame",{value:"AssertionError [ERR_ASSERTION]",enumerable:!1,writable:!0,configurable:!0}),r.code="ERR_ASSERTION",r.actual=l,r.expected=c,r.operator=o,Error.captureStackTrace&&Error.captureStackTrace(s(r),a),r.stack,r.name="AssertionError",i(r)}var r,a,l;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&c(t,e)}(e,t),r=e,a=[{key:"toString",value:function(){return"".concat(this.name," [").concat(this.code,"]: ").concat(this.message)}},{key:h.custom,value:function(t,e){return h(this,function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{},o=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(r).filter((function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable})))),o.forEach((function(e){n(t,e,r[e])}))}return t}({},e,{customInspect:!1,depth:0}))}}],a&&o(r.prototype,a),l&&o(r,l),e}(a(Error));t.exports=b},2136:function(t,e,r){"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}function o(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function i(t){return i=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},i(t)}
2function s(t,e){return s=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},s(t,e)}var a,l,c={};function u(t,e,r){r||(r=Error);var n=function(r){function n(r,s,a){var l;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,n),l=o(this,i(n).call(this,function(t,r,n){return"string"==typeof e?e:e(t,r,n)}(r,s,a))),l.code=t,l}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&s(t,e)}(n,r),n}(r);c[t]=n}function p(t,e){if(Array.isArray(t)){var r=t.length;return t=t.map((function(t){return String(t)})),r>2?"one of ".concat(e," ").concat(t.slice(0,r-1).join(", "),", or ")+t[r-1]:2===r?"one of ".concat(e," ").concat(t[0]," or ").concat(t[1]):"of ".concat(e," ").concat(t[0])}return"of ".concat(e," ").concat(String(t))}u("ERR_AMBIGUOUS_ARGUMENT",'The "%s" argument is ambiguous. %s',TypeError),u("ERR_INVALID_ARG_TYPE",(function(t,e,o){var i,s,l,c;if(void 0===a&&(a=r(9282)),a("string"==typeof t,"'name' must be a string"),"string"==typeof e&&(s="not ",e.substr(!l||l<0?0:+l,s.length)===s)?(i="must not be",e=e.replace(/^not /,"")):i="must be",function(t,e,r){return(void 0===r||r>t.length)&&(r=t.length),t.substring(r-e.length,r)===e}(t," argument"))c="The ".concat(t," ").concat(i," ").concat(p(e,"type"));else{var u=function(t,e,r){return"number"!=typeof r&&(r=0),!(r+e.length>t.length)&&-1!==t.indexOf(e,r)}(t,".")?"property":"argument";c='The "'.concat(t,'" ').concat(u," ").concat(i," ").concat(p(e,"type"))}return c+=". Received type ".concat(n(o))}),TypeError),u("ERR_INVALID_ARG_VALUE",(function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"is invalid";void 0===l&&(l=r(9539));var o=l.inspect(e);return o.length>128&&(o="".concat(o.slice(0,128),"...")),"The argument '".concat(t,"' ").concat(n,". Received ").concat(o)}),TypeError,RangeError),u("ERR_INVALID_RETURN_VALUE",(function(t,e,r){var o;return o=r&&r.constructor&&r.constructor.name?"instance of ".concat(r.constructor.name):"type ".concat(n(r)),"Expected ".concat(t,' to be returned from the "').concat(e,'"')+" function but got ".concat(o,".")}),TypeError),u("ERR_MISSING_ARGS",(function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];void 0===a&&(a=r(9282)),a(e.length>0,"At least one arg needs to be specified");var o="The ",i=e.length;switch(e=e.map((function(t){return'"'.concat(t,'"')})),i){case 1:o+="".concat(e[0]," argument");break;case 2:o+="".concat(e[0]," and ").concat(e[1]," arguments");break;default:o+=e.slice(0,i-1).join(", "),o+=", and ".concat(e[i-1]," arguments")}return"".concat(o," must be specified")}
2),TypeError),t.exports.codes=c},9158:function(t,e,r){"use strict";function n(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=[],n=!0,o=!1,i=void 0;try{for(var s,a=t[Symbol.iterator]();!(n=(s=a.next()).done)&&(r.push(s.value),!e||r.length!==e);n=!0);}catch(l){o=!0,i=l}finally{try{n||null==a.return||a.return()}finally{if(o)throw i}}return r}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function o(t){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}var i=void 0!==/a/g.flags,s=function(t){var e=[];return t.forEach((function(t){return e.push(t)})),e},a=function(t){var e=[];return t.forEach((function(t,r){return e.push([r,t])})),e},l=Object.is?Object.is:r(609),c=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols:function(){return[]},u=Number.isNaN?Number.isNaN:r(360);function p(t){return t.call.bind(t)}var h=p(Object.prototype.hasOwnProperty),f=p(Object.prototype.propertyIsEnumerable),d=p(Object.prototype.toString),y=r(9539).types,g=y.isAnyArrayBuffer,m=y.isArrayBufferView,_=y.isDate,v=y.isMap,S=y.isRegExp,O
vendor: 4,459 bytes, line 2
2=y.isSet,N=y.isNativeError,b=y.isBoxedPrimitive,x=y.isNumberObject,T=y.isStringObject,E=y.isBooleanObject,A=y.isBigIntObject,C=y.isSymbolObject,P=y.isFloat32Array,I=y.isFloat64Array;function R(t){if(0===t.length||t.length>10)return!0;for(var e=0;e<t.length;e++){var r=t.charCodeAt(e);if(r<48||r>57)return!0}return 10===t.length&&t>=Math.pow(2,32)}function w(t){return Object.keys(t).filter(R).concat(c(t).filter(Object.prototype.propertyIsEnumerable.bind(t)))}function k(t,e){if(t===e)return 0;for(var r=t.length,n=e.length,o=0,i=Math.min(r,n);o<i;++o)if(t[o]!==e[o]){r=t[o],n=e[o];break}return r<n?-1:n<r?1:0}var L=0,j=1,D=2,M=3;function F(t,e,r,n){if(t===e)return 0!==t||(!r||l(t,e));if(r){if("object"!==o(t))return"number"==typeof t&&u(t)&&u(e);if("object"!==o(e)||null===t||null===e)return!1;if(Object.getPrototypeOf(t)!==Object.getPrototypeOf(e))return!1}else{if(null===t||"object"!==o(t))return(null===e||"object"!==o(e))&&t==e;if(null===e||"object"!==o(e))return!1}var s,a,c,p,h=d(t);if(h!==d(e))return!1;if(Array.isArray(t)){if(t.length!==e.length)return!1;var f=w(t),y=w(e);return f.length===y.length&&U(t,e,r,n,j,f)}if("[object Object]"===h&&(!v(t)&&v(e)||!O(t)&&O(e)))return!1;if(_(t)){if(!_(e)||Date.prototype.getTime.call(t)!==Date.prototype.getTime.call(e))return!1}else if(S(t)){if(!S(e)||(c=t,p=e,!(i?c.source===p.source&&c.flags===p.flags:RegExp.prototype.toString.call(c)===RegExp.prototype.toString.call(p))))return!1}else if(N(t)||t instanceof Error){if(t.message!==e.message||t.name!==e.name)return!1}else{if(m(t)){if(r||!P(t)&&!I(t)){if(!function(t,e){return t.byteLength===e.byteLength&&0===k(new Uint8Array(t.buffer,t.byteOffset,t.byteLength),new Uint8Array(e.buffer,e.byteOffset,e.byteLength))}(t,e))return!1}else if(!function(t,e){if(t.byteLength!==e.byteLength)return!1;for(var r=0;r<t.byteLength;r++)if(t[r]!==e[r])return!1;return!0}(t,e))return!1;var R=w(t),F=w(e);return R.length===F.length&&U(t,e,r,n,L,R)}if(O(t))return!(!O(e)||t.size!==e.size)&&U(t,e,r,n,D);if(v(t))return!(!v(e)||t.size!==e.size)&&U(t,e,r,n,M);if(g(t)){if(a=e,(s=t).byteLength!==a.byteLength||0!==k(new Uint8Array(s),new Uint8Array(a)))return!1}else if(b(t)&&!function(t,e){return x(t)?x(e)&&l(Number.prototype.valueOf.call(t),Number.prototype.valueOf.call(e)):T(t)?T(e)&&String.prototype.valueOf.call(t)===String.prototype.valueOf.call(e):E(t)?E(e)&&Boolean.prototype.valueOf.call(t)===Boolean.prototype.valueOf.call(e):A(t)?A(e)&&BigInt.prototype.valueOf.call(t)===BigInt.prototype.valueOf.call(e):C(e)&&Symbol.prototype.valueOf.call(t)===Symbol.prototype.valueOf.call(e)}(t,e))return!1}return U(t,e,r,n,L)}function z(t,e){return e.filter((function(e){return f(t,e)}))}function U(t,e,r,i,l,u){if(5===arguments.length){u=Object.keys(t);var p=Object.keys(e);if(u.length!==p.length)return!1}for(var d=0;d<u.length;d++)if(!h(e,u[d]))return!1;if(r&&5===arguments.length){var y=c(t);if(0!==y.length){var g=0;for(d=0;d<y.length;d++){var m=y[d];if(f(t,m)){if(!f(e,m))return!1;u.push(m),g++}else if(f(e,m))return!1}var _=c(e);if(y.length!==_.length&&z(e,_).length!==g)return!1}else{var v=c(e);if(0!==v.length&&0!==z(e,v).length)return!1}}if(0===u.length&&(l===L||l===j&&0===t.length||0===t.size))return!0;if(void 0===i)i={val1:new Map,val2:new Map,position:0};else{var S=i.val1.get(t);if(void 0!==S){var O=i.val2.get(e);if(void 0!==O)return S===O}i.position++}i.val1.set(t,i.position),i.val2.set(e,i.position);var N=function(t,e,r,i,l,c){var u=0;if(c===D){if(!function(t,e,r,n){for(var i=null,a=s(t),l=0;l<a.length;l++){var c=a[l];if("object"===o(c)&&null!==c)null===i&&(i=new Set),i.add(c);else if(!e.has(c)){if(r)return!1;if(!H(t,e,c))return!1;null===i&&(i=new Set),i.add(c)}}if(null!==i){for(var u=s(e),p=0;p<u.length;p++){var h=u[p];if("object"===o(h)&&null!==h){if(!B(i,h,r,n))return!1}else if(!r&&!t.has(h)&&!B(i,h,r,n))return!1}return 0===i.size}return!0}(t,e,r,l))return!1}else if(c===M){if(!function(t,e,r,i){for(var s=null,l=a(t),c=0;c<l.length;c++){var u=n(l[c],2),p=u[0],h=u[1];if("object"===o(p)&&null!==p)null===s&&(s=new Set),s.add(p);else{var f=e.get(p);if(void 0===f&&!e.has(p)||!F(h,f,r,i)){if(r)return!1;if(!V(t,e,p,h,i))return!1;null===s&&(s=new Set),s.add(p)}}}if(null!==s){for(var d=a(e),y=0;y<d.length;y++){var g=n(d[y],2),m=(p=g[0],g[1]);if("object"===o(p)&&null!==p){if(!Y(s,t,p,m,r,i))return!1}else if(!(r||t.has(p)&&F(t.get(p),m,!1,i)||Y(s,t,p,m,!1,i)))return!1}return 0===s.size}return!0}(t,e,r,l))return!1}else if(c===j)for(;u<t.length;
2u++){if(!h(t,u)){if(h(e,u))return!1;for(var p=Object.keys(t);u<p.length;u++){var f=p[u];if(!h(e,f)||!F(t[f],e[f],r,l))return!1}return p.length===Object.keys(e).length}if(!h(e,u)||!F(t[u],e[u],r,l))return!1}for(u=0;u<i.length;u++){var d=i[u];if(!F(t[d],e[d],r,l))return!1}return!0}(t,e,r,u,i,l);return i.val1.delete(t),i.val2.delete(e),N}function B(t,e,r,n){for(var o=s(t),i=0;i<o.length;i++){var a=o[i];if(F(e,a,r,n))return t.delete(a),!0}return!1}function q(t){switch(o(t)){case"undefined":return null;case"object":return;case"symbol":return!1;case"string":t=+t;case"number":if(u(t))return!1}return!0}function H(t,e,r){var n=q(r);return null!=n?n:e.has(n)&&!t.has(n)}function V(t,e,r,n,o){var i=q(r);if(null!=i)return i;var s=e.get(i);return!(void 0===s&&!e.has(i)||!F(n,s,!1,o))&&(!t.has(i)&&F(n,s,!1,o))}function Y(t,e,r,n,o,i){for(var a=s(t),l=0;l<a.length;l++){var c=a[l];if(F(r,c,o,i)&&F(n,e.get(c),o,i))return t.delete(c),!0}return!1}t.exports={isDeepEqual:function(t,e){return F(t,e,false)},isDeepStrictEqual:function(t,e){return F(t,e,true)}}},1924:function(t,e,r){"use strict";var n=r(210),o=r(5559),i=o(n("String.prototype.indexOf"));t.exports=function(t,e){var r=n(t,!!e);return"function"==typeof r&&i(t,".prototype.")>-1?o(r):r}},5559:function(t,e,r){"use strict";var n=r(6161),o=r(210),i=o("%Function.prototype.apply%"),s=o("%Function.prototype.call%"),a=o("%Reflect.apply%",!0)||n.call(s,i),l=o("%Object.getOwnPropertyDescriptor%",!0),c=o("%Object.defineProperty%",!0),u=o("%Math.max%");if(c)try{c({},"a",{value:1})}catch(h){c=null}t.exports=function(t){var e=a(n,s,arguments);l&&c&&(l(e,"length").configurable&&c(e,"length",{value:1+u(0,t.length-(arguments.length-1))}));return e};var p=function(){return a(n,i,arguments)};c?c(t.exports,"apply",{value:p}):t.exports.apply=p},2801:function(t){"use strict";var e=Array.prototype.slice,r=Object.prototype.toString;t.exports=function(t){var n=this;if("function"!=typeof n||"[object Function]"!==r.call(n))throw new TypeError("Function.prototype.bind called on incompatible "+n);for(var o,i=e.call(arguments,1),s=Math.max(0,n.length-i.length),a=[],l=0;l<s;l++)a.push("$"+l);if(o=Function("binder","return function ("+a.join(",")+"){ return binder.apply(this,arguments); }")((function(){if(this instanceof o){var r=n.apply(this,i.concat(e.call(arguments)));return Object(r)===r?r:this}return n.apply(t,i.concat(e.call(arguments)))})),n.prototype){var c=function(){};c.prototype=n.prototype,o.prototype=new c,c.prototype=null}return o}},6161:function(t,e,r){"use strict";var n=r(2801);t.exports=Function.prototype.bind||n},4289:function(t,e,r){"use strict";var n=r(2215),o="function"==typeof Symbol&&"symbol"==typeof Symbol("foo"),i=Object.prototype.toString,s=Array.prototype.concat,a=Object.defineProperty,l=r(1044)(),c=a&&l,u=function(t,e,r,n){if(e in t)if(!0===n){if(t[e]===r)return}else if("function"!=typeof(o=n)||"[object Function]"!==i.call(o)||!n())return;var o;c?a(t,e,{configurable:!0,enumerable:!1,value:r,writable:!0}):t[e]=r},p=function(t,e){var r=arguments.length>2?arguments[2]:{},i=n(e);o&&(i=s.call(i,Object.getOwnPropertySymbols(e)));for(var a=0;a<i.length;a+=1)u(t,i[a],e[i[a]],r[i[a]])};p.supportsDescriptors=!!c,t.exports=p},8091:function(t){"use strict";function e(t,e){if(null==t)throw new TypeError("Cannot convert first argument to object");for(var r=Object(t),n=1;n<arguments.length;n++){var o=arguments[n];if(null!=o)for(var i=Object.keys(Object(o)),s=0,a=i.length;s<a;s++){var l=i[s],c=Object.getOwnPropertyDescriptor(o,l);void 0!==c&&c.enumerable&&(r[l]=o[l])}}return r}t.exports={assign:e,polyfill:function(){Object.assign||Object.defineProperty(Object,"assign",{enumerable:!1,configurable:!0,writable:!0,value:e})}}},4029:function(t,e,r){"use strict";var n=r(5320),o=Object.prototype.toString,i=Object.prototype.hasOwnProperty;t.exports=function(t,e,r){if(!n(e))throw new TypeError("iterator must be a function");var s;arguments.length>=3&&(s=r),"[object Array]"===o.call(t)?function(t,e,r){for(var n=0,o=t.length;n<o;n++)i.call(t,n)&&(null==r?e(t[n],n,t):e.call(r,t[n],n,t))}(t,e,s):"string"==typeof t?function(t,e,r){for(var n=0,o=t.length;n<o;n++)null==r?e(t.charAt(n),n,t):e.call(r,t.charAt(n),n,t)}(t,e,s):function(t,e,r){for(var n in t)i.call(t,n)&&(null==r?e(t[n],n,t):e.call(r,t[n],n,t))}(t,e,s)}},6393:function(t,e,r){"use strict";r.d(e,{Y:function(){return y},v:function(){return N}});var n=r(9119),o=r(5524),i=(0,n.nF)(n.Qf.define([{tag:o.pJ.comment,class:"text-slate-500"}
2,{tag:o.pJ.keyword,class:"text-fuchsia-700"},{tag:o.pJ.variableName,class:"text-blue-600"},{tag:o.pJ.string,class:"text-lime-600"},{tag:o.pJ.number,class:"text-violet-700"},{tag:o.pJ.operator,class:"text-orange-700"}])),s=r(1113),a=r(352),l=r(9963),c=r(9557),u=r(2178),p=r(6763),h=r(5103);class f extends c.Lexer{get vocabulary(){return f.VOCABULARY}constructor(t){super(t),this._interp=new u.LexerATNSimulator(f._ATN,this)}get grammarFileName(){return"ZephyrLexer.g4"}get ruleNames(){return f.ruleNames}get serializedATN(){return f._serializedATN}get channelNames(){return f.channelNames}get modeNames(){return f.modeNames}static get _ATN(){return f.__ATN||(f.__ATN=(new l.ATNDeserializer).deserialize(h.toCharArray(f._serializedATN))),f.__ATN}}f.CONST=1,f.LET=2,f.ASSIGN=3,f.SEMICOLON=4,f.BLOCK_COMMENT=5,f.LINE_COMMENT=6,f.NUMBER=7,f.STRING=8,f.IDENTIFIER=9,f.WHITESPACE=10,f.channelNames=["DEFAULT_TOKEN_CHANNEL","HIDDEN"],f.modeNames=["DEFAULT_MODE"],f.ruleNames=["CONST","LET","ASSIGN","SEMICOLON","BLOCK_COMMENT","LINE_COMMENT","NUMBER","STRING","IDENTIFIER","WHITESPACE"],f._LITERAL_NAMES=[void 0,"'const'","'let'","'='","';'"],f._SYMBOLIC_NAMES=[void 0,"CONST","LET","ASSIGN","SEMICOLON","BLOCK_COMMENT","LINE_COMMENT","NUMBER","STRING","IDENTIFIER","WHITESPACE"],f.VOCABULARY=new p.VocabularyImpl(f._LITERAL_NAMES,f._SYMBOLIC_NAMES,[]),f._serializedATN='�ì¤ìªºÖê¾ºä½Øîªì�\fX\b���\t���\t���\t���\t���\t���\t��\b\t\b�\t\t\t�\n\t\n�\v\t\v��������������������������������������*\n�\f���-\v���������������������8\n�\f���;\v������\b�\b@\n\b\r\b�\bA�\t�\t�\tF\n\t\f\t�\tI\v\t�\t�\t�\n�\nN\n\n\r\n�\nO�\v�\vS\n\v\r\v�\vT�\v�\v�+G��\f���������\t��\v��\r�\b��\t��\n��\v��\f�����\f\f��âªâ«��2;��C\\c|��\v\f��""�]�������������������\t�����\v�����\r�����������������������������������������!����\t#����\v%����\r3�����?�����C�����M�����R�������e�����q�����p�����u�����v�����������n�����g��� �v�� �����!"�?��"\b����#$�=��$\n����%&�1��&\'�,��\'+����(*\v���)(����*-����+,����+)����,.����-+����./�,��/0�1��01����12\b���2\f����34�1��45�1��59����68\n���76����8;����97����9:����:<����;9����<=\b���=�����>@\t���?>����@A����A?����AB����B�����CG�)��DF\v���ED����FI����GH����GE����HJ����IG����JK�)��K�����LN\t���ML����NO����OM����OP����P�����QS\t���RQ����ST����TR����TU����UV����VW\b\v��W�����\t�+9AGOT����\b��',f.__ATN=void 0;var d={[f.CONST]:"const",[f.LET]:"let",[f.SEMICOLON]:"semicolon",[f.ASSIGN]:"assign",[f.BLOCK_COMMENT]:"blockComment",[f.LINE_COMMENT]:"lineComment",[f.NUMBER]:"number",[f.STRING]:"string",[f.IDENTIFIER]:"identifier"};class y{getTokenStream(t){var e=a.CharStreams.fromString(t),r=new f(e),n=new a.CommonTokenStream(r);return n.fill(),n.getTokens()}getTokenTypeForIndex(t){return t in d?d[t]:"unknown"}}var g={document:s.Jq.define({id:0,name:"document",top:!0,props:[[n.pp,(0,n.kU)({commentTokens:{block:{open:"/*",close:"*/"},line:"//"},closeBrackets:{brackets:["'"]}})]]}),const:s.Jq.define({id:1,name:"const"}),let:s.Jq.define({id:2,name:"let"}),semicolon:s.Jq.define({id:3,name:"semicolon"}),assign:s.Jq.define({id:4,name:"assign"}),number:s.Jq.define({id:5,name:"number"}),string:s.Jq.define({id:6,name:"string"}),identifier:s.Jq.define({id:7,name:"identifier"}),unknown:s.Jq.define({id:8,name:"unknown"}),blockComment:s.Jq.define({id:9,name:"blockComment"}),lineComment:s.Jq.define({id:10,name:"lineComment"})},m=new s.Lj(Object.values(g)).extend((0,o.Gv)({const:o.pJ.keyword,let:o.pJ.keyword,assign:o.pJ.operator,number:o.pJ.number,string:o.pJ.string,identifier:o.pJ.variableName,blockComment:o.pJ.comment,lineComment:o.pJ.comment}));class _ extends s._b{constructor(){super(...arguments),this.languageServer=new y}getNodeTypeIdForTokenType(t){var e=this.languageServer.getTokenTypeForIndex(t);return g[e].id}createBufferFromTokens(t){var e=[];t.forEach((t=>{var r=this.getNodeTypeIdForTokenType(t.type),n=t.startIndex,o=t.stopIndex+1;e.push(r,n,o,4)}));var r=g.document.id,n=t[0].startIndex,o=t[t.length-1].stopIndex+1,i=4*t.length+4;return e.push(r,n,o,i),e}buildTree(t){var e=this.languageServer.getTokenStream(t);if(e.length<1)return s.mp.build({buffer:[g.document.id,0,t.length,4],nodeSet:m,topID:g.document.id});var r=this.createBufferFromTokens(e);return s.mp.build({buffer:r,nodeSet:m,topID:g.document.id})}createParse(t,e,r){return this.startParse(t,e,r)}startParse(t,e,r){var n="string"==typeof t?t:t.read(0,t.length),o=this.buildTree(n);return{stoppedAt:t.length,parsedPos:t.length,stopAt:t=>{},advance:()=>o}}}var v=r(8120),S=new _,O=new n.SQ(v.r$.define(),S,[],"Zephyr"),N=new n.ri(O,[i])},8203:function(t,e,r){"use strict";r.d(e,{p:function(){return J}});var n=r(7294),o=r(8947),i=r(6393),s=r(2468),a=r(3095),l=r(9119),c=r(5524),u=r(3105),p=r(4790);const h=5,f=6,d=20,y=21,g=24;function m(t){return t>=65&&t<=90||t>=97&&t<=122||t>=48&&t<=57}function _(t,e,r){for(let n=!1;;){if(t.next<0)return;if(t.next==e&&!n)return void t.advance();n=r&&!n&&92==t.next,t.advance()}}function v(t,e){for(;95==t.next||m(t.next);)null!=e&&(e+=String.fromCharCode(t.next)),t.advance();return e}function S(t,e){for(;48==t.next||49==t.next;)t.advance();e&&t.next==e&&t.advance()}function O(t,e){for(;;){if(46==t.next){if(e)break;e=!0}else if(t.next<48||t.next>57)break;t.advance()}if(69==t.next||101==t.next)for(t.advance(),43!=t.next&&45!=t.next||t.advance();t.next>=48&&t.next<=57;)t.advance()}function N(t){for(;!(t.next<0||10==t.next);)t.advance()}function b(t,e){for(let r=0;r<e.length;r++)if(e.charCodeAt(r)==t)return!0;return!1}const x=" \t\r\n";function T(t,e,r){let n=Object.create(null);n.true=n.false=h,n.null=n.unknown=f;for(let o of t.split(" "))o&&(n[o]=d);for(let o of e.split(" "))o&&(n[o]=y);for(let o of(r||"").split(" "))o&&(n[o]=g);return n}const E="array binary bit boolean char character clob date decimal double float int integer interval large national nchar nclob numeric object precision real smallint time timestamp varchar varying ",A="absolute action add after all allocate alter and any are as asc assertion at authorization before begin between both breadth by call cascade cascaded case cast catalog check close collate collation column commit condition connect connection constraint constraints constructor continue corresponding count create cross cube current current_date current_default_transform_group current_transform_group_for_type current_path current_role current_time current_timestamp current_user cursor cycle data day deallocate declare default deferrable deferred delete depth deref desc describe descriptor deterministic diagnostics disconnect distinct do domain drop dynamic each else elseif end end-exec equals escape except exception exec execute exists exit external fetch first for foreign found from free full function general get global go goto grant group grouping handle having hold hour identity if immediate in indicator initially inner inout input insert intersect into
2is isolation join key language last lateral leading leave left level like limit local localtime localtimestamp locator loop map match method minute modifies module month names natural nesting new next no none not of old on only open option or order ordinality out outer output overlaps pad parameter partial path prepare preserve primary prior privileges procedure public read reads recursive redo ref references referencing relative release repeat resignal restrict result return returns revoke right role rollback rollup routine row rows savepoint schema scroll search second section select session session_user set sets signal similar size some space specific specifictype sql sqlexception sqlstate sqlwarning start state static system_user table temporary then timezone_hour timezone_minute to trailing transaction translation treat trigger under undo union unique unnest until update usage user using value values view when whenever where while with without work write year zone ",C={backslashEscapes:!1,hashComments:!1,spaceAfterDashes:!1,slashComments:!1,doubleQuotedStrings:!1,doubleDollarQuotedStrings:!1,unquotedBitLiterals:!1,treatBitsAsBytes:!1,charSetCasts:!1,operatorChars:"*+-%<>!=&|~^/",specialVar:"?",identifierQuotes:'"',words:T(A,E)};function P(t){return new u.Jq((e=>{var r;let{next:n}=e;if(e.advance(),b(n,x)){for(;b(e.next,x);)e.advance();e.acceptToken(36)}else if(36==n&&36==e.next&&t.doubleDollarQuotedStrings)!function(t){for(;;){if(t.next<0||t.peek(1)<0)return;if(36==t.next&&36==t.peek(1))return void t.advance(2);t.advance()}}(e),e.acceptToken(3);else if(39==n||34==n&&t.doubleQuotedStrings)_(e,n,t.backslashEscapes),e.acceptToken(3);else if(35==n&&t.hashComments||47==n&&47==e.next&&t.slashComments)N(e),e.acceptToken(1);else if(45!=n||45!=e.next||t.spaceAfterDashes&&32!=e.peek(1))if(47==n&&42==e.next){e.advance();for(let t=-1,r=1;!(e.next<0);)if(e.advance(),42==t&&47==e.next){if(r--,!r){e.advance();break}t=-1}else 47==t&&42==e.next?(r++,t=-1):t=e.next;e.acceptToken(2)}else if(101!=n&&69!=n||39!=e.next)if(110!=n&&78!=n||39!=e.next||!t.charSetCasts)if(95==n&&t.charSetCasts)for(let i=0;;i++){if(39==e.next&&i>1){e.advance(),_(e,39,t.backslashEscapes),e.acceptToken(3);break}if(!m(e.next))break;e.advance()}else if(40==n)e.acceptToken(7);else if(41==n)e.acceptToken(8);else if(123==n)e.acceptToken(9);else if(125==n)e.acceptToken(10);else if(91==n)e.acceptToken(11);else if(93==n)e.acceptToken(12);else if(59==n)e.acceptToken(13);else if(t.unquotedBitLiterals&&48==n&&98==e.next)e.advance(),S(e),e.acceptToken(22);else if(98!=n&&66!=n||39!=e.next&&34!=e.next){if(48==n&&(120==e.next||88==e.next)||(120==n||88==n)&&39==e.next){let t=39==e.next;for(e.advance();(o=e.next)>=48&&o<=57||o>=97&&o<=102||o>=65&&o<=70;)e.advance();t&&39==e.next&&e.advance(),e.acceptToken(4)}else if(46==n&&e.next>=48&&e.next<=57)O(e,!0),e.acceptToken(4);else if(46==n)e.acceptToken(14);else if(n>=48&&n<=57)O(e,!1),e.acceptToken(4);else if(b(n,t.operatorChars)){for(;b(e.next,t.operatorChars);)e.advance();e.acceptToken(15)}else if(b(n,t.specialVar))e.next==n&&e.advance(),function(t){if(39==t.next||34==t.next||96==t.next){let e=t.next;t.advance(),_(t,e,!1)}else v(t)}(e),e.acceptToken(17);else if(b(n,t.identifierQuotes))_(e,n,!1),e.acceptToken(19);else if(58==n||44==n)e.acceptToken(16);else if(m(n)){let o=v(e,String.fromCharCode(n));e.acceptToken(46==e.next?18:null!==(r=t.words[o.toLowerCase()])&&void 0!==r?r:18)}}else{const r=e.next;e.advance(),t.treatBitsAsBytes?(_(e,r,t.backslashEscapes),e.acceptToken(23)):(S(e,r),e.acceptToken(22))}else e.advance(),_(e,39,t.backslashEscapes),e.acceptToken(3);else e.advance(),_(e,39,!0);else N(e),e.acceptToken(1);var o}))}const I=P(C),R=u.WQ.deserialize({version:14,states:"%vQ]QQOOO#wQRO'#DSO$OQQO'#CwO%eQQO'#CxO%lQQO'#CyO%sQQO'#CzOOQQ'#DS'#DSOOQQ'#C}'#C}O'UQRO'#C{OOQQ'#Cv'#CvOOQQ'#C|'#C|Q]QQOOQOQQOOO'`QQO'#DOO(xQRO,59cO)PQQO,59cO)UQQO'#DSOOQQ,59d,59dO)cQQO,59dOOQQ,59e,59eO)jQQO,59eOOQQ,59f,59fO)qQQO,59fOOQQ-E6{-E6{OOQQ,59b,59bOOQQ-E6z-E6zOOQQ,59j,59jOOQQ-E6|-E6|O+VQRO1G.}O+^QQO,59cOOQQ1G/O1G/OOOQQ1G/P1G/POOQQ1G/Q1G/QP+kQQO'#C}O+rQQO1G.}O)PQQO,59cO,PQQO'#Cw",stateData:",[~OtOSPOSQOS~ORUOSUOTUOUUOVROXSOZTO]XO^QO_UO`UOaPObPOcPOdUOeUOfUOgUOhUO~O^]ORvXSvXTvXUvXVvXXvXZvX]vX_vX`vXavXbvXcvXdvXevXfvXgvXhvX~OsvX~P!jOa_Ob_Oc_O~ORUOSUOTUOUUOVROXSOZTO^tO_UO`UOa`Ob`Oc`OdUOeUOfUOgUOhUO~OWaO~P$ZOYcO~P$ZO[eO~P$ZORUOSUOTUOUUOVROXSOZTO^QO_UO`UOaPObPOcPOdUOeUOfUOgUOhUO~O]hOsoX~P%zOajObjOcjO~O^]ORkaSkaTkaUkaVkaXkaZka]ka_ka`kaakabkackadkaekafkagkahka~Oska~P'kO^]O~OWvXYvX[vX~P!jOWnO~P$ZOYoO~P$ZO[pO~P$ZO^]ORkiSkiTkiUkiVkiXkiZki]ki_ki`kiakibkickidkiekifkigkihki~Oski~P)xOWkaYka[ka~P'kO]hO~P$ZOWkiYki[
2ki~P)xOasObsOcsO~O",goto:"#hwPPPPPPPPPPPPPPPPPPPPPPPPPPx||||!Y!^!d!xPPP#[TYOZeUORSTWZbdfqT[OZQZORiZSWOZQbRQdSQfTZgWbdfqQ^PWk^lmrQl_Qm`RrseVORSTWZbdfq",nodeNames:"â LineComment BlockComment String Number Bool Null ( ) { } [ ] ; . Operator Punctuation SpecialVar Identifier QuotedIdentifier Keyword Type Bits Bytes Builtin Script Statement CompositeIdentifier Parens Braces Brackets Statement",maxTerm:38,skippedNodes:[0,1,2],repeatNodeCount:3,tokenData:"RORO",tokenizers:[0,I],topRules:{Script:[0,25]},tokenPrec:0});function w(t){let e=t.cursor().moveTo(t.from,-1);for(;/Comment/.test(e.name);)e.moveTo(e.from,-1);return e.node}function k(t,e){let r=t.sliceString(e.from,e.to),n=/^([`'"])(.*)\1$/.exec(r);return n?n[2]:r}function L(t){return t&&("Identifier"==t.name||"QuotedIdentifier"==t.name)}function j(t,e){if("CompositeIdentifier"==e.name){let r=[];for(let n=e.firstChild;n;n=n.nextSibling)L(n)&&r.push(k(t,n));return r}return[k(t,e)]}function D(t,e){for(let r=[];;){if(!e||"."!=e.name)return r;let n=w(e);if(!L(n))return r;r.unshift(k(t,n)),e=w(n)}}function M(t,e){let r=(0,l.qz)(t).resolveInner(e,-1),n=function(t,e){let r;for(let o=e;!r;o=o.parent){if(!o)return null;"Statement"==o.name&&(r=o)}let n=null;for(let o=r.firstChild,i=!1,s=null;o;o=o.nextSibling){let e="Keyword"==o.name?t.sliceString(o.from,o.to).toLowerCase():null,r=null;if(i)if("as"==e&&s&&L(o.nextSibling))r=k(t,o.nextSibling);else{if(e&&F.has(e))break;s&&L(o)&&(r=k(t,o))}else i="from"==e;r&&(n||(n=Object.create(null)),n[r]=j(t,s)),s=/Identifier$/.test(o.name)?o:null}return n}(t.doc,r);return"Identifier"==r.name||"QuotedIdentifier"==r.name||"Keyword"==r.name?{from:r.from,quoted:"QuotedIdentifier"==r.name?t.doc.sliceString(r.from,r.from+1):null,parents:D(t.doc,w(r)),aliases:n}:"."==r.name?{from:e,quoted:null,parents:D(t.doc,r),aliases:n}:{from:e,quoted:null,parents:[],empty:!0,aliases:n}}const F=new Set("where group having order union intersect except all distinct limit offset fetch for".split(" "));const z=/^\w*$/,U=/^[`'"]?\w*[`'"]?$/;class B{constructor(){this.list=[],this.children=void 0}child(t){let e=this.children||(this.children=Object.create(null));return e[t]||(e[t]=new B)}childCompletions(t){return this.children?Object.keys(this.children).filter((t=>t)).map((e=>({label:e,type:t}))):[]}}let q=R.configure({props:[l.uj.add({Statement:(0,l.tC)()}),l.x0.add({Statement(t){return{from:t.firstChild.to,to:t.to}},BlockComment(t){return{from:t.from+2,to:t.to-2}}}),(0,c.Gv)({Keyword:c.pJ.keyword,Type:c.pJ.typeName,Builtin:c.pJ.standard(c.pJ.name),Bits:c.pJ.number,Bytes:c.pJ.string,Bool:c.pJ.bool,Null:c.pJ.null,Number:c.pJ.number,String:c.pJ.string,Identifier:c.pJ.name,QuotedIdentifier:c.pJ.special(c.pJ.string),SpecialVar:c.pJ.special(c.pJ.name),LineComment:c.pJ.lineComment,BlockComment:c.pJ.blockComment,Operator:c.pJ.operator,"Semi Punctuation":c.pJ.punctuation,"( )":c.pJ.paren,"{ }":c.pJ.brace,"[ ]":c.pJ.squareBracket})]});class H{constructor(t,e){this.dialect=t,this.language=e}get extension(){return this.language.extension}static define(t){let e=function(t,e,r,n){let o={};for(let i in C)o[i]=(t.hasOwnProperty(i)?t:C)[i];return e&&(o.words=T(e,r||"",n)),o}(t,t.keywords,t.types,t.builtin),r=l.qp.define({name:"sql",parser:q.configure({tokenizers:[{from:I,to:P(e)}]}),languageData:{commentTokens:{line:"--",block:{open:"/*",close:"*/"}},closeBrackets:{brackets:["(","[","{","'",'"',"`"]}}});return new H(e,r)}}function V(t,e=!1){return function(t,e){let r=Object.keys(t).map((r=>({label:e?r.toUpperCase():r,type:t[r]==y?"type":t[r]==d?"keyword":"variable",boost:-1})));return(0,p.eC)(["QuotedIdentifier","SpecialVar","String","LineComment","BlockComment","."],(0,p.Mb)(r))}(t.dialect.words,e)}function Y(t,e=!1){return t.language.data.of({autocomplete:V(t,e)})}function G(t){return t.schema?function(t,e,r,n,o){let i=new B,s=i.child(o||"");for(let a in t){let e=a.indexOf(".");(e>-1?i.child(a.slice(0,e)):s).child(e>-1?a.slice(e+1):a).list=t[a].map((t=>"string"==typeof t?{label:t,type:"property"}:t))}s.list=(e||s.childCompletions("type")).concat(n?s.child(n).list:[]);for(let a in i.children){let t=i.child(a);t.list.length||(t.list=t.childCompletions("type"))}return i.list=s.list.concat(r||i.childCompletions("type")),t=>{let{parents:e,from:r,quoted:o,empty:a,aliases:l}=M(t.state,t.pos);if(a&&!t.explicit)return null;l&&1==e.length&&(e=l[e[0]]||e);let c=i;for(let d of e){for(;!c.children||!c.children[d];)if(c==i)c=s;else{if(c!=s||!n)return null;c=c.child(n)}c=c.child(d)}let u=o&&t.state.sliceDoc(t.pos,t.pos+1)==o,p=c.list;return c==i&&l&&(p=p.concat(Object.keys(l).map((t=>({label:t,type:"constant"}))))),{from:r,to:u?t.pos+1:void 0,options:(h=o,f=p,h?f.map((t=>Object.assign(Object.assign({},t),{label:h+t.label+h,apply:void 0}))):f),validFor:o?U:z};var h,f}}(t.schema,t.tables,t.schemas,t.defaultTable,t.defaultSchema):()=>null}function W(t){return t.schema?(t.dialect||$).language.data.of({autocomplete:G(t)}):[]}function K(t={}){let e=t.dialect||$;return new l.ri(e.language,[W(t),Y(e,!!t.upperCaseKeywords)])}const $=H.define({});var Q=r(4184),X=r.n(Q),J=(0,n.forwardRef)(((t,e)=>{var{initialValue:r,updateValue:l,language:c,extensions:u=[],hasFooter:p=!1}=t,h=(0,a.Fg)(),{0:f,1:d}
2=(0,n.useState)(null!=r?r:""),y=(0,n.useCallback)((t=>{d(t),l&&l(t)}),[]),g=(0,n.useMemo)((()=>{switch(c){case"zephyr":return[i.v,...u];case"javascript":return[(0,s.eJ)(),...u];case"sql":return[K(),...u];default:return[...u]}}),[c,u]);return n.createElement("div",{className:X()("CodeEditor",p&&"HasFooter")},n.createElement(o.ZP,{ref:e,value:f,theme:h,extensions:g,onChange:y,indentWithTab:!1,basicSetup:{foldGutter:!1,lineNumbers:!0,highlightActiveLineGutter:!0,dropCursor:!1,allowMultipleSelections:!1,indentOnInput:!1,bracketMatching:!1,closeBrackets:!1,autocompletion:!1,rectangularSelection:!1,crosshairCursor:!1,highlightActiveLine:!0,highlightSelectionMatches:!1,closeBracketsKeymap:!1,searchKeymap:!1,foldKeymap:!1,completionKeymap:!1,lintKeymap:!1}}))}))},210:function(t,e,r){"use strict";var n,o=SyntaxError,i=Function,s=TypeError,a=function(t){try{return i('"use strict"; return ('+t+").constructor;")()}catch(e){}},l=Object.getOwnPropertyDescriptor;if(l)try{l({},"")}catch(P){l=null}var c=function(){throw new s},u=l?function(){try{return c}catch(t){try{return l(arguments,"callee").get}catch(e){return c}}}():c,p=r(1405)(),h=Object.getPrototypeOf||function(t){return t.__proto__},f={},d="undefined"==typeof Uint8Array?n:h(Uint8Array),y={"%AggregateError%":"undefined"==typeof AggregateError?n:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?n:ArrayBuffer,"%ArrayIteratorPrototype%":p?h([][Symbol.iterator]()):n,"%AsyncFromSyncIteratorPrototype%":n,"%AsyncFunction%":f,"%AsyncGenerator%":f,"%AsyncGeneratorFunction%":f,"%AsyncIteratorPrototype%":f,"%Atomics%":"undefined"==typeof Atomics?n:Atomics,"%BigInt%":"undefined"==typeof BigInt?n:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?n:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?n:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?n:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?n:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?n:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?n:FinalizationRegistry,"%Function%":i,"%GeneratorFunction%":f,"%Int8Array%":"undefined"==typeof Int8Array?n:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?n:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?n:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%
2IteratorPrototype%":p?h(h([][Symbol.iterator]())):n,"%JSON%":"object"==typeof JSON?JSON:n,"%Map%":"undefined"==typeof Map?n:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&p?h((new Map)[Symbol.iterator]()):n,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?n:Promise,"%Proxy%":"undefined"==typeof Proxy?n:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?n:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?n:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&p?h((new Set)[Symbol.iterator]()):n,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?n:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":p?h(""[Symbol.iterator]()):n,"%Symbol%":p?Symbol:n,"%SyntaxError%":o,"%ThrowTypeError%":u,"%TypedArray%":d,"%TypeError%":s,"%Uint8Array%":"undefined"==typeof Uint8Array?n:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?n:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?n:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?n:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?n:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?n:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?n:WeakSet};try{null.error}catch(P){var g=h(h(P));y["%Error.prototype%"]=g}var m=function t(e){var r;if("%AsyncFunction%"===e)r=a("async function () {}");else if("%GeneratorFunction%"===e)r=a("function* () {}");else if("%AsyncGeneratorFunction%"===e)r=a("async function* () {}");else if("%AsyncGenerator%"===e){var n=t("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if("%AsyncIteratorPrototype%"===e){var o=t("%AsyncGenerator%");o&&(r=h(o.prototype))}return y[e]=r,r},_={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},v=r(2544),S=r(7642),O=v.call(Function.call,Array.prototype.concat),N=v.call(Function.apply,Array.prototype.splice),b=v.call(Function.call,String.prototype.replace),x=v.call(Function.call,String.prototype.slice),T=v.call(Function.call,RegExp.prototype.exec),E=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,A=/\\(\\)?/g,C=function(t,e){var r,n=t;if(S(_,n)&&(n="%"+(r=_[n])[0]+"%"),S(y,n)){var i=y[n];if(i===f&&(i=m(n)),void 0===i&&!e)throw new s("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:i}}throw new o("intrinsic "+t+" does not exist!")};t.exports=function(t,e){if("string"!=typeof t||0===t.length)throw new s("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof e)throw new s('"allowMissing" argument must be a boolean');if(null===T(/^%?[^%]*%?$/,t))throw new o("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var r=function(t){var e=x(t,0,1),r=x(t,-1);if("%"===e&&"%"!==r)throw new o("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==e)throw new o("invalid intrinsic syntax, expected opening `%`");var n=[];return b(t,E,(function(t,e,r,o){n[n.length]=r?b(o,A,"$1"):e||t})),n}(t),n=r.length>0?r[0]:"",i=C("%"+n+"%",e),a=i.name,c=i.value,u=!1,p=i.alias;p&&(n=p[0],N(r,O([0,1],p)));for(var h=1,f=!0;h<r.length;h+=1){var d=r[h],g=x(d,0,1),m=x(d,-1);if(('"'===g||"'"===g||"`"===g||'"'===m||"'"===m||"`"===m)&&g!==m)throw new o("property names with quotes must have matching quotes");if("constructor"!==d&&f||(u=!0),S(y,a="%"+(n+="."+d)+"%"))c=y[a];else if(null!=c){if(!(d in c)){if(!e)throw new s("base intrinsic for "+t+" exists, but the property is not available.");return}if(l&&h+1>=r.length){var _=l(c,d);c=(f=!!_)&&"get"in _&&!("originalValue"in _.get)?_.get:c[d]}else f=S(c,d),c=c[d];f&&!u&&(y[a]=c)}}return c}},3146:function(t){"use strict";var e=Array.prototype.slice,r=Object.prototype.toString;t.exports=function(t){var n=this;if("function"!=typeof n||"[object Function]"!==r.call(n))throw new TypeError("Function.prototype.bind called on incompatible "+n);
2for(var o,i=e.call(arguments,1),s=Math.max(0,n.length-i.length),a=[],l=0;l<s;l++)a.push("$"+l);if(o=Function("binder","return function ("+a.join(",")+"){ return binder.apply(this,arguments); }")((function(){if(this instanceof o){var r=n.apply(this,i.concat(e.call(arguments)));return Object(r)===r?r:this}return n.apply(t,i.concat(e.call(arguments)))})),n.prototype){var c=function(){};c.prototype=n.prototype,o.prototype=new c,c.prototype=null}return o}},2544:function(t,e,r){"use strict";var n=r(3146);t.exports=Function.prototype.bind||n},7296:function(t,e,r){"use strict";var n=r(210)("%Object.getOwnPropertyDescriptor%",!0);if(n)try{n([],"length")}catch(o){n=null}t.exports=n},1044:function(t,e,r){"use strict";var n=r(210)("%Object.defineProperty%",!0),o=function(){if(n)try{return n({},"a",{value:1}),!0}catch(t){return!1}return!1};o.hasArrayLengthDefineBug=function(){if(!o())return null;try{return 1!==n([],"length",{value:1}).length}catch(t){return!0}},t.exports=o},1405:function(t,e,r){"use strict";var n="undefined"!=typeof Symbol&&Symbol,o=r(5419);t.exports=function(){return"function"==typeof n&&("function"==typeof Symbol&&("symbol"==typeof n("foo")&&("symbol"==typeof Symbol("bar")&&o())))}},5419:function(t){"use strict";t.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var t={},e=Symbol("test"),r=Object(e);if("string"==typeof e)return!1;if("[object Symbol]"!==Object.prototype.toString.call(e))return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(e in t[e]=42,t)return!1;if("function"==typeof Object.keys&&0!==Object.keys(t).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(t).length)return!1;var n=Object.getOwnPropertySymbols(t);if(1!==n.length||n[0]!==e)return!1;if(!Object.prototype.propertyIsEnumerable.call(t,e))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(t,e);if(42!==o.value||!0!==o.enumerable)return!1}return!0}},6410:function(t,e,r){"use strict";var n=r(5419);t.exports=function(){return n()&&!!Symbol.toStringTag}},215:function(t){"use strict";var e=Array.prototype.slice,r=Object.prototype.toString;t.exports=function(t){var n=this;if("function"!=typeof n||"[object Function]"!==r.call(n))throw new TypeError("Function.prototype.bind called on incompatible "+n);for(var o,i=e.call(arguments,1),s=Math.max(0,n.length-i.length),a=[],l=0;l<s;l++)a.push("$"+l);if(o=Function("binder","return function ("+a.join(",")+"){ return binder.apply(this,arguments); }")((function(){if(this instanceof o){var r=n.apply(this,i.concat(e.call(arguments)));return Object(r)===r?r:this}return n.apply(t,i.concat(e.call(arguments)))})),n.prototype){var c=function(){};c.prototype=n.prototype,o.prototype=new c,c.prototype=null}return o}},1364:function(t,e,r){"use strict";var n=r(215);t.exports=Function.prototype.bind||n},7642:function(t,e,r){"use strict";var n=r(1364);t.exports=n.call(Function.call,Object.prototype.hasOwnProperty)},5717:function(t){"function"==typeof Object.create?t.exports=function(t,e){e&&(t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:t.exports=function(t,e){if(e){t.super_=e;var r=function(){};r.prototype=e.prototype,t.prototype=new r,t.prototype.constructor=t}}},2584:function(t,e,r){"use strict";var n=r(6410)(),o=r(1924)("Object.prototype.toString"),i=function(t){return!(n&&t&&"object"==typeof t&&Symbol.toStringTag in t)&&"[object Arguments]"===o(t)},s=function(t){return!!i(t)||null!==t&&"object"==typeof t&&"number"==typeof t.length&&t.length>=0&&"[object Array]"!==o(t)&&"[object Function]"===o(t.callee)},a=function(){return i(arguments)}();i.isLegacyArguments=s,t.exports=a?i:s},5320:function(t){"use strict";var e,r,n=Function.prototype.toString,o="object"==typeof Reflect&&null!==Reflect&&Reflect.apply;if("function"==typeof o&&"function"==typeof Object.defineProperty)try{e=Object.defineProperty({},"length",{get:function(){throw r}}),r={},o((function(){throw 42}),null,e)}catch(f){f!==r&&(o=null)}else o=null;var i=/^\s*class\b/,s=function(t){try{var e=n.call(t);return i.test(e)}catch(r){return!1}},a=function(t){try{return!s(t)&&(n.call(t),!0)}catch(e){return!1}},l=Object.prototype.toString,c="function"==typeof Symbol&&!!Symbol.toStringTag,u=!(0 in[,]),p=function(){return!1};if("object"==typeof document){var h=document.all;l.call(h)===l.call(document.all)&&(p=function(t){if((u||!t)&&(void 0===t||"object"==typeof t))try{var e=l.call(t);return("[object HTMLAllCollection]"===e||"[object HTML document.all class]"===e||"[object HTMLCollection]"===e||"[object Object]"===e)&&null==t("")}catch(r){}return!1})}t.exports=o?function(t){if(p(t))return!0;
vendor: 5,947 bytes, line 2
2if(!t)return!1;if("function"!=typeof t&&"object"!=typeof t)return!1;try{o(t,null,e)}catch(n){if(n!==r)return!1}return!s(t)&&a(t)}:function(t){if(p(t))return!0;if(!t)return!1;if("function"!=typeof t&&"object"!=typeof t)return!1;if(c)return a(t);if(s(t))return!1;var e=l.call(t);return!("[object Function]"!==e&&"[object GeneratorFunction]"!==e&&!/^\[object HTML/.test(e))&&a(t)}},8662:function(t,e,r){"use strict";var n,o=Object.prototype.toString,i=Function.prototype.toString,s=/^\s*(?:function)?\*/,a=r(6410)(),l=Object.getPrototypeOf;t.exports=function(t){if("function"!=typeof t)return!1;if(s.test(i.call(t)))return!0;if(!a)return"[object GeneratorFunction]"===o.call(t);if(!l)return!1;if(void 0===n){var e=function(){if(!a)return!1;try{return Function("return function*() {}")()}catch(t){}}();n=!!e&&l(e)}return l(t)===n}},8611:function(t){"use strict";t.exports=function(t){return t!=t}},360:function(t,e,r){"use strict";var n=r(5559),o=r(4289),i=r(8611),s=r(9415),a=r(3194),l=n(s(),Number);o(l,{getPolyfill:s,implementation:i,shim:a}),t.exports=l},9415:function(t,e,r){"use strict";var n=r(8611);t.exports=function(){return Number.isNaN&&Number.isNaN(NaN)&&!Number.isNaN("a")?Number.isNaN:n}},3194:function(t,e,r){"use strict";var n=r(4289),o=r(9415);t.exports=function(){var t=o();return n(Number,{isNaN:t},{isNaN:function(){return Number.isNaN!==t}}),t}},5692:function(t,e,r){"use strict";var n=r(4029),o=r(3083),i=r(1924),s=i("Object.prototype.toString"),a=r(6410)(),l=r(7296),c="undefined"==typeof globalThis?r.g:globalThis,u=o(),p=i("Array.prototype.indexOf",!0)||function(t,e){for(var r=0;r<t.length;r+=1)if(t[r]===e)return r;return-1},h=i("String.prototype.slice"),f={},d=Object.getPrototypeOf;a&&l&&d&&n(u,(function(t){var e=new c[t];if(Symbol.toStringTag in e){var r=d(e),n=l(r,Symbol.toStringTag);if(!n){var o=d(r);n=l(o,Symbol.toStringTag)}f[t]=n.get}}));t.exports=function(t){if(!t||"object"!=typeof t)return!1;if(!a||!(Symbol.toStringTag in t)){var e=h(s(t),8,-1);return p(u,e)>-1}return!!l&&function(t){var e=!1;return n(f,(function(r,n){if(!e)try{e=r.call(t)===n}catch(o){}})),e}(t)}},4244:function(t){"use strict";var e=function(t){return t!=t};t.exports=function(t,r){return 0===t&&0===r?1/t==1/r:t===r||!(!e(t)||!e(r))}},609:function(t,e,r){"use strict";var n=r(4289),o=r(5559),i=r(4244),s=r(5624),a=r(2281),l=o(s(),Object);n(l,{getPolyfill:s,implementation:i,shim:a}),t.exports=l},5624:function(t,e,r){"use strict";var n=r(4244);t.exports=function(){return"function"==typeof Object.is?Object.is:n}},2281:function(t,e,r){"use strict";var n=r(5624),o=r(4289);t.exports=function(){var t=n();return o(Object,{is:t},{is:function(){return Object.is!==t}}),t}},8987:function(t,e,r){"use strict";var n;if(!Object.keys){var o=Object.prototype.hasOwnProperty,i=Object.prototype.toString,s=r(1414),a=Object.prototype.propertyIsEnumerable,l=!a.call({toString:null},"toString"),c=a.call((function(){}),"prototype"),u=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],p=function(t){var e=t.constructor;return e&&e.prototype===t},h={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},f=function(){if("undefined"==typeof window)return!1;for(var t in window)try{if(!h["$"+t]&&o.call(window,t)&&null!==window[t]&&"object"==typeof window[t])try{p(window[t])}catch(e){return!0}}catch(e){return!0}return!1}();n=function(t){var e=null!==t&&"object"==typeof t,r="[object Function]"===i.call(t),n=s(t),a=e&&"[object String]"===i.call(t),h=[];if(!e&&!r&&!n)throw new TypeError("Object.keys called on a non-object");var d=c&&r;if(a&&t.length>0&&!o.call(t,0))for(var y=0;y<t.length;++y)h.push(String(y));if(n&&t.length>0)for(var g=0;g<t.length;++g)h.push(String(g));else for(var m in t)d&&"prototype"===m||!o.call(t,m)||h.push(String(m));if(l)for(var _=function(t){if("undefined"==typeof window||!f)return p(t);try{return p(t)}catch(e){return!1}}(t),v=0;v<u.length;++v)_&&"constructor"===u[v]||!o.call(t,u[v])||h.push(u[v]);return h}}t.exports=n},2215:function(t,e,r){"use strict";var n=Array.prototype.slice,o=r(1414),i=Object.keys,s=i?function(t){return i(t)}:r(8987),a=Object.keys;s.shim=function(){if(Object.keys){var t=function(){var t=Object.keys(arguments);return t&&t.length===arguments.length}(1,2);t||(Object.keys=function(t){return o(t)?a(n.call(t)):a(t)})}else Object.keys=s;return Object.keys||s},t.exports=s},1414:function(t){"use strict";var e=Object.prototype.toString;t.exports=function(t){var r=e.call(t),n="[object Arguments]"===r;return n||(n="[object Array]"!==r&&null!==t&&"object"==typeof t&&"number"==typeof t.length&&t.length>=0&&"[object Function]"===e.call(t.callee)),n}},384:function(t){t.exports=function(t){return t&&"object"==typeof t&&"function"==typeof t.copy&&"function"==typeof t.fill&&"function"==typeof t.readUInt8}},5955:function(t,e,r){"use strict";var n=r(2584),o=r(8662),i=r(6430),s=r(5692);function a(t){return t.call.bind(t)}var l="undefined"!=typeof BigInt,c="undefined"!=typeof Symbol,u=a(Object.prototype.toString),p=a(Number.prototype.valueOf),h=a(String.prototype.valueOf),f=a(Boolean.prototype.valueOf);if(l)var d=a(BigInt.prototype.valueOf);if(c)var y=a(Symbol.prototype.valueOf);function g(t,e){if("object"!=typeof t)return!1;try{return e(t),!0}catch(r){return!1}}function m(t){return"[object Map]"===u(t)}function _(t){return"[object Set]"===u(t)}function v(t){return"[object WeakMap]"===u(t)}function S(t){return"[object WeakSet]"===u(t)}function O(t){return"[object ArrayBuffer]"===u(t)}function N(t){return"undefined"!=typeof ArrayBuffer&&(O.working?O(t):t instanceof ArrayBuffer)}function b(t){return"[object DataView]"===u(t)}
vendor: 4,975 bytes, line 2
2function x(t){return"undefined"!=typeof DataView&&(b.working?b(t):t instanceof DataView)}e.isArgumentsObject=n,e.isGeneratorFunction=o,e.isTypedArray=s,e.isPromise=function(t){return"undefined"!=typeof Promise&&t instanceof Promise||null!==t&&"object"==typeof t&&"function"==typeof t.then&&"function"==typeof t.catch},e.isArrayBufferView=function(t){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):s(t)||x(t)},e.isUint8Array=function(t){return"Uint8Array"===i(t)},e.isUint8ClampedArray=function(t){return"Uint8ClampedArray"===i(t)},e.isUint16Array=function(t){return"Uint16Array"===i(t)},e.isUint32Array=function(t){return"Uint32Array"===i(t)},e.isInt8Array=function(t){return"Int8Array"===i(t)},e.isInt16Array=function(t){return"Int16Array"===i(t)},e.isInt32Array=function(t){return"Int32Array"===i(t)},e.isFloat32Array=function(t){return"Float32Array"===i(t)},e.isFloat64Array=function(t){return"Float64Array"===i(t)},e.isBigInt64Array=function(t){return"BigInt64Array"===i(t)},e.isBigUint64Array=function(t){return"BigUint64Array"===i(t)},m.working="undefined"!=typeof Map&&m(new Map),e.isMap=function(t){return"undefined"!=typeof Map&&(m.working?m(t):t instanceof Map)},_.working="undefined"!=typeof Set&&_(new Set),e.isSet=function(t){return"undefined"!=typeof Set&&(_.working?_(t):t instanceof Set)},v.working="undefined"!=typeof WeakMap&&v(new WeakMap),e.isWeakMap=function(t){return"undefined"!=typeof WeakMap&&(v.working?v(t):t instanceof WeakMap)},S.working="undefined"!=typeof WeakSet&&S(new WeakSet),e.isWeakSet=function(t){return S(t)},O.working="undefined"!=typeof ArrayBuffer&&O(new ArrayBuffer),e.isArrayBuffer=N,b.working="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView&&b(new DataView(new ArrayBuffer(1),0,1)),e.isDataView=x;var T="undefined"!=typeof SharedArrayBuffer?SharedArrayBuffer:void 0;function E(t){return"[object SharedArrayBuffer]"===u(t)}function A(t){return void 0!==T&&(void 0===E.working&&(E.working=E(new T)),E.working?E(t):t instanceof T)}function C(t){return g(t,p)}function P(t){return g(t,h)}function I(t){return g(t,f)}function R(t){return l&&g(t,d)}function w(t){return c&&g(t,y)}e.isSharedArrayBuffer=A,e.isAsyncFunction=function(t){return"[object AsyncFunction]"===u(t)},e.isMapIterator=function(t){return"[object Map Iterator]"===u(t)},e.isSetIterator=function(t){return"[object Set Iterator]"===u(t)},e.isGeneratorObject=function(t){return"[object Generator]"===u(t)},e.isWebAssemblyCompiledModule=function(t){return"[object WebAssembly.Module]"===u(t)},e.isNumberObject=C,e.isStringObject=P,e.isBooleanObject=I,e.isBigIntObject=R,e.isSymbolObject=w,e.isBoxedPrimitive=function(t){return C(t)||P(t)||I(t)||R(t)||w(t)},e.isAnyArrayBuffer=function(t){return"undefined"!=typeof Uint8Array&&(N(t)||A(t))},["isProxy","isExternal","isModuleNamespaceObject"].forEach((function(t){Object.defineProperty(e,t,{enumerable:!1,value:function(){throw new Error(t+" is not supported in userland")}})}))},9539:function(t,e,r){var n=Object.getOwnPropertyDescriptors||function(t){for(var e=Object.keys(t),r={},n=0;n<e.length;n++)r[e[n]]=Object.getOwnPropertyDescriptor(t,e[n]);return r},o=/%[sdj%]/g;e.format=function(t){if(!_(t)){for(var e=[],r=0;r<arguments.length;r++)e.push(l(arguments[r]));return e.join(" ")}r=1;for(var n=arguments,i=n.length,s=String(t).replace(o,(function(t){if("%%"===t)return"%";if(r>=i)return t;switch(t){case"%s":return String(n[r++]);case"%d":return Number(n[r++]);case"%j":try{return JSON.stringify(n[r++])}catch(e){return"[Circular]"}default:return t}})),a=n[r];r<i;a=n[++r])g(a)||!O(a)?s+=" "+a:s+=" "+l(a);return s},e.deprecate=function(t,r){if("undefined"!=typeof process&&!0===process.noDeprecation)return t;if("undefined"==typeof process)return function(){return e.deprecate(t,r).apply(this,arguments)};var n=!1;return function(){if(!n){if(process.throwDeprecation)throw new Error(r);process.traceDeprecation?console.trace(r):console.error(r),n=!0}return t.apply(this,arguments)}};var i={},s=/^$/;if({}.NODE_DEBUG){var a={}.NODE_DEBUG;a=a.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),s=new RegExp("^"+a+"$","i")}function l(t,r){var n={seen:[],stylize:u};return arguments.length>=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),y(r)?n.showHidden=r:r&&e._extend(n,r),v(n.showHidden)&&(n.showHidden=!1),v(n.depth)&&(n.depth=2),v(n.colors)&&(n.colors=!1),v(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=c),p(n,t,n.depth)}function c(t,e){var r=l.styles[e];return r?"�["+l.colors[r][0]+"m"+t+"�["+l.colors[r][1]+"m":t}function u(t,e){return t}function p(t,r,n){if(t.customInspect&&r&&x(r.inspect)&&r.inspect!==e.inspect&&(!r.constructor||r.constructor.prototype!==r)){var o=r.inspect(n,t);return _(o)||(o=p(t,o,n)),o}var i=function(t,e){if(v(e))return t.stylize("undefined","undefined");if(_(e)){var r="'"+JSON.stringify(e).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";
vendor: 4,928 bytes, line 2
2return t.stylize(r,"string")}if(m(e))return t.stylize(""+e,"number");if(y(e))return t.stylize(""+e,"boolean");if(g(e))return t.stylize("null","null")}(t,r);if(i)return i;var s=Object.keys(r),a=function(t){var e={};return t.forEach((function(t,r){e[t]=!0})),e}(s);if(t.showHidden&&(s=Object.getOwnPropertyNames(r)),b(r)&&(s.indexOf("message")>=0||s.indexOf("description")>=0))return h(r);if(0===s.length){if(x(r)){var l=r.name?": "+r.name:"";return t.stylize("[Function"+l+"]","special")}if(S(r))return t.stylize(RegExp.prototype.toString.call(r),"regexp");if(N(r))return t.stylize(Date.prototype.toString.call(r),"date");if(b(r))return h(r)}var c,u="",O=!1,T=["{","}"];(d(r)&&(O=!0,T=["[","]"]),x(r))&&(u=" [Function"+(r.name?": "+r.name:"")+"]");return S(r)&&(u=" "+RegExp.prototype.toString.call(r)),N(r)&&(u=" "+Date.prototype.toUTCString.call(r)),b(r)&&(u=" "+h(r)),0!==s.length||O&&0!=r.length?n<0?S(r)?t.stylize(RegExp.prototype.toString.call(r),"regexp"):t.stylize("[Object]","special"):(t.seen.push(r),c=O?function(t,e,r,n,o){for(var i=[],s=0,a=e.length;s<a;++s)C(e,String(s))?i.push(f(t,e,r,n,String(s),!0)):i.push("");return o.forEach((function(o){o.match(/^\d+$/)||i.push(f(t,e,r,n,o,!0))})),i}(t,r,n,a,s):s.map((function(e){return f(t,r,n,a,e,O)})),t.seen.pop(),function(t,e,r){var n=t.reduce((function(t,e){return e.indexOf("\n")>=0&&0,t+e.replace(/\u001b\[\d\d?m/g,"").length+1}),0);if(n>60)return r[0]+(""===e?"":e+"\n ")+" "+t.join(",\n ")+" "+r[1];return r[0]+e+" "+t.join(", ")+" "+r[1]}(c,u,T)):T[0]+u+T[1]}function h(t){return"["+Error.prototype.toString.call(t)+"]"}function f(t,e,r,n,o,i){var s,a,l;if((l=Object.getOwnPropertyDescriptor(e,o)||{value:e[o]}).get?a=l.set?t.stylize("[Getter/Setter]","special"):t.stylize("[Getter]","special"):l.set&&(a=t.stylize("[Setter]","special")),C(n,o)||(s="["+o+"]"),a||(t.seen.indexOf(l.value)<0?(a=g(r)?p(t,l.value,null):p(t,l.value,r-1)).indexOf("\n")>-1&&(a=i?a.split("\n").map((function(t){return" "+t})).join("\n").slice(2):"\n"+a.split("\n").map((function(t){return" "+t})).join("\n")):a=t.stylize("[Circular]","special")),v(s)){if(i&&o.match(/^\d+$/))return a;(s=JSON.stringify(""+o)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(s=s.slice(1,-1),s=t.stylize(s,"name")):(s=s.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),s=t.stylize(s,"string"))}return s+": "+a}function d(t){return Array.isArray(t)}function y(t){return"boolean"==typeof t}function g(t){return null===t}function m(t){return"number"==typeof t}function _(t){return"string"==typeof t}function v(t){return void 0===t}function S(t){return O(t)&&"[object RegExp]"===T(t)}function O(t){return"object"==typeof t&&null!==t}function N(t){return O(t)&&"[object Date]"===T(t)}function b(t){return O(t)&&("[object Error]"===T(t)||t instanceof Error)}function x(t){return"function"==typeof t}function T(t){return Object.prototype.toString.call(t)}function E(t){return t<10?"0"+t.toString(10):t.toString(10)}e.debuglog=function(t){if(t=t.toUpperCase(),!i[t])if(s.test(t)){var r=process.pid;i[t]=function(){var n=e.format.apply(e,arguments);console.error("%s %d: %s",t,r,n)}}else i[t]=function(){};return i[t]},e.inspect=l,l.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},l.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},e.types=r(5955),e.isArray=d,e.isBoolean=y,e.isNull=g,e.isNullOrUndefined=function(t){return null==t},e.isNumber=m,e.isString=_,e.isSymbol=function(t){return"symbol"==typeof t},e.isUndefined=v,e.isRegExp=S,e.types.isRegExp=S,e.isObject=O,e.isDate=N,e.types.isDate=N,e.isError=b,e.types.isNativeError=b,e.isFunction=x,e.isPrimitive=function(t){return null===t||"boolean"==typeof t||"number"==typeof t||"string"==typeof t||"symbol"==typeof t||void 0===t},e.isBuffer=r(384);var A=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function C(t,e){return Object.prototype.hasOwnProperty.call(t,e)}e.log=function(){var t,r;console.log("%s - %s",(t=new Date,r=[E(t.getHours()),E(t.getMinutes()),E(t.getSeconds())].join(":"),[t.getDate(),A[t.getMonth()],r].join(" ")),e.format.apply(e,arguments))},e.inherits=r(5717),e._extend=function(t,e){if(!e||!O(e))return t;for(var r=Object.keys(e),n=r.length;n--;)t[r[n]]=e[r[n]];return t};var P="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):void 0;function I(t,e){if(!t){var r=new Error("Promise was rejected with a falsy value");r.reason=t,t=r}return e(t)}e.promisify=function(t){if("function"!=typeof t)throw new TypeError('The "original" argument must be of type Function');if(P&&t[P]){var e;if("function"!=typeof(e=t[P]))throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(e,P,{value:e,enumerable:!1,writable:!1,
2configurable:!0}),e}function e(){for(var e,r,n=new Promise((function(t,n){e=t,r=n})),o=[],i=0;i<arguments.length;i++)o.push(arguments[i]);o.push((function(t,n){t?r(t):e(n)}));try{t.apply(this,o)}catch(s){r(s)}return n}return Object.setPrototypeOf(e,Object.getPrototypeOf(t)),P&&Object.defineProperty(e,P,{value:e,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(e,n(t))},e.promisify.custom=P,e.callbackify=function(t){if("function"!=typeof t)throw new TypeError('The "original" argument must be of type Function');function e(){for(var e=[],r=0;r<arguments.length;r++)e.push(arguments[r]);var n=e.pop();if("function"!=typeof n)throw new TypeError("The last argument must be of type Function");var o=this,i=function(){return n.apply(o,arguments)};t.apply(this,e).then((function(t){process.nextTick(i.bind(null,null,t))}),(function(t){process.nextTick(I.bind(null,t,i))}))}return Object.setPrototypeOf(e,Object.getPrototypeOf(t)),Object.defineProperties(e,n(t)),e}},6430:function(t,e,r){"use strict";var n=r(4029),o=r(3083),i=r(1924),s=r(7296),a=i("Object.prototype.toString"),l=r(6410)(),c="undefined"==typeof globalThis?r.g:globalThis,u=o(),p=i("String.prototype.slice"),h={},f=Object.getPrototypeOf;l&&s&&f&&n(u,(function(t){if("function"==typeof c[t]){var e=new c[t];if(Symbol.toStringTag in e){var r=f(e),n=s(r,Symbol.toStringTag);if(!n){var o=f(r);n=s(o,Symbol.toStringTag)}h[t]=n.get}}}));var d=r(5692);t.exports=function(t){return!!d(t)&&(l&&Symbol.toStringTag in t?function(t){var e=!1;return n(h,(function(r,n){if(!e)try{var o=r.call(t);o===n&&(e=o)}catch(i){}})),e}(t):p(a(t),8,-1))}},3083:function(t,e,r){"use strict";var n=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],o="undefined"==typeof globalThis?r.g:globalThis;t.exports=function(){for(var t=[],e=0;e<n.length;e++)"function"==typeof o[n[e]]&&(t[t.length]=n[e]);return t}}}]); 3//# sourceMappingURL=77686358f0037b81fcb056f4656d2ea8cfbb3820-c604aed6cdcf7b906def.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.