sveld 0.36.2 → 0.36.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- import{ea as qU,fa as e,ha as p0}from"./chunk-t9d5k3p7.js";var H$=e((MY)=>{Object.defineProperty(MY,"__esModule",{value:!0});MY.boolean=oJ;MY.string=PY;MY.number=aJ;MY.error=tJ;MY.func=nJ;MY.array=DY;MY.stringArray=eJ;function oJ($){return $===!0||$===!1}function PY($){return typeof $==="string"||$ instanceof String}function aJ($){return typeof $==="number"||$ instanceof Number}function tJ($){return $ instanceof Error}function nJ($){return typeof $==="function"}function DY($){return Array.isArray($)}function eJ($){return DY($)&&$.every((Z)=>PY(Z))}});var Z6=e((j)=>{var U3=j&&j.__createBinding||(Object.create?function($,Z,Y,Q){if(Q===void 0)Q=Y;var G=Object.getOwnPropertyDescriptor(Z,Y);if(!G||("get"in G?!Z.__esModule:G.writable||G.configurable))G={enumerable:!0,get:function(){return Z[Y]}};Object.defineProperty($,Q,G)}:function($,Z,Y,Q){if(Q===void 0)Q=Y;$[Q]=Z[Y]}),W3=j&&j.__setModuleDefault||(Object.create?function($,Z){Object.defineProperty($,"default",{enumerable:!0,value:Z})}:function($,Z){$.default=Z}),V3=j&&j.__importStar||function(){var $=function(Z){return $=Object.getOwnPropertyNames||function(Y){var Q=[];for(var G in Y)if(Object.prototype.hasOwnProperty.call(Y,G))Q[Q.length]=G;return Q},$(Z)};return function(Z){if(Z&&Z.__esModule)return Z;var Y={};if(Z!=null){for(var Q=$(Z),G=0;G<Q.length;G++)if(Q[G]!=="default")U3(Y,Z,Q[G])}return W3(Y,Z),Y}}();Object.defineProperty(j,"__esModule",{value:!0});j.Message=j.NotificationType9=j.NotificationType8=j.NotificationType7=j.NotificationType6=j.NotificationType5=j.NotificationType4=j.NotificationType3=j.NotificationType2=j.NotificationType1=j.NotificationType0=j.NotificationType=j.RequestType9=j.RequestType8=j.RequestType7=j.RequestType6=j.RequestType5=j.RequestType4=j.RequestType3=j.RequestType2=j.RequestType1=j.RequestType=j.RequestType0=j.AbstractMessageSignature=j.ParameterStructures=j.ResponseError=j.ErrorCodes=void 0;var n0=V3(H$()),eZ;(function($){$.ParseError=-32700,$.InvalidRequest=-32600,$.MethodNotFound=-32601,$.InvalidParams=-32602,$.InternalError=-32603,$.jsonrpcReservedErrorRangeStart=-32099,$.serverErrorStart=-32099,$.MessageWriteError=-32099,$.MessageReadError=-32098,$.PendingResponseRejected=-32097,$.ConnectionInactive=-32096,$.ServerNotInitialized=-32002,$.UnknownErrorCode=-32001,$.jsonrpcReservedErrorRangeEnd=-32000,$.serverErrorEnd=-32000})(eZ||(j.ErrorCodes=eZ={}));class $6 extends Error{code;data;constructor($,Z,Y){super(Z);this.code=n0.number($)?$:eZ.UnknownErrorCode,this.data=Y,Object.setPrototypeOf(this,$6.prototype)}toJson(){let $={code:this.code,message:this.message};if(this.data!==void 0)$.data=this.data;return $}}j.ResponseError=$6;class V0{kind;static auto=new V0("auto");static byPosition=new V0("byPosition");static byName=new V0("byName");constructor($){this.kind=$}static is($){return $===V0.auto||$===V0.byName||$===V0.byPosition}toString(){return this.kind}}j.ParameterStructures=V0;class p{method;numberOfParams;constructor($,Z){this.method=$,this.numberOfParams=Z}get parameterStructures(){return V0.auto}}j.AbstractMessageSignature=p;class EY extends p{_;constructor($){super($,0)}}j.RequestType0=EY;class OY extends p{_parameterStructures;_;constructor($,Z=V0.auto){super($,1);this._parameterStructures=Z}get parameterStructures(){return this._parameterStructures}}j.RequestType=OY;class _Y extends p{_parameterStructures;_;constructor($,Z=V0.auto){super($,1);this._parameterStructures=Z}get parameterStructures(){return this._parameterStructures}}j.RequestType1=_Y;class TY extends p{_;constructor($){super($,2)}}j.RequestType2=TY;class vY extends p{_;constructor($){super($,3)}}j.RequestType3=vY;class fY extends p{_;constructor($){super($,4)}}j.RequestType4=fY;class kY extends p{_;constructor($){super($,5)}}j.RequestType5=kY;class CY extends p{_;constructor($){super($,6)}}j.RequestType6=CY;class FY extends p{_;constructor($){super($,7)}}j.RequestType7=FY;class hY extends p{_;constructor($){super($,8)}}j.RequestType8=hY;class NY extends p{_;constructor($){super($,9)}}j.RequestType9=NY;class uY extends p{_parameterStructures;_;constructor($,Z=V0.auto){super($,1);this._parameterStructures=Z}get parameterStructures(){return this._parameterStructures}}j.NotificationType=uY;class KY extends p{_;constructor($){super($,0)}}j.NotificationType0=KY;class bY extends p{_parameterStructures;_;constructor($,Z=V0.auto){super($,1);this._parameterStructures=Z}get parameterStructures(){return this._parameterStructures}}j.NotificationType1=bY;class SY extends p{_;constructor($){super($,2)}}j.NotificationType2=SY;class xY extends p{_;constructor($){super($,3)}}j.NotificationType3=xY;class gY extends p{_;constructor($){super($,4)}}j.NotificationType4=gY;class pY extends p{_;constructor($){super($,5)}}j.NotificationType5=pY;class yY extends p{_;constructor($){super($,6)}}j.NotificationType6=yY;class mY extends p{_;constructor($){super($,7)}}j.NotificationType7=mY;class cY extends p{_;constructor($){super($,8)}}j.NotificationType8=cY;class lY extends p{_;constructor($){super($,9)}}j.NotificationType9=lY;var jY;(function($){function Z(G){let J=G;return J&&n0.string(J.method)&&(n0.string(J.id)||n0.number(J.id))}$.isRequest=Z;function Y(G){let J=G;return J&&n0.string(J.method)&&G.id===void 0}$.isNotification=Y;function Q(G){let J=G;return J&&(J.result!==void 0||!!J.error)&&(n0.string(J.id)||n0.number(J.id)||J.id===null)}$.isResponse=Q})(jY||(j.Message=jY={}))});var X6=e((sY)=>{Object.defineProperty(sY,"__esModule",{value:!0});sY.LRUCache=sY.LinkedMap=sY.Touch=void 0;var $0;(function($){$.None=0,$.First=1,$.AsOld=$.First,$.Last=2,$.AsNew=$.Last})($0||(sY.Touch=$0={}));class Y6{[Symbol.toStringTag]="LinkedMap";_map;_head;_tail;_size;_state;constructor(){this._map=new Map,this._head=void 0,this._tail=void 0,this._size=0,this._state=0}clear(){this._map.clear(),this._head=void 0,this._tail=void 0,this._size=0,this._state++}isEmpty(){return!this._head&&!this._tail}get size(){return this._size}get first(){return this._head?.value}get last(){return this._tail?.value}before($){let Z=this._map.get($);return Z?Z.previous?.value:void 0}after($){let Z=this._map.get($);return Z?Z.next?.value:void 0}has($){return this._map.has($)}get($,Z=$0.None){let Y=this._map.get($);if(!Y)return;if(Z!==$0.None)this.touch(Y,Z);return Y.value}set($,Z,Y=$0.None){let Q=this._map.get($);if(Q){if(Q.value=Z,Y!==$0.None)this.touch(Q,Y)}else{switch(Q={key:$,value:Z,next:void 0,previous:void 0},Y){case $0.None:this.addItemLast(Q);break;case $0.First:this.addItemFirst(Q);break;case $0.Last:this.addItemLast(Q);break;default:this.addItemLast(Q);break}this._map.set($,Q),this._size++}return this}delete($){return!!this.remove($)}remove($){let Z=this._map.get($);if(!Z)return;return this._map.delete($),this.removeItem(Z),this._size--,Z.value}shift(){if(!this._head&&!this._tail)return;if(!this._head||!this._tail)throw Error("Invalid list");let $=this._head;return this._map.delete($.key),this.removeItem($),this._size--,$.value}forEach($,Z){let Y=this._state,Q=this._head;while(Q){if(Z)$.bind(Z)(Q.value,Q.key,this);else $(Q.value,Q.key,this);if(this._state!==Y)throw Error("LinkedMap got modified during iteration.");Q=Q.next}}keys(){let $=this._state,Z=this._head,Y={[Symbol.iterator]:()=>{return Y},next:()=>{if(this._state!==$)throw Error("LinkedMap got modified during iteration.");if(Z){let Q={value:Z.key,done:!1};return Z=Z.next,Q}else return{value:void 0,done:!0}}};return Y}values(){let $=this._state,Z=this._head,Y={[Symbol.iterator]:()=>{return Y},next:()=>{if(this._state!==$)throw Error("LinkedMap got modified during iteration.");if(Z){let Q={value:Z.value,done:!1};return Z=Z.next,Q}else return{value:void 0,done:!0}}};return Y}entries(){let $=this._state,Z=this._head,Y={[Symbol.iterator]:()=>{return Y},next:()=>{if(this._state!==$)throw Error("LinkedMap got modified during iteration.");if(Z){let Q={value:[Z.key,Z.value],done:!1};return Z=Z.next,Q}else return{value:void 0,done:!0}}};return Y}[Symbol.iterator](){return this.entries()}trimOld($){if($>=this.size)return;if($===0){this.clear();return}let Z=this._head,Y=this.size;while(Z&&Y>$)this._map.delete(Z.key),Z=Z.next,Y--;if(this._head=Z,this._size=Y,Z)Z.previous=void 0;this._state++}addItemFirst($){if(!this._head&&!this._tail)this._tail=$;else if(!this._head)throw Error("Invalid list");else $.next=this._head,this._head.previous=$;this._head=$,this._state++}addItemLast($){if(!this._head&&!this._tail)this._head=$;else if(!this._tail)throw Error("Invalid list");else $.previous=this._tail,this._tail.next=$;this._tail=$,this._state++}removeItem($){if($===this._head&&$===this._tail)this._head=void 0,this._tail=void 0;else if($===this._head){if(!$.next)throw Error("Invalid list");$.next.previous=void 0,this._head=$.next}else if($===this._tail){if(!$.previous)throw Error("Invalid list");$.previous.next=void 0,this._tail=$.previous}else{let{next:Z,previous:Y}=$;if(!Z||!Y)throw Error("Invalid list");Z.previous=Y,Y.next=Z}$.next=void 0,$.previous=void 0,this._state++}touch($,Z){if(!this._head||!this._tail)throw Error("Invalid list");if(Z!==$0.First&&Z!==$0.Last)return;if(Z===$0.First){if($===this._head)return;let{next:Y,previous:Q}=$;if($===this._tail)Q.next=void 0,this._tail=Q;else Y.previous=Q,Q.next=Y;$.previous=void 0,$.next=this._head,this._head.previous=$,this._head=$,this._state++}else if(Z===$0.Last){if($===this._tail)return;let{next:Y,previous:Q}=$;if($===this._head)Y.previous=void 0,this._head=Y;else Y.previous=Q,Q.next=Y;$.next=void 0,$.previous=this._tail,this._tail.next=$,this._tail=$,this._state++}}toJSON(){let $=[];return this.forEach((Z,Y)=>{$.push([Y,Z])}),$}fromJSON($){this.clear();for(let[Z,Y]of $)this.set(Z,Y)}}sY.LinkedMap=Y6;class rY extends Y6{_limit;_ratio;constructor($,Z=1){super();this._limit=$,this._ratio=Math.min(Math.max(0,Z),1)}get limit(){return this._limit}set limit($){this._limit=$,this.checkTrim()}get ratio(){return this._ratio}set ratio($){this._ratio=Math.min(Math.max(0,$),1),this.checkTrim()}get($,Z=$0.AsNew){return super.get($,Z)}peek($){return super.get($,$0.None)}set($,Z){return super.set($,Z,$0.Last),this.checkTrim(),this}checkTrim(){if(this.size>this._limit)this.trimOld(Math.round(this._limit*this._ratio))}}sY.LRUCache=rY});var tY=e((oY)=>{Object.defineProperty(oY,"__esModule",{value:!0});oY.Disposable=void 0;var dY;(function($){function Z(Y){return{dispose:Y}}$.create=Z})(dY||(oY.Disposable=dY={}))});var x0=e((nY)=>{Object.defineProperty(nY,"__esModule",{value:!0});var Q6;function G6(){if(Q6===void 0)throw Error("No runtime abstraction layer installed");return Q6}(function($){function Z(Y){if(Y===void 0)throw Error("No runtime abstraction layer provided");Q6=Y}$.install=Z})(G6||(G6={}));nY.default=G6});var z$=e((g0)=>{var q3=g0&&g0.__importDefault||function($){return $&&$.__esModule?$:{default:$}};Object.defineProperty(g0,"__esModule",{value:!0});g0.Emitter=g0.Event=void 0;var B3=q3(x0()),eY;(function($){let Z={dispose(){}};$.None=function(){return Z}})(eY||(g0.Event=eY={}));class $X{_callbacks;_contexts;add($,Z=null,Y){if(!this._callbacks)this._callbacks=[],this._contexts=[];if(this._callbacks.push($),this._contexts.push(Z),Array.isArray(Y))Y.push({dispose:()=>this.remove($,Z)})}remove($,Z=null){if(!this._callbacks)return;let Y=!1;for(let Q=0,G=this._callbacks.length;Q<G;Q++)if(this._callbacks[Q]===$)if(this._contexts[Q]===Z){this._callbacks.splice(Q,1),this._contexts.splice(Q,1);return}else Y=!0;if(Y)throw Error("When adding a listener with a context, you should remove it with the same context")}invoke(...$){if(!this._callbacks)return[];let Z=[],Y=this._callbacks.slice(0),Q=this._contexts.slice(0);for(let G=0,J=Y.length;G<J;G++)try{Z.push(Y[G].apply(Q[G],$))}catch(V){(0,B3.default)().console.error(V)}return Z}isEmpty(){return!this._callbacks||this._callbacks.length===0}dispose(){this._callbacks=void 0,this._contexts=void 0}}class J6{_options;static _noop=function(){};_event;_callbacks;constructor($){this._options=$}get event(){if(!this._event)this._event=($,Z,Y)=>{if(!this._callbacks)this._callbacks=new $X;if(this._options&&this._options.onFirstListenerAdd&&this._callbacks.isEmpty())this._options.onFirstListenerAdd(this);this._callbacks.add($,Z);let Q={dispose:()=>{if(!this._callbacks)return;if(this._callbacks.remove($,Z),Q.dispose=J6._noop,this._options&&this._options.onLastListenerRemove&&this._callbacks.isEmpty())this._options.onLastListenerRemove(this)}};if(Array.isArray(Y))Y.push(Q);return Q};return this._event}fire($){if(this._callbacks)this._callbacks.invoke.call(this._callbacks,$)}dispose(){if(this._callbacks)this._callbacks.dispose(),this._callbacks=void 0}}g0.Emitter=J6});var HZ=e((J0)=>{var L3=J0&&J0.__createBinding||(Object.create?function($,Z,Y,Q){if(Q===void 0)Q=Y;var G=Object.getOwnPropertyDescriptor(Z,Y);if(!G||("get"in G?!Z.__esModule:G.writable||G.configurable))G={enumerable:!0,get:function(){return Z[Y]}};Object.defineProperty($,Q,G)}:function($,Z,Y,Q){if(Q===void 0)Q=Y;$[Q]=Z[Y]}),A3=J0&&J0.__setModuleDefault||(Object.create?function($,Z){Object.defineProperty($,"default",{enumerable:!0,value:Z})}:function($,Z){$.default=Z}),R3=J0&&J0.__importStar||function(){var $=function(Z){return $=Object.getOwnPropertyNames||function(Y){var Q=[];for(var G in Y)if(Object.prototype.hasOwnProperty.call(Y,G))Q[Q.length]=G;return Q},$(Z)};return function(Z){if(Z&&Z.__esModule)return Z;var Y={};if(Z!=null){for(var Q=$(Z),G=0;G<Q.length;G++)if(Q[G]!=="default")L3(Y,Z,Q[G])}return A3(Y,Z),Y}}(),I3=J0&&J0.__importDefault||function($){return $&&$.__esModule?$:{default:$}};Object.defineProperty(J0,"__esModule",{value:!0});J0.CancellationTokenSource=J0.CancellationToken=void 0;var P3=I3(x0()),D3=R3(H$()),U6=z$(),VZ;(function($){$.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:U6.Event.None}),$.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:U6.Event.None});function Z(Y){let Q=Y;return Q&&(Q===$.None||Q===$.Cancelled||D3.boolean(Q.isCancellationRequested)&&!!Q.onCancellationRequested)}$.is=Z})(VZ||(J0.CancellationToken=VZ={}));var M3=Object.freeze(function($,Z){let Y=(0,P3.default)().timer.setTimeout($.bind(Z),0);return{dispose(){Y.dispose()}}});class W6{_isCancelled=!1;_emitter;cancel(){if(!this._isCancelled){if(this._isCancelled=!0,this._emitter)this._emitter.fire(void 0),this.dispose()}}get isCancellationRequested(){return this._isCancelled}get onCancellationRequested(){if(this._isCancelled)return M3;if(!this._emitter)this._emitter=new U6.Emitter;return this._emitter.event}dispose(){if(this._emitter)this._emitter.dispose(),this._emitter=void 0}}class ZX{_token;get token(){if(!this._token)this._token=new W6;return this._token}cancel(){if(!this._token)this._token=VZ.Cancelled;else this._token.cancel()}dispose(){if(!this._token)this._token=VZ.None;else if(this._token instanceof W6)this._token.dispose()}}J0.CancellationTokenSource=ZX});var WX=e((JX)=>{Object.defineProperty(JX,"__esModule",{value:!0});JX.SharedArrayReceiverStrategy=JX.SharedArraySenderStrategy=void 0;var j3=HZ(),h$;(function($){$.Continue=0,$.Cancelled=1})(h$||(h$={}));class YX{buffers;constructor(){this.buffers=new Map}enableCancellation($){if($.id===null)return;let Z=new SharedArrayBuffer(4),Y=new Int32Array(Z,0,1);Y[0]=h$.Continue,this.buffers.set($.id,Z),$.$cancellationData=Z}async sendCancellation($,Z){let Y=this.buffers.get(Z);if(Y===void 0)return;let Q=new Int32Array(Y,0,1);Atomics.store(Q,0,h$.Cancelled)}cleanup($){this.buffers.delete($)}dispose(){this.buffers.clear()}}JX.SharedArraySenderStrategy=YX;class XX{data;constructor($){this.data=new Int32Array($,0,1)}get isCancellationRequested(){return Atomics.load(this.data,0)===h$.Cancelled}get onCancellationRequested(){throw Error("Cancellation over SharedArrayBuffer doesn't support cancellation events")}}class QX{token;constructor($){this.token=new XX($)}cancel(){}dispose(){}}class GX{kind="request";createCancellationTokenSource($){let Z=$.$cancellationData;if(Z===void 0)return new j3.CancellationTokenSource;return new QX(Z)}}JX.SharedArrayReceiverStrategy=GX});var V6=e((w$)=>{var O3=w$&&w$.__importDefault||function($){return $&&$.__esModule?$:{default:$}};Object.defineProperty(w$,"__esModule",{value:!0});w$.Semaphore=void 0;var _3=O3(x0());class VX{_capacity;_active;_waiting;constructor($=1){if($<=0)throw Error("Capacity must be greater than 0");this._capacity=$,this._active=0,this._waiting=[]}lock($){return new Promise((Z,Y)=>{this._waiting.push({thunk:$,resolve:Z,reject:Y}),this.runNext()})}get active(){return this._active}runNext(){if(this._waiting.length===0||this._active===this._capacity)return;(0,_3.default)().timer.setImmediate(()=>this.doRunNext())}doRunNext(){if(this._waiting.length===0||this._active===this._capacity)return;let $=this._waiting.shift();if(this._active++,this._active>this._capacity)throw Error("Too many thunks active");try{let Z=$.thunk();if(Z instanceof Promise)Z.then((Y)=>{this._active--,$.resolve(Y),this.runNext()},(Y)=>{this._active--,$.reject(Y),this.runNext()});else this._active--,$.resolve(Z),this.runNext()}catch(Z){this._active--,$.reject(Z),this.runNext()}}}w$.Semaphore=VX});var wX=e((Z0)=>{var T3=Z0&&Z0.__createBinding||(Object.create?function($,Z,Y,Q){if(Q===void 0)Q=Y;var G=Object.getOwnPropertyDescriptor(Z,Y);if(!G||("get"in G?!Z.__esModule:G.writable||G.configurable))G={enumerable:!0,get:function(){return Z[Y]}};Object.defineProperty($,Q,G)}:function($,Z,Y,Q){if(Q===void 0)Q=Y;$[Q]=Z[Y]}),v3=Z0&&Z0.__setModuleDefault||(Object.create?function($,Z){Object.defineProperty($,"default",{enumerable:!0,value:Z})}:function($,Z){$.default=Z}),f3=Z0&&Z0.__importStar||function(){var $=function(Z){return $=Object.getOwnPropertyNames||function(Y){var Q=[];for(var G in Y)if(Object.prototype.hasOwnProperty.call(Y,G))Q[Q.length]=G;return Q},$(Z)};return function(Z){if(Z&&Z.__esModule)return Z;var Y={};if(Z!=null){for(var Q=$(Z),G=0;G<Q.length;G++)if(Q[G]!=="default")T3(Y,Z,Q[G])}return v3(Y,Z),Y}}(),k3=Z0&&Z0.__importDefault||function($){return $&&$.__esModule?$:{default:$}};Object.defineProperty(Z0,"__esModule",{value:!0});Z0.ReadableStreamMessageReader=Z0.AbstractMessageReader=Z0.MessageReader=void 0;var z6=k3(x0()),q$=f3(H$()),H6=z$(),C3=V6(),HX;(function($){function Z(Y){let Q=Y;return Q&&q$.func(Q.listen)&&q$.func(Q.dispose)&&q$.func(Q.onError)&&q$.func(Q.onClose)&&q$.func(Q.onPartialMessage)}$.is=Z})(HX||(Z0.MessageReader=HX={}));class q6{errorEmitter;closeEmitter;partialMessageEmitter;constructor(){this.errorEmitter=new H6.Emitter,this.closeEmitter=new H6.Emitter,this.partialMessageEmitter=new H6.Emitter}dispose(){this.errorEmitter.dispose(),this.closeEmitter.dispose(),this.partialMessageEmitter.dispose()}get onError(){return this.errorEmitter.event}fireError($){this.errorEmitter.fire(this.asError($))}get onClose(){return this.closeEmitter.event}fireClose(){this.closeEmitter.fire(void 0)}get onPartialMessage(){return this.partialMessageEmitter.event}firePartialMessage($){this.partialMessageEmitter.fire($)}asError($){if($ instanceof Error)return $;else return Error(`Reader received error. Reason: ${q$.string($.message)?$.message:"unknown"}`)}}Z0.AbstractMessageReader=q6;var w6;(function($){function Z(Y){let Q,G,J,V=new Map,L,P=new Map;if(Y===void 0||typeof Y==="string")Q=Y??"utf-8";else{if(Q=Y.charset??"utf-8",Y.contentDecoder!==void 0)J=Y.contentDecoder,V.set(J.name,J);if(Y.contentDecoders!==void 0)for(let _ of Y.contentDecoders)V.set(_.name,_);if(Y.contentTypeDecoder!==void 0)L=Y.contentTypeDecoder,P.set(L.name,L);if(Y.contentTypeDecoders!==void 0)for(let _ of Y.contentTypeDecoders)P.set(_.name,_)}if(L===void 0)L=(0,z6.default)().applicationJson.decoder,P.set(L.name,L);return{charset:Q,contentDecoder:J,contentDecoders:V,contentTypeDecoder:L,contentTypeDecoders:P}}$.fromOptions=Z})(w6||(w6={}));class zX extends q6{readable;options;callback;nextMessageLength;messageToken;buffer;partialMessageTimer;_partialMessageTimeout;readSemaphore;constructor($,Z){super();this.readable=$,this.options=w6.fromOptions(Z),this.buffer=(0,z6.default)().messageBuffer.create(this.options.charset),this._partialMessageTimeout=1e4,this.nextMessageLength=-1,this.messageToken=0,this.readSemaphore=new C3.Semaphore(1)}set partialMessageTimeout($){this._partialMessageTimeout=$}get partialMessageTimeout(){return this._partialMessageTimeout}listen($){this.nextMessageLength=-1,this.messageToken=0,this.partialMessageTimer=void 0,this.callback=$;let Z=this.readable.onData((Y)=>{this.onData(Y)});return this.readable.onError((Y)=>this.fireError(Y)),this.readable.onClose(()=>this.fireClose()),Z}onData($){try{this.buffer.append($);while(!0){if(this.nextMessageLength===-1){let Y=this.buffer.tryReadHeaders(!0);if(!Y)return;let Q=Y.get("content-length");if(!Q){this.fireError(Error(`Header must provide a Content-Length property.
1
+ import{ga as qU,ha as e,ja as p0}from"./chunk-ndh639r1.js";var H$=e((MY)=>{Object.defineProperty(MY,"__esModule",{value:!0});MY.boolean=oJ;MY.string=PY;MY.number=aJ;MY.error=tJ;MY.func=nJ;MY.array=DY;MY.stringArray=eJ;function oJ($){return $===!0||$===!1}function PY($){return typeof $==="string"||$ instanceof String}function aJ($){return typeof $==="number"||$ instanceof Number}function tJ($){return $ instanceof Error}function nJ($){return typeof $==="function"}function DY($){return Array.isArray($)}function eJ($){return DY($)&&$.every((Z)=>PY(Z))}});var Z6=e((j)=>{var U3=j&&j.__createBinding||(Object.create?function($,Z,Y,Q){if(Q===void 0)Q=Y;var G=Object.getOwnPropertyDescriptor(Z,Y);if(!G||("get"in G?!Z.__esModule:G.writable||G.configurable))G={enumerable:!0,get:function(){return Z[Y]}};Object.defineProperty($,Q,G)}:function($,Z,Y,Q){if(Q===void 0)Q=Y;$[Q]=Z[Y]}),W3=j&&j.__setModuleDefault||(Object.create?function($,Z){Object.defineProperty($,"default",{enumerable:!0,value:Z})}:function($,Z){$.default=Z}),V3=j&&j.__importStar||function(){var $=function(Z){return $=Object.getOwnPropertyNames||function(Y){var Q=[];for(var G in Y)if(Object.prototype.hasOwnProperty.call(Y,G))Q[Q.length]=G;return Q},$(Z)};return function(Z){if(Z&&Z.__esModule)return Z;var Y={};if(Z!=null){for(var Q=$(Z),G=0;G<Q.length;G++)if(Q[G]!=="default")U3(Y,Z,Q[G])}return W3(Y,Z),Y}}();Object.defineProperty(j,"__esModule",{value:!0});j.Message=j.NotificationType9=j.NotificationType8=j.NotificationType7=j.NotificationType6=j.NotificationType5=j.NotificationType4=j.NotificationType3=j.NotificationType2=j.NotificationType1=j.NotificationType0=j.NotificationType=j.RequestType9=j.RequestType8=j.RequestType7=j.RequestType6=j.RequestType5=j.RequestType4=j.RequestType3=j.RequestType2=j.RequestType1=j.RequestType=j.RequestType0=j.AbstractMessageSignature=j.ParameterStructures=j.ResponseError=j.ErrorCodes=void 0;var n0=V3(H$()),eZ;(function($){$.ParseError=-32700,$.InvalidRequest=-32600,$.MethodNotFound=-32601,$.InvalidParams=-32602,$.InternalError=-32603,$.jsonrpcReservedErrorRangeStart=-32099,$.serverErrorStart=-32099,$.MessageWriteError=-32099,$.MessageReadError=-32098,$.PendingResponseRejected=-32097,$.ConnectionInactive=-32096,$.ServerNotInitialized=-32002,$.UnknownErrorCode=-32001,$.jsonrpcReservedErrorRangeEnd=-32000,$.serverErrorEnd=-32000})(eZ||(j.ErrorCodes=eZ={}));class $6 extends Error{code;data;constructor($,Z,Y){super(Z);this.code=n0.number($)?$:eZ.UnknownErrorCode,this.data=Y,Object.setPrototypeOf(this,$6.prototype)}toJson(){let $={code:this.code,message:this.message};if(this.data!==void 0)$.data=this.data;return $}}j.ResponseError=$6;class V0{kind;static auto=new V0("auto");static byPosition=new V0("byPosition");static byName=new V0("byName");constructor($){this.kind=$}static is($){return $===V0.auto||$===V0.byName||$===V0.byPosition}toString(){return this.kind}}j.ParameterStructures=V0;class p{method;numberOfParams;constructor($,Z){this.method=$,this.numberOfParams=Z}get parameterStructures(){return V0.auto}}j.AbstractMessageSignature=p;class EY extends p{_;constructor($){super($,0)}}j.RequestType0=EY;class OY extends p{_parameterStructures;_;constructor($,Z=V0.auto){super($,1);this._parameterStructures=Z}get parameterStructures(){return this._parameterStructures}}j.RequestType=OY;class _Y extends p{_parameterStructures;_;constructor($,Z=V0.auto){super($,1);this._parameterStructures=Z}get parameterStructures(){return this._parameterStructures}}j.RequestType1=_Y;class TY extends p{_;constructor($){super($,2)}}j.RequestType2=TY;class vY extends p{_;constructor($){super($,3)}}j.RequestType3=vY;class fY extends p{_;constructor($){super($,4)}}j.RequestType4=fY;class kY extends p{_;constructor($){super($,5)}}j.RequestType5=kY;class CY extends p{_;constructor($){super($,6)}}j.RequestType6=CY;class FY extends p{_;constructor($){super($,7)}}j.RequestType7=FY;class hY extends p{_;constructor($){super($,8)}}j.RequestType8=hY;class NY extends p{_;constructor($){super($,9)}}j.RequestType9=NY;class uY extends p{_parameterStructures;_;constructor($,Z=V0.auto){super($,1);this._parameterStructures=Z}get parameterStructures(){return this._parameterStructures}}j.NotificationType=uY;class KY extends p{_;constructor($){super($,0)}}j.NotificationType0=KY;class bY extends p{_parameterStructures;_;constructor($,Z=V0.auto){super($,1);this._parameterStructures=Z}get parameterStructures(){return this._parameterStructures}}j.NotificationType1=bY;class SY extends p{_;constructor($){super($,2)}}j.NotificationType2=SY;class xY extends p{_;constructor($){super($,3)}}j.NotificationType3=xY;class gY extends p{_;constructor($){super($,4)}}j.NotificationType4=gY;class pY extends p{_;constructor($){super($,5)}}j.NotificationType5=pY;class yY extends p{_;constructor($){super($,6)}}j.NotificationType6=yY;class mY extends p{_;constructor($){super($,7)}}j.NotificationType7=mY;class cY extends p{_;constructor($){super($,8)}}j.NotificationType8=cY;class lY extends p{_;constructor($){super($,9)}}j.NotificationType9=lY;var jY;(function($){function Z(G){let J=G;return J&&n0.string(J.method)&&(n0.string(J.id)||n0.number(J.id))}$.isRequest=Z;function Y(G){let J=G;return J&&n0.string(J.method)&&G.id===void 0}$.isNotification=Y;function Q(G){let J=G;return J&&(J.result!==void 0||!!J.error)&&(n0.string(J.id)||n0.number(J.id)||J.id===null)}$.isResponse=Q})(jY||(j.Message=jY={}))});var X6=e((sY)=>{Object.defineProperty(sY,"__esModule",{value:!0});sY.LRUCache=sY.LinkedMap=sY.Touch=void 0;var $0;(function($){$.None=0,$.First=1,$.AsOld=$.First,$.Last=2,$.AsNew=$.Last})($0||(sY.Touch=$0={}));class Y6{[Symbol.toStringTag]="LinkedMap";_map;_head;_tail;_size;_state;constructor(){this._map=new Map,this._head=void 0,this._tail=void 0,this._size=0,this._state=0}clear(){this._map.clear(),this._head=void 0,this._tail=void 0,this._size=0,this._state++}isEmpty(){return!this._head&&!this._tail}get size(){return this._size}get first(){return this._head?.value}get last(){return this._tail?.value}before($){let Z=this._map.get($);return Z?Z.previous?.value:void 0}after($){let Z=this._map.get($);return Z?Z.next?.value:void 0}has($){return this._map.has($)}get($,Z=$0.None){let Y=this._map.get($);if(!Y)return;if(Z!==$0.None)this.touch(Y,Z);return Y.value}set($,Z,Y=$0.None){let Q=this._map.get($);if(Q){if(Q.value=Z,Y!==$0.None)this.touch(Q,Y)}else{switch(Q={key:$,value:Z,next:void 0,previous:void 0},Y){case $0.None:this.addItemLast(Q);break;case $0.First:this.addItemFirst(Q);break;case $0.Last:this.addItemLast(Q);break;default:this.addItemLast(Q);break}this._map.set($,Q),this._size++}return this}delete($){return!!this.remove($)}remove($){let Z=this._map.get($);if(!Z)return;return this._map.delete($),this.removeItem(Z),this._size--,Z.value}shift(){if(!this._head&&!this._tail)return;if(!this._head||!this._tail)throw Error("Invalid list");let $=this._head;return this._map.delete($.key),this.removeItem($),this._size--,$.value}forEach($,Z){let Y=this._state,Q=this._head;while(Q){if(Z)$.bind(Z)(Q.value,Q.key,this);else $(Q.value,Q.key,this);if(this._state!==Y)throw Error("LinkedMap got modified during iteration.");Q=Q.next}}keys(){let $=this._state,Z=this._head,Y={[Symbol.iterator]:()=>{return Y},next:()=>{if(this._state!==$)throw Error("LinkedMap got modified during iteration.");if(Z){let Q={value:Z.key,done:!1};return Z=Z.next,Q}else return{value:void 0,done:!0}}};return Y}values(){let $=this._state,Z=this._head,Y={[Symbol.iterator]:()=>{return Y},next:()=>{if(this._state!==$)throw Error("LinkedMap got modified during iteration.");if(Z){let Q={value:Z.value,done:!1};return Z=Z.next,Q}else return{value:void 0,done:!0}}};return Y}entries(){let $=this._state,Z=this._head,Y={[Symbol.iterator]:()=>{return Y},next:()=>{if(this._state!==$)throw Error("LinkedMap got modified during iteration.");if(Z){let Q={value:[Z.key,Z.value],done:!1};return Z=Z.next,Q}else return{value:void 0,done:!0}}};return Y}[Symbol.iterator](){return this.entries()}trimOld($){if($>=this.size)return;if($===0){this.clear();return}let Z=this._head,Y=this.size;while(Z&&Y>$)this._map.delete(Z.key),Z=Z.next,Y--;if(this._head=Z,this._size=Y,Z)Z.previous=void 0;this._state++}addItemFirst($){if(!this._head&&!this._tail)this._tail=$;else if(!this._head)throw Error("Invalid list");else $.next=this._head,this._head.previous=$;this._head=$,this._state++}addItemLast($){if(!this._head&&!this._tail)this._head=$;else if(!this._tail)throw Error("Invalid list");else $.previous=this._tail,this._tail.next=$;this._tail=$,this._state++}removeItem($){if($===this._head&&$===this._tail)this._head=void 0,this._tail=void 0;else if($===this._head){if(!$.next)throw Error("Invalid list");$.next.previous=void 0,this._head=$.next}else if($===this._tail){if(!$.previous)throw Error("Invalid list");$.previous.next=void 0,this._tail=$.previous}else{let{next:Z,previous:Y}=$;if(!Z||!Y)throw Error("Invalid list");Z.previous=Y,Y.next=Z}$.next=void 0,$.previous=void 0,this._state++}touch($,Z){if(!this._head||!this._tail)throw Error("Invalid list");if(Z!==$0.First&&Z!==$0.Last)return;if(Z===$0.First){if($===this._head)return;let{next:Y,previous:Q}=$;if($===this._tail)Q.next=void 0,this._tail=Q;else Y.previous=Q,Q.next=Y;$.previous=void 0,$.next=this._head,this._head.previous=$,this._head=$,this._state++}else if(Z===$0.Last){if($===this._tail)return;let{next:Y,previous:Q}=$;if($===this._head)Y.previous=void 0,this._head=Y;else Y.previous=Q,Q.next=Y;$.next=void 0,$.previous=this._tail,this._tail.next=$,this._tail=$,this._state++}}toJSON(){let $=[];return this.forEach((Z,Y)=>{$.push([Y,Z])}),$}fromJSON($){this.clear();for(let[Z,Y]of $)this.set(Z,Y)}}sY.LinkedMap=Y6;class rY extends Y6{_limit;_ratio;constructor($,Z=1){super();this._limit=$,this._ratio=Math.min(Math.max(0,Z),1)}get limit(){return this._limit}set limit($){this._limit=$,this.checkTrim()}get ratio(){return this._ratio}set ratio($){this._ratio=Math.min(Math.max(0,$),1),this.checkTrim()}get($,Z=$0.AsNew){return super.get($,Z)}peek($){return super.get($,$0.None)}set($,Z){return super.set($,Z,$0.Last),this.checkTrim(),this}checkTrim(){if(this.size>this._limit)this.trimOld(Math.round(this._limit*this._ratio))}}sY.LRUCache=rY});var tY=e((oY)=>{Object.defineProperty(oY,"__esModule",{value:!0});oY.Disposable=void 0;var dY;(function($){function Z(Y){return{dispose:Y}}$.create=Z})(dY||(oY.Disposable=dY={}))});var x0=e((nY)=>{Object.defineProperty(nY,"__esModule",{value:!0});var Q6;function G6(){if(Q6===void 0)throw Error("No runtime abstraction layer installed");return Q6}(function($){function Z(Y){if(Y===void 0)throw Error("No runtime abstraction layer provided");Q6=Y}$.install=Z})(G6||(G6={}));nY.default=G6});var z$=e((g0)=>{var q3=g0&&g0.__importDefault||function($){return $&&$.__esModule?$:{default:$}};Object.defineProperty(g0,"__esModule",{value:!0});g0.Emitter=g0.Event=void 0;var B3=q3(x0()),eY;(function($){let Z={dispose(){}};$.None=function(){return Z}})(eY||(g0.Event=eY={}));class $X{_callbacks;_contexts;add($,Z=null,Y){if(!this._callbacks)this._callbacks=[],this._contexts=[];if(this._callbacks.push($),this._contexts.push(Z),Array.isArray(Y))Y.push({dispose:()=>this.remove($,Z)})}remove($,Z=null){if(!this._callbacks)return;let Y=!1;for(let Q=0,G=this._callbacks.length;Q<G;Q++)if(this._callbacks[Q]===$)if(this._contexts[Q]===Z){this._callbacks.splice(Q,1),this._contexts.splice(Q,1);return}else Y=!0;if(Y)throw Error("When adding a listener with a context, you should remove it with the same context")}invoke(...$){if(!this._callbacks)return[];let Z=[],Y=this._callbacks.slice(0),Q=this._contexts.slice(0);for(let G=0,J=Y.length;G<J;G++)try{Z.push(Y[G].apply(Q[G],$))}catch(V){(0,B3.default)().console.error(V)}return Z}isEmpty(){return!this._callbacks||this._callbacks.length===0}dispose(){this._callbacks=void 0,this._contexts=void 0}}class J6{_options;static _noop=function(){};_event;_callbacks;constructor($){this._options=$}get event(){if(!this._event)this._event=($,Z,Y)=>{if(!this._callbacks)this._callbacks=new $X;if(this._options&&this._options.onFirstListenerAdd&&this._callbacks.isEmpty())this._options.onFirstListenerAdd(this);this._callbacks.add($,Z);let Q={dispose:()=>{if(!this._callbacks)return;if(this._callbacks.remove($,Z),Q.dispose=J6._noop,this._options&&this._options.onLastListenerRemove&&this._callbacks.isEmpty())this._options.onLastListenerRemove(this)}};if(Array.isArray(Y))Y.push(Q);return Q};return this._event}fire($){if(this._callbacks)this._callbacks.invoke.call(this._callbacks,$)}dispose(){if(this._callbacks)this._callbacks.dispose(),this._callbacks=void 0}}g0.Emitter=J6});var HZ=e((J0)=>{var L3=J0&&J0.__createBinding||(Object.create?function($,Z,Y,Q){if(Q===void 0)Q=Y;var G=Object.getOwnPropertyDescriptor(Z,Y);if(!G||("get"in G?!Z.__esModule:G.writable||G.configurable))G={enumerable:!0,get:function(){return Z[Y]}};Object.defineProperty($,Q,G)}:function($,Z,Y,Q){if(Q===void 0)Q=Y;$[Q]=Z[Y]}),A3=J0&&J0.__setModuleDefault||(Object.create?function($,Z){Object.defineProperty($,"default",{enumerable:!0,value:Z})}:function($,Z){$.default=Z}),R3=J0&&J0.__importStar||function(){var $=function(Z){return $=Object.getOwnPropertyNames||function(Y){var Q=[];for(var G in Y)if(Object.prototype.hasOwnProperty.call(Y,G))Q[Q.length]=G;return Q},$(Z)};return function(Z){if(Z&&Z.__esModule)return Z;var Y={};if(Z!=null){for(var Q=$(Z),G=0;G<Q.length;G++)if(Q[G]!=="default")L3(Y,Z,Q[G])}return A3(Y,Z),Y}}(),I3=J0&&J0.__importDefault||function($){return $&&$.__esModule?$:{default:$}};Object.defineProperty(J0,"__esModule",{value:!0});J0.CancellationTokenSource=J0.CancellationToken=void 0;var P3=I3(x0()),D3=R3(H$()),U6=z$(),VZ;(function($){$.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:U6.Event.None}),$.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:U6.Event.None});function Z(Y){let Q=Y;return Q&&(Q===$.None||Q===$.Cancelled||D3.boolean(Q.isCancellationRequested)&&!!Q.onCancellationRequested)}$.is=Z})(VZ||(J0.CancellationToken=VZ={}));var M3=Object.freeze(function($,Z){let Y=(0,P3.default)().timer.setTimeout($.bind(Z),0);return{dispose(){Y.dispose()}}});class W6{_isCancelled=!1;_emitter;cancel(){if(!this._isCancelled){if(this._isCancelled=!0,this._emitter)this._emitter.fire(void 0),this.dispose()}}get isCancellationRequested(){return this._isCancelled}get onCancellationRequested(){if(this._isCancelled)return M3;if(!this._emitter)this._emitter=new U6.Emitter;return this._emitter.event}dispose(){if(this._emitter)this._emitter.dispose(),this._emitter=void 0}}class ZX{_token;get token(){if(!this._token)this._token=new W6;return this._token}cancel(){if(!this._token)this._token=VZ.Cancelled;else this._token.cancel()}dispose(){if(!this._token)this._token=VZ.None;else if(this._token instanceof W6)this._token.dispose()}}J0.CancellationTokenSource=ZX});var WX=e((JX)=>{Object.defineProperty(JX,"__esModule",{value:!0});JX.SharedArrayReceiverStrategy=JX.SharedArraySenderStrategy=void 0;var j3=HZ(),h$;(function($){$.Continue=0,$.Cancelled=1})(h$||(h$={}));class YX{buffers;constructor(){this.buffers=new Map}enableCancellation($){if($.id===null)return;let Z=new SharedArrayBuffer(4),Y=new Int32Array(Z,0,1);Y[0]=h$.Continue,this.buffers.set($.id,Z),$.$cancellationData=Z}async sendCancellation($,Z){let Y=this.buffers.get(Z);if(Y===void 0)return;let Q=new Int32Array(Y,0,1);Atomics.store(Q,0,h$.Cancelled)}cleanup($){this.buffers.delete($)}dispose(){this.buffers.clear()}}JX.SharedArraySenderStrategy=YX;class XX{data;constructor($){this.data=new Int32Array($,0,1)}get isCancellationRequested(){return Atomics.load(this.data,0)===h$.Cancelled}get onCancellationRequested(){throw Error("Cancellation over SharedArrayBuffer doesn't support cancellation events")}}class QX{token;constructor($){this.token=new XX($)}cancel(){}dispose(){}}class GX{kind="request";createCancellationTokenSource($){let Z=$.$cancellationData;if(Z===void 0)return new j3.CancellationTokenSource;return new QX(Z)}}JX.SharedArrayReceiverStrategy=GX});var V6=e((w$)=>{var O3=w$&&w$.__importDefault||function($){return $&&$.__esModule?$:{default:$}};Object.defineProperty(w$,"__esModule",{value:!0});w$.Semaphore=void 0;var _3=O3(x0());class VX{_capacity;_active;_waiting;constructor($=1){if($<=0)throw Error("Capacity must be greater than 0");this._capacity=$,this._active=0,this._waiting=[]}lock($){return new Promise((Z,Y)=>{this._waiting.push({thunk:$,resolve:Z,reject:Y}),this.runNext()})}get active(){return this._active}runNext(){if(this._waiting.length===0||this._active===this._capacity)return;(0,_3.default)().timer.setImmediate(()=>this.doRunNext())}doRunNext(){if(this._waiting.length===0||this._active===this._capacity)return;let $=this._waiting.shift();if(this._active++,this._active>this._capacity)throw Error("Too many thunks active");try{let Z=$.thunk();if(Z instanceof Promise)Z.then((Y)=>{this._active--,$.resolve(Y),this.runNext()},(Y)=>{this._active--,$.reject(Y),this.runNext()});else this._active--,$.resolve(Z),this.runNext()}catch(Z){this._active--,$.reject(Z),this.runNext()}}}w$.Semaphore=VX});var wX=e((Z0)=>{var T3=Z0&&Z0.__createBinding||(Object.create?function($,Z,Y,Q){if(Q===void 0)Q=Y;var G=Object.getOwnPropertyDescriptor(Z,Y);if(!G||("get"in G?!Z.__esModule:G.writable||G.configurable))G={enumerable:!0,get:function(){return Z[Y]}};Object.defineProperty($,Q,G)}:function($,Z,Y,Q){if(Q===void 0)Q=Y;$[Q]=Z[Y]}),v3=Z0&&Z0.__setModuleDefault||(Object.create?function($,Z){Object.defineProperty($,"default",{enumerable:!0,value:Z})}:function($,Z){$.default=Z}),f3=Z0&&Z0.__importStar||function(){var $=function(Z){return $=Object.getOwnPropertyNames||function(Y){var Q=[];for(var G in Y)if(Object.prototype.hasOwnProperty.call(Y,G))Q[Q.length]=G;return Q},$(Z)};return function(Z){if(Z&&Z.__esModule)return Z;var Y={};if(Z!=null){for(var Q=$(Z),G=0;G<Q.length;G++)if(Q[G]!=="default")T3(Y,Z,Q[G])}return v3(Y,Z),Y}}(),k3=Z0&&Z0.__importDefault||function($){return $&&$.__esModule?$:{default:$}};Object.defineProperty(Z0,"__esModule",{value:!0});Z0.ReadableStreamMessageReader=Z0.AbstractMessageReader=Z0.MessageReader=void 0;var z6=k3(x0()),q$=f3(H$()),H6=z$(),C3=V6(),HX;(function($){function Z(Y){let Q=Y;return Q&&q$.func(Q.listen)&&q$.func(Q.dispose)&&q$.func(Q.onError)&&q$.func(Q.onClose)&&q$.func(Q.onPartialMessage)}$.is=Z})(HX||(Z0.MessageReader=HX={}));class q6{errorEmitter;closeEmitter;partialMessageEmitter;constructor(){this.errorEmitter=new H6.Emitter,this.closeEmitter=new H6.Emitter,this.partialMessageEmitter=new H6.Emitter}dispose(){this.errorEmitter.dispose(),this.closeEmitter.dispose(),this.partialMessageEmitter.dispose()}get onError(){return this.errorEmitter.event}fireError($){this.errorEmitter.fire(this.asError($))}get onClose(){return this.closeEmitter.event}fireClose(){this.closeEmitter.fire(void 0)}get onPartialMessage(){return this.partialMessageEmitter.event}firePartialMessage($){this.partialMessageEmitter.fire($)}asError($){if($ instanceof Error)return $;else return Error(`Reader received error. Reason: ${q$.string($.message)?$.message:"unknown"}`)}}Z0.AbstractMessageReader=q6;var w6;(function($){function Z(Y){let Q,G,J,V=new Map,L,P=new Map;if(Y===void 0||typeof Y==="string")Q=Y??"utf-8";else{if(Q=Y.charset??"utf-8",Y.contentDecoder!==void 0)J=Y.contentDecoder,V.set(J.name,J);if(Y.contentDecoders!==void 0)for(let _ of Y.contentDecoders)V.set(_.name,_);if(Y.contentTypeDecoder!==void 0)L=Y.contentTypeDecoder,P.set(L.name,L);if(Y.contentTypeDecoders!==void 0)for(let _ of Y.contentTypeDecoders)P.set(_.name,_)}if(L===void 0)L=(0,z6.default)().applicationJson.decoder,P.set(L.name,L);return{charset:Q,contentDecoder:J,contentDecoders:V,contentTypeDecoder:L,contentTypeDecoders:P}}$.fromOptions=Z})(w6||(w6={}));class zX extends q6{readable;options;callback;nextMessageLength;messageToken;buffer;partialMessageTimer;_partialMessageTimeout;readSemaphore;constructor($,Z){super();this.readable=$,this.options=w6.fromOptions(Z),this.buffer=(0,z6.default)().messageBuffer.create(this.options.charset),this._partialMessageTimeout=1e4,this.nextMessageLength=-1,this.messageToken=0,this.readSemaphore=new C3.Semaphore(1)}set partialMessageTimeout($){this._partialMessageTimeout=$}get partialMessageTimeout(){return this._partialMessageTimeout}listen($){this.nextMessageLength=-1,this.messageToken=0,this.partialMessageTimer=void 0,this.callback=$;let Z=this.readable.onData((Y)=>{this.onData(Y)});return this.readable.onError((Y)=>this.fireError(Y)),this.readable.onClose(()=>this.fireClose()),Z}onData($){try{this.buffer.append($);while(!0){if(this.nextMessageLength===-1){let Y=this.buffer.tryReadHeaders(!0);if(!Y)return;let Q=Y.get("content-length");if(!Q){this.fireError(Error(`Header must provide a Content-Length property.
2
2
  ${JSON.stringify(Object.fromEntries(Y))}`));return}let G=parseInt(Q);if(isNaN(G)){this.fireError(Error(`Content-Length value must be a number. Got ${Q}`));return}this.nextMessageLength=G}let Z=this.buffer.tryReadBody(this.nextMessageLength);if(Z===void 0){this.setPartialMessageTimer();return}this.clearPartialMessageTimer(),this.nextMessageLength=-1,this.readSemaphore.lock(async()=>{let Y=this.options.contentDecoder!==void 0?await this.options.contentDecoder.decode(Z):Z,Q=await this.options.contentTypeDecoder.decode(Y,this.options);this.callback(Q)}).catch((Y)=>{this.fireError(Y)})}}catch(Z){this.fireError(Z)}}clearPartialMessageTimer(){if(this.partialMessageTimer)this.partialMessageTimer.dispose(),this.partialMessageTimer=void 0}setPartialMessageTimer(){if(this.clearPartialMessageTimer(),this._partialMessageTimeout<=0)return;this.partialMessageTimer=(0,z6.default)().timer.setTimeout(($,Z)=>{if(this.partialMessageTimer=void 0,$===this.messageToken)this.firePartialMessage({messageToken:$,waitingTime:Z}),this.setPartialMessageTimer()},this._partialMessageTimeout,this.messageToken,this._partialMessageTimeout)}}Z0.ReadableStreamMessageReader=zX});var IX=e((Y0)=>{var F3=Y0&&Y0.__createBinding||(Object.create?function($,Z,Y,Q){if(Q===void 0)Q=Y;var G=Object.getOwnPropertyDescriptor(Z,Y);if(!G||("get"in G?!Z.__esModule:G.writable||G.configurable))G={enumerable:!0,get:function(){return Z[Y]}};Object.defineProperty($,Q,G)}:function($,Z,Y,Q){if(Q===void 0)Q=Y;$[Q]=Z[Y]}),h3=Y0&&Y0.__setModuleDefault||(Object.create?function($,Z){Object.defineProperty($,"default",{enumerable:!0,value:Z})}:function($,Z){$.default=Z}),N3=Y0&&Y0.__importStar||function(){var $=function(Z){return $=Object.getOwnPropertyNames||function(Y){var Q=[];for(var G in Y)if(Object.prototype.hasOwnProperty.call(Y,G))Q[Q.length]=G;return Q},$(Z)};return function(Z){if(Z&&Z.__esModule)return Z;var Y={};if(Z!=null){for(var Q=$(Z),G=0;G<Q.length;G++)if(Q[G]!=="default")F3(Y,Z,Q[G])}return h3(Y,Z),Y}}(),u3=Y0&&Y0.__importDefault||function($){return $&&$.__esModule?$:{default:$}};Object.defineProperty(Y0,"__esModule",{value:!0});Y0.WriteableStreamMessageWriter=Y0.AbstractMessageWriter=Y0.MessageWriter=void 0;var qX=u3(x0()),N$=N3(H$()),K3=V6(),BX=z$(),b3="Content-Length: ",LX=`\r
3
3
  `,AX;(function($){function Z(Y){let Q=Y;return Q&&N$.func(Q.dispose)&&N$.func(Q.onClose)&&N$.func(Q.onError)&&N$.func(Q.write)}$.is=Z})(AX||(Y0.MessageWriter=AX={}));class L6{errorEmitter;closeEmitter;constructor(){this.errorEmitter=new BX.Emitter,this.closeEmitter=new BX.Emitter}dispose(){this.errorEmitter.dispose(),this.closeEmitter.dispose()}get onError(){return this.errorEmitter.event}fireError($,Z,Y){this.errorEmitter.fire([this.asError($),Z,Y])}get onClose(){return this.closeEmitter.event}fireClose(){this.closeEmitter.fire(void 0)}asError($){if($ instanceof Error)return $;else return Error(`Writer received error. Reason: ${N$.string($.message)?$.message:"unknown"}`)}}Y0.AbstractMessageWriter=L6;var B6;(function($){function Z(Y){if(Y===void 0||typeof Y==="string")return{charset:Y??"utf-8",contentTypeEncoder:(0,qX.default)().applicationJson.encoder};else return{charset:Y.charset??"utf-8",contentEncoder:Y.contentEncoder,contentTypeEncoder:Y.contentTypeEncoder??(0,qX.default)().applicationJson.encoder}}$.fromOptions=Z})(B6||(B6={}));class RX extends L6{writable;options;errorCount;writeSemaphore;constructor($,Z){super();this.writable=$,this.options=B6.fromOptions(Z),this.errorCount=0,this.writeSemaphore=new K3.Semaphore(1),this.writable.onError((Y)=>this.fireError(Y)),this.writable.onClose(()=>this.fireClose())}async write($){return this.writeSemaphore.lock(async()=>{return this.options.contentTypeEncoder.encode($,this.options).then((Y)=>{if(this.options.contentEncoder!==void 0)return this.options.contentEncoder.encode(Y);else return Y}).then((Y)=>{let Q=[];return Q.push(b3,Y.byteLength.toString(),LX),Q.push(LX),this.doWrite($,Q,Y)},(Y)=>{throw this.fireError(Y),Y})})}async doWrite($,Z,Y){try{return await this.writable.write(Z.join(""),"ascii"),this.writable.write(Y)}catch(Q){return this.handleError(Q,$),Promise.reject(Q)}}handleError($,Z){this.errorCount++,this.fireError($,Z,this.errorCount)}end(){this.writable.end()}}Y0.WriteableStreamMessageWriter=RX});var jX=e((DX)=>{Object.defineProperty(DX,"__esModule",{value:!0});DX.AbstractMessageBuffer=void 0;var S3=13,x3=10,g3=`\r
4
4
  `;class PX{_encoding;_chunks;_totalLength;constructor($="utf-8"){this._encoding=$,this._chunks=[],this._totalLength=0}get encoding(){return this._encoding}append($){let Z=typeof $==="string"?this.fromString($,this._encoding):$;this._chunks.push(Z),this._totalLength+=Z.byteLength}tryReadHeaders($=!1){if(this._chunks.length===0)return;let Z=0,Y=0,Q=0,G=0;$:while(Y<this._chunks.length){let P=this._chunks[Y];Q=0;while(Q<P.length){switch(P[Q]){case S3:switch(Z){case 0:Z=1;break;case 2:Z=3;break;default:Z=0}break;case x3:switch(Z){case 1:Z=2;break;case 3:Z=4,Q++;break $;default:Z=0}break;default:Z=0}Q++}G+=P.byteLength,Y++}if(Z!==4)return;let J=this._read(G+Q),V=new Map,L=this.toString(J,"ascii").split(g3);if(L.length<2)return V;for(let P=0;P<L.length-2;P++){let _=L[P],k=_.indexOf(":");if(k===-1)throw Error(`Message header must separate key and value using ':'
@@ -1,4 +1,4 @@
1
- import{ga as VQ}from"./chunk-t9d5k3p7.js";var QZ={};VQ(QZ,{version:()=>FQ,tokenizer:()=>JZ,tokTypes:()=>X,tokContexts:()=>U,parseExpressionAt:()=>eQ,parse:()=>tQ,nonASCIIwhitespace:()=>IJ,lineBreakG:()=>xJ,lineBreak:()=>v,keywordTypes:()=>_J,isNewLine:()=>u,isIdentifierStart:()=>k,isIdentifierChar:()=>E,getLineInfo:()=>SJ,defaultOptions:()=>RJ,TokenType:()=>M,Token:()=>FJ,TokContext:()=>L,SourceLocation:()=>e,Position:()=>n,Parser:()=>N,Node:()=>QJ});var MQ=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,7,9,32,4,318,1,78,5,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,68,8,2,0,3,0,2,3,2,4,2,0,15,1,83,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,7,19,58,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,199,7,137,9,54,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,55,9,266,3,10,1,2,0,49,6,4,4,14,10,5350,0,7,14,11465,27,2343,9,87,9,39,4,60,6,26,9,535,9,470,0,2,54,8,3,82,0,12,1,19628,1,4178,9,519,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,245,1,2,9,233,0,3,0,8,1,6,0,475,6,110,6,6,9,4759,9,787719,239],DJ=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,4,51,13,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,7,25,39,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,39,27,10,22,251,41,7,1,17,5,57,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,31,9,2,0,3,0,2,37,2,0,26,0,2,0,45,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,200,32,32,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,24,43,261,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,26,3994,6,582,6842,29,1763,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,433,44,212,63,33,24,3,24,45,74,6,0,67,12,65,1,2,0,15,4,10,7381,42,31,98,114,8702,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,229,29,3,0,208,30,2,2,2,1,2,6,3,4,10,1,225,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4381,3,5773,3,7472,16,621,2467,541,1507,4938,6,8489],BQ="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛ࢗ-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-᫝᫠-᫫ᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‌‍‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・",EJ="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-࢏ࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚ౜ౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽ೜-ೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲊᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-Ƛ꟱-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",VJ={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"},MJ="break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this",UQ={5:MJ,"5module":MJ+" export import",6:MJ+" const class extends export import super"},yJ=/^in(stanceof)?$/,NQ=new RegExp("["+EJ+"]"),CQ=new RegExp("["+EJ+BQ+"]");function BJ(J,Q){var Z=65536;for(var q=0;q<Q.length;q+=2){if(Z+=Q[q],Z>J)return!1;if(Z+=Q[q+1],Z>=J)return!0}return!1}function k(J,Q){if(J<65)return J===36;if(J<91)return!0;if(J<97)return J===95;if(J<123)return!0;if(J<=65535)return J>=170&&NQ.test(String.fromCharCode(J));if(Q===!1)return!1;return BJ(J,DJ)}function E(J,Q){if(J<48)return J===36;if(J<58)return!0;if(J<65)return!1;if(J<91)return!0;if(J<97)return J===95;if(J<123)return!0;if(J<=65535)return J>=170&&CQ.test(String.fromCharCode(J));if(Q===!1)return!1;return BJ(J,DJ)||BJ(J,MQ)}var M=function(Q,Z){if(Z===void 0)Z={};this.label=Q,this.keyword=Z.keyword,this.beforeExpr=!!Z.beforeExpr,this.startsExpr=!!Z.startsExpr,this.isLoop=!!Z.isLoop,this.isAssign=!!Z.isAssign,this.prefix=!!Z.prefix,this.postfix=!!Z.postfix,this.binop=Z.binop||null,this.updateContext=null};function b(J,Q){return new M(J,{beforeExpr:!0,binop:Q})}var T={beforeExpr:!0},A={startsExpr:!0},_J={};function V(J,Q){if(Q===void 0)Q={};return Q.keyword=J,_J[J]=new M(J,Q)}var X={num:new M("num",A),regexp:new M("regexp",A),string:new M("string",A),name:new M("name",A),privateId:new M("privateId",A),eof:new M("eof"),bracketL:new M("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new M("]"),braceL:new M("{",{beforeExpr:!0,startsExpr:!0}),braceR:new M("}"),parenL:new M("(",{beforeExpr:!0,startsExpr:!0}),parenR:new M(")"),comma:new M(",",T),semi:new M(";",T),colon:new M(":",T),dot:new M("."),question:new M("?",T),questionDot:new M("?."),arrow:new M("=>",T),template:new M("template"),invalidTemplate:new M("invalidTemplate"),ellipsis:new M("...",T),backQuote:new M("`",A),dollarBraceL:new M("${",{beforeExpr:!0,startsExpr:!0}),eq:new M("=",{beforeExpr:!0,isAssign:!0}),assign:new M("_=",{beforeExpr:!0,isAssign:!0}),incDec:new M("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new M("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:b("||",1),logicalAND:b("&&",2),bitwiseOR:b("|",3),bitwiseXOR:b("^",4),bitwiseAND:b("&",5),equality:b("==/!=/===/!==",6),relational:b("</>/<=/>=",7),bitShift:b("<</>>/>>>",8),plusMin:new M("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:b("%",10),star:b("*",10),slash:b("/",10),starstar:new M("**",{beforeExpr:!0}),coalesce:b("??",1),_break:V("break"),_case:V("case",T),_catch:V("catch"),_continue:V("continue"),_debugger:V("debugger"),_default:V("default",T),_do:V("do",{isLoop:!0,beforeExpr:!0}),_else:V("else",T),_finally:V("finally"),_for:V("for",{isLoop:!0}),_function:V("function",A),_if:V("if"),_return:V("return",T),_switch:V("switch"),_throw:V("throw",T),_try:V("try"),_var:V("var"),_const:V("const"),_while:V("while",{isLoop:!0}),_with:V("with"),_new:V("new",{beforeExpr:!0,startsExpr:!0}),_this:V("this",A),_super:V("super",A),_class:V("class",A),_extends:V("extends",T),_export:V("export"),_import:V("import",A),_null:V("null",A),_true:V("true",A),_false:V("false",A),_in:V("in",{beforeExpr:!0,binop:7}),_instanceof:V("instanceof",{beforeExpr:!0,binop:7}),_typeof:V("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:V("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:V("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},v=/\r\n?|\n|\u2028|\u2029/,xJ=new RegExp(v.source,"g");function u(J){return J===10||J===13||J===8232||J===8233}function gJ(J,Q,Z){if(Z===void 0)Z=J.length;for(var q=Q;q<Z;q++){var R=J.charCodeAt(q);if(u(R))return q<Z-1&&R===13&&J.charCodeAt(q+1)===10?q+2:q+1}return-1}var IJ=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,C=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,mJ=Object.prototype,IQ=mJ.hasOwnProperty,SQ=mJ.toString,a=Object.hasOwn||function(J,Q){return IQ.call(J,Q)},wJ=Array.isArray||function(J){return SQ.call(J)==="[object Array]"},PJ=Object.create(null);function m(J){return PJ[J]||(PJ[J]=new RegExp("^(?:"+J.replace(/ /g,"|")+")$"))}function y(J){if(J<=65535)return String.fromCharCode(J);return J-=65536,String.fromCharCode((J>>10)+55296,(J&1023)+56320)}var vQ=/(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/,n=function(Q,Z){this.line=Q,this.column=Z};n.prototype.offset=function(Q){return new n(this.line,this.column+Q)};var e=function(Q,Z,q){if(this.start=Z,this.end=q,Q.sourceFile!==null)this.source=Q.sourceFile};function SJ(J,Q){for(var Z=1,q=0;;){var R=gJ(J,q,Q);if(R<0)return new n(Z,Q-q);++Z,q=R}}var RJ={ecmaVersion:null,sourceType:"script",strict:!1,onInsertedSemicolon:null,onTrailingComma:null,allowReserved:null,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowAwaitOutsideFunction:null,allowSuperOutsideMethod:null,allowHashBang:!1,checkPrivateFields:!0,locations:!1,startLocation:null,onToken:null,onComment:null,ranges:!1,program:null,sourceFile:null,directSourceFile:null,preserveParens:!1},$J=!1;function AQ(J){var Q={};for(var Z in RJ)Q[Z]=J&&a(J,Z)?J[Z]:RJ[Z];if(Q.ecmaVersion==="latest")Q.ecmaVersion=1e8;else if(Q.ecmaVersion==null){if(!$J&&typeof console==="object"&&console.warn)$J=!0,console.warn(`Since Acorn 8.0.0, options.ecmaVersion is required.
1
+ import{ia as VQ}from"./chunk-ndh639r1.js";var QZ={};VQ(QZ,{version:()=>FQ,tokenizer:()=>JZ,tokTypes:()=>X,tokContexts:()=>U,parseExpressionAt:()=>eQ,parse:()=>tQ,nonASCIIwhitespace:()=>IJ,lineBreakG:()=>xJ,lineBreak:()=>v,keywordTypes:()=>_J,isNewLine:()=>u,isIdentifierStart:()=>k,isIdentifierChar:()=>E,getLineInfo:()=>SJ,defaultOptions:()=>RJ,TokenType:()=>M,Token:()=>FJ,TokContext:()=>L,SourceLocation:()=>e,Position:()=>n,Parser:()=>N,Node:()=>QJ});var MQ=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,7,9,32,4,318,1,78,5,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,68,8,2,0,3,0,2,3,2,4,2,0,15,1,83,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,7,19,58,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,199,7,137,9,54,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,55,9,266,3,10,1,2,0,49,6,4,4,14,10,5350,0,7,14,11465,27,2343,9,87,9,39,4,60,6,26,9,535,9,470,0,2,54,8,3,82,0,12,1,19628,1,4178,9,519,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,245,1,2,9,233,0,3,0,8,1,6,0,475,6,110,6,6,9,4759,9,787719,239],DJ=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,4,51,13,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,7,25,39,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,39,27,10,22,251,41,7,1,17,5,57,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,31,9,2,0,3,0,2,37,2,0,26,0,2,0,45,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,200,32,32,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,24,43,261,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,26,3994,6,582,6842,29,1763,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,433,44,212,63,33,24,3,24,45,74,6,0,67,12,65,1,2,0,15,4,10,7381,42,31,98,114,8702,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,229,29,3,0,208,30,2,2,2,1,2,6,3,4,10,1,225,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4381,3,5773,3,7472,16,621,2467,541,1507,4938,6,8489],BQ="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛ࢗ-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-᫝᫠-᫫ᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‌‍‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・",EJ="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-࢏ࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚ౜ౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽ೜-ೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲊᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-Ƛ꟱-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",VJ={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"},MJ="break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this",UQ={5:MJ,"5module":MJ+" export import",6:MJ+" const class extends export import super"},yJ=/^in(stanceof)?$/,NQ=new RegExp("["+EJ+"]"),CQ=new RegExp("["+EJ+BQ+"]");function BJ(J,Q){var Z=65536;for(var q=0;q<Q.length;q+=2){if(Z+=Q[q],Z>J)return!1;if(Z+=Q[q+1],Z>=J)return!0}return!1}function k(J,Q){if(J<65)return J===36;if(J<91)return!0;if(J<97)return J===95;if(J<123)return!0;if(J<=65535)return J>=170&&NQ.test(String.fromCharCode(J));if(Q===!1)return!1;return BJ(J,DJ)}function E(J,Q){if(J<48)return J===36;if(J<58)return!0;if(J<65)return!1;if(J<91)return!0;if(J<97)return J===95;if(J<123)return!0;if(J<=65535)return J>=170&&CQ.test(String.fromCharCode(J));if(Q===!1)return!1;return BJ(J,DJ)||BJ(J,MQ)}var M=function(Q,Z){if(Z===void 0)Z={};this.label=Q,this.keyword=Z.keyword,this.beforeExpr=!!Z.beforeExpr,this.startsExpr=!!Z.startsExpr,this.isLoop=!!Z.isLoop,this.isAssign=!!Z.isAssign,this.prefix=!!Z.prefix,this.postfix=!!Z.postfix,this.binop=Z.binop||null,this.updateContext=null};function b(J,Q){return new M(J,{beforeExpr:!0,binop:Q})}var T={beforeExpr:!0},A={startsExpr:!0},_J={};function V(J,Q){if(Q===void 0)Q={};return Q.keyword=J,_J[J]=new M(J,Q)}var X={num:new M("num",A),regexp:new M("regexp",A),string:new M("string",A),name:new M("name",A),privateId:new M("privateId",A),eof:new M("eof"),bracketL:new M("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new M("]"),braceL:new M("{",{beforeExpr:!0,startsExpr:!0}),braceR:new M("}"),parenL:new M("(",{beforeExpr:!0,startsExpr:!0}),parenR:new M(")"),comma:new M(",",T),semi:new M(";",T),colon:new M(":",T),dot:new M("."),question:new M("?",T),questionDot:new M("?."),arrow:new M("=>",T),template:new M("template"),invalidTemplate:new M("invalidTemplate"),ellipsis:new M("...",T),backQuote:new M("`",A),dollarBraceL:new M("${",{beforeExpr:!0,startsExpr:!0}),eq:new M("=",{beforeExpr:!0,isAssign:!0}),assign:new M("_=",{beforeExpr:!0,isAssign:!0}),incDec:new M("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new M("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:b("||",1),logicalAND:b("&&",2),bitwiseOR:b("|",3),bitwiseXOR:b("^",4),bitwiseAND:b("&",5),equality:b("==/!=/===/!==",6),relational:b("</>/<=/>=",7),bitShift:b("<</>>/>>>",8),plusMin:new M("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:b("%",10),star:b("*",10),slash:b("/",10),starstar:new M("**",{beforeExpr:!0}),coalesce:b("??",1),_break:V("break"),_case:V("case",T),_catch:V("catch"),_continue:V("continue"),_debugger:V("debugger"),_default:V("default",T),_do:V("do",{isLoop:!0,beforeExpr:!0}),_else:V("else",T),_finally:V("finally"),_for:V("for",{isLoop:!0}),_function:V("function",A),_if:V("if"),_return:V("return",T),_switch:V("switch"),_throw:V("throw",T),_try:V("try"),_var:V("var"),_const:V("const"),_while:V("while",{isLoop:!0}),_with:V("with"),_new:V("new",{beforeExpr:!0,startsExpr:!0}),_this:V("this",A),_super:V("super",A),_class:V("class",A),_extends:V("extends",T),_export:V("export"),_import:V("import",A),_null:V("null",A),_true:V("true",A),_false:V("false",A),_in:V("in",{beforeExpr:!0,binop:7}),_instanceof:V("instanceof",{beforeExpr:!0,binop:7}),_typeof:V("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:V("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:V("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},v=/\r\n?|\n|\u2028|\u2029/,xJ=new RegExp(v.source,"g");function u(J){return J===10||J===13||J===8232||J===8233}function gJ(J,Q,Z){if(Z===void 0)Z=J.length;for(var q=Q;q<Z;q++){var R=J.charCodeAt(q);if(u(R))return q<Z-1&&R===13&&J.charCodeAt(q+1)===10?q+2:q+1}return-1}var IJ=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,C=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,mJ=Object.prototype,IQ=mJ.hasOwnProperty,SQ=mJ.toString,a=Object.hasOwn||function(J,Q){return IQ.call(J,Q)},wJ=Array.isArray||function(J){return SQ.call(J)==="[object Array]"},PJ=Object.create(null);function m(J){return PJ[J]||(PJ[J]=new RegExp("^(?:"+J.replace(/ /g,"|")+")$"))}function y(J){if(J<=65535)return String.fromCharCode(J);return J-=65536,String.fromCharCode((J>>10)+55296,(J&1023)+56320)}var vQ=/(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/,n=function(Q,Z){this.line=Q,this.column=Z};n.prototype.offset=function(Q){return new n(this.line,this.column+Q)};var e=function(Q,Z,q){if(this.start=Z,this.end=q,Q.sourceFile!==null)this.source=Q.sourceFile};function SJ(J,Q){for(var Z=1,q=0;;){var R=gJ(J,q,Q);if(R<0)return new n(Z,Q-q);++Z,q=R}}var RJ={ecmaVersion:null,sourceType:"script",strict:!1,onInsertedSemicolon:null,onTrailingComma:null,allowReserved:null,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowAwaitOutsideFunction:null,allowSuperOutsideMethod:null,allowHashBang:!1,checkPrivateFields:!0,locations:!1,startLocation:null,onToken:null,onComment:null,ranges:!1,program:null,sourceFile:null,directSourceFile:null,preserveParens:!1},$J=!1;function AQ(J){var Q={};for(var Z in RJ)Q[Z]=J&&a(J,Z)?J[Z]:RJ[Z];if(Q.ecmaVersion==="latest")Q.ecmaVersion=1e8;else if(Q.ecmaVersion==null){if(!$J&&typeof console==="object"&&console.warn)$J=!0,console.warn(`Since Acorn 8.0.0, options.ecmaVersion is required.
2
2
  Defaulting to 2020, but this will stop working in the future.`);Q.ecmaVersion=11}else if(Q.ecmaVersion>=2015)Q.ecmaVersion-=2009;if(Q.allowReserved==null)Q.allowReserved=Q.ecmaVersion<5;if(!J||J.allowHashBang==null)Q.allowHashBang=Q.ecmaVersion>=14;if(wJ(Q.onToken)){var q=Q.onToken;Q.onToken=function(R){return q.push(R)}}if(wJ(Q.onComment))Q.onComment=bQ(Q,Q.onComment);if(Q.sourceType==="commonjs"&&Q.allowAwaitOutsideFunction)throw Error("Cannot use allowAwaitOutsideFunction with sourceType: commonjs");return Q}function bQ(J,Q){return function(Z,q,R,W,Y,j){var K={type:Z?"Block":"Line",value:q,start:R,end:W};if(J.locations)K.loc=new e(this,Y,j);if(J.ranges)K.range=[R,W];Q.push(K)}}var f=1,l=2,vJ=4,hJ=8,AJ=16,fJ=32,HJ=64,uJ=128,p=256,JJ=512,lJ=1024,zJ=f|l|p;function bJ(J,Q){return l|(J?vJ:0)|(Q?hJ:0)}var WJ=0,TJ=1,g=2,pJ=3,cJ=4,dJ=5,N=function(Q,Z,q){this.options=Q=AQ(Q),this.sourceFile=Q.sourceFile,this.keywords=m(UQ[Q.ecmaVersion>=6?6:Q.sourceType==="module"?"5module":5]);var R="";if(Q.allowReserved!==!0){if(R=VJ[Q.ecmaVersion>=6?6:Q.ecmaVersion===5?5:3],Q.sourceType==="module")R+=" await"}this.reservedWords=m(R);var W=(R?R+" ":"")+VJ.strict;if(this.reservedWordsStrict=m(W),this.reservedWordsStrictBind=m(W+" "+VJ.strictBind),this.input=String(Z),this.containsEsc=!1,this.pos=q||0,this.curLine=1,Q.startLocation)this.lineStart=this.pos-Q.startLocation.column,this.curLine=Q.startLocation.line;else if(q){if(this.lineStart=this.input.lastIndexOf(`
3
3
  `,q-1)+1,this.options.locations)this.curLine=this.input.slice(0,this.lineStart).split(v).length}else this.lineStart=0;if(this.type=X.eof,this.value=null,this.start=this.end=this.pos,this.startLoc=this.endLoc=this.curPosition(),this.lastTokEndLoc=this.lastTokStartLoc=null,this.lastTokStart=this.lastTokEnd=this.pos,this.context=this.initialContext(),this.exprAllowed=!0,this.inModule=Q.sourceType==="module",this.strict=this.inModule||Q.strict===!0||this.strictDirective(this.pos),this.potentialArrowAt=-1,this.potentialArrowInForAwait=!1,this.yieldPos=this.awaitPos=this.awaitIdentPos=0,this.labels=[],this.undefinedExports=Object.create(null),this.pos===0&&Q.allowHashBang&&this.input.slice(0,2)==="#!")this.skipLineComment(2);this.scopeStack=[],this.enterScope(this.options.sourceType==="commonjs"?l:f),this.regexpState=null,this.privateNameStack=[]},P={inFunction:{configurable:!0},inGenerator:{configurable:!0},inAsync:{configurable:!0},canAwait:{configurable:!0},allowReturn:{configurable:!0},allowSuper:{configurable:!0},allowDirectSuper:{configurable:!0},treatFunctionsAsVar:{configurable:!0},allowNewDotTarget:{configurable:!0},allowUsing:{configurable:!0},inClassStaticBlock:{configurable:!0}};N.prototype.parse=function(){var Q=this,Z=this.options.program||this.startNode();return this.nextToken(),this.catchStackOverflow(function(){return Q.parseTopLevel(Z)})};P.inFunction.get=function(){return(this.currentVarScope().flags&l)>0};P.inGenerator.get=function(){return(this.currentVarScope().flags&hJ)>0};P.inAsync.get=function(){return(this.currentVarScope().flags&vJ)>0};P.canAwait.get=function(){for(var J=this.scopeStack.length-1;J>=0;J--){var Q=this.scopeStack[J],Z=Q.flags;if(Z&(p|JJ))return!1;if(Z&l)return(Z&vJ)>0}return this.inModule&&this.options.ecmaVersion>=13||this.options.allowAwaitOutsideFunction};P.allowReturn.get=function(){if(this.inFunction)return!0;if(this.options.allowReturnOutsideFunction&&this.currentVarScope().flags&f)return!0;return!1};P.allowSuper.get=function(){var J=this.currentThisScope(),Q=J.flags;return(Q&HJ)>0||this.options.allowSuperOutsideMethod};P.allowDirectSuper.get=function(){return(this.currentThisScope().flags&uJ)>0};P.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())};P.allowNewDotTarget.get=function(){for(var J=this.scopeStack.length-1;J>=0;J--){var Q=this.scopeStack[J],Z=Q.flags;if(Z&(p|JJ)||Z&l&&!(Z&AJ))return!0}return!1};P.allowUsing.get=function(){var J=this.currentScope(),Q=J.flags;if(Q&lJ)return!1;if(!this.inModule&&Q&f)return!1;return!0};P.inClassStaticBlock.get=function(){return(this.currentVarScope().flags&p)>0};N.extend=function(){var Q=[],Z=arguments.length;while(Z--)Q[Z]=arguments[Z];var q=this;for(var R=0;R<Q.length;R++)q=Q[R](q);return q};N.parse=function(Q,Z){return new this(Z,Q).parse()};N.parseExpressionAt=function(Q,Z,q){var R=new this(q,Q,Z);return R.nextToken(),R.parseExpression()};N.tokenizer=function(Q,Z){return new this(Z,Q)};Object.defineProperties(N.prototype,P);var S=N.prototype,TQ=/^(?:'((?:\\[^]|[^'\\])*?)'|"((?:\\[^]|[^"\\])*?)")/;S.strictDirective=function(J){if(this.options.ecmaVersion<5)return!1;for(;;){C.lastIndex=J,J+=C.exec(this.input)[0].length;var Q=TQ.exec(this.input.slice(J));if(!Q)return!1;if((Q[1]||Q[2])==="use strict"){C.lastIndex=J+Q[0].length;var Z=C.exec(this.input),q=Z.index+Z[0].length,R=this.input.charAt(q);return R===";"||R==="}"||v.test(Z[0])&&!(/[(`.[+\-/*%<>=,?^&]/.test(R)||R==="!"&&this.input.charAt(q+1)==="=")}if(J+=Q[0].length,C.lastIndex=J,J+=C.exec(this.input)[0].length,this.input[J]===";")J++}};S.eat=function(J){if(this.type===J)return this.next(),!0;else return!1};S.isContextual=function(J){return this.type===X.name&&this.value===J&&!this.containsEsc};S.eatContextual=function(J){if(!this.isContextual(J))return!1;return this.next(),!0};S.catchStackOverflow=function(J){try{return J()}catch(Q){if(Q instanceof Error&&(/\bstack\b.*\b(exceeded|overflow)\b/i.test(Q.message)||/\btoo much recursion\b/i.test(Q.message)))this.raise(this.start,"Not enough stack space to parse input");else throw Q}};S.expectContextual=function(J){if(!this.eatContextual(J))this.unexpected()};S.canInsertSemicolon=function(){return this.type===X.eof||this.type===X.braceR||v.test(this.input.slice(this.lastTokEnd,this.start))};S.insertSemicolon=function(){if(this.canInsertSemicolon()){if(this.options.onInsertedSemicolon)this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc);return!0}};S.semicolon=function(){if(!this.eat(X.semi)&&!this.insertSemicolon())this.unexpected()};S.afterTrailingComma=function(J,Q){if(this.type===J){if(this.options.onTrailingComma)this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc);if(!Q)this.next();return!0}};S.expect=function(J){this.eat(J)||this.unexpected()};S.unexpected=function(J){this.raise(J!=null?J:this.start,"Unexpected token")};var OJ=function(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1};S.checkPatternErrors=function(J,Q){if(!J)return;if(J.trailingComma>-1)this.raiseRecoverable(J.trailingComma,"Comma is not permitted after the rest element");var Z=Q?J.parenthesizedAssign:J.parenthesizedBind;if(Z>-1)this.raiseRecoverable(Z,Q?"Assigning to rvalue":"Parenthesized pattern")};S.checkExpressionErrors=function(J,Q){if(!J)return!1;var{shorthandAssign:Z,doubleProto:q}=J;if(!Q)return Z>=0||q>=0;if(Z>=0)this.raise(Z,"Shorthand property assignments are valid only in destructuring patterns");if(q>=0)this.raiseRecoverable(q,"Redefinition of __proto__ property")};S.checkYieldAwaitInDefaultParams=function(){if(this.yieldPos&&(!this.awaitPos||this.yieldPos<this.awaitPos))this.raise(this.yieldPos,"Yield expression cannot be a default value");if(this.awaitPos)this.raise(this.awaitPos,"Await expression cannot be a default value")};S.isSimpleAssignTarget=function(J){if(J.type==="ParenthesizedExpression")return this.isSimpleAssignTarget(J.expression);return J.type==="Identifier"||J.type==="MemberExpression"};var H=N.prototype;H.parseTopLevel=function(J){var Q=Object.create(null);if(!J.body)J.body=[];while(this.type!==X.eof){var Z=this.parseStatement(null,!0,Q);J.body.push(Z)}if(this.inModule)for(var q=0,R=Object.keys(this.undefinedExports);q<R.length;q+=1){var W=R[q];this.raiseRecoverable(this.undefinedExports[W].start,"Export '"+W+"' is not defined")}return this.adaptDirectivePrologue(J.body),this.next(),J.sourceType=this.options.sourceType==="commonjs"?"script":this.options.sourceType,this.finishNode(J,"Program")};var LJ={kind:"loop"},LQ={kind:"switch"};H.isLet=function(J){if(this.options.ecmaVersion<6||!this.isContextual("let"))return!1;C.lastIndex=this.pos;var Q=C.exec(this.input),Z=this.pos+Q[0].length,q=this.fullCharCodeAt(Z);if(q===91||q===92)return!0;if(J)return!1;if(q===123)return!0;if(k(q)){var R=Z;do Z+=q<=65535?1:2;while(E(q=this.fullCharCodeAt(Z)));if(q===92)return!0;var W=this.input.slice(R,Z);if(!yJ.test(W))return!0}return!1};H.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;C.lastIndex=this.pos;var J=C.exec(this.input),Q=this.pos+J[0].length,Z;return!v.test(this.input.slice(this.pos,Q))&&this.input.slice(Q,Q+8)==="function"&&(Q+8===this.input.length||!(E(Z=this.fullCharCodeAt(Q+8))||Z===92))};H.isUsingKeyword=function(J,Q){if(this.options.ecmaVersion<17||!this.isContextual(J?"await":"using"))return!1;C.lastIndex=this.pos;var Z=C.exec(this.input),q=this.pos+Z[0].length;if(v.test(this.input.slice(this.pos,q)))return!1;if(J){var R=q+5,W;if(this.input.slice(q,R)!=="using"||R===this.input.length||E(W=this.fullCharCodeAt(R))||W===92)return!1;C.lastIndex=R;var Y=C.exec(this.input);if(q=R+Y[0].length,Y&&v.test(this.input.slice(R,q)))return!1}var j=this.fullCharCodeAt(q);if(!k(j)&&j!==92)return!1;var K=q;do q+=j<=65535?1:2;while(E(j=this.fullCharCodeAt(q)));if(j===92)return!0;var z=this.input.slice(K,q);if(yJ.test(z))return!1;if(Q&&!J&&z==="of"){C.lastIndex=q;var G=C.exec(this.input);if(q=q+G[0].length,this.input.charCodeAt(q)!==61||(j=this.input.charCodeAt(q+1))===61||j===62)return!1}return!0};H.isAwaitUsing=function(J){return this.isUsingKeyword(!0,J)};H.isUsing=function(J){return this.isUsingKeyword(!1,J)};H.parseStatement=function(J,Q,Z){var q=this.type,R=this.startNode(),W;if(this.isLet(J))q=X._var,W="let";switch(q){case X._break:case X._continue:return this.parseBreakContinueStatement(R,q.keyword);case X._debugger:return this.parseDebuggerStatement(R);case X._do:return this.parseDoStatement(R);case X._for:return this.parseForStatement(R);case X._function:if(J&&(this.strict||J!=="if"&&J!=="label")&&this.options.ecmaVersion>=6)this.unexpected();return this.parseFunctionStatement(R,!1,!J);case X._class:if(J)this.unexpected();return this.parseClass(R,!0);case X._if:return this.parseIfStatement(R);case X._return:return this.parseReturnStatement(R);case X._switch:return this.parseSwitchStatement(R);case X._throw:return this.parseThrowStatement(R);case X._try:return this.parseTryStatement(R);case X._const:case X._var:if(W=W||this.value,J&&W!=="var")this.unexpected();return this.parseVarStatement(R,W);case X._while:return this.parseWhileStatement(R);case X._with:return this.parseWithStatement(R);case X.braceL:return this.parseBlock(!0,R);case X.semi:return this.parseEmptyStatement(R);case X._export:case X._import:if(this.options.ecmaVersion>10&&q===X._import){C.lastIndex=this.pos;var Y=C.exec(this.input),j=this.pos+Y[0].length,K=this.input.charCodeAt(j);if(K===40||K===46)return this.parseExpressionStatement(R,this.parseExpression())}if(!this.options.allowImportExportEverywhere){if(!Q)this.raise(this.start,"'import' and 'export' may only appear at the top level");if(!this.inModule)this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")}return q===X._import?this.parseImport(R):this.parseExport(R,Z);default:if(this.isAsyncFunction()){if(J)this.unexpected();return this.next(),this.parseFunctionStatement(R,!0,!J)}var z=this.isAwaitUsing(!1)?"await using":this.isUsing(!1)?"using":null;if(z){if(!this.allowUsing)this.raise(this.start,"Using declaration cannot appear in the top level when source type is `script` or in the bare case statement");if(J)this.raise(this.start,"Using declaration is not allowed in single-statement positions");if(z==="await using"){if(!this.canAwait)this.raise(this.start,"Await using cannot appear outside of async function");this.next()}return this.next(),this.parseVar(R,!1,z),this.semicolon(),this.finishNode(R,"VariableDeclaration")}var G=this.value,B=this.parseExpression();if(q===X.name&&B.type==="Identifier"&&this.eat(X.colon))return this.parseLabeledStatement(R,G,B,J);else return this.parseExpressionStatement(R,B)}};H.parseBreakContinueStatement=function(J,Q){var Z=Q==="break";if(this.next(),this.eat(X.semi)||this.insertSemicolon())J.label=null;else if(this.type!==X.name)this.unexpected();else J.label=this.parseIdent(),this.semicolon();var q=0;for(;q<this.labels.length;++q){var R=this.labels[q];if(J.label==null||R.name===J.label.name){if(R.kind!=null&&(Z||R.kind==="loop"))break;if(J.label&&Z)break}}if(q===this.labels.length)this.raise(J.start,"Unsyntactic "+Q);return this.finishNode(J,Z?"BreakStatement":"ContinueStatement")};H.parseDebuggerStatement=function(J){return this.next(),this.semicolon(),this.finishNode(J,"DebuggerStatement")};H.parseDoStatement=function(J){if(this.next(),this.labels.push(LJ),J.body=this.parseStatement("do"),this.labels.pop(),this.expect(X._while),J.test=this.parseParenExpression(),this.options.ecmaVersion>=6)this.eat(X.semi);else this.semicolon();return this.finishNode(J,"DoWhileStatement")};H.parseForStatement=function(J){this.next();var Q=this.options.ecmaVersion>=9&&this.canAwait&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(LJ),this.enterScope(0),this.expect(X.parenL),this.type===X.semi){if(Q>-1)this.unexpected(Q);return this.parseFor(J,null)}var Z=this.isLet();if(this.type===X._var||this.type===X._const||Z){var q=this.startNode(),R=Z?"let":this.value;return this.next(),this.parseVar(q,!0,R),this.finishNode(q,"VariableDeclaration"),this.parseForAfterInit(J,q,Q)}var W=this.isContextual("let"),Y=!1,j=this.isUsing(!0)?"using":this.isAwaitUsing(!0)?"await using":null;if(j){var K=this.startNode();if(this.next(),j==="await using"){if(!this.canAwait)this.raise(this.start,"Await using cannot appear outside of async function");this.next()}return this.parseVar(K,!0,j),this.finishNode(K,"VariableDeclaration"),this.parseForAfterInit(J,K,Q)}var z=this.containsEsc,G=new OJ,B=this.start,I=Q>-1?this.parseExprSubscripts(G,"await"):this.parseExpression(!0,G);if(this.type===X._in||(Y=this.options.ecmaVersion>=6&&this.isContextual("of"))){if(Q>-1){if(this.type===X._in)this.unexpected(Q);J.await=!0}else if(Y&&this.options.ecmaVersion>=8){if(I.start===B&&!z&&I.type==="Identifier"&&I.name==="async")this.unexpected();else if(this.options.ecmaVersion>=9)J.await=!1}if(W&&Y)this.raise(I.start,"The left-hand side of a for-of loop may not start with 'let'.");return this.toAssignable(I,!1,G),this.checkLValPattern(I),this.parseForIn(J,I)}else this.checkExpressionErrors(G,!0);if(Q>-1)this.unexpected(Q);return this.parseFor(J,I)};H.parseForAfterInit=function(J,Q,Z){if((this.type===X._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&Q.declarations.length===1){if(this.type===X._in){if((Q.kind==="using"||Q.kind==="await using")&&!Q.declarations[0].init)this.raise(this.start,"Using declaration is not allowed in for-in loops");if(this.options.ecmaVersion>=9&&Z>-1)this.unexpected(Z)}else if(this.options.ecmaVersion>=9)J.await=Z>-1;return this.parseForIn(J,Q)}if(Z>-1)this.unexpected(Z);return this.parseFor(J,Q)};H.parseFunctionStatement=function(J,Q,Z){return this.next(),this.parseFunction(J,t|(Z?0:UJ),!1,Q)};H.parseIfStatement=function(J){return this.next(),J.test=this.parseParenExpression(),J.consequent=this.parseStatement("if"),J.alternate=this.eat(X._else)?this.parseStatement("if"):null,this.finishNode(J,"IfStatement")};H.parseReturnStatement=function(J){if(!this.allowReturn)this.raise(this.start,"'return' outside of function");if(this.next(),this.eat(X.semi)||this.insertSemicolon())J.argument=null;else J.argument=this.parseExpression(),this.semicolon();return this.finishNode(J,"ReturnStatement")};H.parseSwitchStatement=function(J){this.next(),J.discriminant=this.parseParenExpression(),J.cases=[],this.expect(X.braceL),this.labels.push(LQ),this.enterScope(lJ);var Q;for(var Z=!1;this.type!==X.braceR;)if(this.type===X._case||this.type===X._default){var q=this.type===X._case;if(Q)this.finishNode(Q,"SwitchCase");if(J.cases.push(Q=this.startNode()),Q.consequent=[],this.next(),q)Q.test=this.parseExpression();else{if(Z)this.raiseRecoverable(this.lastTokStart,"Multiple default clauses");Z=!0,Q.test=null}this.expect(X.colon)}else{if(!Q)this.unexpected();Q.consequent.push(this.parseStatement(null))}if(this.exitScope(),Q)this.finishNode(Q,"SwitchCase");return this.next(),this.labels.pop(),this.finishNode(J,"SwitchStatement")};H.parseThrowStatement=function(J){if(this.next(),v.test(this.input.slice(this.lastTokEnd,this.start)))this.raise(this.lastTokEnd,"Illegal newline after throw");return J.argument=this.parseExpression(),this.semicolon(),this.finishNode(J,"ThrowStatement")};var wQ=[];H.parseCatchClauseParam=function(){var J=this.parseBindingAtom(),Q=J.type==="Identifier";return this.enterScope(Q?fJ:0),this.checkLValPattern(J,Q?cJ:g),this.expect(X.parenR),J};H.parseTryStatement=function(J){if(this.next(),J.block=this.parseBlock(),J.handler=null,this.type===X._catch){var Q=this.startNode();if(this.next(),this.eat(X.parenL))Q.param=this.parseCatchClauseParam();else{if(this.options.ecmaVersion<10)this.unexpected();Q.param=null,this.enterScope(0)}Q.body=this.parseBlock(!1),this.exitScope(),J.handler=this.finishNode(Q,"CatchClause")}if(J.finalizer=this.eat(X._finally)?this.parseBlock():null,!J.handler&&!J.finalizer)this.raise(J.start,"Missing catch or finally clause");return this.finishNode(J,"TryStatement")};H.parseVarStatement=function(J,Q,Z){return this.next(),this.parseVar(J,!1,Q,Z),this.semicolon(),this.finishNode(J,"VariableDeclaration")};H.parseWhileStatement=function(J){return this.next(),J.test=this.parseParenExpression(),this.labels.push(LJ),J.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(J,"WhileStatement")};H.parseWithStatement=function(J){if(this.strict)this.raise(this.start,"'with' in strict mode");return this.next(),J.object=this.parseParenExpression(),J.body=this.parseStatement("with"),this.finishNode(J,"WithStatement")};H.parseEmptyStatement=function(J){return this.next(),this.finishNode(J,"EmptyStatement")};H.parseLabeledStatement=function(J,Q,Z,q){for(var R=0,W=this.labels;R<W.length;R+=1){var Y=W[R];if(Y.name===Q)this.raise(Z.start,"Label '"+Q+"' is already declared")}var j=this.type.isLoop?"loop":this.type===X._switch?"switch":null;for(var K=this.labels.length-1;K>=0;K--){var z=this.labels[K];if(z.statementStart===J.start)z.statementStart=this.start,z.kind=j;else break}return this.labels.push({name:Q,kind:j,statementStart:this.start}),J.body=this.parseStatement(q?q.indexOf("label")===-1?q+"label":q:"label"),this.labels.pop(),J.label=Z,this.finishNode(J,"LabeledStatement")};H.parseExpressionStatement=function(J,Q){return J.expression=Q,this.semicolon(),this.finishNode(J,"ExpressionStatement")};H.parseBlock=function(J,Q,Z){if(J===void 0)J=!0;if(Q===void 0)Q=this.startNode();if(Q.body=[],this.expect(X.braceL),J)this.enterScope(0);while(this.type!==X.braceR){var q=this.parseStatement(null);Q.body.push(q)}if(Z)this.strict=!1;if(this.next(),J)this.exitScope();return this.finishNode(Q,"BlockStatement")};H.parseFor=function(J,Q){return J.init=Q,this.expect(X.semi),J.test=this.type===X.semi?null:this.parseExpression(),this.expect(X.semi),J.update=this.type===X.parenR?null:this.parseExpression(),this.expect(X.parenR),J.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(J,"ForStatement")};H.parseForIn=function(J,Q){var Z=this.type===X._in;if(this.next(),Q.type==="VariableDeclaration"&&Q.declarations[0].init!=null&&(!Z||this.options.ecmaVersion<8||this.strict||Q.kind!=="var"||Q.declarations[0].id.type!=="Identifier"))this.raise(Q.start,(Z?"for-in":"for-of")+" loop variable declaration may not have an initializer");return J.left=Q,J.right=Z?this.parseExpression():this.parseMaybeAssign(),this.expect(X.parenR),J.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(J,Z?"ForInStatement":"ForOfStatement")};H.parseVar=function(J,Q,Z,q){J.declarations=[],J.kind=Z;for(;;){var R=this.startNode();if(this.parseVarId(R,Z),this.eat(X.eq))R.init=this.parseMaybeAssign(Q);else if(!q&&Z==="const"&&!(this.type===X._in||this.options.ecmaVersion>=6&&this.isContextual("of")))this.unexpected();else if(!q&&(Z==="using"||Z==="await using")&&this.options.ecmaVersion>=17&&this.type!==X._in&&!this.isContextual("of"))this.raise(this.lastTokEnd,"Missing initializer in "+Z+" declaration");else if(!q&&R.id.type!=="Identifier"&&!(Q&&(this.type===X._in||this.isContextual("of"))))this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value");else R.init=null;if(J.declarations.push(this.finishNode(R,"VariableDeclarator")),!this.eat(X.comma))break}return J};H.parseVarId=function(J,Q){J.id=Q==="using"||Q==="await using"?this.parseIdent():this.parseBindingAtom(),this.checkLValPattern(J.id,Q==="var"?TJ:g,!1)};var t=1,UJ=2,iJ=4;H.parseFunction=function(J,Q,Z,q,R){if(this.initFunction(J),this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!q){if(this.type===X.star&&Q&UJ)this.unexpected();J.generator=this.eat(X.star)}if(this.options.ecmaVersion>=8)J.async=!!q;if(Q&t){if(J.id=Q&iJ&&this.type!==X.name?null:this.parseIdent(),J.id&&!(Q&UJ))this.checkLValSimple(J.id,this.strict||J.generator||J.async?this.treatFunctionsAsVar?TJ:g:pJ)}var W=this.yieldPos,Y=this.awaitPos,j=this.awaitIdentPos;if(this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(bJ(J.async,J.generator)),!(Q&t))J.id=this.type===X.name?this.parseIdent():null;return this.parseFunctionParams(J),this.parseFunctionBody(J,Z,!1,R),this.yieldPos=W,this.awaitPos=Y,this.awaitIdentPos=j,this.finishNode(J,Q&t?"FunctionDeclaration":"FunctionExpression")};H.parseFunctionParams=function(J){this.expect(X.parenL),J.params=this.parseBindingList(X.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()};H.parseClass=function(J,Q){this.next();var Z=this.strict;this.strict=!0,this.parseClassId(J,Q),this.parseClassSuper(J);var q=this.enterClassBody(),R=this.startNode(),W=!1;R.body=[],this.expect(X.braceL);while(this.type!==X.braceR){var Y=this.parseClassElement(J.superClass!==null);if(Y){if(R.body.push(Y),Y.type==="MethodDefinition"&&Y.kind==="constructor"){if(W)this.raiseRecoverable(Y.start,"Duplicate constructor in the same class");W=!0}else if(Y.key&&Y.key.type==="PrivateIdentifier"&&PQ(q,Y))this.raiseRecoverable(Y.key.start,"Identifier '#"+Y.key.name+"' has already been declared")}}return this.strict=Z,this.next(),J.body=this.finishNode(R,"ClassBody"),this.exitClassBody(),this.finishNode(J,Q?"ClassDeclaration":"ClassExpression")};H.parseClassElement=function(J){if(this.eat(X.semi))return null;var Q=this.options.ecmaVersion,Z=this.startNode(),q="",R=!1,W=!1,Y="method",j=!1;if(this.eatContextual("static")){if(Q>=13&&this.eat(X.braceL))return this.parseClassStaticBlock(Z),Z;if(this.isClassElementNameStart()||this.type===X.star)j=!0;else q="static"}if(Z.static=j,!q&&Q>=8&&this.eatContextual("async"))if((this.isClassElementNameStart()||this.type===X.star)&&!this.canInsertSemicolon())W=!0;else q="async";if(!q&&(Q>=9||!W)&&this.eat(X.star))R=!0;if(!q&&!W&&!R){var K=this.value;if(this.eatContextual("get")||this.eatContextual("set"))if(this.isClassElementNameStart())Y=K;else q=K}if(q)Z.computed=!1,Z.key=this.startNodeAt(this.lastTokStart,this.lastTokStartLoc),Z.key.name=q,this.finishNode(Z.key,"Identifier");else this.parseClassElementName(Z);if(Q<13||this.type===X.parenL||Y!=="method"||R||W){var z=!Z.static&&YJ(Z,"constructor"),G=z&&J;if(z&&Y!=="method")this.raise(Z.key.start,"Constructor can't have get/set modifier");Z.kind=z?"constructor":Y,this.parseClassMethod(Z,R,W,G)}else this.parseClassField(Z);return Z};H.isClassElementNameStart=function(){return this.type===X.name||this.type===X.privateId||this.type===X.num||this.type===X.string||this.type===X.bracketL||this.type.keyword};H.parseClassElementName=function(J){if(this.type===X.privateId){if(this.value==="constructor")this.raise(this.start,"Classes can't have an element named '#constructor'");J.computed=!1,J.key=this.parsePrivateIdent()}else this.parsePropertyName(J)};H.parseClassMethod=function(J,Q,Z,q){var R=J.key;if(J.kind==="constructor"){if(Q)this.raise(R.start,"Constructor can't be a generator");if(Z)this.raise(R.start,"Constructor can't be an async method")}else if(J.static&&YJ(J,"prototype"))this.raise(R.start,"Classes may not have a static property named prototype");var W=J.value=this.parseMethod(Q,Z,q);if(J.kind==="get"&&W.params.length!==0)this.raiseRecoverable(W.start,"getter should have no params");if(J.kind==="set"&&W.params.length!==1)this.raiseRecoverable(W.start,"setter should have exactly one param");if(J.kind==="set"&&W.params[0].type==="RestElement")this.raiseRecoverable(W.params[0].start,"Setter cannot use rest params");return this.finishNode(J,"MethodDefinition")};H.parseClassField=function(J){if(YJ(J,"constructor"))this.raise(J.key.start,"Classes can't have a field named 'constructor'");else if(J.static&&YJ(J,"prototype"))this.raise(J.key.start,"Classes can't have a static field named 'prototype'");if(this.eat(X.eq))this.enterScope(JJ|HJ),J.value=this.parseMaybeAssign(),this.exitScope();else J.value=null;return this.semicolon(),this.finishNode(J,"PropertyDefinition")};H.parseClassStaticBlock=function(J){J.body=[];var Q=this.labels;this.labels=[],this.enterScope(p|HJ);while(this.type!==X.braceR){var Z=this.parseStatement(null);J.body.push(Z)}return this.next(),this.exitScope(),this.labels=Q,this.finishNode(J,"StaticBlock")};H.parseClassId=function(J,Q){if(this.type===X.name){if(J.id=this.parseIdent(),Q)this.checkLValSimple(J.id,g,!1)}else{if(Q===!0)this.unexpected();J.id=null}};H.parseClassSuper=function(J){J.superClass=this.eat(X._extends)?this.parseExprSubscripts(null,!1):null};H.enterClassBody=function(){var J={declared:Object.create(null),used:[]};return this.privateNameStack.push(J),J.declared};H.exitClassBody=function(){var J=this.privateNameStack.pop(),Q=J.declared,Z=J.used;if(!this.options.checkPrivateFields)return;var q=this.privateNameStack.length,R=q===0?null:this.privateNameStack[q-1];for(var W=0;W<Z.length;++W){var Y=Z[W];if(!a(Q,Y.name))if(R)R.used.push(Y);else this.raiseRecoverable(Y.start,"Private field '#"+Y.name+"' must be declared in an enclosing class")}};function PQ(J,Q){var Z=Q.key.name,q=J[Z],R="true";if(Q.type==="MethodDefinition"&&(Q.kind==="get"||Q.kind==="set"))R=(Q.static?"s":"i")+Q.kind;if(q==="iget"&&R==="iset"||q==="iset"&&R==="iget"||q==="sget"&&R==="sset"||q==="sset"&&R==="sget")return J[Z]="true",!1;else if(!q)return J[Z]=R,!1;else return!0}function YJ(J,Q){var{computed:Z,key:q}=J;return!Z&&(q.type==="Identifier"&&q.name===Q||q.type==="Literal"&&q.value===Q)}H.parseExportAllDeclaration=function(J,Q){if(this.options.ecmaVersion>=11)if(this.eatContextual("as"))J.exported=this.parseModuleExportName(),this.checkExport(Q,J.exported,this.lastTokStart);else J.exported=null;if(this.expectContextual("from"),this.type!==X.string)this.unexpected();if(J.source=this.parseExprAtom(),this.options.ecmaVersion>=16)J.attributes=this.parseWithClause();return this.semicolon(),this.finishNode(J,"ExportAllDeclaration")};H.parseExport=function(J,Q){if(this.next(),this.eat(X.star))return this.parseExportAllDeclaration(J,Q);if(this.eat(X._default))return this.checkExport(Q,"default",this.lastTokStart),J.declaration=this.parseExportDefaultDeclaration(),this.finishNode(J,"ExportDefaultDeclaration");if(this.shouldParseExportStatement()){if(J.declaration=this.parseExportDeclaration(J),J.declaration.type==="VariableDeclaration")this.checkVariableExport(Q,J.declaration.declarations);else this.checkExport(Q,J.declaration.id,J.declaration.id.start);if(J.specifiers=[],J.source=null,this.options.ecmaVersion>=16)J.attributes=[]}else{if(J.declaration=null,J.specifiers=this.parseExportSpecifiers(Q),this.eatContextual("from")){if(this.type!==X.string)this.unexpected();if(J.source=this.parseExprAtom(),this.options.ecmaVersion>=16)J.attributes=this.parseWithClause()}else{for(var Z=0,q=J.specifiers;Z<q.length;Z+=1){var R=q[Z];if(this.checkUnreserved(R.local),this.checkLocalExport(R.local),R.local.type==="Literal")this.raise(R.local.start,"A string literal cannot be used as an exported binding without `from`.")}if(J.source=null,this.options.ecmaVersion>=16)J.attributes=[]}this.semicolon()}return this.finishNode(J,"ExportNamedDeclaration")};H.parseExportDeclaration=function(J){return this.parseStatement(null)};H.parseExportDefaultDeclaration=function(){var J;if(this.type===X._function||(J=this.isAsyncFunction())){var Q=this.startNode();if(this.next(),J)this.next();return this.parseFunction(Q,t|iJ,!1,J)}else if(this.type===X._class){var Z=this.startNode();return this.parseClass(Z,"nullableID")}else{var q=this.parseMaybeAssign();return this.semicolon(),q}};H.checkExport=function(J,Q,Z){if(!J)return;if(typeof Q!=="string")Q=Q.type==="Identifier"?Q.name:Q.value;if(a(J,Q))this.raiseRecoverable(Z,"Duplicate export '"+Q+"'");J[Q]=!0};H.checkPatternExport=function(J,Q){var Z=Q.type;if(Z==="Identifier")this.checkExport(J,Q,Q.start);else if(Z==="ObjectPattern")for(var q=0,R=Q.properties;q<R.length;q+=1){var W=R[q];this.checkPatternExport(J,W)}else if(Z==="ArrayPattern")for(var Y=0,j=Q.elements;Y<j.length;Y+=1){var K=j[Y];if(K)this.checkPatternExport(J,K)}else if(Z==="Property")this.checkPatternExport(J,Q.value);else if(Z==="AssignmentPattern")this.checkPatternExport(J,Q.left);else if(Z==="RestElement")this.checkPatternExport(J,Q.argument)};H.checkVariableExport=function(J,Q){if(!J)return;for(var Z=0,q=Q;Z<q.length;Z+=1){var R=q[Z];this.checkPatternExport(J,R.id)}};H.shouldParseExportStatement=function(){return this.type.keyword==="var"||this.type.keyword==="const"||this.type.keyword==="class"||this.type.keyword==="function"||this.isLet()||this.isAsyncFunction()};H.parseExportSpecifier=function(J){var Q=this.startNode();return Q.local=this.parseModuleExportName(),Q.exported=this.eatContextual("as")?this.parseModuleExportName():Q.local,this.checkExport(J,Q.exported,Q.exported.start),this.finishNode(Q,"ExportSpecifier")};H.parseExportSpecifiers=function(J){var Q=[],Z=!0;this.expect(X.braceL);while(!this.eat(X.braceR)){if(!Z){if(this.expect(X.comma),this.afterTrailingComma(X.braceR))break}else Z=!1;Q.push(this.parseExportSpecifier(J))}return Q};H.parseImport=function(J){if(this.next(),this.type===X.string)J.specifiers=wQ,J.source=this.parseExprAtom();else J.specifiers=this.parseImportSpecifiers(),this.expectContextual("from"),J.source=this.type===X.string?this.parseExprAtom():this.unexpected();if(this.options.ecmaVersion>=16)J.attributes=this.parseWithClause();return this.semicolon(),this.finishNode(J,"ImportDeclaration")};H.parseImportSpecifier=function(){var J=this.startNode();if(J.imported=this.parseModuleExportName(),this.eatContextual("as"))J.local=this.parseIdent();else this.checkUnreserved(J.imported),J.local=J.imported;return this.checkLValSimple(J.local,g),this.finishNode(J,"ImportSpecifier")};H.parseImportDefaultSpecifier=function(){var J=this.startNode();return J.local=this.parseIdent(),this.checkLValSimple(J.local,g),this.finishNode(J,"ImportDefaultSpecifier")};H.parseImportNamespaceSpecifier=function(){var J=this.startNode();return this.next(),this.expectContextual("as"),J.local=this.parseIdent(),this.checkLValSimple(J.local,g),this.finishNode(J,"ImportNamespaceSpecifier")};H.parseImportSpecifiers=function(){var J=[],Q=!0;if(this.type===X.name){if(J.push(this.parseImportDefaultSpecifier()),!this.eat(X.comma))return J}if(this.type===X.star)return J.push(this.parseImportNamespaceSpecifier()),J;this.expect(X.braceL);while(!this.eat(X.braceR)){if(!Q){if(this.expect(X.comma),this.afterTrailingComma(X.braceR))break}else Q=!1;J.push(this.parseImportSpecifier())}return J};H.parseWithClause=function(){var J=[];if(!this.eat(X._with))return J;this.expect(X.braceL);var Q={},Z=!0;while(!this.eat(X.braceR)){if(!Z){if(this.expect(X.comma),this.afterTrailingComma(X.braceR))break}else Z=!1;var q=this.parseImportAttribute(),R=q.key.type==="Identifier"?q.key.name:q.key.value;if(a(Q,R))this.raiseRecoverable(q.key.start,"Duplicate attribute key '"+R+"'");Q[R]=!0,J.push(q)}return J};H.parseImportAttribute=function(){var J=this.startNode();if(J.key=this.type===X.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never"),this.expect(X.colon),this.type!==X.string)this.unexpected();return J.value=this.parseExprAtom(),this.finishNode(J,"ImportAttribute")};H.parseModuleExportName=function(){if(this.options.ecmaVersion>=13&&this.type===X.string){var J=this.parseLiteral(this.value);if(vQ.test(J.value))this.raise(J.start,"An export name cannot include a lone surrogate.");return J}return this.parseIdent(!0)};H.adaptDirectivePrologue=function(J){for(var Q=0;Q<J.length&&this.isDirectiveCandidate(J[Q]);++Q)J[Q].directive=J[Q].expression.raw.slice(1,-1)};H.isDirectiveCandidate=function(J){return this.options.ecmaVersion>=5&&J.type==="ExpressionStatement"&&J.expression.type==="Literal"&&typeof J.expression.value==="string"&&(this.input[J.start]==='"'||this.input[J.start]==="'")};var $=N.prototype;$.toAssignable=function(J,Q,Z){if(this.options.ecmaVersion>=6&&J)switch(J.type){case"Identifier":if(this.inAsync&&J.name==="await")this.raise(J.start,"Cannot use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":if(J.type="ObjectPattern",Z)this.checkPatternErrors(Z,!0);for(var q=0,R=J.properties;q<R.length;q+=1){var W=R[q];if(this.toAssignable(W,Q),W.type==="RestElement"&&(W.argument.type==="ArrayPattern"||W.argument.type==="ObjectPattern"))this.raise(W.argument.start,"Unexpected token")}break;case"Property":if(J.kind!=="init")this.raise(J.key.start,"Object pattern can't contain getter or setter");this.toAssignable(J.value,Q);break;case"ArrayExpression":if(J.type="ArrayPattern",Z)this.checkPatternErrors(Z,!0);this.toAssignableList(J.elements,Q);break;case"SpreadElement":if(J.type="RestElement",this.toAssignable(J.argument,Q),J.argument.type==="AssignmentPattern")this.raise(J.argument.start,"Rest elements cannot have a default value");break;case"AssignmentExpression":if(J.operator!=="=")this.raise(J.left.end,"Only '=' operator can be used for specifying default value.");J.type="AssignmentPattern",delete J.operator,this.toAssignable(J.left,Q);break;case"ParenthesizedExpression":this.toAssignable(J.expression,Q,Z);break;case"ChainExpression":this.raiseRecoverable(J.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":if(!Q)break;default:this.raise(J.start,"Assigning to rvalue")}else if(Z)this.checkPatternErrors(Z,!0);return J};$.toAssignableList=function(J,Q){var Z=J.length;for(var q=0;q<Z;q++){var R=J[q];if(R)this.toAssignable(R,Q)}if(Z){var W=J[Z-1];if(this.options.ecmaVersion===6&&Q&&W&&W.type==="RestElement"&&W.argument.type!=="Identifier")this.unexpected(W.argument.start)}return J};$.parseSpread=function(J){var Q=this.startNode();return this.next(),Q.argument=this.parseMaybeAssign(!1,J),this.finishNode(Q,"SpreadElement")};$.parseRestBinding=function(){var J=this.startNode();if(this.next(),this.options.ecmaVersion===6&&this.type!==X.name)this.unexpected();return J.argument=this.parseBindingAtom(),this.finishNode(J,"RestElement")};$.parseBindingAtom=function(){if(this.options.ecmaVersion>=6)switch(this.type){case X.bracketL:var J=this.startNode();return this.next(),J.elements=this.parseBindingList(X.bracketR,!0,!0),this.finishNode(J,"ArrayPattern");case X.braceL:return this.parseObj(!0)}return this.parseIdent()};$.parseBindingList=function(J,Q,Z,q){var R=[],W=!0;while(!this.eat(J)){if(W)W=!1;else this.expect(X.comma);if(Q&&this.type===X.comma)R.push(null);else if(Z&&this.afterTrailingComma(J))break;else if(this.type===X.ellipsis){var Y=this.parseRestBinding();if(this.parseBindingListItem(Y),R.push(Y),this.type===X.comma)this.raiseRecoverable(this.start,"Comma is not permitted after the rest element");this.expect(J);break}else R.push(this.parseAssignableListItem(q))}return R};$.parseAssignableListItem=function(J){var Q=this.parseMaybeDefault(this.start,this.startLoc);return this.parseBindingListItem(Q),Q};$.parseBindingListItem=function(J){return J};$.parseMaybeDefault=function(J,Q,Z){if(Z=Z||this.parseBindingAtom(),this.options.ecmaVersion<6||!this.eat(X.eq))return Z;var q=this.startNodeAt(J,Q);return q.left=Z,q.right=this.parseMaybeAssign(),this.finishNode(q,"AssignmentPattern")};$.checkLValSimple=function(J,Q,Z){if(Q===void 0)Q=WJ;var q=Q!==WJ;switch(J.type){case"Identifier":if(this.strict&&this.reservedWordsStrictBind.test(J.name))this.raiseRecoverable(J.start,(q?"Binding ":"Assigning to ")+J.name+" in strict mode");if(q){if(Q===g&&J.name==="let")this.raiseRecoverable(J.start,"let is disallowed as a lexically bound name");if(Z){if(a(Z,J.name))this.raiseRecoverable(J.start,"Argument name clash");Z[J.name]=!0}if(Q!==dJ)this.declareName(J.name,Q,J.start)}break;case"ChainExpression":this.raiseRecoverable(J.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":if(q)this.raiseRecoverable(J.start,"Binding member expression");break;case"ParenthesizedExpression":if(q)this.raiseRecoverable(J.start,"Binding parenthesized expression");return this.checkLValSimple(J.expression,Q,Z);default:this.raise(J.start,(q?"Binding":"Assigning to")+" rvalue")}};$.checkLValPattern=function(J,Q,Z){if(Q===void 0)Q=WJ;switch(J.type){case"ObjectPattern":for(var q=0,R=J.properties;q<R.length;q+=1){var W=R[q];this.checkLValInnerPattern(W,Q,Z)}break;case"ArrayPattern":for(var Y=0,j=J.elements;Y<j.length;Y+=1){var K=j[Y];if(K)this.checkLValInnerPattern(K,Q,Z)}break;default:this.checkLValSimple(J,Q,Z)}};$.checkLValInnerPattern=function(J,Q,Z){if(Q===void 0)Q=WJ;switch(J.type){case"Property":this.checkLValInnerPattern(J.value,Q,Z);break;case"AssignmentPattern":this.checkLValPattern(J.left,Q,Z);break;case"RestElement":this.checkLValPattern(J.argument,Q,Z);break;default:this.checkLValPattern(J,Q,Z)}};var L=function(Q,Z,q,R,W){this.token=Q,this.isExpr=!!Z,this.preserveSpace=!!q,this.override=R,this.generator=!!W},U={b_stat:new L("{",!1),b_expr:new L("{",!0),b_tmpl:new L("${",!1),p_stat:new L("(",!1),p_expr:new L("(",!0),q_tmpl:new L("`",!0,!0,function(J){return J.tryReadTemplateToken()}),f_stat:new L("function",!1),f_expr:new L("function",!0),f_expr_gen:new L("function",!0,!1,null,!0),f_gen:new L("function",!1,!1,null,!0)},o=N.prototype;o.initialContext=function(){return[U.b_stat]};o.curContext=function(){return this.context[this.context.length-1]};o.braceIsBlock=function(J){var Q=this.curContext();if(Q===U.f_expr||Q===U.f_stat)return!0;if(J===X.colon&&(Q===U.b_stat||Q===U.b_expr))return!Q.isExpr;if(J===X._return||J===X.name&&this.exprAllowed)return v.test(this.input.slice(this.lastTokEnd,this.start));if(J===X._else||J===X.semi||J===X.eof||J===X.parenR||J===X.arrow)return!0;if(J===X.braceL)return Q===U.b_stat;if(J===X._var||J===X._const||J===X.name)return!1;return!this.exprAllowed};o.inGeneratorContext=function(){for(var J=this.context.length-1;J>=1;J--){var Q=this.context[J];if(Q.token==="function")return Q.generator}return!1};o.updateContext=function(J){var Q,Z=this.type;if(Z.keyword&&J===X.dot)this.exprAllowed=!1;else if(Q=Z.updateContext)Q.call(this,J);else this.exprAllowed=Z.beforeExpr};o.overrideContext=function(J){if(this.curContext()!==J)this.context[this.context.length-1]=J};X.parenR.updateContext=X.braceR.updateContext=function(){if(this.context.length===1){this.exprAllowed=!0;return}var J=this.context.pop();if(J===U.b_stat&&this.curContext().token==="function")J=this.context.pop();this.exprAllowed=!J.isExpr};X.braceL.updateContext=function(J){this.context.push(this.braceIsBlock(J)?U.b_stat:U.b_expr),this.exprAllowed=!0};X.dollarBraceL.updateContext=function(){this.context.push(U.b_tmpl),this.exprAllowed=!0};X.parenL.updateContext=function(J){var Q=J===X._if||J===X._for||J===X._with||J===X._while;this.context.push(Q?U.p_stat:U.p_expr),this.exprAllowed=!0};X.incDec.updateContext=function(){};X._function.updateContext=X._class.updateContext=function(J){if(J.beforeExpr&&J!==X._else&&!(J===X.semi&&this.curContext()!==U.p_stat)&&!(J===X._return&&v.test(this.input.slice(this.lastTokEnd,this.start)))&&!((J===X.colon||J===X.braceL)&&this.curContext()===U.b_stat))this.context.push(U.f_expr);else this.context.push(U.f_stat);this.exprAllowed=!1};X.colon.updateContext=function(){if(this.curContext().token==="function")this.context.pop();this.exprAllowed=!0};X.backQuote.updateContext=function(){if(this.curContext()===U.q_tmpl)this.context.pop();else this.context.push(U.q_tmpl);this.exprAllowed=!1};X.star.updateContext=function(J){if(J===X._function){var Q=this.context.length-1;if(this.context[Q]===U.f_expr)this.context[Q]=U.f_expr_gen;else this.context[Q]=U.f_gen}this.exprAllowed=!0};X.name.updateContext=function(J){var Q=!1;if(this.options.ecmaVersion>=6&&J!==X.dot){if(this.value==="of"&&!this.exprAllowed||this.value==="yield"&&this.inGeneratorContext())Q=!0}this.exprAllowed=Q};var O=N.prototype;O.checkPropClash=function(J,Q,Z){if(this.options.ecmaVersion>=9&&J.type==="SpreadElement")return;if(this.options.ecmaVersion>=6&&(J.computed||J.method||J.shorthand))return;var q=J.key,R;switch(q.type){case"Identifier":R=q.name;break;case"Literal":R=String(q.value);break;default:return}var W=J.kind;if(this.options.ecmaVersion>=6){if(R==="__proto__"&&W==="init"){if(Q.proto)if(Z){if(Z.doubleProto<0)Z.doubleProto=q.start}else this.raiseRecoverable(q.start,"Redefinition of __proto__ property");Q.proto=!0}return}R="$"+R;var Y=Q[R];if(Y){var j;if(W==="init")j=this.strict&&Y.init||Y.get||Y.set;else j=Y.init||Y[W];if(j)this.raiseRecoverable(q.start,"Redefinition of property")}else Y=Q[R]={init:!1,get:!1,set:!1};Y[W]=!0};O.parseExpression=function(J,Q){var Z=this;return this.catchStackOverflow(function(){var{start:q,startLoc:R}=Z,W=Z.parseMaybeAssign(J,Q);if(Z.type===X.comma){var Y=Z.startNodeAt(q,R);Y.expressions=[W];while(Z.eat(X.comma))Y.expressions.push(Z.parseMaybeAssign(J,Q));return Z.finishNode(Y,"SequenceExpression")}return W})};O.parseMaybeAssign=function(J,Q,Z){if(this.isContextual("yield"))if(this.inGenerator)return this.parseYield(J);else this.exprAllowed=!1;var q=!1,R=-1,W=-1,Y=-1;if(Q)R=Q.parenthesizedAssign,W=Q.trailingComma,Y=Q.doubleProto,Q.parenthesizedAssign=Q.trailingComma=-1;else Q=new OJ,q=!0;var j=this.start,K=this.startLoc;if(this.type===X.parenL||this.type===X.name)this.potentialArrowAt=this.start,this.potentialArrowInForAwait=J==="await";var z=this.parseMaybeConditional(J,Q);if(Z)z=Z.call(this,z,j,K);if(this.type.isAssign){var G=this.startNodeAt(j,K);if(G.operator=this.value,this.type===X.eq)z=this.toAssignable(z,!1,Q);if(!q)Q.parenthesizedAssign=Q.trailingComma=Q.doubleProto=-1;if(Q.shorthandAssign>=z.start)Q.shorthandAssign=-1;if(this.type===X.eq)this.checkLValPattern(z);else this.checkLValSimple(z);if(G.left=z,this.next(),G.right=this.parseMaybeAssign(J),Y>-1)Q.doubleProto=Y;return this.finishNode(G,"AssignmentExpression")}else if(q)this.checkExpressionErrors(Q,!0);if(R>-1)Q.parenthesizedAssign=R;if(W>-1)Q.trailingComma=W;return z};O.parseMaybeConditional=function(J,Q){var Z=this.start,q=this.startLoc,R=this.parseExprOps(J,Q);if(this.checkExpressionErrors(Q))return R;if(!(R.type==="ArrowFunctionExpression"&&R.start===Z)&&this.eat(X.question)){var W=this.startNodeAt(Z,q);return W.test=R,W.consequent=this.parseMaybeAssign(),this.expect(X.colon),W.alternate=this.parseMaybeAssign(J),this.finishNode(W,"ConditionalExpression")}return R};O.parseExprOps=function(J,Q){var Z=this.start,q=this.startLoc,R=this.parseMaybeUnary(Q,!1,!1,J);if(this.checkExpressionErrors(Q))return R;return R.start===Z&&R.type==="ArrowFunctionExpression"?R:this.parseExprOp(R,Z,q,-1,J)};O.parseExprOp=function(J,Q,Z,q,R){var W=this.type.binop;if(W!=null&&(!R||this.type!==X._in)){if(W>q){var Y=this.type===X.logicalOR||this.type===X.logicalAND,j=this.type===X.coalesce;if(j)W=X.logicalAND.binop;var K=this.value;this.next();var z=this.start,G=this.startLoc,B=this.parseExprOp(this.parseMaybeUnary(null,!1,!1,R),z,G,W,R),I=this.buildBinary(Q,Z,J,B,K,Y||j);if(Y&&this.type===X.coalesce||j&&(this.type===X.logicalOR||this.type===X.logicalAND))this.raiseRecoverable(this.start,"Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses");return this.parseExprOp(I,Q,Z,q,R)}}return J};O.buildBinary=function(J,Q,Z,q,R,W){if(q.type==="PrivateIdentifier")this.raise(q.start,"Private identifier can only be left side of binary expression");var Y=this.startNodeAt(J,Q);return Y.left=Z,Y.operator=R,Y.right=q,this.finishNode(Y,W?"LogicalExpression":"BinaryExpression")};O.parseMaybeUnary=function(J,Q,Z,q){var R=this.start,W=this.startLoc,Y;if(this.isContextual("await")&&this.canAwait)Y=this.parseAwait(q),Q=!0;else if(this.type.prefix){var j=this.startNode(),K=this.type===X.incDec;if(j.operator=this.value,j.prefix=!0,this.next(),j.argument=this.parseMaybeUnary(null,!0,K,q),this.checkExpressionErrors(J,!0),K)this.checkLValSimple(j.argument);else if(this.strict&&j.operator==="delete"&&nJ(j.argument))this.raiseRecoverable(j.start,"Deleting local variable in strict mode");else if(j.operator==="delete"&&NJ(j.argument))this.raiseRecoverable(j.start,"Private fields can not be deleted");else Q=!0;Y=this.finishNode(j,K?"UpdateExpression":"UnaryExpression")}else if(!Q&&this.type===X.privateId){if((q||this.privateNameStack.length===0)&&this.options.checkPrivateFields)this.unexpected();if(Y=this.parsePrivateIdent(),this.type!==X._in)this.unexpected()}else{if(Y=this.parseExprSubscripts(J,q),this.checkExpressionErrors(J))return Y;while(this.type.postfix&&!this.canInsertSemicolon()){var z=this.startNodeAt(R,W);z.operator=this.value,z.prefix=!1,z.argument=Y,this.checkLValSimple(Y),this.next(),Y=this.finishNode(z,"UpdateExpression")}}if(!Z&&!(Y.type==="ArrowFunctionExpression"&&Y.start===R)&&this.eat(X.starstar))if(Q)this.unexpected(this.lastTokStart);else return this.buildBinary(R,W,Y,this.parseMaybeUnary(null,!1,!1,q),"**",!1);else return Y};function nJ(J){return J.type==="Identifier"||J.type==="ParenthesizedExpression"&&nJ(J.expression)}function NJ(J){return J.type==="MemberExpression"&&J.property.type==="PrivateIdentifier"||J.type==="ChainExpression"&&NJ(J.expression)||J.type==="ParenthesizedExpression"&&NJ(J.expression)}O.parseExprSubscripts=function(J,Q){var Z=this.start,q=this.startLoc,R=this.parseExprAtom(J,Q);if(R.type==="ArrowFunctionExpression"&&this.input.slice(this.lastTokStart,this.lastTokEnd)!==")")return R;var W=this.parseSubscripts(R,Z,q,!1,Q);if(J&&W.type==="MemberExpression"){if(J.parenthesizedAssign>=W.start)J.parenthesizedAssign=-1;if(J.parenthesizedBind>=W.start)J.parenthesizedBind=-1;if(J.trailingComma>=W.start)J.trailingComma=-1}return W};O.parseSubscripts=function(J,Q,Z,q,R){var W=this.options.ecmaVersion>=8&&J.type==="Identifier"&&J.name==="async"&&this.lastTokEnd===J.end&&!this.canInsertSemicolon()&&J.end-J.start===5&&this.potentialArrowAt===J.start,Y=!1;while(!0){var j=this.parseSubscript(J,Q,Z,q,W,Y,R);if(j.optional)Y=!0;if(j===J||j.type==="ArrowFunctionExpression"){if(Y){var K=this.startNodeAt(Q,Z);K.expression=j,j=this.finishNode(K,"ChainExpression")}return j}J=j}};O.shouldParseAsyncArrow=function(){return!this.canInsertSemicolon()&&this.eat(X.arrow)};O.parseSubscriptAsyncArrow=function(J,Q,Z,q){return this.parseArrowExpression(this.startNodeAt(J,Q),Z,!0,q)};O.parseSubscript=function(J,Q,Z,q,R,W,Y){var j=this.options.ecmaVersion>=11,K=j&&this.eat(X.questionDot);if(q&&K)this.raise(this.lastTokStart,"Optional chaining cannot appear in the callee of new expressions");var z=this.eat(X.bracketL);if(z||K&&this.type!==X.parenL&&this.type!==X.backQuote||this.eat(X.dot)){var G=this.startNodeAt(Q,Z);if(G.object=J,z)G.property=this.parseExpression(),this.expect(X.bracketR);else if(this.type===X.privateId&&J.type!=="Super")G.property=this.parsePrivateIdent();else G.property=this.parseIdent(this.options.allowReserved!=="never");if(G.computed=!!z,j)G.optional=K;J=this.finishNode(G,"MemberExpression")}else if(!q&&this.eat(X.parenL)){var B=new OJ,I=this.yieldPos,r=this.awaitPos,c=this.awaitIdentPos;this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0;var qJ=this.parseExprList(X.parenR,this.options.ecmaVersion>=8,!1,B);if(R&&!K&&this.shouldParseAsyncArrow()){if(this.checkPatternErrors(B,!1),this.checkYieldAwaitInDefaultParams(),this.awaitIdentPos>0)this.raise(this.awaitIdentPos,"Cannot use 'await' as identifier inside an async function");return this.yieldPos=I,this.awaitPos=r,this.awaitIdentPos=c,this.parseSubscriptAsyncArrow(Q,Z,qJ,Y)}this.checkExpressionErrors(B,!0),this.yieldPos=I||this.yieldPos,this.awaitPos=r||this.awaitPos,this.awaitIdentPos=c||this.awaitIdentPos;var d=this.startNodeAt(Q,Z);if(d.callee=J,d.arguments=qJ,j)d.optional=K;J=this.finishNode(d,"CallExpression")}else if(this.type===X.backQuote){if(K||W)this.raise(this.start,"Optional chaining cannot appear in the tag of tagged template expressions");var i=this.startNodeAt(Q,Z);i.tag=J,i.quasi=this.parseTemplate({isTagged:!0}),J=this.finishNode(i,"TaggedTemplateExpression")}return J};O.parseExprAtom=function(J,Q,Z){if(this.type===X.slash)this.readRegexp();var q,R=this.potentialArrowAt===this.start;switch(this.type){case X._super:if(!this.allowSuper)this.raise(this.start,"'super' keyword outside a method");if(q=this.startNode(),this.next(),this.type===X.parenL&&!this.allowDirectSuper)this.raise(q.start,"super() call outside constructor of a subclass");if(this.type!==X.dot&&this.type!==X.bracketL&&this.type!==X.parenL)this.unexpected();return this.finishNode(q,"Super");case X._this:return q=this.startNode(),this.next(),this.finishNode(q,"ThisExpression");case X.name:var W=this.start,Y=this.startLoc,j=this.containsEsc,K=this.parseIdent(!1);if(this.options.ecmaVersion>=8&&!j&&K.name==="async"&&!this.canInsertSemicolon()&&this.eat(X._function))return this.overrideContext(U.f_expr),this.parseFunction(this.startNodeAt(W,Y),0,!1,!0,Q);if(R&&!this.canInsertSemicolon()){if(this.eat(X.arrow))return this.parseArrowExpression(this.startNodeAt(W,Y),[K],!1,Q);if(this.options.ecmaVersion>=8&&K.name==="async"&&this.type===X.name&&!j&&(!this.potentialArrowInForAwait||this.value!=="of"||this.containsEsc)){if(K=this.parseIdent(!1),this.canInsertSemicolon()||!this.eat(X.arrow))this.unexpected();return this.parseArrowExpression(this.startNodeAt(W,Y),[K],!0,Q)}}return K;case X.regexp:var z=this.value;return q=this.parseLiteral(z.value),q.regex={pattern:z.pattern,flags:z.flags},q;case X.num:case X.string:return this.parseLiteral(this.value);case X._null:case X._true:case X._false:return q=this.startNode(),q.value=this.type===X._null?null:this.type===X._true,q.raw=this.type.keyword,this.next(),this.finishNode(q,"Literal");case X.parenL:var G=this.start,B=this.parseParenAndDistinguishExpression(R,Q);if(J){if(J.parenthesizedAssign<0&&!this.isSimpleAssignTarget(B))J.parenthesizedAssign=G;if(J.parenthesizedBind<0)J.parenthesizedBind=G}return B;case X.bracketL:return q=this.startNode(),this.next(),q.elements=this.parseExprList(X.bracketR,!0,!0,J),this.finishNode(q,"ArrayExpression");case X.braceL:return this.overrideContext(U.b_expr),this.parseObj(!1,J);case X._function:return q=this.startNode(),this.next(),this.parseFunction(q,0);case X._class:return this.parseClass(this.startNode(),!1);case X._new:return this.parseNew();case X.backQuote:return this.parseTemplate();case X._import:if(this.options.ecmaVersion>=11)return this.parseExprImport(Z);else return this.unexpected();default:return this.parseExprAtomDefault()}};O.parseExprAtomDefault=function(){this.unexpected()};O.parseExprImport=function(J){var Q=this.startNode();if(this.containsEsc)this.raiseRecoverable(this.start,"Escape sequence in keyword import");if(this.next(),this.type===X.parenL&&!J)return this.parseDynamicImport(Q);else if(this.type===X.dot){var Z=this.startNodeAt(Q.start,Q.loc&&Q.loc.start);return Z.name="import",Q.meta=this.finishNode(Z,"Identifier"),this.parseImportMeta(Q)}else this.unexpected()};O.parseDynamicImport=function(J){if(this.next(),J.source=this.parseMaybeAssign(),this.options.ecmaVersion>=16)if(!this.eat(X.parenR))if(this.expect(X.comma),!this.afterTrailingComma(X.parenR)){if(J.options=this.parseMaybeAssign(),!this.eat(X.parenR)){if(this.expect(X.comma),!this.afterTrailingComma(X.parenR))this.unexpected()}}else J.options=null;else J.options=null;else if(!this.eat(X.parenR)){var Q=this.start;if(this.eat(X.comma)&&this.eat(X.parenR))this.raiseRecoverable(Q,"Trailing comma is not allowed in import()");else this.unexpected(Q)}return this.finishNode(J,"ImportExpression")};O.parseImportMeta=function(J){this.next();var Q=this.containsEsc;if(J.property=this.parseIdent(!0),J.property.name!=="meta")this.raiseRecoverable(J.property.start,"The only valid meta property for import is 'import.meta'");if(Q)this.raiseRecoverable(J.start,"'import.meta' must not contain escaped characters");if(this.options.sourceType!=="module"&&!this.options.allowImportExportEverywhere)this.raiseRecoverable(J.start,"Cannot use 'import.meta' outside a module");return this.finishNode(J,"MetaProperty")};O.parseLiteral=function(J){var Q=this.startNode();if(Q.value=J,Q.raw=this.input.slice(this.start,this.end),Q.raw.charCodeAt(Q.raw.length-1)===110)Q.bigint=Q.value!=null?Q.value.toString():Q.raw.slice(0,-1).replace(/_/g,"");return this.next(),this.finishNode(Q,"Literal")};O.parseParenExpression=function(){this.expect(X.parenL);var J=this.parseExpression();return this.expect(X.parenR),J};O.shouldParseArrow=function(J){return!this.canInsertSemicolon()};O.parseParenAndDistinguishExpression=function(J,Q){var Z=this.start,q=this.startLoc,R,W=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var Y=this.start,j=this.startLoc,K=[],z=!0,G=!1,B=new OJ,I=this.yieldPos,r=this.awaitPos,c;this.yieldPos=0,this.awaitPos=0;while(this.type!==X.parenR)if(z?z=!1:this.expect(X.comma),W&&this.afterTrailingComma(X.parenR,!0)){G=!0;break}else if(this.type===X.ellipsis){if(c=this.start,K.push(this.parseParenItem(this.parseRestBinding())),this.type===X.comma)this.raiseRecoverable(this.start,"Comma is not permitted after the rest element");break}else K.push(this.parseMaybeAssign(!1,B,this.parseParenItem));var qJ=this.lastTokEnd,d=this.lastTokEndLoc;if(this.expect(X.parenR),J&&this.shouldParseArrow(K)&&this.eat(X.arrow))return this.checkPatternErrors(B,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=I,this.awaitPos=r,this.parseParenArrowList(Z,q,K,Q);if(!K.length||G)this.unexpected(this.lastTokStart);if(c)this.unexpected(c);if(this.checkExpressionErrors(B,!0),this.yieldPos=I||this.yieldPos,this.awaitPos=r||this.awaitPos,K.length>1)R=this.startNodeAt(Y,j),R.expressions=K,this.finishNodeAt(R,"SequenceExpression",qJ,d);else R=K[0]}else R=this.parseParenExpression();if(this.options.preserveParens){var i=this.startNodeAt(Z,q);return i.expression=R,this.finishNode(i,"ParenthesizedExpression")}else return R};O.parseParenItem=function(J){return J};O.parseParenArrowList=function(J,Q,Z,q){return this.parseArrowExpression(this.startNodeAt(J,Q),Z,!1,q)};var $Q=[];O.parseNew=function(){if(this.containsEsc)this.raiseRecoverable(this.start,"Escape sequence in keyword new");var J=this.startNode();if(this.next(),this.options.ecmaVersion>=6&&this.type===X.dot){var Q=this.startNodeAt(J.start,J.loc&&J.loc.start);Q.name="new",J.meta=this.finishNode(Q,"Identifier"),this.next();var Z=this.containsEsc;if(J.property=this.parseIdent(!0),J.property.name!=="target")this.raiseRecoverable(J.property.start,"The only valid meta property for new is 'new.target'");if(Z)this.raiseRecoverable(J.start,"'new.target' must not contain escaped characters");if(!this.allowNewDotTarget)this.raiseRecoverable(J.start,"'new.target' can only be used in functions and class static block");return this.finishNode(J,"MetaProperty")}var q=this.start,R=this.startLoc;if(J.callee=this.parseSubscripts(this.parseExprAtom(null,!1,!0),q,R,!0,!1),J.callee.type==="Super")this.raiseRecoverable(q,"Invalid use of 'super'");if(this.eat(X.parenL))J.arguments=this.parseExprList(X.parenR,this.options.ecmaVersion>=8,!1);else J.arguments=$Q;return this.finishNode(J,"NewExpression")};O.parseTemplateElement=function(J){var Q=J.isTagged,Z=this.startNode();if(this.type===X.invalidTemplate){if(!Q)this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal");Z.value={raw:this.value.replace(/\r\n?/g,`
4
4
  `),cooked:null}}else Z.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,`
@@ -7,4 +7,4 @@ Defaulting to 2020, but this will stop working in the future.`);Q.ecmaVersion=11
7
7
  `)++this.pos;case`
8
8
  `:case"\u2028":case"\u2029":++this.curLine,this.lineStart=this.pos+1;break}this.raise(this.start,"Unterminated template")};F.readEscapedChar=function(J){var Q=this.input.charCodeAt(++this.pos);switch(++this.pos,Q){case 110:return`
9
9
  `;case 114:return"\r";case 120:return String.fromCharCode(this.readHexChar(2));case 117:return y(this.readCodePoint());case 116:return"\t";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:if(this.input.charCodeAt(this.pos)===10)++this.pos;case 10:if(this.options.locations)this.lineStart=this.pos,++this.curLine;return"";case 56:case 57:if(this.strict)this.invalidStringToken(this.pos-1,"Invalid escape sequence");if(J){var Z=this.pos-1;this.invalidStringToken(Z,"Invalid escape sequence in template string")}default:if(Q>=48&&Q<=55){var q=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],R=parseInt(q,8);if(R>255)q=q.slice(0,-1),R=parseInt(q,8);if(this.pos+=q.length-1,Q=this.input.charCodeAt(this.pos),(q!=="0"||Q===56||Q===57)&&(this.strict||J))this.invalidStringToken(this.pos-1-q.length,J?"Octal literal in template string":"Octal literal in strict mode");return String.fromCharCode(R)}if(u(Q)){if(this.options.locations)this.lineStart=this.pos,++this.curLine;return""}return String.fromCharCode(Q)}};F.readHexChar=function(J){var Q=this.pos,Z=this.readInt(16,J);if(Z===null)this.invalidStringToken(Q,"Bad character escape sequence");return Z};F.readWord1=function(){this.containsEsc=!1;var J="",Q=!0,Z=this.pos,q=this.options.ecmaVersion>=6;while(this.pos<this.input.length){var R=this.fullCharCodeAtPos();if(E(R,q))this.pos+=R<=65535?1:2;else if(R===92){this.containsEsc=!0,J+=this.input.slice(Z,this.pos);var W=this.pos;if(this.input.charCodeAt(++this.pos)!==117)this.invalidStringToken(this.pos,"Expecting Unicode escape sequence \\uXXXX");++this.pos;var Y=this.readCodePoint();if(!(Q?k:E)(Y,q))this.invalidStringToken(W,"Invalid Unicode escape");J+=y(Y),Z=this.pos}else break;Q=!1}return J+this.input.slice(Z,this.pos)};F.readWord=function(){var J=this.readWord1(),Q=X.name;if(this.keywords.test(J))Q=_J[J];return this.finishToken(Q,J)};var FQ="8.18.0";N.acorn={Parser:N,version:FQ,defaultOptions:RJ,Position:n,SourceLocation:e,getLineInfo:SJ,Node:QJ,TokenType:M,tokTypes:X,keywordTypes:_J,TokContext:L,tokContexts:U,isIdentifierChar:E,isIdentifierStart:k,Token:FJ,isNewLine:u,lineBreak:v,lineBreakG:xJ,nonASCIIwhitespace:IJ};function tQ(J,Q){return N.parse(J,Q)}function eQ(J,Q,Z){return N.parseExpressionAt(J,Q,Z)}function JZ(J,Q){return N.tokenizer(J,Q)}
10
- export{k as Y,E as Z,N as _,tQ as $,QZ as aa};
10
+ export{k as Z,E as _,N as $,tQ as aa,QZ as ba};