2410 lines
2.4 MiB
2410 lines
2.4 MiB
import {createRequire} from 'module'
|
|
import {dirname as __global__dirname__} from 'path'
|
|
import {fileURLToPath} from 'url'
|
|
const require=createRequire(import.meta.url)
|
|
const __filename=fileURLToPath(import.meta.url)
|
|
const __dirname=__global__dirname__(__filename)
|
|
var cN=Object.create;var Dc=Object.defineProperty;var pN=Object.getOwnPropertyDescriptor;var dN=Object.getOwnPropertyNames;var fN=Object.getPrototypeOf,hN=Object.prototype.hasOwnProperty;var yt=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,n)=>(typeof require<"u"?require:t)[n]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')});var mN=(e,t)=>()=>(e&&(t=e(e=0)),t);var me=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),yN=(e,t)=>{for(var n in t)Dc(e,n,{get:t[n],enumerable:!0})},qv=(e,t,n,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of dN(t))!hN.call(e,o)&&o!==n&&Dc(e,o,{get:()=>t[o],enumerable:!(i=pN(t,o))||i.enumerable});return e};var Fi=(e,t,n)=>(n=e!=null?cN(fN(e)):{},qv(t||!e||!e.__esModule?Dc(n,"default",{value:e,enumerable:!0}):n,e)),Er=e=>qv(Dc({},"__esModule",{value:!0}),e);var br={};yN(br,{__addDisposableResource:()=>cT,__assign:()=>Ic,__asyncDelegator:()=>rT,__asyncGenerator:()=>tT,__asyncValues:()=>nT,__await:()=>eo,__awaiter:()=>Xv,__classPrivateFieldGet:()=>oT,__classPrivateFieldIn:()=>uT,__classPrivateFieldSet:()=>lT,__createBinding:()=>Nc,__decorate:()=>zv,__disposeResources:()=>pT,__esDecorate:()=>bN,__exportStar:()=>Yv,__extends:()=>Wv,__generator:()=>Jv,__importDefault:()=>aT,__importStar:()=>sT,__makeTemplateObject:()=>iT,__metadata:()=>Hv,__param:()=>Gv,__propKey:()=>vN,__read:()=>eh,__rest:()=>Kv,__runInitializers:()=>gN,__setFunctionName:()=>TN,__spread:()=>Qv,__spreadArray:()=>eT,__spreadArrays:()=>Zv,__values:()=>Oc,default:()=>xN});function Wv(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");Zf(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}function Kv(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,i=Object.getOwnPropertySymbols(e);o<i.length;o++)t.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]]);return n}function zv(e,t,n,i){var o=arguments.length,r=o<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,n):i,u;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(u=e[a])&&(r=(o<3?u(r):o>3?u(t,n,r):u(t,n))||r);return o>3&&r&&Object.defineProperty(t,n,r),r}function Gv(e,t){return function(n,i){t(n,i,e)}}function bN(e,t,n,i,o,r){function u(E){if(E!==void 0&&typeof E!="function")throw new TypeError("Function expected");return E}for(var a=i.kind,m=a==="getter"?"get":a==="setter"?"set":"value",d=!t&&e?i.static?e:e.prototype:null,s=t||(d?Object.getOwnPropertyDescriptor(d,i.name):{}),l,f=!1,p=n.length-1;p>=0;p--){var h={};for(var y in i)h[y]=y==="access"?{}:i[y];for(var y in i.access)h.access[y]=i.access[y];h.addInitializer=function(E){if(f)throw new TypeError("Cannot add initializers after decoration has completed");r.push(u(E||null))};var b=(0,n[p])(a==="accessor"?{get:s.get,set:s.set}:s[m],h);if(a==="accessor"){if(b===void 0)continue;if(b===null||typeof b!="object")throw new TypeError("Object expected");(l=u(b.get))&&(s.get=l),(l=u(b.set))&&(s.set=l),(l=u(b.init))&&o.unshift(l)}else(l=u(b))&&(a==="field"?o.unshift(l):s[m]=l)}d&&Object.defineProperty(d,i.name,s),f=!0}function gN(e,t,n){for(var i=arguments.length>2,o=0;o<t.length;o++)n=i?t[o].call(e,n):t[o].call(e);return i?n:void 0}function vN(e){return typeof e=="symbol"?e:"".concat(e)}function TN(e,t,n){return typeof t=="symbol"&&(t=t.description?"[".concat(t.description,"]"):""),Object.defineProperty(e,"name",{configurable:!0,value:n?"".concat(n," ",t):t})}function Hv(e,t){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(e,t)}function Xv(e,t,n,i){function o(r){return r instanceof n?r:new n(function(u){u(r)})}return new(n||(n=Promise))(function(r,u){function a(s){try{d(i.next(s))}catch(l){u(l)}}function m(s){try{d(i.throw(s))}catch(l){u(l)}}function d(s){s.done?r(s.value):o(s.value).then(a,m)}d((i=i.apply(e,t||[])).next())})}function Jv(e,t){var n={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},i,o,r,u;return u={next:a(0),throw:a(1),return:a(2)},typeof Symbol=="function"&&(u[Symbol.iterator]=function(){return this}),u;function a(d){return function(s){return m([d,s])}}function m(d){if(i)throw new TypeError("Generator is already executing.");for(;u&&(u=0,d[0]&&(n=0)),n;)try{if(i=1,o&&(r=d[0]&2?o.return:d[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,d[1])).done)return r;switch(o=0,r&&(d=[d[0]&2,r.value]),d[0]){case 0:case 1:r=d;break;case 4:return n.label++,{value:d[1],done:!1};case 5:n.label++,o=d[1],d=[0];continue;case 7:d=n.ops.pop(),n.trys.pop();continue;default:if(r=n.trys,!(r=r.length>0&&r[r.length-1])&&(d[0]===6||d[0]===2)){n=0;continue}if(d[0]===3&&(!r||d[1]>r[0]&&d[1]<r[3])){n.label=d[1];break}if(d[0]===6&&n.label<r[1]){n.label=r[1],r=d;break}if(r&&n.label<r[2]){n.label=r[2],n.ops.push(d);break}r[2]&&n.ops.pop(),n.trys.pop();continue}d=t.call(e,n)}catch(s){d=[6,s],o=0}finally{i=r=0}if(d[0]&5)throw d[1];return{value:d[0]?d[1]:void 0,done:!0}}}function Yv(e,t){for(var n in e)n!=="default"&&!Object.prototype.hasOwnProperty.call(t,n)&&Nc(t,e,n)}function Oc(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],i=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function eh(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var i=n.call(e),o,r=[],u;try{for(;(t===void 0||t-- >0)&&!(o=i.next()).done;)r.push(o.value)}catch(a){u={error:a}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(u)throw u.error}}return r}function Qv(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(eh(arguments[t]));return e}function Zv(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;for(var i=Array(e),o=0,t=0;t<n;t++)for(var r=arguments[t],u=0,a=r.length;u<a;u++,o++)i[o]=r[u];return i}function eT(e,t,n){if(n||arguments.length===2)for(var i=0,o=t.length,r;i<o;i++)(r||!(i in t))&&(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}function eo(e){return this instanceof eo?(this.v=e,this):new eo(e)}function tT(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i=n.apply(e,t||[]),o,r=[];return o={},u("next"),u("throw"),u("return"),o[Symbol.asyncIterator]=function(){return this},o;function u(f){i[f]&&(o[f]=function(p){return new Promise(function(h,y){r.push([f,p,h,y])>1||a(f,p)})})}function a(f,p){try{m(i[f](p))}catch(h){l(r[0][3],h)}}function m(f){f.value instanceof eo?Promise.resolve(f.value.v).then(d,s):l(r[0][2],f)}function d(f){a("next",f)}function s(f){a("throw",f)}function l(f,p){f(p),r.shift(),r.length&&a(r[0][0],r[0][1])}}function rT(e){var t,n;return t={},i("next"),i("throw",function(o){throw o}),i("return"),t[Symbol.iterator]=function(){return this},t;function i(o,r){t[o]=e[o]?function(u){return(n=!n)?{value:eo(e[o](u)),done:!1}:r?r(u):u}:r}}function nT(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof Oc=="function"?Oc(e):e[Symbol.iterator](),n={},i("next"),i("throw"),i("return"),n[Symbol.asyncIterator]=function(){return this},n);function i(r){n[r]=e[r]&&function(u){return new Promise(function(a,m){u=e[r](u),o(a,m,u.done,u.value)})}}function o(r,u,a,m){Promise.resolve(m).then(function(d){r({value:d,done:a})},u)}}function iT(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}function sT(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)n!=="default"&&Object.prototype.hasOwnProperty.call(e,n)&&Nc(t,e,n);return EN(t,e),t}function aT(e){return e&&e.__esModule?e:{default:e}}function oT(e,t,n,i){if(n==="a"&&!i)throw new TypeError("Private accessor was defined without a getter");if(typeof t=="function"?e!==t||!i:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return n==="m"?i:n==="a"?i.call(e):i?i.value:t.get(e)}function lT(e,t,n,i,o){if(i==="m")throw new TypeError("Private method is not writable");if(i==="a"&&!o)throw new TypeError("Private accessor was defined without a setter");if(typeof t=="function"?e!==t||!o:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return i==="a"?o.call(e,n):o?o.value=n:t.set(e,n),n}function uT(e,t){if(t===null||typeof t!="object"&&typeof t!="function")throw new TypeError("Cannot use 'in' operator on non-object");return typeof e=="function"?t===e:e.has(t)}function cT(e,t,n){if(t!=null){if(typeof t!="object"&&typeof t!="function")throw new TypeError("Object expected.");var i;if(n){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");i=t[Symbol.asyncDispose]}if(i===void 0){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");i=t[Symbol.dispose]}if(typeof i!="function")throw new TypeError("Object not disposable.");e.stack.push({value:t,dispose:i,async:n})}else n&&e.stack.push({async:!0});return t}function pT(e){function t(i){e.error=e.hasError?new SN(i,e.error,"An error was suppressed during disposal."):i,e.hasError=!0}function n(){for(;e.stack.length;){var i=e.stack.pop();try{var o=i.dispose&&i.dispose.call(i.value);if(i.async)return Promise.resolve(o).then(n,function(r){return t(r),n()})}catch(r){t(r)}}if(e.hasError)throw e.error}return n()}var Zf,Ic,Nc,EN,SN,xN,gr=mN(()=>{Zf=function(e,t){return Zf=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(n[o]=i[o])},Zf(e,t)};Ic=function(){return Ic=Object.assign||function(t){for(var n,i=1,o=arguments.length;i<o;i++){n=arguments[i];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},Ic.apply(this,arguments)};Nc=Object.create?function(e,t,n,i){i===void 0&&(i=n);var o=Object.getOwnPropertyDescriptor(t,n);(!o||("get"in o?!t.__esModule:o.writable||o.configurable))&&(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,i,o)}:function(e,t,n,i){i===void 0&&(i=n),e[i]=t[n]};EN=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t};SN=typeof SuppressedError=="function"?SuppressedError:function(e,t,n){var i=new Error(n);return i.name="SuppressedError",i.error=e,i.suppressed=t,i};xN={__extends:Wv,__assign:Ic,__rest:Kv,__decorate:zv,__param:Gv,__metadata:Hv,__awaiter:Xv,__generator:Jv,__createBinding:Nc,__exportStar:Yv,__values:Oc,__read:eh,__spread:Qv,__spreadArrays:Zv,__spreadArray:eT,__await:eo,__asyncGenerator:tT,__asyncDelegator:rT,__asyncValues:nT,__makeTemplateObject:iT,__importStar:sT,__importDefault:aT,__classPrivateFieldGet:oT,__classPrivateFieldSet:lT,__classPrivateFieldIn:uT,__addDisposableResource:cT,__disposeResources:pT}});var nn=me(ml=>{"use strict";Object.defineProperty(ml,"__esModule",{value:!0});ml.Def=void 0;var to=(gr(),Er(br)),yT=Object.prototype,Lc=yT.toString,gi=yT.hasOwnProperty,hl=function(){function e(){}return e.prototype.assert=function(t,n){if(!this.check(t,n)){var i=rh(t);throw new Error(i+" does not match type "+this)}return!0},e.prototype.arrayOf=function(){var t=this;return new th(t)},e}(),th=function(e){to.__extends(t,e);function t(n){var i=e.call(this)||this;return i.elemType=n,i.kind="ArrayType",i}return t.prototype.toString=function(){return"["+this.elemType+"]"},t.prototype.check=function(n,i){var o=this;return Array.isArray(n)&&n.every(function(r){return o.elemType.check(r,i)})},t}(hl),dT=function(e){to.__extends(t,e);function t(n){var i=e.call(this)||this;return i.value=n,i.kind="IdentityType",i}return t.prototype.toString=function(){return String(this.value)},t.prototype.check=function(n,i){var o=n===this.value;return!o&&typeof i=="function"&&i(this,n),o},t}(hl),fT=function(e){to.__extends(t,e);function t(n){var i=e.call(this)||this;return i.fields=n,i.kind="ObjectType",i}return t.prototype.toString=function(){return"{ "+this.fields.join(", ")+" }"},t.prototype.check=function(n,i){return Lc.call(n)===Lc.call({})&&this.fields.every(function(o){return o.type.check(n[o.name],i)})},t}(hl),hT=function(e){to.__extends(t,e);function t(n){var i=e.call(this)||this;return i.types=n,i.kind="OrType",i}return t.prototype.toString=function(){return this.types.join(" | ")},t.prototype.check=function(n,i){return this.types.some(function(o){return o.check(n,i)})},t}(hl),Fc=function(e){to.__extends(t,e);function t(n,i){var o=e.call(this)||this;return o.name=n,o.predicate=i,o.kind="PredicateType",o}return t.prototype.toString=function(){return this.name},t.prototype.check=function(n,i){var o=this.predicate(n,i);return!o&&typeof i=="function"&&i(this,n),o},t}(hl),jc=function(){function e(t,n){this.type=t,this.typeName=n,this.baseNames=[],this.ownFields=Object.create(null),this.allSupertypes=Object.create(null),this.supertypeList=[],this.allFields=Object.create(null),this.fieldNames=[],this.finalized=!1,this.buildable=!1,this.buildParams=[]}return e.prototype.isSupertypeOf=function(t){if(t instanceof e){if(this.finalized!==!0||t.finalized!==!0)throw new Error("");return gi.call(t.allSupertypes,this.typeName)}else throw new Error(t+" is not a Def")},e.prototype.checkAllFields=function(t,n){var i=this.allFields;if(this.finalized!==!0)throw new Error(""+this.typeName);function o(r){var u=i[r],a=u.type,m=u.getValue(t);return a.check(m,n)}return t!==null&&typeof t=="object"&&Object.keys(i).every(o)},e.prototype.bases=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var i=this.baseNames;if(this.finalized){if(t.length!==i.length)throw new Error("");for(var o=0;o<t.length;o++)if(t[o]!==i[o])throw new Error("");return this}return t.forEach(function(r){i.indexOf(r)<0&&i.push(r)}),this},e}();ml.Def=jc;var mT=function(){function e(t,n,i,o){this.name=t,this.type=n,this.defaultFn=i,this.hidden=!!o}return e.prototype.toString=function(){return JSON.stringify(this.name)+": "+this.type},e.prototype.getValue=function(t){var n=t[this.name];return typeof n<"u"||typeof this.defaultFn=="function"&&(n=this.defaultFn.call(t)),n},e}();function rh(e){return Array.isArray(e)?"["+e.map(rh).join(", ")+"]":e&&typeof e=="object"?"{ "+Object.keys(e).map(function(t){return t+": "+e[t]}).join(", ")+" }":JSON.stringify(e)}function _N(e){var t={or:function(){for(var U=[],B=0;B<arguments.length;B++)U[B]=arguments[B];return new hT(U.map(function(N){return t.from(N)}))},from:function(U,B){if(U instanceof th||U instanceof dT||U instanceof fT||U instanceof hT||U instanceof Fc)return U;if(U instanceof jc)return U.type;if(a.check(U)){if(U.length!==1)throw new Error("only one element type is permitted for typed arrays");return new th(t.from(U[0]))}if(m.check(U))return new fT(Object.keys(U).map(function(X){return new mT(X,t.from(U[X],X))}));if(typeof U=="function"){var N=n.indexOf(U);if(N>=0)return i[N];if(typeof B!="string")throw new Error("missing name");return new Fc(B,U)}return new dT(U)},def:function(U){return gi.call(b,U)?b[U]:b[U]=new v(U)},hasDef:function(U){return gi.call(b,U)}},n=[],i=[];function o(U,B){var N=Lc.call(B),X=new Fc(U,function(H){return Lc.call(H)===N});return B&&typeof B.constructor=="function"&&(n.push(B.constructor),i.push(X)),X}var r=o("string","truthy"),u=o("function",function(){}),a=o("array",[]),m=o("object",{}),d=o("RegExp",/./),s=o("Date",new Date),l=o("number",3),f=o("boolean",!0),p=o("null",null),h=o("undefined",void 0),y={string:r,function:u,array:a,object:m,RegExp:d,Date:s,number:l,boolean:f,null:p,undefined:h},b=Object.create(null);function E(U){if(U&&typeof U=="object"){var B=U.type;if(typeof B=="string"&&gi.call(b,B)){var N=b[B];if(N.finalized)return N}}return null}var v=function(U){to.__extends(B,U);function B(N){var X=U.call(this,new Fc(N,function(H,F){return X.check(H,F)}),N)||this;return X}return B.prototype.check=function(N,X){if(this.finalized!==!0)throw new Error("prematurely checking unfinalized type "+this.typeName);if(N===null||typeof N!="object")return!1;var H=E(N);return H?X&&H===this?this.checkAllFields(N,X):this.isSupertypeOf(H)?X?H.checkAllFields(N,X)&&this.checkAllFields(N,!1):!0:!1:this.typeName==="SourceLocation"||this.typeName==="Position"?this.checkAllFields(N,X):!1},B.prototype.build=function(){for(var N=this,X=[],H=0;H<arguments.length;H++)X[H]=arguments[H];if(this.buildParams=X,this.buildable)return this;this.field("type",String,function(){return N.typeName}),this.buildable=!0;var F=function(V,Q,ne,ue){if(!gi.call(V,Q)){var de=N.allFields;if(!gi.call(de,Q))throw new Error(""+Q);var Ae=de[Q],Oe=Ae.type,Me;if(ue)Me=ne;else if(Ae.defaultFn)Me=Ae.defaultFn.call(V);else{var ae="no value or default function given for field "+JSON.stringify(Q)+" of "+N.typeName+"("+N.buildParams.map(function(se){return de[se]}).join(", ")+")";throw new Error(ae)}if(!Oe.check(Me))throw new Error(rh(Me)+" does not match field "+Ae+" of type "+N.typeName);V[Q]=Me}},W=function(){for(var V=[],Q=0;Q<arguments.length;Q++)V[Q]=arguments[Q];var ne=V.length;if(!N.finalized)throw new Error("attempting to instantiate unfinalized type "+N.typeName);var ue=Object.create(x);if(N.buildParams.forEach(function(de,Ae){Ae<ne?F(ue,de,V[Ae],!0):F(ue,de,null,!1)}),Object.keys(N.allFields).forEach(function(de){F(ue,de,null,!1)}),ue.type!==N.typeName)throw new Error("");return ue};return W.from=function(V){if(!N.finalized)throw new Error("attempting to instantiate unfinalized type "+N.typeName);var Q=Object.create(x);if(Object.keys(N.allFields).forEach(function(ne){gi.call(V,ne)?F(Q,ne,V[ne],!0):F(Q,ne,null,!1)}),Q.type!==N.typeName)throw new Error("");return Q},Object.defineProperty(A,P(this.typeName),{enumerable:!0,value:W}),this},B.prototype.field=function(N,X,H,F){return this.finalized?(console.error("Ignoring attempt to redefine field "+JSON.stringify(N)+" of finalized type "+JSON.stringify(this.typeName)),this):(this.ownFields[N]=new mT(N,t.from(X),H,F),this)},B.prototype.finalize=function(){var N=this;if(!this.finalized){var X=this.allFields,H=this.allSupertypes;this.baseNames.forEach(function(W){var V=b[W];if(V instanceof jc)V.finalize(),$(X,V.allFields),$(H,V.allSupertypes);else{var Q="unknown supertype name "+JSON.stringify(W)+" for subtype "+JSON.stringify(N.typeName);throw new Error(Q)}}),$(X,this.ownFields),H[this.typeName]=this,this.fieldNames.length=0;for(var F in X)gi.call(X,F)&&!X[F].hidden&&this.fieldNames.push(F);Object.defineProperty(L,this.typeName,{enumerable:!0,value:this.type}),this.finalized=!0,Y(this.typeName,this.supertypeList),this.buildable&&this.supertypeList.lastIndexOf("Expression")>=0&&z(this.typeName)}},B}(jc);function S(U){if(!gi.call(b,U))throw new Error("");var B=b[U];if(B.finalized!==!0)throw new Error("");return B.supertypeList.slice(1)}function w(U){for(var B={},N=Object.keys(b),X=N.length,H=0;H<X;++H){var F=N[H],W=b[F];if(W.finalized!==!0)throw new Error(""+F);for(var V=0;V<W.supertypeList.length;++V){var Q=W.supertypeList[V];if(gi.call(U,Q)){B[F]=Q;break}}}return B}var A=Object.create(null),x={};function C(U,B){var N=x[U];return h.check(B)?delete x[U]:(u.assert(B),Object.defineProperty(x,U,{enumerable:!0,configurable:!0,value:B})),N}function P(U){return U.replace(/^[A-Z]+/,function(B){var N=B.length;switch(N){case 0:return"";case 1:return B.toLowerCase();default:return B.slice(0,N-1).toLowerCase()+B.charAt(N-1)}})}function D(U){return U=P(U),U.replace(/(Expression)?$/,"Statement")}var L={};function I(U){var B=E(U);if(B)return B.fieldNames.slice(0);if("type"in U)throw new Error("did not recognize object of type "+JSON.stringify(U.type));return Object.keys(U)}function j(U,B){var N=E(U);if(N){var X=N.allFields[B];if(X)return X.getValue(U)}return U&&U[B]}function M(U,B,N){I(U).forEach(function(X){B.call(this,X,j(U,X))},N)}function R(U,B,N){return I(U).some(function(X){return B.call(this,X,j(U,X))},N)}function z(U){var B=D(U);if(!A[B]){var N=A[P(U)];if(N){var X=function(){for(var H=[],F=0;F<arguments.length;F++)H[F]=arguments[F];return A.expressionStatement(N.apply(A,H))};X.from=function(){for(var H=[],F=0;F<arguments.length;F++)H[F]=arguments[F];return A.expressionStatement(N.from.apply(A,H))},A[B]=X}}}function Y(U,B){B.length=0,B.push(U);for(var N=Object.create(null),X=0;X<B.length;++X){U=B[X];var H=b[U];if(H.finalized!==!0)throw new Error("");gi.call(N,U)&&delete B[N[U]],N[U]=X,B.push.apply(B,H.baseNames)}for(var F=0,W=F,V=B.length;W<V;++W)gi.call(B,W)&&(B[F++]=B[W]);B.length=F}function $(U,B){return Object.keys(B).forEach(function(N){U[N]=B[N]}),U}function G(){Object.keys(b).forEach(function(U){b[U].finalize()})}return{Type:t,builtInTypes:y,getSupertypeNames:S,computeSupertypeLookupTable:w,builders:A,defineMethod:C,getBuilderName:P,getStatementBuilderName:D,namedTypes:L,getFieldNames:I,getFieldValue:j,eachField:M,someField:R,finalize:G}}ml.default=_N});var nh=me((Rc,bT)=>{"use strict";Object.defineProperty(Rc,"__esModule",{value:!0});var wN=(gr(),Er(br)),CN=wN.__importDefault(nn()),AN=Object.prototype,Mc=AN.hasOwnProperty;function PN(e){var t=e.use(CN.default),n=t.builtInTypes.array,i=t.builtInTypes.number,o=function l(f,p,h){if(!(this instanceof l))throw new Error("Path constructor cannot be invoked without 'new'");if(p){if(!(p instanceof l))throw new Error("")}else p=null,h=null;this.value=f,this.parentPath=p,this.name=h,this.__childCache=null},r=o.prototype;function u(l){return l.__childCache||(l.__childCache=Object.create(null))}function a(l,f){var p=u(l),h=l.getValueProperty(f),y=p[f];return(!Mc.call(p,f)||y.value!==h)&&(y=p[f]=new l.constructor(h,l,f)),y}r.getValueProperty=function(f){return this.value[f]},r.get=function(){for(var f=[],p=0;p<arguments.length;p++)f[p]=arguments[p];for(var h=this,y=f.length,b=0;b<y;++b)h=a(h,f[b]);return h},r.each=function(f,p){for(var h=[],y=this.value.length,b=0,b=0;b<y;++b)Mc.call(this.value,b)&&(h[b]=this.get(b));for(p=p||this,b=0;b<y;++b)Mc.call(h,b)&&f.call(p,h[b])},r.map=function(f,p){var h=[];return this.each(function(y){h.push(f.call(this,y))},p),h},r.filter=function(f,p){var h=[];return this.each(function(y){f.call(this,y)&&h.push(y)},p),h};function m(){}function d(l,f,p,h){if(n.assert(l.value),f===0)return m;var y=l.value.length;if(y<1)return m;var b=arguments.length;b===2?(p=0,h=y):b===3?(p=Math.max(p,0),h=y):(p=Math.max(p,0),h=Math.min(h,y)),i.assert(p),i.assert(h);for(var E=Object.create(null),v=u(l),S=p;S<h;++S)if(Mc.call(l.value,S)){var w=l.get(S);if(w.name!==S)throw new Error("");var A=S+f;w.name=A,E[A]=w,delete v[S]}return delete v.length,function(){for(var x in E){var C=E[x];if(C.name!==+x)throw new Error("");v[x]=C,l.value[x]=C.value}}}r.shift=function(){var f=d(this,-1),p=this.value.shift();return f(),p},r.unshift=function(){for(var f=[],p=0;p<arguments.length;p++)f[p]=arguments[p];var h=d(this,f.length),y=this.value.unshift.apply(this.value,f);return h(),y},r.push=function(){for(var f=[],p=0;p<arguments.length;p++)f[p]=arguments[p];return n.assert(this.value),delete u(this).length,this.value.push.apply(this.value,f)},r.pop=function(){n.assert(this.value);var f=u(this);return delete f[this.value.length-1],delete f.length,this.value.pop()},r.insertAt=function(f){var p=arguments.length,h=d(this,p-1,f);if(h===m&&p<=1)return this;f=Math.max(f,0);for(var y=1;y<p;++y)this.value[f+y-1]=arguments[y];return h(),this},r.insertBefore=function(){for(var f=[],p=0;p<arguments.length;p++)f[p]=arguments[p];for(var h=this.parentPath,y=f.length,b=[this.name],E=0;E<y;++E)b.push(f[E]);return h.insertAt.apply(h,b)},r.insertAfter=function(){for(var f=[],p=0;p<arguments.length;p++)f[p]=arguments[p];for(var h=this.parentPath,y=f.length,b=[this.name+1],E=0;E<y;++E)b.push(f[E]);return h.insertAt.apply(h,b)};function s(l){if(!(l instanceof o))throw new Error("");var f=l.parentPath;if(!f)return l;var p=f.value,h=u(f);if(p[l.name]===l.value)h[l.name]=l;else if(n.check(p)){var y=p.indexOf(l.value);y>=0&&(h[l.name=y]=l)}else p[l.name]=l.value,h[l.name]=l;if(p[l.name]!==l.value)throw new Error("");if(l.parentPath.get(l.name)!==l)throw new Error("");return l}return r.replace=function(f){var p=[],h=this.parentPath.value,y=u(this.parentPath),b=arguments.length;if(s(this),n.check(h)){for(var E=h.length,v=d(this.parentPath,b-1,this.name+1),S=[this.name,1],w=0;w<b;++w)S.push(arguments[w]);var A=h.splice.apply(h,S);if(A[0]!==this.value)throw new Error("");if(h.length!==E-1+b)throw new Error("");if(v(),b===0)delete this.value,delete y[this.name],this.__childCache=null;else{if(h[this.name]!==f)throw new Error("");for(this.value!==f&&(this.value=f,this.__childCache=null),w=0;w<b;++w)p.push(this.parentPath.get(this.name+w));if(p[0]!==this)throw new Error("")}}else if(b===1)this.value!==f&&(this.__childCache=null),this.value=h[this.name]=f,p.push(this);else if(b===0)delete h[this.name],delete this.value,this.__childCache=null;else throw new Error("Could not replace path");return p},o}Rc.default=PN;bT.exports=Rc.default});var vT=me((Bc,gT)=>{"use strict";Object.defineProperty(Bc,"__esModule",{value:!0});var kN=(gr(),Er(br)),DN=kN.__importDefault(nn()),yl=Object.prototype.hasOwnProperty;function IN(e){var t=e.use(DN.default),n=t.Type,i=t.namedTypes,o=i.Node,r=i.Expression,u=t.builtInTypes.array,a=t.builders,m=function v(S,w){if(!(this instanceof v))throw new Error("Scope constructor cannot be invoked without 'new'");s.assert(S.value);var A;if(w){if(!(w instanceof v))throw new Error("");A=w.depth+1}else w=null,A=0;Object.defineProperties(this,{path:{value:S},node:{value:S.value},isGlobal:{value:!w,enumerable:!0},depth:{value:A},parent:{value:w},bindings:{value:{}},types:{value:{}}})},d=[i.Program,i.Function,i.CatchClause],s=n.or.apply(n,d);m.isEstablishedBy=function(v){return s.check(v)};var l=m.prototype;l.didScan=!1,l.declares=function(v){return this.scan(),yl.call(this.bindings,v)},l.declaresType=function(v){return this.scan(),yl.call(this.types,v)},l.declareTemporary=function(v){if(v){if(!/^[a-z$_]/i.test(v))throw new Error("")}else v="t$";v+=this.depth.toString(36)+"$",this.scan();for(var S=0;this.declares(v+S);)++S;var w=v+S;return this.bindings[w]=t.builders.identifier(w)},l.injectTemporary=function(v,S){v||(v=this.declareTemporary());var w=this.path.get("body");return i.BlockStatement.check(w.value)&&(w=w.get("body")),w.unshift(a.variableDeclaration("var",[a.variableDeclarator(v,S||null)])),v},l.scan=function(v){if(v||!this.didScan){for(var S in this.bindings)delete this.bindings[S];f(this.path,this.bindings,this.types),this.didScan=!0}},l.getBindings=function(){return this.scan(),this.bindings},l.getTypes=function(){return this.scan(),this.types};function f(v,S,w){var A=v.value;if(s.assert(A),i.CatchClause.check(A)){var x=v.get("param");x.value&&b(x,S)}else p(v,S,w)}function p(v,S,w){var A=v.value;v.parent&&i.FunctionExpression.check(v.parent.node)&&v.parent.node.id&&b(v.parent.get("id"),S),A&&(u.check(A)?v.each(function(x){y(x,S,w)}):i.Function.check(A)?(v.get("params").each(function(x){b(x,S)}),y(v.get("body"),S,w)):i.TypeAlias&&i.TypeAlias.check(A)||i.InterfaceDeclaration&&i.InterfaceDeclaration.check(A)||i.TSTypeAliasDeclaration&&i.TSTypeAliasDeclaration.check(A)||i.TSInterfaceDeclaration&&i.TSInterfaceDeclaration.check(A)?E(v.get("id"),w):i.VariableDeclarator.check(A)?(b(v.get("id"),S),y(v.get("init"),S,w)):A.type==="ImportSpecifier"||A.type==="ImportNamespaceSpecifier"||A.type==="ImportDefaultSpecifier"?b(v.get(A.local?"local":A.name?"name":"id"),S):o.check(A)&&!r.check(A)&&t.eachField(A,function(x,C){var P=v.get(x);if(!h(P,C))throw new Error("");y(P,S,w)}))}function h(v,S){return!!(v.value===S||Array.isArray(v.value)&&v.value.length===0&&Array.isArray(S)&&S.length===0)}function y(v,S,w){var A=v.value;if(!(!A||r.check(A)))if(i.FunctionDeclaration.check(A)&&A.id!==null)b(v.get("id"),S);else if(i.ClassDeclaration&&i.ClassDeclaration.check(A))b(v.get("id"),S);else if(s.check(A)){if(i.CatchClause.check(A)&&i.Identifier.check(A.param)){var x=A.param.name,C=yl.call(S,x);p(v.get("body"),S,w),C||delete S[x]}}else p(v,S,w)}function b(v,S){var w=v.value;i.Pattern.assert(w),i.Identifier.check(w)?yl.call(S,w.name)?S[w.name].push(v):S[w.name]=[v]:i.AssignmentPattern&&i.AssignmentPattern.check(w)?b(v.get("left"),S):i.ObjectPattern&&i.ObjectPattern.check(w)?v.get("properties").each(function(A){var x=A.value;i.Pattern.check(x)?b(A,S):i.Property.check(x)?b(A.get("value"),S):i.SpreadProperty&&i.SpreadProperty.check(x)&&b(A.get("argument"),S)}):i.ArrayPattern&&i.ArrayPattern.check(w)?v.get("elements").each(function(A){var x=A.value;i.Pattern.check(x)?b(A,S):i.SpreadElement&&i.SpreadElement.check(x)&&b(A.get("argument"),S)}):i.PropertyPattern&&i.PropertyPattern.check(w)?b(v.get("pattern"),S):(i.SpreadElementPattern&&i.SpreadElementPattern.check(w)||i.RestElement&&i.RestElement.check(w)||i.SpreadPropertyPattern&&i.SpreadPropertyPattern.check(w))&&b(v.get("argument"),S)}function E(v,S){var w=v.value;i.Pattern.assert(w),i.Identifier.check(w)&&(yl.call(S,w.name)?S[w.name].push(v):S[w.name]=[v])}return l.lookup=function(v){for(var S=this;S&&!S.declares(v);S=S.parent);return S},l.lookupType=function(v){for(var S=this;S&&!S.declaresType(v);S=S.parent);return S},l.getGlobalScope=function(){for(var v=this;!v.isGlobal;)v=v.parent;return v},m}Bc.default=IN;gT.exports=Bc.default});var sh=me((Uc,TT)=>{"use strict";Object.defineProperty(Uc,"__esModule",{value:!0});var ih=(gr(),Er(br)),ON=ih.__importDefault(nn()),NN=ih.__importDefault(nh()),FN=ih.__importDefault(vT());function jN(e){var t=e.use(ON.default),n=t.namedTypes,i=t.builders,o=t.builtInTypes.number,r=t.builtInTypes.array,u=e.use(NN.default),a=e.use(FN.default),m=function E(v,S,w){if(!(this instanceof E))throw new Error("NodePath constructor cannot be invoked without 'new'");u.call(this,v,S,w)},d=m.prototype=Object.create(u.prototype,{constructor:{value:m,enumerable:!1,writable:!0,configurable:!0}});Object.defineProperties(d,{node:{get:function(){return Object.defineProperty(this,"node",{configurable:!0,value:this._computeNode()}),this.node}},parent:{get:function(){return Object.defineProperty(this,"parent",{configurable:!0,value:this._computeParent()}),this.parent}},scope:{get:function(){return Object.defineProperty(this,"scope",{configurable:!0,value:this._computeScope()}),this.scope}}}),d.replace=function(){return delete this.node,delete this.parent,delete this.scope,u.prototype.replace.apply(this,arguments)},d.prune=function(){var E=this.parent;return this.replace(),y(E)},d._computeNode=function(){var E=this.value;if(n.Node.check(E))return E;var v=this.parentPath;return v&&v.node||null},d._computeParent=function(){var E=this.value,v=this.parentPath;if(!n.Node.check(E)){for(;v&&!n.Node.check(v.value);)v=v.parentPath;v&&(v=v.parentPath)}for(;v&&!n.Node.check(v.value);)v=v.parentPath;return v||null},d._computeScope=function(){var E=this.value,v=this.parentPath,S=v&&v.scope;return n.Node.check(E)&&a.isEstablishedBy(E)&&(S=new a(this,S)),S||null},d.getValueProperty=function(E){return t.getFieldValue(this.value,E)},d.needsParens=function(E){var v=this.parentPath;if(!v)return!1;var S=this.value;if(!n.Expression.check(S)||S.type==="Identifier")return!1;for(;!n.Node.check(v.value);)if(v=v.parentPath,!v)return!1;var w=v.value;switch(S.type){case"UnaryExpression":case"SpreadElement":case"SpreadProperty":return w.type==="MemberExpression"&&this.name==="object"&&w.object===S;case"BinaryExpression":case"LogicalExpression":switch(w.type){case"CallExpression":return this.name==="callee"&&w.callee===S;case"UnaryExpression":case"SpreadElement":case"SpreadProperty":return!0;case"MemberExpression":return this.name==="object"&&w.object===S;case"BinaryExpression":case"LogicalExpression":{var A=S,x=w.operator,C=f[x],P=A.operator,D=f[P];if(C>D)return!0;if(C===D&&this.name==="right"){if(w.right!==A)throw new Error("Nodes must be equal");return!0}}default:return!1}case"SequenceExpression":switch(w.type){case"ForStatement":return!1;case"ExpressionStatement":return this.name!=="expression";default:return!0}case"YieldExpression":switch(w.type){case"BinaryExpression":case"LogicalExpression":case"UnaryExpression":case"SpreadElement":case"SpreadProperty":case"CallExpression":case"MemberExpression":case"NewExpression":case"ConditionalExpression":case"YieldExpression":return!0;default:return!1}case"Literal":return w.type==="MemberExpression"&&o.check(S.value)&&this.name==="object"&&w.object===S;case"AssignmentExpression":case"ConditionalExpression":switch(w.type){case"UnaryExpression":case"SpreadElement":case"SpreadProperty":case"BinaryExpression":case"LogicalExpression":return!0;case"CallExpression":return this.name==="callee"&&w.callee===S;case"ConditionalExpression":return this.name==="test"&&w.test===S;case"MemberExpression":return this.name==="object"&&w.object===S;default:return!1}default:if(w.type==="NewExpression"&&this.name==="callee"&&w.callee===S)return p(S)}return!!(E!==!0&&!this.canBeFirstInStatement()&&this.firstInStatement())};function s(E){return n.BinaryExpression.check(E)||n.LogicalExpression.check(E)}function l(E){return n.UnaryExpression.check(E)||n.SpreadElement&&n.SpreadElement.check(E)||n.SpreadProperty&&n.SpreadProperty.check(E)}var f={};[["||"],["&&"],["|"],["^"],["&"],["==","===","!=","!=="],["<",">","<=",">=","in","instanceof"],[">>","<<",">>>"],["+","-"],["*","/","%"]].forEach(function(E,v){E.forEach(function(S){f[S]=v})});function p(E){return n.CallExpression.check(E)?!0:r.check(E)?E.some(p):n.Node.check(E)?t.someField(E,function(v,S){return p(S)}):!1}d.canBeFirstInStatement=function(){var E=this.node;return!n.FunctionExpression.check(E)&&!n.ObjectExpression.check(E)},d.firstInStatement=function(){return h(this)};function h(E){for(var v,S;E.parent;E=E.parent){if(v=E.node,S=E.parent.node,n.BlockStatement.check(S)&&E.parent.name==="body"&&E.name===0){if(S.body[0]!==v)throw new Error("Nodes must be equal");return!0}if(n.ExpressionStatement.check(S)&&E.name==="expression"){if(S.expression!==v)throw new Error("Nodes must be equal");return!0}if(n.SequenceExpression.check(S)&&E.parent.name==="expressions"&&E.name===0){if(S.expressions[0]!==v)throw new Error("Nodes must be equal");continue}if(n.CallExpression.check(S)&&E.name==="callee"){if(S.callee!==v)throw new Error("Nodes must be equal");continue}if(n.MemberExpression.check(S)&&E.name==="object"){if(S.object!==v)throw new Error("Nodes must be equal");continue}if(n.ConditionalExpression.check(S)&&E.name==="test"){if(S.test!==v)throw new Error("Nodes must be equal");continue}if(s(S)&&E.name==="left"){if(S.left!==v)throw new Error("Nodes must be equal");continue}if(n.UnaryExpression.check(S)&&!S.prefix&&E.name==="argument"){if(S.argument!==v)throw new Error("Nodes must be equal");continue}return!1}return!0}function y(E){if(n.VariableDeclaration.check(E.node)){var v=E.get("declarations").value;if(!v||v.length===0)return E.prune()}else if(n.ExpressionStatement.check(E.node)){if(!E.get("expression").value)return E.prune()}else n.IfStatement.check(E.node)&&b(E);return E}function b(E){var v=E.get("test").value,S=E.get("alternate").value,w=E.get("consequent").value;if(!w&&!S){var A=i.expressionStatement(v);E.replace(A)}else if(!w&&S){var x=i.unaryExpression("!",v,!0);n.UnaryExpression.check(v)&&v.operator==="!"&&(x=v.argument),E.get("test").replace(x),E.get("consequent").replace(S),E.get("alternate").replace()}}return m}Uc.default=jN;TT.exports=Uc.default});var xT=me((Vc,ST)=>{"use strict";Object.defineProperty(Vc,"__esModule",{value:!0});var ET=(gr(),Er(br)),LN=ET.__importDefault(nn()),MN=ET.__importDefault(sh()),$c=Object.prototype.hasOwnProperty;function RN(e){var t=e.use(LN.default),n=e.use(MN.default),i=t.builtInTypes.array,o=t.builtInTypes.object,r=t.builtInTypes.function,u,a=function h(){if(!(this instanceof h))throw new Error("PathVisitor constructor cannot be invoked without 'new'");this._reusableContextStack=[],this._methodNameTable=m(this),this._shouldVisitComments=$c.call(this._methodNameTable,"Block")||$c.call(this._methodNameTable,"Line"),this.Context=f(this),this._visiting=!1,this._changeReported=!1};function m(h){var y=Object.create(null);for(var b in h)/^visit[A-Z]/.test(b)&&(y[b.slice(5)]=!0);for(var E=t.computeSupertypeLookupTable(y),v=Object.create(null),S=Object.keys(E),w=S.length,A=0;A<w;++A){var x=S[A];b="visit"+E[x],r.check(h[b])&&(v[x]=b)}return v}a.fromMethodsObject=function(y){if(y instanceof a)return y;if(!o.check(y))return new a;var b=function v(){if(!(this instanceof v))throw new Error("Visitor constructor cannot be invoked without 'new'");a.call(this)},E=b.prototype=Object.create(s);return E.constructor=b,d(E,y),d(b,a),r.assert(b.fromMethodsObject),r.assert(b.visit),new b};function d(h,y){for(var b in y)$c.call(y,b)&&(h[b]=y[b]);return h}a.visit=function(y,b){return a.fromMethodsObject(b).visit(y)};var s=a.prototype;s.visit=function(){if(this._visiting)throw new Error("Recursively calling visitor.visit(path) resets visitor state. Try this.visit(path) or this.traverse(path) instead.");this._visiting=!0,this._changeReported=!1,this._abortRequested=!1;for(var h=arguments.length,y=new Array(h),b=0;b<h;++b)y[b]=arguments[b];y[0]instanceof n||(y[0]=new n({root:y[0]}).get("root")),this.reset.apply(this,y);var E;try{var v=this.visitWithoutReset(y[0]);E=!0}finally{if(this._visiting=!1,!E&&this._abortRequested)return y[0].value}return v},s.AbortRequest=function(){},s.abort=function(){var h=this;h._abortRequested=!0;var y=new h.AbortRequest;throw y.cancel=function(){h._abortRequested=!1},y},s.reset=function(h){},s.visitWithoutReset=function(h){if(this instanceof this.Context)return this.visitor.visitWithoutReset(h);if(!(h instanceof n))throw new Error("");var y=h.value,b=y&&typeof y=="object"&&typeof y.type=="string"&&this._methodNameTable[y.type];if(b){var E=this.acquireContext(h);try{return E.invokeVisitorMethod(b)}finally{this.releaseContext(E)}}else return l(h,this)};function l(h,y){if(!(h instanceof n))throw new Error("");if(!(y instanceof a))throw new Error("");var b=h.value;if(i.check(b))h.each(y.visitWithoutReset,y);else if(o.check(b)){var E=t.getFieldNames(b);y._shouldVisitComments&&b.comments&&E.indexOf("comments")<0&&E.push("comments");for(var v=E.length,S=[],w=0;w<v;++w){var A=E[w];$c.call(b,A)||(b[A]=t.getFieldValue(b,A)),S.push(h.get(A))}for(var w=0;w<v;++w)y.visitWithoutReset(S[w])}return h.value}s.acquireContext=function(h){return this._reusableContextStack.length===0?new this.Context(h):this._reusableContextStack.pop().reset(h)},s.releaseContext=function(h){if(!(h instanceof this.Context))throw new Error("");this._reusableContextStack.push(h),h.currentPath=null},s.reportChanged=function(){this._changeReported=!0},s.wasChangeReported=function(){return this._changeReported};function f(h){function y(E){if(!(this instanceof y))throw new Error("");if(!(this instanceof a))throw new Error("");if(!(E instanceof n))throw new Error("");Object.defineProperty(this,"visitor",{value:h,writable:!1,enumerable:!0,configurable:!1}),this.currentPath=E,this.needToCallTraverse=!0,Object.seal(this)}if(!(h instanceof a))throw new Error("");var b=y.prototype=Object.create(h);return b.constructor=y,d(b,p),y}var p=Object.create(null);return p.reset=function(y){if(!(this instanceof this.Context))throw new Error("");if(!(y instanceof n))throw new Error("");return this.currentPath=y,this.needToCallTraverse=!0,this},p.invokeVisitorMethod=function(y){if(!(this instanceof this.Context))throw new Error("");if(!(this.currentPath instanceof n))throw new Error("");var b=this.visitor[y].call(this,this.currentPath);if(b===!1?this.needToCallTraverse=!1:b!==u&&(this.currentPath=this.currentPath.replace(b)[0],this.needToCallTraverse&&this.traverse(this.currentPath)),this.needToCallTraverse!==!1)throw new Error("Must either call this.traverse or return false in "+y);var E=this.currentPath;return E&&E.value},p.traverse=function(y,b){if(!(this instanceof this.Context))throw new Error("");if(!(y instanceof n))throw new Error("");if(!(this.currentPath instanceof n))throw new Error("");return this.needToCallTraverse=!1,l(y,a.fromMethodsObject(b||this.visitor))},p.visit=function(y,b){if(!(this instanceof this.Context))throw new Error("");if(!(y instanceof n))throw new Error("");if(!(this.currentPath instanceof n))throw new Error("");return this.needToCallTraverse=!1,a.fromMethodsObject(b||this.visitor).visitWithoutReset(y)},p.reportChanged=function(){this.visitor.reportChanged()},p.abort=function(){this.needToCallTraverse=!1,this.visitor.abort()},a}Vc.default=RN;ST.exports=Vc.default});var wT=me((qc,_T)=>{"use strict";Object.defineProperty(qc,"__esModule",{value:!0});var BN=(gr(),Er(br)),UN=BN.__importDefault(nn());function $N(e){var t=e.use(UN.default),n=t.getFieldNames,i=t.getFieldValue,o=t.builtInTypes.array,r=t.builtInTypes.object,u=t.builtInTypes.Date,a=t.builtInTypes.RegExp,m=Object.prototype.hasOwnProperty;function d(h,y,b){return o.check(b)?b.length=0:b=null,l(h,y,b)}d.assert=function(h,y){var b=[];if(!d(h,y,b))if(b.length===0){if(h!==y)throw new Error("Nodes must be equal")}else throw new Error("Nodes differ in the following path: "+b.map(s).join(""))};function s(h){return/[_$a-z][_$a-z0-9]*/i.test(h)?"."+h:"["+JSON.stringify(h)+"]"}function l(h,y,b){return h===y?!0:o.check(h)?f(h,y,b):r.check(h)?p(h,y,b):u.check(h)?u.check(y)&&+h==+y:a.check(h)?a.check(y)&&h.source===y.source&&h.global===y.global&&h.multiline===y.multiline&&h.ignoreCase===y.ignoreCase:h==y}function f(h,y,b){o.assert(h);var E=h.length;if(!o.check(y)||y.length!==E)return b&&b.push("length"),!1;for(var v=0;v<E;++v){if(b&&b.push(v),v in h!=v in y||!l(h[v],y[v],b))return!1;if(b){var S=b.pop();if(S!==v)throw new Error(""+S)}}return!0}function p(h,y,b){if(r.assert(h),!r.check(y))return!1;if(h.type!==y.type)return b&&b.push("type"),!1;var E=n(h),v=E.length,S=n(y),w=S.length;if(v===w){for(var A=0;A<v;++A){var x=E[A],C=i(h,x),P=i(y,x);if(b&&b.push(x),!l(C,P,b))return!1;if(b){var D=b.pop();if(D!==x)throw new Error(""+D)}}return!0}if(!b)return!1;var L=Object.create(null);for(A=0;A<v;++A)L[E[A]]=!0;for(A=0;A<w;++A){if(x=S[A],!m.call(L,x))return b.push(x),!1;delete L[x]}for(x in L){b.push(x);break}return!1}return d}qc.default=$N;_T.exports=qc.default});var AT=me((Wc,CT)=>{"use strict";Object.defineProperty(Wc,"__esModule",{value:!0});var bl=(gr(),Er(br)),VN=bl.__importDefault(nn()),qN=bl.__importDefault(xT()),WN=bl.__importDefault(wT()),KN=bl.__importDefault(nh()),zN=bl.__importDefault(sh());function GN(e){var t=HN(),n=t.use(VN.default);e.forEach(t.use),n.finalize();var i=t.use(qN.default);return{Type:n.Type,builtInTypes:n.builtInTypes,namedTypes:n.namedTypes,builders:n.builders,defineMethod:n.defineMethod,getFieldNames:n.getFieldNames,getFieldValue:n.getFieldValue,eachField:n.eachField,someField:n.someField,getSupertypeNames:n.getSupertypeNames,getBuilderName:n.getBuilderName,astNodesAreEquivalent:t.use(WN.default),finalize:n.finalize,Path:t.use(KN.default),NodePath:t.use(zN.default),PathVisitor:i,use:t.use,visit:i.visit}}Wc.default=GN;function HN(){var e=[],t=[];function n(o){var r=e.indexOf(o);return r===-1&&(r=e.length,e.push(o),t[r]=o(i)),t[r]}var i={use:n};return i}CT.exports=Wc.default});var Kc=me(qs=>{"use strict";Object.defineProperty(qs,"__esModule",{value:!0});qs.LogicalOperators=qs.AssignmentOperators=qs.BinaryOperators=void 0;qs.BinaryOperators=["==","!=","===","!==","<","<=",">",">=","<<",">>",">>>","+","-","*","/","%","&","|","^","in","instanceof"];qs.AssignmentOperators=["=","+=","-=","*=","/=","%=","<<=",">>=",">>>=","|=","^=","&="];qs.LogicalOperators=["||","&&"]});var Xn=me((zc,PT)=>{"use strict";Object.defineProperty(zc,"__esModule",{value:!0});var XN=(gr(),Er(br)),JN=XN.__importDefault(nn());function YN(e){var t=e.use(JN.default),n=t.Type,i=t.builtInTypes,o=i.number;function r(d){return n.from(function(s){return o.check(s)&&s>=d},o+" >= "+d)}var u={null:function(){return null},emptyArray:function(){return[]},false:function(){return!1},true:function(){return!0},undefined:function(){},"use strict":function(){return"use strict"}},a=n.or(i.string,i.number,i.boolean,i.null,i.undefined),m=n.from(function(d){if(d===null)return!0;var s=typeof d;return!(s==="object"||s==="function")},a.toString());return{geq:r,defaults:u,isPrimitive:m}}zc.default=YN;PT.exports=zc.default});var oh=me((Gc,DT)=>{"use strict";Object.defineProperty(Gc,"__esModule",{value:!0});var kT=(gr(),Er(br)),ah=Kc(),QN=kT.__importDefault(nn()),ZN=kT.__importDefault(Xn());function eF(e){var t=e.use(QN.default),n=t.Type,i=n.def,o=n.or,r=e.use(ZN.default),u=r.defaults,a=r.geq;i("Printable").field("loc",o(i("SourceLocation"),null),u.null,!0),i("Node").bases("Printable").field("type",String).field("comments",o([i("Comment")],null),u.null,!0),i("SourceLocation").field("start",i("Position")).field("end",i("Position")).field("source",o(String,null),u.null),i("Position").field("line",a(1)).field("column",a(0)),i("File").bases("Node").build("program","name").field("program",i("Program")).field("name",o(String,null),u.null),i("Program").bases("Node").build("body").field("body",[i("Statement")]),i("Function").bases("Node").field("id",o(i("Identifier"),null),u.null).field("params",[i("Pattern")]).field("body",i("BlockStatement")).field("generator",Boolean,u.false).field("async",Boolean,u.false),i("Statement").bases("Node"),i("EmptyStatement").bases("Statement").build(),i("BlockStatement").bases("Statement").build("body").field("body",[i("Statement")]),i("ExpressionStatement").bases("Statement").build("expression").field("expression",i("Expression")),i("IfStatement").bases("Statement").build("test","consequent","alternate").field("test",i("Expression")).field("consequent",i("Statement")).field("alternate",o(i("Statement"),null),u.null),i("LabeledStatement").bases("Statement").build("label","body").field("label",i("Identifier")).field("body",i("Statement")),i("BreakStatement").bases("Statement").build("label").field("label",o(i("Identifier"),null),u.null),i("ContinueStatement").bases("Statement").build("label").field("label",o(i("Identifier"),null),u.null),i("WithStatement").bases("Statement").build("object","body").field("object",i("Expression")).field("body",i("Statement")),i("SwitchStatement").bases("Statement").build("discriminant","cases","lexical").field("discriminant",i("Expression")).field("cases",[i("SwitchCase")]).field("lexical",Boolean,u.false),i("ReturnStatement").bases("Statement").build("argument").field("argument",o(i("Expression"),null)),i("ThrowStatement").bases("Statement").build("argument").field("argument",i("Expression")),i("TryStatement").bases("Statement").build("block","handler","finalizer").field("block",i("BlockStatement")).field("handler",o(i("CatchClause"),null),function(){return this.handlers&&this.handlers[0]||null}).field("handlers",[i("CatchClause")],function(){return this.handler?[this.handler]:[]},!0).field("guardedHandlers",[i("CatchClause")],u.emptyArray).field("finalizer",o(i("BlockStatement"),null),u.null),i("CatchClause").bases("Node").build("param","guard","body").field("param",i("Pattern")).field("guard",o(i("Expression"),null),u.null).field("body",i("BlockStatement")),i("WhileStatement").bases("Statement").build("test","body").field("test",i("Expression")).field("body",i("Statement")),i("DoWhileStatement").bases("Statement").build("body","test").field("body",i("Statement")).field("test",i("Expression")),i("ForStatement").bases("Statement").build("init","test","update","body").field("init",o(i("VariableDeclaration"),i("Expression"),null)).field("test",o(i("Expression"),null)).field("update",o(i("Expression"),null)).field("body",i("Statement")),i("ForInStatement").bases("Statement").build("left","right","body").field("left",o(i("VariableDeclaration"),i("Expression"))).field("right",i("Expression")).field("body",i("Statement")),i("DebuggerStatement").bases("Statement").build(),i("Declaration").bases("Statement"),i("FunctionDeclaration").bases("Function","Declaration").build("id","params","body").field("id",i("Identifier")),i("FunctionExpression").bases("Function","Expression").build("id","params","body"),i("VariableDeclaration").bases("Declaration").build("kind","declarations").field("kind",o("var","let","const")).field("declarations",[i("VariableDeclarator")]),i("VariableDeclarator").bases("Node").build("id","init").field("id",i("Pattern")).field("init",o(i("Expression"),null),u.null),i("Expression").bases("Node"),i("ThisExpression").bases("Expression").build(),i("ArrayExpression").bases("Expression").build("elements").field("elements",[o(i("Expression"),null)]),i("ObjectExpression").bases("Expression").build("properties").field("properties",[i("Property")]),i("Property").bases("Node").build("kind","key","value").field("kind",o("init","get","set")).field("key",o(i("Literal"),i("Identifier"))).field("value",i("Expression")),i("SequenceExpression").bases("Expression").build("expressions").field("expressions",[i("Expression")]);var m=o("-","+","!","~","typeof","void","delete");i("UnaryExpression").bases("Expression").build("operator","argument","prefix").field("operator",m).field("argument",i("Expression")).field("prefix",Boolean,u.true);var d=o.apply(void 0,ah.BinaryOperators);i("BinaryExpression").bases("Expression").build("operator","left","right").field("operator",d).field("left",i("Expression")).field("right",i("Expression"));var s=o.apply(void 0,ah.AssignmentOperators);i("AssignmentExpression").bases("Expression").build("operator","left","right").field("operator",s).field("left",o(i("Pattern"),i("MemberExpression"))).field("right",i("Expression"));var l=o("++","--");i("UpdateExpression").bases("Expression").build("operator","argument","prefix").field("operator",l).field("argument",i("Expression")).field("prefix",Boolean);var f=o.apply(void 0,ah.LogicalOperators);i("LogicalExpression").bases("Expression").build("operator","left","right").field("operator",f).field("left",i("Expression")).field("right",i("Expression")),i("ConditionalExpression").bases("Expression").build("test","consequent","alternate").field("test",i("Expression")).field("consequent",i("Expression")).field("alternate",i("Expression")),i("NewExpression").bases("Expression").build("callee","arguments").field("callee",i("Expression")).field("arguments",[i("Expression")]),i("CallExpression").bases("Expression").build("callee","arguments").field("callee",i("Expression")).field("arguments",[i("Expression")]),i("MemberExpression").bases("Expression").build("object","property","computed").field("object",i("Expression")).field("property",o(i("Identifier"),i("Expression"))).field("computed",Boolean,function(){var p=this.property.type;return p==="Literal"||p==="MemberExpression"||p==="BinaryExpression"}),i("Pattern").bases("Node"),i("SwitchCase").bases("Node").build("test","consequent").field("test",o(i("Expression"),null)).field("consequent",[i("Statement")]),i("Identifier").bases("Expression","Pattern").build("name").field("name",String).field("optional",Boolean,u.false),i("Literal").bases("Expression").build("value").field("value",o(String,Boolean,null,Number,RegExp)).field("regex",o({pattern:String,flags:String},null),function(){if(this.value instanceof RegExp){var p="";return this.value.ignoreCase&&(p+="i"),this.value.multiline&&(p+="m"),this.value.global&&(p+="g"),{pattern:this.value.source,flags:p}}return null}),i("Comment").bases("Printable").field("value",String).field("leading",Boolean,u.true).field("trailing",Boolean,u.false)}Gc.default=eF;DT.exports=Gc.default});var uh=me((Hc,IT)=>{"use strict";Object.defineProperty(Hc,"__esModule",{value:!0});var lh=(gr(),Er(br)),tF=lh.__importDefault(oh()),rF=lh.__importDefault(nn()),nF=lh.__importDefault(Xn());function iF(e){e.use(tF.default);var t=e.use(rF.default),n=t.Type.def,i=t.Type.or,o=e.use(nF.default).defaults;n("Function").field("generator",Boolean,o.false).field("expression",Boolean,o.false).field("defaults",[i(n("Expression"),null)],o.emptyArray).field("rest",i(n("Identifier"),null),o.null),n("RestElement").bases("Pattern").build("argument").field("argument",n("Pattern")).field("typeAnnotation",i(n("TypeAnnotation"),n("TSTypeAnnotation"),null),o.null),n("SpreadElementPattern").bases("Pattern").build("argument").field("argument",n("Pattern")),n("FunctionDeclaration").build("id","params","body","generator","expression").field("id",i(n("Identifier"),null)),n("FunctionExpression").build("id","params","body","generator","expression"),n("ArrowFunctionExpression").bases("Function","Expression").build("params","body","expression").field("id",null,o.null).field("body",i(n("BlockStatement"),n("Expression"))).field("generator",!1,o.false),n("ForOfStatement").bases("Statement").build("left","right","body").field("left",i(n("VariableDeclaration"),n("Pattern"))).field("right",n("Expression")).field("body",n("Statement")),n("YieldExpression").bases("Expression").build("argument","delegate").field("argument",i(n("Expression"),null)).field("delegate",Boolean,o.false),n("GeneratorExpression").bases("Expression").build("body","blocks","filter").field("body",n("Expression")).field("blocks",[n("ComprehensionBlock")]).field("filter",i(n("Expression"),null)),n("ComprehensionExpression").bases("Expression").build("body","blocks","filter").field("body",n("Expression")).field("blocks",[n("ComprehensionBlock")]).field("filter",i(n("Expression"),null)),n("ComprehensionBlock").bases("Node").build("left","right","each").field("left",n("Pattern")).field("right",n("Expression")).field("each",Boolean),n("Property").field("key",i(n("Literal"),n("Identifier"),n("Expression"))).field("value",i(n("Expression"),n("Pattern"))).field("method",Boolean,o.false).field("shorthand",Boolean,o.false).field("computed",Boolean,o.false),n("ObjectProperty").field("shorthand",Boolean,o.false),n("PropertyPattern").bases("Pattern").build("key","pattern").field("key",i(n("Literal"),n("Identifier"),n("Expression"))).field("pattern",n("Pattern")).field("computed",Boolean,o.false),n("ObjectPattern").bases("Pattern").build("properties").field("properties",[i(n("PropertyPattern"),n("Property"))]),n("ArrayPattern").bases("Pattern").build("elements").field("elements",[i(n("Pattern"),null)]),n("SpreadElement").bases("Node").build("argument").field("argument",n("Expression")),n("ArrayExpression").field("elements",[i(n("Expression"),n("SpreadElement"),n("RestElement"),null)]),n("NewExpression").field("arguments",[i(n("Expression"),n("SpreadElement"))]),n("CallExpression").field("arguments",[i(n("Expression"),n("SpreadElement"))]),n("AssignmentPattern").bases("Pattern").build("left","right").field("left",n("Pattern")).field("right",n("Expression")),n("MethodDefinition").bases("Declaration").build("kind","key","value","static").field("kind",i("constructor","method","get","set")).field("key",n("Expression")).field("value",n("Function")).field("computed",Boolean,o.false).field("static",Boolean,o.false);var r=i(n("MethodDefinition"),n("VariableDeclarator"),n("ClassPropertyDefinition"),n("ClassProperty"));n("ClassProperty").bases("Declaration").build("key").field("key",i(n("Literal"),n("Identifier"),n("Expression"))).field("computed",Boolean,o.false),n("ClassPropertyDefinition").bases("Declaration").build("definition").field("definition",r),n("ClassBody").bases("Declaration").build("body").field("body",[r]),n("ClassDeclaration").bases("Declaration").build("id","body","superClass").field("id",i(n("Identifier"),null)).field("body",n("ClassBody")).field("superClass",i(n("Expression"),null),o.null),n("ClassExpression").bases("Expression").build("id","body","superClass").field("id",i(n("Identifier"),null),o.null).field("body",n("ClassBody")).field("superClass",i(n("Expression"),null),o.null),n("Super").bases("Expression").build(),n("Specifier").bases("Node"),n("ModuleSpecifier").bases("Specifier").field("local",i(n("Identifier"),null),o.null).field("id",i(n("Identifier"),null),o.null).field("name",i(n("Identifier"),null),o.null),n("ImportSpecifier").bases("ModuleSpecifier").build("imported","local").field("imported",n("Identifier")),n("ImportDefaultSpecifier").bases("ModuleSpecifier").build("local"),n("ImportNamespaceSpecifier").bases("ModuleSpecifier").build("local"),n("ImportDeclaration").bases("Declaration").build("specifiers","source","importKind").field("specifiers",[i(n("ImportSpecifier"),n("ImportNamespaceSpecifier"),n("ImportDefaultSpecifier"))],o.emptyArray).field("source",n("Literal")).field("importKind",i("value","type"),function(){return"value"}),n("ExportNamedDeclaration").bases("Declaration").build("declaration","specifiers","source").field("declaration",i(n("Declaration"),null)).field("specifiers",[n("ExportSpecifier")],o.emptyArray).field("source",i(n("Literal"),null),o.null),n("ExportSpecifier").bases("ModuleSpecifier").build("local","exported").field("exported",n("Identifier")),n("ExportDefaultDeclaration").bases("Declaration").build("declaration").field("declaration",i(n("Declaration"),n("Expression"))),n("ExportAllDeclaration").bases("Declaration").build("source").field("source",n("Literal")),n("TaggedTemplateExpression").bases("Expression").build("tag","quasi").field("tag",n("Expression")).field("quasi",n("TemplateLiteral")),n("TemplateLiteral").bases("Expression").build("quasis","expressions").field("quasis",[n("TemplateElement")]).field("expressions",[n("Expression")]),n("TemplateElement").bases("Node").build("value","tail").field("value",{cooked:String,raw:String}).field("tail",Boolean),n("MetaProperty").bases("Expression").build("meta","property").field("meta",n("Identifier")).field("property",n("Identifier"))}Hc.default=iF;IT.exports=Hc.default});var ch=me((Jc,NT)=>{"use strict";Object.defineProperty(Jc,"__esModule",{value:!0});var Xc=(gr(),Er(br)),OT=Kc(),sF=Xc.__importDefault(uh()),aF=Xc.__importDefault(nn());function oF(e){e.use(sF.default);var t=e.use(aF.default),n=t.Type.def,i=t.Type.or,o=i.apply(void 0,Xc.__spreadArrays(OT.BinaryOperators,["**"]));n("BinaryExpression").field("operator",o);var r=i.apply(void 0,Xc.__spreadArrays(OT.AssignmentOperators,["**="]));n("AssignmentExpression").field("operator",r)}Jc.default=oF;NT.exports=Jc.default});var dh=me((Yc,FT)=>{"use strict";Object.defineProperty(Yc,"__esModule",{value:!0});var ph=(gr(),Er(br)),lF=ph.__importDefault(ch()),uF=ph.__importDefault(nn()),cF=ph.__importDefault(Xn());function pF(e){e.use(lF.default);var t=e.use(uF.default),n=t.Type.def,i=e.use(cF.default).defaults;n("Function").field("async",Boolean,i.false),n("AwaitExpression").bases("Expression").build("argument").field("argument",n("Expression"))}Yc.default=pF;FT.exports=Yc.default});var hh=me((Qc,jT)=>{"use strict";Object.defineProperty(Qc,"__esModule",{value:!0});var fh=(gr(),Er(br)),dF=fh.__importDefault(dh()),fF=fh.__importDefault(nn()),hF=fh.__importDefault(Xn());function mF(e){e.use(dF.default);var t=e.use(fF.default),n=t.Type.def,i=t.Type.or,o=e.use(hF.default).defaults;n("ForOfStatement").field("await",Boolean,o.false),n("SpreadProperty").bases("Node").build("argument").field("argument",n("Expression")),n("ObjectExpression").field("properties",[i(n("Property"),n("SpreadProperty"),n("SpreadElement"))]),n("TemplateElement").field("value",{cooked:i(String,null),raw:String}),n("SpreadPropertyPattern").bases("Pattern").build("argument").field("argument",n("Pattern")),n("ObjectPattern").field("properties",[i(n("PropertyPattern"),n("Property"),n("RestElement"),n("SpreadPropertyPattern"))])}Qc.default=mF;jT.exports=Qc.default});var yh=me((Zc,LT)=>{"use strict";Object.defineProperty(Zc,"__esModule",{value:!0});var mh=(gr(),Er(br)),yF=mh.__importDefault(hh()),bF=mh.__importDefault(nn()),gF=mh.__importDefault(Xn());function vF(e){e.use(yF.default);var t=e.use(bF.default),n=t.Type.def,i=t.Type.or,o=e.use(gF.default).defaults;n("CatchClause").field("param",i(n("Pattern"),null),o.null)}Zc.default=vF;LT.exports=Zc.default});var gl=me((tp,MT)=>{"use strict";Object.defineProperty(tp,"__esModule",{value:!0});var ep=(gr(),Er(br)),TF=Kc(),EF=ep.__importDefault(yh()),SF=ep.__importDefault(nn()),xF=ep.__importDefault(Xn());function _F(e){e.use(EF.default);var t=e.use(SF.default),n=t.Type.def,i=t.Type.or,o=e.use(xF.default),r=o.defaults;n("ImportExpression").bases("Expression").build("source").field("source",n("Expression")),n("ExportAllDeclaration").build("source","exported").field("source",n("Literal")).field("exported",i(n("Identifier"),null)),n("ChainElement").bases("Node").field("optional",Boolean,r.false),n("CallExpression").bases("Expression","ChainElement"),n("MemberExpression").bases("Expression","ChainElement"),n("ChainExpression").bases("Expression").build("expression").field("expression",n("ChainElement")),n("OptionalCallExpression").bases("CallExpression").build("callee","arguments","optional").field("optional",Boolean,r.true),n("OptionalMemberExpression").bases("MemberExpression").build("object","property","computed","optional").field("optional",Boolean,r.true);var u=i.apply(void 0,ep.__spreadArrays(TF.LogicalOperators,["??"]));n("LogicalExpression").field("operator",u)}tp.default=_F;MT.exports=tp.default});var BT=me((rp,RT)=>{"use strict";Object.defineProperty(rp,"__esModule",{value:!0});var bh=(gr(),Er(br)),wF=bh.__importDefault(gl()),CF=bh.__importDefault(nn()),AF=bh.__importDefault(Xn());function PF(e){e.use(wF.default);var t=e.use(CF.default),n=t.Type.def,i=t.Type.or,o=e.use(AF.default).defaults;n("JSXAttribute").bases("Node").build("name","value").field("name",i(n("JSXIdentifier"),n("JSXNamespacedName"))).field("value",i(n("Literal"),n("JSXExpressionContainer"),n("JSXElement"),n("JSXFragment"),null),o.null),n("JSXIdentifier").bases("Identifier").build("name").field("name",String),n("JSXNamespacedName").bases("Node").build("namespace","name").field("namespace",n("JSXIdentifier")).field("name",n("JSXIdentifier")),n("JSXMemberExpression").bases("MemberExpression").build("object","property").field("object",i(n("JSXIdentifier"),n("JSXMemberExpression"))).field("property",n("JSXIdentifier")).field("computed",Boolean,o.false);var r=i(n("JSXIdentifier"),n("JSXNamespacedName"),n("JSXMemberExpression"));n("JSXSpreadAttribute").bases("Node").build("argument").field("argument",n("Expression"));var u=[i(n("JSXAttribute"),n("JSXSpreadAttribute"))];n("JSXExpressionContainer").bases("Expression").build("expression").field("expression",i(n("Expression"),n("JSXEmptyExpression")));var a=[i(n("JSXText"),n("JSXExpressionContainer"),n("JSXSpreadChild"),n("JSXElement"),n("JSXFragment"),n("Literal"))];n("JSXElement").bases("Expression").build("openingElement","closingElement","children").field("openingElement",n("JSXOpeningElement")).field("closingElement",i(n("JSXClosingElement"),null),o.null).field("children",a,o.emptyArray).field("name",r,function(){return this.openingElement.name},!0).field("selfClosing",Boolean,function(){return this.openingElement.selfClosing},!0).field("attributes",u,function(){return this.openingElement.attributes},!0),n("JSXOpeningElement").bases("Node").build("name","attributes","selfClosing").field("name",r).field("attributes",u,o.emptyArray).field("selfClosing",Boolean,o.false),n("JSXClosingElement").bases("Node").build("name").field("name",r),n("JSXFragment").bases("Expression").build("openingFragment","closingFragment","children").field("openingFragment",n("JSXOpeningFragment")).field("closingFragment",n("JSXClosingFragment")).field("children",a,o.emptyArray),n("JSXOpeningFragment").bases("Node").build(),n("JSXClosingFragment").bases("Node").build(),n("JSXText").bases("Literal").build("value","raw").field("value",String).field("raw",String,function(){return this.value}),n("JSXEmptyExpression").bases("Node").build(),n("JSXSpreadChild").bases("Node").build("expression").field("expression",n("Expression"))}rp.default=PF;RT.exports=rp.default});var ip=me((np,UT)=>{"use strict";Object.defineProperty(np,"__esModule",{value:!0});var gh=(gr(),Er(br)),kF=gh.__importDefault(nn()),DF=gh.__importDefault(Xn()),IF=gh.__importDefault(gl());function OF(e){e.use(IF.default);var t=e.use(kF.default),n=t.Type,i=t.Type.def,o=n.or,r=e.use(DF.default),u=r.defaults;i("AwaitExpression").build("argument","all").field("argument",o(i("Expression"),null)).field("all",Boolean,u.false),i("Decorator").bases("Node").build("expression").field("expression",i("Expression")),i("Property").field("decorators",o([i("Decorator")],null),u.null),i("MethodDefinition").field("decorators",o([i("Decorator")],null),u.null),i("PrivateName").bases("Expression","Pattern").build("id").field("id",i("Identifier")),i("ClassPrivateProperty").bases("ClassProperty").build("key","value").field("key",i("PrivateName")).field("value",o(i("Expression"),null),u.null)}np.default=OF;UT.exports=np.default});var vh=me((sp,VT)=>{"use strict";Object.defineProperty(sp,"__esModule",{value:!0});var $T=(gr(),Er(br)),NF=$T.__importDefault(nn()),FF=$T.__importDefault(Xn());function jF(e){var t=e.use(NF.default),n=t.Type.def,i=t.Type.or,o=e.use(FF.default).defaults,r=i(n("TypeAnnotation"),n("TSTypeAnnotation"),null),u=i(n("TypeParameterDeclaration"),n("TSTypeParameterDeclaration"),null);n("Identifier").field("typeAnnotation",r,o.null),n("ObjectPattern").field("typeAnnotation",r,o.null),n("Function").field("returnType",r,o.null).field("typeParameters",u,o.null),n("ClassProperty").build("key","value","typeAnnotation","static").field("value",i(n("Expression"),null)).field("static",Boolean,o.false).field("typeAnnotation",r,o.null),["ClassDeclaration","ClassExpression"].forEach(function(a){n(a).field("typeParameters",u,o.null).field("superTypeParameters",i(n("TypeParameterInstantiation"),n("TSTypeParameterInstantiation"),null),o.null).field("implements",i([n("ClassImplements")],[n("TSExpressionWithTypeArguments")]),o.emptyArray)})}sp.default=jF;VT.exports=sp.default});var Th=me((op,qT)=>{"use strict";Object.defineProperty(op,"__esModule",{value:!0});var ap=(gr(),Er(br)),LF=ap.__importDefault(ip()),MF=ap.__importDefault(vh()),RF=ap.__importDefault(nn()),BF=ap.__importDefault(Xn());function UF(e){e.use(LF.default),e.use(MF.default);var t=e.use(RF.default),n=t.Type.def,i=t.Type.or,o=e.use(BF.default).defaults;n("Flow").bases("Node"),n("FlowType").bases("Flow"),n("AnyTypeAnnotation").bases("FlowType").build(),n("EmptyTypeAnnotation").bases("FlowType").build(),n("MixedTypeAnnotation").bases("FlowType").build(),n("VoidTypeAnnotation").bases("FlowType").build(),n("SymbolTypeAnnotation").bases("FlowType").build(),n("NumberTypeAnnotation").bases("FlowType").build(),n("BigIntTypeAnnotation").bases("FlowType").build(),n("NumberLiteralTypeAnnotation").bases("FlowType").build("value","raw").field("value",Number).field("raw",String),n("NumericLiteralTypeAnnotation").bases("FlowType").build("value","raw").field("value",Number).field("raw",String),n("BigIntLiteralTypeAnnotation").bases("FlowType").build("value","raw").field("value",null).field("raw",String),n("StringTypeAnnotation").bases("FlowType").build(),n("StringLiteralTypeAnnotation").bases("FlowType").build("value","raw").field("value",String).field("raw",String),n("BooleanTypeAnnotation").bases("FlowType").build(),n("BooleanLiteralTypeAnnotation").bases("FlowType").build("value","raw").field("value",Boolean).field("raw",String),n("TypeAnnotation").bases("Node").build("typeAnnotation").field("typeAnnotation",n("FlowType")),n("NullableTypeAnnotation").bases("FlowType").build("typeAnnotation").field("typeAnnotation",n("FlowType")),n("NullLiteralTypeAnnotation").bases("FlowType").build(),n("NullTypeAnnotation").bases("FlowType").build(),n("ThisTypeAnnotation").bases("FlowType").build(),n("ExistsTypeAnnotation").bases("FlowType").build(),n("ExistentialTypeParam").bases("FlowType").build(),n("FunctionTypeAnnotation").bases("FlowType").build("params","returnType","rest","typeParameters").field("params",[n("FunctionTypeParam")]).field("returnType",n("FlowType")).field("rest",i(n("FunctionTypeParam"),null)).field("typeParameters",i(n("TypeParameterDeclaration"),null)),n("FunctionTypeParam").bases("Node").build("name","typeAnnotation","optional").field("name",i(n("Identifier"),null)).field("typeAnnotation",n("FlowType")).field("optional",Boolean),n("ArrayTypeAnnotation").bases("FlowType").build("elementType").field("elementType",n("FlowType")),n("ObjectTypeAnnotation").bases("FlowType").build("properties","indexers","callProperties").field("properties",[i(n("ObjectTypeProperty"),n("ObjectTypeSpreadProperty"))]).field("indexers",[n("ObjectTypeIndexer")],o.emptyArray).field("callProperties",[n("ObjectTypeCallProperty")],o.emptyArray).field("inexact",i(Boolean,void 0),o.undefined).field("exact",Boolean,o.false).field("internalSlots",[n("ObjectTypeInternalSlot")],o.emptyArray),n("Variance").bases("Node").build("kind").field("kind",i("plus","minus"));var r=i(n("Variance"),"plus","minus",null);n("ObjectTypeProperty").bases("Node").build("key","value","optional").field("key",i(n("Literal"),n("Identifier"))).field("value",n("FlowType")).field("optional",Boolean).field("variance",r,o.null),n("ObjectTypeIndexer").bases("Node").build("id","key","value").field("id",n("Identifier")).field("key",n("FlowType")).field("value",n("FlowType")).field("variance",r,o.null).field("static",Boolean,o.false),n("ObjectTypeCallProperty").bases("Node").build("value").field("value",n("FunctionTypeAnnotation")).field("static",Boolean,o.false),n("QualifiedTypeIdentifier").bases("Node").build("qualification","id").field("qualification",i(n("Identifier"),n("QualifiedTypeIdentifier"))).field("id",n("Identifier")),n("GenericTypeAnnotation").bases("FlowType").build("id","typeParameters").field("id",i(n("Identifier"),n("QualifiedTypeIdentifier"))).field("typeParameters",i(n("TypeParameterInstantiation"),null)),n("MemberTypeAnnotation").bases("FlowType").build("object","property").field("object",n("Identifier")).field("property",i(n("MemberTypeAnnotation"),n("GenericTypeAnnotation"))),n("UnionTypeAnnotation").bases("FlowType").build("types").field("types",[n("FlowType")]),n("IntersectionTypeAnnotation").bases("FlowType").build("types").field("types",[n("FlowType")]),n("TypeofTypeAnnotation").bases("FlowType").build("argument").field("argument",n("FlowType")),n("ObjectTypeSpreadProperty").bases("Node").build("argument").field("argument",n("FlowType")),n("ObjectTypeInternalSlot").bases("Node").build("id","value","optional","static","method").field("id",n("Identifier")).field("value",n("FlowType")).field("optional",Boolean).field("static",Boolean).field("method",Boolean),n("TypeParameterDeclaration").bases("Node").build("params").field("params",[n("TypeParameter")]),n("TypeParameterInstantiation").bases("Node").build("params").field("params",[n("FlowType")]),n("TypeParameter").bases("FlowType").build("name","variance","bound","default").field("name",String).field("variance",r,o.null).field("bound",i(n("TypeAnnotation"),null),o.null).field("default",i(n("FlowType"),null),o.null),n("ClassProperty").field("variance",r,o.null),n("ClassImplements").bases("Node").build("id").field("id",n("Identifier")).field("superClass",i(n("Expression"),null),o.null).field("typeParameters",i(n("TypeParameterInstantiation"),null),o.null),n("InterfaceTypeAnnotation").bases("FlowType").build("body","extends").field("body",n("ObjectTypeAnnotation")).field("extends",i([n("InterfaceExtends")],null),o.null),n("InterfaceDeclaration").bases("Declaration").build("id","body","extends").field("id",n("Identifier")).field("typeParameters",i(n("TypeParameterDeclaration"),null),o.null).field("body",n("ObjectTypeAnnotation")).field("extends",[n("InterfaceExtends")]),n("DeclareInterface").bases("InterfaceDeclaration").build("id","body","extends"),n("InterfaceExtends").bases("Node").build("id").field("id",n("Identifier")).field("typeParameters",i(n("TypeParameterInstantiation"),null),o.null),n("TypeAlias").bases("Declaration").build("id","typeParameters","right").field("id",n("Identifier")).field("typeParameters",i(n("TypeParameterDeclaration"),null)).field("right",n("FlowType")),n("DeclareTypeAlias").bases("TypeAlias").build("id","typeParameters","right"),n("OpaqueType").bases("Declaration").build("id","typeParameters","impltype","supertype").field("id",n("Identifier")).field("typeParameters",i(n("TypeParameterDeclaration"),null)).field("impltype",n("FlowType")).field("supertype",i(n("FlowType"),null)),n("DeclareOpaqueType").bases("OpaqueType").build("id","typeParameters","supertype").field("impltype",i(n("FlowType"),null)),n("TypeCastExpression").bases("Expression").build("expression","typeAnnotation").field("expression",n("Expression")).field("typeAnnotation",n("TypeAnnotation")),n("TupleTypeAnnotation").bases("FlowType").build("types").field("types",[n("FlowType")]),n("DeclareVariable").bases("Statement").build("id").field("id",n("Identifier")),n("DeclareFunction").bases("Statement").build("id").field("id",n("Identifier")).field("predicate",i(n("FlowPredicate"),null),o.null),n("DeclareClass").bases("InterfaceDeclaration").build("id"),n("DeclareModule").bases("Statement").build("id","body").field("id",i(n("Identifier"),n("Literal"))).field("body",n("BlockStatement")),n("DeclareModuleExports").bases("Statement").build("typeAnnotation").field("typeAnnotation",n("TypeAnnotation")),n("DeclareExportDeclaration").bases("Declaration").build("default","declaration","specifiers","source").field("default",Boolean).field("declaration",i(n("DeclareVariable"),n("DeclareFunction"),n("DeclareClass"),n("FlowType"),n("TypeAlias"),n("DeclareOpaqueType"),n("InterfaceDeclaration"),null)).field("specifiers",[i(n("ExportSpecifier"),n("ExportBatchSpecifier"))],o.emptyArray).field("source",i(n("Literal"),null),o.null),n("DeclareExportAllDeclaration").bases("Declaration").build("source").field("source",i(n("Literal"),null),o.null),n("ImportDeclaration").field("importKind",i("value","type","typeof"),function(){return"value"}),n("FlowPredicate").bases("Flow"),n("InferredPredicate").bases("FlowPredicate").build(),n("DeclaredPredicate").bases("FlowPredicate").build("value").field("value",n("Expression")),n("Function").field("predicate",i(n("FlowPredicate"),null),o.null),n("CallExpression").field("typeArguments",i(null,n("TypeParameterInstantiation")),o.null),n("NewExpression").field("typeArguments",i(null,n("TypeParameterInstantiation")),o.null),n("EnumDeclaration").bases("Declaration").build("id","body").field("id",n("Identifier")).field("body",i(n("EnumBooleanBody"),n("EnumNumberBody"),n("EnumStringBody"),n("EnumSymbolBody"))),n("EnumBooleanBody").build("members","explicitType").field("members",[n("EnumBooleanMember")]).field("explicitType",Boolean),n("EnumNumberBody").build("members","explicitType").field("members",[n("EnumNumberMember")]).field("explicitType",Boolean),n("EnumStringBody").build("members","explicitType").field("members",i([n("EnumStringMember")],[n("EnumDefaultedMember")])).field("explicitType",Boolean),n("EnumSymbolBody").build("members").field("members",[n("EnumDefaultedMember")]),n("EnumBooleanMember").build("id","init").field("id",n("Identifier")).field("init",i(n("Literal"),Boolean)),n("EnumNumberMember").build("id","init").field("id",n("Identifier")).field("init",n("Literal")),n("EnumStringMember").build("id","init").field("id",n("Identifier")).field("init",n("Literal")),n("EnumDefaultedMember").build("id").field("id",n("Identifier"))}op.default=UF;qT.exports=op.default});var KT=me((lp,WT)=>{"use strict";Object.defineProperty(lp,"__esModule",{value:!0});var Eh=(gr(),Er(br)),$F=Eh.__importDefault(gl()),VF=Eh.__importDefault(nn()),qF=Eh.__importDefault(Xn());function WF(e){e.use($F.default);var t=e.use(VF.default),n=e.use(qF.default).defaults,i=t.Type.def,o=t.Type.or;i("VariableDeclaration").field("declarations",[o(i("VariableDeclarator"),i("Identifier"))]),i("Property").field("value",o(i("Expression"),i("Pattern"))),i("ArrayPattern").field("elements",[o(i("Pattern"),i("SpreadElement"),null)]),i("ObjectPattern").field("properties",[o(i("Property"),i("PropertyPattern"),i("SpreadPropertyPattern"),i("SpreadProperty"))]),i("ExportSpecifier").bases("ModuleSpecifier").build("id","name"),i("ExportBatchSpecifier").bases("Specifier").build(),i("ExportDeclaration").bases("Declaration").build("default","declaration","specifiers","source").field("default",Boolean).field("declaration",o(i("Declaration"),i("Expression"),null)).field("specifiers",[o(i("ExportSpecifier"),i("ExportBatchSpecifier"))],n.emptyArray).field("source",o(i("Literal"),null),n.null),i("Block").bases("Comment").build("value","leading","trailing"),i("Line").bases("Comment").build("value","leading","trailing")}lp.default=WF;WT.exports=lp.default});var xh=me((up,zT)=>{"use strict";Object.defineProperty(up,"__esModule",{value:!0});var Sh=(gr(),Er(br)),KF=Sh.__importDefault(ip()),zF=Sh.__importDefault(nn()),GF=Sh.__importDefault(Xn());function HF(e){e.use(KF.default);var t=e.use(zF.default),n=e.use(GF.default).defaults,i=t.Type.def,o=t.Type.or;i("Noop").bases("Statement").build(),i("DoExpression").bases("Expression").build("body").field("body",[i("Statement")]),i("BindExpression").bases("Expression").build("object","callee").field("object",o(i("Expression"),null)).field("callee",i("Expression")),i("ParenthesizedExpression").bases("Expression").build("expression").field("expression",i("Expression")),i("ExportNamespaceSpecifier").bases("Specifier").build("exported").field("exported",i("Identifier")),i("ExportDefaultSpecifier").bases("Specifier").build("exported").field("exported",i("Identifier")),i("CommentBlock").bases("Comment").build("value","leading","trailing"),i("CommentLine").bases("Comment").build("value","leading","trailing"),i("Directive").bases("Node").build("value").field("value",i("DirectiveLiteral")),i("DirectiveLiteral").bases("Node","Expression").build("value").field("value",String,n["use strict"]),i("InterpreterDirective").bases("Node").build("value").field("value",String),i("BlockStatement").bases("Statement").build("body").field("body",[i("Statement")]).field("directives",[i("Directive")],n.emptyArray),i("Program").bases("Node").build("body").field("body",[i("Statement")]).field("directives",[i("Directive")],n.emptyArray).field("interpreter",o(i("InterpreterDirective"),null),n.null),i("StringLiteral").bases("Literal").build("value").field("value",String),i("NumericLiteral").bases("Literal").build("value").field("value",Number).field("raw",o(String,null),n.null).field("extra",{rawValue:Number,raw:String},function(){return{rawValue:this.value,raw:this.value+""}}),i("BigIntLiteral").bases("Literal").build("value").field("value",o(String,Number)).field("extra",{rawValue:String,raw:String},function(){return{rawValue:String(this.value),raw:this.value+"n"}}),i("NullLiteral").bases("Literal").build().field("value",null,n.null),i("BooleanLiteral").bases("Literal").build("value").field("value",Boolean),i("RegExpLiteral").bases("Literal").build("pattern","flags").field("pattern",String).field("flags",String).field("value",RegExp,function(){return new RegExp(this.pattern,this.flags)});var r=o(i("Property"),i("ObjectMethod"),i("ObjectProperty"),i("SpreadProperty"),i("SpreadElement"));i("ObjectExpression").bases("Expression").build("properties").field("properties",[r]),i("ObjectMethod").bases("Node","Function").build("kind","key","params","body","computed").field("kind",o("method","get","set")).field("key",o(i("Literal"),i("Identifier"),i("Expression"))).field("params",[i("Pattern")]).field("body",i("BlockStatement")).field("computed",Boolean,n.false).field("generator",Boolean,n.false).field("async",Boolean,n.false).field("accessibility",o(i("Literal"),null),n.null).field("decorators",o([i("Decorator")],null),n.null),i("ObjectProperty").bases("Node").build("key","value").field("key",o(i("Literal"),i("Identifier"),i("Expression"))).field("value",o(i("Expression"),i("Pattern"))).field("accessibility",o(i("Literal"),null),n.null).field("computed",Boolean,n.false);var u=o(i("MethodDefinition"),i("VariableDeclarator"),i("ClassPropertyDefinition"),i("ClassProperty"),i("ClassPrivateProperty"),i("ClassMethod"),i("ClassPrivateMethod"));i("ClassBody").bases("Declaration").build("body").field("body",[u]),i("ClassMethod").bases("Declaration","Function").build("kind","key","params","body","computed","static").field("key",o(i("Literal"),i("Identifier"),i("Expression"))),i("ClassPrivateMethod").bases("Declaration","Function").build("key","params","body","kind","computed","static").field("key",i("PrivateName")),["ClassMethod","ClassPrivateMethod"].forEach(function(m){i(m).field("kind",o("get","set","method","constructor"),function(){return"method"}).field("body",i("BlockStatement")).field("computed",Boolean,n.false).field("static",o(Boolean,null),n.null).field("abstract",o(Boolean,null),n.null).field("access",o("public","private","protected",null),n.null).field("accessibility",o("public","private","protected",null),n.null).field("decorators",o([i("Decorator")],null),n.null).field("optional",o(Boolean,null),n.null)});var a=o(i("Property"),i("PropertyPattern"),i("SpreadPropertyPattern"),i("SpreadProperty"),i("ObjectProperty"),i("RestProperty"));i("ObjectPattern").bases("Pattern").build("properties").field("properties",[a]).field("decorators",o([i("Decorator")],null),n.null),i("SpreadProperty").bases("Node").build("argument").field("argument",i("Expression")),i("RestProperty").bases("Node").build("argument").field("argument",i("Expression")),i("ForAwaitStatement").bases("Statement").build("left","right","body").field("left",o(i("VariableDeclaration"),i("Expression"))).field("right",i("Expression")).field("body",i("Statement")),i("Import").bases("Expression").build()}up.default=HF;zT.exports=up.default});var XT=me((cp,HT)=>{"use strict";Object.defineProperty(cp,"__esModule",{value:!0});var GT=(gr(),Er(br)),XF=GT.__importDefault(xh()),JF=GT.__importDefault(Th());function YF(e){e.use(XF.default),e.use(JF.default)}cp.default=YF;HT.exports=cp.default});var YT=me((dp,JT)=>{"use strict";Object.defineProperty(dp,"__esModule",{value:!0});var pp=(gr(),Er(br)),QF=pp.__importDefault(xh()),ZF=pp.__importDefault(vh()),ej=pp.__importDefault(nn()),tj=pp.__importDefault(Xn());function rj(e){e.use(QF.default),e.use(ZF.default);var t=e.use(ej.default),n=t.namedTypes,i=t.Type.def,o=t.Type.or,r=e.use(tj.default).defaults,u=t.Type.from(function(s,l){return!!(n.StringLiteral&&n.StringLiteral.check(s,l)||n.Literal&&n.Literal.check(s,l)&&typeof s.value=="string")},"StringLiteral");i("TSType").bases("Node");var a=o(i("Identifier"),i("TSQualifiedName"));i("TSTypeReference").bases("TSType","TSHasOptionalTypeParameterInstantiation").build("typeName","typeParameters").field("typeName",a),i("TSHasOptionalTypeParameterInstantiation").field("typeParameters",o(i("TSTypeParameterInstantiation"),null),r.null),i("TSHasOptionalTypeParameters").field("typeParameters",o(i("TSTypeParameterDeclaration"),null,void 0),r.null),i("TSHasOptionalTypeAnnotation").field("typeAnnotation",o(i("TSTypeAnnotation"),null),r.null),i("TSQualifiedName").bases("Node").build("left","right").field("left",a).field("right",a),i("TSAsExpression").bases("Expression","Pattern").build("expression","typeAnnotation").field("expression",i("Expression")).field("typeAnnotation",i("TSType")).field("extra",o({parenthesized:Boolean},null),r.null),i("TSNonNullExpression").bases("Expression","Pattern").build("expression").field("expression",i("Expression")),["TSAnyKeyword","TSBigIntKeyword","TSBooleanKeyword","TSNeverKeyword","TSNullKeyword","TSNumberKeyword","TSObjectKeyword","TSStringKeyword","TSSymbolKeyword","TSUndefinedKeyword","TSUnknownKeyword","TSVoidKeyword","TSThisType"].forEach(function(s){i(s).bases("TSType").build()}),i("TSArrayType").bases("TSType").build("elementType").field("elementType",i("TSType")),i("TSLiteralType").bases("TSType").build("literal").field("literal",o(i("NumericLiteral"),i("StringLiteral"),i("BooleanLiteral"),i("TemplateLiteral"),i("UnaryExpression"))),["TSUnionType","TSIntersectionType"].forEach(function(s){i(s).bases("TSType").build("types").field("types",[i("TSType")])}),i("TSConditionalType").bases("TSType").build("checkType","extendsType","trueType","falseType").field("checkType",i("TSType")).field("extendsType",i("TSType")).field("trueType",i("TSType")).field("falseType",i("TSType")),i("TSInferType").bases("TSType").build("typeParameter").field("typeParameter",i("TSTypeParameter")),i("TSParenthesizedType").bases("TSType").build("typeAnnotation").field("typeAnnotation",i("TSType"));var m=[o(i("Identifier"),i("RestElement"),i("ArrayPattern"),i("ObjectPattern"))];["TSFunctionType","TSConstructorType"].forEach(function(s){i(s).bases("TSType","TSHasOptionalTypeParameters","TSHasOptionalTypeAnnotation").build("parameters").field("parameters",m)}),i("TSDeclareFunction").bases("Declaration","TSHasOptionalTypeParameters").build("id","params","returnType").field("declare",Boolean,r.false).field("async",Boolean,r.false).field("generator",Boolean,r.false).field("id",o(i("Identifier"),null),r.null).field("params",[i("Pattern")]).field("returnType",o(i("TSTypeAnnotation"),i("Noop"),null),r.null),i("TSDeclareMethod").bases("Declaration","TSHasOptionalTypeParameters").build("key","params","returnType").field("async",Boolean,r.false).field("generator",Boolean,r.false).field("params",[i("Pattern")]).field("abstract",Boolean,r.false).field("accessibility",o("public","private","protected",void 0),r.undefined).field("static",Boolean,r.false).field("computed",Boolean,r.false).field("optional",Boolean,r.false).field("key",o(i("Identifier"),i("StringLiteral"),i("NumericLiteral"),i("Expression"))).field("kind",o("get","set","method","constructor"),function(){return"method"}).field("access",o("public","private","protected",void 0),r.undefined).field("decorators",o([i("Decorator")],null),r.null).field("returnType",o(i("TSTypeAnnotation"),i("Noop"),null),r.null),i("TSMappedType").bases("TSType").build("typeParameter","typeAnnotation").field("readonly",o(Boolean,"+","-"),r.false).field("typeParameter",i("TSTypeParameter")).field("optional",o(Boolean,"+","-"),r.false).field("typeAnnotation",o(i("TSType"),null),r.null),i("TSTupleType").bases("TSType").build("elementTypes").field("elementTypes",[o(i("TSType"),i("TSNamedTupleMember"))]),i("TSNamedTupleMember").bases("TSType").build("label","elementType","optional").field("label",i("Identifier")).field("optional",Boolean,r.false).field("elementType",i("TSType")),i("TSRestType").bases("TSType").build("typeAnnotation").field("typeAnnotation",i("TSType")),i("TSOptionalType").bases("TSType").build("typeAnnotation").field("typeAnnotation",i("TSType")),i("TSIndexedAccessType").bases("TSType").build("objectType","indexType").field("objectType",i("TSType")).field("indexType",i("TSType")),i("TSTypeOperator").bases("TSType").build("operator").field("operator",String).field("typeAnnotation",i("TSType")),i("TSTypeAnnotation").bases("Node").build("typeAnnotation").field("typeAnnotation",o(i("TSType"),i("TSTypeAnnotation"))),i("TSIndexSignature").bases("Declaration","TSHasOptionalTypeAnnotation").build("parameters","typeAnnotation").field("parameters",[i("Identifier")]).field("readonly",Boolean,r.false),i("TSPropertySignature").bases("Declaration","TSHasOptionalTypeAnnotation").build("key","typeAnnotation","optional").field("key",i("Expression")).field("computed",Boolean,r.false).field("readonly",Boolean,r.false).field("optional",Boolean,r.false).field("initializer",o(i("Expression"),null),r.null),i("TSMethodSignature").bases("Declaration","TSHasOptionalTypeParameters","TSHasOptionalTypeAnnotation").build("key","parameters","typeAnnotation").field("key",i("Expression")).field("computed",Boolean,r.false).field("optional",Boolean,r.false).field("parameters",m),i("TSTypePredicate").bases("TSTypeAnnotation","TSType").build("parameterName","typeAnnotation","asserts").field("parameterName",o(i("Identifier"),i("TSThisType"))).field("typeAnnotation",o(i("TSTypeAnnotation"),null),r.null).field("asserts",Boolean,r.false),["TSCallSignatureDeclaration","TSConstructSignatureDeclaration"].forEach(function(s){i(s).bases("Declaration","TSHasOptionalTypeParameters","TSHasOptionalTypeAnnotation").build("parameters","typeAnnotation").field("parameters",m)}),i("TSEnumMember").bases("Node").build("id","initializer").field("id",o(i("Identifier"),u)).field("initializer",o(i("Expression"),null),r.null),i("TSTypeQuery").bases("TSType").build("exprName").field("exprName",o(a,i("TSImportType")));var d=o(i("TSCallSignatureDeclaration"),i("TSConstructSignatureDeclaration"),i("TSIndexSignature"),i("TSMethodSignature"),i("TSPropertySignature"));i("TSTypeLiteral").bases("TSType").build("members").field("members",[d]),i("TSTypeParameter").bases("Identifier").build("name","constraint","default").field("name",String).field("constraint",o(i("TSType"),void 0),r.undefined).field("default",o(i("TSType"),void 0),r.undefined),i("TSTypeAssertion").bases("Expression","Pattern").build("typeAnnotation","expression").field("typeAnnotation",i("TSType")).field("expression",i("Expression")).field("extra",o({parenthesized:Boolean},null),r.null),i("TSTypeParameterDeclaration").bases("Declaration").build("params").field("params",[i("TSTypeParameter")]),i("TSTypeParameterInstantiation").bases("Node").build("params").field("params",[i("TSType")]),i("TSEnumDeclaration").bases("Declaration").build("id","members").field("id",i("Identifier")).field("const",Boolean,r.false).field("declare",Boolean,r.false).field("members",[i("TSEnumMember")]).field("initializer",o(i("Expression"),null),r.null),i("TSTypeAliasDeclaration").bases("Declaration","TSHasOptionalTypeParameters").build("id","typeAnnotation").field("id",i("Identifier")).field("declare",Boolean,r.false).field("typeAnnotation",i("TSType")),i("TSModuleBlock").bases("Node").build("body").field("body",[i("Statement")]),i("TSModuleDeclaration").bases("Declaration").build("id","body").field("id",o(u,a)).field("declare",Boolean,r.false).field("global",Boolean,r.false).field("body",o(i("TSModuleBlock"),i("TSModuleDeclaration"),null),r.null),i("TSImportType").bases("TSType","TSHasOptionalTypeParameterInstantiation").build("argument","qualifier","typeParameters").field("argument",u).field("qualifier",o(a,void 0),r.undefined),i("TSImportEqualsDeclaration").bases("Declaration").build("id","moduleReference").field("id",i("Identifier")).field("isExport",Boolean,r.false).field("moduleReference",o(a,i("TSExternalModuleReference"))),i("TSExternalModuleReference").bases("Declaration").build("expression").field("expression",u),i("TSExportAssignment").bases("Statement").build("expression").field("expression",i("Expression")),i("TSNamespaceExportDeclaration").bases("Declaration").build("id").field("id",i("Identifier")),i("TSInterfaceBody").bases("Node").build("body").field("body",[d]),i("TSExpressionWithTypeArguments").bases("TSType","TSHasOptionalTypeParameterInstantiation").build("expression","typeParameters").field("expression",a),i("TSInterfaceDeclaration").bases("Declaration","TSHasOptionalTypeParameters").build("id","body").field("id",a).field("declare",Boolean,r.false).field("extends",o([i("TSExpressionWithTypeArguments")],null),r.null).field("body",i("TSInterfaceBody")),i("TSParameterProperty").bases("Pattern").build("parameter").field("accessibility",o("public","private","protected",void 0),r.undefined).field("readonly",Boolean,r.false).field("parameter",o(i("Identifier"),i("AssignmentPattern"))),i("ClassProperty").field("access",o("public","private","protected",void 0),r.undefined),i("ClassBody").field("body",[o(i("MethodDefinition"),i("VariableDeclarator"),i("ClassPropertyDefinition"),i("ClassProperty"),i("ClassPrivateProperty"),i("ClassMethod"),i("ClassPrivateMethod"),i("TSDeclareMethod"),d)])}dp.default=rj;JT.exports=dp.default});var QT=me(vl=>{"use strict";Object.defineProperty(vl,"__esModule",{value:!0});vl.namedTypes=void 0;var nj;nj=vl.namedTypes||(vl.namedTypes={})});var Qi=me(ir=>{"use strict";Object.defineProperty(ir,"__esModule",{value:!0});ir.visit=ir.use=ir.Type=ir.someField=ir.PathVisitor=ir.Path=ir.NodePath=ir.namedTypes=ir.getSupertypeNames=ir.getFieldValue=ir.getFieldNames=ir.getBuilderName=ir.finalize=ir.eachField=ir.defineMethod=ir.builtInTypes=ir.builders=ir.astNodesAreEquivalent=void 0;var Jn=(gr(),Er(br)),ij=Jn.__importDefault(AT()),sj=Jn.__importDefault(oh()),aj=Jn.__importDefault(uh()),oj=Jn.__importDefault(ch()),lj=Jn.__importDefault(dh()),uj=Jn.__importDefault(hh()),cj=Jn.__importDefault(yh()),pj=Jn.__importDefault(gl()),dj=Jn.__importDefault(BT()),fj=Jn.__importDefault(Th()),hj=Jn.__importDefault(KT()),mj=Jn.__importDefault(XT()),yj=Jn.__importDefault(YT()),bj=Jn.__importDefault(ip()),ZT=QT();Object.defineProperty(ir,"namedTypes",{enumerable:!0,get:function(){return ZT.namedTypes}});var Cn=ij.default([sj.default,aj.default,oj.default,lj.default,uj.default,cj.default,pj.default,dj.default,fj.default,hj.default,mj.default,yj.default,bj.default]),gj=Cn.astNodesAreEquivalent,vj=Cn.builders,Tj=Cn.builtInTypes,Ej=Cn.defineMethod,Sj=Cn.eachField,xj=Cn.finalize,_j=Cn.getBuilderName,wj=Cn.getFieldNames,Cj=Cn.getFieldValue,Aj=Cn.getSupertypeNames,Pj=Cn.namedTypes,kj=Cn.NodePath,Dj=Cn.Path,Ij=Cn.PathVisitor,Oj=Cn.someField,Nj=Cn.Type,Fj=Cn.use,jj=Cn.visit;ir.astNodesAreEquivalent=gj;ir.builders=vj;ir.builtInTypes=Tj;ir.defineMethod=Ej;ir.eachField=Sj;ir.finalize=xj;ir.getBuilderName=_j;ir.getFieldNames=wj;ir.getFieldValue=Cj;ir.getSupertypeNames=Aj;ir.NodePath=kj;ir.Path=Dj;ir.PathVisitor=Ij;ir.someField=Oj;ir.Type=Nj;ir.use=Fj;ir.visit=jj;Object.assign(ZT.namedTypes,Pj)});var nE=me((mY,rE)=>{"use strict";var eE={},Lj=eE.hasOwnProperty,tE=(e,t)=>{for(let n in e)Lj.call(e,n)&&t(n,e[n])},Mj=(e,t)=>(t&&tE(t,(n,i)=>{e[n]=i}),e),Rj=(e,t)=>{let n=e.length,i=-1;for(;++i<n;)t(e[i])},Tl=eE.toString,Bj=Array.isArray,Uj=Buffer.isBuffer,$j=e=>Tl.call(e)=="[object Object]",Vj=e=>typeof e=="string"||Tl.call(e)=="[object String]",qj=e=>typeof e=="number"||Tl.call(e)=="[object Number]",Wj=e=>typeof e=="function",Kj=e=>Tl.call(e)=="[object Map]",zj=e=>Tl.call(e)=="[object Set]",Gj={'"':'\\"',"'":"\\'","\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r"," ":"\\t"},Hj=/["'\\\b\f\n\r\t]/,Xj=/[0-9]/,Jj=/[ !#-&\(-\[\]-_a-~]/,Ws=(e,t)=>{let n=()=>{d=m,++t.indentLevel,m=t.indent.repeat(t.indentLevel)},i={escapeEverything:!1,minimal:!1,isScriptContext:!1,quotes:"single",wrap:!1,es6:!1,json:!1,compact:!0,lowercaseHex:!1,numbers:"decimal",indent:" ",indentLevel:0,__inline1__:!1,__inline2__:!1},o=t&&t.json;o&&(i.quotes="double",i.wrap=!0),t=Mj(i,t),t.quotes!="single"&&t.quotes!="double"&&t.quotes!="backtick"&&(t.quotes="single");let r=t.quotes=="double"?'"':t.quotes=="backtick"?"`":"'",u=t.compact,a=t.lowercaseHex,m=t.indent.repeat(t.indentLevel),d="",s=t.__inline1__,l=t.__inline2__,f=u?"":`
|
|
`,p,h=!0,y=t.numbers=="binary",b=t.numbers=="octal",E=t.numbers=="decimal",v=t.numbers=="hexadecimal";if(o&&e&&Wj(e.toJSON)&&(e=e.toJSON()),!Vj(e)){if(Kj(e))return e.size==0?"new Map()":(u||(t.__inline1__=!0,t.__inline2__=!1),"new Map("+Ws(Array.from(e),t)+")");if(zj(e))return e.size==0?"new Set()":"new Set("+Ws(Array.from(e),t)+")";if(Uj(e))return e.length==0?"Buffer.from([])":"Buffer.from("+Ws(Array.from(e),t)+")";if(Bj(e))return p=[],t.wrap=!0,s&&(t.__inline1__=!1,t.__inline2__=!0),l||n(),Rj(e,x=>{h=!1,l&&(t.__inline2__=!1),p.push((u||l?"":m)+Ws(x,t))}),h?"[]":l?"["+p.join(", ")+"]":"["+f+p.join(","+f)+f+(u?"":d)+"]";if(qj(e)){if(o)return JSON.stringify(e);if(E)return String(e);if(v){let x=e.toString(16);return a||(x=x.toUpperCase()),"0x"+x}if(y)return"0b"+e.toString(2);if(b)return"0o"+e.toString(8)}else return $j(e)?(p=[],t.wrap=!0,n(),tE(e,(x,C)=>{h=!1,p.push((u?"":m)+Ws(x,t)+":"+(u?"":" ")+Ws(C,t))}),h?"{}":"{"+f+p.join(","+f)+f+(u?"":d)+"}"):o?JSON.stringify(e)||"null":String(e)}let S=e,w=-1,A=S.length;for(p="";++w<A;){let x=S.charAt(w);if(t.es6){let I=S.charCodeAt(w);if(I>=55296&&I<=56319&&A>w+1){let j=S.charCodeAt(w+1);if(j>=56320&&j<=57343){let R=((I-55296)*1024+j-56320+65536).toString(16);a||(R=R.toUpperCase()),p+="\\u{"+R+"}",++w;continue}}}if(!t.escapeEverything){if(Jj.test(x)){p+=x;continue}if(x=='"'){p+=r==x?'\\"':x;continue}if(x=="`"){p+=r==x?"\\`":x;continue}if(x=="'"){p+=r==x?"\\'":x;continue}}if(x=="\0"&&!o&&!Xj.test(S.charAt(w+1))){p+="\\0";continue}if(Hj.test(x)){p+=Gj[x];continue}let C=x.charCodeAt(0);if(t.minimal&&C!=8232&&C!=8233){p+=x;continue}let P=C.toString(16);a||(P=P.toUpperCase());let D=P.length>2||o,L="\\"+(D?"u":"x")+("0000"+P).slice(D?-4:-2);p+=L}return t.wrap&&(p=r+p+r),r=="`"&&(p=p.replace(/\$\{/g,"\\${")),t.isScriptContext?p.replace(/<\/(script|style)/gi,"<\\/$1").replace(/<!--/g,o?"\\u003C!--":"\\x3C!--"):p};Ws.version="2.5.2";rE.exports=Ws});var _h=me((yY,iE)=>{var Yj={}.toString;iE.exports=Array.isArray||function(e){return Yj.call(e)=="[object Array]"}});var aE=me((bY,sE)=>{"use strict";var Qj=_h();sE.exports=function(t){return t!=null&&typeof t=="object"&&Qj(t)===!1}});var lE=me((vY,oE)=>{"use strict";var Zj=_h(),eL=aE(),gY=Array.prototype.slice;oE.exports=ro;function ro(e,t){if(!(this instanceof ro))return typeof t=="number"?new ro(e).fromIndex(t):new ro(e,t);this.str=e||"",this.lineToIndex=tL(this.str),t=t||{},this.origin=typeof t.origin>"u"?1:t.origin}ro.prototype.fromIndex=function(e){if(e<0||e>=this.str.length||isNaN(e))return null;var t=rL(e,this.lineToIndex);return{line:t+this.origin,col:e-this.lineToIndex[t]+this.origin}};ro.prototype.toIndex=function(e,t){if(typeof t>"u")return Zj(e)&&e.length>=2?this.toIndex(e[0],e[1]):eL(e)&&"line"in e&&("col"in e||"column"in e)?this.toIndex(e.line,"col"in e?e.col:e.column):-1;if(isNaN(e)||isNaN(t))return-1;if(e-=this.origin,t-=this.origin,e>=0&&t>=0&&e<this.lineToIndex.length){var n=this.lineToIndex[e],i=e===this.lineToIndex.length-1?this.str.length:this.lineToIndex[e+1];if(t<i-n)return n+t}return-1};function tL(e){for(var t=e.split(`
|
|
`),n=new Array(t.length),i=0,o=0,r=t.length;o<r;o++)n[o]=i,i+=t[o].length+1;return n}function rL(e,t){if(e>=t[t.length-1])return t.length-1;for(var n=0,i=t.length-2,o;n<i;)if(o=n+(i-n>>1),e<t[o])i=o-1;else if(e>=t[o+1])n=o+1;else{n=o;break}return n}});var cE=me(wh=>{var uE="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");wh.encode=function(e){if(0<=e&&e<uE.length)return uE[e];throw new TypeError("Must be between 0 and 63: "+e)};wh.decode=function(e){var t=65,n=90,i=97,o=122,r=48,u=57,a=43,m=47,d=26,s=52;return t<=e&&e<=n?e-t:i<=e&&e<=o?e-i+d:r<=e&&e<=u?e-r+s:e==a?62:e==m?63:-1}});var Ph=me(Ah=>{var pE=cE(),Ch=5,dE=1<<Ch,fE=dE-1,hE=dE;function nL(e){return e<0?(-e<<1)+1:(e<<1)+0}function iL(e){var t=(e&1)===1,n=e>>1;return t?-n:n}Ah.encode=function(t){var n="",i,o=nL(t);do i=o&fE,o>>>=Ch,o>0&&(i|=hE),n+=pE.encode(i);while(o>0);return n};Ah.decode=function(t,n,i){var o=t.length,r=0,u=0,a,m;do{if(n>=o)throw new Error("Expected more digits in base 64 VLQ value.");if(m=pE.decode(t.charCodeAt(n++)),m===-1)throw new Error("Invalid base64 digit: "+t.charAt(n-1));a=!!(m&hE),m&=fE,r=r+(m<<u),u+=Ch}while(a);i.value=iL(r),i.rest=n}});var so=me(Rn=>{function sL(e,t,n){if(t in e)return e[t];if(arguments.length===3)return n;throw new Error('"'+t+'" is a required argument.')}Rn.getArg=sL;var mE=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,aL=/^data:.+\,.+$/;function El(e){var t=e.match(mE);return t?{scheme:t[1],auth:t[2],host:t[3],port:t[4],path:t[5]}:null}Rn.urlParse=El;function no(e){var t="";return e.scheme&&(t+=e.scheme+":"),t+="//",e.auth&&(t+=e.auth+"@"),e.host&&(t+=e.host),e.port&&(t+=":"+e.port),e.path&&(t+=e.path),t}Rn.urlGenerate=no;function kh(e){var t=e,n=El(e);if(n){if(!n.path)return e;t=n.path}for(var i=Rn.isAbsolute(t),o=t.split(/\/+/),r,u=0,a=o.length-1;a>=0;a--)r=o[a],r==="."?o.splice(a,1):r===".."?u++:u>0&&(r===""?(o.splice(a+1,u),u=0):(o.splice(a,2),u--));return t=o.join("/"),t===""&&(t=i?"/":"."),n?(n.path=t,no(n)):t}Rn.normalize=kh;function yE(e,t){e===""&&(e="."),t===""&&(t=".");var n=El(t),i=El(e);if(i&&(e=i.path||"/"),n&&!n.scheme)return i&&(n.scheme=i.scheme),no(n);if(n||t.match(aL))return t;if(i&&!i.host&&!i.path)return i.host=t,no(i);var o=t.charAt(0)==="/"?t:kh(e.replace(/\/+$/,"")+"/"+t);return i?(i.path=o,no(i)):o}Rn.join=yE;Rn.isAbsolute=function(e){return e.charAt(0)==="/"||mE.test(e)};function oL(e,t){e===""&&(e="."),e=e.replace(/\/$/,"");for(var n=0;t.indexOf(e+"/")!==0;){var i=e.lastIndexOf("/");if(i<0||(e=e.slice(0,i),e.match(/^([^\/]+:\/)?\/*$/)))return t;++n}return Array(n+1).join("../")+t.substr(e.length+1)}Rn.relative=oL;var bE=function(){var e=Object.create(null);return!("__proto__"in e)}();function gE(e){return e}function lL(e){return vE(e)?"$"+e:e}Rn.toSetString=bE?gE:lL;function uL(e){return vE(e)?e.slice(1):e}Rn.fromSetString=bE?gE:uL;function vE(e){if(!e)return!1;var t=e.length;if(t<9||e.charCodeAt(t-1)!==95||e.charCodeAt(t-2)!==95||e.charCodeAt(t-3)!==111||e.charCodeAt(t-4)!==116||e.charCodeAt(t-5)!==111||e.charCodeAt(t-6)!==114||e.charCodeAt(t-7)!==112||e.charCodeAt(t-8)!==95||e.charCodeAt(t-9)!==95)return!1;for(var n=t-10;n>=0;n--)if(e.charCodeAt(n)!==36)return!1;return!0}function cL(e,t,n){var i=io(e.source,t.source);return i!==0||(i=e.originalLine-t.originalLine,i!==0)||(i=e.originalColumn-t.originalColumn,i!==0||n)||(i=e.generatedColumn-t.generatedColumn,i!==0)||(i=e.generatedLine-t.generatedLine,i!==0)?i:io(e.name,t.name)}Rn.compareByOriginalPositions=cL;function pL(e,t,n){var i=e.generatedLine-t.generatedLine;return i!==0||(i=e.generatedColumn-t.generatedColumn,i!==0||n)||(i=io(e.source,t.source),i!==0)||(i=e.originalLine-t.originalLine,i!==0)||(i=e.originalColumn-t.originalColumn,i!==0)?i:io(e.name,t.name)}Rn.compareByGeneratedPositionsDeflated=pL;function io(e,t){return e===t?0:e===null?1:t===null?-1:e>t?1:-1}function dL(e,t){var n=e.generatedLine-t.generatedLine;return n!==0||(n=e.generatedColumn-t.generatedColumn,n!==0)||(n=io(e.source,t.source),n!==0)||(n=e.originalLine-t.originalLine,n!==0)||(n=e.originalColumn-t.originalColumn,n!==0)?n:io(e.name,t.name)}Rn.compareByGeneratedPositionsInflated=dL;function fL(e){return JSON.parse(e.replace(/^\)]}'[^\n]*\n/,""))}Rn.parseSourceMapInput=fL;function hL(e,t,n){if(t=t||"",e&&(e[e.length-1]!=="/"&&t[0]!=="/"&&(e+="/"),t=e+t),n){var i=El(n);if(!i)throw new Error("sourceMapURL could not be parsed");if(i.path){var o=i.path.lastIndexOf("/");o>=0&&(i.path=i.path.substring(0,o+1))}t=yE(no(i),t)}return kh(t)}Rn.computeSourceURL=hL});var Oh=me(TE=>{var Dh=so(),Ih=Object.prototype.hasOwnProperty,xa=typeof Map<"u";function gs(){this._array=[],this._set=xa?new Map:Object.create(null)}gs.fromArray=function(t,n){for(var i=new gs,o=0,r=t.length;o<r;o++)i.add(t[o],n);return i};gs.prototype.size=function(){return xa?this._set.size:Object.getOwnPropertyNames(this._set).length};gs.prototype.add=function(t,n){var i=xa?t:Dh.toSetString(t),o=xa?this.has(t):Ih.call(this._set,i),r=this._array.length;(!o||n)&&this._array.push(t),o||(xa?this._set.set(t,r):this._set[i]=r)};gs.prototype.has=function(t){if(xa)return this._set.has(t);var n=Dh.toSetString(t);return Ih.call(this._set,n)};gs.prototype.indexOf=function(t){if(xa){var n=this._set.get(t);if(n>=0)return n}else{var i=Dh.toSetString(t);if(Ih.call(this._set,i))return this._set[i]}throw new Error('"'+t+'" is not in the set.')};gs.prototype.at=function(t){if(t>=0&&t<this._array.length)return this._array[t];throw new Error("No element indexed by "+t)};gs.prototype.toArray=function(){return this._array.slice()};TE.ArraySet=gs});var xE=me(SE=>{var EE=so();function mL(e,t){var n=e.generatedLine,i=t.generatedLine,o=e.generatedColumn,r=t.generatedColumn;return i>n||i==n&&r>=o||EE.compareByGeneratedPositionsInflated(e,t)<=0}function fp(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}fp.prototype.unsortedForEach=function(t,n){this._array.forEach(t,n)};fp.prototype.add=function(t){mL(this._last,t)?(this._last=t,this._array.push(t)):(this._sorted=!1,this._array.push(t))};fp.prototype.toArray=function(){return this._sorted||(this._array.sort(EE.compareByGeneratedPositionsInflated),this._sorted=!0),this._array};SE.MappingList=fp});var Nh=me(_E=>{var Sl=Ph(),mn=so(),hp=Oh().ArraySet,yL=xE().MappingList;function vi(e){e||(e={}),this._file=mn.getArg(e,"file",null),this._sourceRoot=mn.getArg(e,"sourceRoot",null),this._skipValidation=mn.getArg(e,"skipValidation",!1),this._sources=new hp,this._names=new hp,this._mappings=new yL,this._sourcesContents=null}vi.prototype._version=3;vi.fromSourceMap=function(t){var n=t.sourceRoot,i=new vi({file:t.file,sourceRoot:n});return t.eachMapping(function(o){var r={generated:{line:o.generatedLine,column:o.generatedColumn}};o.source!=null&&(r.source=o.source,n!=null&&(r.source=mn.relative(n,r.source)),r.original={line:o.originalLine,column:o.originalColumn},o.name!=null&&(r.name=o.name)),i.addMapping(r)}),t.sources.forEach(function(o){var r=o;n!==null&&(r=mn.relative(n,o)),i._sources.has(r)||i._sources.add(r);var u=t.sourceContentFor(o);u!=null&&i.setSourceContent(o,u)}),i};vi.prototype.addMapping=function(t){var n=mn.getArg(t,"generated"),i=mn.getArg(t,"original",null),o=mn.getArg(t,"source",null),r=mn.getArg(t,"name",null);this._skipValidation||this._validateMapping(n,i,o,r),o!=null&&(o=String(o),this._sources.has(o)||this._sources.add(o)),r!=null&&(r=String(r),this._names.has(r)||this._names.add(r)),this._mappings.add({generatedLine:n.line,generatedColumn:n.column,originalLine:i!=null&&i.line,originalColumn:i!=null&&i.column,source:o,name:r})};vi.prototype.setSourceContent=function(t,n){var i=t;this._sourceRoot!=null&&(i=mn.relative(this._sourceRoot,i)),n!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[mn.toSetString(i)]=n):this._sourcesContents&&(delete this._sourcesContents[mn.toSetString(i)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))};vi.prototype.applySourceMap=function(t,n,i){var o=n;if(n==null){if(t.file==null)throw new Error(`SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map's "file" property. Both were omitted.`);o=t.file}var r=this._sourceRoot;r!=null&&(o=mn.relative(r,o));var u=new hp,a=new hp;this._mappings.unsortedForEach(function(m){if(m.source===o&&m.originalLine!=null){var d=t.originalPositionFor({line:m.originalLine,column:m.originalColumn});d.source!=null&&(m.source=d.source,i!=null&&(m.source=mn.join(i,m.source)),r!=null&&(m.source=mn.relative(r,m.source)),m.originalLine=d.line,m.originalColumn=d.column,d.name!=null&&(m.name=d.name))}var s=m.source;s!=null&&!u.has(s)&&u.add(s);var l=m.name;l!=null&&!a.has(l)&&a.add(l)},this),this._sources=u,this._names=a,t.sources.forEach(function(m){var d=t.sourceContentFor(m);d!=null&&(i!=null&&(m=mn.join(i,m)),r!=null&&(m=mn.relative(r,m)),this.setSourceContent(m,d))},this)};vi.prototype._validateMapping=function(t,n,i,o){if(n&&typeof n.line!="number"&&typeof n.column!="number")throw new Error("original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.");if(!(t&&"line"in t&&"column"in t&&t.line>0&&t.column>=0&&!n&&!i&&!o)){if(t&&"line"in t&&"column"in t&&n&&"line"in n&&"column"in n&&t.line>0&&t.column>=0&&n.line>0&&n.column>=0&&i)return;throw new Error("Invalid mapping: "+JSON.stringify({generated:t,source:i,original:n,name:o}))}};vi.prototype._serializeMappings=function(){for(var t=0,n=1,i=0,o=0,r=0,u=0,a="",m,d,s,l,f=this._mappings.toArray(),p=0,h=f.length;p<h;p++){if(d=f[p],m="",d.generatedLine!==n)for(t=0;d.generatedLine!==n;)m+=";",n++;else if(p>0){if(!mn.compareByGeneratedPositionsInflated(d,f[p-1]))continue;m+=","}m+=Sl.encode(d.generatedColumn-t),t=d.generatedColumn,d.source!=null&&(l=this._sources.indexOf(d.source),m+=Sl.encode(l-u),u=l,m+=Sl.encode(d.originalLine-1-o),o=d.originalLine-1,m+=Sl.encode(d.originalColumn-i),i=d.originalColumn,d.name!=null&&(s=this._names.indexOf(d.name),m+=Sl.encode(s-r),r=s)),a+=m}return a};vi.prototype._generateSourcesContent=function(t,n){return t.map(function(i){if(!this._sourcesContents)return null;n!=null&&(i=mn.relative(n,i));var o=mn.toSetString(i);return Object.prototype.hasOwnProperty.call(this._sourcesContents,o)?this._sourcesContents[o]:null},this)};vi.prototype.toJSON=function(){var t={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return this._file!=null&&(t.file=this._file),this._sourceRoot!=null&&(t.sourceRoot=this._sourceRoot),this._sourcesContents&&(t.sourcesContent=this._generateSourcesContent(t.sources,t.sourceRoot)),t};vi.prototype.toString=function(){return JSON.stringify(this.toJSON())};_E.SourceMapGenerator=vi});var wE=me(_a=>{_a.GREATEST_LOWER_BOUND=1;_a.LEAST_UPPER_BOUND=2;function Fh(e,t,n,i,o,r){var u=Math.floor((t-e)/2)+e,a=o(n,i[u],!0);return a===0?u:a>0?t-u>1?Fh(u,t,n,i,o,r):r==_a.LEAST_UPPER_BOUND?t<i.length?t:-1:u:u-e>1?Fh(e,u,n,i,o,r):r==_a.LEAST_UPPER_BOUND?u:e<0?-1:e}_a.search=function(t,n,i,o){if(n.length===0)return-1;var r=Fh(-1,n.length,t,n,i,o||_a.GREATEST_LOWER_BOUND);if(r<0)return-1;for(;r-1>=0&&i(n[r],n[r-1],!0)===0;)--r;return r}});var AE=me(CE=>{function jh(e,t,n){var i=e[t];e[t]=e[n],e[n]=i}function bL(e,t){return Math.round(e+Math.random()*(t-e))}function Lh(e,t,n,i){if(n<i){var o=bL(n,i),r=n-1;jh(e,o,i);for(var u=e[i],a=n;a<i;a++)t(e[a],u)<=0&&(r+=1,jh(e,r,a));jh(e,r+1,a);var m=r+1;Lh(e,t,n,m-1),Lh(e,t,m+1,i)}}CE.quickSort=function(e,t){Lh(e,t,0,e.length-1)}});var kE=me(mp=>{var Nt=so(),Mh=wE(),ao=Oh().ArraySet,gL=Ph(),xl=AE().quickSort;function Wr(e,t){var n=e;return typeof e=="string"&&(n=Nt.parseSourceMapInput(e)),n.sections!=null?new ji(n,t):new On(n,t)}Wr.fromSourceMap=function(e,t){return On.fromSourceMap(e,t)};Wr.prototype._version=3;Wr.prototype.__generatedMappings=null;Object.defineProperty(Wr.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}});Wr.prototype.__originalMappings=null;Object.defineProperty(Wr.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}});Wr.prototype._charIsMappingSeparator=function(t,n){var i=t.charAt(n);return i===";"||i===","};Wr.prototype._parseMappings=function(t,n){throw new Error("Subclasses must implement _parseMappings")};Wr.GENERATED_ORDER=1;Wr.ORIGINAL_ORDER=2;Wr.GREATEST_LOWER_BOUND=1;Wr.LEAST_UPPER_BOUND=2;Wr.prototype.eachMapping=function(t,n,i){var o=n||null,r=i||Wr.GENERATED_ORDER,u;switch(r){case Wr.GENERATED_ORDER:u=this._generatedMappings;break;case Wr.ORIGINAL_ORDER:u=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var a=this.sourceRoot;u.map(function(m){var d=m.source===null?null:this._sources.at(m.source);return d=Nt.computeSourceURL(a,d,this._sourceMapURL),{source:d,generatedLine:m.generatedLine,generatedColumn:m.generatedColumn,originalLine:m.originalLine,originalColumn:m.originalColumn,name:m.name===null?null:this._names.at(m.name)}},this).forEach(t,o)};Wr.prototype.allGeneratedPositionsFor=function(t){var n=Nt.getArg(t,"line"),i={source:Nt.getArg(t,"source"),originalLine:n,originalColumn:Nt.getArg(t,"column",0)};if(i.source=this._findSourceIndex(i.source),i.source<0)return[];var o=[],r=this._findMapping(i,this._originalMappings,"originalLine","originalColumn",Nt.compareByOriginalPositions,Mh.LEAST_UPPER_BOUND);if(r>=0){var u=this._originalMappings[r];if(t.column===void 0)for(var a=u.originalLine;u&&u.originalLine===a;)o.push({line:Nt.getArg(u,"generatedLine",null),column:Nt.getArg(u,"generatedColumn",null),lastColumn:Nt.getArg(u,"lastGeneratedColumn",null)}),u=this._originalMappings[++r];else for(var m=u.originalColumn;u&&u.originalLine===n&&u.originalColumn==m;)o.push({line:Nt.getArg(u,"generatedLine",null),column:Nt.getArg(u,"generatedColumn",null),lastColumn:Nt.getArg(u,"lastGeneratedColumn",null)}),u=this._originalMappings[++r]}return o};mp.SourceMapConsumer=Wr;function On(e,t){var n=e;typeof e=="string"&&(n=Nt.parseSourceMapInput(e));var i=Nt.getArg(n,"version"),o=Nt.getArg(n,"sources"),r=Nt.getArg(n,"names",[]),u=Nt.getArg(n,"sourceRoot",null),a=Nt.getArg(n,"sourcesContent",null),m=Nt.getArg(n,"mappings"),d=Nt.getArg(n,"file",null);if(i!=this._version)throw new Error("Unsupported version: "+i);u&&(u=Nt.normalize(u)),o=o.map(String).map(Nt.normalize).map(function(s){return u&&Nt.isAbsolute(u)&&Nt.isAbsolute(s)?Nt.relative(u,s):s}),this._names=ao.fromArray(r.map(String),!0),this._sources=ao.fromArray(o,!0),this._absoluteSources=this._sources.toArray().map(function(s){return Nt.computeSourceURL(u,s,t)}),this.sourceRoot=u,this.sourcesContent=a,this._mappings=m,this._sourceMapURL=t,this.file=d}On.prototype=Object.create(Wr.prototype);On.prototype.consumer=Wr;On.prototype._findSourceIndex=function(e){var t=e;if(this.sourceRoot!=null&&(t=Nt.relative(this.sourceRoot,t)),this._sources.has(t))return this._sources.indexOf(t);var n;for(n=0;n<this._absoluteSources.length;++n)if(this._absoluteSources[n]==e)return n;return-1};On.fromSourceMap=function(t,n){var i=Object.create(On.prototype),o=i._names=ao.fromArray(t._names.toArray(),!0),r=i._sources=ao.fromArray(t._sources.toArray(),!0);i.sourceRoot=t._sourceRoot,i.sourcesContent=t._generateSourcesContent(i._sources.toArray(),i.sourceRoot),i.file=t._file,i._sourceMapURL=n,i._absoluteSources=i._sources.toArray().map(function(p){return Nt.computeSourceURL(i.sourceRoot,p,n)});for(var u=t._mappings.toArray().slice(),a=i.__generatedMappings=[],m=i.__originalMappings=[],d=0,s=u.length;d<s;d++){var l=u[d],f=new PE;f.generatedLine=l.generatedLine,f.generatedColumn=l.generatedColumn,l.source&&(f.source=r.indexOf(l.source),f.originalLine=l.originalLine,f.originalColumn=l.originalColumn,l.name&&(f.name=o.indexOf(l.name)),m.push(f)),a.push(f)}return xl(i.__originalMappings,Nt.compareByOriginalPositions),i};On.prototype._version=3;Object.defineProperty(On.prototype,"sources",{get:function(){return this._absoluteSources.slice()}});function PE(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}On.prototype._parseMappings=function(t,n){for(var i=1,o=0,r=0,u=0,a=0,m=0,d=t.length,s=0,l={},f={},p=[],h=[],y,b,E,v,S;s<d;)if(t.charAt(s)===";")i++,s++,o=0;else if(t.charAt(s)===",")s++;else{for(y=new PE,y.generatedLine=i,v=s;v<d&&!this._charIsMappingSeparator(t,v);v++);if(b=t.slice(s,v),E=l[b],E)s+=b.length;else{for(E=[];s<v;)gL.decode(t,s,f),S=f.value,s=f.rest,E.push(S);if(E.length===2)throw new Error("Found a source, but no line and column");if(E.length===3)throw new Error("Found a source and line, but no column");l[b]=E}y.generatedColumn=o+E[0],o=y.generatedColumn,E.length>1&&(y.source=a+E[1],a+=E[1],y.originalLine=r+E[2],r=y.originalLine,y.originalLine+=1,y.originalColumn=u+E[3],u=y.originalColumn,E.length>4&&(y.name=m+E[4],m+=E[4])),h.push(y),typeof y.originalLine=="number"&&p.push(y)}xl(h,Nt.compareByGeneratedPositionsDeflated),this.__generatedMappings=h,xl(p,Nt.compareByOriginalPositions),this.__originalMappings=p};On.prototype._findMapping=function(t,n,i,o,r,u){if(t[i]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+t[i]);if(t[o]<0)throw new TypeError("Column must be greater than or equal to 0, got "+t[o]);return Mh.search(t,n,r,u)};On.prototype.computeColumnSpans=function(){for(var t=0;t<this._generatedMappings.length;++t){var n=this._generatedMappings[t];if(t+1<this._generatedMappings.length){var i=this._generatedMappings[t+1];if(n.generatedLine===i.generatedLine){n.lastGeneratedColumn=i.generatedColumn-1;continue}}n.lastGeneratedColumn=1/0}};On.prototype.originalPositionFor=function(t){var n={generatedLine:Nt.getArg(t,"line"),generatedColumn:Nt.getArg(t,"column")},i=this._findMapping(n,this._generatedMappings,"generatedLine","generatedColumn",Nt.compareByGeneratedPositionsDeflated,Nt.getArg(t,"bias",Wr.GREATEST_LOWER_BOUND));if(i>=0){var o=this._generatedMappings[i];if(o.generatedLine===n.generatedLine){var r=Nt.getArg(o,"source",null);r!==null&&(r=this._sources.at(r),r=Nt.computeSourceURL(this.sourceRoot,r,this._sourceMapURL));var u=Nt.getArg(o,"name",null);return u!==null&&(u=this._names.at(u)),{source:r,line:Nt.getArg(o,"originalLine",null),column:Nt.getArg(o,"originalColumn",null),name:u}}}return{source:null,line:null,column:null,name:null}};On.prototype.hasContentsOfAllSources=function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(t){return t==null}):!1};On.prototype.sourceContentFor=function(t,n){if(!this.sourcesContent)return null;var i=this._findSourceIndex(t);if(i>=0)return this.sourcesContent[i];var o=t;this.sourceRoot!=null&&(o=Nt.relative(this.sourceRoot,o));var r;if(this.sourceRoot!=null&&(r=Nt.urlParse(this.sourceRoot))){var u=o.replace(/^file:\/\//,"");if(r.scheme=="file"&&this._sources.has(u))return this.sourcesContent[this._sources.indexOf(u)];if((!r.path||r.path=="/")&&this._sources.has("/"+o))return this.sourcesContent[this._sources.indexOf("/"+o)]}if(n)return null;throw new Error('"'+o+'" is not in the SourceMap.')};On.prototype.generatedPositionFor=function(t){var n=Nt.getArg(t,"source");if(n=this._findSourceIndex(n),n<0)return{line:null,column:null,lastColumn:null};var i={source:n,originalLine:Nt.getArg(t,"line"),originalColumn:Nt.getArg(t,"column")},o=this._findMapping(i,this._originalMappings,"originalLine","originalColumn",Nt.compareByOriginalPositions,Nt.getArg(t,"bias",Wr.GREATEST_LOWER_BOUND));if(o>=0){var r=this._originalMappings[o];if(r.source===i.source)return{line:Nt.getArg(r,"generatedLine",null),column:Nt.getArg(r,"generatedColumn",null),lastColumn:Nt.getArg(r,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}};mp.BasicSourceMapConsumer=On;function ji(e,t){var n=e;typeof e=="string"&&(n=Nt.parseSourceMapInput(e));var i=Nt.getArg(n,"version"),o=Nt.getArg(n,"sections");if(i!=this._version)throw new Error("Unsupported version: "+i);this._sources=new ao,this._names=new ao;var r={line:-1,column:0};this._sections=o.map(function(u){if(u.url)throw new Error("Support for url field in sections not implemented.");var a=Nt.getArg(u,"offset"),m=Nt.getArg(a,"line"),d=Nt.getArg(a,"column");if(m<r.line||m===r.line&&d<r.column)throw new Error("Section offsets must be ordered and non-overlapping.");return r=a,{generatedOffset:{generatedLine:m+1,generatedColumn:d+1},consumer:new Wr(Nt.getArg(u,"map"),t)}})}ji.prototype=Object.create(Wr.prototype);ji.prototype.constructor=Wr;ji.prototype._version=3;Object.defineProperty(ji.prototype,"sources",{get:function(){for(var e=[],t=0;t<this._sections.length;t++)for(var n=0;n<this._sections[t].consumer.sources.length;n++)e.push(this._sections[t].consumer.sources[n]);return e}});ji.prototype.originalPositionFor=function(t){var n={generatedLine:Nt.getArg(t,"line"),generatedColumn:Nt.getArg(t,"column")},i=Mh.search(n,this._sections,function(r,u){var a=r.generatedLine-u.generatedOffset.generatedLine;return a||r.generatedColumn-u.generatedOffset.generatedColumn}),o=this._sections[i];return o?o.consumer.originalPositionFor({line:n.generatedLine-(o.generatedOffset.generatedLine-1),column:n.generatedColumn-(o.generatedOffset.generatedLine===n.generatedLine?o.generatedOffset.generatedColumn-1:0),bias:t.bias}):{source:null,line:null,column:null,name:null}};ji.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(t){return t.consumer.hasContentsOfAllSources()})};ji.prototype.sourceContentFor=function(t,n){for(var i=0;i<this._sections.length;i++){var o=this._sections[i],r=o.consumer.sourceContentFor(t,!0);if(r)return r}if(n)return null;throw new Error('"'+t+'" is not in the SourceMap.')};ji.prototype.generatedPositionFor=function(t){for(var n=0;n<this._sections.length;n++){var i=this._sections[n];if(i.consumer._findSourceIndex(Nt.getArg(t,"source"))!==-1){var o=i.consumer.generatedPositionFor(t);if(o){var r={line:o.line+(i.generatedOffset.generatedLine-1),column:o.column+(i.generatedOffset.generatedLine===o.line?i.generatedOffset.generatedColumn-1:0)};return r}}}return{line:null,column:null}};ji.prototype._parseMappings=function(t,n){this.__generatedMappings=[],this.__originalMappings=[];for(var i=0;i<this._sections.length;i++)for(var o=this._sections[i],r=o.consumer._generatedMappings,u=0;u<r.length;u++){var a=r[u],m=o.consumer._sources.at(a.source);m=Nt.computeSourceURL(o.consumer.sourceRoot,m,this._sourceMapURL),this._sources.add(m),m=this._sources.indexOf(m);var d=null;a.name&&(d=o.consumer._names.at(a.name),this._names.add(d),d=this._names.indexOf(d));var s={source:m,generatedLine:a.generatedLine+(o.generatedOffset.generatedLine-1),generatedColumn:a.generatedColumn+(o.generatedOffset.generatedLine===a.generatedLine?o.generatedOffset.generatedColumn-1:0),originalLine:a.originalLine,originalColumn:a.originalColumn,name:d};this.__generatedMappings.push(s),typeof s.originalLine=="number"&&this.__originalMappings.push(s)}xl(this.__generatedMappings,Nt.compareByGeneratedPositionsDeflated),xl(this.__originalMappings,Nt.compareByOriginalPositions)};mp.IndexedSourceMapConsumer=ji});var IE=me(DE=>{var vL=Nh().SourceMapGenerator,yp=so(),TL=/(\r?\n)/,EL=10,oo="$$$isSourceNode$$$";function si(e,t,n,i,o){this.children=[],this.sourceContents={},this.line=e??null,this.column=t??null,this.source=n??null,this.name=o??null,this[oo]=!0,i!=null&&this.add(i)}si.fromStringWithSourceMap=function(t,n,i){var o=new si,r=t.split(TL),u=0,a=function(){var f=h(),p=h()||"";return f+p;function h(){return u<r.length?r[u++]:void 0}},m=1,d=0,s=null;return n.eachMapping(function(f){if(s!==null)if(m<f.generatedLine)l(s,a()),m++,d=0;else{var p=r[u]||"",h=p.substr(0,f.generatedColumn-d);r[u]=p.substr(f.generatedColumn-d),d=f.generatedColumn,l(s,h),s=f;return}for(;m<f.generatedLine;)o.add(a()),m++;if(d<f.generatedColumn){var p=r[u]||"";o.add(p.substr(0,f.generatedColumn)),r[u]=p.substr(f.generatedColumn),d=f.generatedColumn}s=f},this),u<r.length&&(s&&l(s,a()),o.add(r.splice(u).join(""))),n.sources.forEach(function(f){var p=n.sourceContentFor(f);p!=null&&(i!=null&&(f=yp.join(i,f)),o.setSourceContent(f,p))}),o;function l(f,p){if(f===null||f.source===void 0)o.add(p);else{var h=i?yp.join(i,f.source):f.source;o.add(new si(f.originalLine,f.originalColumn,h,p,f.name))}}};si.prototype.add=function(t){if(Array.isArray(t))t.forEach(function(n){this.add(n)},this);else if(t[oo]||typeof t=="string")t&&this.children.push(t);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+t);return this};si.prototype.prepend=function(t){if(Array.isArray(t))for(var n=t.length-1;n>=0;n--)this.prepend(t[n]);else if(t[oo]||typeof t=="string")this.children.unshift(t);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+t);return this};si.prototype.walk=function(t){for(var n,i=0,o=this.children.length;i<o;i++)n=this.children[i],n[oo]?n.walk(t):n!==""&&t(n,{source:this.source,line:this.line,column:this.column,name:this.name})};si.prototype.join=function(t){var n,i,o=this.children.length;if(o>0){for(n=[],i=0;i<o-1;i++)n.push(this.children[i]),n.push(t);n.push(this.children[i]),this.children=n}return this};si.prototype.replaceRight=function(t,n){var i=this.children[this.children.length-1];return i[oo]?i.replaceRight(t,n):typeof i=="string"?this.children[this.children.length-1]=i.replace(t,n):this.children.push("".replace(t,n)),this};si.prototype.setSourceContent=function(t,n){this.sourceContents[yp.toSetString(t)]=n};si.prototype.walkSourceContents=function(t){for(var n=0,i=this.children.length;n<i;n++)this.children[n][oo]&&this.children[n].walkSourceContents(t);for(var o=Object.keys(this.sourceContents),n=0,i=o.length;n<i;n++)t(yp.fromSetString(o[n]),this.sourceContents[o[n]])};si.prototype.toString=function(){var t="";return this.walk(function(n){t+=n}),t};si.prototype.toStringWithSourceMap=function(t){var n={code:"",line:1,column:0},i=new vL(t),o=!1,r=null,u=null,a=null,m=null;return this.walk(function(d,s){n.code+=d,s.source!==null&&s.line!==null&&s.column!==null?((r!==s.source||u!==s.line||a!==s.column||m!==s.name)&&i.addMapping({source:s.source,original:{line:s.line,column:s.column},generated:{line:n.line,column:n.column},name:s.name}),r=s.source,u=s.line,a=s.column,m=s.name,o=!0):o&&(i.addMapping({generated:{line:n.line,column:n.column}}),r=null,o=!1);for(var l=0,f=d.length;l<f;l++)d.charCodeAt(l)===EL?(n.line++,n.column=0,l+1===f?(r=null,o=!1):o&&i.addMapping({source:s.source,original:{line:s.line,column:s.column},generated:{line:n.line,column:n.column},name:s.name})):n.column++}),this.walkSourceContents(function(d,s){i.setSourceContent(d,s)}),{code:n.code,map:i}};DE.SourceNode=si});var Rh=me(bp=>{bp.SourceMapGenerator=Nh().SourceMapGenerator;bp.SourceMapConsumer=kE().SourceMapConsumer;bp.SourceNode=IE().SourceNode});var vs=me(sn=>{"use strict";Object.defineProperty(sn,"__esModule",{value:!0});sn.isTrailingCommaEnabled=sn.getParentExportDeclaration=sn.isExportDeclaration=sn.fixFaultyLocations=sn.getTrueLoc=sn.composeSourceMaps=sn.copyPos=sn.comparePos=sn.getUnionOfKeys=sn.getOption=void 0;var Uh=(gr(),Er(br)),_l=Uh.__importDefault(yt("assert")),SL=Uh.__importStar(Qi()),gp=SL.namedTypes,NE=Uh.__importDefault(Rh()),OE=NE.default.SourceMapConsumer,xL=NE.default.SourceMapGenerator,FE=Object.prototype.hasOwnProperty;function _L(e,t,n){return e&&FE.call(e,t)?e[t]:n}sn.getOption=_L;function wL(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n={},i=e.length,o=0;o<i;++o)for(var r=Object.keys(e[o]),u=r.length,a=0;a<u;++a)n[r[a]]=!0;return n}sn.getUnionOfKeys=wL;function Zi(e,t){return e.line-t.line||e.column-t.column}sn.comparePos=Zi;function Ks(e){return{line:e.line,column:e.column}}sn.copyPos=Ks;function CL(e,t){if(e){if(!t)return e}else return t||null;var n=new OE(e),i=new OE(t),o=new xL({file:t.file,sourceRoot:t.sourceRoot}),r={};return i.eachMapping(function(u){var a=n.originalPositionFor({line:u.originalLine,column:u.originalColumn}),m=a.source;if(m!==null){o.addMapping({source:m,original:Ks(a),generated:{line:u.generatedLine,column:u.generatedColumn},name:u.name});var d=n.sourceContentFor(m);d&&!FE.call(r,m)&&(r[m]=d,o.setSourceContent(m,d))}}),o.toJSON()}sn.composeSourceMaps=CL;function AL(e,t){if(!e.loc)return null;var n={start:e.loc.start,end:e.loc.end};function i(o){Bh(n,o.loc)}return e.declaration&&e.declaration.decorators&&vp(e)&&e.declaration.decorators.forEach(i),Zi(n.start,n.end)<0&&(n.start=Ks(n.start),t.skipSpaces(n.start,!1,!0),Zi(n.start,n.end)<0&&(n.end=Ks(n.end),t.skipSpaces(n.end,!0,!0))),e.comments&&e.comments.forEach(i),n}sn.getTrueLoc=AL;function Bh(e,t){e&&t&&(Zi(t.start,e.start)<0&&(e.start=t.start),Zi(e.end,t.end)<0&&(e.end=t.end))}function PL(e,t){var n=e.loc;if(n&&(n.start.line<1&&(n.start.line=1),n.end.line<1&&(n.end.line=1)),e.type==="File"&&(n.start=t.firstPos(),n.end=t.lastPos()),kL(e,t),DL(e,t),n&&e.decorators)e.decorators.forEach(function(u){Bh(n,u.loc)});else if(e.declaration&&vp(e)){e.declaration.loc=null;var i=e.declaration.decorators;i&&i.forEach(function(u){Bh(n,u.loc)})}else if(gp.MethodDefinition&&gp.MethodDefinition.check(e)||gp.Property.check(e)&&(e.method||e.shorthand))e.value.loc=null,gp.FunctionExpression.check(e.value)&&(e.value.id=null);else if(e.type==="ObjectTypeProperty"){var o=e.loc,r=o&&o.end;r&&(r=Ks(r),t.prevPos(r)&&t.charAt(r)===","&&(r=t.skipSpaces(r,!0,!0))&&(o.end=r))}}sn.fixFaultyLocations=PL;function kL(e,t){if(e.type!=="ForStatement")return;function n(i){for(var o=i&&i.loc,r=o&&o.start,u=o&&Ks(o.end);r&&u&&Zi(r,u)<0&&(t.prevPos(u),t.charAt(u)===";");)o.end.line=u.line,o.end.column=u.column}n(e.init),n(e.test),n(e.update)}function DL(e,t){if(e.type==="TemplateLiteral"&&e.quasis.length!==0){if(e.loc){var n=Ks(e.loc.start);_l.default.strictEqual(t.charAt(n),"`"),_l.default.ok(t.nextPos(n));var i=e.quasis[0];Zi(i.loc.start,n)<0&&(i.loc.start=n);var o=Ks(e.loc.end);_l.default.ok(t.prevPos(o)),_l.default.strictEqual(t.charAt(o),"`");var r=e.quasis[e.quasis.length-1];Zi(o,r.loc.end)<0&&(r.loc.end=o)}e.expressions.forEach(function(u,a){var m=t.skipSpaces(u.loc.start,!0,!1);if(t.prevPos(m)&&t.charAt(m)==="{"&&t.prevPos(m)&&t.charAt(m)==="$"){var d=e.quasis[a];Zi(m,d.loc.end)<0&&(d.loc.end=m)}var s=t.skipSpaces(u.loc.end,!1,!1);if(t.charAt(s)==="}"){_l.default.ok(t.nextPos(s));var l=e.quasis[a+1];Zi(l.loc.start,s)<0&&(l.loc.start=s)}})}}function vp(e){if(e)switch(e.type){case"ExportDeclaration":case"ExportDefaultDeclaration":case"ExportDefaultSpecifier":case"DeclareExportDeclaration":case"ExportNamedDeclaration":case"ExportAllDeclaration":return!0}return!1}sn.isExportDeclaration=vp;function IL(e){var t=e.getParentNode();return e.getName()==="declaration"&&vp(t)?t:null}sn.getParentExportDeclaration=IL;function OL(e,t){var n=e.trailingComma;return typeof n=="object"?!!n[t]:!!n}sn.isTrailingCommaEnabled=OL});var Vh=me((wl,$h)=>{(function(t,n){typeof wl=="object"&&typeof $h=="object"?$h.exports=n():typeof define=="function"&&define.amd?define([],n):typeof wl=="object"?wl.esprima=n():t.esprima=n()})(wl,function(){return function(e){var t={};function n(i){if(t[i])return t[i].exports;var o=t[i]={exports:{},id:i,loaded:!1};return e[i].call(o.exports,o,o.exports,n),o.loaded=!0,o.exports}return n.m=e,n.c=t,n.p="",n(0)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(1),o=n(3),r=n(8),u=n(15);function a(f,p,h){var y=null,b=function(P,D){h&&h(P,D),y&&y.visit(P,D)},E=typeof h=="function"?b:null,v=!1;if(p){v=typeof p.comment=="boolean"&&p.comment;var S=typeof p.attachComment=="boolean"&&p.attachComment;(v||S)&&(y=new i.CommentHandler,y.attach=S,p.comment=!0,E=b)}var w=!1;p&&typeof p.sourceType=="string"&&(w=p.sourceType==="module");var A;p&&typeof p.jsx=="boolean"&&p.jsx?A=new o.JSXParser(f,p,E):A=new r.Parser(f,p,E);var x=w?A.parseModule():A.parseScript(),C=x;return v&&y&&(C.comments=y.comments),A.config.tokens&&(C.tokens=A.tokens),A.config.tolerant&&(C.errors=A.errorHandler.errors),C}t.parse=a;function m(f,p,h){var y=p||{};return y.sourceType="module",a(f,y,h)}t.parseModule=m;function d(f,p,h){var y=p||{};return y.sourceType="script",a(f,y,h)}t.parseScript=d;function s(f,p,h){var y=new u.Tokenizer(f,p),b;b=[];try{for(;;){var E=y.getNextToken();if(!E)break;h&&(E=h(E)),b.push(E)}}catch(v){y.errorHandler.tolerate(v)}return y.errorHandler.tolerant&&(b.errors=y.errors()),b}t.tokenize=s;var l=n(2);t.Syntax=l.Syntax,t.version="4.0.1"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(2),o=function(){function r(){this.attach=!1,this.comments=[],this.stack=[],this.leading=[],this.trailing=[]}return r.prototype.insertInnerComments=function(u,a){if(u.type===i.Syntax.BlockStatement&&u.body.length===0){for(var m=[],d=this.leading.length-1;d>=0;--d){var s=this.leading[d];a.end.offset>=s.start&&(m.unshift(s.comment),this.leading.splice(d,1),this.trailing.splice(d,1))}m.length&&(u.innerComments=m)}},r.prototype.findTrailingComments=function(u){var a=[];if(this.trailing.length>0){for(var m=this.trailing.length-1;m>=0;--m){var d=this.trailing[m];d.start>=u.end.offset&&a.unshift(d.comment)}return this.trailing.length=0,a}var s=this.stack[this.stack.length-1];if(s&&s.node.trailingComments){var l=s.node.trailingComments[0];l&&l.range[0]>=u.end.offset&&(a=s.node.trailingComments,delete s.node.trailingComments)}return a},r.prototype.findLeadingComments=function(u){for(var a=[],m;this.stack.length>0;){var d=this.stack[this.stack.length-1];if(d&&d.start>=u.start.offset)m=d.node,this.stack.pop();else break}if(m){for(var s=m.leadingComments?m.leadingComments.length:0,l=s-1;l>=0;--l){var f=m.leadingComments[l];f.range[1]<=u.start.offset&&(a.unshift(f),m.leadingComments.splice(l,1))}return m.leadingComments&&m.leadingComments.length===0&&delete m.leadingComments,a}for(var l=this.leading.length-1;l>=0;--l){var d=this.leading[l];d.start<=u.start.offset&&(a.unshift(d.comment),this.leading.splice(l,1))}return a},r.prototype.visitNode=function(u,a){if(!(u.type===i.Syntax.Program&&u.body.length>0)){this.insertInnerComments(u,a);var m=this.findTrailingComments(a),d=this.findLeadingComments(a);d.length>0&&(u.leadingComments=d),m.length>0&&(u.trailingComments=m),this.stack.push({node:u,start:a.start.offset})}},r.prototype.visitComment=function(u,a){var m=u.type[0]==="L"?"Line":"Block",d={type:m,value:u.value};if(u.range&&(d.range=u.range),u.loc&&(d.loc=u.loc),this.comments.push(d),this.attach){var s={comment:{type:m,value:u.value,range:[a.start.offset,a.end.offset]},start:a.start.offset};u.loc&&(s.comment.loc=u.loc),u.type=m,this.leading.push(s),this.trailing.push(s)}},r.prototype.visit=function(u,a){u.type==="LineComment"?this.visitComment(u,a):u.type==="BlockComment"?this.visitComment(u,a):this.attach&&this.visitNode(u,a)},r}();t.CommentHandler=o},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Syntax={AssignmentExpression:"AssignmentExpression",AssignmentPattern:"AssignmentPattern",ArrayExpression:"ArrayExpression",ArrayPattern:"ArrayPattern",ArrowFunctionExpression:"ArrowFunctionExpression",AwaitExpression:"AwaitExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ClassBody:"ClassBody",ClassDeclaration:"ClassDeclaration",ClassExpression:"ClassExpression",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DoWhileStatement:"DoWhileStatement",DebuggerStatement:"DebuggerStatement",EmptyStatement:"EmptyStatement",ExportAllDeclaration:"ExportAllDeclaration",ExportDefaultDeclaration:"ExportDefaultDeclaration",ExportNamedDeclaration:"ExportNamedDeclaration",ExportSpecifier:"ExportSpecifier",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForOfStatement:"ForOfStatement",ForInStatement:"ForInStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",Identifier:"Identifier",IfStatement:"IfStatement",ImportDeclaration:"ImportDeclaration",ImportDefaultSpecifier:"ImportDefaultSpecifier",ImportNamespaceSpecifier:"ImportNamespaceSpecifier",ImportSpecifier:"ImportSpecifier",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",MetaProperty:"MetaProperty",MethodDefinition:"MethodDefinition",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",Program:"Program",Property:"Property",RestElement:"RestElement",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SpreadElement:"SpreadElement",Super:"Super",SwitchCase:"SwitchCase",SwitchStatement:"SwitchStatement",TaggedTemplateExpression:"TaggedTemplateExpression",TemplateElement:"TemplateElement",TemplateLiteral:"TemplateLiteral",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement",YieldExpression:"YieldExpression"}},function(e,t,n){"use strict";var i=this&&this.__extends||function(){var p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(h,y){h.__proto__=y}||function(h,y){for(var b in y)y.hasOwnProperty(b)&&(h[b]=y[b])};return function(h,y){p(h,y);function b(){this.constructor=h}h.prototype=y===null?Object.create(y):(b.prototype=y.prototype,new b)}}();Object.defineProperty(t,"__esModule",{value:!0});var o=n(4),r=n(5),u=n(6),a=n(7),m=n(8),d=n(13),s=n(14);d.TokenName[100]="JSXIdentifier",d.TokenName[101]="JSXText";function l(p){var h;switch(p.type){case u.JSXSyntax.JSXIdentifier:var y=p;h=y.name;break;case u.JSXSyntax.JSXNamespacedName:var b=p;h=l(b.namespace)+":"+l(b.name);break;case u.JSXSyntax.JSXMemberExpression:var E=p;h=l(E.object)+"."+l(E.property);break;default:break}return h}var f=function(p){i(h,p);function h(y,b,E){return p.call(this,y,b,E)||this}return h.prototype.parsePrimaryExpression=function(){return this.match("<")?this.parseJSXRoot():p.prototype.parsePrimaryExpression.call(this)},h.prototype.startJSX=function(){this.scanner.index=this.startMarker.index,this.scanner.lineNumber=this.startMarker.line,this.scanner.lineStart=this.startMarker.index-this.startMarker.column},h.prototype.finishJSX=function(){this.nextToken()},h.prototype.reenterJSX=function(){this.startJSX(),this.expectJSX("}"),this.config.tokens&&this.tokens.pop()},h.prototype.createJSXNode=function(){return this.collectComments(),{index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}},h.prototype.createJSXChildNode=function(){return{index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}},h.prototype.scanXHTMLEntity=function(y){for(var b="&",E=!0,v=!1,S=!1,w=!1;!this.scanner.eof()&&E&&!v;){var A=this.scanner.source[this.scanner.index];if(A===y)break;if(v=A===";",b+=A,++this.scanner.index,!v)switch(b.length){case 2:S=A==="#";break;case 3:S&&(w=A==="x",E=w||o.Character.isDecimalDigit(A.charCodeAt(0)),S=S&&!w);break;default:E=E&&!(S&&!o.Character.isDecimalDigit(A.charCodeAt(0))),E=E&&!(w&&!o.Character.isHexDigit(A.charCodeAt(0)));break}}if(E&&v&&b.length>2){var x=b.substr(1,b.length-2);S&&x.length>1?b=String.fromCharCode(parseInt(x.substr(1),10)):w&&x.length>2?b=String.fromCharCode(parseInt("0"+x.substr(1),16)):!S&&!w&&s.XHTMLEntities[x]&&(b=s.XHTMLEntities[x])}return b},h.prototype.lexJSX=function(){var y=this.scanner.source.charCodeAt(this.scanner.index);if(y===60||y===62||y===47||y===58||y===61||y===123||y===125){var b=this.scanner.source[this.scanner.index++];return{type:7,value:b,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:this.scanner.index-1,end:this.scanner.index}}if(y===34||y===39){for(var E=this.scanner.index,v=this.scanner.source[this.scanner.index++],S="";!this.scanner.eof();){var w=this.scanner.source[this.scanner.index++];if(w===v)break;w==="&"?S+=this.scanXHTMLEntity(v):S+=w}return{type:8,value:S,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:E,end:this.scanner.index}}if(y===46){var A=this.scanner.source.charCodeAt(this.scanner.index+1),x=this.scanner.source.charCodeAt(this.scanner.index+2),b=A===46&&x===46?"...":".",E=this.scanner.index;return this.scanner.index+=b.length,{type:7,value:b,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:E,end:this.scanner.index}}if(y===96)return{type:10,value:"",lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:this.scanner.index,end:this.scanner.index};if(o.Character.isIdentifierStart(y)&&y!==92){var E=this.scanner.index;for(++this.scanner.index;!this.scanner.eof();){var w=this.scanner.source.charCodeAt(this.scanner.index);if(o.Character.isIdentifierPart(w)&&w!==92)++this.scanner.index;else if(w===45)++this.scanner.index;else break}var C=this.scanner.source.slice(E,this.scanner.index);return{type:100,value:C,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:E,end:this.scanner.index}}return this.scanner.lex()},h.prototype.nextJSXToken=function(){this.collectComments(),this.startMarker.index=this.scanner.index,this.startMarker.line=this.scanner.lineNumber,this.startMarker.column=this.scanner.index-this.scanner.lineStart;var y=this.lexJSX();return this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart,this.config.tokens&&this.tokens.push(this.convertToken(y)),y},h.prototype.nextJSXText=function(){this.startMarker.index=this.scanner.index,this.startMarker.line=this.scanner.lineNumber,this.startMarker.column=this.scanner.index-this.scanner.lineStart;for(var y=this.scanner.index,b="";!this.scanner.eof();){var E=this.scanner.source[this.scanner.index];if(E==="{"||E==="<")break;++this.scanner.index,b+=E,o.Character.isLineTerminator(E.charCodeAt(0))&&(++this.scanner.lineNumber,E==="\r"&&this.scanner.source[this.scanner.index]===`
|
|
`&&++this.scanner.index,this.scanner.lineStart=this.scanner.index)}this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart;var v={type:101,value:b,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:y,end:this.scanner.index};return b.length>0&&this.config.tokens&&this.tokens.push(this.convertToken(v)),v},h.prototype.peekJSXToken=function(){var y=this.scanner.saveState();this.scanner.scanComments();var b=this.lexJSX();return this.scanner.restoreState(y),b},h.prototype.expectJSX=function(y){var b=this.nextJSXToken();(b.type!==7||b.value!==y)&&this.throwUnexpectedToken(b)},h.prototype.matchJSX=function(y){var b=this.peekJSXToken();return b.type===7&&b.value===y},h.prototype.parseJSXIdentifier=function(){var y=this.createJSXNode(),b=this.nextJSXToken();return b.type!==100&&this.throwUnexpectedToken(b),this.finalize(y,new r.JSXIdentifier(b.value))},h.prototype.parseJSXElementName=function(){var y=this.createJSXNode(),b=this.parseJSXIdentifier();if(this.matchJSX(":")){var E=b;this.expectJSX(":");var v=this.parseJSXIdentifier();b=this.finalize(y,new r.JSXNamespacedName(E,v))}else if(this.matchJSX("."))for(;this.matchJSX(".");){var S=b;this.expectJSX(".");var w=this.parseJSXIdentifier();b=this.finalize(y,new r.JSXMemberExpression(S,w))}return b},h.prototype.parseJSXAttributeName=function(){var y=this.createJSXNode(),b,E=this.parseJSXIdentifier();if(this.matchJSX(":")){var v=E;this.expectJSX(":");var S=this.parseJSXIdentifier();b=this.finalize(y,new r.JSXNamespacedName(v,S))}else b=E;return b},h.prototype.parseJSXStringLiteralAttribute=function(){var y=this.createJSXNode(),b=this.nextJSXToken();b.type!==8&&this.throwUnexpectedToken(b);var E=this.getTokenRaw(b);return this.finalize(y,new a.Literal(b.value,E))},h.prototype.parseJSXExpressionAttribute=function(){var y=this.createJSXNode();this.expectJSX("{"),this.finishJSX(),this.match("}")&&this.tolerateError("JSX attributes must only be assigned a non-empty expression");var b=this.parseAssignmentExpression();return this.reenterJSX(),this.finalize(y,new r.JSXExpressionContainer(b))},h.prototype.parseJSXAttributeValue=function(){return this.matchJSX("{")?this.parseJSXExpressionAttribute():this.matchJSX("<")?this.parseJSXElement():this.parseJSXStringLiteralAttribute()},h.prototype.parseJSXNameValueAttribute=function(){var y=this.createJSXNode(),b=this.parseJSXAttributeName(),E=null;return this.matchJSX("=")&&(this.expectJSX("="),E=this.parseJSXAttributeValue()),this.finalize(y,new r.JSXAttribute(b,E))},h.prototype.parseJSXSpreadAttribute=function(){var y=this.createJSXNode();this.expectJSX("{"),this.expectJSX("..."),this.finishJSX();var b=this.parseAssignmentExpression();return this.reenterJSX(),this.finalize(y,new r.JSXSpreadAttribute(b))},h.prototype.parseJSXAttributes=function(){for(var y=[];!this.matchJSX("/")&&!this.matchJSX(">");){var b=this.matchJSX("{")?this.parseJSXSpreadAttribute():this.parseJSXNameValueAttribute();y.push(b)}return y},h.prototype.parseJSXOpeningElement=function(){var y=this.createJSXNode();this.expectJSX("<");var b=this.parseJSXElementName(),E=this.parseJSXAttributes(),v=this.matchJSX("/");return v&&this.expectJSX("/"),this.expectJSX(">"),this.finalize(y,new r.JSXOpeningElement(b,v,E))},h.prototype.parseJSXBoundaryElement=function(){var y=this.createJSXNode();if(this.expectJSX("<"),this.matchJSX("/")){this.expectJSX("/");var b=this.parseJSXElementName();return this.expectJSX(">"),this.finalize(y,new r.JSXClosingElement(b))}var E=this.parseJSXElementName(),v=this.parseJSXAttributes(),S=this.matchJSX("/");return S&&this.expectJSX("/"),this.expectJSX(">"),this.finalize(y,new r.JSXOpeningElement(E,S,v))},h.prototype.parseJSXEmptyExpression=function(){var y=this.createJSXChildNode();return this.collectComments(),this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart,this.finalize(y,new r.JSXEmptyExpression)},h.prototype.parseJSXExpressionContainer=function(){var y=this.createJSXNode();this.expectJSX("{");var b;return this.matchJSX("}")?(b=this.parseJSXEmptyExpression(),this.expectJSX("}")):(this.finishJSX(),b=this.parseAssignmentExpression(),this.reenterJSX()),this.finalize(y,new r.JSXExpressionContainer(b))},h.prototype.parseJSXChildren=function(){for(var y=[];!this.scanner.eof();){var b=this.createJSXChildNode(),E=this.nextJSXText();if(E.start<E.end){var v=this.getTokenRaw(E),S=this.finalize(b,new r.JSXText(E.value,v));y.push(S)}if(this.scanner.source[this.scanner.index]==="{"){var w=this.parseJSXExpressionContainer();y.push(w)}else break}return y},h.prototype.parseComplexJSXElement=function(y){for(var b=[];!this.scanner.eof();){y.children=y.children.concat(this.parseJSXChildren());var E=this.createJSXChildNode(),v=this.parseJSXBoundaryElement();if(v.type===u.JSXSyntax.JSXOpeningElement){var S=v;if(S.selfClosing){var w=this.finalize(E,new r.JSXElement(S,[],null));y.children.push(w)}else b.push(y),y={node:E,opening:S,closing:null,children:[]}}if(v.type===u.JSXSyntax.JSXClosingElement){y.closing=v;var A=l(y.opening.name),x=l(y.closing.name);if(A!==x&&this.tolerateError("Expected corresponding JSX closing tag for %0",A),b.length>0){var w=this.finalize(y.node,new r.JSXElement(y.opening,y.children,y.closing));y=b[b.length-1],y.children.push(w),b.pop()}else break}}return y},h.prototype.parseJSXElement=function(){var y=this.createJSXNode(),b=this.parseJSXOpeningElement(),E=[],v=null;if(!b.selfClosing){var S=this.parseComplexJSXElement({node:y,opening:b,closing:v,children:E});E=S.children,v=S.closing}return this.finalize(y,new r.JSXElement(b,E,v))},h.prototype.parseJSXRoot=function(){this.config.tokens&&this.tokens.pop(),this.startJSX();var y=this.parseJSXElement();return this.finishJSX(),y},h.prototype.isStartOfExpression=function(){return p.prototype.isStartOfExpression.call(this)||this.match("<")},h}(m.Parser);t.JSXParser=f},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AD\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]/,NonAsciiIdentifierPart:/[\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFC-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AD\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C4\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDEC0-\uDEF8]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/};t.Character={fromCodePoint:function(i){return i<65536?String.fromCharCode(i):String.fromCharCode(55296+(i-65536>>10))+String.fromCharCode(56320+(i-65536&1023))},isWhiteSpace:function(i){return i===32||i===9||i===11||i===12||i===160||i>=5760&&[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279].indexOf(i)>=0},isLineTerminator:function(i){return i===10||i===13||i===8232||i===8233},isIdentifierStart:function(i){return i===36||i===95||i>=65&&i<=90||i>=97&&i<=122||i===92||i>=128&&n.NonAsciiIdentifierStart.test(t.Character.fromCodePoint(i))},isIdentifierPart:function(i){return i===36||i===95||i>=65&&i<=90||i>=97&&i<=122||i>=48&&i<=57||i===92||i>=128&&n.NonAsciiIdentifierPart.test(t.Character.fromCodePoint(i))},isDecimalDigit:function(i){return i>=48&&i<=57},isHexDigit:function(i){return i>=48&&i<=57||i>=65&&i<=70||i>=97&&i<=102},isOctalDigit:function(i){return i>=48&&i<=55}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(6),o=function(){function y(b){this.type=i.JSXSyntax.JSXClosingElement,this.name=b}return y}();t.JSXClosingElement=o;var r=function(){function y(b,E,v){this.type=i.JSXSyntax.JSXElement,this.openingElement=b,this.children=E,this.closingElement=v}return y}();t.JSXElement=r;var u=function(){function y(){this.type=i.JSXSyntax.JSXEmptyExpression}return y}();t.JSXEmptyExpression=u;var a=function(){function y(b){this.type=i.JSXSyntax.JSXExpressionContainer,this.expression=b}return y}();t.JSXExpressionContainer=a;var m=function(){function y(b){this.type=i.JSXSyntax.JSXIdentifier,this.name=b}return y}();t.JSXIdentifier=m;var d=function(){function y(b,E){this.type=i.JSXSyntax.JSXMemberExpression,this.object=b,this.property=E}return y}();t.JSXMemberExpression=d;var s=function(){function y(b,E){this.type=i.JSXSyntax.JSXAttribute,this.name=b,this.value=E}return y}();t.JSXAttribute=s;var l=function(){function y(b,E){this.type=i.JSXSyntax.JSXNamespacedName,this.namespace=b,this.name=E}return y}();t.JSXNamespacedName=l;var f=function(){function y(b,E,v){this.type=i.JSXSyntax.JSXOpeningElement,this.name=b,this.selfClosing=E,this.attributes=v}return y}();t.JSXOpeningElement=f;var p=function(){function y(b){this.type=i.JSXSyntax.JSXSpreadAttribute,this.argument=b}return y}();t.JSXSpreadAttribute=p;var h=function(){function y(b,E){this.type=i.JSXSyntax.JSXText,this.value=b,this.raw=E}return y}();t.JSXText=h},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.JSXSyntax={JSXAttribute:"JSXAttribute",JSXClosingElement:"JSXClosingElement",JSXElement:"JSXElement",JSXEmptyExpression:"JSXEmptyExpression",JSXExpressionContainer:"JSXExpressionContainer",JSXIdentifier:"JSXIdentifier",JSXMemberExpression:"JSXMemberExpression",JSXNamespacedName:"JSXNamespacedName",JSXOpeningElement:"JSXOpeningElement",JSXSpreadAttribute:"JSXSpreadAttribute",JSXText:"JSXText"}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(2),o=function(){function Ce(re){this.type=i.Syntax.ArrayExpression,this.elements=re}return Ce}();t.ArrayExpression=o;var r=function(){function Ce(re){this.type=i.Syntax.ArrayPattern,this.elements=re}return Ce}();t.ArrayPattern=r;var u=function(){function Ce(re,ie,Ne){this.type=i.Syntax.ArrowFunctionExpression,this.id=null,this.params=re,this.body=ie,this.generator=!1,this.expression=Ne,this.async=!1}return Ce}();t.ArrowFunctionExpression=u;var a=function(){function Ce(re,ie,Ne){this.type=i.Syntax.AssignmentExpression,this.operator=re,this.left=ie,this.right=Ne}return Ce}();t.AssignmentExpression=a;var m=function(){function Ce(re,ie){this.type=i.Syntax.AssignmentPattern,this.left=re,this.right=ie}return Ce}();t.AssignmentPattern=m;var d=function(){function Ce(re,ie,Ne){this.type=i.Syntax.ArrowFunctionExpression,this.id=null,this.params=re,this.body=ie,this.generator=!1,this.expression=Ne,this.async=!0}return Ce}();t.AsyncArrowFunctionExpression=d;var s=function(){function Ce(re,ie,Ne){this.type=i.Syntax.FunctionDeclaration,this.id=re,this.params=ie,this.body=Ne,this.generator=!1,this.expression=!1,this.async=!0}return Ce}();t.AsyncFunctionDeclaration=s;var l=function(){function Ce(re,ie,Ne){this.type=i.Syntax.FunctionExpression,this.id=re,this.params=ie,this.body=Ne,this.generator=!1,this.expression=!1,this.async=!0}return Ce}();t.AsyncFunctionExpression=l;var f=function(){function Ce(re){this.type=i.Syntax.AwaitExpression,this.argument=re}return Ce}();t.AwaitExpression=f;var p=function(){function Ce(re,ie,Ne){var Be=re==="||"||re==="&&";this.type=Be?i.Syntax.LogicalExpression:i.Syntax.BinaryExpression,this.operator=re,this.left=ie,this.right=Ne}return Ce}();t.BinaryExpression=p;var h=function(){function Ce(re){this.type=i.Syntax.BlockStatement,this.body=re}return Ce}();t.BlockStatement=h;var y=function(){function Ce(re){this.type=i.Syntax.BreakStatement,this.label=re}return Ce}();t.BreakStatement=y;var b=function(){function Ce(re,ie){this.type=i.Syntax.CallExpression,this.callee=re,this.arguments=ie}return Ce}();t.CallExpression=b;var E=function(){function Ce(re,ie){this.type=i.Syntax.CatchClause,this.param=re,this.body=ie}return Ce}();t.CatchClause=E;var v=function(){function Ce(re){this.type=i.Syntax.ClassBody,this.body=re}return Ce}();t.ClassBody=v;var S=function(){function Ce(re,ie,Ne){this.type=i.Syntax.ClassDeclaration,this.id=re,this.superClass=ie,this.body=Ne}return Ce}();t.ClassDeclaration=S;var w=function(){function Ce(re,ie,Ne){this.type=i.Syntax.ClassExpression,this.id=re,this.superClass=ie,this.body=Ne}return Ce}();t.ClassExpression=w;var A=function(){function Ce(re,ie){this.type=i.Syntax.MemberExpression,this.computed=!0,this.object=re,this.property=ie}return Ce}();t.ComputedMemberExpression=A;var x=function(){function Ce(re,ie,Ne){this.type=i.Syntax.ConditionalExpression,this.test=re,this.consequent=ie,this.alternate=Ne}return Ce}();t.ConditionalExpression=x;var C=function(){function Ce(re){this.type=i.Syntax.ContinueStatement,this.label=re}return Ce}();t.ContinueStatement=C;var P=function(){function Ce(){this.type=i.Syntax.DebuggerStatement}return Ce}();t.DebuggerStatement=P;var D=function(){function Ce(re,ie){this.type=i.Syntax.ExpressionStatement,this.expression=re,this.directive=ie}return Ce}();t.Directive=D;var L=function(){function Ce(re,ie){this.type=i.Syntax.DoWhileStatement,this.body=re,this.test=ie}return Ce}();t.DoWhileStatement=L;var I=function(){function Ce(){this.type=i.Syntax.EmptyStatement}return Ce}();t.EmptyStatement=I;var j=function(){function Ce(re){this.type=i.Syntax.ExportAllDeclaration,this.source=re}return Ce}();t.ExportAllDeclaration=j;var M=function(){function Ce(re){this.type=i.Syntax.ExportDefaultDeclaration,this.declaration=re}return Ce}();t.ExportDefaultDeclaration=M;var R=function(){function Ce(re,ie,Ne){this.type=i.Syntax.ExportNamedDeclaration,this.declaration=re,this.specifiers=ie,this.source=Ne}return Ce}();t.ExportNamedDeclaration=R;var z=function(){function Ce(re,ie){this.type=i.Syntax.ExportSpecifier,this.exported=ie,this.local=re}return Ce}();t.ExportSpecifier=z;var Y=function(){function Ce(re){this.type=i.Syntax.ExpressionStatement,this.expression=re}return Ce}();t.ExpressionStatement=Y;var $=function(){function Ce(re,ie,Ne){this.type=i.Syntax.ForInStatement,this.left=re,this.right=ie,this.body=Ne,this.each=!1}return Ce}();t.ForInStatement=$;var G=function(){function Ce(re,ie,Ne){this.type=i.Syntax.ForOfStatement,this.left=re,this.right=ie,this.body=Ne}return Ce}();t.ForOfStatement=G;var U=function(){function Ce(re,ie,Ne,Be){this.type=i.Syntax.ForStatement,this.init=re,this.test=ie,this.update=Ne,this.body=Be}return Ce}();t.ForStatement=U;var B=function(){function Ce(re,ie,Ne,Be){this.type=i.Syntax.FunctionDeclaration,this.id=re,this.params=ie,this.body=Ne,this.generator=Be,this.expression=!1,this.async=!1}return Ce}();t.FunctionDeclaration=B;var N=function(){function Ce(re,ie,Ne,Be){this.type=i.Syntax.FunctionExpression,this.id=re,this.params=ie,this.body=Ne,this.generator=Be,this.expression=!1,this.async=!1}return Ce}();t.FunctionExpression=N;var X=function(){function Ce(re){this.type=i.Syntax.Identifier,this.name=re}return Ce}();t.Identifier=X;var H=function(){function Ce(re,ie,Ne){this.type=i.Syntax.IfStatement,this.test=re,this.consequent=ie,this.alternate=Ne}return Ce}();t.IfStatement=H;var F=function(){function Ce(re,ie){this.type=i.Syntax.ImportDeclaration,this.specifiers=re,this.source=ie}return Ce}();t.ImportDeclaration=F;var W=function(){function Ce(re){this.type=i.Syntax.ImportDefaultSpecifier,this.local=re}return Ce}();t.ImportDefaultSpecifier=W;var V=function(){function Ce(re){this.type=i.Syntax.ImportNamespaceSpecifier,this.local=re}return Ce}();t.ImportNamespaceSpecifier=V;var Q=function(){function Ce(re,ie){this.type=i.Syntax.ImportSpecifier,this.local=re,this.imported=ie}return Ce}();t.ImportSpecifier=Q;var ne=function(){function Ce(re,ie){this.type=i.Syntax.LabeledStatement,this.label=re,this.body=ie}return Ce}();t.LabeledStatement=ne;var ue=function(){function Ce(re,ie){this.type=i.Syntax.Literal,this.value=re,this.raw=ie}return Ce}();t.Literal=ue;var de=function(){function Ce(re,ie){this.type=i.Syntax.MetaProperty,this.meta=re,this.property=ie}return Ce}();t.MetaProperty=de;var Ae=function(){function Ce(re,ie,Ne,Be,rt){this.type=i.Syntax.MethodDefinition,this.key=re,this.computed=ie,this.value=Ne,this.kind=Be,this.static=rt}return Ce}();t.MethodDefinition=Ae;var Oe=function(){function Ce(re){this.type=i.Syntax.Program,this.body=re,this.sourceType="module"}return Ce}();t.Module=Oe;var Me=function(){function Ce(re,ie){this.type=i.Syntax.NewExpression,this.callee=re,this.arguments=ie}return Ce}();t.NewExpression=Me;var ae=function(){function Ce(re){this.type=i.Syntax.ObjectExpression,this.properties=re}return Ce}();t.ObjectExpression=ae;var se=function(){function Ce(re){this.type=i.Syntax.ObjectPattern,this.properties=re}return Ce}();t.ObjectPattern=se;var ye=function(){function Ce(re,ie,Ne,Be,rt,ot){this.type=i.Syntax.Property,this.key=ie,this.computed=Ne,this.value=Be,this.kind=re,this.method=rt,this.shorthand=ot}return Ce}();t.Property=ye;var be=function(){function Ce(re,ie,Ne,Be){this.type=i.Syntax.Literal,this.value=re,this.raw=ie,this.regex={pattern:Ne,flags:Be}}return Ce}();t.RegexLiteral=be;var Ee=function(){function Ce(re){this.type=i.Syntax.RestElement,this.argument=re}return Ce}();t.RestElement=Ee;var oe=function(){function Ce(re){this.type=i.Syntax.ReturnStatement,this.argument=re}return Ce}();t.ReturnStatement=oe;var J=function(){function Ce(re){this.type=i.Syntax.Program,this.body=re,this.sourceType="script"}return Ce}();t.Script=J;var De=function(){function Ce(re){this.type=i.Syntax.SequenceExpression,this.expressions=re}return Ce}();t.SequenceExpression=De;var Ke=function(){function Ce(re){this.type=i.Syntax.SpreadElement,this.argument=re}return Ce}();t.SpreadElement=Ke;var ke=function(){function Ce(re,ie){this.type=i.Syntax.MemberExpression,this.computed=!1,this.object=re,this.property=ie}return Ce}();t.StaticMemberExpression=ke;var Qe=function(){function Ce(){this.type=i.Syntax.Super}return Ce}();t.Super=Qe;var pt=function(){function Ce(re,ie){this.type=i.Syntax.SwitchCase,this.test=re,this.consequent=ie}return Ce}();t.SwitchCase=pt;var dt=function(){function Ce(re,ie){this.type=i.Syntax.SwitchStatement,this.discriminant=re,this.cases=ie}return Ce}();t.SwitchStatement=dt;var Ue=function(){function Ce(re,ie){this.type=i.Syntax.TaggedTemplateExpression,this.tag=re,this.quasi=ie}return Ce}();t.TaggedTemplateExpression=Ue;var ce=function(){function Ce(re,ie){this.type=i.Syntax.TemplateElement,this.value=re,this.tail=ie}return Ce}();t.TemplateElement=ce;var xe=function(){function Ce(re,ie){this.type=i.Syntax.TemplateLiteral,this.quasis=re,this.expressions=ie}return Ce}();t.TemplateLiteral=xe;var he=function(){function Ce(){this.type=i.Syntax.ThisExpression}return Ce}();t.ThisExpression=he;var ve=function(){function Ce(re){this.type=i.Syntax.ThrowStatement,this.argument=re}return Ce}();t.ThrowStatement=ve;var et=function(){function Ce(re,ie,Ne){this.type=i.Syntax.TryStatement,this.block=re,this.handler=ie,this.finalizer=Ne}return Ce}();t.TryStatement=et;var ut=function(){function Ce(re,ie){this.type=i.Syntax.UnaryExpression,this.operator=re,this.argument=ie,this.prefix=!0}return Ce}();t.UnaryExpression=ut;var Kt=function(){function Ce(re,ie,Ne){this.type=i.Syntax.UpdateExpression,this.operator=re,this.argument=ie,this.prefix=Ne}return Ce}();t.UpdateExpression=Kt;var zt=function(){function Ce(re,ie){this.type=i.Syntax.VariableDeclaration,this.declarations=re,this.kind=ie}return Ce}();t.VariableDeclaration=zt;var Zt=function(){function Ce(re,ie){this.type=i.Syntax.VariableDeclarator,this.id=re,this.init=ie}return Ce}();t.VariableDeclarator=Zt;var Ar=function(){function Ce(re,ie){this.type=i.Syntax.WhileStatement,this.test=re,this.body=ie}return Ce}();t.WhileStatement=Ar;var er=function(){function Ce(re,ie){this.type=i.Syntax.WithStatement,this.object=re,this.body=ie}return Ce}();t.WithStatement=er;var nt=function(){function Ce(re,ie){this.type=i.Syntax.YieldExpression,this.argument=re,this.delegate=ie}return Ce}();t.YieldExpression=nt},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(9),o=n(10),r=n(11),u=n(7),a=n(12),m=n(2),d=n(13),s="ArrowParameterPlaceHolder",l=function(){function f(p,h,y){h===void 0&&(h={}),this.config={range:typeof h.range=="boolean"&&h.range,loc:typeof h.loc=="boolean"&&h.loc,source:null,tokens:typeof h.tokens=="boolean"&&h.tokens,comment:typeof h.comment=="boolean"&&h.comment,tolerant:typeof h.tolerant=="boolean"&&h.tolerant},this.config.loc&&h.source&&h.source!==null&&(this.config.source=String(h.source)),this.delegate=y,this.errorHandler=new o.ErrorHandler,this.errorHandler.tolerant=this.config.tolerant,this.scanner=new a.Scanner(p,this.errorHandler),this.scanner.trackComment=this.config.comment,this.operatorPrecedence={")":0,";":0,",":0,"=":0,"]":0,"||":1,"&&":2,"|":3,"^":4,"&":5,"==":6,"!=":6,"===":6,"!==":6,"<":7,">":7,"<=":7,">=":7,"<<":8,">>":8,">>>":8,"+":9,"-":9,"*":11,"/":11,"%":11},this.lookahead={type:2,value:"",lineNumber:this.scanner.lineNumber,lineStart:0,start:0,end:0},this.hasLineTerminator=!1,this.context={isModule:!1,await:!1,allowIn:!0,allowStrictDirective:!0,allowYield:!0,firstCoverInitializedNameError:null,isAssignmentTarget:!1,isBindingElement:!1,inFunctionBody:!1,inIteration:!1,inSwitch:!1,labelSet:{},strict:!1},this.tokens=[],this.startMarker={index:0,line:this.scanner.lineNumber,column:0},this.lastMarker={index:0,line:this.scanner.lineNumber,column:0},this.nextToken(),this.lastMarker={index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}}return f.prototype.throwError=function(p){for(var h=[],y=1;y<arguments.length;y++)h[y-1]=arguments[y];var b=Array.prototype.slice.call(arguments,1),E=p.replace(/%(\d)/g,function(A,x){return i.assert(x<b.length,"Message reference must be in range"),b[x]}),v=this.lastMarker.index,S=this.lastMarker.line,w=this.lastMarker.column+1;throw this.errorHandler.createError(v,S,w,E)},f.prototype.tolerateError=function(p){for(var h=[],y=1;y<arguments.length;y++)h[y-1]=arguments[y];var b=Array.prototype.slice.call(arguments,1),E=p.replace(/%(\d)/g,function(A,x){return i.assert(x<b.length,"Message reference must be in range"),b[x]}),v=this.lastMarker.index,S=this.scanner.lineNumber,w=this.lastMarker.column+1;this.errorHandler.tolerateError(v,S,w,E)},f.prototype.unexpectedTokenError=function(p,h){var y=h||r.Messages.UnexpectedToken,b;if(p?(h||(y=p.type===2?r.Messages.UnexpectedEOS:p.type===3?r.Messages.UnexpectedIdentifier:p.type===6?r.Messages.UnexpectedNumber:p.type===8?r.Messages.UnexpectedString:p.type===10?r.Messages.UnexpectedTemplate:r.Messages.UnexpectedToken,p.type===4&&(this.scanner.isFutureReservedWord(p.value)?y=r.Messages.UnexpectedReserved:this.context.strict&&this.scanner.isStrictModeReservedWord(p.value)&&(y=r.Messages.StrictReservedWord))),b=p.value):b="ILLEGAL",y=y.replace("%0",b),p&&typeof p.lineNumber=="number"){var E=p.start,v=p.lineNumber,S=this.lastMarker.index-this.lastMarker.column,w=p.start-S+1;return this.errorHandler.createError(E,v,w,y)}else{var E=this.lastMarker.index,v=this.lastMarker.line,w=this.lastMarker.column+1;return this.errorHandler.createError(E,v,w,y)}},f.prototype.throwUnexpectedToken=function(p,h){throw this.unexpectedTokenError(p,h)},f.prototype.tolerateUnexpectedToken=function(p,h){this.errorHandler.tolerate(this.unexpectedTokenError(p,h))},f.prototype.collectComments=function(){if(!this.config.comment)this.scanner.scanComments();else{var p=this.scanner.scanComments();if(p.length>0&&this.delegate)for(var h=0;h<p.length;++h){var y=p[h],b=void 0;b={type:y.multiLine?"BlockComment":"LineComment",value:this.scanner.source.slice(y.slice[0],y.slice[1])},this.config.range&&(b.range=y.range),this.config.loc&&(b.loc=y.loc);var E={start:{line:y.loc.start.line,column:y.loc.start.column,offset:y.range[0]},end:{line:y.loc.end.line,column:y.loc.end.column,offset:y.range[1]}};this.delegate(b,E)}}},f.prototype.getTokenRaw=function(p){return this.scanner.source.slice(p.start,p.end)},f.prototype.convertToken=function(p){var h={type:d.TokenName[p.type],value:this.getTokenRaw(p)};if(this.config.range&&(h.range=[p.start,p.end]),this.config.loc&&(h.loc={start:{line:this.startMarker.line,column:this.startMarker.column},end:{line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}}),p.type===9){var y=p.pattern,b=p.flags;h.regex={pattern:y,flags:b}}return h},f.prototype.nextToken=function(){var p=this.lookahead;this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart,this.collectComments(),this.scanner.index!==this.startMarker.index&&(this.startMarker.index=this.scanner.index,this.startMarker.line=this.scanner.lineNumber,this.startMarker.column=this.scanner.index-this.scanner.lineStart);var h=this.scanner.lex();return this.hasLineTerminator=p.lineNumber!==h.lineNumber,h&&this.context.strict&&h.type===3&&this.scanner.isStrictModeReservedWord(h.value)&&(h.type=4),this.lookahead=h,this.config.tokens&&h.type!==2&&this.tokens.push(this.convertToken(h)),p},f.prototype.nextRegexToken=function(){this.collectComments();var p=this.scanner.scanRegExp();return this.config.tokens&&(this.tokens.pop(),this.tokens.push(this.convertToken(p))),this.lookahead=p,this.nextToken(),p},f.prototype.createNode=function(){return{index:this.startMarker.index,line:this.startMarker.line,column:this.startMarker.column}},f.prototype.startNode=function(p,h){h===void 0&&(h=0);var y=p.start-p.lineStart,b=p.lineNumber;return y<0&&(y+=h,b--),{index:p.start,line:b,column:y}},f.prototype.finalize=function(p,h){if(this.config.range&&(h.range=[p.index,this.lastMarker.index]),this.config.loc&&(h.loc={start:{line:p.line,column:p.column},end:{line:this.lastMarker.line,column:this.lastMarker.column}},this.config.source&&(h.loc.source=this.config.source)),this.delegate){var y={start:{line:p.line,column:p.column,offset:p.index},end:{line:this.lastMarker.line,column:this.lastMarker.column,offset:this.lastMarker.index}};this.delegate(h,y)}return h},f.prototype.expect=function(p){var h=this.nextToken();(h.type!==7||h.value!==p)&&this.throwUnexpectedToken(h)},f.prototype.expectCommaSeparator=function(){if(this.config.tolerant){var p=this.lookahead;p.type===7&&p.value===","?this.nextToken():p.type===7&&p.value===";"?(this.nextToken(),this.tolerateUnexpectedToken(p)):this.tolerateUnexpectedToken(p,r.Messages.UnexpectedToken)}else this.expect(",")},f.prototype.expectKeyword=function(p){var h=this.nextToken();(h.type!==4||h.value!==p)&&this.throwUnexpectedToken(h)},f.prototype.match=function(p){return this.lookahead.type===7&&this.lookahead.value===p},f.prototype.matchKeyword=function(p){return this.lookahead.type===4&&this.lookahead.value===p},f.prototype.matchContextualKeyword=function(p){return this.lookahead.type===3&&this.lookahead.value===p},f.prototype.matchAssign=function(){if(this.lookahead.type!==7)return!1;var p=this.lookahead.value;return p==="="||p==="*="||p==="**="||p==="/="||p==="%="||p==="+="||p==="-="||p==="<<="||p===">>="||p===">>>="||p==="&="||p==="^="||p==="|="},f.prototype.isolateCoverGrammar=function(p){var h=this.context.isBindingElement,y=this.context.isAssignmentTarget,b=this.context.firstCoverInitializedNameError;this.context.isBindingElement=!0,this.context.isAssignmentTarget=!0,this.context.firstCoverInitializedNameError=null;var E=p.call(this);return this.context.firstCoverInitializedNameError!==null&&this.throwUnexpectedToken(this.context.firstCoverInitializedNameError),this.context.isBindingElement=h,this.context.isAssignmentTarget=y,this.context.firstCoverInitializedNameError=b,E},f.prototype.inheritCoverGrammar=function(p){var h=this.context.isBindingElement,y=this.context.isAssignmentTarget,b=this.context.firstCoverInitializedNameError;this.context.isBindingElement=!0,this.context.isAssignmentTarget=!0,this.context.firstCoverInitializedNameError=null;var E=p.call(this);return this.context.isBindingElement=this.context.isBindingElement&&h,this.context.isAssignmentTarget=this.context.isAssignmentTarget&&y,this.context.firstCoverInitializedNameError=b||this.context.firstCoverInitializedNameError,E},f.prototype.consumeSemicolon=function(){this.match(";")?this.nextToken():this.hasLineTerminator||(this.lookahead.type!==2&&!this.match("}")&&this.throwUnexpectedToken(this.lookahead),this.lastMarker.index=this.startMarker.index,this.lastMarker.line=this.startMarker.line,this.lastMarker.column=this.startMarker.column)},f.prototype.parsePrimaryExpression=function(){var p=this.createNode(),h,y,b;switch(this.lookahead.type){case 3:(this.context.isModule||this.context.await)&&this.lookahead.value==="await"&&this.tolerateUnexpectedToken(this.lookahead),h=this.matchAsyncFunction()?this.parseFunctionExpression():this.finalize(p,new u.Identifier(this.nextToken().value));break;case 6:case 8:this.context.strict&&this.lookahead.octal&&this.tolerateUnexpectedToken(this.lookahead,r.Messages.StrictOctalLiteral),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,y=this.nextToken(),b=this.getTokenRaw(y),h=this.finalize(p,new u.Literal(y.value,b));break;case 1:this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,y=this.nextToken(),b=this.getTokenRaw(y),h=this.finalize(p,new u.Literal(y.value==="true",b));break;case 5:this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,y=this.nextToken(),b=this.getTokenRaw(y),h=this.finalize(p,new u.Literal(null,b));break;case 10:h=this.parseTemplateLiteral();break;case 7:switch(this.lookahead.value){case"(":this.context.isBindingElement=!1,h=this.inheritCoverGrammar(this.parseGroupExpression);break;case"[":h=this.inheritCoverGrammar(this.parseArrayInitializer);break;case"{":h=this.inheritCoverGrammar(this.parseObjectInitializer);break;case"/":case"/=":this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,this.scanner.index=this.startMarker.index,y=this.nextRegexToken(),b=this.getTokenRaw(y),h=this.finalize(p,new u.RegexLiteral(y.regex,b,y.pattern,y.flags));break;default:h=this.throwUnexpectedToken(this.nextToken())}break;case 4:!this.context.strict&&this.context.allowYield&&this.matchKeyword("yield")?h=this.parseIdentifierName():!this.context.strict&&this.matchKeyword("let")?h=this.finalize(p,new u.Identifier(this.nextToken().value)):(this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,this.matchKeyword("function")?h=this.parseFunctionExpression():this.matchKeyword("this")?(this.nextToken(),h=this.finalize(p,new u.ThisExpression)):this.matchKeyword("class")?h=this.parseClassExpression():h=this.throwUnexpectedToken(this.nextToken()));break;default:h=this.throwUnexpectedToken(this.nextToken())}return h},f.prototype.parseSpreadElement=function(){var p=this.createNode();this.expect("...");var h=this.inheritCoverGrammar(this.parseAssignmentExpression);return this.finalize(p,new u.SpreadElement(h))},f.prototype.parseArrayInitializer=function(){var p=this.createNode(),h=[];for(this.expect("[");!this.match("]");)if(this.match(","))this.nextToken(),h.push(null);else if(this.match("...")){var y=this.parseSpreadElement();this.match("]")||(this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,this.expect(",")),h.push(y)}else h.push(this.inheritCoverGrammar(this.parseAssignmentExpression)),this.match("]")||this.expect(",");return this.expect("]"),this.finalize(p,new u.ArrayExpression(h))},f.prototype.parsePropertyMethod=function(p){this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;var h=this.context.strict,y=this.context.allowStrictDirective;this.context.allowStrictDirective=p.simple;var b=this.isolateCoverGrammar(this.parseFunctionSourceElements);return this.context.strict&&p.firstRestricted&&this.tolerateUnexpectedToken(p.firstRestricted,p.message),this.context.strict&&p.stricted&&this.tolerateUnexpectedToken(p.stricted,p.message),this.context.strict=h,this.context.allowStrictDirective=y,b},f.prototype.parsePropertyMethodFunction=function(){var p=!1,h=this.createNode(),y=this.context.allowYield;this.context.allowYield=!0;var b=this.parseFormalParameters(),E=this.parsePropertyMethod(b);return this.context.allowYield=y,this.finalize(h,new u.FunctionExpression(null,b.params,E,p))},f.prototype.parsePropertyMethodAsyncFunction=function(){var p=this.createNode(),h=this.context.allowYield,y=this.context.await;this.context.allowYield=!1,this.context.await=!0;var b=this.parseFormalParameters(),E=this.parsePropertyMethod(b);return this.context.allowYield=h,this.context.await=y,this.finalize(p,new u.AsyncFunctionExpression(null,b.params,E))},f.prototype.parseObjectPropertyKey=function(){var p=this.createNode(),h=this.nextToken(),y;switch(h.type){case 8:case 6:this.context.strict&&h.octal&&this.tolerateUnexpectedToken(h,r.Messages.StrictOctalLiteral);var b=this.getTokenRaw(h);y=this.finalize(p,new u.Literal(h.value,b));break;case 3:case 1:case 5:case 4:y=this.finalize(p,new u.Identifier(h.value));break;case 7:h.value==="["?(y=this.isolateCoverGrammar(this.parseAssignmentExpression),this.expect("]")):y=this.throwUnexpectedToken(h);break;default:y=this.throwUnexpectedToken(h)}return y},f.prototype.isPropertyKey=function(p,h){return p.type===m.Syntax.Identifier&&p.name===h||p.type===m.Syntax.Literal&&p.value===h},f.prototype.parseObjectProperty=function(p){var h=this.createNode(),y=this.lookahead,b,E=null,v=null,S=!1,w=!1,A=!1,x=!1;if(y.type===3){var C=y.value;this.nextToken(),S=this.match("["),x=!this.hasLineTerminator&&C==="async"&&!this.match(":")&&!this.match("(")&&!this.match("*")&&!this.match(","),E=x?this.parseObjectPropertyKey():this.finalize(h,new u.Identifier(C))}else this.match("*")?this.nextToken():(S=this.match("["),E=this.parseObjectPropertyKey());var P=this.qualifiedPropertyName(this.lookahead);if(y.type===3&&!x&&y.value==="get"&&P)b="get",S=this.match("["),E=this.parseObjectPropertyKey(),this.context.allowYield=!1,v=this.parseGetterMethod();else if(y.type===3&&!x&&y.value==="set"&&P)b="set",S=this.match("["),E=this.parseObjectPropertyKey(),v=this.parseSetterMethod();else if(y.type===7&&y.value==="*"&&P)b="init",S=this.match("["),E=this.parseObjectPropertyKey(),v=this.parseGeneratorMethod(),w=!0;else if(E||this.throwUnexpectedToken(this.lookahead),b="init",this.match(":")&&!x)!S&&this.isPropertyKey(E,"__proto__")&&(p.value&&this.tolerateError(r.Messages.DuplicateProtoProperty),p.value=!0),this.nextToken(),v=this.inheritCoverGrammar(this.parseAssignmentExpression);else if(this.match("("))v=x?this.parsePropertyMethodAsyncFunction():this.parsePropertyMethodFunction(),w=!0;else if(y.type===3){var C=this.finalize(h,new u.Identifier(y.value));if(this.match("=")){this.context.firstCoverInitializedNameError=this.lookahead,this.nextToken(),A=!0;var D=this.isolateCoverGrammar(this.parseAssignmentExpression);v=this.finalize(h,new u.AssignmentPattern(C,D))}else A=!0,v=C}else this.throwUnexpectedToken(this.nextToken());return this.finalize(h,new u.Property(b,E,S,v,w,A))},f.prototype.parseObjectInitializer=function(){var p=this.createNode();this.expect("{");for(var h=[],y={value:!1};!this.match("}");)h.push(this.parseObjectProperty(y)),this.match("}")||this.expectCommaSeparator();return this.expect("}"),this.finalize(p,new u.ObjectExpression(h))},f.prototype.parseTemplateHead=function(){i.assert(this.lookahead.head,"Template literal must start with a template head");var p=this.createNode(),h=this.nextToken(),y=h.value,b=h.cooked;return this.finalize(p,new u.TemplateElement({raw:y,cooked:b},h.tail))},f.prototype.parseTemplateElement=function(){this.lookahead.type!==10&&this.throwUnexpectedToken();var p=this.createNode(),h=this.nextToken(),y=h.value,b=h.cooked;return this.finalize(p,new u.TemplateElement({raw:y,cooked:b},h.tail))},f.prototype.parseTemplateLiteral=function(){var p=this.createNode(),h=[],y=[],b=this.parseTemplateHead();for(y.push(b);!b.tail;)h.push(this.parseExpression()),b=this.parseTemplateElement(),y.push(b);return this.finalize(p,new u.TemplateLiteral(y,h))},f.prototype.reinterpretExpressionAsPattern=function(p){switch(p.type){case m.Syntax.Identifier:case m.Syntax.MemberExpression:case m.Syntax.RestElement:case m.Syntax.AssignmentPattern:break;case m.Syntax.SpreadElement:p.type=m.Syntax.RestElement,this.reinterpretExpressionAsPattern(p.argument);break;case m.Syntax.ArrayExpression:p.type=m.Syntax.ArrayPattern;for(var h=0;h<p.elements.length;h++)p.elements[h]!==null&&this.reinterpretExpressionAsPattern(p.elements[h]);break;case m.Syntax.ObjectExpression:p.type=m.Syntax.ObjectPattern;for(var h=0;h<p.properties.length;h++)this.reinterpretExpressionAsPattern(p.properties[h].value);break;case m.Syntax.AssignmentExpression:p.type=m.Syntax.AssignmentPattern,delete p.operator,this.reinterpretExpressionAsPattern(p.left);break;default:break}},f.prototype.parseGroupExpression=function(){var p;if(this.expect("("),this.match(")"))this.nextToken(),this.match("=>")||this.expect("=>"),p={type:s,params:[],async:!1};else{var h=this.lookahead,y=[];if(this.match("..."))p=this.parseRestElement(y),this.expect(")"),this.match("=>")||this.expect("=>"),p={type:s,params:[p],async:!1};else{var b=!1;if(this.context.isBindingElement=!0,p=this.inheritCoverGrammar(this.parseAssignmentExpression),this.match(",")){var E=[];for(this.context.isAssignmentTarget=!1,E.push(p);this.lookahead.type!==2&&this.match(",");){if(this.nextToken(),this.match(")")){this.nextToken();for(var v=0;v<E.length;v++)this.reinterpretExpressionAsPattern(E[v]);b=!0,p={type:s,params:E,async:!1}}else if(this.match("...")){this.context.isBindingElement||this.throwUnexpectedToken(this.lookahead),E.push(this.parseRestElement(y)),this.expect(")"),this.match("=>")||this.expect("=>"),this.context.isBindingElement=!1;for(var v=0;v<E.length;v++)this.reinterpretExpressionAsPattern(E[v]);b=!0,p={type:s,params:E,async:!1}}else E.push(this.inheritCoverGrammar(this.parseAssignmentExpression));if(b)break}b||(p=this.finalize(this.startNode(h),new u.SequenceExpression(E)))}if(!b){if(this.expect(")"),this.match("=>")&&(p.type===m.Syntax.Identifier&&p.name==="yield"&&(b=!0,p={type:s,params:[p],async:!1}),!b)){if(this.context.isBindingElement||this.throwUnexpectedToken(this.lookahead),p.type===m.Syntax.SequenceExpression)for(var v=0;v<p.expressions.length;v++)this.reinterpretExpressionAsPattern(p.expressions[v]);else this.reinterpretExpressionAsPattern(p);var S=p.type===m.Syntax.SequenceExpression?p.expressions:[p];p={type:s,params:S,async:!1}}this.context.isBindingElement=!1}}}return p},f.prototype.parseArguments=function(){this.expect("(");var p=[];if(!this.match(")"))for(;;){var h=this.match("...")?this.parseSpreadElement():this.isolateCoverGrammar(this.parseAssignmentExpression);if(p.push(h),this.match(")")||(this.expectCommaSeparator(),this.match(")")))break}return this.expect(")"),p},f.prototype.isIdentifierName=function(p){return p.type===3||p.type===4||p.type===1||p.type===5},f.prototype.parseIdentifierName=function(){var p=this.createNode(),h=this.nextToken();return this.isIdentifierName(h)||this.throwUnexpectedToken(h),this.finalize(p,new u.Identifier(h.value))},f.prototype.parseNewExpression=function(){var p=this.createNode(),h=this.parseIdentifierName();i.assert(h.name==="new","New expression must start with `new`");var y;if(this.match("."))if(this.nextToken(),this.lookahead.type===3&&this.context.inFunctionBody&&this.lookahead.value==="target"){var b=this.parseIdentifierName();y=new u.MetaProperty(h,b)}else this.throwUnexpectedToken(this.lookahead);else{var E=this.isolateCoverGrammar(this.parseLeftHandSideExpression),v=this.match("(")?this.parseArguments():[];y=new u.NewExpression(E,v),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1}return this.finalize(p,y)},f.prototype.parseAsyncArgument=function(){var p=this.parseAssignmentExpression();return this.context.firstCoverInitializedNameError=null,p},f.prototype.parseAsyncArguments=function(){this.expect("(");var p=[];if(!this.match(")"))for(;;){var h=this.match("...")?this.parseSpreadElement():this.isolateCoverGrammar(this.parseAsyncArgument);if(p.push(h),this.match(")")||(this.expectCommaSeparator(),this.match(")")))break}return this.expect(")"),p},f.prototype.parseLeftHandSideExpressionAllowCall=function(){var p=this.lookahead,h=this.matchContextualKeyword("async"),y=this.context.allowIn;this.context.allowIn=!0;var b;for(this.matchKeyword("super")&&this.context.inFunctionBody?(b=this.createNode(),this.nextToken(),b=this.finalize(b,new u.Super),!this.match("(")&&!this.match(".")&&!this.match("[")&&this.throwUnexpectedToken(this.lookahead)):b=this.inheritCoverGrammar(this.matchKeyword("new")?this.parseNewExpression:this.parsePrimaryExpression);;)if(this.match(".")){this.context.isBindingElement=!1,this.context.isAssignmentTarget=!0,this.expect(".");var E=this.parseIdentifierName();b=this.finalize(this.startNode(p),new u.StaticMemberExpression(b,E))}else if(this.match("(")){var v=h&&p.lineNumber===this.lookahead.lineNumber;this.context.isBindingElement=!1,this.context.isAssignmentTarget=!1;var S=v?this.parseAsyncArguments():this.parseArguments();if(b=this.finalize(this.startNode(p),new u.CallExpression(b,S)),v&&this.match("=>")){for(var w=0;w<S.length;++w)this.reinterpretExpressionAsPattern(S[w]);b={type:s,params:S,async:!0}}}else if(this.match("[")){this.context.isBindingElement=!1,this.context.isAssignmentTarget=!0,this.expect("[");var E=this.isolateCoverGrammar(this.parseExpression);this.expect("]"),b=this.finalize(this.startNode(p),new u.ComputedMemberExpression(b,E))}else if(this.lookahead.type===10&&this.lookahead.head){var A=this.parseTemplateLiteral();b=this.finalize(this.startNode(p),new u.TaggedTemplateExpression(b,A))}else break;return this.context.allowIn=y,b},f.prototype.parseSuper=function(){var p=this.createNode();return this.expectKeyword("super"),!this.match("[")&&!this.match(".")&&this.throwUnexpectedToken(this.lookahead),this.finalize(p,new u.Super)},f.prototype.parseLeftHandSideExpression=function(){i.assert(this.context.allowIn,"callee of new expression always allow in keyword.");for(var p=this.startNode(this.lookahead),h=this.matchKeyword("super")&&this.context.inFunctionBody?this.parseSuper():this.inheritCoverGrammar(this.matchKeyword("new")?this.parseNewExpression:this.parsePrimaryExpression);;)if(this.match("[")){this.context.isBindingElement=!1,this.context.isAssignmentTarget=!0,this.expect("[");var y=this.isolateCoverGrammar(this.parseExpression);this.expect("]"),h=this.finalize(p,new u.ComputedMemberExpression(h,y))}else if(this.match(".")){this.context.isBindingElement=!1,this.context.isAssignmentTarget=!0,this.expect(".");var y=this.parseIdentifierName();h=this.finalize(p,new u.StaticMemberExpression(h,y))}else if(this.lookahead.type===10&&this.lookahead.head){var b=this.parseTemplateLiteral();h=this.finalize(p,new u.TaggedTemplateExpression(h,b))}else break;return h},f.prototype.parseUpdateExpression=function(){var p,h=this.lookahead;if(this.match("++")||this.match("--")){var y=this.startNode(h),b=this.nextToken();p=this.inheritCoverGrammar(this.parseUnaryExpression),this.context.strict&&p.type===m.Syntax.Identifier&&this.scanner.isRestrictedWord(p.name)&&this.tolerateError(r.Messages.StrictLHSPrefix),this.context.isAssignmentTarget||this.tolerateError(r.Messages.InvalidLHSInAssignment);var E=!0;p=this.finalize(y,new u.UpdateExpression(b.value,p,E)),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1}else if(p=this.inheritCoverGrammar(this.parseLeftHandSideExpressionAllowCall),!this.hasLineTerminator&&this.lookahead.type===7&&(this.match("++")||this.match("--"))){this.context.strict&&p.type===m.Syntax.Identifier&&this.scanner.isRestrictedWord(p.name)&&this.tolerateError(r.Messages.StrictLHSPostfix),this.context.isAssignmentTarget||this.tolerateError(r.Messages.InvalidLHSInAssignment),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;var v=this.nextToken().value,E=!1;p=this.finalize(this.startNode(h),new u.UpdateExpression(v,p,E))}return p},f.prototype.parseAwaitExpression=function(){var p=this.createNode();this.nextToken();var h=this.parseUnaryExpression();return this.finalize(p,new u.AwaitExpression(h))},f.prototype.parseUnaryExpression=function(){var p;if(this.match("+")||this.match("-")||this.match("~")||this.match("!")||this.matchKeyword("delete")||this.matchKeyword("void")||this.matchKeyword("typeof")){var h=this.startNode(this.lookahead),y=this.nextToken();p=this.inheritCoverGrammar(this.parseUnaryExpression),p=this.finalize(h,new u.UnaryExpression(y.value,p)),this.context.strict&&p.operator==="delete"&&p.argument.type===m.Syntax.Identifier&&this.tolerateError(r.Messages.StrictDelete),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1}else this.context.await&&this.matchContextualKeyword("await")?p=this.parseAwaitExpression():p=this.parseUpdateExpression();return p},f.prototype.parseExponentiationExpression=function(){var p=this.lookahead,h=this.inheritCoverGrammar(this.parseUnaryExpression);if(h.type!==m.Syntax.UnaryExpression&&this.match("**")){this.nextToken(),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;var y=h,b=this.isolateCoverGrammar(this.parseExponentiationExpression);h=this.finalize(this.startNode(p),new u.BinaryExpression("**",y,b))}return h},f.prototype.binaryPrecedence=function(p){var h=p.value,y;return p.type===7?y=this.operatorPrecedence[h]||0:p.type===4?y=h==="instanceof"||this.context.allowIn&&h==="in"?7:0:y=0,y},f.prototype.parseBinaryExpression=function(){var p=this.lookahead,h=this.inheritCoverGrammar(this.parseExponentiationExpression),y=this.lookahead,b=this.binaryPrecedence(y);if(b>0){this.nextToken(),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;for(var E=[p,this.lookahead],v=h,S=this.isolateCoverGrammar(this.parseExponentiationExpression),w=[v,y.value,S],A=[b];b=this.binaryPrecedence(this.lookahead),!(b<=0);){for(;w.length>2&&b<=A[A.length-1];){S=w.pop();var x=w.pop();A.pop(),v=w.pop(),E.pop();var C=this.startNode(E[E.length-1]);w.push(this.finalize(C,new u.BinaryExpression(x,v,S)))}w.push(this.nextToken().value),A.push(b),E.push(this.lookahead),w.push(this.isolateCoverGrammar(this.parseExponentiationExpression))}var P=w.length-1;h=w[P];for(var D=E.pop();P>1;){var L=E.pop(),I=D&&D.lineStart,C=this.startNode(L,I),x=w[P-1];h=this.finalize(C,new u.BinaryExpression(x,w[P-2],h)),P-=2,D=L}}return h},f.prototype.parseConditionalExpression=function(){var p=this.lookahead,h=this.inheritCoverGrammar(this.parseBinaryExpression);if(this.match("?")){this.nextToken();var y=this.context.allowIn;this.context.allowIn=!0;var b=this.isolateCoverGrammar(this.parseAssignmentExpression);this.context.allowIn=y,this.expect(":");var E=this.isolateCoverGrammar(this.parseAssignmentExpression);h=this.finalize(this.startNode(p),new u.ConditionalExpression(h,b,E)),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1}return h},f.prototype.checkPatternParam=function(p,h){switch(h.type){case m.Syntax.Identifier:this.validateParam(p,h,h.name);break;case m.Syntax.RestElement:this.checkPatternParam(p,h.argument);break;case m.Syntax.AssignmentPattern:this.checkPatternParam(p,h.left);break;case m.Syntax.ArrayPattern:for(var y=0;y<h.elements.length;y++)h.elements[y]!==null&&this.checkPatternParam(p,h.elements[y]);break;case m.Syntax.ObjectPattern:for(var y=0;y<h.properties.length;y++)this.checkPatternParam(p,h.properties[y].value);break;default:break}p.simple=p.simple&&h instanceof u.Identifier},f.prototype.reinterpretAsCoverFormalsList=function(p){var h=[p],y,b=!1;switch(p.type){case m.Syntax.Identifier:break;case s:h=p.params,b=p.async;break;default:return null}y={simple:!0,paramSet:{}};for(var E=0;E<h.length;++E){var v=h[E];v.type===m.Syntax.AssignmentPattern?v.right.type===m.Syntax.YieldExpression&&(v.right.argument&&this.throwUnexpectedToken(this.lookahead),v.right.type=m.Syntax.Identifier,v.right.name="yield",delete v.right.argument,delete v.right.delegate):b&&v.type===m.Syntax.Identifier&&v.name==="await"&&this.throwUnexpectedToken(this.lookahead),this.checkPatternParam(y,v),h[E]=v}if(this.context.strict||!this.context.allowYield)for(var E=0;E<h.length;++E){var v=h[E];v.type===m.Syntax.YieldExpression&&this.throwUnexpectedToken(this.lookahead)}if(y.message===r.Messages.StrictParamDupe){var S=this.context.strict?y.stricted:y.firstRestricted;this.throwUnexpectedToken(S,y.message)}return{simple:y.simple,params:h,stricted:y.stricted,firstRestricted:y.firstRestricted,message:y.message}},f.prototype.parseAssignmentExpression=function(){var p;if(!this.context.allowYield&&this.matchKeyword("yield"))p=this.parseYieldExpression();else{var h=this.lookahead,y=h;if(p=this.parseConditionalExpression(),y.type===3&&y.lineNumber===this.lookahead.lineNumber&&y.value==="async"&&(this.lookahead.type===3||this.matchKeyword("yield"))){var b=this.parsePrimaryExpression();this.reinterpretExpressionAsPattern(b),p={type:s,params:[b],async:!0}}if(p.type===s||this.match("=>")){this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;var E=p.async,v=this.reinterpretAsCoverFormalsList(p);if(v){this.hasLineTerminator&&this.tolerateUnexpectedToken(this.lookahead),this.context.firstCoverInitializedNameError=null;var S=this.context.strict,w=this.context.allowStrictDirective;this.context.allowStrictDirective=v.simple;var A=this.context.allowYield,x=this.context.await;this.context.allowYield=!0,this.context.await=E;var C=this.startNode(h);this.expect("=>");var P=void 0;if(this.match("{")){var D=this.context.allowIn;this.context.allowIn=!0,P=this.parseFunctionSourceElements(),this.context.allowIn=D}else P=this.isolateCoverGrammar(this.parseAssignmentExpression);var L=P.type!==m.Syntax.BlockStatement;this.context.strict&&v.firstRestricted&&this.throwUnexpectedToken(v.firstRestricted,v.message),this.context.strict&&v.stricted&&this.tolerateUnexpectedToken(v.stricted,v.message),p=E?this.finalize(C,new u.AsyncArrowFunctionExpression(v.params,P,L)):this.finalize(C,new u.ArrowFunctionExpression(v.params,P,L)),this.context.strict=S,this.context.allowStrictDirective=w,this.context.allowYield=A,this.context.await=x}}else if(this.matchAssign()){if(this.context.isAssignmentTarget||this.tolerateError(r.Messages.InvalidLHSInAssignment),this.context.strict&&p.type===m.Syntax.Identifier){var I=p;this.scanner.isRestrictedWord(I.name)&&this.tolerateUnexpectedToken(y,r.Messages.StrictLHSAssignment),this.scanner.isStrictModeReservedWord(I.name)&&this.tolerateUnexpectedToken(y,r.Messages.StrictReservedWord)}this.match("=")?this.reinterpretExpressionAsPattern(p):(this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1),y=this.nextToken();var j=y.value,M=this.isolateCoverGrammar(this.parseAssignmentExpression);p=this.finalize(this.startNode(h),new u.AssignmentExpression(j,p,M)),this.context.firstCoverInitializedNameError=null}}return p},f.prototype.parseExpression=function(){var p=this.lookahead,h=this.isolateCoverGrammar(this.parseAssignmentExpression);if(this.match(",")){var y=[];for(y.push(h);this.lookahead.type!==2&&this.match(",");)this.nextToken(),y.push(this.isolateCoverGrammar(this.parseAssignmentExpression));h=this.finalize(this.startNode(p),new u.SequenceExpression(y))}return h},f.prototype.parseStatementListItem=function(){var p;if(this.context.isAssignmentTarget=!0,this.context.isBindingElement=!0,this.lookahead.type===4)switch(this.lookahead.value){case"export":this.context.isModule||this.tolerateUnexpectedToken(this.lookahead,r.Messages.IllegalExportDeclaration),p=this.parseExportDeclaration();break;case"import":this.context.isModule||this.tolerateUnexpectedToken(this.lookahead,r.Messages.IllegalImportDeclaration),p=this.parseImportDeclaration();break;case"const":p=this.parseLexicalDeclaration({inFor:!1});break;case"function":p=this.parseFunctionDeclaration();break;case"class":p=this.parseClassDeclaration();break;case"let":p=this.isLexicalDeclaration()?this.parseLexicalDeclaration({inFor:!1}):this.parseStatement();break;default:p=this.parseStatement();break}else p=this.parseStatement();return p},f.prototype.parseBlock=function(){var p=this.createNode();this.expect("{");for(var h=[];!this.match("}");)h.push(this.parseStatementListItem());return this.expect("}"),this.finalize(p,new u.BlockStatement(h))},f.prototype.parseLexicalBinding=function(p,h){var y=this.createNode(),b=[],E=this.parsePattern(b,p);this.context.strict&&E.type===m.Syntax.Identifier&&this.scanner.isRestrictedWord(E.name)&&this.tolerateError(r.Messages.StrictVarName);var v=null;return p==="const"?!this.matchKeyword("in")&&!this.matchContextualKeyword("of")&&(this.match("=")?(this.nextToken(),v=this.isolateCoverGrammar(this.parseAssignmentExpression)):this.throwError(r.Messages.DeclarationMissingInitializer,"const")):(!h.inFor&&E.type!==m.Syntax.Identifier||this.match("="))&&(this.expect("="),v=this.isolateCoverGrammar(this.parseAssignmentExpression)),this.finalize(y,new u.VariableDeclarator(E,v))},f.prototype.parseBindingList=function(p,h){for(var y=[this.parseLexicalBinding(p,h)];this.match(",");)this.nextToken(),y.push(this.parseLexicalBinding(p,h));return y},f.prototype.isLexicalDeclaration=function(){var p=this.scanner.saveState();this.scanner.scanComments();var h=this.scanner.lex();return this.scanner.restoreState(p),h.type===3||h.type===7&&h.value==="["||h.type===7&&h.value==="{"||h.type===4&&h.value==="let"||h.type===4&&h.value==="yield"},f.prototype.parseLexicalDeclaration=function(p){var h=this.createNode(),y=this.nextToken().value;i.assert(y==="let"||y==="const","Lexical declaration must be either let or const");var b=this.parseBindingList(y,p);return this.consumeSemicolon(),this.finalize(h,new u.VariableDeclaration(b,y))},f.prototype.parseBindingRestElement=function(p,h){var y=this.createNode();this.expect("...");var b=this.parsePattern(p,h);return this.finalize(y,new u.RestElement(b))},f.prototype.parseArrayPattern=function(p,h){var y=this.createNode();this.expect("[");for(var b=[];!this.match("]");)if(this.match(","))this.nextToken(),b.push(null);else{if(this.match("...")){b.push(this.parseBindingRestElement(p,h));break}else b.push(this.parsePatternWithDefault(p,h));this.match("]")||this.expect(",")}return this.expect("]"),this.finalize(y,new u.ArrayPattern(b))},f.prototype.parsePropertyPattern=function(p,h){var y=this.createNode(),b=!1,E=!1,v=!1,S,w;if(this.lookahead.type===3){var A=this.lookahead;S=this.parseVariableIdentifier();var x=this.finalize(y,new u.Identifier(A.value));if(this.match("=")){p.push(A),E=!0,this.nextToken();var C=this.parseAssignmentExpression();w=this.finalize(this.startNode(A),new u.AssignmentPattern(x,C))}else this.match(":")?(this.expect(":"),w=this.parsePatternWithDefault(p,h)):(p.push(A),E=!0,w=x)}else b=this.match("["),S=this.parseObjectPropertyKey(),this.expect(":"),w=this.parsePatternWithDefault(p,h);return this.finalize(y,new u.Property("init",S,b,w,v,E))},f.prototype.parseObjectPattern=function(p,h){var y=this.createNode(),b=[];for(this.expect("{");!this.match("}");)b.push(this.parsePropertyPattern(p,h)),this.match("}")||this.expect(",");return this.expect("}"),this.finalize(y,new u.ObjectPattern(b))},f.prototype.parsePattern=function(p,h){var y;return this.match("[")?y=this.parseArrayPattern(p,h):this.match("{")?y=this.parseObjectPattern(p,h):(this.matchKeyword("let")&&(h==="const"||h==="let")&&this.tolerateUnexpectedToken(this.lookahead,r.Messages.LetInLexicalBinding),p.push(this.lookahead),y=this.parseVariableIdentifier(h)),y},f.prototype.parsePatternWithDefault=function(p,h){var y=this.lookahead,b=this.parsePattern(p,h);if(this.match("=")){this.nextToken();var E=this.context.allowYield;this.context.allowYield=!0;var v=this.isolateCoverGrammar(this.parseAssignmentExpression);this.context.allowYield=E,b=this.finalize(this.startNode(y),new u.AssignmentPattern(b,v))}return b},f.prototype.parseVariableIdentifier=function(p){var h=this.createNode(),y=this.nextToken();return y.type===4&&y.value==="yield"?this.context.strict?this.tolerateUnexpectedToken(y,r.Messages.StrictReservedWord):this.context.allowYield||this.throwUnexpectedToken(y):y.type!==3?this.context.strict&&y.type===4&&this.scanner.isStrictModeReservedWord(y.value)?this.tolerateUnexpectedToken(y,r.Messages.StrictReservedWord):(this.context.strict||y.value!=="let"||p!=="var")&&this.throwUnexpectedToken(y):(this.context.isModule||this.context.await)&&y.type===3&&y.value==="await"&&this.tolerateUnexpectedToken(y),this.finalize(h,new u.Identifier(y.value))},f.prototype.parseVariableDeclaration=function(p){var h=this.createNode(),y=[],b=this.parsePattern(y,"var");this.context.strict&&b.type===m.Syntax.Identifier&&this.scanner.isRestrictedWord(b.name)&&this.tolerateError(r.Messages.StrictVarName);var E=null;return this.match("=")?(this.nextToken(),E=this.isolateCoverGrammar(this.parseAssignmentExpression)):b.type!==m.Syntax.Identifier&&!p.inFor&&this.expect("="),this.finalize(h,new u.VariableDeclarator(b,E))},f.prototype.parseVariableDeclarationList=function(p){var h={inFor:p.inFor},y=[];for(y.push(this.parseVariableDeclaration(h));this.match(",");)this.nextToken(),y.push(this.parseVariableDeclaration(h));return y},f.prototype.parseVariableStatement=function(){var p=this.createNode();this.expectKeyword("var");var h=this.parseVariableDeclarationList({inFor:!1});return this.consumeSemicolon(),this.finalize(p,new u.VariableDeclaration(h,"var"))},f.prototype.parseEmptyStatement=function(){var p=this.createNode();return this.expect(";"),this.finalize(p,new u.EmptyStatement)},f.prototype.parseExpressionStatement=function(){var p=this.createNode(),h=this.parseExpression();return this.consumeSemicolon(),this.finalize(p,new u.ExpressionStatement(h))},f.prototype.parseIfClause=function(){return this.context.strict&&this.matchKeyword("function")&&this.tolerateError(r.Messages.StrictFunction),this.parseStatement()},f.prototype.parseIfStatement=function(){var p=this.createNode(),h,y=null;this.expectKeyword("if"),this.expect("(");var b=this.parseExpression();return!this.match(")")&&this.config.tolerant?(this.tolerateUnexpectedToken(this.nextToken()),h=this.finalize(this.createNode(),new u.EmptyStatement)):(this.expect(")"),h=this.parseIfClause(),this.matchKeyword("else")&&(this.nextToken(),y=this.parseIfClause())),this.finalize(p,new u.IfStatement(b,h,y))},f.prototype.parseDoWhileStatement=function(){var p=this.createNode();this.expectKeyword("do");var h=this.context.inIteration;this.context.inIteration=!0;var y=this.parseStatement();this.context.inIteration=h,this.expectKeyword("while"),this.expect("(");var b=this.parseExpression();return!this.match(")")&&this.config.tolerant?this.tolerateUnexpectedToken(this.nextToken()):(this.expect(")"),this.match(";")&&this.nextToken()),this.finalize(p,new u.DoWhileStatement(y,b))},f.prototype.parseWhileStatement=function(){var p=this.createNode(),h;this.expectKeyword("while"),this.expect("(");var y=this.parseExpression();if(!this.match(")")&&this.config.tolerant)this.tolerateUnexpectedToken(this.nextToken()),h=this.finalize(this.createNode(),new u.EmptyStatement);else{this.expect(")");var b=this.context.inIteration;this.context.inIteration=!0,h=this.parseStatement(),this.context.inIteration=b}return this.finalize(p,new u.WhileStatement(y,h))},f.prototype.parseForStatement=function(){var p=null,h=null,y=null,b=!0,E,v,S=this.createNode();if(this.expectKeyword("for"),this.expect("("),this.match(";"))this.nextToken();else if(this.matchKeyword("var")){p=this.createNode(),this.nextToken();var w=this.context.allowIn;this.context.allowIn=!1;var A=this.parseVariableDeclarationList({inFor:!0});if(this.context.allowIn=w,A.length===1&&this.matchKeyword("in")){var x=A[0];x.init&&(x.id.type===m.Syntax.ArrayPattern||x.id.type===m.Syntax.ObjectPattern||this.context.strict)&&this.tolerateError(r.Messages.ForInOfLoopInitializer,"for-in"),p=this.finalize(p,new u.VariableDeclaration(A,"var")),this.nextToken(),E=p,v=this.parseExpression(),p=null}else A.length===1&&A[0].init===null&&this.matchContextualKeyword("of")?(p=this.finalize(p,new u.VariableDeclaration(A,"var")),this.nextToken(),E=p,v=this.parseAssignmentExpression(),p=null,b=!1):(p=this.finalize(p,new u.VariableDeclaration(A,"var")),this.expect(";"))}else if(this.matchKeyword("const")||this.matchKeyword("let")){p=this.createNode();var C=this.nextToken().value;if(!this.context.strict&&this.lookahead.value==="in")p=this.finalize(p,new u.Identifier(C)),this.nextToken(),E=p,v=this.parseExpression(),p=null;else{var w=this.context.allowIn;this.context.allowIn=!1;var A=this.parseBindingList(C,{inFor:!0});this.context.allowIn=w,A.length===1&&A[0].init===null&&this.matchKeyword("in")?(p=this.finalize(p,new u.VariableDeclaration(A,C)),this.nextToken(),E=p,v=this.parseExpression(),p=null):A.length===1&&A[0].init===null&&this.matchContextualKeyword("of")?(p=this.finalize(p,new u.VariableDeclaration(A,C)),this.nextToken(),E=p,v=this.parseAssignmentExpression(),p=null,b=!1):(this.consumeSemicolon(),p=this.finalize(p,new u.VariableDeclaration(A,C)))}}else{var P=this.lookahead,w=this.context.allowIn;if(this.context.allowIn=!1,p=this.inheritCoverGrammar(this.parseAssignmentExpression),this.context.allowIn=w,this.matchKeyword("in"))(!this.context.isAssignmentTarget||p.type===m.Syntax.AssignmentExpression)&&this.tolerateError(r.Messages.InvalidLHSInForIn),this.nextToken(),this.reinterpretExpressionAsPattern(p),E=p,v=this.parseExpression(),p=null;else if(this.matchContextualKeyword("of"))(!this.context.isAssignmentTarget||p.type===m.Syntax.AssignmentExpression)&&this.tolerateError(r.Messages.InvalidLHSInForLoop),this.nextToken(),this.reinterpretExpressionAsPattern(p),E=p,v=this.parseAssignmentExpression(),p=null,b=!1;else{if(this.match(",")){for(var D=[p];this.match(",");)this.nextToken(),D.push(this.isolateCoverGrammar(this.parseAssignmentExpression));p=this.finalize(this.startNode(P),new u.SequenceExpression(D))}this.expect(";")}}typeof E>"u"&&(this.match(";")||(h=this.parseExpression()),this.expect(";"),this.match(")")||(y=this.parseExpression()));var L;if(!this.match(")")&&this.config.tolerant)this.tolerateUnexpectedToken(this.nextToken()),L=this.finalize(this.createNode(),new u.EmptyStatement);else{this.expect(")");var I=this.context.inIteration;this.context.inIteration=!0,L=this.isolateCoverGrammar(this.parseStatement),this.context.inIteration=I}return typeof E>"u"?this.finalize(S,new u.ForStatement(p,h,y,L)):b?this.finalize(S,new u.ForInStatement(E,v,L)):this.finalize(S,new u.ForOfStatement(E,v,L))},f.prototype.parseContinueStatement=function(){var p=this.createNode();this.expectKeyword("continue");var h=null;if(this.lookahead.type===3&&!this.hasLineTerminator){var y=this.parseVariableIdentifier();h=y;var b="$"+y.name;Object.prototype.hasOwnProperty.call(this.context.labelSet,b)||this.throwError(r.Messages.UnknownLabel,y.name)}return this.consumeSemicolon(),h===null&&!this.context.inIteration&&this.throwError(r.Messages.IllegalContinue),this.finalize(p,new u.ContinueStatement(h))},f.prototype.parseBreakStatement=function(){var p=this.createNode();this.expectKeyword("break");var h=null;if(this.lookahead.type===3&&!this.hasLineTerminator){var y=this.parseVariableIdentifier(),b="$"+y.name;Object.prototype.hasOwnProperty.call(this.context.labelSet,b)||this.throwError(r.Messages.UnknownLabel,y.name),h=y}return this.consumeSemicolon(),h===null&&!this.context.inIteration&&!this.context.inSwitch&&this.throwError(r.Messages.IllegalBreak),this.finalize(p,new u.BreakStatement(h))},f.prototype.parseReturnStatement=function(){this.context.inFunctionBody||this.tolerateError(r.Messages.IllegalReturn);var p=this.createNode();this.expectKeyword("return");var h=!this.match(";")&&!this.match("}")&&!this.hasLineTerminator&&this.lookahead.type!==2||this.lookahead.type===8||this.lookahead.type===10,y=h?this.parseExpression():null;return this.consumeSemicolon(),this.finalize(p,new u.ReturnStatement(y))},f.prototype.parseWithStatement=function(){this.context.strict&&this.tolerateError(r.Messages.StrictModeWith);var p=this.createNode(),h;this.expectKeyword("with"),this.expect("(");var y=this.parseExpression();return!this.match(")")&&this.config.tolerant?(this.tolerateUnexpectedToken(this.nextToken()),h=this.finalize(this.createNode(),new u.EmptyStatement)):(this.expect(")"),h=this.parseStatement()),this.finalize(p,new u.WithStatement(y,h))},f.prototype.parseSwitchCase=function(){var p=this.createNode(),h;this.matchKeyword("default")?(this.nextToken(),h=null):(this.expectKeyword("case"),h=this.parseExpression()),this.expect(":");for(var y=[];!(this.match("}")||this.matchKeyword("default")||this.matchKeyword("case"));)y.push(this.parseStatementListItem());return this.finalize(p,new u.SwitchCase(h,y))},f.prototype.parseSwitchStatement=function(){var p=this.createNode();this.expectKeyword("switch"),this.expect("(");var h=this.parseExpression();this.expect(")");var y=this.context.inSwitch;this.context.inSwitch=!0;var b=[],E=!1;for(this.expect("{");!this.match("}");){var v=this.parseSwitchCase();v.test===null&&(E&&this.throwError(r.Messages.MultipleDefaultsInSwitch),E=!0),b.push(v)}return this.expect("}"),this.context.inSwitch=y,this.finalize(p,new u.SwitchStatement(h,b))},f.prototype.parseLabelledStatement=function(){var p=this.createNode(),h=this.parseExpression(),y;if(h.type===m.Syntax.Identifier&&this.match(":")){this.nextToken();var b=h,E="$"+b.name;Object.prototype.hasOwnProperty.call(this.context.labelSet,E)&&this.throwError(r.Messages.Redeclaration,"Label",b.name),this.context.labelSet[E]=!0;var v=void 0;if(this.matchKeyword("class"))this.tolerateUnexpectedToken(this.lookahead),v=this.parseClassDeclaration();else if(this.matchKeyword("function")){var S=this.lookahead,w=this.parseFunctionDeclaration();this.context.strict?this.tolerateUnexpectedToken(S,r.Messages.StrictFunction):w.generator&&this.tolerateUnexpectedToken(S,r.Messages.GeneratorInLegacyContext),v=w}else v=this.parseStatement();delete this.context.labelSet[E],y=new u.LabeledStatement(b,v)}else this.consumeSemicolon(),y=new u.ExpressionStatement(h);return this.finalize(p,y)},f.prototype.parseThrowStatement=function(){var p=this.createNode();this.expectKeyword("throw"),this.hasLineTerminator&&this.throwError(r.Messages.NewlineAfterThrow);var h=this.parseExpression();return this.consumeSemicolon(),this.finalize(p,new u.ThrowStatement(h))},f.prototype.parseCatchClause=function(){var p=this.createNode();this.expectKeyword("catch"),this.expect("("),this.match(")")&&this.throwUnexpectedToken(this.lookahead);for(var h=[],y=this.parsePattern(h),b={},E=0;E<h.length;E++){var v="$"+h[E].value;Object.prototype.hasOwnProperty.call(b,v)&&this.tolerateError(r.Messages.DuplicateBinding,h[E].value),b[v]=!0}this.context.strict&&y.type===m.Syntax.Identifier&&this.scanner.isRestrictedWord(y.name)&&this.tolerateError(r.Messages.StrictCatchVariable),this.expect(")");var S=this.parseBlock();return this.finalize(p,new u.CatchClause(y,S))},f.prototype.parseFinallyClause=function(){return this.expectKeyword("finally"),this.parseBlock()},f.prototype.parseTryStatement=function(){var p=this.createNode();this.expectKeyword("try");var h=this.parseBlock(),y=this.matchKeyword("catch")?this.parseCatchClause():null,b=this.matchKeyword("finally")?this.parseFinallyClause():null;return!y&&!b&&this.throwError(r.Messages.NoCatchOrFinally),this.finalize(p,new u.TryStatement(h,y,b))},f.prototype.parseDebuggerStatement=function(){var p=this.createNode();return this.expectKeyword("debugger"),this.consumeSemicolon(),this.finalize(p,new u.DebuggerStatement)},f.prototype.parseStatement=function(){var p;switch(this.lookahead.type){case 1:case 5:case 6:case 8:case 10:case 9:p=this.parseExpressionStatement();break;case 7:var h=this.lookahead.value;h==="{"?p=this.parseBlock():h==="("?p=this.parseExpressionStatement():h===";"?p=this.parseEmptyStatement():p=this.parseExpressionStatement();break;case 3:p=this.matchAsyncFunction()?this.parseFunctionDeclaration():this.parseLabelledStatement();break;case 4:switch(this.lookahead.value){case"break":p=this.parseBreakStatement();break;case"continue":p=this.parseContinueStatement();break;case"debugger":p=this.parseDebuggerStatement();break;case"do":p=this.parseDoWhileStatement();break;case"for":p=this.parseForStatement();break;case"function":p=this.parseFunctionDeclaration();break;case"if":p=this.parseIfStatement();break;case"return":p=this.parseReturnStatement();break;case"switch":p=this.parseSwitchStatement();break;case"throw":p=this.parseThrowStatement();break;case"try":p=this.parseTryStatement();break;case"var":p=this.parseVariableStatement();break;case"while":p=this.parseWhileStatement();break;case"with":p=this.parseWithStatement();break;default:p=this.parseExpressionStatement();break}break;default:p=this.throwUnexpectedToken(this.lookahead)}return p},f.prototype.parseFunctionSourceElements=function(){var p=this.createNode();this.expect("{");var h=this.parseDirectivePrologues(),y=this.context.labelSet,b=this.context.inIteration,E=this.context.inSwitch,v=this.context.inFunctionBody;for(this.context.labelSet={},this.context.inIteration=!1,this.context.inSwitch=!1,this.context.inFunctionBody=!0;this.lookahead.type!==2&&!this.match("}");)h.push(this.parseStatementListItem());return this.expect("}"),this.context.labelSet=y,this.context.inIteration=b,this.context.inSwitch=E,this.context.inFunctionBody=v,this.finalize(p,new u.BlockStatement(h))},f.prototype.validateParam=function(p,h,y){var b="$"+y;this.context.strict?(this.scanner.isRestrictedWord(y)&&(p.stricted=h,p.message=r.Messages.StrictParamName),Object.prototype.hasOwnProperty.call(p.paramSet,b)&&(p.stricted=h,p.message=r.Messages.StrictParamDupe)):p.firstRestricted||(this.scanner.isRestrictedWord(y)?(p.firstRestricted=h,p.message=r.Messages.StrictParamName):this.scanner.isStrictModeReservedWord(y)?(p.firstRestricted=h,p.message=r.Messages.StrictReservedWord):Object.prototype.hasOwnProperty.call(p.paramSet,b)&&(p.stricted=h,p.message=r.Messages.StrictParamDupe)),typeof Object.defineProperty=="function"?Object.defineProperty(p.paramSet,b,{value:!0,enumerable:!0,writable:!0,configurable:!0}):p.paramSet[b]=!0},f.prototype.parseRestElement=function(p){var h=this.createNode();this.expect("...");var y=this.parsePattern(p);return this.match("=")&&this.throwError(r.Messages.DefaultRestParameter),this.match(")")||this.throwError(r.Messages.ParameterAfterRestParameter),this.finalize(h,new u.RestElement(y))},f.prototype.parseFormalParameter=function(p){for(var h=[],y=this.match("...")?this.parseRestElement(h):this.parsePatternWithDefault(h),b=0;b<h.length;b++)this.validateParam(p,h[b],h[b].value);p.simple=p.simple&&y instanceof u.Identifier,p.params.push(y)},f.prototype.parseFormalParameters=function(p){var h;if(h={simple:!0,params:[],firstRestricted:p},this.expect("("),!this.match(")"))for(h.paramSet={};this.lookahead.type!==2&&(this.parseFormalParameter(h),!(this.match(")")||(this.expect(","),this.match(")")))););return this.expect(")"),{simple:h.simple,params:h.params,stricted:h.stricted,firstRestricted:h.firstRestricted,message:h.message}},f.prototype.matchAsyncFunction=function(){var p=this.matchContextualKeyword("async");if(p){var h=this.scanner.saveState();this.scanner.scanComments();var y=this.scanner.lex();this.scanner.restoreState(h),p=h.lineNumber===y.lineNumber&&y.type===4&&y.value==="function"}return p},f.prototype.parseFunctionDeclaration=function(p){var h=this.createNode(),y=this.matchContextualKeyword("async");y&&this.nextToken(),this.expectKeyword("function");var b=y?!1:this.match("*");b&&this.nextToken();var E,v=null,S=null;if(!p||!this.match("(")){var w=this.lookahead;v=this.parseVariableIdentifier(),this.context.strict?this.scanner.isRestrictedWord(w.value)&&this.tolerateUnexpectedToken(w,r.Messages.StrictFunctionName):this.scanner.isRestrictedWord(w.value)?(S=w,E=r.Messages.StrictFunctionName):this.scanner.isStrictModeReservedWord(w.value)&&(S=w,E=r.Messages.StrictReservedWord)}var A=this.context.await,x=this.context.allowYield;this.context.await=y,this.context.allowYield=!b;var C=this.parseFormalParameters(S),P=C.params,D=C.stricted;S=C.firstRestricted,C.message&&(E=C.message);var L=this.context.strict,I=this.context.allowStrictDirective;this.context.allowStrictDirective=C.simple;var j=this.parseFunctionSourceElements();return this.context.strict&&S&&this.throwUnexpectedToken(S,E),this.context.strict&&D&&this.tolerateUnexpectedToken(D,E),this.context.strict=L,this.context.allowStrictDirective=I,this.context.await=A,this.context.allowYield=x,y?this.finalize(h,new u.AsyncFunctionDeclaration(v,P,j)):this.finalize(h,new u.FunctionDeclaration(v,P,j,b))},f.prototype.parseFunctionExpression=function(){var p=this.createNode(),h=this.matchContextualKeyword("async");h&&this.nextToken(),this.expectKeyword("function");var y=h?!1:this.match("*");y&&this.nextToken();var b,E=null,v,S=this.context.await,w=this.context.allowYield;if(this.context.await=h,this.context.allowYield=!y,!this.match("(")){var A=this.lookahead;E=!this.context.strict&&!y&&this.matchKeyword("yield")?this.parseIdentifierName():this.parseVariableIdentifier(),this.context.strict?this.scanner.isRestrictedWord(A.value)&&this.tolerateUnexpectedToken(A,r.Messages.StrictFunctionName):this.scanner.isRestrictedWord(A.value)?(v=A,b=r.Messages.StrictFunctionName):this.scanner.isStrictModeReservedWord(A.value)&&(v=A,b=r.Messages.StrictReservedWord)}var x=this.parseFormalParameters(v),C=x.params,P=x.stricted;v=x.firstRestricted,x.message&&(b=x.message);var D=this.context.strict,L=this.context.allowStrictDirective;this.context.allowStrictDirective=x.simple;var I=this.parseFunctionSourceElements();return this.context.strict&&v&&this.throwUnexpectedToken(v,b),this.context.strict&&P&&this.tolerateUnexpectedToken(P,b),this.context.strict=D,this.context.allowStrictDirective=L,this.context.await=S,this.context.allowYield=w,h?this.finalize(p,new u.AsyncFunctionExpression(E,C,I)):this.finalize(p,new u.FunctionExpression(E,C,I,y))},f.prototype.parseDirective=function(){var p=this.lookahead,h=this.createNode(),y=this.parseExpression(),b=y.type===m.Syntax.Literal?this.getTokenRaw(p).slice(1,-1):null;return this.consumeSemicolon(),this.finalize(h,b?new u.Directive(y,b):new u.ExpressionStatement(y))},f.prototype.parseDirectivePrologues=function(){for(var p=null,h=[];;){var y=this.lookahead;if(y.type!==8)break;var b=this.parseDirective();h.push(b);var E=b.directive;if(typeof E!="string")break;E==="use strict"?(this.context.strict=!0,p&&this.tolerateUnexpectedToken(p,r.Messages.StrictOctalLiteral),this.context.allowStrictDirective||this.tolerateUnexpectedToken(y,r.Messages.IllegalLanguageModeDirective)):!p&&y.octal&&(p=y)}return h},f.prototype.qualifiedPropertyName=function(p){switch(p.type){case 3:case 8:case 1:case 5:case 6:case 4:return!0;case 7:return p.value==="[";default:break}return!1},f.prototype.parseGetterMethod=function(){var p=this.createNode(),h=!1,y=this.context.allowYield;this.context.allowYield=!h;var b=this.parseFormalParameters();b.params.length>0&&this.tolerateError(r.Messages.BadGetterArity);var E=this.parsePropertyMethod(b);return this.context.allowYield=y,this.finalize(p,new u.FunctionExpression(null,b.params,E,h))},f.prototype.parseSetterMethod=function(){var p=this.createNode(),h=!1,y=this.context.allowYield;this.context.allowYield=!h;var b=this.parseFormalParameters();b.params.length!==1?this.tolerateError(r.Messages.BadSetterArity):b.params[0]instanceof u.RestElement&&this.tolerateError(r.Messages.BadSetterRestParameter);var E=this.parsePropertyMethod(b);return this.context.allowYield=y,this.finalize(p,new u.FunctionExpression(null,b.params,E,h))},f.prototype.parseGeneratorMethod=function(){var p=this.createNode(),h=!0,y=this.context.allowYield;this.context.allowYield=!0;var b=this.parseFormalParameters();this.context.allowYield=!1;var E=this.parsePropertyMethod(b);return this.context.allowYield=y,this.finalize(p,new u.FunctionExpression(null,b.params,E,h))},f.prototype.isStartOfExpression=function(){var p=!0,h=this.lookahead.value;switch(this.lookahead.type){case 7:p=h==="["||h==="("||h==="{"||h==="+"||h==="-"||h==="!"||h==="~"||h==="++"||h==="--"||h==="/"||h==="/=";break;case 4:p=h==="class"||h==="delete"||h==="function"||h==="let"||h==="new"||h==="super"||h==="this"||h==="typeof"||h==="void"||h==="yield";break;default:break}return p},f.prototype.parseYieldExpression=function(){var p=this.createNode();this.expectKeyword("yield");var h=null,y=!1;if(!this.hasLineTerminator){var b=this.context.allowYield;this.context.allowYield=!1,y=this.match("*"),y?(this.nextToken(),h=this.parseAssignmentExpression()):this.isStartOfExpression()&&(h=this.parseAssignmentExpression()),this.context.allowYield=b}return this.finalize(p,new u.YieldExpression(h,y))},f.prototype.parseClassElement=function(p){var h=this.lookahead,y=this.createNode(),b="",E=null,v=null,S=!1,w=!1,A=!1,x=!1;if(this.match("*"))this.nextToken();else{S=this.match("["),E=this.parseObjectPropertyKey();var C=E;if(C.name==="static"&&(this.qualifiedPropertyName(this.lookahead)||this.match("*"))&&(h=this.lookahead,A=!0,S=this.match("["),this.match("*")?this.nextToken():E=this.parseObjectPropertyKey()),h.type===3&&!this.hasLineTerminator&&h.value==="async"){var P=this.lookahead.value;P!==":"&&P!=="("&&P!=="*"&&(x=!0,h=this.lookahead,E=this.parseObjectPropertyKey(),h.type===3&&h.value==="constructor"&&this.tolerateUnexpectedToken(h,r.Messages.ConstructorIsAsync))}}var D=this.qualifiedPropertyName(this.lookahead);return h.type===3?h.value==="get"&&D?(b="get",S=this.match("["),E=this.parseObjectPropertyKey(),this.context.allowYield=!1,v=this.parseGetterMethod()):h.value==="set"&&D&&(b="set",S=this.match("["),E=this.parseObjectPropertyKey(),v=this.parseSetterMethod()):h.type===7&&h.value==="*"&&D&&(b="init",S=this.match("["),E=this.parseObjectPropertyKey(),v=this.parseGeneratorMethod(),w=!0),!b&&E&&this.match("(")&&(b="init",v=x?this.parsePropertyMethodAsyncFunction():this.parsePropertyMethodFunction(),w=!0),b||this.throwUnexpectedToken(this.lookahead),b==="init"&&(b="method"),S||(A&&this.isPropertyKey(E,"prototype")&&this.throwUnexpectedToken(h,r.Messages.StaticPrototype),!A&&this.isPropertyKey(E,"constructor")&&((b!=="method"||!w||v&&v.generator)&&this.throwUnexpectedToken(h,r.Messages.ConstructorSpecialMethod),p.value?this.throwUnexpectedToken(h,r.Messages.DuplicateConstructor):p.value=!0,b="constructor")),this.finalize(y,new u.MethodDefinition(E,S,v,b,A))},f.prototype.parseClassElementList=function(){var p=[],h={value:!1};for(this.expect("{");!this.match("}");)this.match(";")?this.nextToken():p.push(this.parseClassElement(h));return this.expect("}"),p},f.prototype.parseClassBody=function(){var p=this.createNode(),h=this.parseClassElementList();return this.finalize(p,new u.ClassBody(h))},f.prototype.parseClassDeclaration=function(p){var h=this.createNode(),y=this.context.strict;this.context.strict=!0,this.expectKeyword("class");var b=p&&this.lookahead.type!==3?null:this.parseVariableIdentifier(),E=null;this.matchKeyword("extends")&&(this.nextToken(),E=this.isolateCoverGrammar(this.parseLeftHandSideExpressionAllowCall));var v=this.parseClassBody();return this.context.strict=y,this.finalize(h,new u.ClassDeclaration(b,E,v))},f.prototype.parseClassExpression=function(){var p=this.createNode(),h=this.context.strict;this.context.strict=!0,this.expectKeyword("class");var y=this.lookahead.type===3?this.parseVariableIdentifier():null,b=null;this.matchKeyword("extends")&&(this.nextToken(),b=this.isolateCoverGrammar(this.parseLeftHandSideExpressionAllowCall));var E=this.parseClassBody();return this.context.strict=h,this.finalize(p,new u.ClassExpression(y,b,E))},f.prototype.parseModule=function(){this.context.strict=!0,this.context.isModule=!0,this.scanner.isModule=!0;for(var p=this.createNode(),h=this.parseDirectivePrologues();this.lookahead.type!==2;)h.push(this.parseStatementListItem());return this.finalize(p,new u.Module(h))},f.prototype.parseScript=function(){for(var p=this.createNode(),h=this.parseDirectivePrologues();this.lookahead.type!==2;)h.push(this.parseStatementListItem());return this.finalize(p,new u.Script(h))},f.prototype.parseModuleSpecifier=function(){var p=this.createNode();this.lookahead.type!==8&&this.throwError(r.Messages.InvalidModuleSpecifier);var h=this.nextToken(),y=this.getTokenRaw(h);return this.finalize(p,new u.Literal(h.value,y))},f.prototype.parseImportSpecifier=function(){var p=this.createNode(),h,y;return this.lookahead.type===3?(h=this.parseVariableIdentifier(),y=h,this.matchContextualKeyword("as")&&(this.nextToken(),y=this.parseVariableIdentifier())):(h=this.parseIdentifierName(),y=h,this.matchContextualKeyword("as")?(this.nextToken(),y=this.parseVariableIdentifier()):this.throwUnexpectedToken(this.nextToken())),this.finalize(p,new u.ImportSpecifier(y,h))},f.prototype.parseNamedImports=function(){this.expect("{");for(var p=[];!this.match("}");)p.push(this.parseImportSpecifier()),this.match("}")||this.expect(",");return this.expect("}"),p},f.prototype.parseImportDefaultSpecifier=function(){var p=this.createNode(),h=this.parseIdentifierName();return this.finalize(p,new u.ImportDefaultSpecifier(h))},f.prototype.parseImportNamespaceSpecifier=function(){var p=this.createNode();this.expect("*"),this.matchContextualKeyword("as")||this.throwError(r.Messages.NoAsAfterImportNamespace),this.nextToken();var h=this.parseIdentifierName();return this.finalize(p,new u.ImportNamespaceSpecifier(h))},f.prototype.parseImportDeclaration=function(){this.context.inFunctionBody&&this.throwError(r.Messages.IllegalImportDeclaration);var p=this.createNode();this.expectKeyword("import");var h,y=[];if(this.lookahead.type===8)h=this.parseModuleSpecifier();else{if(this.match("{")?y=y.concat(this.parseNamedImports()):this.match("*")?y.push(this.parseImportNamespaceSpecifier()):this.isIdentifierName(this.lookahead)&&!this.matchKeyword("default")?(y.push(this.parseImportDefaultSpecifier()),this.match(",")&&(this.nextToken(),this.match("*")?y.push(this.parseImportNamespaceSpecifier()):this.match("{")?y=y.concat(this.parseNamedImports()):this.throwUnexpectedToken(this.lookahead))):this.throwUnexpectedToken(this.nextToken()),!this.matchContextualKeyword("from")){var b=this.lookahead.value?r.Messages.UnexpectedToken:r.Messages.MissingFromClause;this.throwError(b,this.lookahead.value)}this.nextToken(),h=this.parseModuleSpecifier()}return this.consumeSemicolon(),this.finalize(p,new u.ImportDeclaration(y,h))},f.prototype.parseExportSpecifier=function(){var p=this.createNode(),h=this.parseIdentifierName(),y=h;return this.matchContextualKeyword("as")&&(this.nextToken(),y=this.parseIdentifierName()),this.finalize(p,new u.ExportSpecifier(h,y))},f.prototype.parseExportDeclaration=function(){this.context.inFunctionBody&&this.throwError(r.Messages.IllegalExportDeclaration);var p=this.createNode();this.expectKeyword("export");var h;if(this.matchKeyword("default"))if(this.nextToken(),this.matchKeyword("function")){var y=this.parseFunctionDeclaration(!0);h=this.finalize(p,new u.ExportDefaultDeclaration(y))}else if(this.matchKeyword("class")){var y=this.parseClassDeclaration(!0);h=this.finalize(p,new u.ExportDefaultDeclaration(y))}else if(this.matchContextualKeyword("async")){var y=this.matchAsyncFunction()?this.parseFunctionDeclaration(!0):this.parseAssignmentExpression();h=this.finalize(p,new u.ExportDefaultDeclaration(y))}else{this.matchContextualKeyword("from")&&this.throwError(r.Messages.UnexpectedToken,this.lookahead.value);var y=this.match("{")?this.parseObjectInitializer():this.match("[")?this.parseArrayInitializer():this.parseAssignmentExpression();this.consumeSemicolon(),h=this.finalize(p,new u.ExportDefaultDeclaration(y))}else if(this.match("*")){if(this.nextToken(),!this.matchContextualKeyword("from")){var b=this.lookahead.value?r.Messages.UnexpectedToken:r.Messages.MissingFromClause;this.throwError(b,this.lookahead.value)}this.nextToken();var E=this.parseModuleSpecifier();this.consumeSemicolon(),h=this.finalize(p,new u.ExportAllDeclaration(E))}else if(this.lookahead.type===4){var y=void 0;switch(this.lookahead.value){case"let":case"const":y=this.parseLexicalDeclaration({inFor:!1});break;case"var":case"class":case"function":y=this.parseStatementListItem();break;default:this.throwUnexpectedToken(this.lookahead)}h=this.finalize(p,new u.ExportNamedDeclaration(y,[],null))}else if(this.matchAsyncFunction()){var y=this.parseFunctionDeclaration();h=this.finalize(p,new u.ExportNamedDeclaration(y,[],null))}else{var v=[],S=null,w=!1;for(this.expect("{");!this.match("}");)w=w||this.matchKeyword("default"),v.push(this.parseExportSpecifier()),this.match("}")||this.expect(",");if(this.expect("}"),this.matchContextualKeyword("from"))this.nextToken(),S=this.parseModuleSpecifier(),this.consumeSemicolon();else if(w){var b=this.lookahead.value?r.Messages.UnexpectedToken:r.Messages.MissingFromClause;this.throwError(b,this.lookahead.value)}else this.consumeSemicolon();h=this.finalize(p,new u.ExportNamedDeclaration(null,v,S))}return h},f}();t.Parser=l},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});function n(i,o){if(!i)throw new Error("ASSERT: "+o)}t.assert=n},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function i(){this.errors=[],this.tolerant=!1}return i.prototype.recordError=function(o){this.errors.push(o)},i.prototype.tolerate=function(o){if(this.tolerant)this.recordError(o);else throw o},i.prototype.constructError=function(o,r){var u=new Error(o);try{throw u}catch(a){Object.create&&Object.defineProperty&&(u=Object.create(a),Object.defineProperty(u,"column",{value:r}))}return u},i.prototype.createError=function(o,r,u,a){var m="Line "+r+": "+a,d=this.constructError(m,u);return d.index=o,d.lineNumber=r,d.description=a,d},i.prototype.throwError=function(o,r,u,a){throw this.createError(o,r,u,a)},i.prototype.tolerateError=function(o,r,u,a){var m=this.createError(o,r,u,a);if(this.tolerant)this.recordError(m);else throw m},i}();t.ErrorHandler=n},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Messages={BadGetterArity:"Getter must not have any formal parameters",BadSetterArity:"Setter must have exactly one formal parameter",BadSetterRestParameter:"Setter function argument must not be a rest parameter",ConstructorIsAsync:"Class constructor may not be an async method",ConstructorSpecialMethod:"Class constructor may not be an accessor",DeclarationMissingInitializer:"Missing initializer in %0 declaration",DefaultRestParameter:"Unexpected token =",DuplicateBinding:"Duplicate binding %0",DuplicateConstructor:"A class may only have one constructor",DuplicateProtoProperty:"Duplicate __proto__ fields are not allowed in object literals",ForInOfLoopInitializer:"%0 loop variable declaration may not have an initializer",GeneratorInLegacyContext:"Generator declarations are not allowed in legacy contexts",IllegalBreak:"Illegal break statement",IllegalContinue:"Illegal continue statement",IllegalExportDeclaration:"Unexpected token",IllegalImportDeclaration:"Unexpected token",IllegalLanguageModeDirective:"Illegal 'use strict' directive in function with non-simple parameter list",IllegalReturn:"Illegal return statement",InvalidEscapedReservedWord:"Keyword must not contain escaped characters",InvalidHexEscapeSequence:"Invalid hexadecimal escape sequence",InvalidLHSInAssignment:"Invalid left-hand side in assignment",InvalidLHSInForIn:"Invalid left-hand side in for-in",InvalidLHSInForLoop:"Invalid left-hand side in for-loop",InvalidModuleSpecifier:"Unexpected token",InvalidRegExp:"Invalid regular expression",LetInLexicalBinding:"let is disallowed as a lexically bound name",MissingFromClause:"Unexpected token",MultipleDefaultsInSwitch:"More than one default clause in switch statement",NewlineAfterThrow:"Illegal newline after throw",NoAsAfterImportNamespace:"Unexpected token",NoCatchOrFinally:"Missing catch or finally after try",ParameterAfterRestParameter:"Rest parameter must be last formal parameter",Redeclaration:"%0 '%1' has already been declared",StaticPrototype:"Classes may not have static property named prototype",StrictCatchVariable:"Catch variable may not be eval or arguments in strict mode",StrictDelete:"Delete of an unqualified identifier in strict mode.",StrictFunction:"In strict mode code, functions can only be declared at top level or inside a block",StrictFunctionName:"Function name may not be eval or arguments in strict mode",StrictLHSAssignment:"Assignment to eval or arguments is not allowed in strict mode",StrictLHSPostfix:"Postfix increment/decrement may not have eval or arguments operand in strict mode",StrictLHSPrefix:"Prefix increment/decrement may not have eval or arguments operand in strict mode",StrictModeWith:"Strict mode code may not include a with statement",StrictOctalLiteral:"Octal literals are not allowed in strict mode.",StrictParamDupe:"Strict mode function may not have duplicate parameter names",StrictParamName:"Parameter name eval or arguments is not allowed in strict mode",StrictReservedWord:"Use of future reserved word in strict mode",StrictVarName:"Variable name may not be eval or arguments in strict mode",TemplateOctalLiteral:"Octal literals are not allowed in template strings.",UnexpectedEOS:"Unexpected end of input",UnexpectedIdentifier:"Unexpected identifier",UnexpectedNumber:"Unexpected number",UnexpectedReserved:"Unexpected reserved word",UnexpectedString:"Unexpected string",UnexpectedTemplate:"Unexpected quasi %0",UnexpectedToken:"Unexpected token %0",UnexpectedTokenIllegal:"Unexpected token ILLEGAL",UnknownLabel:"Undefined label '%0'",UnterminatedRegExp:"Invalid regular expression: missing /"}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(9),o=n(4),r=n(11);function u(d){return"0123456789abcdef".indexOf(d.toLowerCase())}function a(d){return"01234567".indexOf(d)}var m=function(){function d(s,l){this.source=s,this.errorHandler=l,this.trackComment=!1,this.isModule=!1,this.length=s.length,this.index=0,this.lineNumber=s.length>0?1:0,this.lineStart=0,this.curlyStack=[]}return d.prototype.saveState=function(){return{index:this.index,lineNumber:this.lineNumber,lineStart:this.lineStart}},d.prototype.restoreState=function(s){this.index=s.index,this.lineNumber=s.lineNumber,this.lineStart=s.lineStart},d.prototype.eof=function(){return this.index>=this.length},d.prototype.throwUnexpectedToken=function(s){return s===void 0&&(s=r.Messages.UnexpectedTokenIllegal),this.errorHandler.throwError(this.index,this.lineNumber,this.index-this.lineStart+1,s)},d.prototype.tolerateUnexpectedToken=function(s){s===void 0&&(s=r.Messages.UnexpectedTokenIllegal),this.errorHandler.tolerateError(this.index,this.lineNumber,this.index-this.lineStart+1,s)},d.prototype.skipSingleLineComment=function(s){var l=[],f,p;for(this.trackComment&&(l=[],f=this.index-s,p={start:{line:this.lineNumber,column:this.index-this.lineStart-s},end:{}});!this.eof();){var h=this.source.charCodeAt(this.index);if(++this.index,o.Character.isLineTerminator(h)){if(this.trackComment){p.end={line:this.lineNumber,column:this.index-this.lineStart-1};var y={multiLine:!1,slice:[f+s,this.index-1],range:[f,this.index-1],loc:p};l.push(y)}return h===13&&this.source.charCodeAt(this.index)===10&&++this.index,++this.lineNumber,this.lineStart=this.index,l}}if(this.trackComment){p.end={line:this.lineNumber,column:this.index-this.lineStart};var y={multiLine:!1,slice:[f+s,this.index],range:[f,this.index],loc:p};l.push(y)}return l},d.prototype.skipMultiLineComment=function(){var s=[],l,f;for(this.trackComment&&(s=[],l=this.index-2,f={start:{line:this.lineNumber,column:this.index-this.lineStart-2},end:{}});!this.eof();){var p=this.source.charCodeAt(this.index);if(o.Character.isLineTerminator(p))p===13&&this.source.charCodeAt(this.index+1)===10&&++this.index,++this.lineNumber,++this.index,this.lineStart=this.index;else if(p===42){if(this.source.charCodeAt(this.index+1)===47){if(this.index+=2,this.trackComment){f.end={line:this.lineNumber,column:this.index-this.lineStart};var h={multiLine:!0,slice:[l+2,this.index-2],range:[l,this.index],loc:f};s.push(h)}return s}++this.index}else++this.index}if(this.trackComment){f.end={line:this.lineNumber,column:this.index-this.lineStart};var h={multiLine:!0,slice:[l+2,this.index],range:[l,this.index],loc:f};s.push(h)}return this.tolerateUnexpectedToken(),s},d.prototype.scanComments=function(){var s;this.trackComment&&(s=[]);for(var l=this.index===0;!this.eof();){var f=this.source.charCodeAt(this.index);if(o.Character.isWhiteSpace(f))++this.index;else if(o.Character.isLineTerminator(f))++this.index,f===13&&this.source.charCodeAt(this.index)===10&&++this.index,++this.lineNumber,this.lineStart=this.index,l=!0;else if(f===47)if(f=this.source.charCodeAt(this.index+1),f===47){this.index+=2;var p=this.skipSingleLineComment(2);this.trackComment&&(s=s.concat(p)),l=!0}else if(f===42){this.index+=2;var p=this.skipMultiLineComment();this.trackComment&&(s=s.concat(p))}else break;else if(l&&f===45)if(this.source.charCodeAt(this.index+1)===45&&this.source.charCodeAt(this.index+2)===62){this.index+=3;var p=this.skipSingleLineComment(3);this.trackComment&&(s=s.concat(p))}else break;else if(f===60&&!this.isModule)if(this.source.slice(this.index+1,this.index+4)==="!--"){this.index+=4;var p=this.skipSingleLineComment(4);this.trackComment&&(s=s.concat(p))}else break;else break}return s},d.prototype.isFutureReservedWord=function(s){switch(s){case"enum":case"export":case"import":case"super":return!0;default:return!1}},d.prototype.isStrictModeReservedWord=function(s){switch(s){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"yield":case"let":return!0;default:return!1}},d.prototype.isRestrictedWord=function(s){return s==="eval"||s==="arguments"},d.prototype.isKeyword=function(s){switch(s.length){case 2:return s==="if"||s==="in"||s==="do";case 3:return s==="var"||s==="for"||s==="new"||s==="try"||s==="let";case 4:return s==="this"||s==="else"||s==="case"||s==="void"||s==="with"||s==="enum";case 5:return s==="while"||s==="break"||s==="catch"||s==="throw"||s==="const"||s==="yield"||s==="class"||s==="super";case 6:return s==="return"||s==="typeof"||s==="delete"||s==="switch"||s==="export"||s==="import";case 7:return s==="default"||s==="finally"||s==="extends";case 8:return s==="function"||s==="continue"||s==="debugger";case 10:return s==="instanceof";default:return!1}},d.prototype.codePointAt=function(s){var l=this.source.charCodeAt(s);if(l>=55296&&l<=56319){var f=this.source.charCodeAt(s+1);if(f>=56320&&f<=57343){var p=l;l=(p-55296)*1024+f-56320+65536}}return l},d.prototype.scanHexEscape=function(s){for(var l=s==="u"?4:2,f=0,p=0;p<l;++p)if(!this.eof()&&o.Character.isHexDigit(this.source.charCodeAt(this.index)))f=f*16+u(this.source[this.index++]);else return null;return String.fromCharCode(f)},d.prototype.scanUnicodeCodePointEscape=function(){var s=this.source[this.index],l=0;for(s==="}"&&this.throwUnexpectedToken();!this.eof()&&(s=this.source[this.index++],!!o.Character.isHexDigit(s.charCodeAt(0)));)l=l*16+u(s);return(l>1114111||s!=="}")&&this.throwUnexpectedToken(),o.Character.fromCodePoint(l)},d.prototype.getIdentifier=function(){for(var s=this.index++;!this.eof();){var l=this.source.charCodeAt(this.index);if(l===92)return this.index=s,this.getComplexIdentifier();if(l>=55296&&l<57343)return this.index=s,this.getComplexIdentifier();if(o.Character.isIdentifierPart(l))++this.index;else break}return this.source.slice(s,this.index)},d.prototype.getComplexIdentifier=function(){var s=this.codePointAt(this.index),l=o.Character.fromCodePoint(s);this.index+=l.length;var f;for(s===92&&(this.source.charCodeAt(this.index)!==117&&this.throwUnexpectedToken(),++this.index,this.source[this.index]==="{"?(++this.index,f=this.scanUnicodeCodePointEscape()):(f=this.scanHexEscape("u"),(f===null||f==="\\"||!o.Character.isIdentifierStart(f.charCodeAt(0)))&&this.throwUnexpectedToken()),l=f);!this.eof()&&(s=this.codePointAt(this.index),!!o.Character.isIdentifierPart(s));)f=o.Character.fromCodePoint(s),l+=f,this.index+=f.length,s===92&&(l=l.substr(0,l.length-1),this.source.charCodeAt(this.index)!==117&&this.throwUnexpectedToken(),++this.index,this.source[this.index]==="{"?(++this.index,f=this.scanUnicodeCodePointEscape()):(f=this.scanHexEscape("u"),(f===null||f==="\\"||!o.Character.isIdentifierPart(f.charCodeAt(0)))&&this.throwUnexpectedToken()),l+=f);return l},d.prototype.octalToDecimal=function(s){var l=s!=="0",f=a(s);return!this.eof()&&o.Character.isOctalDigit(this.source.charCodeAt(this.index))&&(l=!0,f=f*8+a(this.source[this.index++]),"0123".indexOf(s)>=0&&!this.eof()&&o.Character.isOctalDigit(this.source.charCodeAt(this.index))&&(f=f*8+a(this.source[this.index++]))),{code:f,octal:l}},d.prototype.scanIdentifier=function(){var s,l=this.index,f=this.source.charCodeAt(l)===92?this.getComplexIdentifier():this.getIdentifier();if(f.length===1?s=3:this.isKeyword(f)?s=4:f==="null"?s=5:f==="true"||f==="false"?s=1:s=3,s!==3&&l+f.length!==this.index){var p=this.index;this.index=l,this.tolerateUnexpectedToken(r.Messages.InvalidEscapedReservedWord),this.index=p}return{type:s,value:f,lineNumber:this.lineNumber,lineStart:this.lineStart,start:l,end:this.index}},d.prototype.scanPunctuator=function(){var s=this.index,l=this.source[this.index];switch(l){case"(":case"{":l==="{"&&this.curlyStack.push("{"),++this.index;break;case".":++this.index,this.source[this.index]==="."&&this.source[this.index+1]==="."&&(this.index+=2,l="...");break;case"}":++this.index,this.curlyStack.pop();break;case")":case";":case",":case"[":case"]":case":":case"?":case"~":++this.index;break;default:l=this.source.substr(this.index,4),l===">>>="?this.index+=4:(l=l.substr(0,3),l==="==="||l==="!=="||l===">>>"||l==="<<="||l===">>="||l==="**="?this.index+=3:(l=l.substr(0,2),l==="&&"||l==="||"||l==="=="||l==="!="||l==="+="||l==="-="||l==="*="||l==="/="||l==="++"||l==="--"||l==="<<"||l===">>"||l==="&="||l==="|="||l==="^="||l==="%="||l==="<="||l===">="||l==="=>"||l==="**"?this.index+=2:(l=this.source[this.index],"<>=!+-*%&|^/".indexOf(l)>=0&&++this.index)))}return this.index===s&&this.throwUnexpectedToken(),{type:7,value:l,lineNumber:this.lineNumber,lineStart:this.lineStart,start:s,end:this.index}},d.prototype.scanHexLiteral=function(s){for(var l="";!this.eof()&&o.Character.isHexDigit(this.source.charCodeAt(this.index));)l+=this.source[this.index++];return l.length===0&&this.throwUnexpectedToken(),o.Character.isIdentifierStart(this.source.charCodeAt(this.index))&&this.throwUnexpectedToken(),{type:6,value:parseInt("0x"+l,16),lineNumber:this.lineNumber,lineStart:this.lineStart,start:s,end:this.index}},d.prototype.scanBinaryLiteral=function(s){for(var l="",f;!this.eof()&&(f=this.source[this.index],!(f!=="0"&&f!=="1"));)l+=this.source[this.index++];return l.length===0&&this.throwUnexpectedToken(),this.eof()||(f=this.source.charCodeAt(this.index),(o.Character.isIdentifierStart(f)||o.Character.isDecimalDigit(f))&&this.throwUnexpectedToken()),{type:6,value:parseInt(l,2),lineNumber:this.lineNumber,lineStart:this.lineStart,start:s,end:this.index}},d.prototype.scanOctalLiteral=function(s,l){var f="",p=!1;for(o.Character.isOctalDigit(s.charCodeAt(0))?(p=!0,f="0"+this.source[this.index++]):++this.index;!this.eof()&&o.Character.isOctalDigit(this.source.charCodeAt(this.index));)f+=this.source[this.index++];return!p&&f.length===0&&this.throwUnexpectedToken(),(o.Character.isIdentifierStart(this.source.charCodeAt(this.index))||o.Character.isDecimalDigit(this.source.charCodeAt(this.index)))&&this.throwUnexpectedToken(),{type:6,value:parseInt(f,8),octal:p,lineNumber:this.lineNumber,lineStart:this.lineStart,start:l,end:this.index}},d.prototype.isImplicitOctalLiteral=function(){for(var s=this.index+1;s<this.length;++s){var l=this.source[s];if(l==="8"||l==="9")return!1;if(!o.Character.isOctalDigit(l.charCodeAt(0)))return!0}return!0},d.prototype.scanNumericLiteral=function(){var s=this.index,l=this.source[s];i.assert(o.Character.isDecimalDigit(l.charCodeAt(0))||l===".","Numeric literal must start with a decimal digit or a decimal point");var f="";if(l!=="."){if(f=this.source[this.index++],l=this.source[this.index],f==="0"){if(l==="x"||l==="X")return++this.index,this.scanHexLiteral(s);if(l==="b"||l==="B")return++this.index,this.scanBinaryLiteral(s);if(l==="o"||l==="O")return this.scanOctalLiteral(l,s);if(l&&o.Character.isOctalDigit(l.charCodeAt(0))&&this.isImplicitOctalLiteral())return this.scanOctalLiteral(l,s)}for(;o.Character.isDecimalDigit(this.source.charCodeAt(this.index));)f+=this.source[this.index++];l=this.source[this.index]}if(l==="."){for(f+=this.source[this.index++];o.Character.isDecimalDigit(this.source.charCodeAt(this.index));)f+=this.source[this.index++];l=this.source[this.index]}if(l==="e"||l==="E")if(f+=this.source[this.index++],l=this.source[this.index],(l==="+"||l==="-")&&(f+=this.source[this.index++]),o.Character.isDecimalDigit(this.source.charCodeAt(this.index)))for(;o.Character.isDecimalDigit(this.source.charCodeAt(this.index));)f+=this.source[this.index++];else this.throwUnexpectedToken();return o.Character.isIdentifierStart(this.source.charCodeAt(this.index))&&this.throwUnexpectedToken(),{type:6,value:parseFloat(f),lineNumber:this.lineNumber,lineStart:this.lineStart,start:s,end:this.index}},d.prototype.scanStringLiteral=function(){var s=this.index,l=this.source[s];i.assert(l==="'"||l==='"',"String literal must starts with a quote"),++this.index;for(var f=!1,p="";!this.eof();){var h=this.source[this.index++];if(h===l){l="";break}else if(h==="\\")if(h=this.source[this.index++],!h||!o.Character.isLineTerminator(h.charCodeAt(0)))switch(h){case"u":if(this.source[this.index]==="{")++this.index,p+=this.scanUnicodeCodePointEscape();else{var y=this.scanHexEscape(h);y===null&&this.throwUnexpectedToken(),p+=y}break;case"x":var b=this.scanHexEscape(h);b===null&&this.throwUnexpectedToken(r.Messages.InvalidHexEscapeSequence),p+=b;break;case"n":p+=`
|
|
`;break;case"r":p+="\r";break;case"t":p+=" ";break;case"b":p+="\b";break;case"f":p+="\f";break;case"v":p+="\v";break;case"8":case"9":p+=h,this.tolerateUnexpectedToken();break;default:if(h&&o.Character.isOctalDigit(h.charCodeAt(0))){var E=this.octalToDecimal(h);f=E.octal||f,p+=String.fromCharCode(E.code)}else p+=h;break}else++this.lineNumber,h==="\r"&&this.source[this.index]===`
|
|
`&&++this.index,this.lineStart=this.index;else{if(o.Character.isLineTerminator(h.charCodeAt(0)))break;p+=h}}return l!==""&&(this.index=s,this.throwUnexpectedToken()),{type:8,value:p,octal:f,lineNumber:this.lineNumber,lineStart:this.lineStart,start:s,end:this.index}},d.prototype.scanTemplate=function(){var s="",l=!1,f=this.index,p=this.source[f]==="`",h=!1,y=2;for(++this.index;!this.eof();){var b=this.source[this.index++];if(b==="`"){y=1,h=!0,l=!0;break}else if(b==="$"){if(this.source[this.index]==="{"){this.curlyStack.push("${"),++this.index,l=!0;break}s+=b}else if(b==="\\")if(b=this.source[this.index++],o.Character.isLineTerminator(b.charCodeAt(0)))++this.lineNumber,b==="\r"&&this.source[this.index]===`
|
|
`&&++this.index,this.lineStart=this.index;else switch(b){case"n":s+=`
|
|
`;break;case"r":s+="\r";break;case"t":s+=" ";break;case"u":if(this.source[this.index]==="{")++this.index,s+=this.scanUnicodeCodePointEscape();else{var E=this.index,v=this.scanHexEscape(b);v!==null?s+=v:(this.index=E,s+=b)}break;case"x":var S=this.scanHexEscape(b);S===null&&this.throwUnexpectedToken(r.Messages.InvalidHexEscapeSequence),s+=S;break;case"b":s+="\b";break;case"f":s+="\f";break;case"v":s+="\v";break;default:b==="0"?(o.Character.isDecimalDigit(this.source.charCodeAt(this.index))&&this.throwUnexpectedToken(r.Messages.TemplateOctalLiteral),s+="\0"):o.Character.isOctalDigit(b.charCodeAt(0))?this.throwUnexpectedToken(r.Messages.TemplateOctalLiteral):s+=b;break}else o.Character.isLineTerminator(b.charCodeAt(0))?(++this.lineNumber,b==="\r"&&this.source[this.index]===`
|
|
`&&++this.index,this.lineStart=this.index,s+=`
|
|
`):s+=b}return l||this.throwUnexpectedToken(),p||this.curlyStack.pop(),{type:10,value:this.source.slice(f+1,this.index-y),cooked:s,head:p,tail:h,lineNumber:this.lineNumber,lineStart:this.lineStart,start:f,end:this.index}},d.prototype.testRegExp=function(s,l){var f="\uFFFF",p=s,h=this;l.indexOf("u")>=0&&(p=p.replace(/\\u\{([0-9a-fA-F]+)\}|\\u([a-fA-F0-9]{4})/g,function(y,b,E){var v=parseInt(b||E,16);return v>1114111&&h.throwUnexpectedToken(r.Messages.InvalidRegExp),v<=65535?String.fromCharCode(v):f}).replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,f));try{RegExp(p)}catch{this.throwUnexpectedToken(r.Messages.InvalidRegExp)}try{return new RegExp(s,l)}catch{return null}},d.prototype.scanRegExpBody=function(){var s=this.source[this.index];i.assert(s==="/","Regular expression literal must start with a slash");for(var l=this.source[this.index++],f=!1,p=!1;!this.eof();)if(s=this.source[this.index++],l+=s,s==="\\")s=this.source[this.index++],o.Character.isLineTerminator(s.charCodeAt(0))&&this.throwUnexpectedToken(r.Messages.UnterminatedRegExp),l+=s;else if(o.Character.isLineTerminator(s.charCodeAt(0)))this.throwUnexpectedToken(r.Messages.UnterminatedRegExp);else if(f)s==="]"&&(f=!1);else if(s==="/"){p=!0;break}else s==="["&&(f=!0);return p||this.throwUnexpectedToken(r.Messages.UnterminatedRegExp),l.substr(1,l.length-2)},d.prototype.scanRegExpFlags=function(){for(var s="",l="";!this.eof();){var f=this.source[this.index];if(!o.Character.isIdentifierPart(f.charCodeAt(0)))break;if(++this.index,f==="\\"&&!this.eof())if(f=this.source[this.index],f==="u"){++this.index;var p=this.index,h=this.scanHexEscape("u");if(h!==null)for(l+=h,s+="\\u";p<this.index;++p)s+=this.source[p];else this.index=p,l+="u",s+="\\u";this.tolerateUnexpectedToken()}else s+="\\",this.tolerateUnexpectedToken();else l+=f,s+=f}return l},d.prototype.scanRegExp=function(){var s=this.index,l=this.scanRegExpBody(),f=this.scanRegExpFlags(),p=this.testRegExp(l,f);return{type:9,value:"",pattern:l,flags:f,regex:p,lineNumber:this.lineNumber,lineStart:this.lineStart,start:s,end:this.index}},d.prototype.lex=function(){if(this.eof())return{type:2,value:"",lineNumber:this.lineNumber,lineStart:this.lineStart,start:this.index,end:this.index};var s=this.source.charCodeAt(this.index);return o.Character.isIdentifierStart(s)?this.scanIdentifier():s===40||s===41||s===59?this.scanPunctuator():s===39||s===34?this.scanStringLiteral():s===46?o.Character.isDecimalDigit(this.source.charCodeAt(this.index+1))?this.scanNumericLiteral():this.scanPunctuator():o.Character.isDecimalDigit(s)?this.scanNumericLiteral():s===96||s===125&&this.curlyStack[this.curlyStack.length-1]==="${"?this.scanTemplate():s>=55296&&s<57343&&o.Character.isIdentifierStart(this.codePointAt(this.index))?this.scanIdentifier():this.scanPunctuator()},d}();t.Scanner=m},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TokenName={},t.TokenName[1]="Boolean",t.TokenName[2]="<end>",t.TokenName[3]="Identifier",t.TokenName[4]="Keyword",t.TokenName[5]="Null",t.TokenName[6]="Numeric",t.TokenName[7]="Punctuator",t.TokenName[8]="String",t.TokenName[9]="RegularExpression",t.TokenName[10]="Template"},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.XHTMLEntities={quot:'"',amp:"&",apos:"'",gt:">",nbsp:"\xA0",iexcl:"\xA1",cent:"\xA2",pound:"\xA3",curren:"\xA4",yen:"\xA5",brvbar:"\xA6",sect:"\xA7",uml:"\xA8",copy:"\xA9",ordf:"\xAA",laquo:"\xAB",not:"\xAC",shy:"\xAD",reg:"\xAE",macr:"\xAF",deg:"\xB0",plusmn:"\xB1",sup2:"\xB2",sup3:"\xB3",acute:"\xB4",micro:"\xB5",para:"\xB6",middot:"\xB7",cedil:"\xB8",sup1:"\xB9",ordm:"\xBA",raquo:"\xBB",frac14:"\xBC",frac12:"\xBD",frac34:"\xBE",iquest:"\xBF",Agrave:"\xC0",Aacute:"\xC1",Acirc:"\xC2",Atilde:"\xC3",Auml:"\xC4",Aring:"\xC5",AElig:"\xC6",Ccedil:"\xC7",Egrave:"\xC8",Eacute:"\xC9",Ecirc:"\xCA",Euml:"\xCB",Igrave:"\xCC",Iacute:"\xCD",Icirc:"\xCE",Iuml:"\xCF",ETH:"\xD0",Ntilde:"\xD1",Ograve:"\xD2",Oacute:"\xD3",Ocirc:"\xD4",Otilde:"\xD5",Ouml:"\xD6",times:"\xD7",Oslash:"\xD8",Ugrave:"\xD9",Uacute:"\xDA",Ucirc:"\xDB",Uuml:"\xDC",Yacute:"\xDD",THORN:"\xDE",szlig:"\xDF",agrave:"\xE0",aacute:"\xE1",acirc:"\xE2",atilde:"\xE3",auml:"\xE4",aring:"\xE5",aelig:"\xE6",ccedil:"\xE7",egrave:"\xE8",eacute:"\xE9",ecirc:"\xEA",euml:"\xEB",igrave:"\xEC",iacute:"\xED",icirc:"\xEE",iuml:"\xEF",eth:"\xF0",ntilde:"\xF1",ograve:"\xF2",oacute:"\xF3",ocirc:"\xF4",otilde:"\xF5",ouml:"\xF6",divide:"\xF7",oslash:"\xF8",ugrave:"\xF9",uacute:"\xFA",ucirc:"\xFB",uuml:"\xFC",yacute:"\xFD",thorn:"\xFE",yuml:"\xFF",OElig:"\u0152",oelig:"\u0153",Scaron:"\u0160",scaron:"\u0161",Yuml:"\u0178",fnof:"\u0192",circ:"\u02C6",tilde:"\u02DC",Alpha:"\u0391",Beta:"\u0392",Gamma:"\u0393",Delta:"\u0394",Epsilon:"\u0395",Zeta:"\u0396",Eta:"\u0397",Theta:"\u0398",Iota:"\u0399",Kappa:"\u039A",Lambda:"\u039B",Mu:"\u039C",Nu:"\u039D",Xi:"\u039E",Omicron:"\u039F",Pi:"\u03A0",Rho:"\u03A1",Sigma:"\u03A3",Tau:"\u03A4",Upsilon:"\u03A5",Phi:"\u03A6",Chi:"\u03A7",Psi:"\u03A8",Omega:"\u03A9",alpha:"\u03B1",beta:"\u03B2",gamma:"\u03B3",delta:"\u03B4",epsilon:"\u03B5",zeta:"\u03B6",eta:"\u03B7",theta:"\u03B8",iota:"\u03B9",kappa:"\u03BA",lambda:"\u03BB",mu:"\u03BC",nu:"\u03BD",xi:"\u03BE",omicron:"\u03BF",pi:"\u03C0",rho:"\u03C1",sigmaf:"\u03C2",sigma:"\u03C3",tau:"\u03C4",upsilon:"\u03C5",phi:"\u03C6",chi:"\u03C7",psi:"\u03C8",omega:"\u03C9",thetasym:"\u03D1",upsih:"\u03D2",piv:"\u03D6",ensp:"\u2002",emsp:"\u2003",thinsp:"\u2009",zwnj:"\u200C",zwj:"\u200D",lrm:"\u200E",rlm:"\u200F",ndash:"\u2013",mdash:"\u2014",lsquo:"\u2018",rsquo:"\u2019",sbquo:"\u201A",ldquo:"\u201C",rdquo:"\u201D",bdquo:"\u201E",dagger:"\u2020",Dagger:"\u2021",bull:"\u2022",hellip:"\u2026",permil:"\u2030",prime:"\u2032",Prime:"\u2033",lsaquo:"\u2039",rsaquo:"\u203A",oline:"\u203E",frasl:"\u2044",euro:"\u20AC",image:"\u2111",weierp:"\u2118",real:"\u211C",trade:"\u2122",alefsym:"\u2135",larr:"\u2190",uarr:"\u2191",rarr:"\u2192",darr:"\u2193",harr:"\u2194",crarr:"\u21B5",lArr:"\u21D0",uArr:"\u21D1",rArr:"\u21D2",dArr:"\u21D3",hArr:"\u21D4",forall:"\u2200",part:"\u2202",exist:"\u2203",empty:"\u2205",nabla:"\u2207",isin:"\u2208",notin:"\u2209",ni:"\u220B",prod:"\u220F",sum:"\u2211",minus:"\u2212",lowast:"\u2217",radic:"\u221A",prop:"\u221D",infin:"\u221E",ang:"\u2220",and:"\u2227",or:"\u2228",cap:"\u2229",cup:"\u222A",int:"\u222B",there4:"\u2234",sim:"\u223C",cong:"\u2245",asymp:"\u2248",ne:"\u2260",equiv:"\u2261",le:"\u2264",ge:"\u2265",sub:"\u2282",sup:"\u2283",nsub:"\u2284",sube:"\u2286",supe:"\u2287",oplus:"\u2295",otimes:"\u2297",perp:"\u22A5",sdot:"\u22C5",lceil:"\u2308",rceil:"\u2309",lfloor:"\u230A",rfloor:"\u230B",loz:"\u25CA",spades:"\u2660",clubs:"\u2663",hearts:"\u2665",diams:"\u2666",lang:"\u27E8",rang:"\u27E9"}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(10),o=n(12),r=n(13),u=function(){function m(){this.values=[],this.curly=this.paren=-1}return m.prototype.beforeFunctionExpression=function(d){return["(","{","[","in","typeof","instanceof","new","return","case","delete","throw","void","=","+=","-=","*=","**=","/=","%=","<<=",">>=",">>>=","&=","|=","^=",",","+","-","*","**","/","%","++","--","<<",">>",">>>","&","|","^","!","~","&&","||","?",":","===","==",">=","<=","<",">","!=","!=="].indexOf(d)>=0},m.prototype.isRegexStart=function(){var d=this.values[this.values.length-1],s=d!==null;switch(d){case"this":case"]":s=!1;break;case")":var l=this.values[this.paren-1];s=l==="if"||l==="while"||l==="for"||l==="with";break;case"}":if(s=!1,this.values[this.curly-3]==="function"){var f=this.values[this.curly-4];s=f?!this.beforeFunctionExpression(f):!1}else if(this.values[this.curly-4]==="function"){var f=this.values[this.curly-5];s=f?!this.beforeFunctionExpression(f):!0}break;default:break}return s},m.prototype.push=function(d){d.type===7||d.type===4?(d.value==="{"?this.curly=this.values.length:d.value==="("&&(this.paren=this.values.length),this.values.push(d.value)):this.values.push(null)},m}(),a=function(){function m(d,s){this.errorHandler=new i.ErrorHandler,this.errorHandler.tolerant=s?typeof s.tolerant=="boolean"&&s.tolerant:!1,this.scanner=new o.Scanner(d,this.errorHandler),this.scanner.trackComment=s?typeof s.comment=="boolean"&&s.comment:!1,this.trackRange=s?typeof s.range=="boolean"&&s.range:!1,this.trackLoc=s?typeof s.loc=="boolean"&&s.loc:!1,this.buffer=[],this.reader=new u}return m.prototype.errors=function(){return this.errorHandler.errors},m.prototype.getNextToken=function(){if(this.buffer.length===0){var d=this.scanner.scanComments();if(this.scanner.trackComment)for(var s=0;s<d.length;++s){var l=d[s],f=this.scanner.source.slice(l.slice[0],l.slice[1]),p={type:l.multiLine?"BlockComment":"LineComment",value:f};this.trackRange&&(p.range=l.range),this.trackLoc&&(p.loc=l.loc),this.buffer.push(p)}if(!this.scanner.eof()){var h=void 0;this.trackLoc&&(h={start:{line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart},end:{}});var y=this.scanner.source[this.scanner.index]==="/"&&this.reader.isRegexStart(),b=y?this.scanner.scanRegExp():this.scanner.lex();this.reader.push(b);var E={type:r.TokenName[b.type],value:this.scanner.source.slice(b.start,b.end)};if(this.trackRange&&(E.range=[b.start,b.end]),this.trackLoc&&(h.end={line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart},E.loc=h),b.type===9){var v=b.pattern,S=b.flags;E.regex={pattern:v,flags:S}}this.buffer.push(E)}}return this.buffer.shift()},m}();t.Tokenizer=a}])})});var jE=me(Tp=>{"use strict";Object.defineProperty(Tp,"__esModule",{value:!0});Tp.parse=void 0;var qh=vs();function NL(e,t){var n=[],i=Vh().parse(e,{loc:!0,locations:!0,comment:!0,onComment:n,range:qh.getOption(t,"range",!1),tolerant:qh.getOption(t,"tolerant",!0),tokens:!0,jsx:qh.getOption(t,"jsx",!1)});return Array.isArray(i.comments)||(i.comments=n),i}Tp.parse=NL});var Sp=me(Ep=>{"use strict";Object.defineProperty(Ep,"__esModule",{value:!0});Ep.normalize=void 0;var Wh={parser:jE(),tabWidth:4,useTabs:!1,reuseWhitespace:!0,lineTerminator:yt("os").EOL||`
|
|
`,wrapColumn:74,sourceFileName:null,sourceMapName:null,sourceRoot:null,inputSourceMap:null,range:!1,tolerant:!0,quote:null,trailingComma:!1,arrayBracketSpacing:!1,objectCurlySpacing:!0,arrowParensAlways:!1,flowObjectCommas:!0,tokens:!0},FL=Wh.hasOwnProperty;function jL(e){var t=e||Wh;function n(i){return FL.call(t,i)?t[i]:Wh[i]}return{tabWidth:+n("tabWidth"),useTabs:!!n("useTabs"),reuseWhitespace:!!n("reuseWhitespace"),lineTerminator:n("lineTerminator"),wrapColumn:Math.max(n("wrapColumn"),0),sourceFileName:n("sourceFileName"),sourceMapName:n("sourceMapName"),sourceRoot:n("sourceRoot"),inputSourceMap:n("inputSourceMap"),parser:n("esprima")||n("parser"),range:n("range"),tolerant:n("tolerant"),quote:n("quote"),trailingComma:n("trailingComma"),arrayBracketSpacing:n("arrayBracketSpacing"),objectCurlySpacing:n("objectCurlySpacing"),arrowParensAlways:n("arrowParensAlways"),flowObjectCommas:n("flowObjectCommas"),tokens:!!n("tokens")}}Ep.normalize=jL});var ME=me(Kh=>{"use strict";Object.defineProperty(Kh,"__esModule",{value:!0});var LL=(gr(),Er(br)),wa=LL.__importDefault(yt("assert")),Gs=vs(),ML=function(){function e(t,n,i){i===void 0&&(i=n),this.sourceLines=t,this.sourceLoc=n,this.targetLoc=i}return e.prototype.slice=function(t,n,i){i===void 0&&(i=t.lastPos());var o=this.sourceLines,r=this.sourceLoc,u=this.targetLoc;function a(m){var d=r[m],s=u[m],l=n;return m==="end"?l=i:wa.default.strictEqual(m,"start"),RL(o,d,t,s,l)}if(Gs.comparePos(n,u.start)<=0)if(Gs.comparePos(u.end,i)<=0)u={start:zs(u.start,n.line,n.column),end:zs(u.end,n.line,n.column)};else{if(Gs.comparePos(i,u.start)<=0)return null;r={start:r.start,end:a("end")},u={start:zs(u.start,n.line,n.column),end:zs(i,n.line,n.column)}}else{if(Gs.comparePos(u.end,n)<=0)return null;Gs.comparePos(u.end,i)<=0?(r={start:a("start"),end:r.end},u={start:{line:1,column:0},end:zs(u.end,n.line,n.column)}):(r={start:a("start"),end:a("end")},u={start:{line:1,column:0},end:zs(i,n.line,n.column)})}return new e(this.sourceLines,r,u)},e.prototype.add=function(t,n){return new e(this.sourceLines,this.sourceLoc,{start:LE(this.targetLoc.start,t,n),end:LE(this.targetLoc.end,t,n)})},e.prototype.subtract=function(t,n){return new e(this.sourceLines,this.sourceLoc,{start:zs(this.targetLoc.start,t,n),end:zs(this.targetLoc.end,t,n)})},e.prototype.indent=function(t,n,i){if(n===void 0&&(n=!1),i===void 0&&(i=!1),t===0)return this;var o=this.targetLoc,r=o.start.line,u=o.end.line;if(n&&r===1&&u===1)return this;if(o={start:o.start,end:o.end},!n||r>1){var a=o.start.column+t;o.start={line:r,column:i?Math.max(0,a):a}}if(!n||u>1){var m=o.end.column+t;o.end={line:u,column:i?Math.max(0,m):m}}return new e(this.sourceLines,this.sourceLoc,o)},e}();Kh.default=ML;function LE(e,t,n){return{line:e.line+t-1,column:e.line===1?e.column+n:e.column}}function zs(e,t,n){return{line:e.line-t+1,column:e.line===t?e.column-n:e.column}}function RL(e,t,n,i,o){var r=Gs.comparePos(i,o);if(r===0)return t;var u,a;if(r<0){u=e.skipSpaces(t)||e.lastPos(),a=n.skipSpaces(i)||n.lastPos();var m=o.line-a.line;for(u.line+=m,a.line+=m,m>0?(u.column=0,a.column=0):wa.default.strictEqual(m,0);Gs.comparePos(a,o)<0&&n.nextPos(a,!0);)wa.default.ok(e.nextPos(u,!0)),wa.default.strictEqual(e.charAt(u),n.charAt(a))}else{u=e.skipSpaces(t,!0)||e.firstPos(),a=n.skipSpaces(i,!0)||n.firstPos();var m=o.line-a.line;for(u.line+=m,a.line+=m,m<0?(u.column=e.getLineLength(u.line),a.column=n.getLineLength(a.line)):wa.default.strictEqual(m,0);Gs.comparePos(o,a)<0&&n.prevPos(a,!0);)wa.default.ok(e.prevPos(u,!0)),wa.default.strictEqual(e.charAt(u),n.charAt(a))}return u}});var Cl=me(es=>{"use strict";Object.defineProperty(es,"__esModule",{value:!0});es.concat=es.fromString=es.countSpaces=es.Lines=void 0;var Ti=(gr(),Er(br)),an=Ti.__importDefault(yt("assert")),BL=Ti.__importDefault(Rh()),BE=Sp(),RE=vs(),UL=Ti.__importDefault(ME()),zh=function(){function e(t,n){n===void 0&&(n=null),this.infos=t,this.mappings=[],this.cachedSourceMap=null,this.cachedTabWidth=void 0,an.default.ok(t.length>0),this.length=t.length,this.name=n||null,this.name&&this.mappings.push(new UL.default(this,{start:this.firstPos(),end:this.lastPos()}))}return e.prototype.toString=function(t){return this.sliceString(this.firstPos(),this.lastPos(),t)},e.prototype.getSourceMap=function(t,n){if(!t)return null;var i=this;function o(a){return a=a||{},a.file=t,n&&(a.sourceRoot=n),a}if(i.cachedSourceMap)return o(i.cachedSourceMap.toJSON());var r=new BL.default.SourceMapGenerator(o()),u={};return i.mappings.forEach(function(a){for(var m=a.sourceLines.skipSpaces(a.sourceLoc.start)||a.sourceLines.lastPos(),d=i.skipSpaces(a.targetLoc.start)||i.lastPos();RE.comparePos(m,a.sourceLoc.end)<0&&RE.comparePos(d,a.targetLoc.end)<0;){var s=a.sourceLines.charAt(m),l=i.charAt(d);an.default.strictEqual(s,l);var f=a.sourceLines.name;if(r.addMapping({source:f,original:{line:m.line,column:m.column},generated:{line:d.line,column:d.column}}),!Gh.call(u,f)){var p=a.sourceLines.toString();r.setSourceContent(f,p),u[f]=p}i.nextPos(d,!0),a.sourceLines.nextPos(m,!0)}}),i.cachedSourceMap=r,r.toJSON()},e.prototype.bootstrapCharAt=function(t){an.default.strictEqual(typeof t,"object"),an.default.strictEqual(typeof t.line,"number"),an.default.strictEqual(typeof t.column,"number");var n=t.line,i=t.column,o=this.toString().split(Hh),r=o[n-1];return typeof r>"u"?"":i===r.length&&n<o.length?`
|
|
`:i>=r.length?"":r.charAt(i)},e.prototype.charAt=function(t){an.default.strictEqual(typeof t,"object"),an.default.strictEqual(typeof t.line,"number"),an.default.strictEqual(typeof t.column,"number");var n=t.line,i=t.column,o=this,r=o.infos,u=r[n-1],a=i;if(typeof u>"u"||a<0)return"";var m=this.getIndentAt(n);return a<m?" ":(a+=u.sliceStart-m,a===u.sliceEnd&&n<this.length?`
|
|
`:a>=u.sliceEnd?"":u.line.charAt(a))},e.prototype.stripMargin=function(t,n){if(t===0)return this;if(an.default.ok(t>0,"negative margin: "+t),n&&this.length===1)return this;var i=new e(this.infos.map(function(r,u){return r.line&&(u>0||!n)&&(r=Ti.__assign(Ti.__assign({},r),{indent:Math.max(0,r.indent-t)})),r}));if(this.mappings.length>0){var o=i.mappings;an.default.strictEqual(o.length,0),this.mappings.forEach(function(r){o.push(r.indent(t,n,!0))})}return i},e.prototype.indent=function(t){if(t===0)return this;var n=new e(this.infos.map(function(o){return o.line&&!o.locked&&(o=Ti.__assign(Ti.__assign({},o),{indent:o.indent+t})),o}));if(this.mappings.length>0){var i=n.mappings;an.default.strictEqual(i.length,0),this.mappings.forEach(function(o){i.push(o.indent(t))})}return n},e.prototype.indentTail=function(t){if(t===0)return this;if(this.length<2)return this;var n=new e(this.infos.map(function(o,r){return r>0&&o.line&&!o.locked&&(o=Ti.__assign(Ti.__assign({},o),{indent:o.indent+t})),o}));if(this.mappings.length>0){var i=n.mappings;an.default.strictEqual(i.length,0),this.mappings.forEach(function(o){i.push(o.indent(t,!0))})}return n},e.prototype.lockIndentTail=function(){return this.length<2?this:new e(this.infos.map(function(t,n){return Ti.__assign(Ti.__assign({},t),{locked:n>0})}))},e.prototype.getIndentAt=function(t){return an.default.ok(t>=1,"no line "+t+" (line numbers start from 1)"),Math.max(this.infos[t-1].indent,0)},e.prototype.guessTabWidth=function(){if(typeof this.cachedTabWidth=="number")return this.cachedTabWidth;for(var t=[],n=0,i=1,o=this.length;i<=o;++i){var r=this.infos[i-1],u=r.line.slice(r.sliceStart,r.sliceEnd);if(!lo(u)){var a=Math.abs(r.indent-n);t[a]=~~t[a]+1,n=r.indent}}for(var m=-1,d=2,s=1;s<t.length;s+=1)Gh.call(t,s)&&t[s]>m&&(m=t[s],d=s);return this.cachedTabWidth=d},e.prototype.startsWithComment=function(){if(this.infos.length===0)return!1;var t=this.infos[0],n=t.sliceStart,i=t.sliceEnd,o=t.line.slice(n,i).trim();return o.length===0||o.slice(0,2)==="//"||o.slice(0,2)==="/*"},e.prototype.isOnlyWhitespace=function(){return lo(this.toString())},e.prototype.isPrecededOnlyByWhitespace=function(t){var n=this.infos[t.line-1],i=Math.max(n.indent,0),o=t.column-i;if(o<=0)return!0;var r=n.sliceStart,u=Math.min(r+o,n.sliceEnd),a=n.line.slice(r,u);return lo(a)},e.prototype.getLineLength=function(t){var n=this.infos[t-1];return this.getIndentAt(t)+n.sliceEnd-n.sliceStart},e.prototype.nextPos=function(t,n){n===void 0&&(n=!1);var i=Math.max(t.line,0),o=Math.max(t.column,0);return o<this.getLineLength(i)?(t.column+=1,n?!!this.skipSpaces(t,!1,!0):!0):i<this.length?(t.line+=1,t.column=0,n?!!this.skipSpaces(t,!1,!0):!0):!1},e.prototype.prevPos=function(t,n){n===void 0&&(n=!1);var i=t.line,o=t.column;if(o<1){if(i-=1,i<1)return!1;o=this.getLineLength(i)}else o=Math.min(o-1,this.getLineLength(i));return t.line=i,t.column=o,n?!!this.skipSpaces(t,!0,!0):!0},e.prototype.firstPos=function(){return{line:1,column:0}},e.prototype.lastPos=function(){return{line:this.length,column:this.getLineLength(this.length)}},e.prototype.skipSpaces=function(t,n,i){if(n===void 0&&(n=!1),i===void 0&&(i=!1),t?t=i?t:{line:t.line,column:t.column}:n?t=this.lastPos():t=this.firstPos(),n){for(;this.prevPos(t);)if(!lo(this.charAt(t))&&this.nextPos(t))return t;return null}else{for(;lo(this.charAt(t));)if(!this.nextPos(t))return null;return t}},e.prototype.trimLeft=function(){var t=this.skipSpaces(this.firstPos(),!1,!0);return t?this.slice(t):Ca},e.prototype.trimRight=function(){var t=this.skipSpaces(this.lastPos(),!0,!0);return t?this.slice(this.firstPos(),t):Ca},e.prototype.trim=function(){var t=this.skipSpaces(this.firstPos(),!1,!0);if(t===null)return Ca;var n=this.skipSpaces(this.lastPos(),!0,!0);return n===null?Ca:this.slice(t,n)},e.prototype.eachPos=function(t,n,i){n===void 0&&(n=this.firstPos()),i===void 0&&(i=!1);var o=this.firstPos();if(n&&(o.line=n.line,o.column=n.column),!(i&&!this.skipSpaces(o,!1,!0)))do t.call(this,o);while(this.nextPos(o,i))},e.prototype.bootstrapSlice=function(t,n){var i=this.toString().split(Hh).slice(t.line-1,n.line);return i.length>0&&(i.push(i.pop().slice(0,n.column)),i[0]=i[0].slice(t.column)),_p(i.join(`
|
|
`))},e.prototype.slice=function(t,n){if(!n){if(!t)return this;n=this.lastPos()}if(!t)throw new Error("cannot slice with end but not start");var i=this.infos.slice(t.line-1,n.line);t.line===n.line?i[0]=uo(i[0],t.column,n.column):(an.default.ok(t.line<n.line),i[0]=uo(i[0],t.column),i.push(uo(i.pop(),0,n.column)));var o=new e(i);if(this.mappings.length>0){var r=o.mappings;an.default.strictEqual(r.length,0),this.mappings.forEach(function(u){var a=u.slice(this,t,n);a&&r.push(a)},this)}return o},e.prototype.bootstrapSliceString=function(t,n,i){return this.slice(t,n).toString(i)},e.prototype.sliceString=function(t,n,i){t===void 0&&(t=this.firstPos()),n===void 0&&(n=this.lastPos());for(var o=BE.normalize(i),r=o.tabWidth,u=o.useTabs,a=o.reuseWhitespace,m=o.lineTerminator,d=[],s=t.line;s<=n.line;++s){var l=this.infos[s-1];s===t.line?s===n.line?l=uo(l,t.column,n.column):l=uo(l,t.column):s===n.line&&(l=uo(l,0,n.column));var f=Math.max(l.indent,0),p=l.line.slice(0,l.sliceStart);if(a&&lo(p)&&Xh(p,r)===f){d.push(l.line.slice(0,l.sliceEnd));continue}var h=0,y=f;u&&(h=Math.floor(f/r),y-=h*r);var b="";h>0&&(b+=new Array(h+1).join(" ")),y>0&&(b+=new Array(y+1).join(" ")),b+=l.line.slice(l.sliceStart,l.sliceEnd),d.push(b)}return d.join(m)},e.prototype.isEmpty=function(){return this.length<2&&this.getLineLength(1)<1},e.prototype.join=function(t){var n=this,i=[],o=[],r;function u(d){if(d!==null){if(r){var s=d.infos[0],l=new Array(s.indent+1).join(" "),f=i.length,p=Math.max(r.indent,0)+r.sliceEnd-r.sliceStart;r.line=r.line.slice(0,r.sliceEnd)+l+s.line.slice(s.sliceStart,s.sliceEnd),r.locked=r.locked||s.locked,r.sliceEnd=r.line.length,d.mappings.length>0&&d.mappings.forEach(function(h){o.push(h.add(f,p))})}else d.mappings.length>0&&o.push.apply(o,d.mappings);d.infos.forEach(function(h,y){(!r||y>0)&&(r=Ti.__assign({},h),i.push(r))})}}function a(d,s){s>0&&u(n),u(d)}if(t.map(function(d){var s=_p(d);return s.isEmpty()?null:s}).forEach(function(d,s){n.isEmpty()?u(d):a(d,s)}),i.length<1)return Ca;var m=new e(i);return m.mappings=o,m},e.prototype.concat=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var i=[this];return i.push.apply(i,t),an.default.strictEqual(i.length,t.length+1),Ca.join(i)},e}();es.Lines=zh;var xp={},Gh=xp.hasOwnProperty,$L=10;function Xh(e,t){for(var n=0,i=e.length,o=0;o<i;++o)switch(e.charCodeAt(o)){case 9:{an.default.strictEqual(typeof t,"number"),an.default.ok(t>0);var r=Math.ceil(n/t)*t;r===n?n+=t:n=r;break}case 11:case 12:case 13:case 65279:break;case 32:default:n+=1;break}return n}es.countSpaces=Xh;var VL=/^\s*/,Hh=/\u000D\u000A|\u000D(?!\u000A)|\u000A|\u2028|\u2029/;function _p(e,t){if(e instanceof zh)return e;e+="";var n=t&&t.tabWidth,i=e.indexOf(" ")<0,o=!t&&i&&e.length<=$L;if(an.default.ok(n||i,`No tab width specified but encountered tabs in string
|
|
`+e),o&&Gh.call(xp,e))return xp[e];var r=new zh(e.split(Hh).map(function(u){var a=VL.exec(u)[0];return{line:u,indent:Xh(a,n),locked:!1,sliceStart:a.length,sliceEnd:u.length}}),BE.normalize(t).sourceFileName);return o&&(xp[e]=r),r}es.fromString=_p;function lo(e){return!/\S/.test(e)}function uo(e,t,n){var i=e.sliceStart,o=e.sliceEnd,r=Math.max(e.indent,0),u=r+o-i;return typeof n>"u"&&(n=u),t=Math.max(t,0),n=Math.min(n,u),n=Math.max(n,t),n<r?(r=n,o=i):o-=u-n,u=n,u-=t,t<r?r-=t:(t-=r,r=0,i+=t),an.default.ok(r>=0),an.default.ok(i<=o),an.default.strictEqual(u,r+o-i),e.indent===r&&e.sliceStart===i&&e.sliceEnd===o?e:{line:e.line,indent:r,locked:!1,sliceStart:i,sliceEnd:o}}function qL(e){return Ca.join(e)}es.concat=qL;var Ca=_p("")});var Qh=me(fo=>{"use strict";Object.defineProperty(fo,"__esModule",{value:!0});fo.printComments=fo.attach=void 0;var $E=(gr(),Er(br)),Jh=$E.__importDefault(yt("assert")),Aa=$E.__importStar(Qi()),po=Aa.namedTypes,VE=Aa.builtInTypes.array,WL=Aa.builtInTypes.object,Pl=Cl(),co=vs(),UE=new WeakMap;function qE(e,t,n){if(!e)return n;if(co.fixFaultyLocations(e,t),n){if(po.Node.check(e)&&po.SourceLocation.check(e.loc)){for(var i=n.length-1;i>=0;--i){var o=n[i];if(o&&o.loc&&co.comparePos(o.loc.end,e.loc.start)<=0)break}return n.splice(i+1,0,e),n}}else{var r=UE.get(e);if(r)return r}var u;if(VE.check(e))u=Object.keys(e);else if(WL.check(e))u=Aa.getFieldNames(e);else return n;n||UE.set(e,n=[]);for(var i=0,a=u.length;i<a;++i)qE(e[u[i]],t,n);return n}function WE(e,t,n){for(var i=qE(e,n),o=0,r=i&&i.length,u,a;typeof r=="number"&&o<r;){var m=o+r>>1,d=i[m];if(co.comparePos(d.loc.start,t.loc.start)<=0&&co.comparePos(t.loc.end,d.loc.end)<=0){WE(t.enclosingNode=d,t,n);return}if(co.comparePos(d.loc.end,t.loc.start)<=0){u=d,o=m+1;continue}if(co.comparePos(t.loc.end,d.loc.start)<=0){a=d,r=m;continue}throw new Error("Comment location overlaps with node location")}u&&(t.precedingNode=u),a&&(t.followingNode=a)}function KL(e,t,n){if(VE.check(e)){var i=[];e.forEach(function(o){o.loc.lines=n,WE(t,o,n);var r=o.precedingNode,u=o.enclosingNode,a=o.followingNode;if(r&&a){var m=i.length;if(m>0){var d=i[m-1];Jh.default.strictEqual(d.precedingNode===o.precedingNode,d.followingNode===o.followingNode),d.followingNode!==o.followingNode&&Al(i,n)}i.push(o)}else if(r)Al(i,n),zE(r,o);else if(a)Al(i,n),KE(a,o);else if(u)Al(i,n),zL(u,o);else throw new Error("AST contains no nodes at all?")}),Al(i,n),e.forEach(function(o){delete o.precedingNode,delete o.enclosingNode,delete o.followingNode})}}fo.attach=KL;function Al(e,t){var n=e.length;if(n!==0){for(var i=e[0].precedingNode,o=e[0].followingNode,r=o.loc.start,u=n,a;u>0;--u){a=e[u-1],Jh.default.strictEqual(a.precedingNode,i),Jh.default.strictEqual(a.followingNode,o);var m=t.sliceString(a.loc.end,r);if(/\S/.test(m))break;r=a.loc.start}for(;u<=n&&(a=e[u])&&(a.type==="Line"||a.type==="CommentLine")&&a.loc.start.column>o.loc.start.column;)++u;e.forEach(function(d,s){s<u?zE(i,d):KE(o,d)}),e.length=0}}function Yh(e,t){var n=e.comments||(e.comments=[]);n.push(t)}function KE(e,t){t.leading=!0,t.trailing=!1,Yh(e,t)}function zL(e,t){t.leading=!1,t.trailing=!1,Yh(e,t)}function zE(e,t){t.leading=!1,t.trailing=!0,Yh(e,t)}function GL(e,t){var n=e.getValue();po.Comment.assert(n);var i=n.loc,o=i&&i.lines,r=[t(e)];if(n.trailing)r.push(`
|
|
`);else if(o instanceof Pl.Lines){var u=o.slice(i.end,o.skipSpaces(i.end)||o.lastPos());u.length===1?r.push(u):r.push(new Array(u.length).join(`
|
|
`))}else r.push(`
|
|
`);return Pl.concat(r)}function HL(e,t){var n=e.getValue(e);po.Comment.assert(n);var i=n.loc,o=i&&i.lines,r=[];if(o instanceof Pl.Lines){var u=o.skipSpaces(i.start,!0)||o.firstPos(),a=o.slice(u,i.start);a.length===1?r.push(a):r.push(new Array(a.length).join(`
|
|
`))}return r.push(t(e)),Pl.concat(r)}function XL(e,t){var n=e.getValue(),i=t(e),o=po.Node.check(n)&&Aa.getFieldValue(n,"comments");if(!o||o.length===0)return i;var r=[],u=[i];return e.each(function(a){var m=a.getValue(),d=Aa.getFieldValue(m,"leading"),s=Aa.getFieldValue(m,"trailing");d||s&&!(po.Statement.check(n)||m.type==="Block"||m.type==="CommentBlock")?r.push(GL(a,t)):s&&u.push(HL(a,t))},"comments"),r.push.apply(r,u),Pl.concat(r)}fo.printComments=XL});var XE=me(wp=>{"use strict";Object.defineProperty(wp,"__esModule",{value:!0});wp.parse=void 0;var Zh=(gr(),Er(br)),JL=Zh.__importDefault(yt("assert")),em=Zh.__importStar(Qi()),YL=em.builders,QL=em.builtInTypes.object,ZL=em.builtInTypes.array,eM=Sp(),tM=Cl(),rM=Qh(),Ts=Zh.__importStar(vs());function nM(e,t){t=eM.normalize(t);var n=tM.fromString(e,t),i=n.toString({tabWidth:t.tabWidth,reuseWhitespace:!1,useTabs:!1}),o=[],r=t.parser.parse(i,{jsx:!0,loc:!0,locations:!0,range:t.range,comment:!0,onComment:o,tolerant:Ts.getOption(t,"tolerant",!0),ecmaVersion:6,sourceType:Ts.getOption(t,"sourceType","module")}),u=Array.isArray(r.tokens)?r.tokens:Vh().tokenize(i,{loc:!0});delete r.tokens,u.forEach(function(s){typeof s.value!="string"&&(s.value=n.sliceString(s.loc.start,s.loc.end))}),Array.isArray(r.comments)&&(o=r.comments,delete r.comments),r.loc?Ts.fixFaultyLocations(r,n):r.loc={start:n.firstPos(),end:n.lastPos()},r.loc.lines=n,r.loc.indent=0;var a,m;r.type==="Program"?(m=r,a=YL.file(r,t.sourceFileName||null),a.loc={start:n.firstPos(),end:n.lastPos(),lines:n,indent:0}):r.type==="File"&&(a=r,m=a.program),t.tokens&&(a.tokens=u);var d=Ts.getTrueLoc({type:m.type,loc:m.loc,body:[],comments:o},n);return m.loc.start=d.start,m.loc.end=d.end,rM.attach(o,m.body.length?a.program:a,n),new GE(n,u).copy(a)}wp.parse=nM;var GE=function e(t,n){JL.default.ok(this instanceof e),this.lines=t,this.tokens=n,this.startTokenIndex=0,this.endTokenIndex=n.length,this.indent=0,this.seen=new Map},HE=GE.prototype;HE.copy=function(e){if(this.seen.has(e))return this.seen.get(e);if(ZL.check(e)){var t=new Array(e.length);return this.seen.set(e,t),e.forEach(function(f,p){t[p]=this.copy(f)},this),t}if(!QL.check(e))return e;Ts.fixFaultyLocations(e,this.lines);var n=Object.create(Object.getPrototypeOf(e),{original:{value:e,configurable:!1,enumerable:!1,writable:!0}});this.seen.set(e,n);var i=e.loc,o=this.indent,r=o,u=this.startTokenIndex,a=this.endTokenIndex;i&&((e.type==="Block"||e.type==="Line"||e.type==="CommentBlock"||e.type==="CommentLine"||this.lines.isPrecededOnlyByWhitespace(i.start))&&(r=this.indent=i.start.column),i.lines=this.lines,i.tokens=this.tokens,i.indent=r,this.findTokenRange(i));for(var m=Object.keys(e),d=m.length,s=0;s<d;++s){var l=m[s];l==="loc"||l==="tokens"&&e.type==="File"?n[l]=e[l]:n[l]=this.copy(e[l])}return this.indent=o,this.startTokenIndex=u,this.endTokenIndex=a,n};HE.findTokenRange=function(e){for(;this.startTokenIndex>0;){var t=e.tokens[this.startTokenIndex];if(Ts.comparePos(e.start,t.loc.start)<0)--this.startTokenIndex;else break}for(;this.endTokenIndex<e.tokens.length;){var t=e.tokens[this.endTokenIndex];if(Ts.comparePos(t.loc.end,e.end)<0)++this.endTokenIndex;else break}for(;this.startTokenIndex<this.endTokenIndex;){var t=e.tokens[this.startTokenIndex];if(Ts.comparePos(t.loc.start,e.start)<0)++this.startTokenIndex;else break}for(e.start.token=this.startTokenIndex;this.endTokenIndex>this.startTokenIndex;){var t=e.tokens[this.endTokenIndex-1];if(Ts.comparePos(e.end,t.loc.end)<0)--this.endTokenIndex;else break}e.end.token=this.endTokenIndex}});var sm=me(im=>{"use strict";Object.defineProperty(im,"__esModule",{value:!0});var nm=(gr(),Er(br)),Ei=nm.__importDefault(yt("assert")),kl=nm.__importStar(Qi()),JE=nm.__importStar(vs()),Kr=kl.namedTypes,iM=kl.builtInTypes.array,sM=kl.builtInTypes.number,tm={};[["||"],["&&"],["|"],["^"],["&"],["==","===","!=","!=="],["<",">","<=",">=","in","instanceof"],[">>","<<",">>>"],["+","-"],["*","/","%"],["**"]].forEach(function(e,t){e.forEach(function(n){tm[n]=t})});var Pa=function e(t){Ei.default.ok(this instanceof e),this.stack=[t]},Bn=Pa.prototype;Pa.from=function(e){if(e instanceof Pa)return e.copy();if(e instanceof kl.NodePath){for(var t=Object.create(Pa.prototype),n=[e.value],i=void 0;i=e.parentPath;e=i)n.push(e.name,i.value);return t.stack=n.reverse(),t}return new Pa(e)};Bn.copy=function(){var t=Object.create(Pa.prototype);return t.stack=this.stack.slice(0),t};Bn.getName=function(){var t=this.stack,n=t.length;return n>1?t[n-2]:null};Bn.getValue=function(){var t=this.stack;return t[t.length-1]};Bn.valueIsDuplicate=function(){var e=this.stack,t=e.length-1;return e.lastIndexOf(e[t],t-1)>=0};function YE(e,t){for(var n=e.stack,i=n.length-1;i>=0;i-=2){var o=n[i];if(Kr.Node.check(o)&&--t<0)return o}return null}Bn.getNode=function(t){return t===void 0&&(t=0),YE(this,~~t)};Bn.getParentNode=function(t){return t===void 0&&(t=0),YE(this,~~t+1)};Bn.getRootValue=function(){var t=this.stack;return t.length%2===0?t[1]:t[0]};Bn.call=function(t){for(var n=this.stack,i=n.length,o=n[i-1],r=arguments.length,u=1;u<r;++u){var a=arguments[u];o=o[a],n.push(a,o)}var m=t(this);return n.length=i,m};Bn.each=function(t){for(var n=this.stack,i=n.length,o=n[i-1],r=arguments.length,u=1;u<r;++u){var a=arguments[u];o=o[a],n.push(a,o)}for(var u=0;u<o.length;++u)u in o&&(n.push(u,o[u]),t(this),n.length-=2);n.length=i};Bn.map=function(t){for(var n=this.stack,i=n.length,o=n[i-1],r=arguments.length,u=1;u<r;++u){var a=arguments[u];o=o[a],n.push(a,o)}for(var m=new Array(o.length),u=0;u<o.length;++u)u in o&&(n.push(u,o[u]),m[u]=t(this,u),n.length-=2);return n.length=i,m};Bn.hasParens=function(){var e=this.getNode(),t=this.getPrevToken(e);if(!t)return!1;var n=this.getNextToken(e);if(!n)return!1;if(t.value==="("){if(n.value===")")return!0;var i=!this.canBeFirstInStatement()&&this.firstInStatement()&&!this.needsParens(!0);if(i)return!0}return!1};Bn.getPrevToken=function(e){e=e||this.getNode();var t=e&&e.loc,n=t&&t.tokens;if(n&&t.start.token>0){var i=n[t.start.token-1];if(i){var o=this.getRootValue().loc;if(JE.comparePos(o.start,i.loc.start)<=0)return i}}return null};Bn.getNextToken=function(e){e=e||this.getNode();var t=e&&e.loc,n=t&&t.tokens;if(n&&t.end.token<n.length){var i=n[t.end.token];if(i){var o=this.getRootValue().loc;if(JE.comparePos(i.loc.end,o.end)<=0)return i}}return null};Bn.needsParens=function(e){var t=this.getNode();if(t.type==="AssignmentExpression"&&t.left.type==="ObjectPattern")return!0;var n=this.getParentNode();if(!n)return!1;var i=this.getName();if(this.getValue()!==t||Kr.Statement.check(t)||t.type==="Identifier"||n.type==="ParenthesizedExpression"||t.extra&&t.extra.parenthesized)return!1;switch(t.type){case"UnaryExpression":case"SpreadElement":case"SpreadProperty":return n.type==="MemberExpression"&&i==="object"&&n.object===t;case"BinaryExpression":case"LogicalExpression":switch(n.type){case"CallExpression":return i==="callee"&&n.callee===t;case"UnaryExpression":case"SpreadElement":case"SpreadProperty":return!0;case"MemberExpression":return i==="object"&&n.object===t;case"BinaryExpression":case"LogicalExpression":{var o=n.operator,r=tm[o],u=t.operator,a=tm[u];if(r>a)return!0;if(r===a&&i==="right")return Ei.default.strictEqual(n.right,t),!0;break}default:return!1}break;case"SequenceExpression":switch(n.type){case"ReturnStatement":return!1;case"ForStatement":return!1;case"ExpressionStatement":return i!=="expression";default:return!0}case"IntersectionTypeAnnotation":case"UnionTypeAnnotation":return n.type==="NullableTypeAnnotation";case"Literal":return n.type==="MemberExpression"&&sM.check(t.value)&&i==="object"&&n.object===t;case"NumericLiteral":return n.type==="MemberExpression"&&i==="object"&&n.object===t;case"YieldExpression":case"AwaitExpression":case"AssignmentExpression":case"ConditionalExpression":switch(n.type){case"UnaryExpression":case"SpreadElement":case"SpreadProperty":case"BinaryExpression":case"LogicalExpression":return!0;case"CallExpression":case"NewExpression":return i==="callee"&&n.callee===t;case"ConditionalExpression":return i==="test"&&n.test===t;case"MemberExpression":return i==="object"&&n.object===t;default:return!1}case"ArrowFunctionExpression":return Kr.CallExpression.check(n)&&i==="callee"&&n.callee===t||Kr.MemberExpression.check(n)&&i==="object"&&n.object===t||Kr.TSAsExpression&&Kr.TSAsExpression.check(n)&&i==="expression"&&n.expression===t?!0:QE(n);case"ObjectExpression":if(n.type==="ArrowFunctionExpression"&&i==="body"&&n.body===t)return!0;break;case"TSAsExpression":if(n.type==="ArrowFunctionExpression"&&i==="body"&&n.body===t&&t.expression.type==="ObjectExpression")return!0;break;case"CallExpression":if(i==="declaration"&&Kr.ExportDefaultDeclaration.check(n)&&Kr.FunctionExpression.check(t.callee))return!0}return n.type==="NewExpression"&&i==="callee"&&n.callee===t?rm(t):!!(e!==!0&&!this.canBeFirstInStatement()&&this.firstInStatement())};function QE(e){return Kr.BinaryExpression.check(e)||Kr.LogicalExpression.check(e)}function rm(e){return Kr.CallExpression.check(e)?!0:iM.check(e)?e.some(rm):Kr.Node.check(e)?kl.someField(e,function(t,n){return rm(n)}):!1}Bn.canBeFirstInStatement=function(){var e=this.getNode();return!(Kr.FunctionExpression.check(e)||Kr.ObjectExpression.check(e)||Kr.ClassExpression.check(e))};Bn.firstInStatement=function(){for(var e=this.stack,t,n,i,o,r=e.length-1;r>=0;r-=2)if(Kr.Node.check(e[r])&&(i=t,o=n,t=e[r-1],n=e[r]),!(!n||!o)){if(Kr.BlockStatement.check(n)&&t==="body"&&i===0)return Ei.default.strictEqual(n.body[0],o),!0;if(Kr.ExpressionStatement.check(n)&&i==="expression")return Ei.default.strictEqual(n.expression,o),!0;if(Kr.AssignmentExpression.check(n)&&i==="left")return Ei.default.strictEqual(n.left,o),!0;if(Kr.ArrowFunctionExpression.check(n)&&i==="body")return Ei.default.strictEqual(n.body,o),!0;if(Kr.SequenceExpression.check(n)&&t==="expressions"&&i===0){Ei.default.strictEqual(n.expressions[0],o);continue}if(Kr.CallExpression.check(n)&&i==="callee"){Ei.default.strictEqual(n.callee,o);continue}if(Kr.MemberExpression.check(n)&&i==="object"){Ei.default.strictEqual(n.object,o);continue}if(Kr.ConditionalExpression.check(n)&&i==="test"){Ei.default.strictEqual(n.test,o);continue}if(QE(n)&&i==="left"){Ei.default.strictEqual(n.left,o);continue}if(Kr.UnaryExpression.check(n)&&!n.prefix&&i==="argument"){Ei.default.strictEqual(n.argument,o);continue}return!1}return!0};im.default=Pa});var iS=me(mo=>{"use strict";Object.defineProperty(mo,"__esModule",{value:!0});mo.getReprinter=mo.Patcher=void 0;var Pp=(gr(),Er(br)),ho=Pp.__importDefault(yt("assert")),Dl=Pp.__importStar(Cl()),Es=Pp.__importStar(Qi()),Ol=Es.namedTypes.Printable,ZE=Es.namedTypes.Expression,aM=Es.namedTypes.ReturnStatement,oM=Es.namedTypes.SourceLocation,Il=vs(),Cp=Pp.__importDefault(sm()),Nl=Es.builtInTypes.object,am=Es.builtInTypes.array,lM=Es.builtInTypes.string,Ap=/[0-9a-z_$]/i,lm=function e(t){ho.default.ok(this instanceof e),ho.default.ok(t instanceof Dl.Lines);var n=this,i=[];n.replace=function(o,r){lM.check(r)&&(r=Dl.fromString(r)),i.push({lines:r,start:o.start,end:o.end})},n.get=function(o){o=o||{start:{line:1,column:0},end:{line:t.length,column:t.getLineLength(t.length)}};var r=o.start,u=[];function a(m,d){ho.default.ok(Il.comparePos(m,d)<=0),u.push(t.slice(m,d))}return i.sort(function(m,d){return Il.comparePos(m.start,d.start)}).forEach(function(m){Il.comparePos(r,m.start)>0||(a(r,m.start),u.push(m.lines),r=m.end)}),a(r,o.end),Dl.concat(u)}};mo.Patcher=lm;var tS=lm.prototype;tS.tryToReprintComments=function(e,t,n){var i=this;if(!e.comments&&!t.comments)return!0;var o=Cp.default.from(e),r=Cp.default.from(t);o.stack.push("comments",eS(e)),r.stack.push("comments",eS(t));var u=[],a=nS(o,r,u);return a&&u.length>0&&u.forEach(function(m){var d=m.oldPath.getValue();ho.default.ok(d.leading||d.trailing),i.replace(d.loc,n(m.newPath).indentTail(d.loc.indent))}),a};function eS(e){var t=[];return e.comments&&e.comments.length>0&&e.comments.forEach(function(n){(n.leading||n.trailing)&&t.push(n)}),t}tS.deleteComments=function(e){if(e.comments){var t=this;e.comments.forEach(function(n){n.leading?t.replace({start:n.loc.start,end:e.loc.lines.skipSpaces(n.loc.end,!1,!1)},""):n.trailing&&t.replace({start:e.loc.lines.skipSpaces(n.loc.start,!0,!1),end:n.loc.end},"")})}};function uM(e){ho.default.ok(e instanceof Cp.default);var t=e.getValue();if(Ol.check(t)){var n=t.original,i=n&&n.loc,o=i&&i.lines,r=[];if(!(!o||!dM(e,r)))return function(u){var a=new lm(o);r.forEach(function(d){var s=d.newPath.getValue(),l=d.oldPath.getValue();oM.assert(l.loc,!0);var f=!a.tryToReprintComments(s,l,u);f&&a.deleteComments(l);var p=u(d.newPath,{includeComments:f,avoidRootParens:l.type===s.type&&d.oldPath.hasParens()}).indentTail(l.loc.indent),h=l.type!=="TemplateElement"&&cM(o,l.loc,p),y=l.type!=="TemplateElement"&&pM(o,l.loc,p);if(h||y){var b=[];h&&b.push(" "),b.push(p),y&&b.push(" "),p=Dl.concat(b)}a.replace(l.loc,p)});var m=a.get(i).indentTail(-n.loc.indent);return e.needsParens()?Dl.concat(["(",m,")"]):m}}}mo.getReprinter=uM;function cM(e,t,n){var i=Il.copyPos(t.start),o=e.prevPos(i)&&e.charAt(i),r=n.charAt(n.firstPos());return o&&Ap.test(o)&&r&&Ap.test(r)}function pM(e,t,n){var i=e.charAt(t.end),o=n.lastPos(),r=n.prevPos(o)&&n.charAt(o);return r&&Ap.test(r)&&i&&Ap.test(i)}function dM(e,t){var n=e.getValue();Ol.assert(n);var i=n.original;if(Ol.assert(i),ho.default.deepEqual(t,[]),n.type!==i.type)return!1;var o=new Cp.default(i),r=om(e,o,t);return r||(t.length=0),r}function rS(e,t,n){var i=e.getValue(),o=t.getValue();return i===o?!0:am.check(i)?nS(e,t,n):Nl.check(i)?fM(e,t,n):!1}function nS(e,t,n){var i=e.getValue(),o=t.getValue();if(i===o||e.valueIsDuplicate()||t.valueIsDuplicate())return!0;am.assert(i);var r=i.length;if(!(am.check(o)&&o.length===r))return!1;for(var u=0;u<r;++u){e.stack.push(u,i[u]),t.stack.push(u,o[u]);var a=rS(e,t,n);if(e.stack.length-=2,t.stack.length-=2,!a)return!1}return!0}function fM(e,t,n){var i=e.getValue();if(Nl.assert(i),i.original===null)return!1;var o=t.getValue();if(!Nl.check(o))return!1;if(i===o||e.valueIsDuplicate()||t.valueIsDuplicate())return!0;if(Ol.check(i)){if(!Ol.check(o))return!1;var r=e.getParentNode(),u=t.getParentNode();if(u!==null&&u.type==="FunctionTypeAnnotation"&&r!==null&&r.type==="FunctionTypeAnnotation"){var a=u.params.length!==1||!!u.params[0].name,m=r.params.length!==1||!!r.params[0].name;if(!a&&m)return!1}if(i.type===o.type){var d=[];if(om(e,t,d))n.push.apply(n,d);else if(o.loc)n.push({oldPath:t.copy(),newPath:e.copy()});else return!1;return!0}return ZE.check(i)&&ZE.check(o)&&o.loc?(n.push({oldPath:t.copy(),newPath:e.copy()}),!0):!1}return om(e,t,n)}function om(e,t,n){var i=e.getValue(),o=t.getValue();if(Nl.assert(i),Nl.assert(o),i.original===null||e.needsParens()&&!t.hasParens())return!1;var r=Il.getUnionOfKeys(o,i);(o.type==="File"||i.type==="File")&&delete r.tokens,delete r.loc;var u=n.length;for(var a in r)if(a.charAt(0)!=="_"){e.stack.push(a,Es.getFieldValue(i,a)),t.stack.push(a,Es.getFieldValue(o,a));var m=rS(e,t,n);if(e.stack.length-=2,t.stack.length-=2,!m)return!1}return!(aM.check(e.getNode())&&n.length>u)}});var dS=me(jp=>{"use strict";Object.defineProperty(jp,"__esModule",{value:!0});jp.Printer=void 0;var Fp=(gr(),Er(br)),Li=Fp.__importDefault(yt("assert")),sS=Qh(),ge=Cl(),hM=Sp(),mM=iS(),Ll=Fp.__importStar(Qi()),dn=Ll.namedTypes,cm=Ll.builtInTypes.string,yM=Ll.builtInTypes.object,Ip=Fp.__importDefault(sm()),rs=Fp.__importStar(vs()),Np=function e(t,n){Li.default.ok(this instanceof e),cm.assert(t),this.code=t,n&&(yM.assert(n),this.map=n)},bM=Np.prototype,aS=!1;bM.toString=function(){return aS||(console.warn("Deprecation warning: recast.print now returns an object with a .code property. You appear to be treating the object as a string, which might still work but is strongly discouraged."),aS=!0),this.code};var oS=new Np(""),gM=function e(t){Li.default.ok(this instanceof e);var n=t&&t.tabWidth;t=hM.normalize(t),t.sourceFileName=null;function i(r,u){return r=Object.assign({},r,u),function(a){return o(a,r)}}function o(r,u){if(Li.default.ok(r instanceof Ip.default),u=u||{},u.includeComments)return sS.printComments(r,i(u,{includeComments:!1}));var a=t.tabWidth;if(!n){var m=r.getNode().loc;m&&m.lines&&m.lines.guessTabWidth&&(t.tabWidth=m.lines.guessTabWidth())}var d=mM.getReprinter(r),s=d?d(o):lS(r,t,u,i(u,{includeComments:!0,avoidRootParens:!1}));return t.tabWidth=a,s}this.print=function(r){if(!r)return oS;var u=o(Ip.default.from(r),{includeComments:!0,avoidRootParens:!1});return new Np(u.toString(t),rs.composeSourceMaps(t.inputSourceMap,u.getSourceMap(t.sourceMapName,t.sourceRoot)))},this.printGenerically=function(r){if(!r)return oS;function u(s){return sS.printComments(s,function(l){return lS(l,t,{includeComments:!0,avoidRootParens:!1},u)})}var a=Ip.default.from(r),m=t.reuseWhitespace;t.reuseWhitespace=!1;var d=new Np(u(a).toString(t));return t.reuseWhitespace=m,d}};jp.Printer=gM;function lS(e,t,n,i){Li.default.ok(e instanceof Ip.default);var o=e.getValue(),r=[],u=vM(e,t,i);if(!o||u.isEmpty())return u;var a=o.extra?o.extra.parenthesized:!1,m=TM(e,i);return m.isEmpty()?n.avoidRootParens||(a=a||e.needsParens()):r.push(m),a&&r.unshift("("),r.push(u),a&&r.push(")"),ge.concat(r)}function vM(e,t,n){var i=e.getValue();if(!i)return ge.fromString("");if(typeof i=="string")return ge.fromString(i,t);dn.Printable.assert(i);var o=[];switch(i.type){case"File":return e.call(n,"program");case"Program":return i.directives&&e.each(function(he){o.push(n(he),`;
|
|
`)},"directives"),i.interpreter&&o.push(e.call(n,"interpreter")),o.push(e.call(function(he){return yo(he,t,n)},"body")),ge.concat(o);case"Noop":case"EmptyStatement":return ge.fromString("");case"ExpressionStatement":return ge.concat([e.call(n,"expression"),";"]);case"ParenthesizedExpression":return ge.concat(["(",e.call(n,"expression"),")"]);case"BinaryExpression":case"LogicalExpression":case"AssignmentExpression":return ge.fromString(" ").join([e.call(n,"left"),i.operator,e.call(n,"right")]);case"AssignmentPattern":return ge.concat([e.call(n,"left")," = ",e.call(n,"right")]);case"MemberExpression":case"OptionalMemberExpression":{o.push(e.call(n,"object"));var r=e.call(n,"property"),u=Ll.getFieldValue(i,"optional");return i.computed?o.push(u?"?.[":"[",r,"]"):o.push(u?"?.":".",r),ge.concat(o)}case"ChainExpression":return e.call(n,"expression");case"MetaProperty":return ge.concat([e.call(n,"meta"),".",e.call(n,"property")]);case"BindExpression":return i.object&&o.push(e.call(n,"object")),o.push("::",e.call(n,"callee")),ge.concat(o);case"Path":return ge.fromString(".").join(i.body);case"Identifier":return ge.concat([ge.fromString(i.name,t),i.optional?"?":"",e.call(n,"typeAnnotation")]);case"SpreadElement":case"SpreadElementPattern":case"RestProperty":case"SpreadProperty":case"SpreadPropertyPattern":case"ObjectTypeSpreadProperty":case"RestElement":return ge.concat(["...",e.call(n,"argument"),e.call(n,"typeAnnotation")]);case"FunctionDeclaration":case"FunctionExpression":case"TSDeclareFunction":return i.declare&&o.push("declare "),i.async&&o.push("async "),o.push("function"),i.generator&&o.push("*"),i.id?o.push(" ",e.call(n,"id"),e.call(n,"typeParameters")):i.typeParameters&&o.push(e.call(n,"typeParameters")),o.push("(",ts(e,t,n),")",e.call(n,"returnType")),i.body&&o.push(" ",e.call(n,"body")),ge.concat(o);case"ArrowFunctionExpression":return i.async&&o.push("async "),i.typeParameters&&o.push(e.call(n,"typeParameters")),!t.arrowParensAlways&&i.params.length===1&&!i.rest&&i.params[0].type==="Identifier"&&!i.params[0].typeAnnotation&&!i.returnType?o.push(e.call(n,"params",0)):o.push("(",ts(e,t,n),")",e.call(n,"returnType")),o.push(" => ",e.call(n,"body")),ge.concat(o);case"MethodDefinition":return um(e,t,n);case"YieldExpression":return o.push("yield"),i.delegate&&o.push("*"),i.argument&&o.push(" ",e.call(n,"argument")),ge.concat(o);case"AwaitExpression":return o.push("await"),i.all&&o.push("*"),i.argument&&o.push(" ",e.call(n,"argument")),ge.concat(o);case"ModuleDeclaration":return o.push("module",e.call(n,"id")),i.source?(Li.default.ok(!i.body),o.push("from",e.call(n,"source"))):o.push(e.call(n,"body")),ge.fromString(" ").join(o);case"ImportSpecifier":return i.importKind&&i.importKind!=="value"&&o.push(i.importKind+" "),i.imported?(o.push(e.call(n,"imported")),i.local&&i.local.name!==i.imported.name&&o.push(" as ",e.call(n,"local"))):i.id&&(o.push(e.call(n,"id")),i.name&&o.push(" as ",e.call(n,"name"))),ge.concat(o);case"ExportSpecifier":return i.local?(o.push(e.call(n,"local")),i.exported&&i.exported.name!==i.local.name&&o.push(" as ",e.call(n,"exported"))):i.id&&(o.push(e.call(n,"id")),i.name&&o.push(" as ",e.call(n,"name"))),ge.concat(o);case"ExportBatchSpecifier":return ge.fromString("*");case"ImportNamespaceSpecifier":return o.push("* as "),i.local?o.push(e.call(n,"local")):i.id&&o.push(e.call(n,"id")),ge.concat(o);case"ImportDefaultSpecifier":return i.local?e.call(n,"local"):e.call(n,"id");case"TSExportAssignment":return ge.concat(["export = ",e.call(n,"expression")]);case"ExportDeclaration":case"ExportDefaultDeclaration":case"ExportNamedDeclaration":return cS(e,t,n);case"ExportAllDeclaration":return o.push("export *"),i.exported&&o.push(" as ",e.call(n,"exported")),o.push(" from ",e.call(n,"source"),";"),ge.concat(o);case"TSNamespaceExportDeclaration":return o.push("export as namespace ",e.call(n,"id")),Op(ge.concat(o));case"ExportNamespaceSpecifier":return ge.concat(["* as ",e.call(n,"exported")]);case"ExportDefaultSpecifier":return e.call(n,"exported");case"Import":return ge.fromString("import",t);case"ImportExpression":return ge.concat(["import(",e.call(n,"source"),")"]);case"ImportDeclaration":{if(o.push("import "),i.importKind&&i.importKind!=="value"&&o.push(i.importKind+" "),i.specifiers&&i.specifiers.length>0){var a=[],m=[];if(e.each(function(he){var ve=he.getValue();ve.type==="ImportSpecifier"?m.push(n(he)):(ve.type==="ImportDefaultSpecifier"||ve.type==="ImportNamespaceSpecifier")&&a.push(n(he))},"specifiers"),a.forEach(function(he,ve){ve>0&&o.push(", "),o.push(he)}),m.length>0){var d=ge.fromString(", ").join(m);d.getLineLength(1)>t.wrapColumn&&(d=ge.concat([ge.fromString(`,
|
|
`).join(m).indent(t.tabWidth),","])),a.length>0&&o.push(", "),d.length>1?o.push(`{
|
|
`,d,`
|
|
}`):t.objectCurlySpacing?o.push("{ ",d," }"):o.push("{",d,"}")}o.push(" from ")}return o.push(e.call(n,"source"),";"),ge.concat(o)}case"BlockStatement":{var s=e.call(function(he){return yo(he,t,n)},"body");return s.isEmpty()&&(!i.directives||i.directives.length===0)?ge.fromString("{}"):(o.push(`{
|
|
`),i.directives&&e.each(function(he){o.push(Op(n(he).indent(t.tabWidth)),i.directives.length>1||!s.isEmpty()?`
|
|
`:"")},"directives"),o.push(s.indent(t.tabWidth)),o.push(`
|
|
}`),ge.concat(o))}case"ReturnStatement":{if(o.push("return"),i.argument){var l=e.call(n,"argument");l.startsWithComment()||l.length>1&&dn.JSXElement&&dn.JSXElement.check(i.argument)?o.push(` (
|
|
`,l.indent(t.tabWidth),`
|
|
)`):o.push(" ",l)}return o.push(";"),ge.concat(o)}case"CallExpression":case"OptionalCallExpression":return o.push(e.call(n,"callee")),i.typeParameters&&o.push(e.call(n,"typeParameters")),i.typeArguments&&o.push(e.call(n,"typeArguments")),Ll.getFieldValue(i,"optional")&&o.push("?."),o.push(uS(e,t,n)),ge.concat(o);case"ObjectExpression":case"ObjectPattern":case"ObjectTypeAnnotation":{var f=i.type==="ObjectTypeAnnotation",p=t.flowObjectCommas?",":f?";":",",h=[],y=!1;f&&(h.push("indexers","callProperties"),i.internalSlots!=null&&h.push("internalSlots")),h.push("properties");var b=0;h.forEach(function(he){b+=i[he].length});var E=f&&b===1||b===0,v=i.exact?"{|":"{",S=i.exact?"|}":"}";o.push(E?v:v+`
|
|
`);var w=o.length-1,A=0;if(h.forEach(function(he){e.each(function(ve){var et=n(ve);E||(et=et.indent(t.tabWidth));var ut=!f&&et.length>1;ut&&y&&o.push(`
|
|
`),o.push(et),A<b-1?(o.push(p+(ut?`
|
|
|
|
`:`
|
|
`)),y=!ut):(b!==1&&f||!E&&rs.isTrailingCommaEnabled(t,"objects")&&ve.getValue().type!=="RestElement")&&o.push(p),A++},he)}),i.inexact){var x=ge.fromString("...",t);E?(b>0&&o.push(p," "),o.push(x)):o.push(`
|
|
`,x.indent(t.tabWidth))}return o.push(E?S:`
|
|
`+S),A!==0&&E&&t.objectCurlySpacing&&(o[w]=v+" ",o[o.length-1]=" "+S),i.typeAnnotation&&o.push(e.call(n,"typeAnnotation")),ge.concat(o)}case"PropertyPattern":return ge.concat([e.call(n,"key"),": ",e.call(n,"pattern")]);case"ObjectProperty":case"Property":{if(i.method||i.kind==="get"||i.kind==="set")return um(e,t,n);if(i.shorthand&&i.value.type==="AssignmentPattern")return e.call(n,"value");var C=e.call(n,"key");return i.computed?o.push("[",C,"]"):o.push(C),(!i.shorthand||i.key.name!==i.value.name)&&o.push(": ",e.call(n,"value")),ge.concat(o)}case"ClassMethod":case"ObjectMethod":case"ClassPrivateMethod":case"TSDeclareMethod":return um(e,t,n);case"PrivateName":return ge.concat(["#",e.call(n,"id")]);case"Decorator":return ge.concat(["@",e.call(n,"expression")]);case"ArrayExpression":case"ArrayPattern":{var P=i.elements,D=P.length,L=e.map(n,"elements"),I=ge.fromString(", ").join(L),j=I.getLineLength(1)<=t.wrapColumn;return j?t.arrayBracketSpacing?o.push("[ "):o.push("["):o.push(`[
|
|
`),e.each(function(he){var ve=he.getName(),et=he.getValue();if(!et)o.push(",");else{var ut=L[ve];j?ve>0&&o.push(" "):ut=ut.indent(t.tabWidth),o.push(ut),(ve<D-1||!j&&rs.isTrailingCommaEnabled(t,"arrays"))&&o.push(","),j||o.push(`
|
|
`)}},"elements"),j&&t.arrayBracketSpacing?o.push(" ]"):o.push("]"),i.typeAnnotation&&o.push(e.call(n,"typeAnnotation")),ge.concat(o)}case"SequenceExpression":return ge.fromString(", ").join(e.map(n,"expressions"));case"ThisExpression":return ge.fromString("this");case"Super":return ge.fromString("super");case"NullLiteral":return ge.fromString("null");case"RegExpLiteral":return ge.fromString(i.extra.raw);case"BigIntLiteral":return ge.fromString(i.value+"n");case"NumericLiteral":return i.extra&&typeof i.extra.raw=="string"&&Number(i.extra.raw)===i.value?ge.fromString(i.extra.raw,t):ge.fromString(i.value,t);case"BooleanLiteral":case"StringLiteral":case"Literal":return typeof i.value=="number"&&typeof i.raw=="string"&&Number(i.raw)===i.value?ge.fromString(i.raw,t):typeof i.value!="string"?ge.fromString(i.value,t):ge.fromString(Dp(i.value,t),t);case"Directive":return e.call(n,"value");case"DirectiveLiteral":return ge.fromString(Dp(i.value,t));case"InterpreterDirective":return ge.fromString("#!"+i.value+`
|
|
`,t);case"ModuleSpecifier":if(i.local)throw new Error("The ESTree ModuleSpecifier type should be abstract");return ge.fromString(Dp(i.value,t),t);case"UnaryExpression":return o.push(i.operator),/[a-z]$/.test(i.operator)&&o.push(" "),o.push(e.call(n,"argument")),ge.concat(o);case"UpdateExpression":return o.push(e.call(n,"argument"),i.operator),i.prefix&&o.reverse(),ge.concat(o);case"ConditionalExpression":return ge.concat([e.call(n,"test")," ? ",e.call(n,"consequent")," : ",e.call(n,"alternate")]);case"NewExpression":{o.push("new ",e.call(n,"callee")),i.typeParameters&&o.push(e.call(n,"typeParameters")),i.typeArguments&&o.push(e.call(n,"typeArguments"));var M=i.arguments;return M&&o.push(uS(e,t,n)),ge.concat(o)}case"VariableDeclaration":{i.declare&&o.push("declare "),o.push(i.kind," ");var R=0,z=e.map(function(he){var ve=n(he);return R=Math.max(ve.length,R),ve},"declarations");R===1?o.push(ge.fromString(", ").join(z)):z.length>1?o.push(ge.fromString(`,
|
|
`).join(z).indentTail(i.kind.length+1)):o.push(z[0]);var Y=e.getParentNode();return!dn.ForStatement.check(Y)&&!dn.ForInStatement.check(Y)&&!(dn.ForOfStatement&&dn.ForOfStatement.check(Y))&&!(dn.ForAwaitStatement&&dn.ForAwaitStatement.check(Y))&&o.push(";"),ge.concat(o)}case"VariableDeclarator":return i.init?ge.fromString(" = ").join([e.call(n,"id"),e.call(n,"init")]):e.call(n,"id");case"WithStatement":return ge.concat(["with (",e.call(n,"object"),") ",e.call(n,"body")]);case"IfStatement":{var $=ka(e.call(n,"consequent"),t);return o.push("if (",e.call(n,"test"),")",$),i.alternate&&o.push(pS($)?" else":`
|
|
else`,ka(e.call(n,"alternate"),t)),ge.concat(o)}case"ForStatement":{var G=e.call(n,"init"),U=G.length>1?`;
|
|
`:"; ",B="for (",N=ge.fromString(U).join([G,e.call(n,"test"),e.call(n,"update")]).indentTail(B.length),X=ge.concat([B,N,")"]),H=ka(e.call(n,"body"),t);return o.push(X),X.length>1&&(o.push(`
|
|
`),H=H.trimLeft()),o.push(H),ge.concat(o)}case"WhileStatement":return ge.concat(["while (",e.call(n,"test"),")",ka(e.call(n,"body"),t)]);case"ForInStatement":return ge.concat([i.each?"for each (":"for (",e.call(n,"left")," in ",e.call(n,"right"),")",ka(e.call(n,"body"),t)]);case"ForOfStatement":case"ForAwaitStatement":return o.push("for "),(i.await||i.type==="ForAwaitStatement")&&o.push("await "),o.push("(",e.call(n,"left")," of ",e.call(n,"right"),")",ka(e.call(n,"body"),t)),ge.concat(o);case"DoWhileStatement":{var F=ge.concat(["do",ka(e.call(n,"body"),t)]);return o.push(F),pS(F)?o.push(" while"):o.push(`
|
|
while`),o.push(" (",e.call(n,"test"),");"),ge.concat(o)}case"DoExpression":{var W=e.call(function(he){return yo(he,t,n)},"body");return ge.concat([`do {
|
|
`,W.indent(t.tabWidth),`
|
|
}`])}case"BreakStatement":return o.push("break"),i.label&&o.push(" ",e.call(n,"label")),o.push(";"),ge.concat(o);case"ContinueStatement":return o.push("continue"),i.label&&o.push(" ",e.call(n,"label")),o.push(";"),ge.concat(o);case"LabeledStatement":return ge.concat([e.call(n,"label"),`:
|
|
`,e.call(n,"body")]);case"TryStatement":return o.push("try ",e.call(n,"block")),i.handler?o.push(" ",e.call(n,"handler")):i.handlers&&e.each(function(he){o.push(" ",n(he))},"handlers"),i.finalizer&&o.push(" finally ",e.call(n,"finalizer")),ge.concat(o);case"CatchClause":return o.push("catch "),i.param&&o.push("(",e.call(n,"param")),i.guard&&o.push(" if ",e.call(n,"guard")),i.param&&o.push(") "),o.push(e.call(n,"body")),ge.concat(o);case"ThrowStatement":return ge.concat(["throw ",e.call(n,"argument"),";"]);case"SwitchStatement":return ge.concat(["switch (",e.call(n,"discriminant"),`) {
|
|
`,ge.fromString(`
|
|
`).join(e.map(n,"cases")),`
|
|
}`]);case"SwitchCase":return i.test?o.push("case ",e.call(n,"test"),":"):o.push("default:"),i.consequent.length>0&&o.push(`
|
|
`,e.call(function(he){return yo(he,t,n)},"consequent").indent(t.tabWidth)),ge.concat(o);case"DebuggerStatement":return ge.fromString("debugger;");case"JSXAttribute":return o.push(e.call(n,"name")),i.value&&o.push("=",e.call(n,"value")),ge.concat(o);case"JSXIdentifier":return ge.fromString(i.name,t);case"JSXNamespacedName":return ge.fromString(":").join([e.call(n,"namespace"),e.call(n,"name")]);case"JSXMemberExpression":return ge.fromString(".").join([e.call(n,"object"),e.call(n,"property")]);case"JSXSpreadAttribute":return ge.concat(["{...",e.call(n,"argument"),"}"]);case"JSXSpreadChild":return ge.concat(["{...",e.call(n,"expression"),"}"]);case"JSXExpressionContainer":return ge.concat(["{",e.call(n,"expression"),"}"]);case"JSXElement":case"JSXFragment":{var V="opening"+(i.type==="JSXElement"?"Element":"Fragment"),Q="closing"+(i.type==="JSXElement"?"Element":"Fragment"),ne=e.call(n,V);if(i[V].selfClosing)return Li.default.ok(!i[Q],"unexpected "+Q+" element in self-closing "+i.type),ne;var ue=ge.concat(e.map(function(he){var ve=he.getValue();if(dn.Literal.check(ve)&&typeof ve.value=="string"){if(/\S/.test(ve.value))return ve.value.replace(/^\s+|\s+$/g,"");if(/\n/.test(ve.value))return`
|
|
`}return n(he)},"children")).indentTail(t.tabWidth),de=e.call(n,Q);return ge.concat([ne,ue,de])}case"JSXOpeningElement":{o.push("<",e.call(n,"name"));var Ae=[];e.each(function(he){Ae.push(" ",n(he))},"attributes");var Oe=ge.concat(Ae),Me=Oe.length>1||Oe.getLineLength(1)>t.wrapColumn;return Me&&(Ae.forEach(function(he,ve){he===" "&&(Li.default.strictEqual(ve%2,0),Ae[ve]=`
|
|
`)}),Oe=ge.concat(Ae).indentTail(t.tabWidth)),o.push(Oe,i.selfClosing?" />":">"),ge.concat(o)}case"JSXClosingElement":return ge.concat(["</",e.call(n,"name"),">"]);case"JSXOpeningFragment":return ge.fromString("<>");case"JSXClosingFragment":return ge.fromString("</>");case"JSXText":return ge.fromString(i.value,t);case"JSXEmptyExpression":return ge.fromString("");case"TypeAnnotatedIdentifier":return ge.concat([e.call(n,"annotation")," ",e.call(n,"identifier")]);case"ClassBody":return i.body.length===0?ge.fromString("{}"):ge.concat([`{
|
|
`,e.call(function(he){return yo(he,t,n)},"body").indent(t.tabWidth),`
|
|
}`]);case"ClassPropertyDefinition":return o.push("static ",e.call(n,"definition")),dn.MethodDefinition.check(i.definition)||o.push(";"),ge.concat(o);case"ClassProperty":{i.declare&&o.push("declare ");var ae=i.accessibility||i.access;typeof ae=="string"&&o.push(ae," "),i.static&&o.push("static "),i.abstract&&o.push("abstract "),i.readonly&&o.push("readonly ");var C=e.call(n,"key");return i.computed&&(C=ge.concat(["[",C,"]"])),i.variance&&(C=ge.concat([jl(e,n),C])),o.push(C),i.optional&&o.push("?"),i.typeAnnotation&&o.push(e.call(n,"typeAnnotation")),i.value&&o.push(" = ",e.call(n,"value")),o.push(";"),ge.concat(o)}case"ClassPrivateProperty":return i.static&&o.push("static "),o.push(e.call(n,"key")),i.typeAnnotation&&o.push(e.call(n,"typeAnnotation")),i.value&&o.push(" = ",e.call(n,"value")),o.push(";"),ge.concat(o);case"ClassDeclaration":case"ClassExpression":return i.declare&&o.push("declare "),i.abstract&&o.push("abstract "),o.push("class"),i.id&&o.push(" ",e.call(n,"id")),i.typeParameters&&o.push(e.call(n,"typeParameters")),i.superClass&&o.push(" extends ",e.call(n,"superClass"),e.call(n,"superTypeParameters")),i.implements&&i.implements.length>0&&o.push(" implements ",ge.fromString(", ").join(e.map(n,"implements"))),o.push(" ",e.call(n,"body")),ge.concat(o);case"TemplateElement":return ge.fromString(i.value.raw,t).lockIndentTail();case"TemplateLiteral":{var se=e.map(n,"expressions");return o.push("`"),e.each(function(he){var ve=he.getName();o.push(n(he)),ve<se.length&&o.push("${",se[ve],"}")},"quasis"),o.push("`"),ge.concat(o).lockIndentTail()}case"TaggedTemplateExpression":return ge.concat([e.call(n,"tag"),e.call(n,"quasi")]);case"Node":case"Printable":case"SourceLocation":case"Position":case"Statement":case"Function":case"Pattern":case"Expression":case"Declaration":case"Specifier":case"NamedSpecifier":case"Comment":case"Flow":case"FlowType":case"FlowPredicate":case"MemberTypeAnnotation":case"Type":case"TSHasOptionalTypeParameterInstantiation":case"TSHasOptionalTypeParameters":case"TSHasOptionalTypeAnnotation":case"ChainElement":throw new Error("unprintable type: "+JSON.stringify(i.type));case"CommentBlock":case"Block":return ge.concat(["/*",ge.fromString(i.value,t),"*/"]);case"CommentLine":case"Line":return ge.concat(["//",ge.fromString(i.value,t)]);case"TypeAnnotation":return i.typeAnnotation?(i.typeAnnotation.type!=="FunctionTypeAnnotation"&&o.push(": "),o.push(e.call(n,"typeAnnotation")),ge.concat(o)):ge.fromString("");case"ExistentialTypeParam":case"ExistsTypeAnnotation":return ge.fromString("*",t);case"EmptyTypeAnnotation":return ge.fromString("empty",t);case"AnyTypeAnnotation":return ge.fromString("any",t);case"MixedTypeAnnotation":return ge.fromString("mixed",t);case"ArrayTypeAnnotation":return ge.concat([e.call(n,"elementType"),"[]"]);case"TupleTypeAnnotation":{var ye=e.map(n,"types"),I=ge.fromString(", ").join(ye),be=I.getLineLength(1)<=t.wrapColumn;return be?t.arrayBracketSpacing?o.push("[ "):o.push("["):o.push(`[
|
|
`),e.each(function(ve){var et=ve.getName(),ut=ve.getValue();if(!ut)o.push(",");else{var Kt=ye[et];be?et>0&&o.push(" "):Kt=Kt.indent(t.tabWidth),o.push(Kt),(et<i.types.length-1||!be&&rs.isTrailingCommaEnabled(t,"arrays"))&&o.push(","),be||o.push(`
|
|
`)}},"types"),be&&t.arrayBracketSpacing?o.push(" ]"):o.push("]"),ge.concat(o)}case"BooleanTypeAnnotation":return ge.fromString("boolean",t);case"BooleanLiteralTypeAnnotation":return Li.default.strictEqual(typeof i.value,"boolean"),ge.fromString(""+i.value,t);case"InterfaceTypeAnnotation":return o.push("interface"),i.extends&&i.extends.length>0&&o.push(" extends ",ge.fromString(", ").join(e.map(n,"extends"))),o.push(" ",e.call(n,"body")),ge.concat(o);case"DeclareClass":return Fl(e,["class ",e.call(n,"id")," ",e.call(n,"body")]);case"DeclareFunction":return Fl(e,["function ",e.call(n,"id"),";"]);case"DeclareModule":return Fl(e,["module ",e.call(n,"id")," ",e.call(n,"body")]);case"DeclareModuleExports":return Fl(e,["module.exports",e.call(n,"typeAnnotation")]);case"DeclareVariable":return Fl(e,["var ",e.call(n,"id"),";"]);case"DeclareExportDeclaration":case"DeclareExportAllDeclaration":return ge.concat(["declare ",cS(e,t,n)]);case"EnumDeclaration":return ge.concat(["enum ",e.call(n,"id"),e.call(n,"body")]);case"EnumBooleanBody":case"EnumNumberBody":case"EnumStringBody":case"EnumSymbolBody":return(i.type==="EnumSymbolBody"||i.explicitType)&&o.push(" of ",i.type.slice(4,-4).toLowerCase()),o.push(` {
|
|
`,ge.fromString(`
|
|
`).join(e.map(n,"members")).indent(t.tabWidth),`
|
|
}`),ge.concat(o);case"EnumDefaultedMember":return ge.concat([e.call(n,"id"),","]);case"EnumBooleanMember":case"EnumNumberMember":case"EnumStringMember":return ge.concat([e.call(n,"id")," = ",e.call(n,"init"),","]);case"InferredPredicate":return ge.fromString("%checks",t);case"DeclaredPredicate":return ge.concat(["%checks(",e.call(n,"value"),")"]);case"FunctionTypeAnnotation":{var Ee=e.getParentNode(0),oe=!(dn.ObjectTypeCallProperty.check(Ee)||dn.ObjectTypeInternalSlot.check(Ee)&&Ee.method||dn.DeclareFunction.check(e.getParentNode(2))),J=oe&&!dn.FunctionTypeParam.check(Ee)&&!dn.TypeAlias.check(Ee);J&&o.push(": ");var De=!!i.typeParameters,Ke=De||i.params.length!==1||i.params[0].name;return o.push(De?e.call(n,"typeParameters"):"",Ke?"(":"",ts(e,t,n),Ke?")":""),i.returnType&&o.push(oe?" => ":": ",e.call(n,"returnType")),ge.concat(o)}case"FunctionTypeParam":{var ke=e.call(n,"name");return o.push(ke),i.optional&&o.push("?"),ke.infos[0].line&&o.push(": "),o.push(e.call(n,"typeAnnotation")),ge.concat(o)}case"GenericTypeAnnotation":return ge.concat([e.call(n,"id"),e.call(n,"typeParameters")]);case"DeclareInterface":o.push("declare ");case"InterfaceDeclaration":case"TSInterfaceDeclaration":return i.declare&&o.push("declare "),o.push("interface ",e.call(n,"id"),e.call(n,"typeParameters")," "),i.extends&&i.extends.length>0&&o.push("extends ",ge.fromString(", ").join(e.map(n,"extends"))," "),i.body&&o.push(e.call(n,"body")),ge.concat(o);case"ClassImplements":case"InterfaceExtends":return ge.concat([e.call(n,"id"),e.call(n,"typeParameters")]);case"IntersectionTypeAnnotation":return ge.fromString(" & ").join(e.map(n,"types"));case"NullableTypeAnnotation":return ge.concat(["?",e.call(n,"typeAnnotation")]);case"NullLiteralTypeAnnotation":return ge.fromString("null",t);case"ThisTypeAnnotation":return ge.fromString("this",t);case"NumberTypeAnnotation":return ge.fromString("number",t);case"ObjectTypeCallProperty":return e.call(n,"value");case"ObjectTypeIndexer":return i.static&&o.push("static "),o.push(jl(e,n),"["),i.id&&o.push(e.call(n,"id"),": "),o.push(e.call(n,"key"),"]: ",e.call(n,"value")),ge.concat(o);case"ObjectTypeProperty":return ge.concat([jl(e,n),e.call(n,"key"),i.optional?"?":"",": ",e.call(n,"value")]);case"ObjectTypeInternalSlot":return ge.concat([i.static?"static ":"","[[",e.call(n,"id"),"]]",i.optional?"?":"",i.value.type!=="FunctionTypeAnnotation"?": ":"",e.call(n,"value")]);case"QualifiedTypeIdentifier":return ge.concat([e.call(n,"qualification"),".",e.call(n,"id")]);case"StringLiteralTypeAnnotation":return ge.fromString(Dp(i.value,t),t);case"NumberLiteralTypeAnnotation":case"NumericLiteralTypeAnnotation":return Li.default.strictEqual(typeof i.value,"number"),ge.fromString(JSON.stringify(i.value),t);case"BigIntLiteralTypeAnnotation":return ge.fromString(i.raw,t);case"StringTypeAnnotation":return ge.fromString("string",t);case"DeclareTypeAlias":o.push("declare ");case"TypeAlias":return ge.concat(["type ",e.call(n,"id"),e.call(n,"typeParameters")," = ",e.call(n,"right"),";"]);case"DeclareOpaqueType":o.push("declare ");case"OpaqueType":return o.push("opaque type ",e.call(n,"id"),e.call(n,"typeParameters")),i.supertype&&o.push(": ",e.call(n,"supertype")),i.impltype&&o.push(" = ",e.call(n,"impltype")),o.push(";"),ge.concat(o);case"TypeCastExpression":return ge.concat(["(",e.call(n,"expression"),e.call(n,"typeAnnotation"),")"]);case"TypeParameterDeclaration":case"TypeParameterInstantiation":return ge.concat(["<",ge.fromString(", ").join(e.map(n,"params")),">"]);case"Variance":return i.kind==="plus"?ge.fromString("+"):i.kind==="minus"?ge.fromString("-"):ge.fromString("");case"TypeParameter":return i.variance&&o.push(jl(e,n)),o.push(e.call(n,"name")),i.bound&&o.push(e.call(n,"bound")),i.default&&o.push("=",e.call(n,"default")),ge.concat(o);case"TypeofTypeAnnotation":return ge.concat([ge.fromString("typeof ",t),e.call(n,"argument")]);case"UnionTypeAnnotation":return ge.fromString(" | ").join(e.map(n,"types"));case"VoidTypeAnnotation":return ge.fromString("void",t);case"NullTypeAnnotation":return ge.fromString("null",t);case"SymbolTypeAnnotation":return ge.fromString("symbol",t);case"BigIntTypeAnnotation":return ge.fromString("bigint",t);case"TSType":throw new Error("unprintable type: "+JSON.stringify(i.type));case"TSNumberKeyword":return ge.fromString("number",t);case"TSBigIntKeyword":return ge.fromString("bigint",t);case"TSObjectKeyword":return ge.fromString("object",t);case"TSBooleanKeyword":return ge.fromString("boolean",t);case"TSStringKeyword":return ge.fromString("string",t);case"TSSymbolKeyword":return ge.fromString("symbol",t);case"TSAnyKeyword":return ge.fromString("any",t);case"TSVoidKeyword":return ge.fromString("void",t);case"TSThisType":return ge.fromString("this",t);case"TSNullKeyword":return ge.fromString("null",t);case"TSUndefinedKeyword":return ge.fromString("undefined",t);case"TSUnknownKeyword":return ge.fromString("unknown",t);case"TSNeverKeyword":return ge.fromString("never",t);case"TSArrayType":return ge.concat([e.call(n,"elementType"),"[]"]);case"TSLiteralType":return e.call(n,"literal");case"TSUnionType":return ge.fromString(" | ").join(e.map(n,"types"));case"TSIntersectionType":return ge.fromString(" & ").join(e.map(n,"types"));case"TSConditionalType":return o.push(e.call(n,"checkType")," extends ",e.call(n,"extendsType")," ? ",e.call(n,"trueType")," : ",e.call(n,"falseType")),ge.concat(o);case"TSInferType":return o.push("infer ",e.call(n,"typeParameter")),ge.concat(o);case"TSParenthesizedType":return ge.concat(["(",e.call(n,"typeAnnotation"),")"]);case"TSFunctionType":return ge.concat([e.call(n,"typeParameters"),"(",ts(e,t,n),") => ",e.call(n,"typeAnnotation","typeAnnotation")]);case"TSConstructorType":return ge.concat(["new ",e.call(n,"typeParameters"),"(",ts(e,t,n),") => ",e.call(n,"typeAnnotation","typeAnnotation")]);case"TSMappedType":return o.push(i.readonly?"readonly ":"","[",e.call(n,"typeParameter"),"]",i.optional?"?":""),i.typeAnnotation&&o.push(": ",e.call(n,"typeAnnotation"),";"),ge.concat([`{
|
|
`,ge.concat(o).indent(t.tabWidth),`
|
|
}`]);case"TSTupleType":return ge.concat(["[",ge.fromString(", ").join(e.map(n,"elementTypes")),"]"]);case"TSNamedTupleMember":return o.push(e.call(n,"label")),i.optional&&o.push("?"),o.push(": ",e.call(n,"elementType")),ge.concat(o);case"TSRestType":return ge.concat(["...",e.call(n,"typeAnnotation")]);case"TSOptionalType":return ge.concat([e.call(n,"typeAnnotation"),"?"]);case"TSIndexedAccessType":return ge.concat([e.call(n,"objectType"),"[",e.call(n,"indexType"),"]"]);case"TSTypeOperator":return ge.concat([e.call(n,"operator")," ",e.call(n,"typeAnnotation")]);case"TSTypeLiteral":{var Qe=ge.fromString(`,
|
|
`).join(e.map(n,"members"));return Qe.isEmpty()?ge.fromString("{}",t):(o.push(`{
|
|
`,Qe.indent(t.tabWidth),`
|
|
}`),ge.concat(o))}case"TSEnumMember":return o.push(e.call(n,"id")),i.initializer&&o.push(" = ",e.call(n,"initializer")),ge.concat(o);case"TSTypeQuery":return ge.concat(["typeof ",e.call(n,"exprName")]);case"TSParameterProperty":return i.accessibility&&o.push(i.accessibility," "),i.export&&o.push("export "),i.static&&o.push("static "),i.readonly&&o.push("readonly "),o.push(e.call(n,"parameter")),ge.concat(o);case"TSTypeReference":return ge.concat([e.call(n,"typeName"),e.call(n,"typeParameters")]);case"TSQualifiedName":return ge.concat([e.call(n,"left"),".",e.call(n,"right")]);case"TSAsExpression":{var pt=e.call(n,"expression");return o.push(pt,ge.fromString(" as "),e.call(n,"typeAnnotation")),ge.concat(o)}case"TSNonNullExpression":return ge.concat([e.call(n,"expression"),"!"]);case"TSTypeAnnotation":return ge.concat([": ",e.call(n,"typeAnnotation")]);case"TSIndexSignature":return ge.concat([i.readonly?"readonly ":"","[",e.map(n,"parameters"),"]",e.call(n,"typeAnnotation")]);case"TSPropertySignature":return o.push(jl(e,n),i.readonly?"readonly ":""),i.computed?o.push("[",e.call(n,"key"),"]"):o.push(e.call(n,"key")),o.push(i.optional?"?":"",e.call(n,"typeAnnotation")),ge.concat(o);case"TSMethodSignature":return i.computed?o.push("[",e.call(n,"key"),"]"):o.push(e.call(n,"key")),i.optional&&o.push("?"),o.push(e.call(n,"typeParameters"),"(",ts(e,t,n),")",e.call(n,"typeAnnotation")),ge.concat(o);case"TSTypePredicate":return i.asserts&&o.push("asserts "),o.push(e.call(n,"parameterName")),i.typeAnnotation&&o.push(" is ",e.call(n,"typeAnnotation","typeAnnotation")),ge.concat(o);case"TSCallSignatureDeclaration":return ge.concat([e.call(n,"typeParameters"),"(",ts(e,t,n),")",e.call(n,"typeAnnotation")]);case"TSConstructSignatureDeclaration":return i.typeParameters?o.push("new",e.call(n,"typeParameters")):o.push("new "),o.push("(",ts(e,t,n),")",e.call(n,"typeAnnotation")),ge.concat(o);case"TSTypeAliasDeclaration":return ge.concat([i.declare?"declare ":"","type ",e.call(n,"id"),e.call(n,"typeParameters")," = ",e.call(n,"typeAnnotation"),";"]);case"TSTypeParameter":{o.push(e.call(n,"name"));var Ee=e.getParentNode(0),dt=dn.TSMappedType.check(Ee);return i.constraint&&o.push(dt?" in ":" extends ",e.call(n,"constraint")),i.default&&o.push(" = ",e.call(n,"default")),ge.concat(o)}case"TSTypeAssertion":return o.push("<",e.call(n,"typeAnnotation"),"> ",e.call(n,"expression")),ge.concat(o);case"TSTypeParameterDeclaration":case"TSTypeParameterInstantiation":return ge.concat(["<",ge.fromString(", ").join(e.map(n,"params")),">"]);case"TSEnumDeclaration":{o.push(i.declare?"declare ":"",i.const?"const ":"","enum ",e.call(n,"id"));var Qe=ge.fromString(`,
|
|
`).join(e.map(n,"members"));return Qe.isEmpty()?o.push(" {}"):o.push(` {
|
|
`,Qe.indent(t.tabWidth),`
|
|
}`),ge.concat(o)}case"TSExpressionWithTypeArguments":return ge.concat([e.call(n,"expression"),e.call(n,"typeParameters")]);case"TSInterfaceBody":{var d=ge.fromString(`;
|
|
`).join(e.map(n,"body"));return d.isEmpty()?ge.fromString("{}",t):ge.concat([`{
|
|
`,d.indent(t.tabWidth),";",`
|
|
}`])}case"TSImportType":return o.push("import(",e.call(n,"argument"),")"),i.qualifier&&o.push(".",e.call(n,"qualifier")),i.typeParameters&&o.push(e.call(n,"typeParameters")),ge.concat(o);case"TSImportEqualsDeclaration":return i.isExport&&o.push("export "),o.push("import ",e.call(n,"id")," = ",e.call(n,"moduleReference")),Op(ge.concat(o));case"TSExternalModuleReference":return ge.concat(["require(",e.call(n,"expression"),")"]);case"TSModuleDeclaration":{var Ee=e.getParentNode();if(Ee.type==="TSModuleDeclaration")o.push(".");else if(i.declare&&o.push("declare "),!i.global){var Ue=i.id.type==="StringLiteral"||i.id.type==="Literal"&&typeof i.id.value=="string";if(Ue)o.push("module ");else if(i.loc&&i.loc.lines&&i.id.loc){var ce=i.loc.lines.sliceString(i.loc.start,i.id.loc.start);ce.indexOf("module")>=0?o.push("module "):o.push("namespace ")}else o.push("namespace ")}if(o.push(e.call(n,"id")),i.body&&i.body.type==="TSModuleDeclaration")o.push(e.call(n,"body"));else if(i.body){var xe=e.call(n,"body");xe.isEmpty()?o.push(" {}"):o.push(` {
|
|
`,xe.indent(t.tabWidth),`
|
|
}`)}return ge.concat(o)}case"TSModuleBlock":return e.call(function(he){return yo(he,t,n)},"body");case"ClassHeritage":case"ComprehensionBlock":case"ComprehensionExpression":case"Glob":case"GeneratorExpression":case"LetStatement":case"LetExpression":case"GraphExpression":case"GraphIndexExpression":case"XMLDefaultDeclaration":case"XMLAnyName":case"XMLQualifiedIdentifier":case"XMLFunctionQualifiedIdentifier":case"XMLAttributeSelector":case"XMLFilterExpression":case"XML":case"XMLElement":case"XMLList":case"XMLEscape":case"XMLText":case"XMLStartTag":case"XMLEndTag":case"XMLPointTag":case"XMLName":case"XMLAttribute":case"XMLCdata":case"XMLComment":case"XMLProcessingInstruction":default:debugger;throw new Error("unknown type: "+JSON.stringify(i.type))}}function TM(e,t){var n=[],i=e.getValue();return i.decorators&&i.decorators.length>0&&!rs.getParentExportDeclaration(e)?e.each(function(o){n.push(t(o),`
|
|
`)},"decorators"):rs.isExportDeclaration(i)&&i.declaration&&i.declaration.decorators&&e.each(function(o){n.push(t(o),`
|
|
`)},"declaration","decorators"),ge.concat(n)}function yo(e,t,n){var i=[],o=!1,r=!1;e.each(function(d){var s=d.getValue();s&&(s.type==="EmptyStatement"&&!(s.comments&&s.comments.length>0)||(dn.Comment.check(s)?o=!0:dn.Statement.check(s)?r=!0:cm.assert(s),i.push({node:s,printed:n(d)})))}),o&&Li.default.strictEqual(r,!1,"Comments may appear as statements in otherwise empty statement lists, but may not coexist with non-Comment nodes.");var u=null,a=i.length,m=[];return i.forEach(function(d,s){var l=d.printed,f=d.node,p=l.length>1,h=s>0,y=s<a-1,b,E,v=f&&f.loc&&f.loc.lines,S=v&&t.reuseWhitespace&&rs.getTrueLoc(f,v);if(h)if(S){var w=v.skipSpaces(S.start,!0),A=w?w.line:1,x=S.start.line-A;b=Array(x+1).join(`
|
|
`)}else b=p?`
|
|
|
|
`:`
|
|
`;else b="";if(y)if(S){var C=v.skipSpaces(S.end),P=C?C.line:v.length,D=P-S.end.line;E=Array(D+1).join(`
|
|
`)}else E=p?`
|
|
|
|
`:`
|
|
`;else E="";m.push(EM(u,b),l),y?u=E:E&&m.push(E)}),ge.concat(m)}function EM(e,t){if(!e&&!t)return ge.fromString("");if(!e)return ge.fromString(t);if(!t)return ge.fromString(e);var n=ge.fromString(e),i=ge.fromString(t);return i.length>n.length?i:n}function um(e,t,n){var i=e.getNode(),o=i.kind,r=[],u=i.value;dn.FunctionExpression.check(u)||(u=i);var a=i.accessibility||i.access;typeof a=="string"&&r.push(a," "),i.static&&r.push("static "),i.abstract&&r.push("abstract "),i.readonly&&r.push("readonly "),u.async&&r.push("async "),u.generator&&r.push("*"),(o==="get"||o==="set")&&r.push(o," ");var m=e.call(n,"key");return i.computed&&(m=ge.concat(["[",m,"]"])),r.push(m),i.optional&&r.push("?"),i===u?(r.push(e.call(n,"typeParameters"),"(",ts(e,t,n),")",e.call(n,"returnType")),i.body?r.push(" ",e.call(n,"body")):r.push(";")):(r.push(e.call(n,"value","typeParameters"),"(",e.call(function(d){return ts(d,t,n)},"value"),")",e.call(n,"value","returnType")),u.body?r.push(" ",e.call(n,"value","body")):r.push(";")),ge.concat(r)}function uS(e,t,n){var i=e.map(n,"arguments"),o=rs.isTrailingCommaEnabled(t,"parameters"),r=ge.fromString(", ").join(i);return r.getLineLength(1)>t.wrapColumn?(r=ge.fromString(`,
|
|
`).join(i),ge.concat([`(
|
|
`,r.indent(t.tabWidth),o?`,
|
|
)`:`
|
|
)`])):ge.concat(["(",r,")"])}function ts(e,t,n){var i=e.getValue(),o,r=[];i.params?(o=i.params,r=e.map(n,"params")):i.parameters&&(o=i.parameters,r=e.map(n,"parameters")),i.defaults&&e.each(function(a){var m=a.getName(),d=r[m];d&&a.getValue()&&(r[m]=ge.concat([d," = ",n(a)]))},"defaults"),i.rest&&r.push(ge.concat(["...",e.call(n,"rest")]));var u=ge.fromString(", ").join(r);return u.length>1||u.getLineLength(1)>t.wrapColumn?(u=ge.fromString(`,
|
|
`).join(r),rs.isTrailingCommaEnabled(t,"parameters")&&!i.rest&&o[o.length-1].type!=="RestElement"?u=ge.concat([u,`,
|
|
`]):u=ge.concat([u,`
|
|
`]),ge.concat([`
|
|
`,u.indent(t.tabWidth)])):u}function cS(e,t,n){var i=e.getValue(),o=["export "];i.exportKind&&i.exportKind==="type"&&(i.declaration||o.push("type "));var r=t.objectCurlySpacing;if(dn.Declaration.assert(i),(i.default||i.type==="ExportDefaultDeclaration")&&o.push("default "),i.declaration)o.push(e.call(n,"declaration"));else if(i.specifiers){if(i.specifiers.length===1&&i.specifiers[0].type==="ExportBatchSpecifier")o.push("*");else if(i.specifiers.length===0)o.push("{}");else if(i.specifiers[0].type==="ExportDefaultSpecifier"){var u=[],a=[];if(e.each(function(s){var l=s.getValue();l.type==="ExportDefaultSpecifier"?u.push(n(s)):a.push(n(s))},"specifiers"),u.forEach(function(s,l){l>0&&o.push(", "),o.push(s)}),a.length>0){var m=ge.fromString(", ").join(a);m.getLineLength(1)>t.wrapColumn&&(m=ge.concat([ge.fromString(`,
|
|
`).join(a).indent(t.tabWidth),","])),u.length>0&&o.push(", "),m.length>1?o.push(`{
|
|
`,m,`
|
|
}`):t.objectCurlySpacing?o.push("{ ",m," }"):o.push("{",m,"}")}}else o.push(r?"{ ":"{",ge.fromString(", ").join(e.map(n,"specifiers")),r?" }":"}");i.source&&o.push(" from ",e.call(n,"source"))}var d=ge.concat(o);return pm(d)!==";"&&!(i.declaration&&(i.declaration.type==="FunctionDeclaration"||i.declaration.type==="ClassDeclaration"||i.declaration.type==="TSModuleDeclaration"||i.declaration.type==="TSInterfaceDeclaration"||i.declaration.type==="TSEnumDeclaration"))&&(d=ge.concat([d,";"])),d}function Fl(e,t){var n=rs.getParentExportDeclaration(e);return n?Li.default.strictEqual(n.type,"DeclareExportDeclaration"):t.unshift("declare "),ge.concat(t)}function jl(e,t){return e.call(function(n){var i=n.getValue();return i?i==="plus"?ge.fromString("+"):i==="minus"?ge.fromString("-"):t(n):ge.fromString("")},"variance")}function ka(e,t){return e.length>1?ge.concat([" ",e]):ge.concat([`
|
|
`,Op(e).indent(t.tabWidth)])}function pm(e){var t=e.lastPos();do{var n=e.charAt(t);if(/\S/.test(n))return n}while(e.prevPos(t))}function pS(e){return pm(e)==="}"}function kp(e){return e.replace(/['"]/g,function(t){return t==='"'?"'":'"'})}function Dp(e,t){switch(cm.assert(e),t.quote){case"auto":{var n=JSON.stringify(e),i=kp(JSON.stringify(kp(e)));return n.length>i.length?i:n}case"single":return kp(JSON.stringify(kp(e)));case"double":default:return JSON.stringify(e)}}function Op(e){var t=pm(e);return!t||`
|
|
};`.indexOf(t)<0?ge.concat([e,";"]):e}});var bS=me(ai=>{"use strict";Object.defineProperty(ai,"__esModule",{value:!0});ai.run=ai.prettyPrint=ai.print=ai.types=ai.parse=void 0;var fS=(gr(),Er(br)),SM=fS.__importDefault(yt("fs")),xM=fS.__importStar(Qi());ai.types=xM;var hS=XE();Object.defineProperty(ai,"parse",{enumerable:!0,get:function(){return hS.parse}});var mS=dS(),_M=Qi();Object.defineProperty(ai,"visit",{enumerable:!0,get:function(){return _M.visit}});function yS(e,t){return new mS.Printer(t).print(e)}ai.print=yS;function wM(e,t){return new mS.Printer(t).printGenerically(e)}ai.prettyPrint=wM;function CM(e,t){return AM(process.argv[2],e,t)}ai.run=CM;function AM(e,t,n){SM.default.readFile(e,"utf-8",function(i,o){if(i){console.error(i);return}kM(o,t,n)})}function PM(e){process.stdout.write(e)}function kM(e,t,n){var i=n&&n.writeback||PM;t(hS.parse(e,n),function(o){i(yS(o,n).code)})}});var ES=me((VY,dm)=>{"use strict";var gS=yt("path"),vS=yt("module"),DM=yt("fs"),TS=(e,t,n)=>{if(typeof e!="string")throw new TypeError(`Expected \`fromDir\` to be of type \`string\`, got \`${typeof e}\``);if(typeof t!="string")throw new TypeError(`Expected \`moduleId\` to be of type \`string\`, got \`${typeof t}\``);try{e=DM.realpathSync(e)}catch(r){if(r.code==="ENOENT")e=gS.resolve(e);else{if(n)return;throw r}}let i=gS.join(e,"noop.js"),o=()=>vS._resolveFilename(t,{id:i,filename:i,paths:vS._nodeModulePaths(e)});if(n)try{return o()}catch{return}return o()};dm.exports=(e,t)=>TS(e,t);dm.exports.silent=(e,t)=>TS(e,t,!0)});var xS=me((qY,fm)=>{"use strict";var SS=()=>{let e=Error.prepareStackTrace;Error.prepareStackTrace=(n,i)=>i;let t=new Error().stack.slice(1);return Error.prepareStackTrace=e,t};fm.exports=SS;fm.exports.default=SS});var wS=me((WY,_S)=>{"use strict";var IM=xS();_S.exports=e=>{let t=IM();if(!e)return t[2].getFileName();let n=!1;t.shift();for(let i of t){let o=i.getFileName();if(typeof o=="string"){if(o===e){n=!0;continue}if(o!=="module.js"&&n&&o!==e)return o}}}});var IS=me((KY,DS)=>{"use strict";var CS=yt("path"),AS=ES(),PS=wS(),kS=e=>{try{return AS(CS.dirname(PS(__filename)),e)}catch{}},bo=e=>{if(typeof e!="string")throw new TypeError(`Expected a \`string\`, got \`${typeof e}\``);let t=kS(e);if(t){if(yt.cache[t]&&yt.cache[t].parent){let n=yt.cache[t].parent.children.length;for(;n--;)yt.cache[t].parent.children[n].id===t&&yt.cache[t].parent.children.splice(n,1)}if(yt.cache[t]){let n=yt.cache[t].children.map(i=>i.id);delete yt.cache[t];for(let i of n)bo(i)}}};bo.all=()=>{let e=CS.dirname(PS(__filename));for(let t of Object.keys(yt.cache))delete yt.cache[AS(e,t)]};bo.match=e=>{for(let t of Object.keys(yt.cache))e.test(t)&&bo(t)};bo.single=e=>{if(typeof e!="string")throw new TypeError(`Expected a \`string\`, got \`${typeof e}\``);delete yt.cache[kS(e)]};DS.exports=bo});var Ml=me((JY,hm)=>{var FM=yt("tty"),jM=!("NO_COLOR"in process.env||process.argv.includes("--no-color"))&&("FORCE_COLOR"in process.env||process.argv.includes("--color")||process.platform==="win32"||FM.isatty(1)&&process.env.TERM!=="dumb"||"CI"in process.env),Xr=(e,t,n=e)=>i=>{let o=""+i,r=o.indexOf(t,e.length);return~r?e+jS(o,t,n,r)+t:e+o+t},jS=(e,t,n,i)=>{let o=e.substring(0,i)+n,r=e.substring(i+t.length),u=r.indexOf(t);return~u?o+jS(r,t,n,u):o+r},LS=(e=jM)=>({isColorSupported:e,reset:e?t=>`\x1B[0m${t}\x1B[0m`:String,bold:e?Xr("\x1B[1m","\x1B[22m","\x1B[22m\x1B[1m"):String,dim:e?Xr("\x1B[2m","\x1B[22m","\x1B[22m\x1B[2m"):String,italic:e?Xr("\x1B[3m","\x1B[23m"):String,underline:e?Xr("\x1B[4m","\x1B[24m"):String,inverse:e?Xr("\x1B[7m","\x1B[27m"):String,hidden:e?Xr("\x1B[8m","\x1B[28m"):String,strikethrough:e?Xr("\x1B[9m","\x1B[29m"):String,black:e?Xr("\x1B[30m","\x1B[39m"):String,red:e?Xr("\x1B[31m","\x1B[39m"):String,green:e?Xr("\x1B[32m","\x1B[39m"):String,yellow:e?Xr("\x1B[33m","\x1B[39m"):String,blue:e?Xr("\x1B[34m","\x1B[39m"):String,magenta:e?Xr("\x1B[35m","\x1B[39m"):String,cyan:e?Xr("\x1B[36m","\x1B[39m"):String,white:e?Xr("\x1B[37m","\x1B[39m"):String,gray:e?Xr("\x1B[90m","\x1B[39m"):String,bgBlack:e?Xr("\x1B[40m","\x1B[49m"):String,bgRed:e?Xr("\x1B[41m","\x1B[49m"):String,bgGreen:e?Xr("\x1B[42m","\x1B[49m"):String,bgYellow:e?Xr("\x1B[43m","\x1B[49m"):String,bgBlue:e?Xr("\x1B[44m","\x1B[49m"):String,bgMagenta:e?Xr("\x1B[45m","\x1B[49m"):String,bgCyan:e?Xr("\x1B[46m","\x1B[49m"):String,bgWhite:e?Xr("\x1B[47m","\x1B[49m"):String});hm.exports=LS();hm.exports.createColors=LS});var mm=me((YY,RS)=>{"use strict";var Lp=/[\t\n\f\r "#'()/;[\\\]{}]/g,Mp=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,LM=/.[\r\n"'(/\\]/,MS=/[\da-f]/i;RS.exports=function(t,n={}){let i=t.css.valueOf(),o=n.ignoreErrors,r,u,a,m,d,s,l,f,p,h,y=i.length,b=0,E=[],v=[];function S(){return b}function w(P){throw t.error("Unclosed "+P,b)}function A(){return v.length===0&&b>=y}function x(P){if(v.length)return v.pop();if(b>=y)return;let D=P?P.ignoreUnclosed:!1;switch(r=i.charCodeAt(b),r){case 10:case 32:case 9:case 13:case 12:{u=b;do u+=1,r=i.charCodeAt(u);while(r===32||r===10||r===9||r===13||r===12);h=["space",i.slice(b,u)],b=u-1;break}case 91:case 93:case 123:case 125:case 58:case 59:case 41:{let L=String.fromCharCode(r);h=[L,L,b];break}case 40:{if(f=E.length?E.pop()[1]:"",p=i.charCodeAt(b+1),f==="url"&&p!==39&&p!==34&&p!==32&&p!==10&&p!==9&&p!==12&&p!==13){u=b;do{if(s=!1,u=i.indexOf(")",u+1),u===-1)if(o||D){u=b;break}else w("bracket");for(l=u;i.charCodeAt(l-1)===92;)l-=1,s=!s}while(s);h=["brackets",i.slice(b,u+1),b,u],b=u}else u=i.indexOf(")",b+1),m=i.slice(b,u+1),u===-1||LM.test(m)?h=["(","(",b]:(h=["brackets",m,b,u],b=u);break}case 39:case 34:{a=r===39?"'":'"',u=b;do{if(s=!1,u=i.indexOf(a,u+1),u===-1)if(o||D){u=b+1;break}else w("string");for(l=u;i.charCodeAt(l-1)===92;)l-=1,s=!s}while(s);h=["string",i.slice(b,u+1),b,u],b=u;break}case 64:{Lp.lastIndex=b+1,Lp.test(i),Lp.lastIndex===0?u=i.length-1:u=Lp.lastIndex-2,h=["at-word",i.slice(b,u+1),b,u],b=u;break}case 92:{for(u=b,d=!0;i.charCodeAt(u+1)===92;)u+=1,d=!d;if(r=i.charCodeAt(u+1),d&&r!==47&&r!==32&&r!==10&&r!==9&&r!==13&&r!==12&&(u+=1,MS.test(i.charAt(u)))){for(;MS.test(i.charAt(u+1));)u+=1;i.charCodeAt(u+1)===32&&(u+=1)}h=["word",i.slice(b,u+1),b,u],b=u;break}default:{r===47&&i.charCodeAt(b+1)===42?(u=i.indexOf("*/",b+2)+1,u===0&&(o||D?u=i.length:w("comment")),h=["comment",i.slice(b,u+1),b,u],b=u):(Mp.lastIndex=b+1,Mp.test(i),Mp.lastIndex===0?u=i.length-1:u=Mp.lastIndex-2,h=["word",i.slice(b,u+1),b,u],E.push(h),b=u);break}}return b++,h}function C(P){v.push(P)}return{back:C,endOfFile:A,nextToken:x,position:S}}});var ym=me((QY,$S)=>{"use strict";var Kn=Ml(),MM=mm(),BS;function RM(e){BS=e}var BM={";":Kn.yellow,":":Kn.yellow,"(":Kn.cyan,")":Kn.cyan,"[":Kn.yellow,"]":Kn.yellow,"{":Kn.yellow,"}":Kn.yellow,"at-word":Kn.cyan,brackets:Kn.cyan,call:Kn.cyan,class:Kn.yellow,comment:Kn.gray,hash:Kn.magenta,string:Kn.green};function UM([e,t],n){if(e==="word"){if(t[0]===".")return"class";if(t[0]==="#")return"hash"}if(!n.endOfFile()){let i=n.nextToken();if(n.back(i),i[0]==="brackets"||i[0]==="(")return"call"}return e}function US(e){let t=MM(new BS(e),{ignoreErrors:!0}),n="";for(;!t.endOfFile();){let i=t.nextToken(),o=BM[UM(i,t)];o?n+=i[1].split(/\r?\n/).map(r=>o(r)).join(`
|
|
`):n+=i[1]}return n}US.registerInput=RM;$S.exports=US});var Rp=me((ZY,WS)=>{"use strict";var VS=Ml(),qS=ym(),Rl=class e extends Error{constructor(t,n,i,o,r,u){super(t),this.name="CssSyntaxError",this.reason=t,r&&(this.file=r),o&&(this.source=o),u&&(this.plugin=u),typeof n<"u"&&typeof i<"u"&&(typeof n=="number"?(this.line=n,this.column=i):(this.line=n.line,this.column=n.column,this.endLine=i.line,this.endColumn=i.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,e)}setMessage(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",typeof this.line<"u"&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason}showSourceCode(t){if(!this.source)return"";let n=this.source;t==null&&(t=VS.isColorSupported),qS&&t&&(n=qS(n));let i=n.split(/\r?\n/),o=Math.max(this.line-3,0),r=Math.min(this.line+2,i.length),u=String(r).length,a,m;if(t){let{bold:d,gray:s,red:l}=VS.createColors(!0);a=f=>d(l(f)),m=f=>s(f)}else a=m=d=>d;return i.slice(o,r).map((d,s)=>{let l=o+1+s,f=" "+(" "+l).slice(-u)+" | ";if(l===this.line){let p=m(f.replace(/\d/g," "))+d.slice(0,this.column-1).replace(/[^\t]/g," ");return a(">")+m(f)+d+`
|
|
`+p+a("^")}return" "+m(f)+d}).join(`
|
|
`)}toString(){let t=this.showSourceCode();return t&&(t=`
|
|
|
|
`+t+`
|
|
`),this.name+": "+this.message+t}};WS.exports=Rl;Rl.default=Rl});var Bp=me((eQ,bm)=>{"use strict";bm.exports.isClean=Symbol("isClean");bm.exports.my=Symbol("my")});var gm=me((tQ,zS)=>{"use strict";var KS={after:`
|
|
`,beforeClose:`
|
|
`,beforeComment:`
|
|
`,beforeDecl:`
|
|
`,beforeOpen:" ",beforeRule:`
|
|
`,colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:" ",semicolon:!1};function $M(e){return e[0].toUpperCase()+e.slice(1)}var Bl=class{constructor(t){this.builder=t}atrule(t,n){let i="@"+t.name,o=t.params?this.rawValue(t,"params"):"";if(typeof t.raws.afterName<"u"?i+=t.raws.afterName:o&&(i+=" "),t.nodes)this.block(t,i+o);else{let r=(t.raws.between||"")+(n?";":"");this.builder(i+o+r,t)}}beforeAfter(t,n){let i;t.type==="decl"?i=this.raw(t,null,"beforeDecl"):t.type==="comment"?i=this.raw(t,null,"beforeComment"):n==="before"?i=this.raw(t,null,"beforeRule"):i=this.raw(t,null,"beforeClose");let o=t.parent,r=0;for(;o&&o.type!=="root";)r+=1,o=o.parent;if(i.includes(`
|
|
`)){let u=this.raw(t,null,"indent");if(u.length)for(let a=0;a<r;a++)i+=u}return i}block(t,n){let i=this.raw(t,"between","beforeOpen");this.builder(n+i+"{",t,"start");let o;t.nodes&&t.nodes.length?(this.body(t),o=this.raw(t,"after")):o=this.raw(t,"after","emptyBody"),o&&this.builder(o),this.builder("}",t,"end")}body(t){let n=t.nodes.length-1;for(;n>0&&t.nodes[n].type==="comment";)n-=1;let i=this.raw(t,"semicolon");for(let o=0;o<t.nodes.length;o++){let r=t.nodes[o],u=this.raw(r,"before");u&&this.builder(u),this.stringify(r,n!==o||i)}}comment(t){let n=this.raw(t,"left","commentLeft"),i=this.raw(t,"right","commentRight");this.builder("/*"+n+t.text+i+"*/",t)}decl(t,n){let i=this.raw(t,"between","colon"),o=t.prop+i+this.rawValue(t,"value");t.important&&(o+=t.raws.important||" !important"),n&&(o+=";"),this.builder(o,t)}document(t){this.body(t)}raw(t,n,i){let o;if(i||(i=n),n&&(o=t.raws[n],typeof o<"u"))return o;let r=t.parent;if(i==="before"&&(!r||r.type==="root"&&r.first===t||r&&r.type==="document"))return"";if(!r)return KS[i];let u=t.root();if(u.rawCache||(u.rawCache={}),typeof u.rawCache[i]<"u")return u.rawCache[i];if(i==="before"||i==="after")return this.beforeAfter(t,i);{let a="raw"+$M(i);this[a]?o=this[a](u,t):u.walk(m=>{if(o=m.raws[n],typeof o<"u")return!1})}return typeof o>"u"&&(o=KS[i]),u.rawCache[i]=o,o}rawBeforeClose(t){let n;return t.walk(i=>{if(i.nodes&&i.nodes.length>0&&typeof i.raws.after<"u")return n=i.raws.after,n.includes(`
|
|
`)&&(n=n.replace(/[^\n]+$/,"")),!1}),n&&(n=n.replace(/\S/g,"")),n}rawBeforeComment(t,n){let i;return t.walkComments(o=>{if(typeof o.raws.before<"u")return i=o.raws.before,i.includes(`
|
|
`)&&(i=i.replace(/[^\n]+$/,"")),!1}),typeof i>"u"?i=this.raw(n,null,"beforeDecl"):i&&(i=i.replace(/\S/g,"")),i}rawBeforeDecl(t,n){let i;return t.walkDecls(o=>{if(typeof o.raws.before<"u")return i=o.raws.before,i.includes(`
|
|
`)&&(i=i.replace(/[^\n]+$/,"")),!1}),typeof i>"u"?i=this.raw(n,null,"beforeRule"):i&&(i=i.replace(/\S/g,"")),i}rawBeforeOpen(t){let n;return t.walk(i=>{if(i.type!=="decl"&&(n=i.raws.between,typeof n<"u"))return!1}),n}rawBeforeRule(t){let n;return t.walk(i=>{if(i.nodes&&(i.parent!==t||t.first!==i)&&typeof i.raws.before<"u")return n=i.raws.before,n.includes(`
|
|
`)&&(n=n.replace(/[^\n]+$/,"")),!1}),n&&(n=n.replace(/\S/g,"")),n}rawColon(t){let n;return t.walkDecls(i=>{if(typeof i.raws.between<"u")return n=i.raws.between.replace(/[^\s:]/g,""),!1}),n}rawEmptyBody(t){let n;return t.walk(i=>{if(i.nodes&&i.nodes.length===0&&(n=i.raws.after,typeof n<"u"))return!1}),n}rawIndent(t){if(t.raws.indent)return t.raws.indent;let n;return t.walk(i=>{let o=i.parent;if(o&&o!==t&&o.parent&&o.parent===t&&typeof i.raws.before<"u"){let r=i.raws.before.split(`
|
|
`);return n=r[r.length-1],n=n.replace(/\S/g,""),!1}}),n}rawSemicolon(t){let n;return t.walk(i=>{if(i.nodes&&i.nodes.length&&i.last.type==="decl"&&(n=i.raws.semicolon,typeof n<"u"))return!1}),n}rawValue(t,n){let i=t[n],o=t.raws[n];return o&&o.value===i?o.raw:i}root(t){this.body(t),t.raws.after&&this.builder(t.raws.after)}rule(t){this.block(t,this.rawValue(t,"selector")),t.raws.ownSemicolon&&this.builder(t.raws.ownSemicolon,t,"end")}stringify(t,n){if(!this[t.type])throw new Error("Unknown AST node type "+t.type+". Maybe you need to change PostCSS stringifier.");this[t.type](t,n)}};zS.exports=Bl;Bl.default=Bl});var Ul=me((rQ,GS)=>{"use strict";var VM=gm();function vm(e,t){new VM(t).stringify(e)}GS.exports=vm;vm.default=vm});var Vl=me((nQ,HS)=>{"use strict";var{isClean:Up,my:qM}=Bp(),WM=Rp(),KM=gm(),zM=Ul();function Tm(e,t){let n=new e.constructor;for(let i in e){if(!Object.prototype.hasOwnProperty.call(e,i)||i==="proxyCache")continue;let o=e[i],r=typeof o;i==="parent"&&r==="object"?t&&(n[i]=t):i==="source"?n[i]=o:Array.isArray(o)?n[i]=o.map(u=>Tm(u,n)):(r==="object"&&o!==null&&(o=Tm(o)),n[i]=o)}return n}var $l=class{constructor(t={}){this.raws={},this[Up]=!1,this[qM]=!0;for(let n in t)if(n==="nodes"){this.nodes=[];for(let i of t[n])typeof i.clone=="function"?this.append(i.clone()):this.append(i)}else this[n]=t[n]}addToError(t){if(t.postcssNode=this,t.stack&&this.source&&/\n\s{4}at /.test(t.stack)){let n=this.source;t.stack=t.stack.replace(/\n\s{4}at /,`$&${n.input.from}:${n.start.line}:${n.start.column}$&`)}return t}after(t){return this.parent.insertAfter(this,t),this}assign(t={}){for(let n in t)this[n]=t[n];return this}before(t){return this.parent.insertBefore(this,t),this}cleanRaws(t){delete this.raws.before,delete this.raws.after,t||delete this.raws.between}clone(t={}){let n=Tm(this);for(let i in t)n[i]=t[i];return n}cloneAfter(t={}){let n=this.clone(t);return this.parent.insertAfter(this,n),n}cloneBefore(t={}){let n=this.clone(t);return this.parent.insertBefore(this,n),n}error(t,n={}){if(this.source){let{end:i,start:o}=this.rangeBy(n);return this.source.input.error(t,{column:o.column,line:o.line},{column:i.column,line:i.line},n)}return new WM(t)}getProxyProcessor(){return{get(t,n){return n==="proxyOf"?t:n==="root"?()=>t.root().toProxy():t[n]},set(t,n,i){return t[n]===i||(t[n]=i,(n==="prop"||n==="value"||n==="name"||n==="params"||n==="important"||n==="text")&&t.markDirty()),!0}}}markDirty(){if(this[Up]){this[Up]=!1;let t=this;for(;t=t.parent;)t[Up]=!1}}next(){if(!this.parent)return;let t=this.parent.index(this);return this.parent.nodes[t+1]}positionBy(t,n){let i=this.source.start;if(t.index)i=this.positionInside(t.index,n);else if(t.word){n=this.toString();let o=n.indexOf(t.word);o!==-1&&(i=this.positionInside(o,n))}return i}positionInside(t,n){let i=n||this.toString(),o=this.source.start.column,r=this.source.start.line;for(let u=0;u<t;u++)i[u]===`
|
|
`?(o=1,r+=1):o+=1;return{column:o,line:r}}prev(){if(!this.parent)return;let t=this.parent.index(this);return this.parent.nodes[t-1]}rangeBy(t){let n={column:this.source.start.column,line:this.source.start.line},i=this.source.end?{column:this.source.end.column+1,line:this.source.end.line}:{column:n.column+1,line:n.line};if(t.word){let o=this.toString(),r=o.indexOf(t.word);r!==-1&&(n=this.positionInside(r,o),i=this.positionInside(r+t.word.length,o))}else t.start?n={column:t.start.column,line:t.start.line}:t.index&&(n=this.positionInside(t.index)),t.end?i={column:t.end.column,line:t.end.line}:t.endIndex?i=this.positionInside(t.endIndex):t.index&&(i=this.positionInside(t.index+1));return(i.line<n.line||i.line===n.line&&i.column<=n.column)&&(i={column:n.column+1,line:n.line}),{end:i,start:n}}raw(t,n){return new KM().raw(this,t,n)}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}replaceWith(...t){if(this.parent){let n=this,i=!1;for(let o of t)o===this?i=!0:i?(this.parent.insertAfter(n,o),n=o):this.parent.insertBefore(n,o);i||this.remove()}return this}root(){let t=this;for(;t.parent&&t.parent.type!=="document";)t=t.parent;return t}toJSON(t,n){let i={},o=n==null;n=n||new Map;let r=0;for(let u in this){if(!Object.prototype.hasOwnProperty.call(this,u)||u==="parent"||u==="proxyCache")continue;let a=this[u];if(Array.isArray(a))i[u]=a.map(m=>typeof m=="object"&&m.toJSON?m.toJSON(null,n):m);else if(typeof a=="object"&&a.toJSON)i[u]=a.toJSON(null,n);else if(u==="source"){let m=n.get(a.input);m==null&&(m=r,n.set(a.input,r),r++),i[u]={end:a.end,inputId:m,start:a.start}}else i[u]=a}return o&&(i.inputs=[...n.keys()].map(u=>u.toJSON())),i}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}toString(t=zM){t.stringify&&(t=t.stringify);let n="";return t(this,i=>{n+=i}),n}warn(t,n,i){let o={node:this};for(let r in i)o[r]=i[r];return t.warn(n,o)}get proxyOf(){return this}};HS.exports=$l;$l.default=$l});var Wl=me((iQ,XS)=>{"use strict";var GM=Vl(),ql=class extends GM{constructor(t){t&&typeof t.value<"u"&&typeof t.value!="string"&&(t={...t,value:String(t.value)}),super(t),this.type="decl"}get variable(){return this.prop.startsWith("--")||this.prop[0]==="$"}};XS.exports=ql;ql.default=ql});var YS=me(Em=>{var JS="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");Em.encode=function(e){if(0<=e&&e<JS.length)return JS[e];throw new TypeError("Must be between 0 and 63: "+e)};Em.decode=function(e){var t=65,n=90,i=97,o=122,r=48,u=57,a=43,m=47,d=26,s=52;return t<=e&&e<=n?e-t:i<=e&&e<=o?e-i+d:r<=e&&e<=u?e-r+s:e==a?62:e==m?63:-1}});var _m=me(xm=>{var QS=YS(),Sm=5,ZS=1<<Sm,ex=ZS-1,tx=ZS;function HM(e){return e<0?(-e<<1)+1:(e<<1)+0}function XM(e){var t=(e&1)===1,n=e>>1;return t?-n:n}xm.encode=function(t){var n="",i,o=HM(t);do i=o&ex,o>>>=Sm,o>0&&(i|=tx),n+=QS.encode(i);while(o>0);return n};xm.decode=function(t,n,i){var o=t.length,r=0,u=0,a,m;do{if(n>=o)throw new Error("Expected more digits in base 64 VLQ value.");if(m=QS.decode(t.charCodeAt(n++)),m===-1)throw new Error("Invalid base64 digit: "+t.charAt(n-1));a=!!(m&tx),m&=ex,r=r+(m<<u),u+=Sm}while(a);i.value=XM(r),i.rest=n}});var vo=me(An=>{function JM(e,t,n){if(t in e)return e[t];if(arguments.length===3)return n;throw new Error('"'+t+'" is a required argument.')}An.getArg=JM;var rx=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,YM=/^data:.+\,.+$/;function Kl(e){var t=e.match(rx);return t?{scheme:t[1],auth:t[2],host:t[3],port:t[4],path:t[5]}:null}An.urlParse=Kl;function go(e){var t="";return e.scheme&&(t+=e.scheme+":"),t+="//",e.auth&&(t+=e.auth+"@"),e.host&&(t+=e.host),e.port&&(t+=":"+e.port),e.path&&(t+=e.path),t}An.urlGenerate=go;var QM=32;function ZM(e){var t=[];return function(n){for(var i=0;i<t.length;i++)if(t[i].input===n){var o=t[0];return t[0]=t[i],t[i]=o,t[0].result}var r=e(n);return t.unshift({input:n,result:r}),t.length>QM&&t.pop(),r}}var wm=ZM(function(t){var n=t,i=Kl(t);if(i){if(!i.path)return t;n=i.path}for(var o=An.isAbsolute(n),r=[],u=0,a=0;;)if(u=a,a=n.indexOf("/",u),a===-1){r.push(n.slice(u));break}else for(r.push(n.slice(u,a));a<n.length&&n[a]==="/";)a++;for(var m,d=0,a=r.length-1;a>=0;a--)m=r[a],m==="."?r.splice(a,1):m===".."?d++:d>0&&(m===""?(r.splice(a+1,d),d=0):(r.splice(a,2),d--));return n=r.join("/"),n===""&&(n=o?"/":"."),i?(i.path=n,go(i)):n});An.normalize=wm;function nx(e,t){e===""&&(e="."),t===""&&(t=".");var n=Kl(t),i=Kl(e);if(i&&(e=i.path||"/"),n&&!n.scheme)return i&&(n.scheme=i.scheme),go(n);if(n||t.match(YM))return t;if(i&&!i.host&&!i.path)return i.host=t,go(i);var o=t.charAt(0)==="/"?t:wm(e.replace(/\/+$/,"")+"/"+t);return i?(i.path=o,go(i)):o}An.join=nx;An.isAbsolute=function(e){return e.charAt(0)==="/"||rx.test(e)};function eR(e,t){e===""&&(e="."),e=e.replace(/\/$/,"");for(var n=0;t.indexOf(e+"/")!==0;){var i=e.lastIndexOf("/");if(i<0||(e=e.slice(0,i),e.match(/^([^\/]+:\/)?\/*$/)))return t;++n}return Array(n+1).join("../")+t.substr(e.length+1)}An.relative=eR;var ix=function(){var e=Object.create(null);return!("__proto__"in e)}();function sx(e){return e}function tR(e){return ax(e)?"$"+e:e}An.toSetString=ix?sx:tR;function rR(e){return ax(e)?e.slice(1):e}An.fromSetString=ix?sx:rR;function ax(e){if(!e)return!1;var t=e.length;if(t<9||e.charCodeAt(t-1)!==95||e.charCodeAt(t-2)!==95||e.charCodeAt(t-3)!==111||e.charCodeAt(t-4)!==116||e.charCodeAt(t-5)!==111||e.charCodeAt(t-6)!==114||e.charCodeAt(t-7)!==112||e.charCodeAt(t-8)!==95||e.charCodeAt(t-9)!==95)return!1;for(var n=t-10;n>=0;n--)if(e.charCodeAt(n)!==36)return!1;return!0}function nR(e,t,n){var i=Ss(e.source,t.source);return i!==0||(i=e.originalLine-t.originalLine,i!==0)||(i=e.originalColumn-t.originalColumn,i!==0||n)||(i=e.generatedColumn-t.generatedColumn,i!==0)||(i=e.generatedLine-t.generatedLine,i!==0)?i:Ss(e.name,t.name)}An.compareByOriginalPositions=nR;function iR(e,t,n){var i;return i=e.originalLine-t.originalLine,i!==0||(i=e.originalColumn-t.originalColumn,i!==0||n)||(i=e.generatedColumn-t.generatedColumn,i!==0)||(i=e.generatedLine-t.generatedLine,i!==0)?i:Ss(e.name,t.name)}An.compareByOriginalPositionsNoSource=iR;function sR(e,t,n){var i=e.generatedLine-t.generatedLine;return i!==0||(i=e.generatedColumn-t.generatedColumn,i!==0||n)||(i=Ss(e.source,t.source),i!==0)||(i=e.originalLine-t.originalLine,i!==0)||(i=e.originalColumn-t.originalColumn,i!==0)?i:Ss(e.name,t.name)}An.compareByGeneratedPositionsDeflated=sR;function aR(e,t,n){var i=e.generatedColumn-t.generatedColumn;return i!==0||n||(i=Ss(e.source,t.source),i!==0)||(i=e.originalLine-t.originalLine,i!==0)||(i=e.originalColumn-t.originalColumn,i!==0)?i:Ss(e.name,t.name)}An.compareByGeneratedPositionsDeflatedNoLine=aR;function Ss(e,t){return e===t?0:e===null?1:t===null?-1:e>t?1:-1}function oR(e,t){var n=e.generatedLine-t.generatedLine;return n!==0||(n=e.generatedColumn-t.generatedColumn,n!==0)||(n=Ss(e.source,t.source),n!==0)||(n=e.originalLine-t.originalLine,n!==0)||(n=e.originalColumn-t.originalColumn,n!==0)?n:Ss(e.name,t.name)}An.compareByGeneratedPositionsInflated=oR;function lR(e){return JSON.parse(e.replace(/^\)]}'[^\n]*\n/,""))}An.parseSourceMapInput=lR;function uR(e,t,n){if(t=t||"",e&&(e[e.length-1]!=="/"&&t[0]!=="/"&&(e+="/"),t=e+t),n){var i=Kl(n);if(!i)throw new Error("sourceMapURL could not be parsed");if(i.path){var o=i.path.lastIndexOf("/");o>=0&&(i.path=i.path.substring(0,o+1))}t=nx(go(i),t)}return wm(t)}An.computeSourceURL=uR});var Pm=me(ox=>{var Cm=vo(),Am=Object.prototype.hasOwnProperty,Da=typeof Map<"u";function xs(){this._array=[],this._set=Da?new Map:Object.create(null)}xs.fromArray=function(t,n){for(var i=new xs,o=0,r=t.length;o<r;o++)i.add(t[o],n);return i};xs.prototype.size=function(){return Da?this._set.size:Object.getOwnPropertyNames(this._set).length};xs.prototype.add=function(t,n){var i=Da?t:Cm.toSetString(t),o=Da?this.has(t):Am.call(this._set,i),r=this._array.length;(!o||n)&&this._array.push(t),o||(Da?this._set.set(t,r):this._set[i]=r)};xs.prototype.has=function(t){if(Da)return this._set.has(t);var n=Cm.toSetString(t);return Am.call(this._set,n)};xs.prototype.indexOf=function(t){if(Da){var n=this._set.get(t);if(n>=0)return n}else{var i=Cm.toSetString(t);if(Am.call(this._set,i))return this._set[i]}throw new Error('"'+t+'" is not in the set.')};xs.prototype.at=function(t){if(t>=0&&t<this._array.length)return this._array[t];throw new Error("No element indexed by "+t)};xs.prototype.toArray=function(){return this._array.slice()};ox.ArraySet=xs});var cx=me(ux=>{var lx=vo();function cR(e,t){var n=e.generatedLine,i=t.generatedLine,o=e.generatedColumn,r=t.generatedColumn;return i>n||i==n&&r>=o||lx.compareByGeneratedPositionsInflated(e,t)<=0}function $p(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}$p.prototype.unsortedForEach=function(t,n){this._array.forEach(t,n)};$p.prototype.add=function(t){cR(this._last,t)?(this._last=t,this._array.push(t)):(this._sorted=!1,this._array.push(t))};$p.prototype.toArray=function(){return this._sorted||(this._array.sort(lx.compareByGeneratedPositionsInflated),this._sorted=!0),this._array};ux.MappingList=$p});var km=me(px=>{var zl=_m(),yn=vo(),Vp=Pm().ArraySet,pR=cx().MappingList;function Si(e){e||(e={}),this._file=yn.getArg(e,"file",null),this._sourceRoot=yn.getArg(e,"sourceRoot",null),this._skipValidation=yn.getArg(e,"skipValidation",!1),this._sources=new Vp,this._names=new Vp,this._mappings=new pR,this._sourcesContents=null}Si.prototype._version=3;Si.fromSourceMap=function(t){var n=t.sourceRoot,i=new Si({file:t.file,sourceRoot:n});return t.eachMapping(function(o){var r={generated:{line:o.generatedLine,column:o.generatedColumn}};o.source!=null&&(r.source=o.source,n!=null&&(r.source=yn.relative(n,r.source)),r.original={line:o.originalLine,column:o.originalColumn},o.name!=null&&(r.name=o.name)),i.addMapping(r)}),t.sources.forEach(function(o){var r=o;n!==null&&(r=yn.relative(n,o)),i._sources.has(r)||i._sources.add(r);var u=t.sourceContentFor(o);u!=null&&i.setSourceContent(o,u)}),i};Si.prototype.addMapping=function(t){var n=yn.getArg(t,"generated"),i=yn.getArg(t,"original",null),o=yn.getArg(t,"source",null),r=yn.getArg(t,"name",null);this._skipValidation||this._validateMapping(n,i,o,r),o!=null&&(o=String(o),this._sources.has(o)||this._sources.add(o)),r!=null&&(r=String(r),this._names.has(r)||this._names.add(r)),this._mappings.add({generatedLine:n.line,generatedColumn:n.column,originalLine:i!=null&&i.line,originalColumn:i!=null&&i.column,source:o,name:r})};Si.prototype.setSourceContent=function(t,n){var i=t;this._sourceRoot!=null&&(i=yn.relative(this._sourceRoot,i)),n!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[yn.toSetString(i)]=n):this._sourcesContents&&(delete this._sourcesContents[yn.toSetString(i)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))};Si.prototype.applySourceMap=function(t,n,i){var o=n;if(n==null){if(t.file==null)throw new Error(`SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map's "file" property. Both were omitted.`);o=t.file}var r=this._sourceRoot;r!=null&&(o=yn.relative(r,o));var u=new Vp,a=new Vp;this._mappings.unsortedForEach(function(m){if(m.source===o&&m.originalLine!=null){var d=t.originalPositionFor({line:m.originalLine,column:m.originalColumn});d.source!=null&&(m.source=d.source,i!=null&&(m.source=yn.join(i,m.source)),r!=null&&(m.source=yn.relative(r,m.source)),m.originalLine=d.line,m.originalColumn=d.column,d.name!=null&&(m.name=d.name))}var s=m.source;s!=null&&!u.has(s)&&u.add(s);var l=m.name;l!=null&&!a.has(l)&&a.add(l)},this),this._sources=u,this._names=a,t.sources.forEach(function(m){var d=t.sourceContentFor(m);d!=null&&(i!=null&&(m=yn.join(i,m)),r!=null&&(m=yn.relative(r,m)),this.setSourceContent(m,d))},this)};Si.prototype._validateMapping=function(t,n,i,o){if(n&&typeof n.line!="number"&&typeof n.column!="number")throw new Error("original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.");if(!(t&&"line"in t&&"column"in t&&t.line>0&&t.column>=0&&!n&&!i&&!o)){if(t&&"line"in t&&"column"in t&&n&&"line"in n&&"column"in n&&t.line>0&&t.column>=0&&n.line>0&&n.column>=0&&i)return;throw new Error("Invalid mapping: "+JSON.stringify({generated:t,source:i,original:n,name:o}))}};Si.prototype._serializeMappings=function(){for(var t=0,n=1,i=0,o=0,r=0,u=0,a="",m,d,s,l,f=this._mappings.toArray(),p=0,h=f.length;p<h;p++){if(d=f[p],m="",d.generatedLine!==n)for(t=0;d.generatedLine!==n;)m+=";",n++;else if(p>0){if(!yn.compareByGeneratedPositionsInflated(d,f[p-1]))continue;m+=","}m+=zl.encode(d.generatedColumn-t),t=d.generatedColumn,d.source!=null&&(l=this._sources.indexOf(d.source),m+=zl.encode(l-u),u=l,m+=zl.encode(d.originalLine-1-o),o=d.originalLine-1,m+=zl.encode(d.originalColumn-i),i=d.originalColumn,d.name!=null&&(s=this._names.indexOf(d.name),m+=zl.encode(s-r),r=s)),a+=m}return a};Si.prototype._generateSourcesContent=function(t,n){return t.map(function(i){if(!this._sourcesContents)return null;n!=null&&(i=yn.relative(n,i));var o=yn.toSetString(i);return Object.prototype.hasOwnProperty.call(this._sourcesContents,o)?this._sourcesContents[o]:null},this)};Si.prototype.toJSON=function(){var t={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return this._file!=null&&(t.file=this._file),this._sourceRoot!=null&&(t.sourceRoot=this._sourceRoot),this._sourcesContents&&(t.sourcesContent=this._generateSourcesContent(t.sources,t.sourceRoot)),t};Si.prototype.toString=function(){return JSON.stringify(this.toJSON())};px.SourceMapGenerator=Si});var dx=me(Ia=>{Ia.GREATEST_LOWER_BOUND=1;Ia.LEAST_UPPER_BOUND=2;function Dm(e,t,n,i,o,r){var u=Math.floor((t-e)/2)+e,a=o(n,i[u],!0);return a===0?u:a>0?t-u>1?Dm(u,t,n,i,o,r):r==Ia.LEAST_UPPER_BOUND?t<i.length?t:-1:u:u-e>1?Dm(e,u,n,i,o,r):r==Ia.LEAST_UPPER_BOUND?u:e<0?-1:e}Ia.search=function(t,n,i,o){if(n.length===0)return-1;var r=Dm(-1,n.length,t,n,i,o||Ia.GREATEST_LOWER_BOUND);if(r<0)return-1;for(;r-1>=0&&i(n[r],n[r-1],!0)===0;)--r;return r}});var mx=me(hx=>{function dR(e){function t(o,r,u){var a=o[r];o[r]=o[u],o[u]=a}function n(o,r){return Math.round(o+Math.random()*(r-o))}function i(o,r,u,a){if(u<a){var m=n(u,a),d=u-1;t(o,m,a);for(var s=o[a],l=u;l<a;l++)r(o[l],s,!1)<=0&&(d+=1,t(o,d,l));t(o,d+1,l);var f=d+1;i(o,r,u,f-1),i(o,r,f+1,a)}}return i}function fR(e){let t=dR.toString();return new Function(`return ${t}`)()(e)}var fx=new WeakMap;hx.quickSort=function(e,t,n=0){let i=fx.get(t);i===void 0&&(i=fR(t),fx.set(t,i)),i(e,t,n,e.length-1)}});var gx=me(qp=>{var Ft=vo(),Om=dx(),To=Pm().ArraySet,hR=_m(),Gl=mx().quickSort;function zr(e,t){var n=e;return typeof e=="string"&&(n=Ft.parseSourceMapInput(e)),n.sections!=null?new Mi(n,t):new Nn(n,t)}zr.fromSourceMap=function(e,t){return Nn.fromSourceMap(e,t)};zr.prototype._version=3;zr.prototype.__generatedMappings=null;Object.defineProperty(zr.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}});zr.prototype.__originalMappings=null;Object.defineProperty(zr.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}});zr.prototype._charIsMappingSeparator=function(t,n){var i=t.charAt(n);return i===";"||i===","};zr.prototype._parseMappings=function(t,n){throw new Error("Subclasses must implement _parseMappings")};zr.GENERATED_ORDER=1;zr.ORIGINAL_ORDER=2;zr.GREATEST_LOWER_BOUND=1;zr.LEAST_UPPER_BOUND=2;zr.prototype.eachMapping=function(t,n,i){var o=n||null,r=i||zr.GENERATED_ORDER,u;switch(r){case zr.GENERATED_ORDER:u=this._generatedMappings;break;case zr.ORIGINAL_ORDER:u=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}for(var a=this.sourceRoot,m=t.bind(o),d=this._names,s=this._sources,l=this._sourceMapURL,f=0,p=u.length;f<p;f++){var h=u[f],y=h.source===null?null:s.at(h.source);y=Ft.computeSourceURL(a,y,l),m({source:y,generatedLine:h.generatedLine,generatedColumn:h.generatedColumn,originalLine:h.originalLine,originalColumn:h.originalColumn,name:h.name===null?null:d.at(h.name)})}};zr.prototype.allGeneratedPositionsFor=function(t){var n=Ft.getArg(t,"line"),i={source:Ft.getArg(t,"source"),originalLine:n,originalColumn:Ft.getArg(t,"column",0)};if(i.source=this._findSourceIndex(i.source),i.source<0)return[];var o=[],r=this._findMapping(i,this._originalMappings,"originalLine","originalColumn",Ft.compareByOriginalPositions,Om.LEAST_UPPER_BOUND);if(r>=0){var u=this._originalMappings[r];if(t.column===void 0)for(var a=u.originalLine;u&&u.originalLine===a;)o.push({line:Ft.getArg(u,"generatedLine",null),column:Ft.getArg(u,"generatedColumn",null),lastColumn:Ft.getArg(u,"lastGeneratedColumn",null)}),u=this._originalMappings[++r];else for(var m=u.originalColumn;u&&u.originalLine===n&&u.originalColumn==m;)o.push({line:Ft.getArg(u,"generatedLine",null),column:Ft.getArg(u,"generatedColumn",null),lastColumn:Ft.getArg(u,"lastGeneratedColumn",null)}),u=this._originalMappings[++r]}return o};qp.SourceMapConsumer=zr;function Nn(e,t){var n=e;typeof e=="string"&&(n=Ft.parseSourceMapInput(e));var i=Ft.getArg(n,"version"),o=Ft.getArg(n,"sources"),r=Ft.getArg(n,"names",[]),u=Ft.getArg(n,"sourceRoot",null),a=Ft.getArg(n,"sourcesContent",null),m=Ft.getArg(n,"mappings"),d=Ft.getArg(n,"file",null);if(i!=this._version)throw new Error("Unsupported version: "+i);u&&(u=Ft.normalize(u)),o=o.map(String).map(Ft.normalize).map(function(s){return u&&Ft.isAbsolute(u)&&Ft.isAbsolute(s)?Ft.relative(u,s):s}),this._names=To.fromArray(r.map(String),!0),this._sources=To.fromArray(o,!0),this._absoluteSources=this._sources.toArray().map(function(s){return Ft.computeSourceURL(u,s,t)}),this.sourceRoot=u,this.sourcesContent=a,this._mappings=m,this._sourceMapURL=t,this.file=d}Nn.prototype=Object.create(zr.prototype);Nn.prototype.consumer=zr;Nn.prototype._findSourceIndex=function(e){var t=e;if(this.sourceRoot!=null&&(t=Ft.relative(this.sourceRoot,t)),this._sources.has(t))return this._sources.indexOf(t);var n;for(n=0;n<this._absoluteSources.length;++n)if(this._absoluteSources[n]==e)return n;return-1};Nn.fromSourceMap=function(t,n){var i=Object.create(Nn.prototype),o=i._names=To.fromArray(t._names.toArray(),!0),r=i._sources=To.fromArray(t._sources.toArray(),!0);i.sourceRoot=t._sourceRoot,i.sourcesContent=t._generateSourcesContent(i._sources.toArray(),i.sourceRoot),i.file=t._file,i._sourceMapURL=n,i._absoluteSources=i._sources.toArray().map(function(p){return Ft.computeSourceURL(i.sourceRoot,p,n)});for(var u=t._mappings.toArray().slice(),a=i.__generatedMappings=[],m=i.__originalMappings=[],d=0,s=u.length;d<s;d++){var l=u[d],f=new bx;f.generatedLine=l.generatedLine,f.generatedColumn=l.generatedColumn,l.source&&(f.source=r.indexOf(l.source),f.originalLine=l.originalLine,f.originalColumn=l.originalColumn,l.name&&(f.name=o.indexOf(l.name)),m.push(f)),a.push(f)}return Gl(i.__originalMappings,Ft.compareByOriginalPositions),i};Nn.prototype._version=3;Object.defineProperty(Nn.prototype,"sources",{get:function(){return this._absoluteSources.slice()}});function bx(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}var Im=Ft.compareByGeneratedPositionsDeflatedNoLine;function yx(e,t){let n=e.length,i=e.length-t;if(!(i<=1))if(i==2){let o=e[t],r=e[t+1];Im(o,r)>0&&(e[t]=r,e[t+1]=o)}else if(i<20)for(let o=t;o<n;o++)for(let r=o;r>t;r--){let u=e[r-1],a=e[r];if(Im(u,a)<=0)break;e[r-1]=a,e[r]=u}else Gl(e,Im,t)}Nn.prototype._parseMappings=function(t,n){var i=1,o=0,r=0,u=0,a=0,m=0,d=t.length,s=0,l={},f={},p=[],h=[],y,b,E,v,S;let w=0;for(;s<d;)if(t.charAt(s)===";")i++,s++,o=0,yx(h,w),w=h.length;else if(t.charAt(s)===",")s++;else{for(y=new bx,y.generatedLine=i,v=s;v<d&&!this._charIsMappingSeparator(t,v);v++);for(b=t.slice(s,v),E=[];s<v;)hR.decode(t,s,f),S=f.value,s=f.rest,E.push(S);if(E.length===2)throw new Error("Found a source, but no line and column");if(E.length===3)throw new Error("Found a source and line, but no column");if(y.generatedColumn=o+E[0],o=y.generatedColumn,E.length>1&&(y.source=a+E[1],a+=E[1],y.originalLine=r+E[2],r=y.originalLine,y.originalLine+=1,y.originalColumn=u+E[3],u=y.originalColumn,E.length>4&&(y.name=m+E[4],m+=E[4])),h.push(y),typeof y.originalLine=="number"){let x=y.source;for(;p.length<=x;)p.push(null);p[x]===null&&(p[x]=[]),p[x].push(y)}}yx(h,w),this.__generatedMappings=h;for(var A=0;A<p.length;A++)p[A]!=null&&Gl(p[A],Ft.compareByOriginalPositionsNoSource);this.__originalMappings=[].concat(...p)};Nn.prototype._findMapping=function(t,n,i,o,r,u){if(t[i]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+t[i]);if(t[o]<0)throw new TypeError("Column must be greater than or equal to 0, got "+t[o]);return Om.search(t,n,r,u)};Nn.prototype.computeColumnSpans=function(){for(var t=0;t<this._generatedMappings.length;++t){var n=this._generatedMappings[t];if(t+1<this._generatedMappings.length){var i=this._generatedMappings[t+1];if(n.generatedLine===i.generatedLine){n.lastGeneratedColumn=i.generatedColumn-1;continue}}n.lastGeneratedColumn=1/0}};Nn.prototype.originalPositionFor=function(t){var n={generatedLine:Ft.getArg(t,"line"),generatedColumn:Ft.getArg(t,"column")},i=this._findMapping(n,this._generatedMappings,"generatedLine","generatedColumn",Ft.compareByGeneratedPositionsDeflated,Ft.getArg(t,"bias",zr.GREATEST_LOWER_BOUND));if(i>=0){var o=this._generatedMappings[i];if(o.generatedLine===n.generatedLine){var r=Ft.getArg(o,"source",null);r!==null&&(r=this._sources.at(r),r=Ft.computeSourceURL(this.sourceRoot,r,this._sourceMapURL));var u=Ft.getArg(o,"name",null);return u!==null&&(u=this._names.at(u)),{source:r,line:Ft.getArg(o,"originalLine",null),column:Ft.getArg(o,"originalColumn",null),name:u}}}return{source:null,line:null,column:null,name:null}};Nn.prototype.hasContentsOfAllSources=function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(t){return t==null}):!1};Nn.prototype.sourceContentFor=function(t,n){if(!this.sourcesContent)return null;var i=this._findSourceIndex(t);if(i>=0)return this.sourcesContent[i];var o=t;this.sourceRoot!=null&&(o=Ft.relative(this.sourceRoot,o));var r;if(this.sourceRoot!=null&&(r=Ft.urlParse(this.sourceRoot))){var u=o.replace(/^file:\/\//,"");if(r.scheme=="file"&&this._sources.has(u))return this.sourcesContent[this._sources.indexOf(u)];if((!r.path||r.path=="/")&&this._sources.has("/"+o))return this.sourcesContent[this._sources.indexOf("/"+o)]}if(n)return null;throw new Error('"'+o+'" is not in the SourceMap.')};Nn.prototype.generatedPositionFor=function(t){var n=Ft.getArg(t,"source");if(n=this._findSourceIndex(n),n<0)return{line:null,column:null,lastColumn:null};var i={source:n,originalLine:Ft.getArg(t,"line"),originalColumn:Ft.getArg(t,"column")},o=this._findMapping(i,this._originalMappings,"originalLine","originalColumn",Ft.compareByOriginalPositions,Ft.getArg(t,"bias",zr.GREATEST_LOWER_BOUND));if(o>=0){var r=this._originalMappings[o];if(r.source===i.source)return{line:Ft.getArg(r,"generatedLine",null),column:Ft.getArg(r,"generatedColumn",null),lastColumn:Ft.getArg(r,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}};qp.BasicSourceMapConsumer=Nn;function Mi(e,t){var n=e;typeof e=="string"&&(n=Ft.parseSourceMapInput(e));var i=Ft.getArg(n,"version"),o=Ft.getArg(n,"sections");if(i!=this._version)throw new Error("Unsupported version: "+i);this._sources=new To,this._names=new To;var r={line:-1,column:0};this._sections=o.map(function(u){if(u.url)throw new Error("Support for url field in sections not implemented.");var a=Ft.getArg(u,"offset"),m=Ft.getArg(a,"line"),d=Ft.getArg(a,"column");if(m<r.line||m===r.line&&d<r.column)throw new Error("Section offsets must be ordered and non-overlapping.");return r=a,{generatedOffset:{generatedLine:m+1,generatedColumn:d+1},consumer:new zr(Ft.getArg(u,"map"),t)}})}Mi.prototype=Object.create(zr.prototype);Mi.prototype.constructor=zr;Mi.prototype._version=3;Object.defineProperty(Mi.prototype,"sources",{get:function(){for(var e=[],t=0;t<this._sections.length;t++)for(var n=0;n<this._sections[t].consumer.sources.length;n++)e.push(this._sections[t].consumer.sources[n]);return e}});Mi.prototype.originalPositionFor=function(t){var n={generatedLine:Ft.getArg(t,"line"),generatedColumn:Ft.getArg(t,"column")},i=Om.search(n,this._sections,function(r,u){var a=r.generatedLine-u.generatedOffset.generatedLine;return a||r.generatedColumn-u.generatedOffset.generatedColumn}),o=this._sections[i];return o?o.consumer.originalPositionFor({line:n.generatedLine-(o.generatedOffset.generatedLine-1),column:n.generatedColumn-(o.generatedOffset.generatedLine===n.generatedLine?o.generatedOffset.generatedColumn-1:0),bias:t.bias}):{source:null,line:null,column:null,name:null}};Mi.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(t){return t.consumer.hasContentsOfAllSources()})};Mi.prototype.sourceContentFor=function(t,n){for(var i=0;i<this._sections.length;i++){var o=this._sections[i],r=o.consumer.sourceContentFor(t,!0);if(r)return r}if(n)return null;throw new Error('"'+t+'" is not in the SourceMap.')};Mi.prototype.generatedPositionFor=function(t){for(var n=0;n<this._sections.length;n++){var i=this._sections[n];if(i.consumer._findSourceIndex(Ft.getArg(t,"source"))!==-1){var o=i.consumer.generatedPositionFor(t);if(o){var r={line:o.line+(i.generatedOffset.generatedLine-1),column:o.column+(i.generatedOffset.generatedLine===o.line?i.generatedOffset.generatedColumn-1:0)};return r}}}return{line:null,column:null}};Mi.prototype._parseMappings=function(t,n){this.__generatedMappings=[],this.__originalMappings=[];for(var i=0;i<this._sections.length;i++)for(var o=this._sections[i],r=o.consumer._generatedMappings,u=0;u<r.length;u++){var a=r[u],m=o.consumer._sources.at(a.source);m=Ft.computeSourceURL(o.consumer.sourceRoot,m,this._sourceMapURL),this._sources.add(m),m=this._sources.indexOf(m);var d=null;a.name&&(d=o.consumer._names.at(a.name),this._names.add(d),d=this._names.indexOf(d));var s={source:m,generatedLine:a.generatedLine+(o.generatedOffset.generatedLine-1),generatedColumn:a.generatedColumn+(o.generatedOffset.generatedLine===a.generatedLine?o.generatedOffset.generatedColumn-1:0),originalLine:a.originalLine,originalColumn:a.originalColumn,name:d};this.__generatedMappings.push(s),typeof s.originalLine=="number"&&this.__originalMappings.push(s)}Gl(this.__generatedMappings,Ft.compareByGeneratedPositionsDeflated),Gl(this.__originalMappings,Ft.compareByOriginalPositions)};qp.IndexedSourceMapConsumer=Mi});var Tx=me(vx=>{var mR=km().SourceMapGenerator,Wp=vo(),yR=/(\r?\n)/,bR=10,Eo="$$$isSourceNode$$$";function oi(e,t,n,i,o){this.children=[],this.sourceContents={},this.line=e??null,this.column=t??null,this.source=n??null,this.name=o??null,this[Eo]=!0,i!=null&&this.add(i)}oi.fromStringWithSourceMap=function(t,n,i){var o=new oi,r=t.split(yR),u=0,a=function(){var f=h(),p=h()||"";return f+p;function h(){return u<r.length?r[u++]:void 0}},m=1,d=0,s=null;return n.eachMapping(function(f){if(s!==null)if(m<f.generatedLine)l(s,a()),m++,d=0;else{var p=r[u]||"",h=p.substr(0,f.generatedColumn-d);r[u]=p.substr(f.generatedColumn-d),d=f.generatedColumn,l(s,h),s=f;return}for(;m<f.generatedLine;)o.add(a()),m++;if(d<f.generatedColumn){var p=r[u]||"";o.add(p.substr(0,f.generatedColumn)),r[u]=p.substr(f.generatedColumn),d=f.generatedColumn}s=f},this),u<r.length&&(s&&l(s,a()),o.add(r.splice(u).join(""))),n.sources.forEach(function(f){var p=n.sourceContentFor(f);p!=null&&(i!=null&&(f=Wp.join(i,f)),o.setSourceContent(f,p))}),o;function l(f,p){if(f===null||f.source===void 0)o.add(p);else{var h=i?Wp.join(i,f.source):f.source;o.add(new oi(f.originalLine,f.originalColumn,h,p,f.name))}}};oi.prototype.add=function(t){if(Array.isArray(t))t.forEach(function(n){this.add(n)},this);else if(t[Eo]||typeof t=="string")t&&this.children.push(t);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+t);return this};oi.prototype.prepend=function(t){if(Array.isArray(t))for(var n=t.length-1;n>=0;n--)this.prepend(t[n]);else if(t[Eo]||typeof t=="string")this.children.unshift(t);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+t);return this};oi.prototype.walk=function(t){for(var n,i=0,o=this.children.length;i<o;i++)n=this.children[i],n[Eo]?n.walk(t):n!==""&&t(n,{source:this.source,line:this.line,column:this.column,name:this.name})};oi.prototype.join=function(t){var n,i,o=this.children.length;if(o>0){for(n=[],i=0;i<o-1;i++)n.push(this.children[i]),n.push(t);n.push(this.children[i]),this.children=n}return this};oi.prototype.replaceRight=function(t,n){var i=this.children[this.children.length-1];return i[Eo]?i.replaceRight(t,n):typeof i=="string"?this.children[this.children.length-1]=i.replace(t,n):this.children.push("".replace(t,n)),this};oi.prototype.setSourceContent=function(t,n){this.sourceContents[Wp.toSetString(t)]=n};oi.prototype.walkSourceContents=function(t){for(var n=0,i=this.children.length;n<i;n++)this.children[n][Eo]&&this.children[n].walkSourceContents(t);for(var o=Object.keys(this.sourceContents),n=0,i=o.length;n<i;n++)t(Wp.fromSetString(o[n]),this.sourceContents[o[n]])};oi.prototype.toString=function(){var t="";return this.walk(function(n){t+=n}),t};oi.prototype.toStringWithSourceMap=function(t){var n={code:"",line:1,column:0},i=new mR(t),o=!1,r=null,u=null,a=null,m=null;return this.walk(function(d,s){n.code+=d,s.source!==null&&s.line!==null&&s.column!==null?((r!==s.source||u!==s.line||a!==s.column||m!==s.name)&&i.addMapping({source:s.source,original:{line:s.line,column:s.column},generated:{line:n.line,column:n.column},name:s.name}),r=s.source,u=s.line,a=s.column,m=s.name,o=!0):o&&(i.addMapping({generated:{line:n.line,column:n.column}}),r=null,o=!1);for(var l=0,f=d.length;l<f;l++)d.charCodeAt(l)===bR?(n.line++,n.column=0,l+1===f?(r=null,o=!1):o&&i.addMapping({source:s.source,original:{line:s.line,column:s.column},generated:{line:n.line,column:n.column},name:s.name})):n.column++}),this.walkSourceContents(function(d,s){i.setSourceContent(d,s)}),{code:n.code,map:i}};vx.SourceNode=oi});var zp=me(Kp=>{Kp.SourceMapGenerator=km().SourceMapGenerator;Kp.SourceMapConsumer=gx().SourceMapConsumer;Kp.SourceNode=Tx().SourceNode});var Sx=me((yQ,Ex)=>{var gR="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",vR=(e,t=21)=>(n=t)=>{let i="",o=n;for(;o--;)i+=e[Math.random()*e.length|0];return i},TR=(e=21)=>{let t="",n=e;for(;n--;)t+=gR[Math.random()*64|0];return t};Ex.exports={nanoid:TR,customAlphabet:vR}});var Fm=me((bQ,wx)=>{"use strict";var{SourceMapConsumer:xx,SourceMapGenerator:_x}=zp(),{existsSync:ER,readFileSync:SR}=yt("fs"),{dirname:Nm,join:xR}=yt("path");function _R(e){return Buffer?Buffer.from(e,"base64").toString():window.atob(e)}var Hl=class{constructor(t,n){if(n.map===!1)return;this.loadAnnotation(t),this.inline=this.startWith(this.annotation,"data:");let i=n.map?n.map.prev:void 0,o=this.loadMap(n.from,i);!this.mapFile&&n.from&&(this.mapFile=n.from),this.mapFile&&(this.root=Nm(this.mapFile)),o&&(this.text=o)}consumer(){return this.consumerCache||(this.consumerCache=new xx(this.text)),this.consumerCache}decodeInline(t){let n=/^data:application\/json;charset=utf-?8;base64,/,i=/^data:application\/json;base64,/,o=/^data:application\/json;charset=utf-?8,/,r=/^data:application\/json,/;if(o.test(t)||r.test(t))return decodeURIComponent(t.substr(RegExp.lastMatch.length));if(n.test(t)||i.test(t))return _R(t.substr(RegExp.lastMatch.length));let u=t.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+u)}getAnnotationURL(t){return t.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()}isMap(t){return typeof t!="object"?!1:typeof t.mappings=="string"||typeof t._mappings=="string"||Array.isArray(t.sections)}loadAnnotation(t){let n=t.match(/\/\*\s*# sourceMappingURL=/gm);if(!n)return;let i=t.lastIndexOf(n.pop()),o=t.indexOf("*/",i);i>-1&&o>-1&&(this.annotation=this.getAnnotationURL(t.substring(i,o)))}loadFile(t){if(this.root=Nm(t),ER(t))return this.mapFile=t,SR(t,"utf-8").toString().trim()}loadMap(t,n){if(n===!1)return!1;if(n){if(typeof n=="string")return n;if(typeof n=="function"){let i=n(t);if(i){let o=this.loadFile(i);if(!o)throw new Error("Unable to load previous source map: "+i.toString());return o}}else{if(n instanceof xx)return _x.fromSourceMap(n).toString();if(n instanceof _x)return n.toString();if(this.isMap(n))return JSON.stringify(n);throw new Error("Unsupported previous source map format: "+n.toString())}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){let i=this.annotation;return t&&(i=xR(Nm(t),i)),this.loadFile(i)}}}startWith(t,n){return t?t.substr(0,n.length)===n:!1}withContent(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}};wx.exports=Hl;Hl.default=Hl});var Xl=me((gQ,kx)=>{"use strict";var{SourceMapConsumer:wR,SourceMapGenerator:CR}=zp(),{fileURLToPath:Cx,pathToFileURL:Gp}=yt("url"),{isAbsolute:Mm,resolve:Rm}=yt("path"),{nanoid:AR}=Sx(),jm=ym(),Ax=Rp(),PR=Fm(),Lm=Symbol("fromOffsetCache"),kR=!!(wR&&CR),Px=!!(Rm&&Mm),So=class{constructor(t,n={}){if(t===null||typeof t>"u"||typeof t=="object"&&!t.toString)throw new Error(`PostCSS received ${t} instead of CSS string`);if(this.css=t.toString(),this.css[0]==="\uFEFF"||this.css[0]==="\uFFFE"?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,n.from&&(!Px||/^\w+:\/\//.test(n.from)||Mm(n.from)?this.file=n.from:this.file=Rm(n.from)),Px&&kR){let i=new PR(this.css,n);if(i.text){this.map=i;let o=i.consumer().file;!this.file&&o&&(this.file=this.mapResolve(o))}}this.file||(this.id="<input css "+AR(6)+">"),this.map&&(this.map.file=this.from)}error(t,n,i,o={}){let r,u,a;if(n&&typeof n=="object"){let d=n,s=i;if(typeof d.offset=="number"){let l=this.fromOffset(d.offset);n=l.line,i=l.col}else n=d.line,i=d.column;if(typeof s.offset=="number"){let l=this.fromOffset(s.offset);u=l.line,a=l.col}else u=s.line,a=s.column}else if(!i){let d=this.fromOffset(n);n=d.line,i=d.col}let m=this.origin(n,i,u,a);return m?r=new Ax(t,m.endLine===void 0?m.line:{column:m.column,line:m.line},m.endLine===void 0?m.column:{column:m.endColumn,line:m.endLine},m.source,m.file,o.plugin):r=new Ax(t,u===void 0?n:{column:i,line:n},u===void 0?i:{column:a,line:u},this.css,this.file,o.plugin),r.input={column:i,endColumn:a,endLine:u,line:n,source:this.css},this.file&&(Gp&&(r.input.url=Gp(this.file).toString()),r.input.file=this.file),r}fromOffset(t){let n,i;if(this[Lm])i=this[Lm];else{let r=this.css.split(`
|
|
`);i=new Array(r.length);let u=0;for(let a=0,m=r.length;a<m;a++)i[a]=u,u+=r[a].length+1;this[Lm]=i}n=i[i.length-1];let o=0;if(t>=n)o=i.length-1;else{let r=i.length-2,u;for(;o<r;)if(u=o+(r-o>>1),t<i[u])r=u-1;else if(t>=i[u+1])o=u+1;else{o=u;break}}return{col:t-i[o]+1,line:o+1}}mapResolve(t){return/^\w+:\/\//.test(t)?t:Rm(this.map.consumer().sourceRoot||this.map.root||".",t)}origin(t,n,i,o){if(!this.map)return!1;let r=this.map.consumer(),u=r.originalPositionFor({column:n,line:t});if(!u.source)return!1;let a;typeof i=="number"&&(a=r.originalPositionFor({column:o,line:i}));let m;Mm(u.source)?m=Gp(u.source):m=new URL(u.source,this.map.consumer().sourceRoot||Gp(this.map.mapFile));let d={column:u.column,endColumn:a&&a.column,endLine:a&&a.line,line:u.line,url:m.toString()};if(m.protocol==="file:")if(Cx)d.file=Cx(m);else throw new Error("file: protocol is not available in this PostCSS build");let s=r.sourceContentFor(u.source);return s&&(d.source=s),d}toJSON(){let t={};for(let n of["hasBOM","css","file","id"])this[n]!=null&&(t[n]=this[n]);return this.map&&(t.map={...this.map},t.map.consumerCache&&(t.map.consumerCache=void 0)),t}get from(){return this.file||this.id}};kx.exports=So;So.default=So;jm&&jm.registerInput&&jm.registerInput(So)});var Um=me((vQ,jx)=>{"use strict";var{SourceMapConsumer:Ix,SourceMapGenerator:Hp}=zp(),{dirname:Xp,relative:Ox,resolve:Nx,sep:Fx}=yt("path"),{pathToFileURL:Dx}=yt("url"),DR=Xl(),IR=!!(Ix&&Hp),OR=!!(Xp&&Nx&&Ox&&Fx),Bm=class{constructor(t,n,i,o){this.stringify=t,this.mapOpts=i.map||{},this.root=n,this.opts=i,this.css=o,this.originalCSS=o,this.usesFileUrls=!this.mapOpts.from&&this.mapOpts.absolute,this.memoizedFileURLs=new Map,this.memoizedPaths=new Map,this.memoizedURLs=new Map}addAnnotation(){let t;this.isInline()?t="data:application/json;base64,"+this.toBase64(this.map.toString()):typeof this.mapOpts.annotation=="string"?t=this.mapOpts.annotation:typeof this.mapOpts.annotation=="function"?t=this.mapOpts.annotation(this.opts.to,this.root):t=this.outputFile()+".map";let n=`
|
|
`;this.css.includes(`\r
|
|
`)&&(n=`\r
|
|
`),this.css+=n+"/*# sourceMappingURL="+t+" */"}applyPrevMaps(){for(let t of this.previous()){let n=this.toUrl(this.path(t.file)),i=t.root||Xp(t.file),o;this.mapOpts.sourcesContent===!1?(o=new Ix(t.text),o.sourcesContent&&(o.sourcesContent=null)):o=t.consumer(),this.map.applySourceMap(o,n,this.toUrl(this.path(i)))}}clearAnnotation(){if(this.mapOpts.annotation!==!1)if(this.root){let t;for(let n=this.root.nodes.length-1;n>=0;n--)t=this.root.nodes[n],t.type==="comment"&&t.text.indexOf("# sourceMappingURL=")===0&&this.root.removeChild(n)}else this.css&&(this.css=this.css.replace(/\n*?\/\*#[\S\s]*?\*\/$/gm,""))}generate(){if(this.clearAnnotation(),OR&&IR&&this.isMap())return this.generateMap();{let t="";return this.stringify(this.root,n=>{t+=n}),[t]}}generateMap(){if(this.root)this.generateString();else if(this.previous().length===1){let t=this.previous()[0].consumer();t.file=this.outputFile(),this.map=Hp.fromSourceMap(t)}else this.map=new Hp({file:this.outputFile()}),this.map.addMapping({generated:{column:0,line:1},original:{column:0,line:1},source:this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>"});return this.isSourcesContent()&&this.setSourcesContent(),this.root&&this.previous().length>0&&this.applyPrevMaps(),this.isAnnotation()&&this.addAnnotation(),this.isInline()?[this.css]:[this.css,this.map]}generateString(){this.css="",this.map=new Hp({file:this.outputFile()});let t=1,n=1,i="<no source>",o={generated:{column:0,line:0},original:{column:0,line:0},source:""},r,u;this.stringify(this.root,(a,m,d)=>{if(this.css+=a,m&&d!=="end"&&(o.generated.line=t,o.generated.column=n-1,m.source&&m.source.start?(o.source=this.sourcePath(m),o.original.line=m.source.start.line,o.original.column=m.source.start.column-1,this.map.addMapping(o)):(o.source=i,o.original.line=1,o.original.column=0,this.map.addMapping(o))),r=a.match(/\n/g),r?(t+=r.length,u=a.lastIndexOf(`
|
|
`),n=a.length-u):n+=a.length,m&&d!=="start"){let s=m.parent||{raws:{}};(!(m.type==="decl"||m.type==="atrule"&&!m.nodes)||m!==s.last||s.raws.semicolon)&&(m.source&&m.source.end?(o.source=this.sourcePath(m),o.original.line=m.source.end.line,o.original.column=m.source.end.column-1,o.generated.line=t,o.generated.column=n-2,this.map.addMapping(o)):(o.source=i,o.original.line=1,o.original.column=0,o.generated.line=t,o.generated.column=n-1,this.map.addMapping(o)))}})}isAnnotation(){return this.isInline()?!0:typeof this.mapOpts.annotation<"u"?this.mapOpts.annotation:this.previous().length?this.previous().some(t=>t.annotation):!0}isInline(){if(typeof this.mapOpts.inline<"u")return this.mapOpts.inline;let t=this.mapOpts.annotation;return typeof t<"u"&&t!==!0?!1:this.previous().length?this.previous().some(n=>n.inline):!0}isMap(){return typeof this.opts.map<"u"?!!this.opts.map:this.previous().length>0}isSourcesContent(){return typeof this.mapOpts.sourcesContent<"u"?this.mapOpts.sourcesContent:this.previous().length?this.previous().some(t=>t.withContent()):!0}outputFile(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"}path(t){if(this.mapOpts.absolute||t.charCodeAt(0)===60||/^\w+:\/\//.test(t))return t;let n=this.memoizedPaths.get(t);if(n)return n;let i=this.opts.to?Xp(this.opts.to):".";typeof this.mapOpts.annotation=="string"&&(i=Xp(Nx(i,this.mapOpts.annotation)));let o=Ox(i,t);return this.memoizedPaths.set(t,o),o}previous(){if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk(t=>{if(t.source&&t.source.input.map){let n=t.source.input.map;this.previousMaps.includes(n)||this.previousMaps.push(n)}});else{let t=new DR(this.originalCSS,this.opts);t.map&&this.previousMaps.push(t.map)}return this.previousMaps}setSourcesContent(){let t={};if(this.root)this.root.walk(n=>{if(n.source){let i=n.source.input.from;if(i&&!t[i]){t[i]=!0;let o=this.usesFileUrls?this.toFileUrl(i):this.toUrl(this.path(i));this.map.setSourceContent(o,n.source.input.css)}}});else if(this.css){let n=this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>";this.map.setSourceContent(n,this.css)}}sourcePath(t){return this.mapOpts.from?this.toUrl(this.mapOpts.from):this.usesFileUrls?this.toFileUrl(t.source.input.from):this.toUrl(this.path(t.source.input.from))}toBase64(t){return Buffer?Buffer.from(t).toString("base64"):window.btoa(unescape(encodeURIComponent(t)))}toFileUrl(t){let n=this.memoizedFileURLs.get(t);if(n)return n;if(Dx){let i=Dx(t).toString();return this.memoizedFileURLs.set(t,i),i}else throw new Error("`map.absolute` option is not available in this PostCSS build")}toUrl(t){let n=this.memoizedURLs.get(t);if(n)return n;Fx==="\\"&&(t=t.replace(/\\/g,"/"));let i=encodeURI(t).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(t,i),i}};jx.exports=Bm});var Yl=me((TQ,Lx)=>{"use strict";var NR=Vl(),Jl=class extends NR{constructor(t){super(t),this.type="comment"}};Lx.exports=Jl;Jl.default=Jl});var Hs=me((EQ,Kx)=>{"use strict";var{isClean:Mx,my:Rx}=Bp(),Bx=Wl(),Ux=Yl(),FR=Vl(),$x,$m,Vm,Vx;function qx(e){return e.map(t=>(t.nodes&&(t.nodes=qx(t.nodes)),delete t.source,t))}function Wx(e){if(e[Mx]=!1,e.proxyOf.nodes)for(let t of e.proxyOf.nodes)Wx(t)}var Ri=class e extends FR{append(...t){for(let n of t){let i=this.normalize(n,this.last);for(let o of i)this.proxyOf.nodes.push(o)}return this.markDirty(),this}cleanRaws(t){if(super.cleanRaws(t),this.nodes)for(let n of this.nodes)n.cleanRaws(t)}each(t){if(!this.proxyOf.nodes)return;let n=this.getIterator(),i,o;for(;this.indexes[n]<this.proxyOf.nodes.length&&(i=this.indexes[n],o=t(this.proxyOf.nodes[i],i),o!==!1);)this.indexes[n]+=1;return delete this.indexes[n],o}every(t){return this.nodes.every(t)}getIterator(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let t=this.lastEach;return this.indexes[t]=0,t}getProxyProcessor(){return{get(t,n){return n==="proxyOf"?t:t[n]?n==="each"||typeof n=="string"&&n.startsWith("walk")?(...i)=>t[n](...i.map(o=>typeof o=="function"?(r,u)=>o(r.toProxy(),u):o)):n==="every"||n==="some"?i=>t[n]((o,...r)=>i(o.toProxy(),...r)):n==="root"?()=>t.root().toProxy():n==="nodes"?t.nodes.map(i=>i.toProxy()):n==="first"||n==="last"?t[n].toProxy():t[n]:t[n]},set(t,n,i){return t[n]===i||(t[n]=i,(n==="name"||n==="params"||n==="selector")&&t.markDirty()),!0}}}index(t){return typeof t=="number"?t:(t.proxyOf&&(t=t.proxyOf),this.proxyOf.nodes.indexOf(t))}insertAfter(t,n){let i=this.index(t),o=this.normalize(n,this.proxyOf.nodes[i]).reverse();i=this.index(t);for(let u of o)this.proxyOf.nodes.splice(i+1,0,u);let r;for(let u in this.indexes)r=this.indexes[u],i<r&&(this.indexes[u]=r+o.length);return this.markDirty(),this}insertBefore(t,n){let i=this.index(t),o=i===0?"prepend":!1,r=this.normalize(n,this.proxyOf.nodes[i],o).reverse();i=this.index(t);for(let a of r)this.proxyOf.nodes.splice(i,0,a);let u;for(let a in this.indexes)u=this.indexes[a],i<=u&&(this.indexes[a]=u+r.length);return this.markDirty(),this}normalize(t,n){if(typeof t=="string")t=qx($x(t).nodes);else if(typeof t>"u")t=[];else if(Array.isArray(t)){t=t.slice(0);for(let o of t)o.parent&&o.parent.removeChild(o,"ignore")}else if(t.type==="root"&&this.type!=="document"){t=t.nodes.slice(0);for(let o of t)o.parent&&o.parent.removeChild(o,"ignore")}else if(t.type)t=[t];else if(t.prop){if(typeof t.value>"u")throw new Error("Value field is missed in node creation");typeof t.value!="string"&&(t.value=String(t.value)),t=[new Bx(t)]}else if(t.selector)t=[new $m(t)];else if(t.name)t=[new Vm(t)];else if(t.text)t=[new Ux(t)];else throw new Error("Unknown node type in node creation");return t.map(o=>(o[Rx]||e.rebuild(o),o=o.proxyOf,o.parent&&o.parent.removeChild(o),o[Mx]&&Wx(o),typeof o.raws.before>"u"&&n&&typeof n.raws.before<"u"&&(o.raws.before=n.raws.before.replace(/\S/g,"")),o.parent=this.proxyOf,o))}prepend(...t){t=t.reverse();for(let n of t){let i=this.normalize(n,this.first,"prepend").reverse();for(let o of i)this.proxyOf.nodes.unshift(o);for(let o in this.indexes)this.indexes[o]=this.indexes[o]+i.length}return this.markDirty(),this}push(t){return t.parent=this,this.proxyOf.nodes.push(t),this}removeAll(){for(let t of this.proxyOf.nodes)t.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}removeChild(t){t=this.index(t),this.proxyOf.nodes[t].parent=void 0,this.proxyOf.nodes.splice(t,1);let n;for(let i in this.indexes)n=this.indexes[i],n>=t&&(this.indexes[i]=n-1);return this.markDirty(),this}replaceValues(t,n,i){return i||(i=n,n={}),this.walkDecls(o=>{n.props&&!n.props.includes(o.prop)||n.fast&&!o.value.includes(n.fast)||(o.value=o.value.replace(t,i))}),this.markDirty(),this}some(t){return this.nodes.some(t)}walk(t){return this.each((n,i)=>{let o;try{o=t(n,i)}catch(r){throw n.addToError(r)}return o!==!1&&n.walk&&(o=n.walk(t)),o})}walkAtRules(t,n){return n?t instanceof RegExp?this.walk((i,o)=>{if(i.type==="atrule"&&t.test(i.name))return n(i,o)}):this.walk((i,o)=>{if(i.type==="atrule"&&i.name===t)return n(i,o)}):(n=t,this.walk((i,o)=>{if(i.type==="atrule")return n(i,o)}))}walkComments(t){return this.walk((n,i)=>{if(n.type==="comment")return t(n,i)})}walkDecls(t,n){return n?t instanceof RegExp?this.walk((i,o)=>{if(i.type==="decl"&&t.test(i.prop))return n(i,o)}):this.walk((i,o)=>{if(i.type==="decl"&&i.prop===t)return n(i,o)}):(n=t,this.walk((i,o)=>{if(i.type==="decl")return n(i,o)}))}walkRules(t,n){return n?t instanceof RegExp?this.walk((i,o)=>{if(i.type==="rule"&&t.test(i.selector))return n(i,o)}):this.walk((i,o)=>{if(i.type==="rule"&&i.selector===t)return n(i,o)}):(n=t,this.walk((i,o)=>{if(i.type==="rule")return n(i,o)}))}get first(){if(this.proxyOf.nodes)return this.proxyOf.nodes[0]}get last(){if(this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}};Ri.registerParse=e=>{$x=e};Ri.registerRule=e=>{$m=e};Ri.registerAtRule=e=>{Vm=e};Ri.registerRoot=e=>{Vx=e};Kx.exports=Ri;Ri.default=Ri;Ri.rebuild=e=>{e.type==="atrule"?Object.setPrototypeOf(e,Vm.prototype):e.type==="rule"?Object.setPrototypeOf(e,$m.prototype):e.type==="decl"?Object.setPrototypeOf(e,Bx.prototype):e.type==="comment"?Object.setPrototypeOf(e,Ux.prototype):e.type==="root"&&Object.setPrototypeOf(e,Vx.prototype),e[Rx]=!0,e.nodes&&e.nodes.forEach(t=>{Ri.rebuild(t)})}});var Jp=me((SQ,Hx)=>{"use strict";var jR=Hs(),zx,Gx,Oa=class extends jR{constructor(t){super({type:"document",...t}),this.nodes||(this.nodes=[])}toResult(t={}){return new zx(new Gx,this,t).stringify()}};Oa.registerLazyResult=e=>{zx=e};Oa.registerProcessor=e=>{Gx=e};Hx.exports=Oa;Oa.default=Oa});var qm=me((xQ,Jx)=>{"use strict";var Xx={};Jx.exports=function(t){Xx[t]||(Xx[t]=!0,typeof console<"u"&&console.warn&&console.warn(t))}});var Wm=me((_Q,Yx)=>{"use strict";var Ql=class{constructor(t,n={}){if(this.type="warning",this.text=t,n.node&&n.node.source){let i=n.node.rangeBy(n);this.line=i.start.line,this.column=i.start.column,this.endLine=i.end.line,this.endColumn=i.end.column}for(let i in n)this[i]=n[i]}toString(){return this.node?this.node.error(this.text,{index:this.index,plugin:this.plugin,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text}};Yx.exports=Ql;Ql.default=Ql});var Yp=me((wQ,Qx)=>{"use strict";var LR=Wm(),Zl=class{constructor(t,n,i){this.processor=t,this.messages=[],this.root=n,this.opts=i,this.css=void 0,this.map=void 0}toString(){return this.css}warn(t,n={}){n.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(n.plugin=this.lastPlugin.postcssPlugin);let i=new LR(t,n);return this.messages.push(i),i}warnings(){return this.messages.filter(t=>t.type==="warning")}get content(){return this.css}};Qx.exports=Zl;Zl.default=Zl});var Qp=me((CQ,e_)=>{"use strict";var Zx=Hs(),xo=class extends Zx{constructor(t){super(t),this.type="atrule"}append(...t){return this.proxyOf.nodes||(this.nodes=[]),super.append(...t)}prepend(...t){return this.proxyOf.nodes||(this.nodes=[]),super.prepend(...t)}};e_.exports=xo;xo.default=xo;Zx.registerAtRule(xo)});var _o=me((AQ,i_)=>{"use strict";var t_=Hs(),r_,n_,Xs=class extends t_{constructor(t){super(t),this.type="root",this.nodes||(this.nodes=[])}normalize(t,n,i){let o=super.normalize(t);if(n){if(i==="prepend")this.nodes.length>1?n.raws.before=this.nodes[1].raws.before:delete n.raws.before;else if(this.first!==n)for(let r of o)r.raws.before=n.raws.before}return o}removeChild(t,n){let i=this.index(t);return!n&&i===0&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[i].raws.before),super.removeChild(t)}toResult(t={}){return new r_(new n_,this,t).stringify()}};Xs.registerLazyResult=e=>{r_=e};Xs.registerProcessor=e=>{n_=e};i_.exports=Xs;Xs.default=Xs;t_.registerRoot(Xs)});var Km=me((PQ,s_)=>{"use strict";var eu={comma(e){return eu.split(e,[","],!0)},space(e){let t=[" ",`
|
|
`," "];return eu.split(e,t)},split(e,t,n){let i=[],o="",r=!1,u=0,a=!1,m="",d=!1;for(let s of e)d?d=!1:s==="\\"?d=!0:a?s===m&&(a=!1):s==='"'||s==="'"?(a=!0,m=s):s==="("?u+=1:s===")"?u>0&&(u-=1):u===0&&t.includes(s)&&(r=!0),r?(o!==""&&i.push(o.trim()),o="",r=!1):o+=s;return(n||o!=="")&&i.push(o.trim()),i}};s_.exports=eu;eu.default=eu});var Zp=me((kQ,o_)=>{"use strict";var a_=Hs(),MR=Km(),wo=class extends a_{constructor(t){super(t),this.type="rule",this.nodes||(this.nodes=[])}get selectors(){return MR.comma(this.selector)}set selectors(t){let n=this.selector?this.selector.match(/,\s*/):null,i=n?n[0]:","+this.raw("between","beforeOpen");this.selector=t.join(i)}};o_.exports=wo;wo.default=wo;a_.registerRule(wo)});var p_=me((DQ,c_)=>{"use strict";var RR=Wl(),BR=mm(),UR=Yl(),$R=Qp(),VR=_o(),l_=Zp(),u_={empty:!0,space:!0};function qR(e){for(let t=e.length-1;t>=0;t--){let n=e[t],i=n[3]||n[2];if(i)return i}}var zm=class{constructor(t){this.input=t,this.root=new VR,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:t,start:{column:1,line:1,offset:0}}}atrule(t){let n=new $R;n.name=t[1].slice(1),n.name===""&&this.unnamedAtrule(n,t),this.init(n,t[2]);let i,o,r,u=!1,a=!1,m=[],d=[];for(;!this.tokenizer.endOfFile();){if(t=this.tokenizer.nextToken(),i=t[0],i==="("||i==="["?d.push(i==="("?")":"]"):i==="{"&&d.length>0?d.push("}"):i===d[d.length-1]&&d.pop(),d.length===0)if(i===";"){n.source.end=this.getPosition(t[2]),n.source.end.offset++,this.semicolon=!0;break}else if(i==="{"){a=!0;break}else if(i==="}"){if(m.length>0){for(r=m.length-1,o=m[r];o&&o[0]==="space";)o=m[--r];o&&(n.source.end=this.getPosition(o[3]||o[2]),n.source.end.offset++)}this.end(t);break}else m.push(t);else m.push(t);if(this.tokenizer.endOfFile()){u=!0;break}}n.raws.between=this.spacesAndCommentsFromEnd(m),m.length?(n.raws.afterName=this.spacesAndCommentsFromStart(m),this.raw(n,"params",m),u&&(t=m[m.length-1],n.source.end=this.getPosition(t[3]||t[2]),n.source.end.offset++,this.spaces=n.raws.between,n.raws.between="")):(n.raws.afterName="",n.params=""),a&&(n.nodes=[],this.current=n)}checkMissedSemicolon(t){let n=this.colon(t);if(n===!1)return;let i=0,o;for(let r=n-1;r>=0&&(o=t[r],!(o[0]!=="space"&&(i+=1,i===2)));r--);throw this.input.error("Missed semicolon",o[0]==="word"?o[3]+1:o[2])}colon(t){let n=0,i,o,r;for(let[u,a]of t.entries()){if(i=a,o=i[0],o==="("&&(n+=1),o===")"&&(n-=1),n===0&&o===":")if(!r)this.doubleColon(i);else{if(r[0]==="word"&&r[1]==="progid")continue;return u}r=i}return!1}comment(t){let n=new UR;this.init(n,t[2]),n.source.end=this.getPosition(t[3]||t[2]),n.source.end.offset++;let i=t[1].slice(2,-2);if(/^\s*$/.test(i))n.text="",n.raws.left=i,n.raws.right="";else{let o=i.match(/^(\s*)([^]*\S)(\s*)$/);n.text=o[2],n.raws.left=o[1],n.raws.right=o[3]}}createTokenizer(){this.tokenizer=BR(this.input)}decl(t,n){let i=new RR;this.init(i,t[0][2]);let o=t[t.length-1];for(o[0]===";"&&(this.semicolon=!0,t.pop()),i.source.end=this.getPosition(o[3]||o[2]||qR(t)),i.source.end.offset++;t[0][0]!=="word";)t.length===1&&this.unknownWord(t),i.raws.before+=t.shift()[1];for(i.source.start=this.getPosition(t[0][2]),i.prop="";t.length;){let d=t[0][0];if(d===":"||d==="space"||d==="comment")break;i.prop+=t.shift()[1]}i.raws.between="";let r;for(;t.length;)if(r=t.shift(),r[0]===":"){i.raws.between+=r[1];break}else r[0]==="word"&&/\w/.test(r[1])&&this.unknownWord([r]),i.raws.between+=r[1];(i.prop[0]==="_"||i.prop[0]==="*")&&(i.raws.before+=i.prop[0],i.prop=i.prop.slice(1));let u=[],a;for(;t.length&&(a=t[0][0],!(a!=="space"&&a!=="comment"));)u.push(t.shift());this.precheckMissedSemicolon(t);for(let d=t.length-1;d>=0;d--){if(r=t[d],r[1].toLowerCase()==="!important"){i.important=!0;let s=this.stringFrom(t,d);s=this.spacesFromEnd(t)+s,s!==" !important"&&(i.raws.important=s);break}else if(r[1].toLowerCase()==="important"){let s=t.slice(0),l="";for(let f=d;f>0;f--){let p=s[f][0];if(l.trim().indexOf("!")===0&&p!=="space")break;l=s.pop()[1]+l}l.trim().indexOf("!")===0&&(i.important=!0,i.raws.important=l,t=s)}if(r[0]!=="space"&&r[0]!=="comment")break}t.some(d=>d[0]!=="space"&&d[0]!=="comment")&&(i.raws.between+=u.map(d=>d[1]).join(""),u=[]),this.raw(i,"value",u.concat(t),n),i.value.includes(":")&&!n&&this.checkMissedSemicolon(t)}doubleColon(t){throw this.input.error("Double colon",{offset:t[2]},{offset:t[2]+t[1].length})}emptyRule(t){let n=new l_;this.init(n,t[2]),n.selector="",n.raws.between="",this.current=n}end(t){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end=this.getPosition(t[2]),this.current.source.end.offset++,this.current=this.current.parent):this.unexpectedClose(t)}endFile(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.root.source.end=this.getPosition(this.tokenizer.position())}freeSemicolon(t){if(this.spaces+=t[1],this.current.nodes){let n=this.current.nodes[this.current.nodes.length-1];n&&n.type==="rule"&&!n.raws.ownSemicolon&&(n.raws.ownSemicolon=this.spaces,this.spaces="")}}getPosition(t){let n=this.input.fromOffset(t);return{column:n.col,line:n.line,offset:t}}init(t,n){this.current.push(t),t.source={input:this.input,start:this.getPosition(n)},t.raws.before=this.spaces,this.spaces="",t.type!=="comment"&&(this.semicolon=!1)}other(t){let n=!1,i=null,o=!1,r=null,u=[],a=t[1].startsWith("--"),m=[],d=t;for(;d;){if(i=d[0],m.push(d),i==="("||i==="[")r||(r=d),u.push(i==="("?")":"]");else if(a&&o&&i==="{")r||(r=d),u.push("}");else if(u.length===0)if(i===";")if(o){this.decl(m,a);return}else break;else if(i==="{"){this.rule(m);return}else if(i==="}"){this.tokenizer.back(m.pop()),n=!0;break}else i===":"&&(o=!0);else i===u[u.length-1]&&(u.pop(),u.length===0&&(r=null));d=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(n=!0),u.length>0&&this.unclosedBracket(r),n&&o){if(!a)for(;m.length&&(d=m[m.length-1][0],!(d!=="space"&&d!=="comment"));)this.tokenizer.back(m.pop());this.decl(m,a)}else this.unknownWord(m)}parse(){let t;for(;!this.tokenizer.endOfFile();)switch(t=this.tokenizer.nextToken(),t[0]){case"space":this.spaces+=t[1];break;case";":this.freeSemicolon(t);break;case"}":this.end(t);break;case"comment":this.comment(t);break;case"at-word":this.atrule(t);break;case"{":this.emptyRule(t);break;default:this.other(t);break}this.endFile()}precheckMissedSemicolon(){}raw(t,n,i,o){let r,u,a=i.length,m="",d=!0,s,l;for(let f=0;f<a;f+=1)r=i[f],u=r[0],u==="space"&&f===a-1&&!o?d=!1:u==="comment"?(l=i[f-1]?i[f-1][0]:"empty",s=i[f+1]?i[f+1][0]:"empty",!u_[l]&&!u_[s]?m.slice(-1)===","?d=!1:m+=r[1]:d=!1):m+=r[1];if(!d){let f=i.reduce((p,h)=>p+h[1],"");t.raws[n]={raw:f,value:m}}t[n]=m}rule(t){t.pop();let n=new l_;this.init(n,t[0][2]),n.raws.between=this.spacesAndCommentsFromEnd(t),this.raw(n,"selector",t),this.current=n}spacesAndCommentsFromEnd(t){let n,i="";for(;t.length&&(n=t[t.length-1][0],!(n!=="space"&&n!=="comment"));)i=t.pop()[1]+i;return i}spacesAndCommentsFromStart(t){let n,i="";for(;t.length&&(n=t[0][0],!(n!=="space"&&n!=="comment"));)i+=t.shift()[1];return i}spacesFromEnd(t){let n,i="";for(;t.length&&(n=t[t.length-1][0],n==="space");)i=t.pop()[1]+i;return i}stringFrom(t,n){let i="";for(let o=n;o<t.length;o++)i+=t[o][1];return t.splice(n,t.length-n),i}unclosedBlock(){let t=this.current.source.start;throw this.input.error("Unclosed block",t.line,t.column)}unclosedBracket(t){throw this.input.error("Unclosed bracket",{offset:t[2]},{offset:t[2]+1})}unexpectedClose(t){throw this.input.error("Unexpected }",{offset:t[2]},{offset:t[2]+1})}unknownWord(t){throw this.input.error("Unknown word",{offset:t[0][2]},{offset:t[0][2]+t[0][1].length})}unnamedAtrule(t,n){throw this.input.error("At-rule without name",{offset:n[2]},{offset:n[2]+n[1].length})}};c_.exports=zm});var td=me((IQ,d_)=>{"use strict";var WR=Hs(),KR=p_(),zR=Xl();function ed(e,t){let n=new zR(e,t),i=new KR(n);try{i.parse()}catch(o){throw process.env.NODE_ENV!=="production"&&o.name==="CssSyntaxError"&&t&&t.from&&(/\.scss$/i.test(t.from)?o.message+=`
|
|
You tried to parse SCSS with the standard CSS parser; try again with the postcss-scss parser`:/\.sass/i.test(t.from)?o.message+=`
|
|
You tried to parse Sass with the standard CSS parser; try again with the postcss-sass parser`:/\.less$/i.test(t.from)&&(o.message+=`
|
|
You tried to parse Less with the standard CSS parser; try again with the postcss-less parser`)),o}return i.root}d_.exports=ed;ed.default=ed;WR.registerParse(ed)});var Xm=me((OQ,y_)=>{"use strict";var{isClean:ns,my:GR}=Bp(),HR=Um(),XR=Ul(),JR=Hs(),YR=Jp(),QR=qm(),f_=Yp(),ZR=td(),e5=_o(),t5={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},r5={AtRule:!0,AtRuleExit:!0,Comment:!0,CommentExit:!0,Declaration:!0,DeclarationExit:!0,Document:!0,DocumentExit:!0,Once:!0,OnceExit:!0,postcssPlugin:!0,prepare:!0,Root:!0,RootExit:!0,Rule:!0,RuleExit:!0},n5={Once:!0,postcssPlugin:!0,prepare:!0},Co=0;function tu(e){return typeof e=="object"&&typeof e.then=="function"}function m_(e){let t=!1,n=t5[e.type];return e.type==="decl"?t=e.prop.toLowerCase():e.type==="atrule"&&(t=e.name.toLowerCase()),t&&e.append?[n,n+"-"+t,Co,n+"Exit",n+"Exit-"+t]:t?[n,n+"-"+t,n+"Exit",n+"Exit-"+t]:e.append?[n,Co,n+"Exit"]:[n,n+"Exit"]}function h_(e){let t;return e.type==="document"?t=["Document",Co,"DocumentExit"]:e.type==="root"?t=["Root",Co,"RootExit"]:t=m_(e),{eventIndex:0,events:t,iterator:0,node:e,visitorIndex:0,visitors:[]}}function Gm(e){return e[ns]=!1,e.nodes&&e.nodes.forEach(t=>Gm(t)),e}var Hm={},Js=class e{constructor(t,n,i){this.stringified=!1,this.processed=!1;let o;if(typeof n=="object"&&n!==null&&(n.type==="root"||n.type==="document"))o=Gm(n);else if(n instanceof e||n instanceof f_)o=Gm(n.root),n.map&&(typeof i.map>"u"&&(i.map={}),i.map.inline||(i.map.inline=!1),i.map.prev=n.map);else{let r=ZR;i.syntax&&(r=i.syntax.parse),i.parser&&(r=i.parser),r.parse&&(r=r.parse);try{o=r(n,i)}catch(u){this.processed=!0,this.error=u}o&&!o[GR]&&JR.rebuild(o)}this.result=new f_(t,o,i),this.helpers={...Hm,postcss:Hm,result:this.result},this.plugins=this.processor.plugins.map(r=>typeof r=="object"&&r.prepare?{...r,...r.prepare(this.result)}:r)}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)}catch(t){return this.async().catch(t)}finally(t){return this.async().then(t,t)}getAsyncError(){throw new Error("Use process(css).then(cb) to work with async plugins")}handleError(t,n){let i=this.result.lastPlugin;try{if(n&&n.addToError(t),this.error=t,t.name==="CssSyntaxError"&&!t.plugin)t.plugin=i.postcssPlugin,t.setMessage();else if(i.postcssVersion&&process.env.NODE_ENV!=="production"){let o=i.postcssPlugin,r=i.postcssVersion,u=this.result.processor.version,a=r.split("."),m=u.split(".");(a[0]!==m[0]||parseInt(a[1])>parseInt(m[1]))&&console.error("Unknown error from PostCSS plugin. Your current PostCSS version is "+u+", but "+o+" uses "+r+". Perhaps this is the source of the error below.")}}catch(o){console&&console.error&&console.error(o)}return t}prepareVisitors(){this.listeners={};let t=(n,i,o)=>{this.listeners[i]||(this.listeners[i]=[]),this.listeners[i].push([n,o])};for(let n of this.plugins)if(typeof n=="object")for(let i in n){if(!r5[i]&&/^[A-Z]/.test(i))throw new Error(`Unknown event ${i} in ${n.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`);if(!n5[i])if(typeof n[i]=="object")for(let o in n[i])o==="*"?t(n,i,n[i][o]):t(n,i+"-"+o.toLowerCase(),n[i][o]);else typeof n[i]=="function"&&t(n,i,n[i])}this.hasListener=Object.keys(this.listeners).length>0}async runAsync(){this.plugin=0;for(let t=0;t<this.plugins.length;t++){let n=this.plugins[t],i=this.runOnRoot(n);if(tu(i))try{await i}catch(o){throw this.handleError(o)}}if(this.prepareVisitors(),this.hasListener){let t=this.result.root;for(;!t[ns];){t[ns]=!0;let n=[h_(t)];for(;n.length>0;){let i=this.visitTick(n);if(tu(i))try{await i}catch(o){let r=n[n.length-1].node;throw this.handleError(o,r)}}}if(this.listeners.OnceExit)for(let[n,i]of this.listeners.OnceExit){this.result.lastPlugin=n;try{if(t.type==="document"){let o=t.nodes.map(r=>i(r,this.helpers));await Promise.all(o)}else await i(t,this.helpers)}catch(o){throw this.handleError(o)}}}return this.processed=!0,this.stringify()}runOnRoot(t){this.result.lastPlugin=t;try{if(typeof t=="object"&&t.Once){if(this.result.root.type==="document"){let n=this.result.root.nodes.map(i=>t.Once(i,this.helpers));return tu(n[0])?Promise.all(n):n}return t.Once(this.result.root,this.helpers)}else if(typeof t=="function")return t(this.result.root,this.result)}catch(n){throw this.handleError(n)}}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();let t=this.result.opts,n=XR;t.syntax&&(n=t.syntax.stringify),t.stringifier&&(n=t.stringifier),n.stringify&&(n=n.stringify);let o=new HR(n,this.result.root,this.result.opts).generate();return this.result.css=o[0],this.result.map=o[1],this.result}sync(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();for(let t of this.plugins){let n=this.runOnRoot(t);if(tu(n))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){let t=this.result.root;for(;!t[ns];)t[ns]=!0,this.walkSync(t);if(this.listeners.OnceExit)if(t.type==="document")for(let n of t.nodes)this.visitSync(this.listeners.OnceExit,n);else this.visitSync(this.listeners.OnceExit,t)}return this.result}then(t,n){return process.env.NODE_ENV!=="production"&&("from"in this.opts||QR("Without `from` option PostCSS could generate wrong source map and will not find Browserslist config. Set it to CSS file path or to `undefined` to prevent this warning.")),this.async().then(t,n)}toString(){return this.css}visitSync(t,n){for(let[i,o]of t){this.result.lastPlugin=i;let r;try{r=o(n,this.helpers)}catch(u){throw this.handleError(u,n.proxyOf)}if(n.type!=="root"&&n.type!=="document"&&!n.parent)return!0;if(tu(r))throw this.getAsyncError()}}visitTick(t){let n=t[t.length-1],{node:i,visitors:o}=n;if(i.type!=="root"&&i.type!=="document"&&!i.parent){t.pop();return}if(o.length>0&&n.visitorIndex<o.length){let[u,a]=o[n.visitorIndex];n.visitorIndex+=1,n.visitorIndex===o.length&&(n.visitors=[],n.visitorIndex=0),this.result.lastPlugin=u;try{return a(i.toProxy(),this.helpers)}catch(m){throw this.handleError(m,i)}}if(n.iterator!==0){let u=n.iterator,a;for(;a=i.nodes[i.indexes[u]];)if(i.indexes[u]+=1,!a[ns]){a[ns]=!0,t.push(h_(a));return}n.iterator=0,delete i.indexes[u]}let r=n.events;for(;n.eventIndex<r.length;){let u=r[n.eventIndex];if(n.eventIndex+=1,u===Co){i.nodes&&i.nodes.length&&(i[ns]=!0,n.iterator=i.getIterator());return}else if(this.listeners[u]){n.visitors=this.listeners[u];return}}t.pop()}walkSync(t){t[ns]=!0;let n=m_(t);for(let i of n)if(i===Co)t.nodes&&t.each(o=>{o[ns]||this.walkSync(o)});else{let o=this.listeners[i];if(o&&this.visitSync(o,t.toProxy()))return}}warnings(){return this.sync().warnings()}get content(){return this.stringify().content}get css(){return this.stringify().css}get map(){return this.stringify().map}get messages(){return this.sync().messages}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){return this.sync().root}get[Symbol.toStringTag](){return"LazyResult"}};Js.registerPostcss=e=>{Hm=e};y_.exports=Js;Js.default=Js;e5.registerLazyResult(Js);YR.registerLazyResult(Js)});var g_=me((NQ,b_)=>{"use strict";var i5=Um(),s5=Ul(),a5=qm(),o5=td(),l5=Yp(),ru=class{constructor(t,n,i){n=n.toString(),this.stringified=!1,this._processor=t,this._css=n,this._opts=i,this._map=void 0;let o,r=s5;this.result=new l5(this._processor,o,this._opts),this.result.css=n;let u=this;Object.defineProperty(this.result,"root",{get(){return u.root}});let a=new i5(r,o,this._opts,n);if(a.isMap()){let[m,d]=a.generate();m&&(this.result.css=m),d&&(this.result.map=d)}else a.clearAnnotation(),this.result.css=a.css}async(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)}catch(t){return this.async().catch(t)}finally(t){return this.async().then(t,t)}sync(){if(this.error)throw this.error;return this.result}then(t,n){return process.env.NODE_ENV!=="production"&&("from"in this._opts||a5("Without `from` option PostCSS could generate wrong source map and will not find Browserslist config. Set it to CSS file path or to `undefined` to prevent this warning.")),this.async().then(t,n)}toString(){return this._css}warnings(){return[]}get content(){return this.result.css}get css(){return this.result.css}get map(){return this.result.map}get messages(){return[]}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){if(this._root)return this._root;let t,n=o5;try{t=n(this._css,this._opts)}catch(i){this.error=i}if(this.error)throw this.error;return this._root=t,t}get[Symbol.toStringTag](){return"NoWorkResult"}};b_.exports=ru;ru.default=ru});var T_=me((FQ,v_)=>{"use strict";var u5=g_(),c5=Xm(),p5=Jp(),d5=_o(),Na=class{constructor(t=[]){this.version="8.4.35",this.plugins=this.normalize(t)}normalize(t){let n=[];for(let i of t)if(i.postcss===!0?i=i():i.postcss&&(i=i.postcss),typeof i=="object"&&Array.isArray(i.plugins))n=n.concat(i.plugins);else if(typeof i=="object"&&i.postcssPlugin)n.push(i);else if(typeof i=="function")n.push(i);else if(typeof i=="object"&&(i.parse||i.stringify)){if(process.env.NODE_ENV!=="production")throw new Error("PostCSS syntaxes cannot be used as plugins. Instead, please use one of the syntax/parser/stringifier options as outlined in your PostCSS runner documentation.")}else throw new Error(i+" is not a PostCSS plugin");return n}process(t,n={}){return!this.plugins.length&&!n.parser&&!n.stringifier&&!n.syntax?new u5(this,t,n):new c5(this,t,n)}use(t){return this.plugins=this.plugins.concat(this.normalize([t])),this}};v_.exports=Na;Na.default=Na;d5.registerProcessor(Na);p5.registerProcessor(Na)});var S_=me((jQ,E_)=>{"use strict";var f5=Wl(),h5=Fm(),m5=Yl(),y5=Qp(),b5=Xl(),g5=_o(),v5=Zp();function nu(e,t){if(Array.isArray(e))return e.map(o=>nu(o));let{inputs:n,...i}=e;if(n){t=[];for(let o of n){let r={...o,__proto__:b5.prototype};r.map&&(r.map={...r.map,__proto__:h5.prototype}),t.push(r)}}if(i.nodes&&(i.nodes=e.nodes.map(o=>nu(o,t))),i.source){let{inputId:o,...r}=i.source;i.source=r,o!=null&&(i.source.input=t[o])}if(i.type==="root")return new g5(i);if(i.type==="decl")return new f5(i);if(i.type==="rule")return new v5(i);if(i.type==="comment")return new m5(i);if(i.type==="atrule")return new y5(i);throw new Error("Unknown node type: "+e.type)}E_.exports=nu;nu.default=nu});var Bi=me((LQ,k_)=>{"use strict";var T5=Rp(),x_=Wl(),E5=Xm(),S5=Hs(),Jm=T_(),x5=Ul(),_5=S_(),__=Jp(),w5=Wm(),w_=Yl(),C_=Qp(),C5=Yp(),A5=Xl(),P5=td(),k5=Km(),A_=Zp(),P_=_o(),D5=Vl();function Or(...e){return e.length===1&&Array.isArray(e[0])&&(e=e[0]),new Jm(e)}Or.plugin=function(t,n){let i=!1;function o(...u){console&&console.warn&&!i&&(i=!0,console.warn(t+`: postcss.plugin was deprecated. Migration guide:
|
|
https://evilmartians.com/chronicles/postcss-8-plugin-migration`),process.env.LANG&&process.env.LANG.startsWith("cn")&&console.warn(t+`: \u91CC\u9762 postcss.plugin \u88AB\u5F03\u7528. \u8FC1\u79FB\u6307\u5357:
|
|
https://www.w3ctech.com/topic/2226`));let a=n(...u);return a.postcssPlugin=t,a.postcssVersion=new Jm().version,a}let r;return Object.defineProperty(o,"postcss",{get(){return r||(r=o()),r}}),o.process=function(u,a,m){return Or([o(m)]).process(u,a)},o};Or.stringify=x5;Or.parse=P5;Or.fromJSON=_5;Or.list=k5;Or.comment=e=>new w_(e);Or.atRule=e=>new C_(e);Or.decl=e=>new x_(e);Or.rule=e=>new A_(e);Or.root=e=>new P_(e);Or.document=e=>new __(e);Or.CssSyntaxError=T5;Or.Declaration=x_;Or.Container=S5;Or.Processor=Jm;Or.Document=__;Or.Comment=w_;Or.Warning=w5;Or.AtRule=C_;Or.Result=C5;Or.Input=A5;Or.Rule=A_;Or.Root=P_;Or.Node=D5;E5.registerPostcss(Or);k_.exports=Or;Or.default=Or});var Ym=me((lZ,I_)=>{"use strict";I_.exports=function(t,n,i){let o=[];if(typeof t<"u"){let r="layer";t&&(r=`layer(${t})`),o.push(r)}return typeof i<"u"&&o.push(`supports(${i})`),typeof n<"u"&&o.push(n),o.join(" ")}});var F_=me((uZ,N_)=>{"use strict";var O_=Ym();N_.exports=function(t,n){n.reverse();let i=n.pop(),o=`${t} ${O_(i.layer,i.media,i.supports)}`;for(let r of n)o=`'data:text/css;base64,${Buffer.from(`@import ${o}`).toString("base64")}' ${O_(r.layer,r.media,r.supports)}`;return o}});var L_=me((cZ,j_)=>{"use strict";var I5=F_();j_.exports=function(t,n){t.forEach(i=>{var d;if(i.type==="charset"||i.type==="warning"||!((d=i.conditions)!=null&&d.length))return;if(i.type==="import"){i.node.params=I5(i.fullUri,i.conditions);return}let{nodes:o}=i,{parent:r}=o[0],u=[];for(let s of i.conditions){if(typeof s.media<"u"){let l=n({name:"media",params:s.media,source:r.source});u.push(l)}if(typeof s.supports<"u"){let l=n({name:"supports",params:`(${s.supports})`,source:r.source});u.push(l)}if(typeof s.layer<"u"){let l=n({name:"layer",params:s.layer,source:r.source});u.push(l)}}let a=u.shift(),m=u.reduce((s,l)=>(s.append(l),l),a);r.insertBefore(o[0],a),o.forEach(s=>{s.parent=void 0}),o[0].raws.before=o[0].raws.before||`
|
|
`,m.append(o),i.type="nodes",i.nodes=[a],delete i.node})}});var R_=me((pZ,M_)=>{"use strict";M_.exports=function(t){t.forEach((n,i)=>{if(i!==0)if(n.parent){let{before:o}=n.parent.node.raws;n.type==="nodes"?n.nodes[0].raws.before=o:n.node.raws.before=o}else n.type==="nodes"&&(n.nodes[0].raws.before=n.nodes[0].raws.before||`
|
|
`)})}});var U_=me((dZ,B_)=>{"use strict";B_.exports=function(t,n){n.nodes=[],t.forEach(i=>{["charset","import"].includes(i.type)?(i.node.parent=void 0,n.append(i.node)):i.type==="nodes"&&i.nodes.forEach(o=>{o.parent=void 0,n.append(o)})})}});var W_=me((fZ,q_)=>{"use strict";var $_=function(e,t,n){return function(){for(var i=this,o=new Array(arguments.length),r=0;r<arguments.length;r++)o[r]=arguments[r];return new t(function(u,a){o.push(function(m,d){if(m)a(m);else if(n.multiArgs){for(var s=new Array(arguments.length-1),l=1;l<arguments.length;l++)s[l-1]=arguments[l];u(s)}else u(d)}),e.apply(i,o)})}},V_=q_.exports=function(e,t,n){typeof t!="function"&&(n=t,t=Promise),n=n||{},n.exclude=n.exclude||[/.+Sync$/];var i=function(r){var u=function(a){return typeof a=="string"?r===a:a.test(r)};return n.include?n.include.some(u):!n.exclude.some(u)},o=typeof e=="function"?function(){return n.excludeMain?e.apply(this,arguments):$_(e,t,n).apply(this,arguments)}:{};return Object.keys(e).reduce(function(r,u){var a=e[u];return r[u]=typeof a=="function"&&i(u)?$_(a,t,n):a,r},o)};V_.all=V_});var z_=me((hZ,su)=>{var rd=yt("fs"),O5=yt("path"),K_=W_(),N5=K_(rd.stat),F5=K_(rd.readFile),Qm=O5.resolve,_s=Object.create(null);function iu(e,t){return Buffer.isEncoding(t)?e.toString(t):e}su.exports=function(e,t){return e=Qm(e),N5(e).then(function(n){var i=_s[e];return i&&i.mtime.getTime()===n.mtime.getTime()?iu(i.content,t):F5(e).then(function(o){return _s[e]={mtime:n.mtime,content:o},iu(o,t)})}).catch(function(n){return _s[e]=null,Promise.reject(n)})};su.exports.sync=function(e,t){e=Qm(e);try{var n=rd.statSync(e),i=_s[e];if(i&&i.mtime.getTime()===n.mtime.getTime())return iu(i.content,t);var o=rd.readFileSync(e);return _s[e]={mtime:n.mtime,content:o},iu(o,t)}catch(r){throw _s[e]=null,r}};su.exports.get=function(e,t){return e=Qm(e),_s[e]?iu(_s[e].content,t):null};su.exports.clear=function(){_s=Object.create(null)}});var Zm=me((mZ,G_)=>{"use strict";var j5=/^data:text\/css(?:;(base64|plain))?,/i,L5=/^data:text\/css;base64,/i,M5=/^data:text\/css;plain,/i;function R5(e){return j5.test(e)}function B5(e){return L5.test(e)?Buffer.from(e.slice(21),"base64").toString():M5.test(e)?decodeURIComponent(e.slice(20)):decodeURIComponent(e.slice(14))}G_.exports={isValid:R5,contents:B5}});var J_=me((yZ,X_)=>{"use strict";var U5=z_(),H_=Zm();X_.exports=function(t){return H_.isValid(t)?H_.contents(t):U5(t,"utf-8")}});var Q_=me((bZ,Y_)=>{var ey=40,ty=41,nd=39,ry=34,ny=92,Ao=47,iy=44,sy=58,id=42,$5=117,V5=85,q5=43,W5=/^[a-f0-9?-]+$/i;Y_.exports=function(e){for(var t=[],n=e,i,o,r,u,a,m,d,s,l=0,f=n.charCodeAt(l),p=n.length,h=[{nodes:t}],y=0,b,E="",v="",S="";l<p;)if(f<=32){i=l;do i+=1,f=n.charCodeAt(i);while(f<=32);u=n.slice(l,i),r=t[t.length-1],f===ty&&y?S=u:r&&r.type==="div"?(r.after=u,r.sourceEndIndex+=u.length):f===iy||f===sy||f===Ao&&n.charCodeAt(i+1)!==id&&(!b||b&&b.type==="function"&&b.value!=="calc")?v=u:t.push({type:"space",sourceIndex:l,sourceEndIndex:i,value:u}),l=i}else if(f===nd||f===ry){i=l,o=f===nd?"'":'"',u={type:"string",sourceIndex:l,quote:o};do if(a=!1,i=n.indexOf(o,i+1),~i)for(m=i;n.charCodeAt(m-1)===ny;)m-=1,a=!a;else n+=o,i=n.length-1,u.unclosed=!0;while(a);u.value=n.slice(l+1,i),u.sourceEndIndex=u.unclosed?i:i+1,t.push(u),l=i+1,f=n.charCodeAt(l)}else if(f===Ao&&n.charCodeAt(l+1)===id)i=n.indexOf("*/",l),u={type:"comment",sourceIndex:l,sourceEndIndex:i+2},i===-1&&(u.unclosed=!0,i=n.length,u.sourceEndIndex=i),u.value=n.slice(l+2,i),t.push(u),l=i+2,f=n.charCodeAt(l);else if((f===Ao||f===id)&&b&&b.type==="function"&&b.value==="calc")u=n[l],t.push({type:"word",sourceIndex:l-v.length,sourceEndIndex:l+u.length,value:u}),l+=1,f=n.charCodeAt(l);else if(f===Ao||f===iy||f===sy)u=n[l],t.push({type:"div",sourceIndex:l-v.length,sourceEndIndex:l+u.length,value:u,before:v,after:""}),v="",l+=1,f=n.charCodeAt(l);else if(ey===f){i=l;do i+=1,f=n.charCodeAt(i);while(f<=32);if(s=l,u={type:"function",sourceIndex:l-E.length,value:E,before:n.slice(s+1,i)},l=i,E==="url"&&f!==nd&&f!==ry){i-=1;do if(a=!1,i=n.indexOf(")",i+1),~i)for(m=i;n.charCodeAt(m-1)===ny;)m-=1,a=!a;else n+=")",i=n.length-1,u.unclosed=!0;while(a);d=i;do d-=1,f=n.charCodeAt(d);while(f<=32);s<d?(l!==d+1?u.nodes=[{type:"word",sourceIndex:l,sourceEndIndex:d+1,value:n.slice(l,d+1)}]:u.nodes=[],u.unclosed&&d+1!==i?(u.after="",u.nodes.push({type:"space",sourceIndex:d+1,sourceEndIndex:i,value:n.slice(d+1,i)})):(u.after=n.slice(d+1,i),u.sourceEndIndex=i)):(u.after="",u.nodes=[]),l=i+1,u.sourceEndIndex=u.unclosed?i:l,f=n.charCodeAt(l),t.push(u)}else y+=1,u.after="",u.sourceEndIndex=l+1,t.push(u),h.push(u),t=u.nodes=[],b=u;E=""}else if(ty===f&&y)l+=1,f=n.charCodeAt(l),b.after=S,b.sourceEndIndex+=S.length,S="",y-=1,h[h.length-1].sourceEndIndex=l,h.pop(),b=h[y],t=b.nodes;else{i=l;do f===ny&&(i+=1),i+=1,f=n.charCodeAt(i);while(i<p&&!(f<=32||f===nd||f===ry||f===iy||f===sy||f===Ao||f===ey||f===id&&b&&b.type==="function"&&b.value==="calc"||f===Ao&&b.type==="function"&&b.value==="calc"||f===ty&&y));u=n.slice(l,i),ey===f?E=u:($5===u.charCodeAt(0)||V5===u.charCodeAt(0))&&q5===u.charCodeAt(1)&&W5.test(u.slice(2))?t.push({type:"unicode-range",sourceIndex:l,sourceEndIndex:i,value:u}):t.push({type:"word",sourceIndex:l,sourceEndIndex:i,value:u}),l=i}for(l=h.length-1;l;l-=1)h[l].unclosed=!0,h[l].sourceEndIndex=n.length;return h[0].nodes}});var ew=me((gZ,Z_)=>{Z_.exports=function e(t,n,i){var o,r,u,a;for(o=0,r=t.length;o<r;o+=1)u=t[o],i||(a=n(u,o,t)),a!==!1&&u.type==="function"&&Array.isArray(u.nodes)&&e(u.nodes,n,i),i&&n(u,o,t)}});var iw=me((vZ,nw)=>{function tw(e,t){var n=e.type,i=e.value,o,r;return t&&(r=t(e))!==void 0?r:n==="word"||n==="space"?i:n==="string"?(o=e.quote||"",o+i+(e.unclosed?"":o)):n==="comment"?"/*"+i+(e.unclosed?"":"*/"):n==="div"?(e.before||"")+i+(e.after||""):Array.isArray(e.nodes)?(o=rw(e.nodes,t),n!=="function"?o:i+"("+(e.before||"")+o+(e.after||"")+(e.unclosed?"":")")):i}function rw(e,t){var n,i;if(Array.isArray(e)){for(n="",i=e.length-1;~i;i-=1)n=tw(e[i],t)+n;return n}return tw(e,t)}nw.exports=rw});var aw=me((TZ,sw)=>{var sd=45,ad=43,ay=46,K5=101,z5=69;function G5(e){var t=e.charCodeAt(0),n;if(t===ad||t===sd){if(n=e.charCodeAt(1),n>=48&&n<=57)return!0;var i=e.charCodeAt(2);return n===ay&&i>=48&&i<=57}return t===ay?(n=e.charCodeAt(1),n>=48&&n<=57):t>=48&&t<=57}sw.exports=function(e){var t=0,n=e.length,i,o,r;if(n===0||!G5(e))return!1;for(i=e.charCodeAt(t),(i===ad||i===sd)&&t++;t<n&&(i=e.charCodeAt(t),!(i<48||i>57));)t+=1;if(i=e.charCodeAt(t),o=e.charCodeAt(t+1),i===ay&&o>=48&&o<=57)for(t+=2;t<n&&(i=e.charCodeAt(t),!(i<48||i>57));)t+=1;if(i=e.charCodeAt(t),o=e.charCodeAt(t+1),r=e.charCodeAt(t+2),(i===K5||i===z5)&&(o>=48&&o<=57||(o===ad||o===sd)&&r>=48&&r<=57))for(t+=o===ad||o===sd?3:2;t<n&&(i=e.charCodeAt(t),!(i<48||i>57));)t+=1;return{number:e.slice(0,t),unit:e.slice(t)}}});var cw=me((EZ,uw)=>{var H5=Q_(),ow=ew(),lw=iw();function Ys(e){return this instanceof Ys?(this.nodes=H5(e),this):new Ys(e)}Ys.prototype.toString=function(){return Array.isArray(this.nodes)?lw(this.nodes):""};Ys.prototype.walk=function(e,t){return ow(this.nodes,e,t),this};Ys.unit=aw();Ys.walk=ow;Ys.stringify=lw;uw.exports=Ys});var fw=me((SZ,dw)=>{"use strict";var pw=cw(),{stringify:au}=pw;dw.exports=function(t,n,i,o){let r=[],u=[];return n.each(a=>{let m;a.type==="atrule"&&(a.name==="import"?m=J5(t,a,i,o):a.name==="charset"&&(m=X5(t,a,i,o))),m?(u.length&&(r.push({type:"nodes",nodes:u,conditions:[...i],from:o}),u=[]),r.push(m)):u.push(a)}),u.length&&r.push({type:"nodes",nodes:u,conditions:[...i],from:o}),r};function X5(e,t,n,i){return t.prev()?e.warn("@charset must precede all other statements",{node:t}):{type:"charset",node:t,conditions:[...n],from:i}}function J5(e,t,n,i){var s,l;let o=t.prev();if(o)do{if(o.type==="comment"||o.type==="atrule"&&o.name==="import"){o=o.prev();continue}break}while(o);if(o)do{if(o.type==="comment"||o.type==="atrule"&&(o.name==="charset"||o.name==="layer"&&!o.nodes)){o=o.prev();continue}return e.warn("@import must precede all other statements (besides @charset or empty @layer)",{node:t})}while(o);if(t.nodes)return e.warn("It looks like you didn't end your @import statement correctly. Child nodes are attached to it.",{node:t});let r=pw(t.params).nodes,u={type:"import",uri:"",fullUri:"",node:t,conditions:[...n],from:i},a,m,d;for(let f=0;f<r.length;f++){let p=r[f];if(!(p.type==="space"||p.type==="comment")){if(p.type==="string"){if(u.uri)return e.warn(`Multiple url's in '${t.toString()}'`,{node:t});if(!p.value)return e.warn(`Unable to find uri in '${t.toString()}'`,{node:t});u.uri=p.value,u.fullUri=au(p);continue}if(p.type==="function"&&/^url$/i.test(p.value)){if(u.uri)return e.warn(`Multiple url's in '${t.toString()}'`,{node:t});if(!((l=(s=p.nodes)==null?void 0:s[0])!=null&&l.value))return e.warn(`Unable to find uri in '${t.toString()}'`,{node:t});u.uri=p.nodes[0].value,u.fullUri=au(p);continue}if(!u.uri)return e.warn(`Unable to find uri in '${t.toString()}'`,{node:t});if((p.type==="word"||p.type==="function")&&/^layer$/i.test(p.value)){if(typeof a<"u")return e.warn(`Multiple layers in '${t.toString()}'`,{node:t});if(typeof d<"u")return e.warn(`layers must be defined before support conditions in '${t.toString()}'`,{node:t});p.nodes?a=au(p.nodes):a="";continue}if(p.type==="function"&&/^supports$/i.test(p.value)){if(typeof d<"u")return e.warn(`Multiple support conditions in '${t.toString()}'`,{node:t});d=au(p.nodes);continue}m=au(r.slice(f));break}}return u.uri?((typeof m<"u"||typeof a<"u"||typeof d<"u")&&u.conditions.push({layer:a,media:m,supports:d}),u):e.warn(`Unable to find uri in '${t.toString()}'`,{node:t})}});var mw=me((xZ,hw)=>{"use strict";var Y5=yt("path"),od;hw.exports=function(t,n,i,o,r){var d;let{plugins:u}=o,a=Y5.extname(i),m=[];if(a===".sss"){if(!od)try{od=yt("sugarss")}catch{}if(od)return oy(r,n,i,u,[od])}return(d=t.opts.syntax)!=null&&d.parse&&m.push(t.opts.syntax.parse),t.opts.parser&&m.push(t.opts.parser),m.push(null),oy(r,n,i,u,m)};function oy(e,t,n,i,o,r){return r||(r=0),e(i).process(t,{from:n,parser:o[r]}).catch(u=>{if(r++,r===o.length)throw u;return oy(e,t,n,i,o,r)})}});var ly=me((_Z,yw)=>{"use strict";var Q5=yt("os");yw.exports=Q5.homedir||function(){var t=process.env.HOME,n=process.env.LOGNAME||process.env.USER||process.env.LNAME||process.env.USERNAME;return process.platform==="win32"?process.env.USERPROFILE||process.env.HOMEDRIVE+process.env.HOMEPATH||t||null:process.platform==="darwin"?t||(n?"/Users/"+n:null):process.platform==="linux"?t||(process.getuid()===0?"/root":n?"/home/"+n:null):t||null}});var uy=me((wZ,bw)=>{bw.exports=function(){var e=Error.prepareStackTrace;Error.prepareStackTrace=function(n,i){return i};var t=new Error().stack;return Error.prepareStackTrace=e,t[2].getFileName()}});var gw=me((CZ,ou)=>{"use strict";var Z5=process.platform==="win32",eB=/^(((?:[a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?[\\\/]?)(?:[^\\\/]*[\\\/])*)((\.{1,2}|[^\\\/]+?|)(\.[^.\/\\]*|))[\\\/]*$/,cy={};function tB(e){return eB.exec(e).slice(1)}cy.parse=function(e){if(typeof e!="string")throw new TypeError("Parameter 'pathString' must be a string, not "+typeof e);var t=tB(e);if(!t||t.length!==5)throw new TypeError("Invalid path '"+e+"'");return{root:t[1],dir:t[0]===t[1]?t[0]:t[0].slice(0,-1),base:t[2],ext:t[4],name:t[3]}};var rB=/^((\/?)(?:[^\/]*\/)*)((\.{1,2}|[^\/]+?|)(\.[^.\/]*|))[\/]*$/,py={};function nB(e){return rB.exec(e).slice(1)}py.parse=function(e){if(typeof e!="string")throw new TypeError("Parameter 'pathString' must be a string, not "+typeof e);var t=nB(e);if(!t||t.length!==5)throw new TypeError("Invalid path '"+e+"'");return{root:t[1],dir:t[0].slice(0,-1),base:t[2],ext:t[4],name:t[3]}};Z5?ou.exports=cy.parse:ou.exports=py.parse;ou.exports.posix=py.parse;ou.exports.win32=cy.parse});var dy=me((AZ,Sw)=>{var Ew=yt("path"),vw=Ew.parse||gw(),Tw=function(t,n){var i="/";/^([A-Za-z]:)/.test(t)?i="":/^\\\\/.test(t)&&(i="\\\\");for(var o=[t],r=vw(t);r.dir!==o[o.length-1];)o.push(r.dir),r=vw(r.dir);return o.reduce(function(u,a){return u.concat(n.map(function(m){return Ew.resolve(i,a,m)}))},[])};Sw.exports=function(t,n,i){var o=n&&n.moduleDirectory?[].concat(n.moduleDirectory):["node_modules"];if(n&&typeof n.paths=="function")return n.paths(i,t,function(){return Tw(t,o)},n);var r=Tw(t,o);return n&&n.paths?r.concat(n.paths):r}});var fy=me((PZ,xw)=>{xw.exports=function(e,t){return t||{}}});var Cw=me((kZ,ww)=>{"use strict";var _w={}.hasOwnProperty,hy=Function.prototype.call;ww.exports=hy.bind?hy.bind(_w):function(e,t){return hy.call(_w,e,t)}});var Aw=me((DZ,iB)=>{iB.exports={assert:!0,"node:assert":[">= 14.18 && < 15",">= 16"],"assert/strict":">= 15","node:assert/strict":">= 16",async_hooks:">= 8","node:async_hooks":[">= 14.18 && < 15",">= 16"],buffer_ieee754:">= 0.5 && < 0.9.7",buffer:!0,"node:buffer":[">= 14.18 && < 15",">= 16"],child_process:!0,"node:child_process":[">= 14.18 && < 15",">= 16"],cluster:">= 0.5","node:cluster":[">= 14.18 && < 15",">= 16"],console:!0,"node:console":[">= 14.18 && < 15",">= 16"],constants:!0,"node:constants":[">= 14.18 && < 15",">= 16"],crypto:!0,"node:crypto":[">= 14.18 && < 15",">= 16"],_debug_agent:">= 1 && < 8",_debugger:"< 8",dgram:!0,"node:dgram":[">= 14.18 && < 15",">= 16"],diagnostics_channel:[">= 14.17 && < 15",">= 15.1"],"node:diagnostics_channel":[">= 14.18 && < 15",">= 16"],dns:!0,"node:dns":[">= 14.18 && < 15",">= 16"],"dns/promises":">= 15","node:dns/promises":">= 16",domain:">= 0.7.12","node:domain":[">= 14.18 && < 15",">= 16"],events:!0,"node:events":[">= 14.18 && < 15",">= 16"],freelist:"< 6",fs:!0,"node:fs":[">= 14.18 && < 15",">= 16"],"fs/promises":[">= 10 && < 10.1",">= 14"],"node:fs/promises":[">= 14.18 && < 15",">= 16"],_http_agent:">= 0.11.1","node:_http_agent":[">= 14.18 && < 15",">= 16"],_http_client:">= 0.11.1","node:_http_client":[">= 14.18 && < 15",">= 16"],_http_common:">= 0.11.1","node:_http_common":[">= 14.18 && < 15",">= 16"],_http_incoming:">= 0.11.1","node:_http_incoming":[">= 14.18 && < 15",">= 16"],_http_outgoing:">= 0.11.1","node:_http_outgoing":[">= 14.18 && < 15",">= 16"],_http_server:">= 0.11.1","node:_http_server":[">= 14.18 && < 15",">= 16"],http:!0,"node:http":[">= 14.18 && < 15",">= 16"],http2:">= 8.8","node:http2":[">= 14.18 && < 15",">= 16"],https:!0,"node:https":[">= 14.18 && < 15",">= 16"],inspector:">= 8","node:inspector":[">= 14.18 && < 15",">= 16"],"inspector/promises":[">= 19"],"node:inspector/promises":[">= 19"],_linklist:"< 8",module:!0,"node:module":[">= 14.18 && < 15",">= 16"],net:!0,"node:net":[">= 14.18 && < 15",">= 16"],"node-inspect/lib/_inspect":">= 7.6 && < 12","node-inspect/lib/internal/inspect_client":">= 7.6 && < 12","node-inspect/lib/internal/inspect_repl":">= 7.6 && < 12",os:!0,"node:os":[">= 14.18 && < 15",">= 16"],path:!0,"node:path":[">= 14.18 && < 15",">= 16"],"path/posix":">= 15.3","node:path/posix":">= 16","path/win32":">= 15.3","node:path/win32":">= 16",perf_hooks:">= 8.5","node:perf_hooks":[">= 14.18 && < 15",">= 16"],process:">= 1","node:process":[">= 14.18 && < 15",">= 16"],punycode:">= 0.5","node:punycode":[">= 14.18 && < 15",">= 16"],querystring:!0,"node:querystring":[">= 14.18 && < 15",">= 16"],readline:!0,"node:readline":[">= 14.18 && < 15",">= 16"],"readline/promises":">= 17","node:readline/promises":">= 17",repl:!0,"node:repl":[">= 14.18 && < 15",">= 16"],smalloc:">= 0.11.5 && < 3",_stream_duplex:">= 0.9.4","node:_stream_duplex":[">= 14.18 && < 15",">= 16"],_stream_transform:">= 0.9.4","node:_stream_transform":[">= 14.18 && < 15",">= 16"],_stream_wrap:">= 1.4.1","node:_stream_wrap":[">= 14.18 && < 15",">= 16"],_stream_passthrough:">= 0.9.4","node:_stream_passthrough":[">= 14.18 && < 15",">= 16"],_stream_readable:">= 0.9.4","node:_stream_readable":[">= 14.18 && < 15",">= 16"],_stream_writable:">= 0.9.4","node:_stream_writable":[">= 14.18 && < 15",">= 16"],stream:!0,"node:stream":[">= 14.18 && < 15",">= 16"],"stream/consumers":">= 16.7","node:stream/consumers":">= 16.7","stream/promises":">= 15","node:stream/promises":">= 16","stream/web":">= 16.5","node:stream/web":">= 16.5",string_decoder:!0,"node:string_decoder":[">= 14.18 && < 15",">= 16"],sys:[">= 0.4 && < 0.7",">= 0.8"],"node:sys":[">= 14.18 && < 15",">= 16"],"test/reporters":">= 19.9 && < 20.2","node:test/reporters":[">= 18.17 && < 19",">= 19.9",">= 20"],"node:test":[">= 16.17 && < 17",">= 18"],timers:!0,"node:timers":[">= 14.18 && < 15",">= 16"],"timers/promises":">= 15","node:timers/promises":">= 16",_tls_common:">= 0.11.13","node:_tls_common":[">= 14.18 && < 15",">= 16"],_tls_legacy:">= 0.11.3 && < 10",_tls_wrap:">= 0.11.3","node:_tls_wrap":[">= 14.18 && < 15",">= 16"],tls:!0,"node:tls":[">= 14.18 && < 15",">= 16"],trace_events:">= 10","node:trace_events":[">= 14.18 && < 15",">= 16"],tty:!0,"node:tty":[">= 14.18 && < 15",">= 16"],url:!0,"node:url":[">= 14.18 && < 15",">= 16"],util:!0,"node:util":[">= 14.18 && < 15",">= 16"],"util/types":">= 15.3","node:util/types":">= 16","v8/tools/arguments":">= 10 && < 12","v8/tools/codemap":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/consarray":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/csvparser":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/logreader":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/profile_view":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/splaytree":[">= 4.4 && < 5",">= 5.2 && < 12"],v8:">= 1","node:v8":[">= 14.18 && < 15",">= 16"],vm:!0,"node:vm":[">= 14.18 && < 15",">= 16"],wasi:[">= 13.4 && < 13.5",">= 18.17 && < 19",">= 20"],"node:wasi":[">= 18.17 && < 19",">= 20"],worker_threads:">= 11.7","node:worker_threads":[">= 14.18 && < 15",">= 16"],zlib:">= 0.5","node:zlib":[">= 14.18 && < 15",">= 16"]}});var lu=me((IZ,Dw)=>{"use strict";var sB=Cw();function aB(e,t){for(var n=e.split("."),i=t.split(" "),o=i.length>1?i[0]:"=",r=(i.length>1?i[1]:i[0]).split("."),u=0;u<3;++u){var a=parseInt(n[u]||0,10),m=parseInt(r[u]||0,10);if(a!==m)return o==="<"?a<m:o===">="?a>=m:!1}return o===">="}function Pw(e,t){var n=t.split(/ ?&& ?/);if(n.length===0)return!1;for(var i=0;i<n.length;++i)if(!aB(e,n[i]))return!1;return!0}function oB(e,t){if(typeof t=="boolean")return t;var n=typeof e>"u"?process.versions&&process.versions.node:e;if(typeof n!="string")throw new TypeError(typeof e>"u"?"Unable to determine current node version":"If provided, a valid node version is required");if(t&&typeof t=="object"){for(var i=0;i<t.length;++i)if(Pw(n,t[i]))return!0;return!1}return Pw(n,t)}var kw=Aw();Dw.exports=function(t,n){return sB(kw,t)&&oB(n,kw[t])}});var Nw=me((OZ,Ow)=>{var Fa=yt("fs"),lB=ly(),bn=yt("path"),uB=uy(),cB=dy(),pB=fy(),dB=lu(),fB=process.platform!=="win32"&&Fa.realpath&&typeof Fa.realpath.native=="function"?Fa.realpath.native:Fa.realpath,Iw=lB(),hB=function(){return[bn.join(Iw,".node_modules"),bn.join(Iw,".node_libraries")]},mB=function(t,n){Fa.stat(t,function(i,o){return i?i.code==="ENOENT"||i.code==="ENOTDIR"?n(null,!1):n(i):n(null,o.isFile()||o.isFIFO())})},yB=function(t,n){Fa.stat(t,function(i,o){return i?i.code==="ENOENT"||i.code==="ENOTDIR"?n(null,!1):n(i):n(null,o.isDirectory())})},bB=function(t,n){fB(t,function(i,o){i&&i.code!=="ENOENT"?n(i):n(null,i?t:o)})},uu=function(t,n,i,o){i&&i.preserveSymlinks===!1?t(n,o):o(null,n)},gB=function(t,n,i){t(n,function(o,r){if(o)i(o);else try{var u=JSON.parse(r);i(null,u)}catch{i(null)}})},vB=function(t,n,i){for(var o=cB(n,i,t),r=0;r<o.length;r++)o[r]=bn.join(o[r],t);return o};Ow.exports=function(t,n,i){var o=i,r=n;if(typeof n=="function"&&(o=r,r={}),typeof t!="string"){var u=new TypeError("Path must be a string.");return process.nextTick(function(){o(u)})}r=pB(t,r);var a=r.isFile||mB,m=r.isDirectory||yB,d=r.readFile||Fa.readFile,s=r.realpath||bB,l=r.readPackage||gB;if(r.readFile&&r.readPackage){var f=new TypeError("`readFile` and `readPackage` are mutually exclusive.");return process.nextTick(function(){o(f)})}var p=r.packageIterator,h=r.extensions||[".js"],y=r.includeCoreModules!==!1,b=r.basedir||bn.dirname(uB()),E=r.filename||b;r.paths=r.paths||hB();var v=bn.resolve(b);uu(s,v,r,function(I,j){I?o(I):w(j)});var S;function w(I){if(/^(?:\.\.?(?:\/|$)|\/|([A-Za-z]:)?[/\\])/.test(t))S=bn.resolve(I,t),(t==="."||t===".."||t.slice(-1)==="/")&&(S+="/"),/\/$/.test(t)&&S===I?P(S,r.package,A):x(S,r.package,A);else{if(y&&dB(t))return o(null,t);L(t,I,function(j,M,R){if(j)o(j);else{if(M)return uu(s,M,r,function(Y,$){Y?o(Y):o(null,$,R)});var z=new Error("Cannot find module '"+t+"' from '"+E+"'");z.code="MODULE_NOT_FOUND",o(z)}})}}function A(I,j,M){I?o(I):j?o(null,j,M):P(S,function(R,z,Y){if(R)o(R);else if(z)uu(s,z,r,function(G,U){G?o(G):o(null,U,Y)});else{var $=new Error("Cannot find module '"+t+"' from '"+E+"'");$.code="MODULE_NOT_FOUND",o($)}})}function x(I,j,M){var R=j,z=M;typeof R=="function"&&(z=R,R=void 0);var Y=[""].concat(h);$(Y,I,R);function $(G,U,B){if(G.length===0)return z(null,void 0,B);var N=U+G[0],X=B;X?H(null,X):C(bn.dirname(N),H);function H(W,V,Q){if(X=V,W)return z(W);if(Q&&X&&r.pathFilter){var ne=bn.relative(Q,N),ue=ne.slice(0,ne.length-G[0].length),de=r.pathFilter(X,U,ue);if(de)return $([""].concat(h.slice()),bn.resolve(Q,de),X)}a(N,F)}function F(W,V){if(W)return z(W);if(V)return z(null,N,X);$(G.slice(1),U,X)}}}function C(I,j){if(I===""||I==="/"||process.platform==="win32"&&/^\w:[/\\]*$/.test(I)||/[/\\]node_modules[/\\]*$/.test(I))return j(null);uu(s,I,r,function(M,R){if(M)return C(bn.dirname(I),j);var z=bn.join(R,"package.json");a(z,function(Y,$){if(!$)return C(bn.dirname(I),j);l(d,z,function(G,U){G&&j(G);var B=U;B&&r.packageFilter&&(B=r.packageFilter(B,z)),j(null,B,I)})})})}function P(I,j,M){var R=M,z=j;typeof z=="function"&&(R=z,z=r.package),uu(s,I,r,function(Y,$){if(Y)return R(Y);var G=bn.join($,"package.json");a(G,function(U,B){if(U)return R(U);if(!B)return x(bn.join(I,"index"),z,R);l(d,G,function(N,X){if(N)return R(N);var H=X;if(H&&r.packageFilter&&(H=r.packageFilter(H,G)),H&&H.main){if(typeof H.main!="string"){var F=new TypeError("package \u201C"+H.name+"\u201D `main` must be a string");return F.code="INVALID_PACKAGE_MAIN",R(F)}(H.main==="."||H.main==="./")&&(H.main="index"),x(bn.resolve(I,H.main),H,function(W,V,Q){if(W)return R(W);if(V)return R(null,V,Q);if(!Q)return x(bn.join(I,"index"),Q,R);var ne=bn.resolve(I,Q.main);P(ne,Q,function(ue,de,Ae){if(ue)return R(ue);if(de)return R(null,de,Ae);x(bn.join(I,"index"),Ae,R)})});return}x(bn.join(I,"/index"),H,R)})})})}function D(I,j){if(j.length===0)return I(null,void 0);var M=j[0];m(bn.dirname(M),R);function R($,G){if($)return I($);if(!G)return D(I,j.slice(1));x(M,r.package,z)}function z($,G,U){if($)return I($);if(G)return I(null,G,U);P(M,r.package,Y)}function Y($,G,U){if($)return I($);if(G)return I(null,G,U);D(I,j.slice(1))}}function L(I,j,M){var R=function(){return vB(I,j,r)};D(M,p?p(I,j,R,r):R())}}});var Fw=me((NZ,TB)=>{TB.exports={assert:!0,"node:assert":[">= 14.18 && < 15",">= 16"],"assert/strict":">= 15","node:assert/strict":">= 16",async_hooks:">= 8","node:async_hooks":[">= 14.18 && < 15",">= 16"],buffer_ieee754:">= 0.5 && < 0.9.7",buffer:!0,"node:buffer":[">= 14.18 && < 15",">= 16"],child_process:!0,"node:child_process":[">= 14.18 && < 15",">= 16"],cluster:">= 0.5","node:cluster":[">= 14.18 && < 15",">= 16"],console:!0,"node:console":[">= 14.18 && < 15",">= 16"],constants:!0,"node:constants":[">= 14.18 && < 15",">= 16"],crypto:!0,"node:crypto":[">= 14.18 && < 15",">= 16"],_debug_agent:">= 1 && < 8",_debugger:"< 8",dgram:!0,"node:dgram":[">= 14.18 && < 15",">= 16"],diagnostics_channel:[">= 14.17 && < 15",">= 15.1"],"node:diagnostics_channel":[">= 14.18 && < 15",">= 16"],dns:!0,"node:dns":[">= 14.18 && < 15",">= 16"],"dns/promises":">= 15","node:dns/promises":">= 16",domain:">= 0.7.12","node:domain":[">= 14.18 && < 15",">= 16"],events:!0,"node:events":[">= 14.18 && < 15",">= 16"],freelist:"< 6",fs:!0,"node:fs":[">= 14.18 && < 15",">= 16"],"fs/promises":[">= 10 && < 10.1",">= 14"],"node:fs/promises":[">= 14.18 && < 15",">= 16"],_http_agent:">= 0.11.1","node:_http_agent":[">= 14.18 && < 15",">= 16"],_http_client:">= 0.11.1","node:_http_client":[">= 14.18 && < 15",">= 16"],_http_common:">= 0.11.1","node:_http_common":[">= 14.18 && < 15",">= 16"],_http_incoming:">= 0.11.1","node:_http_incoming":[">= 14.18 && < 15",">= 16"],_http_outgoing:">= 0.11.1","node:_http_outgoing":[">= 14.18 && < 15",">= 16"],_http_server:">= 0.11.1","node:_http_server":[">= 14.18 && < 15",">= 16"],http:!0,"node:http":[">= 14.18 && < 15",">= 16"],http2:">= 8.8","node:http2":[">= 14.18 && < 15",">= 16"],https:!0,"node:https":[">= 14.18 && < 15",">= 16"],inspector:">= 8","node:inspector":[">= 14.18 && < 15",">= 16"],"inspector/promises":[">= 19"],"node:inspector/promises":[">= 19"],_linklist:"< 8",module:!0,"node:module":[">= 14.18 && < 15",">= 16"],net:!0,"node:net":[">= 14.18 && < 15",">= 16"],"node-inspect/lib/_inspect":">= 7.6 && < 12","node-inspect/lib/internal/inspect_client":">= 7.6 && < 12","node-inspect/lib/internal/inspect_repl":">= 7.6 && < 12",os:!0,"node:os":[">= 14.18 && < 15",">= 16"],path:!0,"node:path":[">= 14.18 && < 15",">= 16"],"path/posix":">= 15.3","node:path/posix":">= 16","path/win32":">= 15.3","node:path/win32":">= 16",perf_hooks:">= 8.5","node:perf_hooks":[">= 14.18 && < 15",">= 16"],process:">= 1","node:process":[">= 14.18 && < 15",">= 16"],punycode:">= 0.5","node:punycode":[">= 14.18 && < 15",">= 16"],querystring:!0,"node:querystring":[">= 14.18 && < 15",">= 16"],readline:!0,"node:readline":[">= 14.18 && < 15",">= 16"],"readline/promises":">= 17","node:readline/promises":">= 17",repl:!0,"node:repl":[">= 14.18 && < 15",">= 16"],smalloc:">= 0.11.5 && < 3",_stream_duplex:">= 0.9.4","node:_stream_duplex":[">= 14.18 && < 15",">= 16"],_stream_transform:">= 0.9.4","node:_stream_transform":[">= 14.18 && < 15",">= 16"],_stream_wrap:">= 1.4.1","node:_stream_wrap":[">= 14.18 && < 15",">= 16"],_stream_passthrough:">= 0.9.4","node:_stream_passthrough":[">= 14.18 && < 15",">= 16"],_stream_readable:">= 0.9.4","node:_stream_readable":[">= 14.18 && < 15",">= 16"],_stream_writable:">= 0.9.4","node:_stream_writable":[">= 14.18 && < 15",">= 16"],stream:!0,"node:stream":[">= 14.18 && < 15",">= 16"],"stream/consumers":">= 16.7","node:stream/consumers":">= 16.7","stream/promises":">= 15","node:stream/promises":">= 16","stream/web":">= 16.5","node:stream/web":">= 16.5",string_decoder:!0,"node:string_decoder":[">= 14.18 && < 15",">= 16"],sys:[">= 0.4 && < 0.7",">= 0.8"],"node:sys":[">= 14.18 && < 15",">= 16"],"test/reporters":">= 19.9 && < 20.2","node:test/reporters":[">= 18.17 && < 19",">= 19.9",">= 20"],"node:test":[">= 16.17 && < 17",">= 18"],timers:!0,"node:timers":[">= 14.18 && < 15",">= 16"],"timers/promises":">= 15","node:timers/promises":">= 16",_tls_common:">= 0.11.13","node:_tls_common":[">= 14.18 && < 15",">= 16"],_tls_legacy:">= 0.11.3 && < 10",_tls_wrap:">= 0.11.3","node:_tls_wrap":[">= 14.18 && < 15",">= 16"],tls:!0,"node:tls":[">= 14.18 && < 15",">= 16"],trace_events:">= 10","node:trace_events":[">= 14.18 && < 15",">= 16"],tty:!0,"node:tty":[">= 14.18 && < 15",">= 16"],url:!0,"node:url":[">= 14.18 && < 15",">= 16"],util:!0,"node:util":[">= 14.18 && < 15",">= 16"],"util/types":">= 15.3","node:util/types":">= 16","v8/tools/arguments":">= 10 && < 12","v8/tools/codemap":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/consarray":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/csvparser":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/logreader":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/profile_view":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/splaytree":[">= 4.4 && < 5",">= 5.2 && < 12"],v8:">= 1","node:v8":[">= 14.18 && < 15",">= 16"],vm:!0,"node:vm":[">= 14.18 && < 15",">= 16"],wasi:[">= 13.4 && < 13.5",">= 18.17 && < 19",">= 20"],"node:wasi":[">= 18.17 && < 19",">= 20"],worker_threads:">= 11.7","node:worker_threads":[">= 14.18 && < 15",">= 16"],zlib:">= 0.5","node:zlib":[">= 14.18 && < 15",">= 16"]}});var Rw=me((FZ,Mw)=>{"use strict";var EB=lu(),jw=Fw(),Lw={};for(ld in jw)Object.prototype.hasOwnProperty.call(jw,ld)&&(Lw[ld]=EB(ld));var ld;Mw.exports=Lw});var Uw=me((jZ,Bw)=>{var SB=lu();Bw.exports=function(t){return SB(t)}});var qw=me((LZ,Vw)=>{var xB=lu(),ja=yt("fs"),Un=yt("path"),_B=ly(),wB=uy(),CB=dy(),AB=fy(),PB=process.platform!=="win32"&&ja.realpathSync&&typeof ja.realpathSync.native=="function"?ja.realpathSync.native:ja.realpathSync,$w=_B(),kB=function(){return[Un.join($w,".node_modules"),Un.join($w,".node_libraries")]},DB=function(t){try{var n=ja.statSync(t,{throwIfNoEntry:!1})}catch(i){if(i&&(i.code==="ENOENT"||i.code==="ENOTDIR"))return!1;throw i}return!!n&&(n.isFile()||n.isFIFO())},IB=function(t){try{var n=ja.statSync(t,{throwIfNoEntry:!1})}catch(i){if(i&&(i.code==="ENOENT"||i.code==="ENOTDIR"))return!1;throw i}return!!n&&n.isDirectory()},OB=function(t){try{return PB(t)}catch(n){if(n.code!=="ENOENT")throw n}return t},cu=function(t,n,i){return i&&i.preserveSymlinks===!1?t(n):n},NB=function(t,n){var i=t(n);try{var o=JSON.parse(i);return o}catch{}},FB=function(t,n,i){for(var o=CB(n,i,t),r=0;r<o.length;r++)o[r]=Un.join(o[r],t);return o};Vw.exports=function(t,n){if(typeof t!="string")throw new TypeError("Path must be a string.");var i=AB(t,n),o=i.isFile||DB,r=i.readFileSync||ja.readFileSync,u=i.isDirectory||IB,a=i.realpathSync||OB,m=i.readPackageSync||NB;if(i.readFileSync&&i.readPackageSync)throw new TypeError("`readFileSync` and `readPackageSync` are mutually exclusive.");var d=i.packageIterator,s=i.extensions||[".js"],l=i.includeCoreModules!==!1,f=i.basedir||Un.dirname(wB()),p=i.filename||f;i.paths=i.paths||kB();var h=cu(a,Un.resolve(f),i);if(/^(?:\.\.?(?:\/|$)|\/|([A-Za-z]:)?[/\\])/.test(t)){var y=Un.resolve(h,t);(t==="."||t===".."||t.slice(-1)==="/")&&(y+="/");var b=S(y)||A(y);if(b)return cu(a,b,i)}else{if(l&&xB(t))return t;var E=x(t,h);if(E)return cu(a,E,i)}var v=new Error("Cannot find module '"+t+"' from '"+p+"'");throw v.code="MODULE_NOT_FOUND",v;function S(C){var P=w(Un.dirname(C));if(P&&P.dir&&P.pkg&&i.pathFilter){var D=Un.relative(P.dir,C),L=i.pathFilter(P.pkg,C,D);L&&(C=Un.resolve(P.dir,L))}if(o(C))return C;for(var I=0;I<s.length;I++){var j=C+s[I];if(o(j))return j}}function w(C){if(!(C===""||C==="/")&&!(process.platform==="win32"&&/^\w:[/\\]*$/.test(C))&&!/[/\\]node_modules[/\\]*$/.test(C)){var P=Un.join(cu(a,C,i),"package.json");if(!o(P))return w(Un.dirname(C));var D=m(r,P);return D&&i.packageFilter&&(D=i.packageFilter(D,C)),{pkg:D,dir:C}}}function A(C){var P=Un.join(cu(a,C,i),"/package.json");if(o(P)){try{var D=m(r,P)}catch{}if(D&&i.packageFilter&&(D=i.packageFilter(D,C)),D&&D.main){if(typeof D.main!="string"){var L=new TypeError("package \u201C"+D.name+"\u201D `main` must be a string");throw L.code="INVALID_PACKAGE_MAIN",L}(D.main==="."||D.main==="./")&&(D.main="index");try{var I=S(Un.resolve(C,D.main));if(I)return I;var j=A(Un.resolve(C,D.main));if(j)return j}catch{}}}return S(Un.join(C,"/index"))}function x(C,P){for(var D=function(){return FB(C,P,i)},L=d?d(C,P,D,i):D(),I=0;I<L.length;I++){var j=L[I];if(u(Un.dirname(j))){var M=S(j);if(M)return M;var R=A(j);if(R)return R}}}}});var Kw=me((MZ,Ww)=>{var ud=Nw();ud.core=Rw();ud.isCore=Uw();ud.sync=qw();Ww.exports=ud});var my=me((RZ,Gw)=>{"use strict";var jB=Kw(),LB=["web_modules","node_modules"];function zw(e,t){return new Promise((n,i)=>{jB(e,t,(o,r)=>o?i(o):n(r))})}Gw.exports=function(t,n,i,o){let r=i.path,u={basedir:n,moduleDirectory:LB.concat(i.addModulesDirectories),paths:r,extensions:[".css"],packageFilter:function(m){return m.style?m.main=m.style:(!m.main||!/\.css$/.test(m.main))&&(m.main="index.css"),m},preserveSymlinks:!1};return zw(`./${t}`,u).catch(()=>zw(t,u)).catch(()=>{throw r.indexOf(n)===-1&&r.unshift(n),o.error(`Failed to find '${t}'
|
|
in [
|
|
${r.join(`,
|
|
`)}
|
|
]`)})}});var Zw=me((BZ,Qw)=>{"use strict";var Hw=yt("path"),Xw=Zm(),MB=fw(),RB=mw(),BB=my(),UB=Ym();async function Yw(e,t,n,i,o,r,u){let a=MB(e,t,o,r);for(let f of a)f.type!=="import"||!VB(f.uri)||n.filter&&!n.filter(f.uri)||await $B(e,f,n,i,u);let m,d=[],s=[];function l(f){if(!m)m=f;else if(f.node.params.toLowerCase()!==m.node.params.toLowerCase())throw f.node.error(`Incompatible @charset statements:
|
|
${f.node.params} specified in ${f.node.source.input.file}
|
|
${m.node.params} specified in ${m.node.source.input.file}`)}return a.forEach(f=>{f.type==="charset"?l(f):f.type==="import"?f.children?f.children.forEach((p,h)=>{p.type==="import"?d.push(p):p.type==="charset"?l(p):s.push(p),h===0&&(p.parent=f)}):d.push(f):f.type==="nodes"&&s.push(f)}),m?[m,...d.concat(s)]:d.concat(s)}async function $B(e,t,n,i,o){var l,f;if(Xw.isValid(t.uri)){t.children=await Jw(e,t,t.uri,n,i,o);return}else if(Xw.isValid(t.from.slice(-1)))throw t.node.error(`Unable to import '${t.uri}' from a stylesheet that is embedded in a data url`);let r=t.node,u;(f=(l=r.source)==null?void 0:l.input)!=null&&f.file&&(u=r.source.input.file);let a=u?Hw.dirname(r.source.input.file):n.root,m=[await n.resolve(t.uri,a,n,r)].flat(),d=await Promise.all(m.map(p=>Hw.isAbsolute(p)?p:BB(p,a,n,r)));d.forEach(p=>{e.messages.push({type:"dependency",plugin:"postcss-import",file:p,parent:u})});let s=await Promise.all(d.map(p=>Jw(e,t,p,n,i,o)));t.children=s.flat().filter(p=>!!p)}async function Jw(e,t,n,i,o,r){var p,h;let u=t.node,{conditions:a,from:m}=t,d=a.map(y=>UB(y.layer,y.media,y.supports)).join(":");if(i.skipDuplicates){if((p=o.importedFiles[n])!=null&&p[d])return;o.importedFiles[n]||(o.importedFiles[n]={}),o.importedFiles[n][d]=!0}if(m.includes(n))return;let s=await i.load(n,i);if(s.trim()===""&&i.warnOnEmpty){e.warn(`${n} is empty`,{node:u});return}if(i.skipDuplicates&&((h=o.hashFiles[s])!=null&&h[d]))return;let l=await RB(e,s,n,i,r),f=l.root;return e.messages=e.messages.concat(l.messages),i.skipDuplicates&&(f.some(b=>b.type==="atrule"&&b.name==="import")||(o.hashFiles[s]||(o.hashFiles[s]={}),o.hashFiles[s][d]=!0)),Yw(e,f,i,o,a,[...m,n],r)}function VB(e){if(/^(?:[a-z]+:)?\/\//i.test(e))return!1;try{let t=new URL(e,"https://example.com");if(t.hash||t.search)return!1}catch{}return!0}Qw.exports=Yw});var nC=me((UZ,rC)=>{"use strict";var eC=yt("path"),qB=L_(),WB=R_(),KB=U_(),zB=J_(),GB=Zw(),HB=my();function tC(e){return e={root:process.cwd(),path:[],skipDuplicates:!0,resolve:HB,load:zB,plugins:[],addModulesDirectories:[],warnOnEmpty:!0,...e},e.root=eC.resolve(e.root),typeof e.path=="string"&&(e.path=[e.path]),Array.isArray(e.path)||(e.path=[]),e.path=e.path.map(t=>eC.resolve(e.root,t)),{postcssPlugin:"postcss-import",async Once(t,{result:n,atRule:i,postcss:o}){var a,m;let r={importedFiles:{},hashFiles:{}};if((m=(a=t.source)==null?void 0:a.input)!=null&&m.file&&(r.importedFiles[t.source.input.file]={}),e.plugins&&!Array.isArray(e.plugins))throw new Error("plugins option must be an array");let u=await GB(n,t,e,r,[],[],o);WB(u),qB(u,i),KB(u,t)}}}tC.postcss=!0;rC.exports=tC});var pd=me((cd,iC)=>{"use strict";cd.__esModule=!0;cd.default=YB;function XB(e){for(var t=e.toLowerCase(),n="",i=!1,o=0;o<6&&t[o]!==void 0;o++){var r=t.charCodeAt(o),u=r>=97&&r<=102||r>=48&&r<=57;if(i=r===32,!u)break;n+=t[o]}if(n.length!==0){var a=parseInt(n,16),m=a>=55296&&a<=57343;return m||a===0||a>1114111?["\uFFFD",n.length+(i?1:0)]:[String.fromCodePoint(a),n.length+(i?1:0)]}}var JB=/\\/;function YB(e){var t=JB.test(e);if(!t)return e;for(var n="",i=0;i<e.length;i++){if(e[i]==="\\"){var o=XB(e.slice(i+1,i+7));if(o!==void 0){n+=o[0],i+=o[1];continue}if(e[i+1]==="\\"){n+="\\",i++;continue}e.length===i+1&&(n+=e[i]);continue}n+=e[i]}return n}iC.exports=cd.default});var aC=me((dd,sC)=>{"use strict";dd.__esModule=!0;dd.default=QB;function QB(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];for(;n.length>0;){var o=n.shift();if(!e[o])return;e=e[o]}return e}sC.exports=dd.default});var lC=me((fd,oC)=>{"use strict";fd.__esModule=!0;fd.default=ZB;function ZB(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];for(;n.length>0;){var o=n.shift();e[o]||(e[o]={}),e=e[o]}}oC.exports=fd.default});var cC=me((hd,uC)=>{"use strict";hd.__esModule=!0;hd.default=e3;function e3(e){for(var t="",n=e.indexOf("/*"),i=0;n>=0;){t=t+e.slice(i,n);var o=e.indexOf("*/",n+2);if(o<0)return t;i=o+2,n=e.indexOf("/*",i)}return t=t+e.slice(i),t}uC.exports=hd.default});var pu=me(is=>{"use strict";is.__esModule=!0;is.unesc=is.stripComments=is.getProp=is.ensureObject=void 0;var t3=md(pd());is.unesc=t3.default;var r3=md(aC());is.getProp=r3.default;var n3=md(lC());is.ensureObject=n3.default;var i3=md(cC());is.stripComments=i3.default;function md(e){return e&&e.__esModule?e:{default:e}}});var ws=me((du,fC)=>{"use strict";du.__esModule=!0;du.default=void 0;var pC=pu();function dC(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function s3(e,t,n){return t&&dC(e.prototype,t),n&&dC(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}var a3=function e(t,n){if(typeof t!="object"||t===null)return t;var i=new t.constructor;for(var o in t)if(t.hasOwnProperty(o)){var r=t[o],u=typeof r;o==="parent"&&u==="object"?n&&(i[o]=n):r instanceof Array?i[o]=r.map(function(a){return e(a,i)}):i[o]=e(r,i)}return i},o3=function(){function e(n){n===void 0&&(n={}),Object.assign(this,n),this.spaces=this.spaces||{},this.spaces.before=this.spaces.before||"",this.spaces.after=this.spaces.after||""}var t=e.prototype;return t.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},t.replaceWith=function(){if(this.parent){for(var i in arguments)this.parent.insertBefore(this,arguments[i]);this.remove()}return this},t.next=function(){return this.parent.at(this.parent.index(this)+1)},t.prev=function(){return this.parent.at(this.parent.index(this)-1)},t.clone=function(i){i===void 0&&(i={});var o=a3(this);for(var r in i)o[r]=i[r];return o},t.appendToPropertyAndEscape=function(i,o,r){this.raws||(this.raws={});var u=this[i],a=this.raws[i];this[i]=u+o,a||r!==o?this.raws[i]=(a||u)+r:delete this.raws[i]},t.setPropertyAndEscape=function(i,o,r){this.raws||(this.raws={}),this[i]=o,this.raws[i]=r},t.setPropertyWithoutEscape=function(i,o){this[i]=o,this.raws&&delete this.raws[i]},t.isAtPosition=function(i,o){if(this.source&&this.source.start&&this.source.end)return!(this.source.start.line>i||this.source.end.line<i||this.source.start.line===i&&this.source.start.column>o||this.source.end.line===i&&this.source.end.column<o)},t.stringifyProperty=function(i){return this.raws&&this.raws[i]||this[i]},t.valueToString=function(){return String(this.stringifyProperty("value"))},t.toString=function(){return[this.rawSpaceBefore,this.valueToString(),this.rawSpaceAfter].join("")},s3(e,[{key:"rawSpaceBefore",get:function(){var i=this.raws&&this.raws.spaces&&this.raws.spaces.before;return i===void 0&&(i=this.spaces&&this.spaces.before),i||""},set:function(i){(0,pC.ensureObject)(this,"raws","spaces"),this.raws.spaces.before=i}},{key:"rawSpaceAfter",get:function(){var i=this.raws&&this.raws.spaces&&this.raws.spaces.after;return i===void 0&&(i=this.spaces.after),i||""},set:function(i){(0,pC.ensureObject)(this,"raws","spaces"),this.raws.spaces.after=i}}]),e}();du.default=o3;fC.exports=du.default});var Fn=me(Ur=>{"use strict";Ur.__esModule=!0;Ur.UNIVERSAL=Ur.TAG=Ur.STRING=Ur.SELECTOR=Ur.ROOT=Ur.PSEUDO=Ur.NESTING=Ur.ID=Ur.COMMENT=Ur.COMBINATOR=Ur.CLASS=Ur.ATTRIBUTE=void 0;var l3="tag";Ur.TAG=l3;var u3="string";Ur.STRING=u3;var c3="selector";Ur.SELECTOR=c3;var p3="root";Ur.ROOT=p3;var d3="pseudo";Ur.PSEUDO=d3;var f3="nesting";Ur.NESTING=f3;var h3="id";Ur.ID=h3;var m3="comment";Ur.COMMENT=m3;var y3="combinator";Ur.COMBINATOR=y3;var b3="class";Ur.CLASS=b3;var g3="attribute";Ur.ATTRIBUTE=g3;var v3="universal";Ur.UNIVERSAL=v3});var yd=me((fu,bC)=>{"use strict";fu.__esModule=!0;fu.default=void 0;var T3=S3(ws()),Cs=E3(Fn());function yC(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,n=new WeakMap;return(yC=function(o){return o?n:t})(e)}function E3(e,t){if(!t&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var n=yC(t);if(n&&n.has(e))return n.get(e);var i={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if(r!=="default"&&Object.prototype.hasOwnProperty.call(e,r)){var u=o?Object.getOwnPropertyDescriptor(e,r):null;u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=e[r]}return i.default=e,n&&n.set(e,i),i}function S3(e){return e&&e.__esModule?e:{default:e}}function x3(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=_3(e))||t&&e&&typeof e.length=="number"){n&&(e=n);var i=0;return function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _3(e,t){if(e){if(typeof e=="string")return hC(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return hC(e,t)}}function hC(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function mC(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function w3(e,t,n){return t&&mC(e.prototype,t),n&&mC(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function C3(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,yy(e,t)}function yy(e,t){return yy=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,o){return i.__proto__=o,i},yy(e,t)}var A3=function(e){C3(t,e);function t(i){var o;return o=e.call(this,i)||this,o.nodes||(o.nodes=[]),o}var n=t.prototype;return n.append=function(o){return o.parent=this,this.nodes.push(o),this},n.prepend=function(o){return o.parent=this,this.nodes.unshift(o),this},n.at=function(o){return this.nodes[o]},n.index=function(o){return typeof o=="number"?o:this.nodes.indexOf(o)},n.removeChild=function(o){o=this.index(o),this.at(o).parent=void 0,this.nodes.splice(o,1);var r;for(var u in this.indexes)r=this.indexes[u],r>=o&&(this.indexes[u]=r-1);return this},n.removeAll=function(){for(var o=x3(this.nodes),r;!(r=o()).done;){var u=r.value;u.parent=void 0}return this.nodes=[],this},n.empty=function(){return this.removeAll()},n.insertAfter=function(o,r){r.parent=this;var u=this.index(o);this.nodes.splice(u+1,0,r),r.parent=this;var a;for(var m in this.indexes)a=this.indexes[m],u<=a&&(this.indexes[m]=a+1);return this},n.insertBefore=function(o,r){r.parent=this;var u=this.index(o);this.nodes.splice(u,0,r),r.parent=this;var a;for(var m in this.indexes)a=this.indexes[m],a<=u&&(this.indexes[m]=a+1);return this},n._findChildAtPosition=function(o,r){var u=void 0;return this.each(function(a){if(a.atPosition){var m=a.atPosition(o,r);if(m)return u=m,!1}else if(a.isAtPosition(o,r))return u=a,!1}),u},n.atPosition=function(o,r){if(this.isAtPosition(o,r))return this._findChildAtPosition(o,r)||this},n._inferEndPosition=function(){this.last&&this.last.source&&this.last.source.end&&(this.source=this.source||{},this.source.end=this.source.end||{},Object.assign(this.source.end,this.last.source.end))},n.each=function(o){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach++;var r=this.lastEach;if(this.indexes[r]=0,!!this.length){for(var u,a;this.indexes[r]<this.length&&(u=this.indexes[r],a=o(this.at(u),u),a!==!1);)this.indexes[r]+=1;if(delete this.indexes[r],a===!1)return!1}},n.walk=function(o){return this.each(function(r,u){var a=o(r,u);if(a!==!1&&r.length&&(a=r.walk(o)),a===!1)return!1})},n.walkAttributes=function(o){var r=this;return this.walk(function(u){if(u.type===Cs.ATTRIBUTE)return o.call(r,u)})},n.walkClasses=function(o){var r=this;return this.walk(function(u){if(u.type===Cs.CLASS)return o.call(r,u)})},n.walkCombinators=function(o){var r=this;return this.walk(function(u){if(u.type===Cs.COMBINATOR)return o.call(r,u)})},n.walkComments=function(o){var r=this;return this.walk(function(u){if(u.type===Cs.COMMENT)return o.call(r,u)})},n.walkIds=function(o){var r=this;return this.walk(function(u){if(u.type===Cs.ID)return o.call(r,u)})},n.walkNesting=function(o){var r=this;return this.walk(function(u){if(u.type===Cs.NESTING)return o.call(r,u)})},n.walkPseudos=function(o){var r=this;return this.walk(function(u){if(u.type===Cs.PSEUDO)return o.call(r,u)})},n.walkTags=function(o){var r=this;return this.walk(function(u){if(u.type===Cs.TAG)return o.call(r,u)})},n.walkUniversals=function(o){var r=this;return this.walk(function(u){if(u.type===Cs.UNIVERSAL)return o.call(r,u)})},n.split=function(o){var r=this,u=[];return this.reduce(function(a,m,d){var s=o.call(r,m);return u.push(m),s?(a.push(u),u=[]):d===r.length-1&&a.push(u),a},[])},n.map=function(o){return this.nodes.map(o)},n.reduce=function(o,r){return this.nodes.reduce(o,r)},n.every=function(o){return this.nodes.every(o)},n.some=function(o){return this.nodes.some(o)},n.filter=function(o){return this.nodes.filter(o)},n.sort=function(o){return this.nodes.sort(o)},n.toString=function(){return this.map(String).join("")},w3(t,[{key:"first",get:function(){return this.at(0)}},{key:"last",get:function(){return this.at(this.length-1)}},{key:"length",get:function(){return this.nodes.length}}]),t}(T3.default);fu.default=A3;bC.exports=fu.default});var gy=me((hu,vC)=>{"use strict";hu.__esModule=!0;hu.default=void 0;var P3=D3(yd()),k3=Fn();function D3(e){return e&&e.__esModule?e:{default:e}}function gC(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function I3(e,t,n){return t&&gC(e.prototype,t),n&&gC(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function O3(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,by(e,t)}function by(e,t){return by=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,o){return i.__proto__=o,i},by(e,t)}var N3=function(e){O3(t,e);function t(i){var o;return o=e.call(this,i)||this,o.type=k3.ROOT,o}var n=t.prototype;return n.toString=function(){var o=this.reduce(function(r,u){return r.push(String(u)),r},[]).join(",");return this.trailingComma?o+",":o},n.error=function(o,r){return this._error?this._error(o,r):new Error(o)},I3(t,[{key:"errorGenerator",set:function(o){this._error=o}}]),t}(P3.default);hu.default=N3;vC.exports=hu.default});var Ty=me((mu,TC)=>{"use strict";mu.__esModule=!0;mu.default=void 0;var F3=L3(yd()),j3=Fn();function L3(e){return e&&e.__esModule?e:{default:e}}function M3(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,vy(e,t)}function vy(e,t){return vy=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,o){return i.__proto__=o,i},vy(e,t)}var R3=function(e){M3(t,e);function t(n){var i;return i=e.call(this,n)||this,i.type=j3.SELECTOR,i}return t}(F3.default);mu.default=R3;TC.exports=mu.default});var bd=me((qZ,EC)=>{"use strict";var B3={},U3=B3.hasOwnProperty,$3=function(t,n){if(!t)return n;var i={};for(var o in n)i[o]=U3.call(t,o)?t[o]:n[o];return i},V3=/[ -,\.\/:-@\[-\^`\{-~]/,q3=/[ -,\.\/:-@\[\]\^`\{-~]/,W3=/(^|\\+)?(\\[A-F0-9]{1,6})\x20(?![a-fA-F0-9\x20])/g,Ey=function e(t,n){n=$3(n,e.options),n.quotes!="single"&&n.quotes!="double"&&(n.quotes="single");for(var i=n.quotes=="double"?'"':"'",o=n.isIdentifier,r=t.charAt(0),u="",a=0,m=t.length;a<m;){var d=t.charAt(a++),s=d.charCodeAt(),l=void 0;if(s<32||s>126){if(s>=55296&&s<=56319&&a<m){var f=t.charCodeAt(a++);(f&64512)==56320?s=((s&1023)<<10)+(f&1023)+65536:a--}l="\\"+s.toString(16).toUpperCase()+" "}else n.escapeEverything?V3.test(d)?l="\\"+d:l="\\"+s.toString(16).toUpperCase()+" ":/[\t\n\f\r\x0B]/.test(d)?l="\\"+s.toString(16).toUpperCase()+" ":d=="\\"||!o&&(d=='"'&&i==d||d=="'"&&i==d)||o&&q3.test(d)?l="\\"+d:l=d;u+=l}return o&&(/^-[-\d]/.test(u)?u="\\-"+u.slice(1):/\d/.test(r)&&(u="\\3"+r+" "+u.slice(1))),u=u.replace(W3,function(p,h,y){return h&&h.length%2?p:(h||"")+y}),!o&&n.wrap?i+u+i:u};Ey.options={escapeEverything:!1,isIdentifier:!1,quotes:"single",wrap:!1};Ey.version="3.0.0";EC.exports=Ey});var xy=me((yu,_C)=>{"use strict";yu.__esModule=!0;yu.default=void 0;var K3=xC(bd()),z3=pu(),G3=xC(ws()),H3=Fn();function xC(e){return e&&e.__esModule?e:{default:e}}function SC(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function X3(e,t,n){return t&&SC(e.prototype,t),n&&SC(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function J3(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Sy(e,t)}function Sy(e,t){return Sy=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,o){return i.__proto__=o,i},Sy(e,t)}var Y3=function(e){J3(t,e);function t(i){var o;return o=e.call(this,i)||this,o.type=H3.CLASS,o._constructed=!0,o}var n=t.prototype;return n.valueToString=function(){return"."+e.prototype.valueToString.call(this)},X3(t,[{key:"value",get:function(){return this._value},set:function(o){if(this._constructed){var r=(0,K3.default)(o,{isIdentifier:!0});r!==o?((0,z3.ensureObject)(this,"raws"),this.raws.value=r):this.raws&&delete this.raws.value}this._value=o}}]),t}(G3.default);yu.default=Y3;_C.exports=yu.default});var wy=me((bu,wC)=>{"use strict";bu.__esModule=!0;bu.default=void 0;var Q3=e7(ws()),Z3=Fn();function e7(e){return e&&e.__esModule?e:{default:e}}function t7(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,_y(e,t)}function _y(e,t){return _y=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,o){return i.__proto__=o,i},_y(e,t)}var r7=function(e){t7(t,e);function t(n){var i;return i=e.call(this,n)||this,i.type=Z3.COMMENT,i}return t}(Q3.default);bu.default=r7;wC.exports=bu.default});var Ay=me((gu,CC)=>{"use strict";gu.__esModule=!0;gu.default=void 0;var n7=s7(ws()),i7=Fn();function s7(e){return e&&e.__esModule?e:{default:e}}function a7(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Cy(e,t)}function Cy(e,t){return Cy=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,o){return i.__proto__=o,i},Cy(e,t)}var o7=function(e){a7(t,e);function t(i){var o;return o=e.call(this,i)||this,o.type=i7.ID,o}var n=t.prototype;return n.valueToString=function(){return"#"+e.prototype.valueToString.call(this)},t}(n7.default);gu.default=o7;CC.exports=gu.default});var gd=me((vu,kC)=>{"use strict";vu.__esModule=!0;vu.default=void 0;var l7=PC(bd()),u7=pu(),c7=PC(ws());function PC(e){return e&&e.__esModule?e:{default:e}}function AC(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function p7(e,t,n){return t&&AC(e.prototype,t),n&&AC(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function d7(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Py(e,t)}function Py(e,t){return Py=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,o){return i.__proto__=o,i},Py(e,t)}var f7=function(e){d7(t,e);function t(){return e.apply(this,arguments)||this}var n=t.prototype;return n.qualifiedName=function(o){return this.namespace?this.namespaceString+"|"+o:o},n.valueToString=function(){return this.qualifiedName(e.prototype.valueToString.call(this))},p7(t,[{key:"namespace",get:function(){return this._namespace},set:function(o){if(o===!0||o==="*"||o==="&"){this._namespace=o,this.raws&&delete this.raws.namespace;return}var r=(0,l7.default)(o,{isIdentifier:!0});this._namespace=o,r!==o?((0,u7.ensureObject)(this,"raws"),this.raws.namespace=r):this.raws&&delete this.raws.namespace}},{key:"ns",get:function(){return this._namespace},set:function(o){this.namespace=o}},{key:"namespaceString",get:function(){if(this.namespace){var o=this.stringifyProperty("namespace");return o===!0?"":o}else return""}}]),t}(c7.default);vu.default=f7;kC.exports=vu.default});var Dy=me((Tu,DC)=>{"use strict";Tu.__esModule=!0;Tu.default=void 0;var h7=y7(gd()),m7=Fn();function y7(e){return e&&e.__esModule?e:{default:e}}function b7(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,ky(e,t)}function ky(e,t){return ky=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,o){return i.__proto__=o,i},ky(e,t)}var g7=function(e){b7(t,e);function t(n){var i;return i=e.call(this,n)||this,i.type=m7.TAG,i}return t}(h7.default);Tu.default=g7;DC.exports=Tu.default});var Oy=me((Eu,IC)=>{"use strict";Eu.__esModule=!0;Eu.default=void 0;var v7=E7(ws()),T7=Fn();function E7(e){return e&&e.__esModule?e:{default:e}}function S7(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Iy(e,t)}function Iy(e,t){return Iy=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,o){return i.__proto__=o,i},Iy(e,t)}var x7=function(e){S7(t,e);function t(n){var i;return i=e.call(this,n)||this,i.type=T7.STRING,i}return t}(v7.default);Eu.default=x7;IC.exports=Eu.default});var Fy=me((Su,OC)=>{"use strict";Su.__esModule=!0;Su.default=void 0;var _7=C7(yd()),w7=Fn();function C7(e){return e&&e.__esModule?e:{default:e}}function A7(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Ny(e,t)}function Ny(e,t){return Ny=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,o){return i.__proto__=o,i},Ny(e,t)}var P7=function(e){A7(t,e);function t(i){var o;return o=e.call(this,i)||this,o.type=w7.PSEUDO,o}var n=t.prototype;return n.toString=function(){var o=this.length?"("+this.map(String).join(",")+")":"";return[this.rawSpaceBefore,this.stringifyProperty("value"),o,this.rawSpaceAfter].join("")},t}(_7.default);Su.default=P7;OC.exports=Su.default});var FC=me((WZ,NC)=>{NC.exports=yt("util").deprecate});var Uy=me(wu=>{"use strict";wu.__esModule=!0;wu.default=void 0;wu.unescapeValue=By;var xu=Ry(bd()),k7=Ry(pd()),D7=Ry(gd()),I7=Fn(),jy;function Ry(e){return e&&e.__esModule?e:{default:e}}function jC(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function O7(e,t,n){return t&&jC(e.prototype,t),n&&jC(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function N7(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,My(e,t)}function My(e,t){return My=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,o){return i.__proto__=o,i},My(e,t)}var _u=FC(),F7=/^('|")([^]*)\1$/,j7=_u(function(){},"Assigning an attribute a value containing characters that might need to be escaped is deprecated. Call attribute.setValue() instead."),L7=_u(function(){},"Assigning attr.quoted is deprecated and has no effect. Assign to attr.quoteMark instead."),M7=_u(function(){},"Constructing an Attribute selector with a value without specifying quoteMark is deprecated. Note: The value should be unescaped now.");function By(e){var t=!1,n=null,i=e,o=i.match(F7);return o&&(n=o[1],i=o[2]),i=(0,k7.default)(i),i!==e&&(t=!0),{deprecatedUsage:t,unescaped:i,quoteMark:n}}function R7(e){if(e.quoteMark!==void 0||e.value===void 0)return e;M7();var t=By(e.value),n=t.quoteMark,i=t.unescaped;return e.raws||(e.raws={}),e.raws.value===void 0&&(e.raws.value=e.value),e.value=i,e.quoteMark=n,e}var vd=function(e){N7(t,e);function t(i){var o;return i===void 0&&(i={}),o=e.call(this,R7(i))||this,o.type=I7.ATTRIBUTE,o.raws=o.raws||{},Object.defineProperty(o.raws,"unquoted",{get:_u(function(){return o.value},"attr.raws.unquoted is deprecated. Call attr.value instead."),set:_u(function(){return o.value},"Setting attr.raws.unquoted is deprecated and has no effect. attr.value is unescaped by default now.")}),o._constructed=!0,o}var n=t.prototype;return n.getQuotedValue=function(o){o===void 0&&(o={});var r=this._determineQuoteMark(o),u=Ly[r],a=(0,xu.default)(this._value,u);return a},n._determineQuoteMark=function(o){return o.smart?this.smartQuoteMark(o):this.preferredQuoteMark(o)},n.setValue=function(o,r){r===void 0&&(r={}),this._value=o,this._quoteMark=this._determineQuoteMark(r),this._syncRawValue()},n.smartQuoteMark=function(o){var r=this.value,u=r.replace(/[^']/g,"").length,a=r.replace(/[^"]/g,"").length;if(u+a===0){var m=(0,xu.default)(r,{isIdentifier:!0});if(m===r)return t.NO_QUOTE;var d=this.preferredQuoteMark(o);if(d===t.NO_QUOTE){var s=this.quoteMark||o.quoteMark||t.DOUBLE_QUOTE,l=Ly[s],f=(0,xu.default)(r,l);if(f.length<m.length)return s}return d}else return a===u?this.preferredQuoteMark(o):a<u?t.DOUBLE_QUOTE:t.SINGLE_QUOTE},n.preferredQuoteMark=function(o){var r=o.preferCurrentQuoteMark?this.quoteMark:o.quoteMark;return r===void 0&&(r=o.preferCurrentQuoteMark?o.quoteMark:this.quoteMark),r===void 0&&(r=t.DOUBLE_QUOTE),r},n._syncRawValue=function(){var o=(0,xu.default)(this._value,Ly[this.quoteMark]);o===this._value?this.raws&&delete this.raws.value:this.raws.value=o},n._handleEscapes=function(o,r){if(this._constructed){var u=(0,xu.default)(r,{isIdentifier:!0});u!==r?this.raws[o]=u:delete this.raws[o]}},n._spacesFor=function(o){var r={before:"",after:""},u=this.spaces[o]||{},a=this.raws.spaces&&this.raws.spaces[o]||{};return Object.assign(r,u,a)},n._stringFor=function(o,r,u){r===void 0&&(r=o),u===void 0&&(u=LC);var a=this._spacesFor(r);return u(this.stringifyProperty(o),a)},n.offsetOf=function(o){var r=1,u=this._spacesFor("attribute");if(r+=u.before.length,o==="namespace"||o==="ns")return this.namespace?r:-1;if(o==="attributeNS"||(r+=this.namespaceString.length,this.namespace&&(r+=1),o==="attribute"))return r;r+=this.stringifyProperty("attribute").length,r+=u.after.length;var a=this._spacesFor("operator");r+=a.before.length;var m=this.stringifyProperty("operator");if(o==="operator")return m?r:-1;r+=m.length,r+=a.after.length;var d=this._spacesFor("value");r+=d.before.length;var s=this.stringifyProperty("value");if(o==="value")return s?r:-1;r+=s.length,r+=d.after.length;var l=this._spacesFor("insensitive");return r+=l.before.length,o==="insensitive"&&this.insensitive?r:-1},n.toString=function(){var o=this,r=[this.rawSpaceBefore,"["];return r.push(this._stringFor("qualifiedAttribute","attribute")),this.operator&&(this.value||this.value==="")&&(r.push(this._stringFor("operator")),r.push(this._stringFor("value")),r.push(this._stringFor("insensitiveFlag","insensitive",function(u,a){return u.length>0&&!o.quoted&&a.before.length===0&&!(o.spaces.value&&o.spaces.value.after)&&(a.before=" "),LC(u,a)}))),r.push("]"),r.push(this.rawSpaceAfter),r.join("")},O7(t,[{key:"quoted",get:function(){var o=this.quoteMark;return o==="'"||o==='"'},set:function(o){L7()}},{key:"quoteMark",get:function(){return this._quoteMark},set:function(o){if(!this._constructed){this._quoteMark=o;return}this._quoteMark!==o&&(this._quoteMark=o,this._syncRawValue())}},{key:"qualifiedAttribute",get:function(){return this.qualifiedName(this.raws.attribute||this.attribute)}},{key:"insensitiveFlag",get:function(){return this.insensitive?"i":""}},{key:"value",get:function(){return this._value},set:function(o){if(this._constructed){var r=By(o),u=r.deprecatedUsage,a=r.unescaped,m=r.quoteMark;if(u&&j7(),a===this._value&&m===this._quoteMark)return;this._value=a,this._quoteMark=m,this._syncRawValue()}else this._value=o}},{key:"insensitive",get:function(){return this._insensitive},set:function(o){o||(this._insensitive=!1,this.raws&&(this.raws.insensitiveFlag==="I"||this.raws.insensitiveFlag==="i")&&(this.raws.insensitiveFlag=void 0)),this._insensitive=o}},{key:"attribute",get:function(){return this._attribute},set:function(o){this._handleEscapes("attribute",o),this._attribute=o}}]),t}(D7.default);wu.default=vd;vd.NO_QUOTE=null;vd.SINGLE_QUOTE="'";vd.DOUBLE_QUOTE='"';var Ly=(jy={"'":{quotes:"single",wrap:!0},'"':{quotes:"double",wrap:!0}},jy[null]={isIdentifier:!0},jy);function LC(e,t){return""+t.before+e+t.after}});var Vy=me((Cu,MC)=>{"use strict";Cu.__esModule=!0;Cu.default=void 0;var B7=$7(gd()),U7=Fn();function $7(e){return e&&e.__esModule?e:{default:e}}function V7(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,$y(e,t)}function $y(e,t){return $y=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,o){return i.__proto__=o,i},$y(e,t)}var q7=function(e){V7(t,e);function t(n){var i;return i=e.call(this,n)||this,i.type=U7.UNIVERSAL,i.value="*",i}return t}(B7.default);Cu.default=q7;MC.exports=Cu.default});var Wy=me((Au,RC)=>{"use strict";Au.__esModule=!0;Au.default=void 0;var W7=z7(ws()),K7=Fn();function z7(e){return e&&e.__esModule?e:{default:e}}function G7(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,qy(e,t)}function qy(e,t){return qy=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,o){return i.__proto__=o,i},qy(e,t)}var H7=function(e){G7(t,e);function t(n){var i;return i=e.call(this,n)||this,i.type=K7.COMBINATOR,i}return t}(W7.default);Au.default=H7;RC.exports=Au.default});var zy=me((Pu,BC)=>{"use strict";Pu.__esModule=!0;Pu.default=void 0;var X7=Y7(ws()),J7=Fn();function Y7(e){return e&&e.__esModule?e:{default:e}}function Q7(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Ky(e,t)}function Ky(e,t){return Ky=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,o){return i.__proto__=o,i},Ky(e,t)}var Z7=function(e){Q7(t,e);function t(n){var i;return i=e.call(this,n)||this,i.type=J7.NESTING,i.value="&",i}return t}(X7.default);Pu.default=Z7;BC.exports=Pu.default});var $C=me((Td,UC)=>{"use strict";Td.__esModule=!0;Td.default=e4;function e4(e){return e.sort(function(t,n){return t-n})}UC.exports=Td.default});var Gy=me(It=>{"use strict";It.__esModule=!0;It.word=It.tilde=It.tab=It.str=It.space=It.slash=It.singleQuote=It.semicolon=It.plus=It.pipe=It.openSquare=It.openParenthesis=It.newline=It.greaterThan=It.feed=It.equals=It.doubleQuote=It.dollar=It.cr=It.comment=It.comma=It.combinator=It.colon=It.closeSquare=It.closeParenthesis=It.caret=It.bang=It.backslash=It.at=It.asterisk=It.ampersand=void 0;var t4=38;It.ampersand=t4;var r4=42;It.asterisk=r4;var n4=64;It.at=n4;var i4=44;It.comma=i4;var s4=58;It.colon=s4;var a4=59;It.semicolon=a4;var o4=40;It.openParenthesis=o4;var l4=41;It.closeParenthesis=l4;var u4=91;It.openSquare=u4;var c4=93;It.closeSquare=c4;var p4=36;It.dollar=p4;var d4=126;It.tilde=d4;var f4=94;It.caret=f4;var h4=43;It.plus=h4;var m4=61;It.equals=m4;var y4=124;It.pipe=y4;var b4=62;It.greaterThan=b4;var g4=32;It.space=g4;var VC=39;It.singleQuote=VC;var v4=34;It.doubleQuote=v4;var T4=47;It.slash=T4;var E4=33;It.bang=E4;var S4=92;It.backslash=S4;var x4=13;It.cr=x4;var _4=12;It.feed=_4;var w4=10;It.newline=w4;var C4=9;It.tab=C4;var A4=VC;It.str=A4;var P4=-1;It.comment=P4;var k4=-2;It.word=k4;var D4=-3;It.combinator=D4});var KC=me(ku=>{"use strict";ku.__esModule=!0;ku.FIELDS=void 0;ku.default=M4;var vt=I4(Gy()),Po,jr;function WC(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,n=new WeakMap;return(WC=function(o){return o?n:t})(e)}function I4(e,t){if(!t&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var n=WC(t);if(n&&n.has(e))return n.get(e);var i={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if(r!=="default"&&Object.prototype.hasOwnProperty.call(e,r)){var u=o?Object.getOwnPropertyDescriptor(e,r):null;u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=e[r]}return i.default=e,n&&n.set(e,i),i}var O4=(Po={},Po[vt.tab]=!0,Po[vt.newline]=!0,Po[vt.cr]=!0,Po[vt.feed]=!0,Po),N4=(jr={},jr[vt.space]=!0,jr[vt.tab]=!0,jr[vt.newline]=!0,jr[vt.cr]=!0,jr[vt.feed]=!0,jr[vt.ampersand]=!0,jr[vt.asterisk]=!0,jr[vt.bang]=!0,jr[vt.comma]=!0,jr[vt.colon]=!0,jr[vt.semicolon]=!0,jr[vt.openParenthesis]=!0,jr[vt.closeParenthesis]=!0,jr[vt.openSquare]=!0,jr[vt.closeSquare]=!0,jr[vt.singleQuote]=!0,jr[vt.doubleQuote]=!0,jr[vt.plus]=!0,jr[vt.pipe]=!0,jr[vt.tilde]=!0,jr[vt.greaterThan]=!0,jr[vt.equals]=!0,jr[vt.dollar]=!0,jr[vt.caret]=!0,jr[vt.slash]=!0,jr),Hy={},qC="0123456789abcdefABCDEF";for(Ed=0;Ed<qC.length;Ed++)Hy[qC.charCodeAt(Ed)]=!0;var Ed;function F4(e,t){var n=t,i;do{if(i=e.charCodeAt(n),N4[i])return n-1;i===vt.backslash?n=j4(e,n)+1:n++}while(n<e.length);return n-1}function j4(e,t){var n=t,i=e.charCodeAt(n+1);if(!O4[i])if(Hy[i]){var o=0;do n++,o++,i=e.charCodeAt(n+1);while(Hy[i]&&o<6);o<6&&i===vt.space&&n++}else n++;return n}var L4={TYPE:0,START_LINE:1,START_COL:2,END_LINE:3,END_COL:4,START_POS:5,END_POS:6};ku.FIELDS=L4;function M4(e){var t=[],n=e.css.valueOf(),i=n,o=i.length,r=-1,u=1,a=0,m=0,d,s,l,f,p,h,y,b,E,v,S,w,A;function x(C,P){if(e.safe)n+=P,E=n.length-1;else throw e.error("Unclosed "+C,u,a-r,a)}for(;a<o;){switch(d=n.charCodeAt(a),d===vt.newline&&(r=a,u+=1),d){case vt.space:case vt.tab:case vt.newline:case vt.cr:case vt.feed:E=a;do E+=1,d=n.charCodeAt(E),d===vt.newline&&(r=E,u+=1);while(d===vt.space||d===vt.newline||d===vt.tab||d===vt.cr||d===vt.feed);A=vt.space,f=u,l=E-r-1,m=E;break;case vt.plus:case vt.greaterThan:case vt.tilde:case vt.pipe:E=a;do E+=1,d=n.charCodeAt(E);while(d===vt.plus||d===vt.greaterThan||d===vt.tilde||d===vt.pipe);A=vt.combinator,f=u,l=a-r,m=E;break;case vt.asterisk:case vt.ampersand:case vt.bang:case vt.comma:case vt.equals:case vt.dollar:case vt.caret:case vt.openSquare:case vt.closeSquare:case vt.colon:case vt.semicolon:case vt.openParenthesis:case vt.closeParenthesis:E=a,A=d,f=u,l=a-r,m=E+1;break;case vt.singleQuote:case vt.doubleQuote:w=d===vt.singleQuote?"'":'"',E=a;do for(p=!1,E=n.indexOf(w,E+1),E===-1&&x("quote",w),h=E;n.charCodeAt(h-1)===vt.backslash;)h-=1,p=!p;while(p);A=vt.str,f=u,l=a-r,m=E+1;break;default:d===vt.slash&&n.charCodeAt(a+1)===vt.asterisk?(E=n.indexOf("*/",a+2)+1,E===0&&x("comment","*/"),s=n.slice(a,E+1),b=s.split(`
|
|
`),y=b.length-1,y>0?(v=u+y,S=E-b[y].length):(v=u,S=r),A=vt.comment,u=v,f=v,l=E-S):d===vt.slash?(E=a,A=d,f=u,l=a-r,m=E+1):(E=F4(n,a),A=vt.word,f=u,l=E-r),m=E+1;break}t.push([A,u,a-r,f,l,a,m]),S&&(r=S,S=null),a=m}return t}});var ZC=me((Du,QC)=>{"use strict";Du.__esModule=!0;Du.default=void 0;var R4=xi(gy()),Xy=xi(Ty()),B4=xi(xy()),zC=xi(wy()),U4=xi(Ay()),$4=xi(Dy()),Jy=xi(Oy()),V4=xi(Fy()),GC=Sd(Uy()),q4=xi(Vy()),Yy=xi(Wy()),W4=xi(zy()),K4=xi($C()),mt=Sd(KC()),wt=Sd(Gy()),z4=Sd(Fn()),Jr=pu(),La,Qy;function YC(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,n=new WeakMap;return(YC=function(o){return o?n:t})(e)}function Sd(e,t){if(!t&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var n=YC(t);if(n&&n.has(e))return n.get(e);var i={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if(r!=="default"&&Object.prototype.hasOwnProperty.call(e,r)){var u=o?Object.getOwnPropertyDescriptor(e,r):null;u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=e[r]}return i.default=e,n&&n.set(e,i),i}function xi(e){return e&&e.__esModule?e:{default:e}}function HC(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function G4(e,t,n){return t&&HC(e.prototype,t),n&&HC(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}var t1=(La={},La[wt.space]=!0,La[wt.cr]=!0,La[wt.feed]=!0,La[wt.newline]=!0,La[wt.tab]=!0,La),H4=Object.assign({},t1,(Qy={},Qy[wt.comment]=!0,Qy));function XC(e){return{line:e[mt.FIELDS.START_LINE],column:e[mt.FIELDS.START_COL]}}function JC(e){return{line:e[mt.FIELDS.END_LINE],column:e[mt.FIELDS.END_COL]}}function Ma(e,t,n,i){return{start:{line:e,column:t},end:{line:n,column:i}}}function ko(e){return Ma(e[mt.FIELDS.START_LINE],e[mt.FIELDS.START_COL],e[mt.FIELDS.END_LINE],e[mt.FIELDS.END_COL])}function Zy(e,t){if(e)return Ma(e[mt.FIELDS.START_LINE],e[mt.FIELDS.START_COL],t[mt.FIELDS.END_LINE],t[mt.FIELDS.END_COL])}function Do(e,t){var n=e[t];if(typeof n=="string")return n.indexOf("\\")!==-1&&((0,Jr.ensureObject)(e,"raws"),e[t]=(0,Jr.unesc)(n),e.raws[t]===void 0&&(e.raws[t]=n)),e}function e1(e,t){for(var n=-1,i=[];(n=e.indexOf(t,n+1))!==-1;)i.push(n);return i}function X4(){var e=Array.prototype.concat.apply([],arguments);return e.filter(function(t,n){return n===e.indexOf(t)})}var J4=function(){function e(n,i){i===void 0&&(i={}),this.rule=n,this.options=Object.assign({lossy:!1,safe:!1},i),this.position=0,this.css=typeof this.rule=="string"?this.rule:this.rule.selector,this.tokens=(0,mt.default)({css:this.css,error:this._errorGenerator(),safe:this.options.safe});var o=Zy(this.tokens[0],this.tokens[this.tokens.length-1]);this.root=new R4.default({source:o}),this.root.errorGenerator=this._errorGenerator();var r=new Xy.default({source:{start:{line:1,column:1}}});this.root.append(r),this.current=r,this.loop()}var t=e.prototype;return t._errorGenerator=function(){var i=this;return function(o,r){return typeof i.rule=="string"?new Error(o):i.rule.error(o,r)}},t.attribute=function(){var i=[],o=this.currToken;for(this.position++;this.position<this.tokens.length&&this.currToken[mt.FIELDS.TYPE]!==wt.closeSquare;)i.push(this.currToken),this.position++;if(this.currToken[mt.FIELDS.TYPE]!==wt.closeSquare)return this.expected("closing square bracket",this.currToken[mt.FIELDS.START_POS]);var r=i.length,u={source:Ma(o[1],o[2],this.currToken[3],this.currToken[4]),sourceIndex:o[mt.FIELDS.START_POS]};if(r===1&&!~[wt.word].indexOf(i[0][mt.FIELDS.TYPE]))return this.expected("attribute",i[0][mt.FIELDS.START_POS]);for(var a=0,m="",d="",s=null,l=!1;a<r;){var f=i[a],p=this.content(f),h=i[a+1];switch(f[mt.FIELDS.TYPE]){case wt.space:if(l=!0,this.options.lossy)break;if(s){(0,Jr.ensureObject)(u,"spaces",s);var y=u.spaces[s].after||"";u.spaces[s].after=y+p;var b=(0,Jr.getProp)(u,"raws","spaces",s,"after")||null;b&&(u.raws.spaces[s].after=b+p)}else m=m+p,d=d+p;break;case wt.asterisk:if(h[mt.FIELDS.TYPE]===wt.equals)u.operator=p,s="operator";else if((!u.namespace||s==="namespace"&&!l)&&h){m&&((0,Jr.ensureObject)(u,"spaces","attribute"),u.spaces.attribute.before=m,m=""),d&&((0,Jr.ensureObject)(u,"raws","spaces","attribute"),u.raws.spaces.attribute.before=m,d=""),u.namespace=(u.namespace||"")+p;var E=(0,Jr.getProp)(u,"raws","namespace")||null;E&&(u.raws.namespace+=p),s="namespace"}l=!1;break;case wt.dollar:if(s==="value"){var v=(0,Jr.getProp)(u,"raws","value");u.value+="$",v&&(u.raws.value=v+"$");break}case wt.caret:h[mt.FIELDS.TYPE]===wt.equals&&(u.operator=p,s="operator"),l=!1;break;case wt.combinator:if(p==="~"&&h[mt.FIELDS.TYPE]===wt.equals&&(u.operator=p,s="operator"),p!=="|"){l=!1;break}h[mt.FIELDS.TYPE]===wt.equals?(u.operator=p,s="operator"):!u.namespace&&!u.attribute&&(u.namespace=!0),l=!1;break;case wt.word:if(h&&this.content(h)==="|"&&i[a+2]&&i[a+2][mt.FIELDS.TYPE]!==wt.equals&&!u.operator&&!u.namespace)u.namespace=p,s="namespace";else if(!u.attribute||s==="attribute"&&!l){m&&((0,Jr.ensureObject)(u,"spaces","attribute"),u.spaces.attribute.before=m,m=""),d&&((0,Jr.ensureObject)(u,"raws","spaces","attribute"),u.raws.spaces.attribute.before=d,d=""),u.attribute=(u.attribute||"")+p;var S=(0,Jr.getProp)(u,"raws","attribute")||null;S&&(u.raws.attribute+=p),s="attribute"}else if(!u.value&&u.value!==""||s==="value"&&!(l||u.quoteMark)){var w=(0,Jr.unesc)(p),A=(0,Jr.getProp)(u,"raws","value")||"",x=u.value||"";u.value=x+w,u.quoteMark=null,(w!==p||A)&&((0,Jr.ensureObject)(u,"raws"),u.raws.value=(A||x)+p),s="value"}else{var C=p==="i"||p==="I";(u.value||u.value==="")&&(u.quoteMark||l)?(u.insensitive=C,(!C||p==="I")&&((0,Jr.ensureObject)(u,"raws"),u.raws.insensitiveFlag=p),s="insensitive",m&&((0,Jr.ensureObject)(u,"spaces","insensitive"),u.spaces.insensitive.before=m,m=""),d&&((0,Jr.ensureObject)(u,"raws","spaces","insensitive"),u.raws.spaces.insensitive.before=d,d="")):(u.value||u.value==="")&&(s="value",u.value+=p,u.raws.value&&(u.raws.value+=p))}l=!1;break;case wt.str:if(!u.attribute||!u.operator)return this.error("Expected an attribute followed by an operator preceding the string.",{index:f[mt.FIELDS.START_POS]});var P=(0,GC.unescapeValue)(p),D=P.unescaped,L=P.quoteMark;u.value=D,u.quoteMark=L,s="value",(0,Jr.ensureObject)(u,"raws"),u.raws.value=p,l=!1;break;case wt.equals:if(!u.attribute)return this.expected("attribute",f[mt.FIELDS.START_POS],p);if(u.value)return this.error('Unexpected "=" found; an operator was already defined.',{index:f[mt.FIELDS.START_POS]});u.operator=u.operator?u.operator+p:p,s="operator",l=!1;break;case wt.comment:if(s)if(l||h&&h[mt.FIELDS.TYPE]===wt.space||s==="insensitive"){var I=(0,Jr.getProp)(u,"spaces",s,"after")||"",j=(0,Jr.getProp)(u,"raws","spaces",s,"after")||I;(0,Jr.ensureObject)(u,"raws","spaces",s),u.raws.spaces[s].after=j+p}else{var M=u[s]||"",R=(0,Jr.getProp)(u,"raws",s)||M;(0,Jr.ensureObject)(u,"raws"),u.raws[s]=R+p}else d=d+p;break;default:return this.error('Unexpected "'+p+'" found.',{index:f[mt.FIELDS.START_POS]})}a++}Do(u,"attribute"),Do(u,"namespace"),this.newNode(new GC.default(u)),this.position++},t.parseWhitespaceEquivalentTokens=function(i){i<0&&(i=this.tokens.length);var o=this.position,r=[],u="",a=void 0;do if(t1[this.currToken[mt.FIELDS.TYPE]])this.options.lossy||(u+=this.content());else if(this.currToken[mt.FIELDS.TYPE]===wt.comment){var m={};u&&(m.before=u,u=""),a=new zC.default({value:this.content(),source:ko(this.currToken),sourceIndex:this.currToken[mt.FIELDS.START_POS],spaces:m}),r.push(a)}while(++this.position<i);if(u){if(a)a.spaces.after=u;else if(!this.options.lossy){var d=this.tokens[o],s=this.tokens[this.position-1];r.push(new Jy.default({value:"",source:Ma(d[mt.FIELDS.START_LINE],d[mt.FIELDS.START_COL],s[mt.FIELDS.END_LINE],s[mt.FIELDS.END_COL]),sourceIndex:d[mt.FIELDS.START_POS],spaces:{before:u,after:""}}))}}return r},t.convertWhitespaceNodesToSpace=function(i,o){var r=this;o===void 0&&(o=!1);var u="",a="";i.forEach(function(d){var s=r.lossySpace(d.spaces.before,o),l=r.lossySpace(d.rawSpaceBefore,o);u+=s+r.lossySpace(d.spaces.after,o&&s.length===0),a+=s+d.value+r.lossySpace(d.rawSpaceAfter,o&&l.length===0)}),a===u&&(a=void 0);var m={space:u,rawSpace:a};return m},t.isNamedCombinator=function(i){return i===void 0&&(i=this.position),this.tokens[i+0]&&this.tokens[i+0][mt.FIELDS.TYPE]===wt.slash&&this.tokens[i+1]&&this.tokens[i+1][mt.FIELDS.TYPE]===wt.word&&this.tokens[i+2]&&this.tokens[i+2][mt.FIELDS.TYPE]===wt.slash},t.namedCombinator=function(){if(this.isNamedCombinator()){var i=this.content(this.tokens[this.position+1]),o=(0,Jr.unesc)(i).toLowerCase(),r={};o!==i&&(r.value="/"+i+"/");var u=new Yy.default({value:"/"+o+"/",source:Ma(this.currToken[mt.FIELDS.START_LINE],this.currToken[mt.FIELDS.START_COL],this.tokens[this.position+2][mt.FIELDS.END_LINE],this.tokens[this.position+2][mt.FIELDS.END_COL]),sourceIndex:this.currToken[mt.FIELDS.START_POS],raws:r});return this.position=this.position+3,u}else this.unexpected()},t.combinator=function(){var i=this;if(this.content()==="|")return this.namespace();var o=this.locateNextMeaningfulToken(this.position);if(o<0||this.tokens[o][mt.FIELDS.TYPE]===wt.comma){var r=this.parseWhitespaceEquivalentTokens(o);if(r.length>0){var u=this.current.last;if(u){var a=this.convertWhitespaceNodesToSpace(r),m=a.space,d=a.rawSpace;d!==void 0&&(u.rawSpaceAfter+=d),u.spaces.after+=m}else r.forEach(function(A){return i.newNode(A)})}return}var s=this.currToken,l=void 0;o>this.position&&(l=this.parseWhitespaceEquivalentTokens(o));var f;if(this.isNamedCombinator()?f=this.namedCombinator():this.currToken[mt.FIELDS.TYPE]===wt.combinator?(f=new Yy.default({value:this.content(),source:ko(this.currToken),sourceIndex:this.currToken[mt.FIELDS.START_POS]}),this.position++):t1[this.currToken[mt.FIELDS.TYPE]]||l||this.unexpected(),f){if(l){var p=this.convertWhitespaceNodesToSpace(l),h=p.space,y=p.rawSpace;f.spaces.before=h,f.rawSpaceBefore=y}}else{var b=this.convertWhitespaceNodesToSpace(l,!0),E=b.space,v=b.rawSpace;v||(v=E);var S={},w={spaces:{}};E.endsWith(" ")&&v.endsWith(" ")?(S.before=E.slice(0,E.length-1),w.spaces.before=v.slice(0,v.length-1)):E.startsWith(" ")&&v.startsWith(" ")?(S.after=E.slice(1),w.spaces.after=v.slice(1)):w.value=v,f=new Yy.default({value:" ",source:Zy(s,this.tokens[this.position-1]),sourceIndex:s[mt.FIELDS.START_POS],spaces:S,raws:w})}return this.currToken&&this.currToken[mt.FIELDS.TYPE]===wt.space&&(f.spaces.after=this.optionalSpace(this.content()),this.position++),this.newNode(f)},t.comma=function(){if(this.position===this.tokens.length-1){this.root.trailingComma=!0,this.position++;return}this.current._inferEndPosition();var i=new Xy.default({source:{start:XC(this.tokens[this.position+1])}});this.current.parent.append(i),this.current=i,this.position++},t.comment=function(){var i=this.currToken;this.newNode(new zC.default({value:this.content(),source:ko(i),sourceIndex:i[mt.FIELDS.START_POS]})),this.position++},t.error=function(i,o){throw this.root.error(i,o)},t.missingBackslash=function(){return this.error("Expected a backslash preceding the semicolon.",{index:this.currToken[mt.FIELDS.START_POS]})},t.missingParenthesis=function(){return this.expected("opening parenthesis",this.currToken[mt.FIELDS.START_POS])},t.missingSquareBracket=function(){return this.expected("opening square bracket",this.currToken[mt.FIELDS.START_POS])},t.unexpected=function(){return this.error("Unexpected '"+this.content()+"'. Escaping special characters with \\ may help.",this.currToken[mt.FIELDS.START_POS])},t.unexpectedPipe=function(){return this.error("Unexpected '|'.",this.currToken[mt.FIELDS.START_POS])},t.namespace=function(){var i=this.prevToken&&this.content(this.prevToken)||!0;if(this.nextToken[mt.FIELDS.TYPE]===wt.word)return this.position++,this.word(i);if(this.nextToken[mt.FIELDS.TYPE]===wt.asterisk)return this.position++,this.universal(i);this.unexpectedPipe()},t.nesting=function(){if(this.nextToken){var i=this.content(this.nextToken);if(i==="|"){this.position++;return}}var o=this.currToken;this.newNode(new W4.default({value:this.content(),source:ko(o),sourceIndex:o[mt.FIELDS.START_POS]})),this.position++},t.parentheses=function(){var i=this.current.last,o=1;if(this.position++,i&&i.type===z4.PSEUDO){var r=new Xy.default({source:{start:XC(this.tokens[this.position-1])}}),u=this.current;for(i.append(r),this.current=r;this.position<this.tokens.length&&o;)this.currToken[mt.FIELDS.TYPE]===wt.openParenthesis&&o++,this.currToken[mt.FIELDS.TYPE]===wt.closeParenthesis&&o--,o?this.parse():(this.current.source.end=JC(this.currToken),this.current.parent.source.end=JC(this.currToken),this.position++);this.current=u}else{for(var a=this.currToken,m="(",d;this.position<this.tokens.length&&o;)this.currToken[mt.FIELDS.TYPE]===wt.openParenthesis&&o++,this.currToken[mt.FIELDS.TYPE]===wt.closeParenthesis&&o--,d=this.currToken,m+=this.parseParenthesisToken(this.currToken),this.position++;i?i.appendToPropertyAndEscape("value",m,m):this.newNode(new Jy.default({value:m,source:Ma(a[mt.FIELDS.START_LINE],a[mt.FIELDS.START_COL],d[mt.FIELDS.END_LINE],d[mt.FIELDS.END_COL]),sourceIndex:a[mt.FIELDS.START_POS]}))}if(o)return this.expected("closing parenthesis",this.currToken[mt.FIELDS.START_POS])},t.pseudo=function(){for(var i=this,o="",r=this.currToken;this.currToken&&this.currToken[mt.FIELDS.TYPE]===wt.colon;)o+=this.content(),this.position++;if(!this.currToken)return this.expected(["pseudo-class","pseudo-element"],this.position-1);if(this.currToken[mt.FIELDS.TYPE]===wt.word)this.splitWord(!1,function(u,a){o+=u,i.newNode(new V4.default({value:o,source:Zy(r,i.currToken),sourceIndex:r[mt.FIELDS.START_POS]})),a>1&&i.nextToken&&i.nextToken[mt.FIELDS.TYPE]===wt.openParenthesis&&i.error("Misplaced parenthesis.",{index:i.nextToken[mt.FIELDS.START_POS]})});else return this.expected(["pseudo-class","pseudo-element"],this.currToken[mt.FIELDS.START_POS])},t.space=function(){var i=this.content();this.position===0||this.prevToken[mt.FIELDS.TYPE]===wt.comma||this.prevToken[mt.FIELDS.TYPE]===wt.openParenthesis||this.current.nodes.every(function(o){return o.type==="comment"})?(this.spaces=this.optionalSpace(i),this.position++):this.position===this.tokens.length-1||this.nextToken[mt.FIELDS.TYPE]===wt.comma||this.nextToken[mt.FIELDS.TYPE]===wt.closeParenthesis?(this.current.last.spaces.after=this.optionalSpace(i),this.position++):this.combinator()},t.string=function(){var i=this.currToken;this.newNode(new Jy.default({value:this.content(),source:ko(i),sourceIndex:i[mt.FIELDS.START_POS]})),this.position++},t.universal=function(i){var o=this.nextToken;if(o&&this.content(o)==="|")return this.position++,this.namespace();var r=this.currToken;this.newNode(new q4.default({value:this.content(),source:ko(r),sourceIndex:r[mt.FIELDS.START_POS]}),i),this.position++},t.splitWord=function(i,o){for(var r=this,u=this.nextToken,a=this.content();u&&~[wt.dollar,wt.caret,wt.equals,wt.word].indexOf(u[mt.FIELDS.TYPE]);){this.position++;var m=this.content();if(a+=m,m.lastIndexOf("\\")===m.length-1){var d=this.nextToken;d&&d[mt.FIELDS.TYPE]===wt.space&&(a+=this.requiredSpace(this.content(d)),this.position++)}u=this.nextToken}var s=e1(a,".").filter(function(h){var y=a[h-1]==="\\",b=/^\d+\.\d+%$/.test(a);return!y&&!b}),l=e1(a,"#").filter(function(h){return a[h-1]!=="\\"}),f=e1(a,"#{");f.length&&(l=l.filter(function(h){return!~f.indexOf(h)}));var p=(0,K4.default)(X4([0].concat(s,l)));p.forEach(function(h,y){var b=p[y+1]||a.length,E=a.slice(h,b);if(y===0&&o)return o.call(r,E,p.length);var v,S=r.currToken,w=S[mt.FIELDS.START_POS]+p[y],A=Ma(S[1],S[2]+h,S[3],S[2]+(b-1));if(~s.indexOf(h)){var x={value:E.slice(1),source:A,sourceIndex:w};v=new B4.default(Do(x,"value"))}else if(~l.indexOf(h)){var C={value:E.slice(1),source:A,sourceIndex:w};v=new U4.default(Do(C,"value"))}else{var P={value:E,source:A,sourceIndex:w};Do(P,"value"),v=new $4.default(P)}r.newNode(v,i),i=null}),this.position++},t.word=function(i){var o=this.nextToken;return o&&this.content(o)==="|"?(this.position++,this.namespace()):this.splitWord(i)},t.loop=function(){for(;this.position<this.tokens.length;)this.parse(!0);return this.current._inferEndPosition(),this.root},t.parse=function(i){switch(this.currToken[mt.FIELDS.TYPE]){case wt.space:this.space();break;case wt.comment:this.comment();break;case wt.openParenthesis:this.parentheses();break;case wt.closeParenthesis:i&&this.missingParenthesis();break;case wt.openSquare:this.attribute();break;case wt.dollar:case wt.caret:case wt.equals:case wt.word:this.word();break;case wt.colon:this.pseudo();break;case wt.comma:this.comma();break;case wt.asterisk:this.universal();break;case wt.ampersand:this.nesting();break;case wt.slash:case wt.combinator:this.combinator();break;case wt.str:this.string();break;case wt.closeSquare:this.missingSquareBracket();case wt.semicolon:this.missingBackslash();default:this.unexpected()}},t.expected=function(i,o,r){if(Array.isArray(i)){var u=i.pop();i=i.join(", ")+" or "+u}var a=/^[aeiou]/.test(i[0])?"an":"a";return r?this.error("Expected "+a+" "+i+', found "'+r+'" instead.',{index:o}):this.error("Expected "+a+" "+i+".",{index:o})},t.requiredSpace=function(i){return this.options.lossy?" ":i},t.optionalSpace=function(i){return this.options.lossy?"":i},t.lossySpace=function(i,o){return this.options.lossy?o?" ":"":i},t.parseParenthesisToken=function(i){var o=this.content(i);return i[mt.FIELDS.TYPE]===wt.space?this.requiredSpace(o):o},t.newNode=function(i,o){return o&&(/^ +$/.test(o)&&(this.options.lossy||(this.spaces=(this.spaces||"")+o),o=!0),i.namespace=o,Do(i,"namespace")),this.spaces&&(i.spaces.before=this.spaces,this.spaces=""),this.current.append(i)},t.content=function(i){return i===void 0&&(i=this.currToken),this.css.slice(i[mt.FIELDS.START_POS],i[mt.FIELDS.END_POS])},t.locateNextMeaningfulToken=function(i){i===void 0&&(i=this.position+1);for(var o=i;o<this.tokens.length;)if(H4[this.tokens[o][mt.FIELDS.TYPE]]){o++;continue}else return o;return-1},G4(e,[{key:"currToken",get:function(){return this.tokens[this.position]}},{key:"nextToken",get:function(){return this.tokens[this.position+1]}},{key:"prevToken",get:function(){return this.tokens[this.position-1]}}]),e}();Du.default=J4;QC.exports=Du.default});var tA=me((Iu,eA)=>{"use strict";Iu.__esModule=!0;Iu.default=void 0;var Y4=Q4(ZC());function Q4(e){return e&&e.__esModule?e:{default:e}}var Z4=function(){function e(n,i){this.func=n||function(){},this.funcRes=null,this.options=i}var t=e.prototype;return t._shouldUpdateSelector=function(i,o){o===void 0&&(o={});var r=Object.assign({},this.options,o);return r.updateSelector===!1?!1:typeof i!="string"},t._isLossy=function(i){i===void 0&&(i={});var o=Object.assign({},this.options,i);return o.lossless===!1},t._root=function(i,o){o===void 0&&(o={});var r=new Y4.default(i,this._parseOptions(o));return r.root},t._parseOptions=function(i){return{lossy:this._isLossy(i)}},t._run=function(i,o){var r=this;return o===void 0&&(o={}),new Promise(function(u,a){try{var m=r._root(i,o);Promise.resolve(r.func(m)).then(function(d){var s=void 0;return r._shouldUpdateSelector(i,o)&&(s=m.toString(),i.selector=s),{transform:d,root:m,string:s}}).then(u,a)}catch(d){a(d);return}})},t._runSync=function(i,o){o===void 0&&(o={});var r=this._root(i,o),u=this.func(r);if(u&&typeof u.then=="function")throw new Error("Selector processor returned a promise to a synchronous call.");var a=void 0;return o.updateSelector&&typeof i!="string"&&(a=r.toString(),i.selector=a),{transform:u,root:r,string:a}},t.ast=function(i,o){return this._run(i,o).then(function(r){return r.root})},t.astSync=function(i,o){return this._runSync(i,o).root},t.transform=function(i,o){return this._run(i,o).then(function(r){return r.transform})},t.transformSync=function(i,o){return this._runSync(i,o).transform},t.process=function(i,o){return this._run(i,o).then(function(r){return r.string||r.root.toString()})},t.processSync=function(i,o){var r=this._runSync(i,o);return r.string||r.root.toString()},e}();Iu.default=Z4;eA.exports=Iu.default});var rA=me($r=>{"use strict";$r.__esModule=!0;$r.universal=$r.tag=$r.string=$r.selector=$r.root=$r.pseudo=$r.nesting=$r.id=$r.comment=$r.combinator=$r.className=$r.attribute=void 0;var e6=_i(Uy()),t6=_i(xy()),r6=_i(Wy()),n6=_i(wy()),i6=_i(Ay()),s6=_i(zy()),a6=_i(Fy()),o6=_i(gy()),l6=_i(Ty()),u6=_i(Oy()),c6=_i(Dy()),p6=_i(Vy());function _i(e){return e&&e.__esModule?e:{default:e}}var d6=function(t){return new e6.default(t)};$r.attribute=d6;var f6=function(t){return new t6.default(t)};$r.className=f6;var h6=function(t){return new r6.default(t)};$r.combinator=h6;var m6=function(t){return new n6.default(t)};$r.comment=m6;var y6=function(t){return new i6.default(t)};$r.id=y6;var b6=function(t){return new s6.default(t)};$r.nesting=b6;var g6=function(t){return new a6.default(t)};$r.pseudo=g6;var v6=function(t){return new o6.default(t)};$r.root=v6;var T6=function(t){return new l6.default(t)};$r.selector=T6;var E6=function(t){return new u6.default(t)};$r.string=E6;var S6=function(t){return new c6.default(t)};$r.tag=S6;var x6=function(t){return new p6.default(t)};$r.universal=x6});var aA=me(Cr=>{"use strict";Cr.__esModule=!0;Cr.isComment=Cr.isCombinator=Cr.isClassName=Cr.isAttribute=void 0;Cr.isContainer=j6;Cr.isIdentifier=void 0;Cr.isNamespace=L6;Cr.isNesting=void 0;Cr.isNode=r1;Cr.isPseudo=void 0;Cr.isPseudoClass=F6;Cr.isPseudoElement=sA;Cr.isUniversal=Cr.isTag=Cr.isString=Cr.isSelector=Cr.isRoot=void 0;var Yr=Fn(),Yn,_6=(Yn={},Yn[Yr.ATTRIBUTE]=!0,Yn[Yr.CLASS]=!0,Yn[Yr.COMBINATOR]=!0,Yn[Yr.COMMENT]=!0,Yn[Yr.ID]=!0,Yn[Yr.NESTING]=!0,Yn[Yr.PSEUDO]=!0,Yn[Yr.ROOT]=!0,Yn[Yr.SELECTOR]=!0,Yn[Yr.STRING]=!0,Yn[Yr.TAG]=!0,Yn[Yr.UNIVERSAL]=!0,Yn);function r1(e){return typeof e=="object"&&_6[e.type]}function wi(e,t){return r1(t)&&t.type===e}var nA=wi.bind(null,Yr.ATTRIBUTE);Cr.isAttribute=nA;var w6=wi.bind(null,Yr.CLASS);Cr.isClassName=w6;var C6=wi.bind(null,Yr.COMBINATOR);Cr.isCombinator=C6;var A6=wi.bind(null,Yr.COMMENT);Cr.isComment=A6;var P6=wi.bind(null,Yr.ID);Cr.isIdentifier=P6;var k6=wi.bind(null,Yr.NESTING);Cr.isNesting=k6;var n1=wi.bind(null,Yr.PSEUDO);Cr.isPseudo=n1;var D6=wi.bind(null,Yr.ROOT);Cr.isRoot=D6;var I6=wi.bind(null,Yr.SELECTOR);Cr.isSelector=I6;var O6=wi.bind(null,Yr.STRING);Cr.isString=O6;var iA=wi.bind(null,Yr.TAG);Cr.isTag=iA;var N6=wi.bind(null,Yr.UNIVERSAL);Cr.isUniversal=N6;function sA(e){return n1(e)&&e.value&&(e.value.startsWith("::")||e.value.toLowerCase()===":before"||e.value.toLowerCase()===":after"||e.value.toLowerCase()===":first-letter"||e.value.toLowerCase()===":first-line")}function F6(e){return n1(e)&&!sA(e)}function j6(e){return!!(r1(e)&&e.walk)}function L6(e){return nA(e)||iA(e)}});var oA=me(Ui=>{"use strict";Ui.__esModule=!0;var i1=Fn();Object.keys(i1).forEach(function(e){e==="default"||e==="__esModule"||e in Ui&&Ui[e]===i1[e]||(Ui[e]=i1[e])});var s1=rA();Object.keys(s1).forEach(function(e){e==="default"||e==="__esModule"||e in Ui&&Ui[e]===s1[e]||(Ui[e]=s1[e])});var a1=aA();Object.keys(a1).forEach(function(e){e==="default"||e==="__esModule"||e in Ui&&Ui[e]===a1[e]||(Ui[e]=a1[e])})});var Qs=me((Ou,uA)=>{"use strict";Ou.__esModule=!0;Ou.default=void 0;var M6=U6(tA()),R6=B6(oA());function lA(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,n=new WeakMap;return(lA=function(o){return o?n:t})(e)}function B6(e,t){if(!t&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var n=lA(t);if(n&&n.has(e))return n.get(e);var i={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if(r!=="default"&&Object.prototype.hasOwnProperty.call(e,r)){var u=o?Object.getOwnPropertyDescriptor(e,r):null;u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=e[r]}return i.default=e,n&&n.set(e,i),i}function U6(e){return e&&e.__esModule?e:{default:e}}var o1=function(t){return new M6.default(t)};Object.assign(o1,R6);delete o1.__esModule;var $6=o1;Ou.default=$6;uA.exports=Ou.default});var yA=me((YZ,d1)=>{var{Rule:pA,AtRule:V6}=Bi(),dA=Qs();function c1(e,t){let n;try{dA(i=>{n=i}).processSync(e)}catch(i){throw e.includes(":")?t?t.error("Missed semicolon"):i:t?t.error(i.message):i}return n.at(0)}function fA(e,t){let n=!1;return e.each(i=>{if(i.type==="nesting"){let o=t.clone({});i.value!=="&"?i.replaceWith(c1(i.value.replace("&",o.toString()))):i.replaceWith(o),n=!0}else"nodes"in i&&i.nodes&&fA(i,t)&&(n=!0)}),n}function hA(e,t){let n=[];return e.selectors.forEach(i=>{let o=c1(i,e);t.selectors.forEach(r=>{if(!r)return;let u=c1(r,t);fA(u,o)||(u.prepend(dA.combinator({value:" "})),u.prepend(o.clone({}))),n.push(u.toString())})}),n}function xd(e,t){let n=e.prev();for(t.after(e);n&&n.type==="comment";){let i=n.prev();t.after(n),n=i}return e}function q6(e){return function t(n,i,o,r=o){let u=[];if(i.each(a=>{a.type==="rule"&&o?r&&(a.selectors=hA(n,a)):a.type==="atrule"&&a.nodes?e[a.name]?t(n,a,r):i[p1]!==!1&&u.push(a):u.push(a)}),o&&u.length){let a=n.clone({nodes:[]});for(let m of u)a.append(m);i.prepend(a)}}}function l1(e,t,n){let i=new pA({selector:e,nodes:[]});return i.append(t),n.after(i),i}function cA(e,t){let n={};for(let i of e)n[i]=!0;if(t)for(let i of t)n[i.replace(/^@/,"")]=!0;return n}function W6(e){e=e.trim();let t=e.match(/^\((.*)\)$/);if(!t)return{type:"basic",selector:e};let n=t[1].match(/^(with(?:out)?):(.+)$/);if(n){let i=n[1]==="with",o=Object.fromEntries(n[2].trim().split(/\s+/).map(u=>[u,!0]));if(i&&o.all)return{type:"noop"};let r=u=>!!o[u];return o.all?r=()=>!0:i&&(r=u=>u==="all"?!1:!o[u]),{type:"withrules",escapes:r}}return{type:"unknown"}}function K6(e){let t=[],n=e.parent;for(;n&&n instanceof V6;)t.push(n),n=n.parent;return t}function z6(e){let t=e[mA];if(!t)e.after(e.nodes);else{let n=e.nodes,i,o=-1,r,u,a,m=K6(e);if(m.forEach((d,s)=>{if(t(d.name))i=d,o=s,u=a;else{let l=a;a=d.clone({nodes:[]}),l&&a.append(l),r=r||a}}),i?u?(r.append(n),i.after(u)):i.after(n):e.after(n),e.next()&&i){let d;m.slice(0,o+1).forEach((s,l,f)=>{let p=d;d=s.clone({nodes:[]}),p&&d.append(p);let h=[],b=(f[l-1]||e).next();for(;b;)h.push(b),b=b.next();d.append(h)}),d&&(u||n[n.length-1]).after(d)}}e.remove()}var p1=Symbol("rootRuleMergeSel"),mA=Symbol("rootRuleEscapes");function G6(e){let{params:t}=e,{type:n,selector:i,escapes:o}=W6(t);if(n==="unknown")throw e.error(`Unknown @${e.name} parameter ${JSON.stringify(t)}`);if(n==="basic"&&i){let r=new pA({selector:i,nodes:e.nodes});e.removeAll(),e.append(r)}e[mA]=o,e[p1]=o?!o("all"):n==="noop"}var u1=Symbol("hasRootRule");d1.exports=(e={})=>{let t=cA(["media","supports","layer","container"],e.bubble),n=q6(t),i=cA(["document","font-face","keyframes","-webkit-keyframes","-moz-keyframes"],e.unwrap),o=(e.rootRuleName||"at-root").replace(/^@/,""),r=e.preserveEmpty;return{postcssPlugin:"postcss-nested",Once(u){u.walkAtRules(o,a=>{G6(a),u[u1]=!0})},Rule(u){let a=!1,m=u,d=!1,s=[];u.each(l=>{l.type==="rule"?(s.length&&(m=l1(u.selector,s,m),s=[]),d=!0,a=!0,l.selectors=hA(u,l),m=xd(l,m)):l.type==="atrule"?(s.length&&(m=l1(u.selector,s,m),s=[]),l.name===o?(a=!0,n(u,l,!0,l[p1]),m=xd(l,m)):t[l.name]?(d=!0,a=!0,n(u,l,!0),m=xd(l,m)):i[l.name]?(d=!0,a=!0,n(u,l,!1),m=xd(l,m)):d&&s.push(l)):l.type==="decl"&&d&&s.push(l)}),s.length&&(m=l1(u.selector,s,m)),a&&r!==!0&&(u.raws.semicolon=!0,u.nodes.length===0&&u.remove())},RootExit(u){u[u1]&&(u.walkAtRules(o,z6),u[u1]=!1)}}};d1.exports.postcss=!0});var TA=me((QZ,vA)=>{"use strict";var bA=/-(\w|$)/g,gA=(e,t)=>t.toUpperCase(),H6=e=>(e=e.toLowerCase(),e==="float"?"cssFloat":e.startsWith("-ms-")?e.substr(1).replace(bA,gA):e.replace(bA,gA));vA.exports=H6});var m1=me((ZZ,EA)=>{var X6=TA(),J6={boxFlex:!0,boxFlexGroup:!0,columnCount:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,strokeDashoffset:!0,strokeOpacity:!0,strokeWidth:!0};function f1(e){return typeof e.nodes>"u"?!0:h1(e)}function h1(e){let t,n={};return e.each(i=>{if(i.type==="atrule")t="@"+i.name,i.params&&(t+=" "+i.params),typeof n[t]>"u"?n[t]=f1(i):Array.isArray(n[t])?n[t].push(f1(i)):n[t]=[n[t],f1(i)];else if(i.type==="rule"){let o=h1(i);if(n[i.selector])for(let r in o)n[i.selector][r]=o[r];else n[i.selector]=o}else if(i.type==="decl"){i.prop[0]==="-"&&i.prop[1]==="-"||i.parent&&i.parent.selector===":export"?t=i.prop:t=X6(i.prop);let o=i.value;!isNaN(i.value)&&J6[t]&&(o=parseFloat(i.value)),i.important&&(o+=" !important"),typeof n[t]>"u"?n[t]=o:Array.isArray(n[t])?n[t].push(o):n[t]=[n[t],o]}}),n}EA.exports=h1});var _d=me((eee,wA)=>{var Nu=Bi(),SA=/\s*!important\s*$/i,Y6={"box-flex":!0,"box-flex-group":!0,"column-count":!0,flex:!0,"flex-grow":!0,"flex-positive":!0,"flex-shrink":!0,"flex-negative":!0,"font-weight":!0,"line-clamp":!0,"line-height":!0,opacity:!0,order:!0,orphans:!0,"tab-size":!0,widows:!0,"z-index":!0,zoom:!0,"fill-opacity":!0,"stroke-dashoffset":!0,"stroke-opacity":!0,"stroke-width":!0};function Q6(e){return e.replace(/([A-Z])/g,"-$1").replace(/^ms-/,"-ms-").toLowerCase()}function xA(e,t,n){n===!1||n===null||(t.startsWith("--")||(t=Q6(t)),typeof n=="number"&&(n===0||Y6[t]?n=n.toString():n+="px"),t==="css-float"&&(t="float"),SA.test(n)?(n=n.replace(SA,""),e.push(Nu.decl({prop:t,value:n,important:!0}))):e.push(Nu.decl({prop:t,value:n})))}function _A(e,t,n){let i=Nu.atRule({name:t[1],params:t[3]||""});typeof n=="object"&&(i.nodes=[],y1(n,i)),e.push(i)}function y1(e,t){let n,i,o;for(n in e)if(i=e[n],!(i===null||typeof i>"u"))if(n[0]==="@"){let r=n.match(/@(\S+)(\s+([\W\w]*)\s*)?/);if(Array.isArray(i))for(let u of i)_A(t,r,u);else _A(t,r,i)}else if(Array.isArray(i))for(let r of i)xA(t,n,r);else typeof i=="object"?(o=Nu.rule({selector:n}),y1(i,o),t.push(o)):xA(t,n,i)}wA.exports=function(e){let t=Nu.root();return y1(e,t),t}});var b1=me((tee,CA)=>{var Z6=m1();CA.exports=function(t){return console&&console.warn&&t.warnings().forEach(n=>{let i=n.plugin||"PostCSS";console.warn(i+": "+n.text)}),Z6(t.root)}});var PA=me((ree,AA)=>{var e8=Bi(),t8=b1(),r8=_d();AA.exports=function(t){let n=e8(t);return async i=>{let o=await n.process(i,{parser:r8,from:void 0});return t8(o)}}});var DA=me((nee,kA)=>{var n8=Bi(),i8=b1(),s8=_d();kA.exports=function(e){let t=n8(e);return n=>{let i=t.process(n,{parser:s8,from:void 0});return i8(i)}}});var OA=me((iee,IA)=>{var a8=m1(),o8=_d(),l8=PA(),u8=DA();IA.exports={objectify:a8,parse:o8,async:l8,sync:u8}});var T1=me(v1=>{"use strict";Object.defineProperty(v1,"__esModule",{value:!0});Object.defineProperty(v1,"default",{enumerable:!0,get:function(){return NA}});var c8=g1(Bi()),p8=g1(yA()),d8=g1(OA());function g1(e){return e&&e.__esModule?e:{default:e}}function NA(e){return Array.isArray(e)?e.flatMap(t=>(0,c8.default)([(0,p8.default)({bubble:["screen"]})]).process(t,{parser:d8.default}).root.nodes):NA([e])}});var Io=me(E1=>{"use strict";Object.defineProperty(E1,"__esModule",{value:!0});Object.defineProperty(E1,"default",{enumerable:!0,get:function(){return f8}});function f8(e){if(Object.prototype.toString.call(e)!=="[object Object]")return!1;let t=Object.getPrototypeOf(e);return t===null||Object.getPrototypeOf(t)===null}});var wd=me(S1=>{"use strict";Object.defineProperty(S1,"__esModule",{value:!0});Object.defineProperty(S1,"default",{enumerable:!0,get:function(){return y8}});var h8=m8(Qs());function m8(e){return e&&e.__esModule?e:{default:e}}function y8(e,t,n=!1){if(e==="")return t;let i=typeof t=="string"?(0,h8.default)().astSync(t):t;return i.walkClasses(o=>{let r=o.value,u=n&&r.startsWith("-");o.value=u?`-${e}${r.slice(1)}`:`${e}${r}`}),typeof t=="string"?i.toString():i}});var Cd=me(x1=>{"use strict";Object.defineProperty(x1,"__esModule",{value:!0});Object.defineProperty(x1,"default",{enumerable:!0,get:function(){return b8}});function b8(e){return e.replace(/\\,/g,"\\2c ")}});var FA=me(_1=>{"use strict";Object.defineProperty(_1,"__esModule",{value:!0});Object.defineProperty(_1,"default",{enumerable:!0,get:function(){return g8}});var g8={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}});var C1=me(w1=>{"use strict";Object.defineProperty(w1,"__esModule",{value:!0});function v8(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}v8(w1,{parseColor:function(){return w8},formatColor:function(){return C8}});var jA=T8(FA());function T8(e){return e&&e.__esModule?e:{default:e}}var E8=/^#([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})?$/i,S8=/^#([a-f\d])([a-f\d])([a-f\d])([a-f\d])?$/i,Zs=/(?:\d+|\d*\.\d+)%?/,Ad=/(?:\s*,\s*|\s+)/,LA=/\s*[,/]\s*/,ea=/var\(--(?:[^ )]*?)(?:,(?:[^ )]*?|var\(--[^ )]*?\)))?\)/,x8=new RegExp(`^(rgba?)\\(\\s*(${Zs.source}|${ea.source})(?:${Ad.source}(${Zs.source}|${ea.source}))?(?:${Ad.source}(${Zs.source}|${ea.source}))?(?:${LA.source}(${Zs.source}|${ea.source}))?\\s*\\)$`),_8=new RegExp(`^(hsla?)\\(\\s*((?:${Zs.source})(?:deg|rad|grad|turn)?|${ea.source})(?:${Ad.source}(${Zs.source}|${ea.source}))?(?:${Ad.source}(${Zs.source}|${ea.source}))?(?:${LA.source}(${Zs.source}|${ea.source}))?\\s*\\)$`);function w8(e,{loose:t=!1}={}){var n,i;if(typeof e!="string")return null;if(e=e.trim(),e==="transparent")return{mode:"rgb",color:["0","0","0"],alpha:"0"};if(e in jA.default)return{mode:"rgb",color:jA.default[e].map(m=>m.toString())};let o=e.replace(S8,(m,d,s,l,f)=>["#",d,d,s,s,l,l,f?f+f:""].join("")).match(E8);if(o!==null)return{mode:"rgb",color:[parseInt(o[1],16),parseInt(o[2],16),parseInt(o[3],16)].map(m=>m.toString()),alpha:o[4]?(parseInt(o[4],16)/255).toString():void 0};var r;let u=(r=e.match(x8))!==null&&r!==void 0?r:e.match(_8);if(u===null)return null;let a=[u[2],u[3],u[4]].filter(Boolean).map(m=>m.toString());return a.length===2&&a[0].startsWith("var(")?{mode:u[1],color:[a[0]],alpha:a[1]}:!t&&a.length!==3||a.length<3&&!a.some(m=>/^var\(.*?\)$/.test(m))?null:{mode:u[1],color:a,alpha:(n=u[5])===null||n===void 0||(i=n.toString)===null||i===void 0?void 0:i.call(n)}}function C8({mode:e,color:t,alpha:n}){let i=n!==void 0;return e==="rgba"||e==="hsla"?`${e}(${t.join(", ")}${i?`, ${n}`:""})`:`${e}(${t.join(" ")}${i?` / ${n}`:""})`}});var kd=me(A1=>{"use strict";Object.defineProperty(A1,"__esModule",{value:!0});function A8(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}A8(A1,{withAlphaValue:function(){return P8},default:function(){return k8}});var Pd=C1();function P8(e,t,n){if(typeof e=="function")return e({opacityValue:t});let i=(0,Pd.parseColor)(e,{loose:!0});return i===null?n:(0,Pd.formatColor)({...i,alpha:t})}function k8({color:e,property:t,variable:n}){let i=[].concat(t);if(typeof e=="function")return{[n]:"1",...Object.fromEntries(i.map(r=>[r,e({opacityVariable:n,opacityValue:`var(${n})`})]))};let o=(0,Pd.parseColor)(e);return o===null?Object.fromEntries(i.map(r=>[r,e])):o.alpha!==void 0?Object.fromEntries(i.map(r=>[r,e])):{[n]:"1",...Object.fromEntries(i.map(r=>[r,(0,Pd.formatColor)({...o,alpha:`var(${n})`})]))}}});var Oo=me(P1=>{"use strict";Object.defineProperty(P1,"__esModule",{value:!0});Object.defineProperty(P1,"splitAtTopLevelOnly",{enumerable:!0,get:function(){return D8}});function D8(e,t){let n=[],i=[],o=0,r=!1;for(let u=0;u<e.length;u++){let a=e[u];n.length===0&&a===t[0]&&!r&&(t.length===1||e.slice(u,u+t.length)===t)&&(i.push(e.slice(o,u)),o=u+t.length),r?r=!1:a==="\\"&&(r=!0),a==="("||a==="["||a==="{"?n.push(a):(a===")"&&n[n.length-1]==="("||a==="]"&&n[n.length-1]==="["||a==="}"&&n[n.length-1]==="{")&&n.pop()}return i.push(e.slice(o)),i}});var D1=me(k1=>{"use strict";Object.defineProperty(k1,"__esModule",{value:!0});function I8(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}I8(k1,{parseBoxShadowValue:function(){return j8},formatBoxShadowValue:function(){return L8}});var O8=Oo(),N8=new Set(["inset","inherit","initial","revert","unset"]),F8=/\ +(?![^(]*\))/g,MA=/^-?(\d+|\.\d+)(.*?)$/g;function j8(e){return(0,O8.splitAtTopLevelOnly)(e,",").map(n=>{let i=n.trim(),o={raw:i},r=i.split(F8),u=new Set;for(let a of r)MA.lastIndex=0,!u.has("KEYWORD")&&N8.has(a)?(o.keyword=a,u.add("KEYWORD")):MA.test(a)?u.has("X")?u.has("Y")?u.has("BLUR")?u.has("SPREAD")||(o.spread=a,u.add("SPREAD")):(o.blur=a,u.add("BLUR")):(o.y=a,u.add("Y")):(o.x=a,u.add("X")):o.color?(o.unknown||(o.unknown=[]),o.unknown.push(a)):o.color=a;return o.valid=o.x!==void 0&&o.y!==void 0,o})}function L8(e){return e.map(t=>t.valid?[t.keyword,t.x,t.y,t.blur,t.spread,t.color].filter(Boolean).join(" "):t.raw).join(", ")}});var Fu=me(O1=>{"use strict";Object.defineProperty(O1,"__esModule",{value:!0});function M8(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}M8(O1,{normalize:function(){return ta},url:function(){return RA},number:function(){return BA},percentage:function(){return UA},length:function(){return $A},lineWidth:function(){return z8},shadow:function(){return G8},color:function(){return H8},image:function(){return X8},gradient:function(){return VA},position:function(){return Q8},familyName:function(){return Z8},genericName:function(){return t9},absoluteSize:function(){return n9},relativeSize:function(){return s9}});var R8=C1(),B8=D1(),Dd=Oo(),U8=["min","max","clamp","calc"];function I1(e){return U8.some(t=>new RegExp(`^${t}\\(.*\\)`).test(e))}var $8=new Set(["scroll-timeline-name","timeline-scope","view-timeline-name","font-palette","scroll-timeline","animation-timeline","view-timeline"]);function ta(e,t=null,n=!0){let i=t&&$8.has(t.property);return e.startsWith("--")&&!i?`var(${e})`:e.includes("url(")?e.split(/(url\(.*?\))/g).filter(Boolean).map(o=>/^url\(.*?\)$/.test(o)?o:ta(o,t,!1)).join(""):(e=e.replace(/([^\\])_+/g,(o,r)=>r+" ".repeat(o.length-1)).replace(/^_/g," ").replace(/\\_/g,"_"),n&&(e=e.trim()),e=V8(e),e)}function V8(e){let t=["theme"],n=["min-content","max-content","fit-content","safe-area-inset-top","safe-area-inset-right","safe-area-inset-bottom","safe-area-inset-left","titlebar-area-x","titlebar-area-y","titlebar-area-width","titlebar-area-height","keyboard-inset-top","keyboard-inset-right","keyboard-inset-bottom","keyboard-inset-left","keyboard-inset-width","keyboard-inset-height","radial-gradient","linear-gradient","conic-gradient","repeating-radial-gradient","repeating-linear-gradient","repeating-conic-gradient"];return e.replace(/(calc|min|max|clamp)\(.+\)/g,i=>{let o="";function r(){let u=o.trimEnd();return u[u.length-1]}for(let u=0;u<i.length;u++){let a=function(s){return s.split("").every((l,f)=>i[u+f]===l)},m=function(s){let l=1/0;for(let p of s){let h=i.indexOf(p,u);h!==-1&&h<l&&(l=h)}let f=i.slice(u,l);return u+=f.length-1,f},d=i[u];if(a("var"))o+=m([")",","]);else if(n.some(s=>a(s))){let s=n.find(l=>a(l));o+=s,u+=s.length-1}else t.some(s=>a(s))?o+=m([")"]):a("[")?o+=m(["]"]):["+","-","*","/"].includes(d)&&!["(","+","-","*","/",","].includes(r())?o+=` ${d} `:o+=d}return o.replace(/\s+/g," ")})}function RA(e){return e.startsWith("url(")}function BA(e){return!isNaN(Number(e))||I1(e)}function UA(e){return e.endsWith("%")&&BA(e.slice(0,-1))||I1(e)}var q8=["cm","mm","Q","in","pc","pt","px","em","ex","ch","rem","lh","rlh","vw","vh","vmin","vmax","vb","vi","svw","svh","lvw","lvh","dvw","dvh","cqw","cqh","cqi","cqb","cqmin","cqmax"],W8=`(?:${q8.join("|")})`;function $A(e){return e==="0"||new RegExp(`^[+-]?[0-9]*.?[0-9]+(?:[eE][+-]?[0-9]+)?${W8}$`).test(e)||I1(e)}var K8=new Set(["thin","medium","thick"]);function z8(e){return K8.has(e)}function G8(e){let t=(0,B8.parseBoxShadowValue)(ta(e));for(let n of t)if(!n.valid)return!1;return!0}function H8(e){let t=0;return(0,Dd.splitAtTopLevelOnly)(e,"_").every(i=>(i=ta(i),i.startsWith("var(")?!0:(0,R8.parseColor)(i,{loose:!0})!==null?(t++,!0):!1))?t>0:!1}function X8(e){let t=0;return(0,Dd.splitAtTopLevelOnly)(e,",").every(i=>(i=ta(i),i.startsWith("var(")?!0:RA(i)||VA(i)||["element(","image(","cross-fade(","image-set("].some(o=>i.startsWith(o))?(t++,!0):!1))?t>0:!1}var J8=new Set(["conic-gradient","linear-gradient","radial-gradient","repeating-conic-gradient","repeating-linear-gradient","repeating-radial-gradient"]);function VA(e){e=ta(e);for(let t of J8)if(e.startsWith(`${t}(`))return!0;return!1}var Y8=new Set(["center","top","right","bottom","left"]);function Q8(e){let t=0;return(0,Dd.splitAtTopLevelOnly)(e,"_").every(i=>(i=ta(i),i.startsWith("var(")?!0:Y8.has(i)||$A(i)||UA(i)?(t++,!0):!1))?t>0:!1}function Z8(e){let t=0;return(0,Dd.splitAtTopLevelOnly)(e,",").every(i=>(i=ta(i),i.startsWith("var(")?!0:i.includes(" ")&&!/(['"])([^"']+)\1/g.test(i)||/^\d/g.test(i)?!1:(t++,!0)))?t>0:!1}var e9=new Set(["serif","sans-serif","monospace","cursive","fantasy","system-ui","ui-serif","ui-sans-serif","ui-monospace","ui-rounded","math","emoji","fangsong"]);function t9(e){return e9.has(e)}var r9=new Set(["xx-small","x-small","small","medium","large","x-large","x-large","xxx-large"]);function n9(e){return r9.has(e)}var i9=new Set(["larger","smaller"]);function s9(e){return i9.has(e)}});var Id=me(N1=>{"use strict";Object.defineProperty(N1,"__esModule",{value:!0});Object.defineProperty(N1,"default",{enumerable:!0,get:function(){return a9}});function a9(e){if(e=`${e}`,e==="0")return"0";if(/^[+-]?(\d+|\d*\.\d+)(e[+-]?\d+)?(%|\w+)?$/.test(e))return e.replace(/^[+-]?/,n=>n==="-"?"":"-");let t=["var","calc","min","max","clamp"];for(let n of t)if(e.includes(`${n}(`))return`calc(${e} * -1)`}});var KA=me(F1=>{"use strict";Object.defineProperty(F1,"__esModule",{value:!0});Object.defineProperty(F1,"backgroundSize",{enumerable:!0,get:function(){return o9}});var qA=Fu(),WA=Oo();function o9(e){let t=["cover","contain"];return(0,WA.splitAtTopLevelOnly)(e,",").every(n=>{let i=(0,WA.splitAtTopLevelOnly)(n,"_").filter(Boolean);return i.length===1&&t.includes(i[0])?!0:i.length!==1&&i.length!==2?!1:i.every(o=>(0,qA.length)(o)||(0,qA.percentage)(o)||o==="auto")})}});var Ba=me(L1=>{"use strict";Object.defineProperty(L1,"__esModule",{value:!0});function l9(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}l9(L1,{dim:function(){return c9},default:function(){return p9}});var Ra=u9(Ml());function u9(e){return e&&e.__esModule?e:{default:e}}var zA=new Set;function j1(e,t,n){typeof process<"u"&&process.env.JEST_WORKER_ID||n&&zA.has(n)||(n&&zA.add(n),console.warn(""),t.forEach(i=>console.warn(e,"-",i)))}function c9(e){return Ra.default.dim(e)}var p9={info(e,t){j1(Ra.default.bold(Ra.default.cyan("info")),...Array.isArray(e)?[e]:[t,e])},warn(e,t){j1(Ra.default.bold(Ra.default.yellow("warn")),...Array.isArray(e)?[e]:[t,e])},risk(e,t){j1(Ra.default.bold(Ra.default.magenta("risk")),...Array.isArray(e)?[e]:[t,e])}}});var Ua=me(M1=>{"use strict";Object.defineProperty(M1,"__esModule",{value:!0});function d9(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}d9(M1,{flagEnabled:function(){return m9},issueFlagNotices:function(){return y9},default:function(){return b9}});var f9=XA(Ml()),h9=XA(Ba());function XA(e){return e&&e.__esModule?e:{default:e}}var GA={optimizeUniversalDefaults:!1,generalizedModifiers:!0,get disableColorOpacityUtilitiesByDefault(){return!1},get relativeContentPathsByDefault(){return!1}},ju={future:["hoverOnlyWhenSupported","respectDefaultRingColorOpacity","disableColorOpacityUtilitiesByDefault","relativeContentPathsByDefault"],experimental:["optimizeUniversalDefaults","generalizedModifiers"]};function m9(e,t){if(ju.future.includes(t)){var n,i,o;return e.future==="all"||((o=(i=e==null||(n=e.future)===null||n===void 0?void 0:n[t])!==null&&i!==void 0?i:GA[t])!==null&&o!==void 0?o:!1)}if(ju.experimental.includes(t)){var r,u,a;return e.experimental==="all"||((a=(u=e==null||(r=e.experimental)===null||r===void 0?void 0:r[t])!==null&&u!==void 0?u:GA[t])!==null&&a!==void 0?a:!1)}return!1}function HA(e){if(e.experimental==="all")return ju.experimental;var t;return Object.keys((t=e==null?void 0:e.experimental)!==null&&t!==void 0?t:{}).filter(n=>ju.experimental.includes(n)&&e.experimental[n])}function y9(e){if(process.env.JEST_WORKER_ID===void 0&&HA(e).length>0){let t=HA(e).map(n=>f9.default.yellow(n)).join(", ");h9.default.warn("experimental-flags-enabled",[`You have enabled experimental features: ${t}`,"Experimental features in Tailwind CSS are not covered by semver, may introduce breaking changes, and can change at any time."])}}var b9=ju});var Nd=me(B1=>{"use strict";Object.defineProperty(B1,"__esModule",{value:!0});function g9(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}g9(B1,{updateAllClasses:function(){return S9},asValue:function(){return Lu},parseColorFormat:function(){return R1},asColor:function(){return nP},asLookupValue:function(){return iP},typeMap:function(){return Od},coerceValue:function(){return w9},getMatchingTypes:function(){return sP}});var v9=ZA(Cd()),JA=kd(),zn=Fu(),YA=ZA(Id()),T9=KA(),E9=Ua();function ZA(e){return e&&e.__esModule?e:{default:e}}function S9(e,t){e.walkClasses(n=>{n.value=t(n.value),n.raws&&n.raws.value&&(n.raws.value=(0,v9.default)(n.raws.value))})}function eP(e,t){if(!ra(e))return;let n=e.slice(1,-1);if(t(n))return(0,zn.normalize)(n)}function x9(e,t={},n){let i=t[e];if(i!==void 0)return(0,YA.default)(i);if(ra(e)){let o=eP(e,n);return o===void 0?void 0:(0,YA.default)(o)}}function Lu(e,t={},{validate:n=()=>!0}={}){var i;let o=(i=t.values)===null||i===void 0?void 0:i[e];return o!==void 0?o:t.supportsNegativeValues&&e.startsWith("-")?x9(e.slice(1),t.values,n):eP(e,n)}function ra(e){return e.startsWith("[")&&e.endsWith("]")}function tP(e){let t=e.lastIndexOf("/"),n=e.lastIndexOf("[",t),i=e.indexOf("]",t);return e[t-1]==="]"||e[t+1]==="["||n!==-1&&i!==-1&&n<t&&t<i&&(t=e.lastIndexOf("/",n)),t===-1||t===e.length-1?[e,void 0]:ra(e)&&!e.includes("]/[")?[e,void 0]:[e.slice(0,t),e.slice(t+1)]}function R1(e){if(typeof e=="string"&&e.includes("<alpha-value>")){let t=e;return({opacityValue:n=1})=>t.replace("<alpha-value>",n)}return e}function rP(e){return(0,zn.normalize)(e.slice(1,-1))}function nP(e,t={},{tailwindConfig:n={}}={}){var i;if(((i=t.values)===null||i===void 0?void 0:i[e])!==void 0){var o;return R1((o=t.values)===null||o===void 0?void 0:o[e])}let[r,u]=tP(e);if(u!==void 0){var a,m,d,s;let l=(s=(a=t.values)===null||a===void 0?void 0:a[r])!==null&&s!==void 0?s:ra(r)?r.slice(1,-1):void 0;return l===void 0?void 0:(l=R1(l),ra(u)?(0,JA.withAlphaValue)(l,rP(u)):((m=n.theme)===null||m===void 0||(d=m.opacity)===null||d===void 0?void 0:d[u])===void 0?void 0:(0,JA.withAlphaValue)(l,n.theme.opacity[u]))}return Lu(e,t,{validate:zn.color})}function iP(e,t={}){var n;return(n=t.values)===null||n===void 0?void 0:n[e]}function li(e){return(t,n)=>Lu(t,n,{validate:e})}var Od={any:Lu,color:nP,url:li(zn.url),image:li(zn.image),length:li(zn.length),percentage:li(zn.percentage),position:li(zn.position),lookup:iP,"generic-name":li(zn.genericName),"family-name":li(zn.familyName),number:li(zn.number),"line-width":li(zn.lineWidth),"absolute-size":li(zn.absoluteSize),"relative-size":li(zn.relativeSize),shadow:li(zn.shadow),size:li(T9.backgroundSize)},QA=Object.keys(Od);function _9(e,t){let n=e.indexOf(t);return n===-1?[void 0,e]:[e.slice(0,n),e.slice(n+1)]}function w9(e,t,n,i){if(n.values&&t in n.values)for(let{type:r}of e??[]){let u=Od[r](t,n,{tailwindConfig:i});if(u!==void 0)return[u,r,null]}if(ra(t)){let r=t.slice(1,-1),[u,a]=_9(r,":");if(!/^[\w-_]+$/g.test(u))a=r;else if(u!==void 0&&!QA.includes(u))return[];if(a.length>0&&QA.includes(u))return[Lu(`[${a}]`,n),u,null]}let o=sP(e,t,n,i);for(let r of o)return r;return[]}function*sP(e,t,n,i){let o=(0,E9.flagEnabled)(i,"generalizedModifiers"),[r,u]=tP(t);if(o&&n.modifiers!=null&&(n.modifiers==="any"||typeof n.modifiers=="object"&&(u&&ra(u)||u in n.modifiers))||(r=t,u=void 0),u!==void 0&&r===""&&(r="DEFAULT"),u!==void 0&&typeof n.modifiers=="object"){var m,d;let s=(d=(m=n.modifiers)===null||m===void 0?void 0:m[u])!==null&&d!==void 0?d:null;s!==null?u=s:ra(u)&&(u=rP(u))}for(let{type:s}of e??[]){let l=Od[s](r,n,{tailwindConfig:i});l!==void 0&&(yield[l,s,u??null])}}});var U1=me((Tee,C9)=>{C9.exports={name:"tailwindcss",version:"3.4.1",description:"A utility-first CSS framework for rapidly building custom user interfaces.",license:"MIT",main:"lib/index.js",types:"types/index.d.ts",repository:"https://github.com/tailwindlabs/tailwindcss.git",bugs:"https://github.com/tailwindlabs/tailwindcss/issues",homepage:"https://tailwindcss.com",bin:{tailwind:"lib/cli.js",tailwindcss:"lib/cli.js"},tailwindcss:{engine:"stable"},scripts:{prebuild:"npm run generate && rimraf lib",build:`swc src --out-dir lib --copy-files --config jsc.transform.optimizer.globals.vars.__OXIDE__='"false"'`,postbuild:"esbuild lib/cli-peer-dependencies.js --bundle --platform=node --outfile=peers/index.js --define:process.env.CSS_TRANSFORMER_WASM=false","rebuild-fixtures":"npm run build && node -r @swc/register scripts/rebuildFixtures.js",style:"eslint .",pretest:"npm run generate",test:"jest","test:integrations":"npm run test --prefix ./integrations","install:integrations":"node scripts/install-integrations.js","generate:plugin-list":"node -r @swc/register scripts/create-plugin-list.js","generate:types":"node -r @swc/register scripts/generate-types.js",generate:"npm run generate:plugin-list && npm run generate:types","release-channel":"node ./scripts/release-channel.js","release-notes":"node ./scripts/release-notes.js",prepublishOnly:"npm install --force && npm run build"},files:["src/*","cli/*","lib/*","peers/*","scripts/*.js","stubs/*","nesting/*","types/**/*","*.d.ts","*.css","*.js"],devDependencies:{"@swc/cli":"^0.1.62","@swc/core":"^1.3.55","@swc/jest":"^0.2.26","@swc/register":"^0.1.10",autoprefixer:"^10.4.14",browserslist:"^4.21.5",concurrently:"^8.0.1",cssnano:"^6.0.0",esbuild:"^0.17.18",eslint:"^8.39.0","eslint-config-prettier":"^8.8.0","eslint-plugin-prettier":"^4.2.1",jest:"^29.6.0","jest-diff":"^29.6.0",lightningcss:"1.18.0",prettier:"^2.8.8",rimraf:"^5.0.0","source-map-js":"^1.0.2",turbo:"^1.9.3"},dependencies:{"@alloc/quick-lru":"^5.2.0",arg:"^5.0.2",chokidar:"^3.5.3",didyoumean:"^1.2.2",dlv:"^1.1.3","fast-glob":"^3.3.0","glob-parent":"^6.0.2","is-glob":"^4.0.3",jiti:"^1.19.1",lilconfig:"^2.1.0",micromatch:"^4.0.5","normalize-path":"^3.0.0","object-hash":"^3.0.0",picocolors:"^1.0.0",postcss:"^8.4.23","postcss-import":"^15.1.0","postcss-js":"^4.0.1","postcss-load-config":"^4.0.1","postcss-nested":"^6.0.1","postcss-selector-parser":"^6.0.11",resolve:"^1.22.2",sucrase:"^3.32.0"},browserslist:["> 1%","not edge <= 18","not ie 11","not op_mini all"],jest:{testTimeout:3e4,setupFilesAfterEnv:["<rootDir>/jest/customMatchers.js"],testPathIgnorePatterns:["/node_modules/","/integrations/","/standalone-cli/","\\.test\\.skip\\.js$"],transformIgnorePatterns:["node_modules/(?!lightningcss)"],transform:{"\\.js$":"@swc/jest","\\.ts$":"@swc/jest"}},engines:{node:">=14.0.0"}}});var Fd=me($1=>{"use strict";Object.defineProperty($1,"__esModule",{value:!0});function A9(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}A9($1,{env:function(){return k9},contextMap:function(){return D9},configContextMap:function(){return I9},contextSourcesMap:function(){return O9},sourceHashMap:function(){return N9},NOT_ON_DEMAND:function(){return F9},NONE:function(){return j9},resolveDebug:function(){return oP}});var aP=P9(U1());function P9(e){return e&&e.__esModule?e:{default:e}}var k9=typeof process<"u"?{NODE_ENV:process.env.NODE_ENV,DEBUG:oP(process.env.DEBUG),ENGINE:aP.default.tailwindcss.engine}:{NODE_ENV:"production",DEBUG:!1,ENGINE:aP.default.tailwindcss.engine},D9=new Map,I9=new Map,O9=new Map,N9=new Map,F9=new String("*"),j9=Symbol("__NONE__");function oP(e){if(e===void 0)return!1;if(e==="true"||e==="1")return!0;if(e==="false"||e==="0")return!1;if(e==="*")return!0;let t=e.split(",").map(n=>n.split(":")[0]);return t.includes("-tailwindcss")?!1:!!t.includes("tailwindcss")}});var Mu=me(V1=>{"use strict";Object.defineProperty(V1,"__esModule",{value:!0});Object.defineProperty(V1,"default",{enumerable:!0,get:function(){return R9}});var L9=lP(Qs()),M9=lP(Cd());function lP(e){return e&&e.__esModule?e:{default:e}}function R9(e){var t;let n=L9.default.className();n.value=e;var i;return(0,M9.default)((i=n==null||(t=n.raws)===null||t===void 0?void 0:t.value)!==null&&i!==void 0?i:n.value)}});var z1=me(K1=>{"use strict";Object.defineProperty(K1,"__esModule",{value:!0});Object.defineProperty(K1,"movePseudos",{enumerable:!0,get:function(){return B9}});var q1={"::after":["terminal","jumpable"],"::backdrop":["terminal","jumpable"],"::before":["terminal","jumpable"],"::cue":["terminal"],"::cue-region":["terminal"],"::first-letter":["terminal","jumpable"],"::first-line":["terminal","jumpable"],"::grammar-error":["terminal"],"::marker":["terminal","jumpable"],"::part":["terminal","actionable"],"::placeholder":["terminal","jumpable"],"::selection":["terminal","jumpable"],"::slotted":["terminal"],"::spelling-error":["terminal"],"::target-text":["terminal"],"::file-selector-button":["terminal","actionable"],"::deep":["actionable"],"::v-deep":["actionable"],"::ng-deep":["actionable"],":after":["terminal","jumpable"],":before":["terminal","jumpable"],":first-letter":["terminal","jumpable"],":first-line":["terminal","jumpable"],":where":[],":is":[],":has":[],__default__:["terminal","actionable"]};function B9(e){let[t]=uP(e);return t.forEach(([n,i])=>n.removeChild(i)),e.nodes.push(...t.map(([,n])=>n)),e}function uP(e){let t=[],n=null;for(let o of e.nodes)if(o.type==="combinator")t=t.filter(([,r])=>W1(r).includes("jumpable")),n=null;else if(o.type==="pseudo"){U9(o)?(n=o,t.push([e,o,null])):n&&$9(o,n)?t.push([e,o,n]):n=null;var i;for(let r of(i=o.nodes)!==null&&i!==void 0?i:[]){let[u,a]=uP(r);n=a||n,t.push(...u)}}return[t,n]}function cP(e){return e.value.startsWith("::")||q1[e.value]!==void 0}function U9(e){return cP(e)&&W1(e).includes("terminal")}function $9(e,t){return e.type!=="pseudo"||cP(e)?!1:W1(t).includes("actionable")}function W1(e){var t;return(t=q1[e.value])!==null&&t!==void 0?t:q1.__default__}});var X1=me(H1=>{"use strict";Object.defineProperty(H1,"__esModule",{value:!0});function V9(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}V9(H1,{formatVariantSelector:function(){return fP},eliminateIrrelevantSelectors:function(){return hP},finalizeSelector:function(){return H9},handleMergePseudo:function(){return mP}});var As=jd(Qs()),q9=jd(pd()),dP=jd(Mu()),W9=jd(wd()),K9=z1(),z9=Oo();function jd(e){return e&&e.__esModule?e:{default:e}}var G1=":merge";function fP(e,{context:t,candidate:n}){var i;let o=(i=t==null?void 0:t.tailwindConfig.prefix)!==null&&i!==void 0?i:"",r=e.map(a=>{let m=(0,As.default)().astSync(a.format);return{...a,ast:a.respectPrefix?(0,W9.default)(o,m):m}}),u=As.default.root({nodes:[As.default.selector({nodes:[As.default.className({value:(0,dP.default)(n)})]})]});for(let{ast:a}of r)[u,a]=mP(u,a),a.walkNesting(m=>m.replaceWith(...u.nodes[0].nodes)),u=a;return u}function pP(e){let t=[];for(;e.prev()&&e.prev().type!=="combinator";)e=e.prev();for(;e&&e.type!=="combinator";)t.push(e),e=e.next();return t}function G9(e){return e.sort((t,n)=>t.type==="tag"&&n.type==="class"?-1:t.type==="class"&&n.type==="tag"?1:t.type==="class"&&n.type==="pseudo"&&n.value.startsWith("::")?-1:t.type==="pseudo"&&t.value.startsWith("::")&&n.type==="class"?1:e.index(t)-e.index(n)),e}function hP(e,t){let n=!1;e.walk(i=>{if(i.type==="class"&&i.value===t)return n=!0,!1}),n||e.remove()}function H9(e,t,{context:n,candidate:i,base:o}){var r,u;let a=(u=n==null||(r=n.tailwindConfig)===null||r===void 0?void 0:r.separator)!==null&&u!==void 0?u:":";o=o??(0,z9.splitAtTopLevelOnly)(i,a).pop();let m=(0,As.default)().astSync(e);if(m.walkClasses(f=>{f.raws&&f.value.includes(o)&&(f.raws.value=(0,dP.default)((0,q9.default)(f.raws.value)))}),m.each(f=>hP(f,o)),m.length===0)return null;let d=Array.isArray(t)?fP(t,{context:n,candidate:i}):t;if(d===null)return m.toString();let s=As.default.comment({value:"/*__simple__*/"}),l=As.default.comment({value:"/*__simple__*/"});return m.walkClasses(f=>{if(f.value!==o)return;let p=f.parent,h=d.nodes[0].nodes;if(p.nodes.length===1){f.replaceWith(...h);return}let y=pP(f);p.insertBefore(y[0],s),p.insertAfter(y[y.length-1],l);for(let E of h)p.insertBefore(y[0],E.clone());f.remove(),y=pP(s);let b=p.index(s);p.nodes.splice(b,y.length,...G9(As.default.selector({nodes:y})).nodes),s.remove(),l.remove()}),m.walkPseudos(f=>{f.value===G1&&f.replaceWith(f.nodes)}),m.each(f=>(0,K9.movePseudos)(f)),m.toString()}function mP(e,t){let n=[];return e.walkPseudos(i=>{i.value===G1&&n.push({pseudo:i,value:i.nodes[0].toString()})}),t.walkPseudos(i=>{if(i.value!==G1)return;let o=i.nodes[0].toString(),r=n.find(d=>d.value===o);if(!r)return;let u=[],a=i.next();for(;a&&a.type!=="combinator";)u.push(a),a=a.next();let m=a;r.pseudo.parent.insertAfter(r.pseudo,As.default.selector({nodes:u.map(d=>d.clone())})),i.remove(),u.forEach(d=>d.remove()),m&&m.type==="combinator"&&m.remove()}),[e,t]}});var Y1=me(J1=>{"use strict";Object.defineProperty(J1,"__esModule",{value:!0});function X9(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}X9(J1,{asClass:function(){return bP},default:function(){return Q9},formatClass:function(){return gP}});var J9=yP(Mu()),Y9=yP(Cd());function yP(e){return e&&e.__esModule?e:{default:e}}function bP(e){return(0,Y9.default)(`.${(0,J9.default)(e)}`)}function Q9(e,t){return bP(gP(e,t))}function gP(e,t){return t==="DEFAULT"?e:t==="-"||t==="-DEFAULT"?`-${e}`:t.startsWith("-")?`-${e}${t}`:t.startsWith("/")?`${e}${t}`:`${e}-${t}`}});var TP=me((Cee,vP)=>{vP.exports=function(e,t,n,i,o){for(t=t.split?t.split("."):t,i=0;i<t.length;i++)e=e?e[t[i]]:o;return e===o?n:e}});var Ld=me(Q1=>{"use strict";Object.defineProperty(Q1,"__esModule",{value:!0});Object.defineProperty(Q1,"default",{enumerable:!0,get:function(){return tU}});var Z9=EP(Bi()),eU=EP(Io());function EP(e){return e&&e.__esModule?e:{default:e}}function tU(e){return["fontSize","outline"].includes(e)?t=>(typeof t=="function"&&(t=t({})),Array.isArray(t)&&(t=t[0]),t):e==="fontFamily"?t=>{typeof t=="function"&&(t=t({}));let n=Array.isArray(t)&&(0,eU.default)(t[1])?t[0]:t;return Array.isArray(n)?n.join(", "):n}:["boxShadow","transitionProperty","transitionDuration","transitionDelay","transitionTimingFunction","backgroundImage","backgroundSize","backgroundColor","cursor","animation"].includes(e)?t=>(typeof t=="function"&&(t=t({})),Array.isArray(t)&&(t=t.join(", ")),t):["gridTemplateColumns","gridTemplateRows","objectPosition"].includes(e)?t=>(typeof t=="function"&&(t=t({})),typeof t=="string"&&(t=Z9.default.list.comma(t).join(" ")),t):(t,n={})=>(typeof t=="function"&&(t=t(n)),t)}});var SP=me(Z1=>{"use strict";Object.defineProperty(Z1,"__esModule",{value:!0});Object.defineProperty(Z1,"default",{enumerable:!0,get:function(){return iU}});var rU=nU(Ld());function nU(e){return e&&e.__esModule?e:{default:e}}function iU(e,t=[[e,[e]]],{filterDefault:n=!1,...i}={}){let o=(0,rU.default)(e);return function({matchUtilities:r,theme:u}){for(let m of t){let d=Array.isArray(m[0])?m:[m];var a;r(d.reduce((s,[l,f])=>Object.assign(s,{[l]:p=>f.reduce((h,y)=>Array.isArray(y)?Object.assign(h,{[y[0]]:y[1]}):Object.assign(h,{[y]:o(p)}),{})}),{}),{...i,values:n?Object.fromEntries(Object.entries((a=u(e))!==null&&a!==void 0?a:{}).filter(([s])=>s!=="DEFAULT")):u(e)})}}}});var xP=me(eb=>{"use strict";Object.defineProperty(eb,"__esModule",{value:!0});Object.defineProperty(eb,"default",{enumerable:!0,get:function(){return sU}});function sU(e){return e=Array.isArray(e)?e:[e],e.map(t=>{let n=t.values.map(i=>i.raw!==void 0?i.raw:[i.min&&`(min-width: ${i.min})`,i.max&&`(max-width: ${i.max})`].filter(Boolean).join(" and "));return t.not?`not all and ${n}`:n}).join(", ")}});var wP=me(tb=>{"use strict";Object.defineProperty(tb,"__esModule",{value:!0});Object.defineProperty(tb,"default",{enumerable:!0,get:function(){return mU}});var aU=new Set(["normal","reverse","alternate","alternate-reverse"]),oU=new Set(["running","paused"]),lU=new Set(["none","forwards","backwards","both"]),uU=new Set(["infinite"]),cU=new Set(["linear","ease","ease-in","ease-out","ease-in-out","step-start","step-end"]),pU=["cubic-bezier","steps"],dU=/\,(?![^(]*\))/g,fU=/\ +(?![^(]*\))/g,_P=/^(-?[\d.]+m?s)$/,hU=/^(\d+)$/;function mU(e){return e.split(dU).map(n=>{let i=n.trim(),o={value:i},r=i.split(fU),u=new Set;for(let a of r)!u.has("DIRECTIONS")&&aU.has(a)?(o.direction=a,u.add("DIRECTIONS")):!u.has("PLAY_STATES")&&oU.has(a)?(o.playState=a,u.add("PLAY_STATES")):!u.has("FILL_MODES")&&lU.has(a)?(o.fillMode=a,u.add("FILL_MODES")):!u.has("ITERATION_COUNTS")&&(uU.has(a)||hU.test(a))?(o.iterationCount=a,u.add("ITERATION_COUNTS")):!u.has("TIMING_FUNCTION")&&cU.has(a)||!u.has("TIMING_FUNCTION")&&pU.some(m=>a.startsWith(`${m}(`))?(o.timingFunction=a,u.add("TIMING_FUNCTION")):!u.has("DURATION")&&_P.test(a)?(o.duration=a,u.add("DURATION")):!u.has("DELAY")&&_P.test(a)?(o.delay=a,u.add("DELAY")):u.has("NAME")?(o.unknown||(o.unknown=[]),o.unknown.push(a)):(o.name=a,u.add("NAME"));return o})}});var AP=me(rb=>{"use strict";Object.defineProperty(rb,"__esModule",{value:!0});Object.defineProperty(rb,"default",{enumerable:!0,get:function(){return yU}});var CP=e=>Object.assign({},...Object.entries(e??{}).flatMap(([t,n])=>typeof n=="object"?Object.entries(CP(n)).map(([i,o])=>({[t+(i==="DEFAULT"?"":`-${i}`)]:o})):[{[`${t}`]:n}])),yU=CP});var ib=me(nb=>{"use strict";Object.defineProperty(nb,"__esModule",{value:!0});Object.defineProperty(nb,"default",{enumerable:!0,get:function(){return bU}});function bU(e){return typeof e=="function"?e({}):e}});var DP=me(ob=>{"use strict";Object.defineProperty(ob,"__esModule",{value:!0});function gU(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}gU(ob,{normalizeScreens:function(){return kP},isScreenSortable:function(){return sb},compareScreens:function(){return vU},toScreen:function(){return ab}});function kP(e,t=!0){return Array.isArray(e)?e.map(n=>{if(t&&Array.isArray(n))throw new Error("The tuple syntax is not supported for `screens`.");if(typeof n=="string")return{name:n.toString(),not:!1,values:[{min:n,max:void 0}]};let[i,o]=n;return i=i.toString(),typeof o=="string"?{name:i,not:!1,values:[{min:o,max:void 0}]}:Array.isArray(o)?{name:i,not:!1,values:o.map(r=>PP(r))}:{name:i,not:!1,values:[PP(o)]}}):kP(Object.entries(e??{}),!1)}function sb(e){return e.values.length!==1?{result:!1,reason:"multiple-values"}:e.values[0].raw!==void 0?{result:!1,reason:"raw-values"}:e.values[0].min!==void 0&&e.values[0].max!==void 0?{result:!1,reason:"min-and-max"}:{result:!0,reason:null}}function vU(e,t,n){let i=ab(t,e),o=ab(n,e),r=sb(i),u=sb(o);if(r.reason==="multiple-values"||u.reason==="multiple-values")throw new Error("Attempted to sort a screen with multiple values. This should never happen. Please open a bug report.");if(r.reason==="raw-values"||u.reason==="raw-values")throw new Error("Attempted to sort a screen with raw values. This should never happen. Please open a bug report.");if(r.reason==="min-and-max"||u.reason==="min-and-max")throw new Error("Attempted to sort a screen with both min and max values. This should never happen. Please open a bug report.");let{min:a,max:m}=i.values[0],{min:d,max:s}=o.values[0];t.not&&([a,m]=[m,a]),n.not&&([d,s]=[s,d]),a=a===void 0?a:parseFloat(a),m=m===void 0?m:parseFloat(m),d=d===void 0?d:parseFloat(d),s=s===void 0?s:parseFloat(s);let[l,f]=e==="min"?[a,d]:[s,m];return l-f}function ab(e,t){return typeof e=="object"?e:{name:"arbitrary-screen",values:[{[t]:e}]}}function PP({"min-width":e,min:t=e,max:n,raw:i}={}){return{min:t,max:n,raw:i}}});var IP=me(lb=>{"use strict";Object.defineProperty(lb,"__esModule",{value:!0});Object.defineProperty(lb,"removeAlphaVariables",{enumerable:!0,get:function(){return TU}});function TU(e,t){e.walkDecls(n=>{if(t.includes(n.prop)){n.remove();return}for(let i of t)n.value.includes(`/ var(${i})`)&&(n.value=n.value.replace(`/ var(${i})`,""))})}});var MP=me(db=>{"use strict";Object.defineProperty(db,"__esModule",{value:!0});function EU(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}EU(db,{variantPlugins:function(){return PU},corePlugins:function(){return kU}});var SU=Vi(yt("fs")),xU=LP(yt("path")),Md=Vi(Bi()),kt=Vi(SP()),OP=Vi(xP()),cb=Vi(Mu()),_U=Vi(wP()),jn=Vi(AP()),$n=LP(kd()),Lr=Vi(ib()),NP=Vi(Io()),wU=Vi(Ld()),CU=U1(),No=Vi(Ba()),Ru=DP(),FP=D1(),ub=IP(),pb=Ua(),Ln=Fu(),AU=Rd();function Vi(e){return e&&e.__esModule?e:{default:e}}function jP(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,n=new WeakMap;return(jP=function(i){return i?n:t})(e)}function LP(e,t){if(!t&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var n=jP(t);if(n&&n.has(e))return n.get(e);var i={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if(r!=="default"&&Object.prototype.hasOwnProperty.call(e,r)){var u=o?Object.getOwnPropertyDescriptor(e,r):null;u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=e[r]}return i.default=e,n&&n.set(e,i),i}var PU={childVariant:({addVariant:e})=>{e("*","& > *")},pseudoElementVariants:({addVariant:e})=>{e("first-letter","&::first-letter"),e("first-line","&::first-line"),e("marker",[({container:t})=>((0,ub.removeAlphaVariables)(t,["--tw-text-opacity"]),"& *::marker"),({container:t})=>((0,ub.removeAlphaVariables)(t,["--tw-text-opacity"]),"&::marker")]),e("selection",["& *::selection","&::selection"]),e("file","&::file-selector-button"),e("placeholder","&::placeholder"),e("backdrop","&::backdrop"),e("before",({container:t})=>(t.walkRules(n=>{let i=!1;n.walkDecls("content",()=>{i=!0}),i||n.prepend(Md.default.decl({prop:"content",value:"var(--tw-content)"}))}),"&::before")),e("after",({container:t})=>(t.walkRules(n=>{let i=!1;n.walkDecls("content",()=>{i=!0}),i||n.prepend(Md.default.decl({prop:"content",value:"var(--tw-content)"}))}),"&::after"))},pseudoClassVariants:({addVariant:e,matchVariant:t,config:n,prefix:i})=>{let o=[["first","&:first-child"],["last","&:last-child"],["only","&:only-child"],["odd","&:nth-child(odd)"],["even","&:nth-child(even)"],"first-of-type","last-of-type","only-of-type",["visited",({container:u})=>((0,ub.removeAlphaVariables)(u,["--tw-text-opacity","--tw-border-opacity","--tw-bg-opacity"]),"&:visited")],"target",["open","&[open]"],"default","checked","indeterminate","placeholder-shown","autofill","optional","required","valid","invalid","in-range","out-of-range","read-only","empty","focus-within",["hover",(0,pb.flagEnabled)(n(),"hoverOnlyWhenSupported")?"@media (hover: hover) and (pointer: fine) { &:hover }":"&:hover"],"focus","focus-visible","active","enabled","disabled"].map(u=>Array.isArray(u)?u:[u,`&:${u}`]);for(let[u,a]of o)e(u,m=>typeof a=="function"?a(m):a);let r={group:(u,{modifier:a})=>a?[`:merge(${i(".group")}\\/${(0,cb.default)(a)})`," &"]:[`:merge(${i(".group")})`," &"],peer:(u,{modifier:a})=>a?[`:merge(${i(".peer")}\\/${(0,cb.default)(a)})`," ~ &"]:[`:merge(${i(".peer")})`," ~ &"]};for(let[u,a]of Object.entries(r))t(u,(m="",d)=>{let s=(0,Ln.normalize)(typeof m=="function"?m(d):m);s.includes("&")||(s="&"+s);let[l,f]=a("",d),p=null,h=null,y=0;for(let b=0;b<s.length;++b){let E=s[b];E==="&"?p=b:E==="'"||E==='"'?y+=1:p!==null&&E===" "&&!y&&(h=b)}return p!==null&&h===null&&(h=s.length),s.slice(0,p)+l+s.slice(p+1,h)+f+s.slice(h)},{values:Object.fromEntries(o),[AU.INTERNAL_FEATURES]:{respectPrefix:!1}})},directionVariants:({addVariant:e})=>{e("ltr",'&:where([dir="ltr"], [dir="ltr"] *)'),e("rtl",'&:where([dir="rtl"], [dir="rtl"] *)')},reducedMotionVariants:({addVariant:e})=>{e("motion-safe","@media (prefers-reduced-motion: no-preference)"),e("motion-reduce","@media (prefers-reduced-motion: reduce)")},darkVariants:({config:e,addVariant:t})=>{let[n,i=".dark"]=[].concat(e("darkMode","media"));if(n===!1&&(n="media",No.default.warn("darkmode-false",["The `darkMode` option in your Tailwind CSS configuration is set to `false`, which now behaves the same as `media`.","Change `darkMode` to `media` or remove it entirely.","https://tailwindcss.com/docs/upgrade-guide#remove-dark-mode-configuration"])),n==="variant"){let o;if(Array.isArray(i)||typeof i=="function"?o=i:typeof i=="string"&&(o=[i]),Array.isArray(o))for(let r of o)r===".dark"?(n=!1,No.default.warn("darkmode-variant-without-selector",["When using `variant` for `darkMode`, you must provide a selector.",'Example: `darkMode: ["variant", ".your-selector &"]`'])):r.includes("&")||(n=!1,No.default.warn("darkmode-variant-without-ampersand",["When using `variant` for `darkMode`, your selector must contain `&`.",'Example `darkMode: ["variant", ".your-selector &"]`']));i=o}n==="selector"?t("dark",`&:where(${i}, ${i} *)`):n==="media"?t("dark","@media (prefers-color-scheme: dark)"):n==="variant"?t("dark",i):n==="class"&&t("dark",`:is(${i} &)`)},printVariant:({addVariant:e})=>{e("print","@media print")},screenVariants:({theme:e,addVariant:t,matchVariant:n})=>{var i;let o=(i=e("screens"))!==null&&i!==void 0?i:{},r=Object.values(o).every(v=>typeof v=="string"),u=(0,Ru.normalizeScreens)(e("screens")),a=new Set([]);function m(v){var S,w;return(w=(S=v.match(/(\D+)$/))===null||S===void 0?void 0:S[1])!==null&&w!==void 0?w:"(none)"}function d(v){v!==void 0&&a.add(m(v))}function s(v){return d(v),a.size===1}for(let v of u)for(let S of v.values)d(S.min),d(S.max);let l=a.size<=1;function f(v){return Object.fromEntries(u.filter(S=>(0,Ru.isScreenSortable)(S).result).map(S=>{let{min:w,max:A}=S.values[0];if(v==="min"&&w!==void 0)return S;if(v==="min"&&A!==void 0)return{...S,not:!S.not};if(v==="max"&&A!==void 0)return S;if(v==="max"&&w!==void 0)return{...S,not:!S.not}}).map(S=>[S.name,S]))}function p(v){return(S,w)=>(0,Ru.compareScreens)(v,S.value,w.value)}let h=p("max"),y=p("min");function b(v){return S=>{if(r)if(l){if(typeof S=="string"&&!s(S))return No.default.warn("minmax-have-mixed-units",["The `min-*` and `max-*` variants are not supported with a `screens` configuration containing mixed units."]),[]}else return No.default.warn("mixed-screen-units",["The `min-*` and `max-*` variants are not supported with a `screens` configuration containing mixed units."]),[];else return No.default.warn("complex-screen-config",["The `min-*` and `max-*` variants are not supported with a `screens` configuration containing objects."]),[];return[`@media ${(0,OP.default)((0,Ru.toScreen)(S,v))}`]}}n("max",b("max"),{sort:h,values:r?f("max"):{}});let E="min-screens";for(let v of u)t(v.name,`@media ${(0,OP.default)(v)}`,{id:E,sort:r&&l?y:void 0,value:v});n("min",b("min"),{id:E,sort:y})},supportsVariants:({matchVariant:e,theme:t})=>{var n;e("supports",(i="")=>{let o=(0,Ln.normalize)(i),r=/^\w*\s*\(/.test(o);return o=r?o.replace(/\b(and|or|not)\b/g," $1 "):o,r?`@supports ${o}`:(o.includes(":")||(o=`${o}: var(--tw)`),o.startsWith("(")&&o.endsWith(")")||(o=`(${o})`),`@supports ${o}`)},{values:(n=t("supports"))!==null&&n!==void 0?n:{}})},hasVariants:({matchVariant:e})=>{e("has",t=>`&:has(${(0,Ln.normalize)(t)})`,{values:{}}),e("group-has",(t,{modifier:n})=>n?`:merge(.group\\/${n}):has(${(0,Ln.normalize)(t)}) &`:`:merge(.group):has(${(0,Ln.normalize)(t)}) &`,{values:{}}),e("peer-has",(t,{modifier:n})=>n?`:merge(.peer\\/${n}):has(${(0,Ln.normalize)(t)}) ~ &`:`:merge(.peer):has(${(0,Ln.normalize)(t)}) ~ &`,{values:{}})},ariaVariants:({matchVariant:e,theme:t})=>{var n;e("aria",r=>`&[aria-${(0,Ln.normalize)(r)}]`,{values:(n=t("aria"))!==null&&n!==void 0?n:{}});var i;e("group-aria",(r,{modifier:u})=>u?`:merge(.group\\/${u})[aria-${(0,Ln.normalize)(r)}] &`:`:merge(.group)[aria-${(0,Ln.normalize)(r)}] &`,{values:(i=t("aria"))!==null&&i!==void 0?i:{}});var o;e("peer-aria",(r,{modifier:u})=>u?`:merge(.peer\\/${u})[aria-${(0,Ln.normalize)(r)}] ~ &`:`:merge(.peer)[aria-${(0,Ln.normalize)(r)}] ~ &`,{values:(o=t("aria"))!==null&&o!==void 0?o:{}})},dataVariants:({matchVariant:e,theme:t})=>{var n;e("data",r=>`&[data-${(0,Ln.normalize)(r)}]`,{values:(n=t("data"))!==null&&n!==void 0?n:{}});var i;e("group-data",(r,{modifier:u})=>u?`:merge(.group\\/${u})[data-${(0,Ln.normalize)(r)}] &`:`:merge(.group)[data-${(0,Ln.normalize)(r)}] &`,{values:(i=t("data"))!==null&&i!==void 0?i:{}});var o;e("peer-data",(r,{modifier:u})=>u?`:merge(.peer\\/${u})[data-${(0,Ln.normalize)(r)}] ~ &`:`:merge(.peer)[data-${(0,Ln.normalize)(r)}] ~ &`,{values:(o=t("data"))!==null&&o!==void 0?o:{}})},orientationVariants:({addVariant:e})=>{e("portrait","@media (orientation: portrait)"),e("landscape","@media (orientation: landscape)")},prefersContrastVariants:({addVariant:e})=>{e("contrast-more","@media (prefers-contrast: more)"),e("contrast-less","@media (prefers-contrast: less)")},forcedColorsVariants:({addVariant:e})=>{e("forced-colors","@media (forced-colors: active)")}},$i=["translate(var(--tw-translate-x), var(--tw-translate-y))","rotate(var(--tw-rotate))","skewX(var(--tw-skew-x))","skewY(var(--tw-skew-y))","scaleX(var(--tw-scale-x))","scaleY(var(--tw-scale-y))"].join(" "),ss=["var(--tw-blur)","var(--tw-brightness)","var(--tw-contrast)","var(--tw-grayscale)","var(--tw-hue-rotate)","var(--tw-invert)","var(--tw-saturate)","var(--tw-sepia)","var(--tw-drop-shadow)"].join(" "),as=["var(--tw-backdrop-blur)","var(--tw-backdrop-brightness)","var(--tw-backdrop-contrast)","var(--tw-backdrop-grayscale)","var(--tw-backdrop-hue-rotate)","var(--tw-backdrop-invert)","var(--tw-backdrop-opacity)","var(--tw-backdrop-saturate)","var(--tw-backdrop-sepia)"].join(" "),kU={preflight:({addBase:e})=>{let t=Md.default.parse(SU.default.readFileSync(xU.join(__dirname,"./css/preflight.css"),"utf8"));e([Md.default.comment({text:`! tailwindcss v${CU.version} | MIT License | https://tailwindcss.com`}),...t.nodes])},container:(()=>{function e(n=[]){return n.flatMap(i=>i.values.map(o=>o.min)).filter(i=>i!==void 0)}function t(n,i,o){if(typeof o>"u")return[];if(!(typeof o=="object"&&o!==null))return[{screen:"DEFAULT",minWidth:0,padding:o}];let r=[];o.DEFAULT&&r.push({screen:"DEFAULT",minWidth:0,padding:o.DEFAULT});for(let u of n)for(let a of i)for(let{min:m}of a.values)m===u&&r.push({minWidth:u,padding:o[a.name]});return r}return function({addComponents:n,theme:i}){let o=(0,Ru.normalizeScreens)(i("container.screens",i("screens"))),r=e(o),u=t(r,o,i("container.padding")),a=d=>{let s=u.find(l=>l.minWidth===d);return s?{paddingRight:s.padding,paddingLeft:s.padding}:{}},m=Array.from(new Set(r.slice().sort((d,s)=>parseInt(d)-parseInt(s)))).map(d=>({[`@media (min-width: ${d})`]:{".container":{"max-width":d,...a(d)}}}));n([{".container":Object.assign({width:"100%"},i("container.center",!1)?{marginRight:"auto",marginLeft:"auto"}:{},a(0))},...m])}})(),accessibility:({addUtilities:e})=>{e({".sr-only":{position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0"},".not-sr-only":{position:"static",width:"auto",height:"auto",padding:"0",margin:"0",overflow:"visible",clip:"auto",whiteSpace:"normal"}})},pointerEvents:({addUtilities:e})=>{e({".pointer-events-none":{"pointer-events":"none"},".pointer-events-auto":{"pointer-events":"auto"}})},visibility:({addUtilities:e})=>{e({".visible":{visibility:"visible"},".invisible":{visibility:"hidden"},".collapse":{visibility:"collapse"}})},position:({addUtilities:e})=>{e({".static":{position:"static"},".fixed":{position:"fixed"},".absolute":{position:"absolute"},".relative":{position:"relative"},".sticky":{position:"sticky"}})},inset:(0,kt.default)("inset",[["inset",["inset"]],[["inset-x",["left","right"]],["inset-y",["top","bottom"]]],[["start",["inset-inline-start"]],["end",["inset-inline-end"]],["top",["top"]],["right",["right"]],["bottom",["bottom"]],["left",["left"]]]],{supportsNegativeValues:!0}),isolation:({addUtilities:e})=>{e({".isolate":{isolation:"isolate"},".isolation-auto":{isolation:"auto"}})},zIndex:(0,kt.default)("zIndex",[["z",["zIndex"]]],{supportsNegativeValues:!0}),order:(0,kt.default)("order",void 0,{supportsNegativeValues:!0}),gridColumn:(0,kt.default)("gridColumn",[["col",["gridColumn"]]]),gridColumnStart:(0,kt.default)("gridColumnStart",[["col-start",["gridColumnStart"]]]),gridColumnEnd:(0,kt.default)("gridColumnEnd",[["col-end",["gridColumnEnd"]]]),gridRow:(0,kt.default)("gridRow",[["row",["gridRow"]]]),gridRowStart:(0,kt.default)("gridRowStart",[["row-start",["gridRowStart"]]]),gridRowEnd:(0,kt.default)("gridRowEnd",[["row-end",["gridRowEnd"]]]),float:({addUtilities:e})=>{e({".float-start":{float:"inline-start"},".float-end":{float:"inline-end"},".float-right":{float:"right"},".float-left":{float:"left"},".float-none":{float:"none"}})},clear:({addUtilities:e})=>{e({".clear-start":{clear:"inline-start"},".clear-end":{clear:"inline-end"},".clear-left":{clear:"left"},".clear-right":{clear:"right"},".clear-both":{clear:"both"},".clear-none":{clear:"none"}})},margin:(0,kt.default)("margin",[["m",["margin"]],[["mx",["margin-left","margin-right"]],["my",["margin-top","margin-bottom"]]],[["ms",["margin-inline-start"]],["me",["margin-inline-end"]],["mt",["margin-top"]],["mr",["margin-right"]],["mb",["margin-bottom"]],["ml",["margin-left"]]]],{supportsNegativeValues:!0}),boxSizing:({addUtilities:e})=>{e({".box-border":{"box-sizing":"border-box"},".box-content":{"box-sizing":"content-box"}})},lineClamp:({matchUtilities:e,addUtilities:t,theme:n})=>{e({"line-clamp":i=>({overflow:"hidden",display:"-webkit-box","-webkit-box-orient":"vertical","-webkit-line-clamp":`${i}`})},{values:n("lineClamp")}),t({".line-clamp-none":{overflow:"visible",display:"block","-webkit-box-orient":"horizontal","-webkit-line-clamp":"none"}})},display:({addUtilities:e})=>{e({".block":{display:"block"},".inline-block":{display:"inline-block"},".inline":{display:"inline"},".flex":{display:"flex"},".inline-flex":{display:"inline-flex"},".table":{display:"table"},".inline-table":{display:"inline-table"},".table-caption":{display:"table-caption"},".table-cell":{display:"table-cell"},".table-column":{display:"table-column"},".table-column-group":{display:"table-column-group"},".table-footer-group":{display:"table-footer-group"},".table-header-group":{display:"table-header-group"},".table-row-group":{display:"table-row-group"},".table-row":{display:"table-row"},".flow-root":{display:"flow-root"},".grid":{display:"grid"},".inline-grid":{display:"inline-grid"},".contents":{display:"contents"},".list-item":{display:"list-item"},".hidden":{display:"none"}})},aspectRatio:(0,kt.default)("aspectRatio",[["aspect",["aspect-ratio"]]]),size:(0,kt.default)("size",[["size",["width","height"]]]),height:(0,kt.default)("height",[["h",["height"]]]),maxHeight:(0,kt.default)("maxHeight",[["max-h",["maxHeight"]]]),minHeight:(0,kt.default)("minHeight",[["min-h",["minHeight"]]]),width:(0,kt.default)("width",[["w",["width"]]]),minWidth:(0,kt.default)("minWidth",[["min-w",["minWidth"]]]),maxWidth:(0,kt.default)("maxWidth",[["max-w",["maxWidth"]]]),flex:(0,kt.default)("flex"),flexShrink:(0,kt.default)("flexShrink",[["flex-shrink",["flex-shrink"]],["shrink",["flex-shrink"]]]),flexGrow:(0,kt.default)("flexGrow",[["flex-grow",["flex-grow"]],["grow",["flex-grow"]]]),flexBasis:(0,kt.default)("flexBasis",[["basis",["flex-basis"]]]),tableLayout:({addUtilities:e})=>{e({".table-auto":{"table-layout":"auto"},".table-fixed":{"table-layout":"fixed"}})},captionSide:({addUtilities:e})=>{e({".caption-top":{"caption-side":"top"},".caption-bottom":{"caption-side":"bottom"}})},borderCollapse:({addUtilities:e})=>{e({".border-collapse":{"border-collapse":"collapse"},".border-separate":{"border-collapse":"separate"}})},borderSpacing:({addDefaults:e,matchUtilities:t,theme:n})=>{e("border-spacing",{"--tw-border-spacing-x":0,"--tw-border-spacing-y":0}),t({"border-spacing":i=>({"--tw-border-spacing-x":i,"--tw-border-spacing-y":i,"@defaults border-spacing":{},"border-spacing":"var(--tw-border-spacing-x) var(--tw-border-spacing-y)"}),"border-spacing-x":i=>({"--tw-border-spacing-x":i,"@defaults border-spacing":{},"border-spacing":"var(--tw-border-spacing-x) var(--tw-border-spacing-y)"}),"border-spacing-y":i=>({"--tw-border-spacing-y":i,"@defaults border-spacing":{},"border-spacing":"var(--tw-border-spacing-x) var(--tw-border-spacing-y)"})},{values:n("borderSpacing")})},transformOrigin:(0,kt.default)("transformOrigin",[["origin",["transformOrigin"]]]),translate:(0,kt.default)("translate",[[["translate-x",[["@defaults transform",{}],"--tw-translate-x",["transform",$i]]],["translate-y",[["@defaults transform",{}],"--tw-translate-y",["transform",$i]]]]],{supportsNegativeValues:!0}),rotate:(0,kt.default)("rotate",[["rotate",[["@defaults transform",{}],"--tw-rotate",["transform",$i]]]],{supportsNegativeValues:!0}),skew:(0,kt.default)("skew",[[["skew-x",[["@defaults transform",{}],"--tw-skew-x",["transform",$i]]],["skew-y",[["@defaults transform",{}],"--tw-skew-y",["transform",$i]]]]],{supportsNegativeValues:!0}),scale:(0,kt.default)("scale",[["scale",[["@defaults transform",{}],"--tw-scale-x","--tw-scale-y",["transform",$i]]],[["scale-x",[["@defaults transform",{}],"--tw-scale-x",["transform",$i]]],["scale-y",[["@defaults transform",{}],"--tw-scale-y",["transform",$i]]]]],{supportsNegativeValues:!0}),transform:({addDefaults:e,addUtilities:t})=>{e("transform",{"--tw-translate-x":"0","--tw-translate-y":"0","--tw-rotate":"0","--tw-skew-x":"0","--tw-skew-y":"0","--tw-scale-x":"1","--tw-scale-y":"1"}),t({".transform":{"@defaults transform":{},transform:$i},".transform-cpu":{transform:$i},".transform-gpu":{transform:$i.replace("translate(var(--tw-translate-x), var(--tw-translate-y))","translate3d(var(--tw-translate-x), var(--tw-translate-y), 0)")},".transform-none":{transform:"none"}})},animation:({matchUtilities:e,theme:t,config:n})=>{let i=u=>(0,cb.default)(n("prefix")+u);var o;let r=Object.fromEntries(Object.entries((o=t("keyframes"))!==null&&o!==void 0?o:{}).map(([u,a])=>[u,{[`@keyframes ${i(u)}`]:a}]));e({animate:u=>{let a=(0,_U.default)(u);return[...a.flatMap(m=>r[m.name]),{animation:a.map(({name:m,value:d})=>m===void 0||r[m]===void 0?d:d.replace(m,i(m))).join(", ")}]}},{values:t("animation")})},cursor:(0,kt.default)("cursor"),touchAction:({addDefaults:e,addUtilities:t})=>{e("touch-action",{"--tw-pan-x":" ","--tw-pan-y":" ","--tw-pinch-zoom":" "});let n="var(--tw-pan-x) var(--tw-pan-y) var(--tw-pinch-zoom)";t({".touch-auto":{"touch-action":"auto"},".touch-none":{"touch-action":"none"},".touch-pan-x":{"@defaults touch-action":{},"--tw-pan-x":"pan-x","touch-action":n},".touch-pan-left":{"@defaults touch-action":{},"--tw-pan-x":"pan-left","touch-action":n},".touch-pan-right":{"@defaults touch-action":{},"--tw-pan-x":"pan-right","touch-action":n},".touch-pan-y":{"@defaults touch-action":{},"--tw-pan-y":"pan-y","touch-action":n},".touch-pan-up":{"@defaults touch-action":{},"--tw-pan-y":"pan-up","touch-action":n},".touch-pan-down":{"@defaults touch-action":{},"--tw-pan-y":"pan-down","touch-action":n},".touch-pinch-zoom":{"@defaults touch-action":{},"--tw-pinch-zoom":"pinch-zoom","touch-action":n},".touch-manipulation":{"touch-action":"manipulation"}})},userSelect:({addUtilities:e})=>{e({".select-none":{"user-select":"none"},".select-text":{"user-select":"text"},".select-all":{"user-select":"all"},".select-auto":{"user-select":"auto"}})},resize:({addUtilities:e})=>{e({".resize-none":{resize:"none"},".resize-y":{resize:"vertical"},".resize-x":{resize:"horizontal"},".resize":{resize:"both"}})},scrollSnapType:({addDefaults:e,addUtilities:t})=>{e("scroll-snap-type",{"--tw-scroll-snap-strictness":"proximity"}),t({".snap-none":{"scroll-snap-type":"none"},".snap-x":{"@defaults scroll-snap-type":{},"scroll-snap-type":"x var(--tw-scroll-snap-strictness)"},".snap-y":{"@defaults scroll-snap-type":{},"scroll-snap-type":"y var(--tw-scroll-snap-strictness)"},".snap-both":{"@defaults scroll-snap-type":{},"scroll-snap-type":"both var(--tw-scroll-snap-strictness)"},".snap-mandatory":{"--tw-scroll-snap-strictness":"mandatory"},".snap-proximity":{"--tw-scroll-snap-strictness":"proximity"}})},scrollSnapAlign:({addUtilities:e})=>{e({".snap-start":{"scroll-snap-align":"start"},".snap-end":{"scroll-snap-align":"end"},".snap-center":{"scroll-snap-align":"center"},".snap-align-none":{"scroll-snap-align":"none"}})},scrollSnapStop:({addUtilities:e})=>{e({".snap-normal":{"scroll-snap-stop":"normal"},".snap-always":{"scroll-snap-stop":"always"}})},scrollMargin:(0,kt.default)("scrollMargin",[["scroll-m",["scroll-margin"]],[["scroll-mx",["scroll-margin-left","scroll-margin-right"]],["scroll-my",["scroll-margin-top","scroll-margin-bottom"]]],[["scroll-ms",["scroll-margin-inline-start"]],["scroll-me",["scroll-margin-inline-end"]],["scroll-mt",["scroll-margin-top"]],["scroll-mr",["scroll-margin-right"]],["scroll-mb",["scroll-margin-bottom"]],["scroll-ml",["scroll-margin-left"]]]],{supportsNegativeValues:!0}),scrollPadding:(0,kt.default)("scrollPadding",[["scroll-p",["scroll-padding"]],[["scroll-px",["scroll-padding-left","scroll-padding-right"]],["scroll-py",["scroll-padding-top","scroll-padding-bottom"]]],[["scroll-ps",["scroll-padding-inline-start"]],["scroll-pe",["scroll-padding-inline-end"]],["scroll-pt",["scroll-padding-top"]],["scroll-pr",["scroll-padding-right"]],["scroll-pb",["scroll-padding-bottom"]],["scroll-pl",["scroll-padding-left"]]]]),listStylePosition:({addUtilities:e})=>{e({".list-inside":{"list-style-position":"inside"},".list-outside":{"list-style-position":"outside"}})},listStyleType:(0,kt.default)("listStyleType",[["list",["listStyleType"]]]),listStyleImage:(0,kt.default)("listStyleImage",[["list-image",["listStyleImage"]]]),appearance:({addUtilities:e})=>{e({".appearance-none":{appearance:"none"},".appearance-auto":{appearance:"auto"}})},columns:(0,kt.default)("columns",[["columns",["columns"]]]),breakBefore:({addUtilities:e})=>{e({".break-before-auto":{"break-before":"auto"},".break-before-avoid":{"break-before":"avoid"},".break-before-all":{"break-before":"all"},".break-before-avoid-page":{"break-before":"avoid-page"},".break-before-page":{"break-before":"page"},".break-before-left":{"break-before":"left"},".break-before-right":{"break-before":"right"},".break-before-column":{"break-before":"column"}})},breakInside:({addUtilities:e})=>{e({".break-inside-auto":{"break-inside":"auto"},".break-inside-avoid":{"break-inside":"avoid"},".break-inside-avoid-page":{"break-inside":"avoid-page"},".break-inside-avoid-column":{"break-inside":"avoid-column"}})},breakAfter:({addUtilities:e})=>{e({".break-after-auto":{"break-after":"auto"},".break-after-avoid":{"break-after":"avoid"},".break-after-all":{"break-after":"all"},".break-after-avoid-page":{"break-after":"avoid-page"},".break-after-page":{"break-after":"page"},".break-after-left":{"break-after":"left"},".break-after-right":{"break-after":"right"},".break-after-column":{"break-after":"column"}})},gridAutoColumns:(0,kt.default)("gridAutoColumns",[["auto-cols",["gridAutoColumns"]]]),gridAutoFlow:({addUtilities:e})=>{e({".grid-flow-row":{gridAutoFlow:"row"},".grid-flow-col":{gridAutoFlow:"column"},".grid-flow-dense":{gridAutoFlow:"dense"},".grid-flow-row-dense":{gridAutoFlow:"row dense"},".grid-flow-col-dense":{gridAutoFlow:"column dense"}})},gridAutoRows:(0,kt.default)("gridAutoRows",[["auto-rows",["gridAutoRows"]]]),gridTemplateColumns:(0,kt.default)("gridTemplateColumns",[["grid-cols",["gridTemplateColumns"]]]),gridTemplateRows:(0,kt.default)("gridTemplateRows",[["grid-rows",["gridTemplateRows"]]]),flexDirection:({addUtilities:e})=>{e({".flex-row":{"flex-direction":"row"},".flex-row-reverse":{"flex-direction":"row-reverse"},".flex-col":{"flex-direction":"column"},".flex-col-reverse":{"flex-direction":"column-reverse"}})},flexWrap:({addUtilities:e})=>{e({".flex-wrap":{"flex-wrap":"wrap"},".flex-wrap-reverse":{"flex-wrap":"wrap-reverse"},".flex-nowrap":{"flex-wrap":"nowrap"}})},placeContent:({addUtilities:e})=>{e({".place-content-center":{"place-content":"center"},".place-content-start":{"place-content":"start"},".place-content-end":{"place-content":"end"},".place-content-between":{"place-content":"space-between"},".place-content-around":{"place-content":"space-around"},".place-content-evenly":{"place-content":"space-evenly"},".place-content-baseline":{"place-content":"baseline"},".place-content-stretch":{"place-content":"stretch"}})},placeItems:({addUtilities:e})=>{e({".place-items-start":{"place-items":"start"},".place-items-end":{"place-items":"end"},".place-items-center":{"place-items":"center"},".place-items-baseline":{"place-items":"baseline"},".place-items-stretch":{"place-items":"stretch"}})},alignContent:({addUtilities:e})=>{e({".content-normal":{"align-content":"normal"},".content-center":{"align-content":"center"},".content-start":{"align-content":"flex-start"},".content-end":{"align-content":"flex-end"},".content-between":{"align-content":"space-between"},".content-around":{"align-content":"space-around"},".content-evenly":{"align-content":"space-evenly"},".content-baseline":{"align-content":"baseline"},".content-stretch":{"align-content":"stretch"}})},alignItems:({addUtilities:e})=>{e({".items-start":{"align-items":"flex-start"},".items-end":{"align-items":"flex-end"},".items-center":{"align-items":"center"},".items-baseline":{"align-items":"baseline"},".items-stretch":{"align-items":"stretch"}})},justifyContent:({addUtilities:e})=>{e({".justify-normal":{"justify-content":"normal"},".justify-start":{"justify-content":"flex-start"},".justify-end":{"justify-content":"flex-end"},".justify-center":{"justify-content":"center"},".justify-between":{"justify-content":"space-between"},".justify-around":{"justify-content":"space-around"},".justify-evenly":{"justify-content":"space-evenly"},".justify-stretch":{"justify-content":"stretch"}})},justifyItems:({addUtilities:e})=>{e({".justify-items-start":{"justify-items":"start"},".justify-items-end":{"justify-items":"end"},".justify-items-center":{"justify-items":"center"},".justify-items-stretch":{"justify-items":"stretch"}})},gap:(0,kt.default)("gap",[["gap",["gap"]],[["gap-x",["columnGap"]],["gap-y",["rowGap"]]]]),space:({matchUtilities:e,addUtilities:t,theme:n})=>{e({"space-x":i=>(i=i==="0"?"0px":i,{"& > :not([hidden]) ~ :not([hidden])":{"--tw-space-x-reverse":"0","margin-right":`calc(${i} * var(--tw-space-x-reverse))`,"margin-left":`calc(${i} * calc(1 - var(--tw-space-x-reverse)))`}}),"space-y":i=>(i=i==="0"?"0px":i,{"& > :not([hidden]) ~ :not([hidden])":{"--tw-space-y-reverse":"0","margin-top":`calc(${i} * calc(1 - var(--tw-space-y-reverse)))`,"margin-bottom":`calc(${i} * var(--tw-space-y-reverse))`}})},{values:n("space"),supportsNegativeValues:!0}),t({".space-y-reverse > :not([hidden]) ~ :not([hidden])":{"--tw-space-y-reverse":"1"},".space-x-reverse > :not([hidden]) ~ :not([hidden])":{"--tw-space-x-reverse":"1"}})},divideWidth:({matchUtilities:e,addUtilities:t,theme:n})=>{e({"divide-x":i=>(i=i==="0"?"0px":i,{"& > :not([hidden]) ~ :not([hidden])":{"@defaults border-width":{},"--tw-divide-x-reverse":"0","border-right-width":`calc(${i} * var(--tw-divide-x-reverse))`,"border-left-width":`calc(${i} * calc(1 - var(--tw-divide-x-reverse)))`}}),"divide-y":i=>(i=i==="0"?"0px":i,{"& > :not([hidden]) ~ :not([hidden])":{"@defaults border-width":{},"--tw-divide-y-reverse":"0","border-top-width":`calc(${i} * calc(1 - var(--tw-divide-y-reverse)))`,"border-bottom-width":`calc(${i} * var(--tw-divide-y-reverse))`}})},{values:n("divideWidth"),type:["line-width","length","any"]}),t({".divide-y-reverse > :not([hidden]) ~ :not([hidden])":{"@defaults border-width":{},"--tw-divide-y-reverse":"1"},".divide-x-reverse > :not([hidden]) ~ :not([hidden])":{"@defaults border-width":{},"--tw-divide-x-reverse":"1"}})},divideStyle:({addUtilities:e})=>{e({".divide-solid > :not([hidden]) ~ :not([hidden])":{"border-style":"solid"},".divide-dashed > :not([hidden]) ~ :not([hidden])":{"border-style":"dashed"},".divide-dotted > :not([hidden]) ~ :not([hidden])":{"border-style":"dotted"},".divide-double > :not([hidden]) ~ :not([hidden])":{"border-style":"double"},".divide-none > :not([hidden]) ~ :not([hidden])":{"border-style":"none"}})},divideColor:({matchUtilities:e,theme:t,corePlugins:n})=>{e({divide:i=>n("divideOpacity")?{"& > :not([hidden]) ~ :not([hidden])":(0,$n.default)({color:i,property:"border-color",variable:"--tw-divide-opacity"})}:{"& > :not([hidden]) ~ :not([hidden])":{"border-color":(0,Lr.default)(i)}}},{values:(({DEFAULT:i,...o})=>o)((0,jn.default)(t("divideColor"))),type:["color","any"]})},divideOpacity:({matchUtilities:e,theme:t})=>{e({"divide-opacity":n=>({"& > :not([hidden]) ~ :not([hidden])":{"--tw-divide-opacity":n}})},{values:t("divideOpacity")})},placeSelf:({addUtilities:e})=>{e({".place-self-auto":{"place-self":"auto"},".place-self-start":{"place-self":"start"},".place-self-end":{"place-self":"end"},".place-self-center":{"place-self":"center"},".place-self-stretch":{"place-self":"stretch"}})},alignSelf:({addUtilities:e})=>{e({".self-auto":{"align-self":"auto"},".self-start":{"align-self":"flex-start"},".self-end":{"align-self":"flex-end"},".self-center":{"align-self":"center"},".self-stretch":{"align-self":"stretch"},".self-baseline":{"align-self":"baseline"}})},justifySelf:({addUtilities:e})=>{e({".justify-self-auto":{"justify-self":"auto"},".justify-self-start":{"justify-self":"start"},".justify-self-end":{"justify-self":"end"},".justify-self-center":{"justify-self":"center"},".justify-self-stretch":{"justify-self":"stretch"}})},overflow:({addUtilities:e})=>{e({".overflow-auto":{overflow:"auto"},".overflow-hidden":{overflow:"hidden"},".overflow-clip":{overflow:"clip"},".overflow-visible":{overflow:"visible"},".overflow-scroll":{overflow:"scroll"},".overflow-x-auto":{"overflow-x":"auto"},".overflow-y-auto":{"overflow-y":"auto"},".overflow-x-hidden":{"overflow-x":"hidden"},".overflow-y-hidden":{"overflow-y":"hidden"},".overflow-x-clip":{"overflow-x":"clip"},".overflow-y-clip":{"overflow-y":"clip"},".overflow-x-visible":{"overflow-x":"visible"},".overflow-y-visible":{"overflow-y":"visible"},".overflow-x-scroll":{"overflow-x":"scroll"},".overflow-y-scroll":{"overflow-y":"scroll"}})},overscrollBehavior:({addUtilities:e})=>{e({".overscroll-auto":{"overscroll-behavior":"auto"},".overscroll-contain":{"overscroll-behavior":"contain"},".overscroll-none":{"overscroll-behavior":"none"},".overscroll-y-auto":{"overscroll-behavior-y":"auto"},".overscroll-y-contain":{"overscroll-behavior-y":"contain"},".overscroll-y-none":{"overscroll-behavior-y":"none"},".overscroll-x-auto":{"overscroll-behavior-x":"auto"},".overscroll-x-contain":{"overscroll-behavior-x":"contain"},".overscroll-x-none":{"overscroll-behavior-x":"none"}})},scrollBehavior:({addUtilities:e})=>{e({".scroll-auto":{"scroll-behavior":"auto"},".scroll-smooth":{"scroll-behavior":"smooth"}})},textOverflow:({addUtilities:e})=>{e({".truncate":{overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"},".overflow-ellipsis":{"text-overflow":"ellipsis"},".text-ellipsis":{"text-overflow":"ellipsis"},".text-clip":{"text-overflow":"clip"}})},hyphens:({addUtilities:e})=>{e({".hyphens-none":{hyphens:"none"},".hyphens-manual":{hyphens:"manual"},".hyphens-auto":{hyphens:"auto"}})},whitespace:({addUtilities:e})=>{e({".whitespace-normal":{"white-space":"normal"},".whitespace-nowrap":{"white-space":"nowrap"},".whitespace-pre":{"white-space":"pre"},".whitespace-pre-line":{"white-space":"pre-line"},".whitespace-pre-wrap":{"white-space":"pre-wrap"},".whitespace-break-spaces":{"white-space":"break-spaces"}})},textWrap:({addUtilities:e})=>{e({".text-wrap":{"text-wrap":"wrap"},".text-nowrap":{"text-wrap":"nowrap"},".text-balance":{"text-wrap":"balance"},".text-pretty":{"text-wrap":"pretty"}})},wordBreak:({addUtilities:e})=>{e({".break-normal":{"overflow-wrap":"normal","word-break":"normal"},".break-words":{"overflow-wrap":"break-word"},".break-all":{"word-break":"break-all"},".break-keep":{"word-break":"keep-all"}})},borderRadius:(0,kt.default)("borderRadius",[["rounded",["border-radius"]],[["rounded-s",["border-start-start-radius","border-end-start-radius"]],["rounded-e",["border-start-end-radius","border-end-end-radius"]],["rounded-t",["border-top-left-radius","border-top-right-radius"]],["rounded-r",["border-top-right-radius","border-bottom-right-radius"]],["rounded-b",["border-bottom-right-radius","border-bottom-left-radius"]],["rounded-l",["border-top-left-radius","border-bottom-left-radius"]]],[["rounded-ss",["border-start-start-radius"]],["rounded-se",["border-start-end-radius"]],["rounded-ee",["border-end-end-radius"]],["rounded-es",["border-end-start-radius"]],["rounded-tl",["border-top-left-radius"]],["rounded-tr",["border-top-right-radius"]],["rounded-br",["border-bottom-right-radius"]],["rounded-bl",["border-bottom-left-radius"]]]]),borderWidth:(0,kt.default)("borderWidth",[["border",[["@defaults border-width",{}],"border-width"]],[["border-x",[["@defaults border-width",{}],"border-left-width","border-right-width"]],["border-y",[["@defaults border-width",{}],"border-top-width","border-bottom-width"]]],[["border-s",[["@defaults border-width",{}],"border-inline-start-width"]],["border-e",[["@defaults border-width",{}],"border-inline-end-width"]],["border-t",[["@defaults border-width",{}],"border-top-width"]],["border-r",[["@defaults border-width",{}],"border-right-width"]],["border-b",[["@defaults border-width",{}],"border-bottom-width"]],["border-l",[["@defaults border-width",{}],"border-left-width"]]]],{type:["line-width","length"]}),borderStyle:({addUtilities:e})=>{e({".border-solid":{"border-style":"solid"},".border-dashed":{"border-style":"dashed"},".border-dotted":{"border-style":"dotted"},".border-double":{"border-style":"double"},".border-hidden":{"border-style":"hidden"},".border-none":{"border-style":"none"}})},borderColor:({matchUtilities:e,theme:t,corePlugins:n})=>{e({border:i=>n("borderOpacity")?(0,$n.default)({color:i,property:"border-color",variable:"--tw-border-opacity"}):{"border-color":(0,Lr.default)(i)}},{values:(({DEFAULT:i,...o})=>o)((0,jn.default)(t("borderColor"))),type:["color","any"]}),e({"border-x":i=>n("borderOpacity")?(0,$n.default)({color:i,property:["border-left-color","border-right-color"],variable:"--tw-border-opacity"}):{"border-left-color":(0,Lr.default)(i),"border-right-color":(0,Lr.default)(i)},"border-y":i=>n("borderOpacity")?(0,$n.default)({color:i,property:["border-top-color","border-bottom-color"],variable:"--tw-border-opacity"}):{"border-top-color":(0,Lr.default)(i),"border-bottom-color":(0,Lr.default)(i)}},{values:(({DEFAULT:i,...o})=>o)((0,jn.default)(t("borderColor"))),type:["color","any"]}),e({"border-s":i=>n("borderOpacity")?(0,$n.default)({color:i,property:"border-inline-start-color",variable:"--tw-border-opacity"}):{"border-inline-start-color":(0,Lr.default)(i)},"border-e":i=>n("borderOpacity")?(0,$n.default)({color:i,property:"border-inline-end-color",variable:"--tw-border-opacity"}):{"border-inline-end-color":(0,Lr.default)(i)},"border-t":i=>n("borderOpacity")?(0,$n.default)({color:i,property:"border-top-color",variable:"--tw-border-opacity"}):{"border-top-color":(0,Lr.default)(i)},"border-r":i=>n("borderOpacity")?(0,$n.default)({color:i,property:"border-right-color",variable:"--tw-border-opacity"}):{"border-right-color":(0,Lr.default)(i)},"border-b":i=>n("borderOpacity")?(0,$n.default)({color:i,property:"border-bottom-color",variable:"--tw-border-opacity"}):{"border-bottom-color":(0,Lr.default)(i)},"border-l":i=>n("borderOpacity")?(0,$n.default)({color:i,property:"border-left-color",variable:"--tw-border-opacity"}):{"border-left-color":(0,Lr.default)(i)}},{values:(({DEFAULT:i,...o})=>o)((0,jn.default)(t("borderColor"))),type:["color","any"]})},borderOpacity:(0,kt.default)("borderOpacity",[["border-opacity",["--tw-border-opacity"]]]),backgroundColor:({matchUtilities:e,theme:t,corePlugins:n})=>{e({bg:i=>n("backgroundOpacity")?(0,$n.default)({color:i,property:"background-color",variable:"--tw-bg-opacity"}):{"background-color":(0,Lr.default)(i)}},{values:(0,jn.default)(t("backgroundColor")),type:["color","any"]})},backgroundOpacity:(0,kt.default)("backgroundOpacity",[["bg-opacity",["--tw-bg-opacity"]]]),backgroundImage:(0,kt.default)("backgroundImage",[["bg",["background-image"]]],{type:["lookup","image","url"]}),gradientColorStops:(()=>{function e(t){return(0,$n.withAlphaValue)(t,0,"rgb(255 255 255 / 0)")}return function({matchUtilities:t,theme:n,addDefaults:i}){i("gradient-color-stops",{"--tw-gradient-from-position":" ","--tw-gradient-via-position":" ","--tw-gradient-to-position":" "});let o={values:(0,jn.default)(n("gradientColorStops")),type:["color","any"]},r={values:n("gradientColorStopPositions"),type:["length","percentage"]};t({from:u=>{let a=e(u);return{"@defaults gradient-color-stops":{},"--tw-gradient-from":`${(0,Lr.default)(u)} var(--tw-gradient-from-position)`,"--tw-gradient-to":`${a} var(--tw-gradient-to-position)`,"--tw-gradient-stops":"var(--tw-gradient-from), var(--tw-gradient-to)"}}},o),t({from:u=>({"--tw-gradient-from-position":u})},r),t({via:u=>{let a=e(u);return{"@defaults gradient-color-stops":{},"--tw-gradient-to":`${a} var(--tw-gradient-to-position)`,"--tw-gradient-stops":`var(--tw-gradient-from), ${(0,Lr.default)(u)} var(--tw-gradient-via-position), var(--tw-gradient-to)`}}},o),t({via:u=>({"--tw-gradient-via-position":u})},r),t({to:u=>({"@defaults gradient-color-stops":{},"--tw-gradient-to":`${(0,Lr.default)(u)} var(--tw-gradient-to-position)`})},o),t({to:u=>({"--tw-gradient-to-position":u})},r)}})(),boxDecorationBreak:({addUtilities:e})=>{e({".decoration-slice":{"box-decoration-break":"slice"},".decoration-clone":{"box-decoration-break":"clone"},".box-decoration-slice":{"box-decoration-break":"slice"},".box-decoration-clone":{"box-decoration-break":"clone"}})},backgroundSize:(0,kt.default)("backgroundSize",[["bg",["background-size"]]],{type:["lookup","length","percentage","size"]}),backgroundAttachment:({addUtilities:e})=>{e({".bg-fixed":{"background-attachment":"fixed"},".bg-local":{"background-attachment":"local"},".bg-scroll":{"background-attachment":"scroll"}})},backgroundClip:({addUtilities:e})=>{e({".bg-clip-border":{"background-clip":"border-box"},".bg-clip-padding":{"background-clip":"padding-box"},".bg-clip-content":{"background-clip":"content-box"},".bg-clip-text":{"background-clip":"text"}})},backgroundPosition:(0,kt.default)("backgroundPosition",[["bg",["background-position"]]],{type:["lookup",["position",{preferOnConflict:!0}]]}),backgroundRepeat:({addUtilities:e})=>{e({".bg-repeat":{"background-repeat":"repeat"},".bg-no-repeat":{"background-repeat":"no-repeat"},".bg-repeat-x":{"background-repeat":"repeat-x"},".bg-repeat-y":{"background-repeat":"repeat-y"},".bg-repeat-round":{"background-repeat":"round"},".bg-repeat-space":{"background-repeat":"space"}})},backgroundOrigin:({addUtilities:e})=>{e({".bg-origin-border":{"background-origin":"border-box"},".bg-origin-padding":{"background-origin":"padding-box"},".bg-origin-content":{"background-origin":"content-box"}})},fill:({matchUtilities:e,theme:t})=>{e({fill:n=>({fill:(0,Lr.default)(n)})},{values:(0,jn.default)(t("fill")),type:["color","any"]})},stroke:({matchUtilities:e,theme:t})=>{e({stroke:n=>({stroke:(0,Lr.default)(n)})},{values:(0,jn.default)(t("stroke")),type:["color","url","any"]})},strokeWidth:(0,kt.default)("strokeWidth",[["stroke",["stroke-width"]]],{type:["length","number","percentage"]}),objectFit:({addUtilities:e})=>{e({".object-contain":{"object-fit":"contain"},".object-cover":{"object-fit":"cover"},".object-fill":{"object-fit":"fill"},".object-none":{"object-fit":"none"},".object-scale-down":{"object-fit":"scale-down"}})},objectPosition:(0,kt.default)("objectPosition",[["object",["object-position"]]]),padding:(0,kt.default)("padding",[["p",["padding"]],[["px",["padding-left","padding-right"]],["py",["padding-top","padding-bottom"]]],[["ps",["padding-inline-start"]],["pe",["padding-inline-end"]],["pt",["padding-top"]],["pr",["padding-right"]],["pb",["padding-bottom"]],["pl",["padding-left"]]]]),textAlign:({addUtilities:e})=>{e({".text-left":{"text-align":"left"},".text-center":{"text-align":"center"},".text-right":{"text-align":"right"},".text-justify":{"text-align":"justify"},".text-start":{"text-align":"start"},".text-end":{"text-align":"end"}})},textIndent:(0,kt.default)("textIndent",[["indent",["text-indent"]]],{supportsNegativeValues:!0}),verticalAlign:({addUtilities:e,matchUtilities:t})=>{e({".align-baseline":{"vertical-align":"baseline"},".align-top":{"vertical-align":"top"},".align-middle":{"vertical-align":"middle"},".align-bottom":{"vertical-align":"bottom"},".align-text-top":{"vertical-align":"text-top"},".align-text-bottom":{"vertical-align":"text-bottom"},".align-sub":{"vertical-align":"sub"},".align-super":{"vertical-align":"super"}}),t({align:n=>({"vertical-align":n})})},fontFamily:({matchUtilities:e,theme:t})=>{e({font:n=>{let[i,o={}]=Array.isArray(n)&&(0,NP.default)(n[1])?n:[n],{fontFeatureSettings:r,fontVariationSettings:u}=o;return{"font-family":Array.isArray(i)?i.join(", "):i,...r===void 0?{}:{"font-feature-settings":r},...u===void 0?{}:{"font-variation-settings":u}}}},{values:t("fontFamily"),type:["lookup","generic-name","family-name"]})},fontSize:({matchUtilities:e,theme:t})=>{e({text:(n,{modifier:i})=>{let[o,r]=Array.isArray(n)?n:[n];if(i)return{"font-size":o,"line-height":i};let{lineHeight:u,letterSpacing:a,fontWeight:m}=(0,NP.default)(r)?r:{lineHeight:r};return{"font-size":o,...u===void 0?{}:{"line-height":u},...a===void 0?{}:{"letter-spacing":a},...m===void 0?{}:{"font-weight":m}}}},{values:t("fontSize"),modifiers:t("lineHeight"),type:["absolute-size","relative-size","length","percentage"]})},fontWeight:(0,kt.default)("fontWeight",[["font",["fontWeight"]]],{type:["lookup","number","any"]}),textTransform:({addUtilities:e})=>{e({".uppercase":{"text-transform":"uppercase"},".lowercase":{"text-transform":"lowercase"},".capitalize":{"text-transform":"capitalize"},".normal-case":{"text-transform":"none"}})},fontStyle:({addUtilities:e})=>{e({".italic":{"font-style":"italic"},".not-italic":{"font-style":"normal"}})},fontVariantNumeric:({addDefaults:e,addUtilities:t})=>{let n="var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)";e("font-variant-numeric",{"--tw-ordinal":" ","--tw-slashed-zero":" ","--tw-numeric-figure":" ","--tw-numeric-spacing":" ","--tw-numeric-fraction":" "}),t({".normal-nums":{"font-variant-numeric":"normal"},".ordinal":{"@defaults font-variant-numeric":{},"--tw-ordinal":"ordinal","font-variant-numeric":n},".slashed-zero":{"@defaults font-variant-numeric":{},"--tw-slashed-zero":"slashed-zero","font-variant-numeric":n},".lining-nums":{"@defaults font-variant-numeric":{},"--tw-numeric-figure":"lining-nums","font-variant-numeric":n},".oldstyle-nums":{"@defaults font-variant-numeric":{},"--tw-numeric-figure":"oldstyle-nums","font-variant-numeric":n},".proportional-nums":{"@defaults font-variant-numeric":{},"--tw-numeric-spacing":"proportional-nums","font-variant-numeric":n},".tabular-nums":{"@defaults font-variant-numeric":{},"--tw-numeric-spacing":"tabular-nums","font-variant-numeric":n},".diagonal-fractions":{"@defaults font-variant-numeric":{},"--tw-numeric-fraction":"diagonal-fractions","font-variant-numeric":n},".stacked-fractions":{"@defaults font-variant-numeric":{},"--tw-numeric-fraction":"stacked-fractions","font-variant-numeric":n}})},lineHeight:(0,kt.default)("lineHeight",[["leading",["lineHeight"]]]),letterSpacing:(0,kt.default)("letterSpacing",[["tracking",["letterSpacing"]]],{supportsNegativeValues:!0}),textColor:({matchUtilities:e,theme:t,corePlugins:n})=>{e({text:i=>n("textOpacity")?(0,$n.default)({color:i,property:"color",variable:"--tw-text-opacity"}):{color:(0,Lr.default)(i)}},{values:(0,jn.default)(t("textColor")),type:["color","any"]})},textOpacity:(0,kt.default)("textOpacity",[["text-opacity",["--tw-text-opacity"]]]),textDecoration:({addUtilities:e})=>{e({".underline":{"text-decoration-line":"underline"},".overline":{"text-decoration-line":"overline"},".line-through":{"text-decoration-line":"line-through"},".no-underline":{"text-decoration-line":"none"}})},textDecorationColor:({matchUtilities:e,theme:t})=>{e({decoration:n=>({"text-decoration-color":(0,Lr.default)(n)})},{values:(0,jn.default)(t("textDecorationColor")),type:["color","any"]})},textDecorationStyle:({addUtilities:e})=>{e({".decoration-solid":{"text-decoration-style":"solid"},".decoration-double":{"text-decoration-style":"double"},".decoration-dotted":{"text-decoration-style":"dotted"},".decoration-dashed":{"text-decoration-style":"dashed"},".decoration-wavy":{"text-decoration-style":"wavy"}})},textDecorationThickness:(0,kt.default)("textDecorationThickness",[["decoration",["text-decoration-thickness"]]],{type:["length","percentage"]}),textUnderlineOffset:(0,kt.default)("textUnderlineOffset",[["underline-offset",["text-underline-offset"]]],{type:["length","percentage","any"]}),fontSmoothing:({addUtilities:e})=>{e({".antialiased":{"-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale"},".subpixel-antialiased":{"-webkit-font-smoothing":"auto","-moz-osx-font-smoothing":"auto"}})},placeholderColor:({matchUtilities:e,theme:t,corePlugins:n})=>{e({placeholder:i=>n("placeholderOpacity")?{"&::placeholder":(0,$n.default)({color:i,property:"color",variable:"--tw-placeholder-opacity"})}:{"&::placeholder":{color:(0,Lr.default)(i)}}},{values:(0,jn.default)(t("placeholderColor")),type:["color","any"]})},placeholderOpacity:({matchUtilities:e,theme:t})=>{e({"placeholder-opacity":n=>({"&::placeholder":{"--tw-placeholder-opacity":n}})},{values:t("placeholderOpacity")})},caretColor:({matchUtilities:e,theme:t})=>{e({caret:n=>({"caret-color":(0,Lr.default)(n)})},{values:(0,jn.default)(t("caretColor")),type:["color","any"]})},accentColor:({matchUtilities:e,theme:t})=>{e({accent:n=>({"accent-color":(0,Lr.default)(n)})},{values:(0,jn.default)(t("accentColor")),type:["color","any"]})},opacity:(0,kt.default)("opacity",[["opacity",["opacity"]]]),backgroundBlendMode:({addUtilities:e})=>{e({".bg-blend-normal":{"background-blend-mode":"normal"},".bg-blend-multiply":{"background-blend-mode":"multiply"},".bg-blend-screen":{"background-blend-mode":"screen"},".bg-blend-overlay":{"background-blend-mode":"overlay"},".bg-blend-darken":{"background-blend-mode":"darken"},".bg-blend-lighten":{"background-blend-mode":"lighten"},".bg-blend-color-dodge":{"background-blend-mode":"color-dodge"},".bg-blend-color-burn":{"background-blend-mode":"color-burn"},".bg-blend-hard-light":{"background-blend-mode":"hard-light"},".bg-blend-soft-light":{"background-blend-mode":"soft-light"},".bg-blend-difference":{"background-blend-mode":"difference"},".bg-blend-exclusion":{"background-blend-mode":"exclusion"},".bg-blend-hue":{"background-blend-mode":"hue"},".bg-blend-saturation":{"background-blend-mode":"saturation"},".bg-blend-color":{"background-blend-mode":"color"},".bg-blend-luminosity":{"background-blend-mode":"luminosity"}})},mixBlendMode:({addUtilities:e})=>{e({".mix-blend-normal":{"mix-blend-mode":"normal"},".mix-blend-multiply":{"mix-blend-mode":"multiply"},".mix-blend-screen":{"mix-blend-mode":"screen"},".mix-blend-overlay":{"mix-blend-mode":"overlay"},".mix-blend-darken":{"mix-blend-mode":"darken"},".mix-blend-lighten":{"mix-blend-mode":"lighten"},".mix-blend-color-dodge":{"mix-blend-mode":"color-dodge"},".mix-blend-color-burn":{"mix-blend-mode":"color-burn"},".mix-blend-hard-light":{"mix-blend-mode":"hard-light"},".mix-blend-soft-light":{"mix-blend-mode":"soft-light"},".mix-blend-difference":{"mix-blend-mode":"difference"},".mix-blend-exclusion":{"mix-blend-mode":"exclusion"},".mix-blend-hue":{"mix-blend-mode":"hue"},".mix-blend-saturation":{"mix-blend-mode":"saturation"},".mix-blend-color":{"mix-blend-mode":"color"},".mix-blend-luminosity":{"mix-blend-mode":"luminosity"},".mix-blend-plus-lighter":{"mix-blend-mode":"plus-lighter"}})},boxShadow:(()=>{let e=(0,wU.default)("boxShadow"),t=["var(--tw-ring-offset-shadow, 0 0 #0000)","var(--tw-ring-shadow, 0 0 #0000)","var(--tw-shadow)"].join(", ");return function({matchUtilities:n,addDefaults:i,theme:o}){i(" box-shadow",{"--tw-ring-offset-shadow":"0 0 #0000","--tw-ring-shadow":"0 0 #0000","--tw-shadow":"0 0 #0000","--tw-shadow-colored":"0 0 #0000"}),n({shadow:r=>{r=e(r);let u=(0,FP.parseBoxShadowValue)(r);for(let a of u)a.valid&&(a.color="var(--tw-shadow-color)");return{"@defaults box-shadow":{},"--tw-shadow":r==="none"?"0 0 #0000":r,"--tw-shadow-colored":r==="none"?"0 0 #0000":(0,FP.formatBoxShadowValue)(u),"box-shadow":t}}},{values:o("boxShadow"),type:["shadow"]})}})(),boxShadowColor:({matchUtilities:e,theme:t})=>{e({shadow:n=>({"--tw-shadow-color":(0,Lr.default)(n),"--tw-shadow":"var(--tw-shadow-colored)"})},{values:(0,jn.default)(t("boxShadowColor")),type:["color","any"]})},outlineStyle:({addUtilities:e})=>{e({".outline-none":{outline:"2px solid transparent","outline-offset":"2px"},".outline":{"outline-style":"solid"},".outline-dashed":{"outline-style":"dashed"},".outline-dotted":{"outline-style":"dotted"},".outline-double":{"outline-style":"double"}})},outlineWidth:(0,kt.default)("outlineWidth",[["outline",["outline-width"]]],{type:["length","number","percentage"]}),outlineOffset:(0,kt.default)("outlineOffset",[["outline-offset",["outline-offset"]]],{type:["length","number","percentage","any"],supportsNegativeValues:!0}),outlineColor:({matchUtilities:e,theme:t})=>{e({outline:n=>({"outline-color":(0,Lr.default)(n)})},{values:(0,jn.default)(t("outlineColor")),type:["color","any"]})},ringWidth:({matchUtilities:e,addDefaults:t,addUtilities:n,theme:i,config:o})=>{let r=(()=>{var u,a;if((0,pb.flagEnabled)(o(),"respectDefaultRingColorOpacity"))return i("ringColor.DEFAULT");let m=i("ringOpacity.DEFAULT","0.5");return!((u=i("ringColor"))===null||u===void 0)&&u.DEFAULT?(0,$n.withAlphaValue)((a=i("ringColor"))===null||a===void 0?void 0:a.DEFAULT,m,`rgb(147 197 253 / ${m})`):`rgb(147 197 253 / ${m})`})();t("ring-width",{"--tw-ring-inset":" ","--tw-ring-offset-width":i("ringOffsetWidth.DEFAULT","0px"),"--tw-ring-offset-color":i("ringOffsetColor.DEFAULT","#fff"),"--tw-ring-color":r,"--tw-ring-offset-shadow":"0 0 #0000","--tw-ring-shadow":"0 0 #0000","--tw-shadow":"0 0 #0000","--tw-shadow-colored":"0 0 #0000"}),e({ring:u=>({"@defaults ring-width":{},"--tw-ring-offset-shadow":"var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)","--tw-ring-shadow":`var(--tw-ring-inset) 0 0 0 calc(${u} + var(--tw-ring-offset-width)) var(--tw-ring-color)`,"box-shadow":["var(--tw-ring-offset-shadow)","var(--tw-ring-shadow)","var(--tw-shadow, 0 0 #0000)"].join(", ")})},{values:i("ringWidth"),type:"length"}),n({".ring-inset":{"@defaults ring-width":{},"--tw-ring-inset":"inset"}})},ringColor:({matchUtilities:e,theme:t,corePlugins:n})=>{e({ring:i=>n("ringOpacity")?(0,$n.default)({color:i,property:"--tw-ring-color",variable:"--tw-ring-opacity"}):{"--tw-ring-color":(0,Lr.default)(i)}},{values:Object.fromEntries(Object.entries((0,jn.default)(t("ringColor"))).filter(([i])=>i!=="DEFAULT")),type:["color","any"]})},ringOpacity:e=>{let{config:t}=e;return(0,kt.default)("ringOpacity",[["ring-opacity",["--tw-ring-opacity"]]],{filterDefault:!(0,pb.flagEnabled)(t(),"respectDefaultRingColorOpacity")})(e)},ringOffsetWidth:(0,kt.default)("ringOffsetWidth",[["ring-offset",["--tw-ring-offset-width"]]],{type:"length"}),ringOffsetColor:({matchUtilities:e,theme:t})=>{e({"ring-offset":n=>({"--tw-ring-offset-color":(0,Lr.default)(n)})},{values:(0,jn.default)(t("ringOffsetColor")),type:["color","any"]})},blur:({matchUtilities:e,theme:t})=>{e({blur:n=>({"--tw-blur":`blur(${n})`,"@defaults filter":{},filter:ss})},{values:t("blur")})},brightness:({matchUtilities:e,theme:t})=>{e({brightness:n=>({"--tw-brightness":`brightness(${n})`,"@defaults filter":{},filter:ss})},{values:t("brightness")})},contrast:({matchUtilities:e,theme:t})=>{e({contrast:n=>({"--tw-contrast":`contrast(${n})`,"@defaults filter":{},filter:ss})},{values:t("contrast")})},dropShadow:({matchUtilities:e,theme:t})=>{e({"drop-shadow":n=>({"--tw-drop-shadow":Array.isArray(n)?n.map(i=>`drop-shadow(${i})`).join(" "):`drop-shadow(${n})`,"@defaults filter":{},filter:ss})},{values:t("dropShadow")})},grayscale:({matchUtilities:e,theme:t})=>{e({grayscale:n=>({"--tw-grayscale":`grayscale(${n})`,"@defaults filter":{},filter:ss})},{values:t("grayscale")})},hueRotate:({matchUtilities:e,theme:t})=>{e({"hue-rotate":n=>({"--tw-hue-rotate":`hue-rotate(${n})`,"@defaults filter":{},filter:ss})},{values:t("hueRotate"),supportsNegativeValues:!0})},invert:({matchUtilities:e,theme:t})=>{e({invert:n=>({"--tw-invert":`invert(${n})`,"@defaults filter":{},filter:ss})},{values:t("invert")})},saturate:({matchUtilities:e,theme:t})=>{e({saturate:n=>({"--tw-saturate":`saturate(${n})`,"@defaults filter":{},filter:ss})},{values:t("saturate")})},sepia:({matchUtilities:e,theme:t})=>{e({sepia:n=>({"--tw-sepia":`sepia(${n})`,"@defaults filter":{},filter:ss})},{values:t("sepia")})},filter:({addDefaults:e,addUtilities:t})=>{e("filter",{"--tw-blur":" ","--tw-brightness":" ","--tw-contrast":" ","--tw-grayscale":" ","--tw-hue-rotate":" ","--tw-invert":" ","--tw-saturate":" ","--tw-sepia":" ","--tw-drop-shadow":" "}),t({".filter":{"@defaults filter":{},filter:ss},".filter-none":{filter:"none"}})},backdropBlur:({matchUtilities:e,theme:t})=>{e({"backdrop-blur":n=>({"--tw-backdrop-blur":`blur(${n})`,"@defaults backdrop-filter":{},"backdrop-filter":as})},{values:t("backdropBlur")})},backdropBrightness:({matchUtilities:e,theme:t})=>{e({"backdrop-brightness":n=>({"--tw-backdrop-brightness":`brightness(${n})`,"@defaults backdrop-filter":{},"backdrop-filter":as})},{values:t("backdropBrightness")})},backdropContrast:({matchUtilities:e,theme:t})=>{e({"backdrop-contrast":n=>({"--tw-backdrop-contrast":`contrast(${n})`,"@defaults backdrop-filter":{},"backdrop-filter":as})},{values:t("backdropContrast")})},backdropGrayscale:({matchUtilities:e,theme:t})=>{e({"backdrop-grayscale":n=>({"--tw-backdrop-grayscale":`grayscale(${n})`,"@defaults backdrop-filter":{},"backdrop-filter":as})},{values:t("backdropGrayscale")})},backdropHueRotate:({matchUtilities:e,theme:t})=>{e({"backdrop-hue-rotate":n=>({"--tw-backdrop-hue-rotate":`hue-rotate(${n})`,"@defaults backdrop-filter":{},"backdrop-filter":as})},{values:t("backdropHueRotate"),supportsNegativeValues:!0})},backdropInvert:({matchUtilities:e,theme:t})=>{e({"backdrop-invert":n=>({"--tw-backdrop-invert":`invert(${n})`,"@defaults backdrop-filter":{},"backdrop-filter":as})},{values:t("backdropInvert")})},backdropOpacity:({matchUtilities:e,theme:t})=>{e({"backdrop-opacity":n=>({"--tw-backdrop-opacity":`opacity(${n})`,"@defaults backdrop-filter":{},"backdrop-filter":as})},{values:t("backdropOpacity")})},backdropSaturate:({matchUtilities:e,theme:t})=>{e({"backdrop-saturate":n=>({"--tw-backdrop-saturate":`saturate(${n})`,"@defaults backdrop-filter":{},"backdrop-filter":as})},{values:t("backdropSaturate")})},backdropSepia:({matchUtilities:e,theme:t})=>{e({"backdrop-sepia":n=>({"--tw-backdrop-sepia":`sepia(${n})`,"@defaults backdrop-filter":{},"backdrop-filter":as})},{values:t("backdropSepia")})},backdropFilter:({addDefaults:e,addUtilities:t})=>{e("backdrop-filter",{"--tw-backdrop-blur":" ","--tw-backdrop-brightness":" ","--tw-backdrop-contrast":" ","--tw-backdrop-grayscale":" ","--tw-backdrop-hue-rotate":" ","--tw-backdrop-invert":" ","--tw-backdrop-opacity":" ","--tw-backdrop-saturate":" ","--tw-backdrop-sepia":" "}),t({".backdrop-filter":{"@defaults backdrop-filter":{},"backdrop-filter":as},".backdrop-filter-none":{"backdrop-filter":"none"}})},transitionProperty:({matchUtilities:e,theme:t})=>{let n=t("transitionTimingFunction.DEFAULT"),i=t("transitionDuration.DEFAULT");e({transition:o=>({"transition-property":o,...o==="none"?{}:{"transition-timing-function":n,"transition-duration":i}})},{values:t("transitionProperty")})},transitionDelay:(0,kt.default)("transitionDelay",[["delay",["transitionDelay"]]]),transitionDuration:(0,kt.default)("transitionDuration",[["duration",["transitionDuration"]]],{filterDefault:!0}),transitionTimingFunction:(0,kt.default)("transitionTimingFunction",[["ease",["transitionTimingFunction"]]],{filterDefault:!0}),willChange:(0,kt.default)("willChange",[["will-change",["will-change"]]]),content:(0,kt.default)("content",[["content",["--tw-content",["content","var(--tw-content)"]]]]),forcedColorAdjust:({addUtilities:e})=>{e({".forced-color-adjust-auto":{"forced-color-adjust":"auto"},".forced-color-adjust-none":{"forced-color-adjust":"none"}})}}});var hb=me(fb=>{"use strict";Object.defineProperty(fb,"__esModule",{value:!0});Object.defineProperty(fb,"toPath",{enumerable:!0,get:function(){return DU}});function DU(e){if(Array.isArray(e))return e;let t=e.split("[").length-1,n=e.split("]").length-1;if(t!==n)throw new Error(`Path is invalid. Has unbalanced brackets: ${e}`);return e.split(/\.(?![^\[]*\])|[\[\]]/g).filter(Boolean)}});var yb=me(mb=>{"use strict";Object.defineProperty(mb,"__esModule",{value:!0});Object.defineProperty(mb,"default",{enumerable:!0,get:function(){return OU}});var BP=new Map([["{","}"],["[","]"],["(",")"]]),RP=new Map(Array.from(BP.entries()).map(([e,t])=>[t,e])),IU=new Set(['"',"'","`"]);function OU(e){let t=[],n=!1;for(let i=0;i<e.length;i++){let o=e[i];if(o===":"&&!n&&t.length===0)return!1;if(IU.has(o)&&e[i-1]!=="\\"&&(n=!n),!n&&e[i-1]!=="\\"){if(BP.has(o))t.push(o);else if(RP.has(o)){let r=RP.get(o);if(t.length<=0||t.pop()!==r)return!1}}}return!(t.length>0)}});var VP=me(bb=>{"use strict";Object.defineProperty(bb,"__esModule",{value:!0});Object.defineProperty(bb,"hasContentChanged",{enumerable:!0,get:function(){return MU}});var NU=FU(yt("crypto")),UP=jU(Fd());function FU(e){return e&&e.__esModule?e:{default:e}}function $P(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,n=new WeakMap;return($P=function(i){return i?n:t})(e)}function jU(e,t){if(!t&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var n=$P(t);if(n&&n.has(e))return n.get(e);var i={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if(r!=="default"&&Object.prototype.hasOwnProperty.call(e,r)){var u=o?Object.getOwnPropertyDescriptor(e,r):null;u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=e[r]}return i.default=e,n&&n.set(e,i),i}function LU(e){try{return NU.default.createHash("md5").update(e,"utf-8").digest("binary")}catch{return""}}function MU(e,t){let n=t.toString();if(!n.includes("@tailwind"))return!1;let i=UP.sourceHashMap.get(e),o=LU(n),r=i!==o;return UP.sourceHashMap.set(e,o),r}});var qP=me(gb=>{"use strict";Object.defineProperty(gb,"__esModule",{value:!0});Object.defineProperty(gb,"default",{enumerable:!0,get:function(){return RU}});function RU(e){return(e>0n)-(e<0n)}});var WP=me(vb=>{"use strict";Object.defineProperty(vb,"__esModule",{value:!0});Object.defineProperty(vb,"remapBitfield",{enumerable:!0,get:function(){return BU}});function BU(e,t){let n=0n,i=0n;for(let[o,r]of t)e&o&&(n=n|o,i=i|r);return e&~n|i}});var GP=me(Eb=>{"use strict";Object.defineProperty(Eb,"__esModule",{value:!0});Object.defineProperty(Eb,"Offsets",{enumerable:!0,get:function(){return Tb}});var KP=$U(qP()),UU=WP();function $U(e){return e&&e.__esModule?e:{default:e}}var Tb=class{constructor(){this.offsets={defaults:0n,base:0n,components:0n,utilities:0n,variants:0n,user:0n},this.layerPositions={defaults:0n,base:1n,components:2n,utilities:3n,user:4n,variants:5n},this.reservedVariantBits=0n,this.variantOffsets=new Map}create(t){return{layer:t,parentLayer:t,arbitrary:0n,variants:0n,parallelIndex:0n,index:this.offsets[t]++,options:[]}}arbitraryProperty(){return{...this.create("utilities"),arbitrary:1n}}forVariant(t,n=0){let i=this.variantOffsets.get(t);if(i===void 0)throw new Error(`Cannot find offset for unknown variant ${t}`);return{...this.create("variants"),variants:i<<BigInt(n)}}applyVariantOffset(t,n,i){return i.variant=n.variants,{...t,layer:"variants",parentLayer:t.layer==="variants"?t.parentLayer:t.layer,variants:t.variants|n.variants,options:i.sort?[].concat(i,t.options):t.options,parallelIndex:zP([t.parallelIndex,n.parallelIndex])}}applyParallelOffset(t,n){return{...t,parallelIndex:BigInt(n)}}recordVariants(t,n){for(let i of t)this.recordVariant(i,n(i))}recordVariant(t,n=1){return this.variantOffsets.set(t,1n<<this.reservedVariantBits),this.reservedVariantBits+=BigInt(n),{...this.create("variants"),variants:this.variantOffsets.get(t)}}compare(t,n){if(t.layer!==n.layer)return this.layerPositions[t.layer]-this.layerPositions[n.layer];if(t.parentLayer!==n.parentLayer)return this.layerPositions[t.parentLayer]-this.layerPositions[n.parentLayer];for(let o of t.options)for(let r of n.options){if(o.id!==r.id||!o.sort||!r.sort)continue;var i;let u=(i=zP([o.variant,r.variant]))!==null&&i!==void 0?i:0n,a=~(u|u-1n),m=t.variants&a,d=n.variants&a;if(m!==d)continue;let s=o.sort({value:o.value,modifier:o.modifier},{value:r.value,modifier:r.modifier});if(s!==0)return s}return t.variants!==n.variants?t.variants-n.variants:t.parallelIndex!==n.parallelIndex?t.parallelIndex-n.parallelIndex:t.arbitrary!==n.arbitrary?t.arbitrary-n.arbitrary:t.index-n.index}recalculateVariantOffsets(){let t=Array.from(this.variantOffsets.entries()).filter(([o])=>o.startsWith("[")).sort(([o],[r])=>VU(o,r)),n=t.map(([,o])=>o).sort((o,r)=>(0,KP.default)(o-r));return t.map(([,o],r)=>[o,n[r]]).filter(([o,r])=>o!==r)}remapArbitraryVariantOffsets(t){let n=this.recalculateVariantOffsets();return n.length===0?t:t.map(i=>{let[o,r]=i;return o={...o,variants:(0,UU.remapBitfield)(o.variants,n)},[o,r]})}sort(t){return t=this.remapArbitraryVariantOffsets(t),t.sort(([n],[i])=>(0,KP.default)(this.compare(n,i)))}};function zP(e){let t=null;for(let n of e)t=t??n,t=t>n?t:n;return t}function VU(e,t){let n=e.length,i=t.length,o=n<i?n:i;for(let r=0;r<o;r++){let u=e.charCodeAt(r)-t.charCodeAt(r);if(u!==0)return u}return n-i}});var Rd=me(Db=>{"use strict";Object.defineProperty(Db,"__esModule",{value:!0});function qU(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}qU(Db,{INTERNAL_FEATURES:function(){return rk},isValidVariantFormatString:function(){return Pb},parseVariant:function(){return Ud},getFileModifiedMap:function(){return kb},createContext:function(){return ak},getContext:function(){return d$}});var WU=ui(yt("fs")),KU=ui(yt("url")),$u=ui(Bi()),zU=ui(TP()),ZP=ui(Qs()),GU=ui(Ld()),HU=ui(T1()),XU=ui(wd()),JU=ui(Io()),YU=ui(Mu()),Uu=tk(Y1()),HP=Nd(),Vr=MP(),os=tk(Fd()),QU=hb(),jo=ui(Ba()),ZU=ui(Id()),XP=ui(yb()),JP=Ib(),e$=VP(),t$=GP(),Sb=Ua(),xb=X1();function ui(e){return e&&e.__esModule?e:{default:e}}function ek(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,n=new WeakMap;return(ek=function(i){return i?n:t})(e)}function tk(e,t){if(!t&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var n=ek(t);if(n&&n.has(e))return n.get(e);var i={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if(r!=="default"&&Object.prototype.hasOwnProperty.call(e,r)){var u=o?Object.getOwnPropertyDescriptor(e,r):null;u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=e[r]}return i.default=e,n&&n.set(e,i),i}var rk=Symbol(),_b={AddVariant:Symbol.for("ADD_VARIANT"),MatchVariant:Symbol.for("MATCH_VARIANT")},Ab={Base:1,Dynamic:2};function wb(e,t){let n=e.tailwindConfig.prefix;return typeof n=="function"?n(t):n+t}function YP({type:e="any",...t}){let n=[].concat(e);return{...t,types:n.map(i=>Array.isArray(i)?{type:i[0],...i[1]}:{type:i,preferOnConflict:!1})}}function r$(e){let t=[],n="",i=0;for(let o=0;o<e.length;o++){let r=e[o];if(r==="\\")n+="\\"+e[++o];else if(r==="{")++i,t.push(n.trim()),n="";else if(r==="}"){if(--i<0)throw new Error("Your { and } are unbalanced.");t.push(n.trim()),n=""}else n+=r}return n.length>0&&t.push(n.trim()),t=t.filter(o=>o!==""),t}function n$(e,t,{before:n=[]}={}){if(n=[].concat(n),n.length<=0){e.push(t);return}let i=e.length-1;for(let o of n){let r=e.indexOf(o);r!==-1&&(i=Math.min(i,r))}e.splice(i,0,t)}function nk(e){return Array.isArray(e)?e.flatMap(t=>!Array.isArray(t)&&!(0,JU.default)(t)?t:(0,HU.default)(t)):nk([e])}function i$(e,t){return(0,ZP.default)(i=>{let o=[];return t&&t(i),i.walkClasses(r=>{o.push(r.value)}),o}).transformSync(e)}function s$(e){e.walkPseudos(t=>{t.value===":not"&&t.remove()})}function a$(e,t={containsNonOnDemandable:!1},n=0){let i=[],o=[];e.type==="rule"?o.push(...e.selectors):e.type==="atrule"&&e.walkRules(r=>o.push(...r.selectors));for(let r of o){let u=i$(r,s$);u.length===0&&(t.containsNonOnDemandable=!0);for(let a of u)i.push(a)}return n===0?[t.containsNonOnDemandable||i.length===0,i]:i}function Bd(e){return nk(e).flatMap(t=>{let n=new Map,[i,o]=a$(t);return i&&o.unshift(os.NOT_ON_DEMAND),o.map(r=>(n.has(t)||n.set(t,t),[r,n.get(t)]))})}function Pb(e){return e.startsWith("@")||e.includes("&")}function Ud(e){e=e.replace(/\n+/g,"").replace(/\s{1,}/g," ").trim();let t=r$(e).map(n=>{if(!n.startsWith("@"))return({format:u})=>u(n);let[,i,o]=/@(\S*)( .+|[({].*)?/g.exec(n);var r;return({wrap:u})=>u($u.default.atRule({name:i,params:(r=o==null?void 0:o.trim())!==null&&r!==void 0?r:""}))}).reverse();return n=>{for(let i of t)i(n)}}function o$(e,t,{variantList:n,variantMap:i,offsets:o,classList:r}){function u(f,p){return f?(0,zU.default)(e,f,p):e}function a(f){return(0,XU.default)(e.prefix,f)}function m(f,p){return f===os.NOT_ON_DEMAND?os.NOT_ON_DEMAND:p.respectPrefix?t.tailwindConfig.prefix+f:f}function d(f,p,h={}){let y=(0,QU.toPath)(f),b=u(["theme",...y],p);return(0,GU.default)(y[0])(b,h)}let s=0,l={postcss:$u.default,prefix:a,e:YU.default,config:u,theme:d,corePlugins:f=>Array.isArray(e.corePlugins)?e.corePlugins.includes(f):u(["corePlugins",f],!0),variants:()=>[],addBase(f){for(let[p,h]of Bd(f)){let y=m(p,{}),b=o.create("base");t.candidateRuleMap.has(y)||t.candidateRuleMap.set(y,[]),t.candidateRuleMap.get(y).push([{sort:b,layer:"base"},h])}},addDefaults(f,p){let h={[`@defaults ${f}`]:p};for(let[y,b]of Bd(h)){let E=m(y,{});t.candidateRuleMap.has(E)||t.candidateRuleMap.set(E,[]),t.candidateRuleMap.get(E).push([{sort:o.create("defaults"),layer:"defaults"},b])}},addComponents(f,p){p=Object.assign({},{preserveSource:!1,respectPrefix:!0,respectImportant:!1},Array.isArray(p)?{}:p);for(let[y,b]of Bd(f)){let E=m(y,p);r.add(E),t.candidateRuleMap.has(E)||t.candidateRuleMap.set(E,[]),t.candidateRuleMap.get(E).push([{sort:o.create("components"),layer:"components",options:p},b])}},addUtilities(f,p){p=Object.assign({},{preserveSource:!1,respectPrefix:!0,respectImportant:!0},Array.isArray(p)?{}:p);for(let[y,b]of Bd(f)){let E=m(y,p);r.add(E),t.candidateRuleMap.has(E)||t.candidateRuleMap.set(E,[]),t.candidateRuleMap.get(E).push([{sort:o.create("utilities"),layer:"utilities",options:p},b])}},matchUtilities:function(f,p){p=YP({...{respectPrefix:!0,respectImportant:!0,modifiers:!1},...p});let y=o.create("utilities");for(let b in f){let S=function(A,{isOnlyPlugin:x}){let[C,P,D]=(0,HP.coerceValue)(p.types,A,p,e);if(C===void 0)return[];if(!p.types.some(({type:M})=>M===P))if(x)jo.default.warn([`Unnecessary typehint \`${P}\` in \`${b}-${A}\`.`,`You can safely update it to \`${b}-${A.replace(P+":","")}\`.`]);else return[];if(!(0,XP.default)(C))return[];let L={get modifier(){return p.modifiers||jo.default.warn(`modifier-used-without-options-for-${b}`,["Your plugin must set `modifiers: true` in its options to support modifiers."]),D}},I=(0,Sb.flagEnabled)(e,"generalizedModifiers");return[].concat(I?v(C,L):v(C)).filter(Boolean).map(M=>({[(0,Uu.default)(b,A)]:M}))},E=m(b,p),v=f[b];r.add([E,p]);let w=[{sort:y,layer:"utilities",options:p},S];t.candidateRuleMap.has(E)||t.candidateRuleMap.set(E,[]),t.candidateRuleMap.get(E).push(w)}},matchComponents:function(f,p){p=YP({...{respectPrefix:!0,respectImportant:!1,modifiers:!1},...p});let y=o.create("components");for(let b in f){let S=function(A,{isOnlyPlugin:x}){let[C,P,D]=(0,HP.coerceValue)(p.types,A,p,e);if(C===void 0)return[];if(!p.types.some(({type:M})=>M===P))if(x)jo.default.warn([`Unnecessary typehint \`${P}\` in \`${b}-${A}\`.`,`You can safely update it to \`${b}-${A.replace(P+":","")}\`.`]);else return[];if(!(0,XP.default)(C))return[];let L={get modifier(){return p.modifiers||jo.default.warn(`modifier-used-without-options-for-${b}`,["Your plugin must set `modifiers: true` in its options to support modifiers."]),D}},I=(0,Sb.flagEnabled)(e,"generalizedModifiers");return[].concat(I?v(C,L):v(C)).filter(Boolean).map(M=>({[(0,Uu.default)(b,A)]:M}))},E=m(b,p),v=f[b];r.add([E,p]);let w=[{sort:y,layer:"components",options:p},S];t.candidateRuleMap.has(E)||t.candidateRuleMap.set(E,[]),t.candidateRuleMap.get(E).push(w)}},addVariant(f,p,h={}){p=[].concat(p).map(y=>{if(typeof y!="string")return(b={})=>{let{args:E,modifySelectors:v,container:S,separator:w,wrap:A,format:x}=b,C=y(Object.assign({modifySelectors:v,container:S,separator:w},h.type===_b.MatchVariant&&{args:E,wrap:A,format:x}));if(typeof C=="string"&&!Pb(C))throw new Error(`Your custom variant \`${f}\` has an invalid format string. Make sure it's an at-rule or contains a \`&\` placeholder.`);return Array.isArray(C)?C.filter(P=>typeof P=="string").map(P=>Ud(P)):C&&typeof C=="string"&&Ud(C)(b)};if(!Pb(y))throw new Error(`Your custom variant \`${f}\` has an invalid format string. Make sure it's an at-rule or contains a \`&\` placeholder.`);return Ud(y)}),n$(n,f,h),i.set(f,p),t.variantOptions.set(f,h)},matchVariant(f,p,h){var y;let b=(y=h==null?void 0:h.id)!==null&&y!==void 0?y:++s,E=f==="@",v=(0,Sb.flagEnabled)(e,"generalizedModifiers");var S;for(let[x,C]of Object.entries((S=h==null?void 0:h.values)!==null&&S!==void 0?S:{}))x!=="DEFAULT"&&l.addVariant(E?`${f}${x}`:`${f}-${x}`,({args:P,container:D})=>p(C,v?{modifier:P==null?void 0:P.modifier,container:D}:{container:D}),{...h,value:C,id:b,type:_b.MatchVariant,variantInfo:Ab.Base});var w;let A="DEFAULT"in((w=h==null?void 0:h.values)!==null&&w!==void 0?w:{});l.addVariant(f,({args:x,container:C})=>{if((x==null?void 0:x.value)===os.NONE&&!A)return null;var P;return p((x==null?void 0:x.value)===os.NONE?h.values.DEFAULT:(P=x==null?void 0:x.value)!==null&&P!==void 0?P:typeof x=="string"?x:"",v?{modifier:x==null?void 0:x.modifier,container:C}:{container:C})},{...h,id:b,type:_b.MatchVariant,variantInfo:Ab.Dynamic})}};return l}var Cb=new WeakMap;function kb(e){return Cb.has(e)||Cb.set(e,new Map),Cb.get(e)}function QP(e,t){let n=!1,i=new Map;for(let r of e){var o;if(!r)continue;let u=KU.default.parse(r),a=u.hash?u.href.replace(u.hash,""):u.href;a=u.search?a.replace(u.search,""):a;let m=(o=WU.default.statSync(decodeURIComponent(a),{throwIfNoEntry:!1}))===null||o===void 0?void 0:o.mtimeMs;m&&((!t.has(r)||m>t.get(r))&&(n=!0),i.set(r,m))}return[n,i]}function ik(e){e.walkAtRules(t=>{["responsive","variants"].includes(t.name)&&(ik(t),t.before(t.nodes),t.remove())})}function l$(e){let t=[];return e.each(n=>{n.type==="atrule"&&["responsive","variants"].includes(n.name)&&(n.name="layer",n.params="utilities")}),e.walkAtRules("layer",n=>{if(ik(n),n.params==="base"){for(let i of n.nodes)t.push(function({addBase:o}){o(i,{respectPrefix:!1})});n.remove()}else if(n.params==="components"){for(let i of n.nodes)t.push(function({addComponents:o}){o(i,{respectPrefix:!1,preserveSource:!0})});n.remove()}else if(n.params==="utilities"){for(let i of n.nodes)t.push(function({addUtilities:o}){o(i,{respectPrefix:!1,preserveSource:!0})});n.remove()}}),t}function u$(e,t){let n=Object.entries({...Vr.variantPlugins,...Vr.corePlugins}).map(([m,d])=>e.tailwindConfig.corePlugins.includes(m)?d:null).filter(Boolean),i=e.tailwindConfig.plugins.map(m=>(m.__isOptionsFunction&&(m=m()),typeof m=="function"?m:m.handler)),o=l$(t),r=[Vr.variantPlugins.childVariant,Vr.variantPlugins.pseudoElementVariants,Vr.variantPlugins.pseudoClassVariants,Vr.variantPlugins.hasVariants,Vr.variantPlugins.ariaVariants,Vr.variantPlugins.dataVariants],u=[Vr.variantPlugins.supportsVariants,Vr.variantPlugins.reducedMotionVariants,Vr.variantPlugins.prefersContrastVariants,Vr.variantPlugins.screenVariants,Vr.variantPlugins.orientationVariants,Vr.variantPlugins.directionVariants,Vr.variantPlugins.darkVariants,Vr.variantPlugins.forcedColorsVariants,Vr.variantPlugins.printVariant];return(e.tailwindConfig.darkMode==="class"||Array.isArray(e.tailwindConfig.darkMode)&&e.tailwindConfig.darkMode[0]==="class")&&(u=[Vr.variantPlugins.supportsVariants,Vr.variantPlugins.reducedMotionVariants,Vr.variantPlugins.prefersContrastVariants,Vr.variantPlugins.darkVariants,Vr.variantPlugins.screenVariants,Vr.variantPlugins.orientationVariants,Vr.variantPlugins.directionVariants,Vr.variantPlugins.forcedColorsVariants,Vr.variantPlugins.printVariant]),[...n,...r,...i,...u,...o]}function c$(e,t){let n=[],i=new Map;t.variantMap=i;let o=new t$.Offsets;t.offsets=o;let r=new Set,u=o$(t.tailwindConfig,t,{variantList:n,variantMap:i,offsets:o,classList:r});for(let p of e)if(Array.isArray(p))for(let h of p)h(u);else p==null||p(u);o.recordVariants(n,p=>i.get(p).length);for(let[p,h]of i.entries())t.variantMap.set(p,h.map((y,b)=>[o.forVariant(p,b),y]));var a;let m=((a=t.tailwindConfig.safelist)!==null&&a!==void 0?a:[]).filter(Boolean);if(m.length>0){let p=[];for(let h of m){if(typeof h=="string"){t.changedContent.push({content:h,extension:"html"});continue}if(h instanceof RegExp){jo.default.warn("root-regex",["Regular expressions in `safelist` work differently in Tailwind CSS v3.0.","Update your `safelist` configuration to eliminate this warning.","https://tailwindcss.com/docs/content-configuration#safelisting-classes"]);continue}p.push(h)}if(p.length>0){let h=new Map,y=t.tailwindConfig.prefix.length,b=p.some(E=>E.pattern.source.includes("!"));for(let E of r){let v=Array.isArray(E)?(()=>{let[S,w]=E;var A;let C=Object.keys((A=w==null?void 0:w.values)!==null&&A!==void 0?A:{}).map(P=>(0,Uu.formatClass)(S,P));return w!=null&&w.supportsNegativeValues&&(C=[...C,...C.map(P=>"-"+P)],C=[...C,...C.map(P=>P.slice(0,y)+"-"+P.slice(y))]),w.types.some(({type:P})=>P==="color")&&(C=[...C,...C.flatMap(P=>Object.keys(t.tailwindConfig.theme.opacity).map(D=>`${P}/${D}`))]),b&&(w!=null&&w.respectImportant)&&(C=[...C,...C.map(P=>"!"+P)]),C})():[E];for(let S of v)for(let{pattern:w,variants:A=[]}of p)if(w.lastIndex=0,h.has(w)||h.set(w,0),!!w.test(S)){h.set(w,h.get(w)+1),t.changedContent.push({content:S,extension:"html"});for(let x of A)t.changedContent.push({content:x+t.tailwindConfig.separator+S,extension:"html"})}}for(let[E,v]of h.entries())v===0&&jo.default.warn([`The safelist pattern \`${E}\` doesn't match any Tailwind CSS classes.`,"Fix this pattern or remove it from your `safelist` configuration.","https://tailwindcss.com/docs/content-configuration#safelisting-classes"])}}var d,s;let l=(s=[].concat((d=t.tailwindConfig.darkMode)!==null&&d!==void 0?d:"media")[1])!==null&&s!==void 0?s:"dark",f=[wb(t,l),wb(t,"group"),wb(t,"peer")];t.getClassOrder=function(h){let y=[...h].sort((w,A)=>w===A?0:w<A?-1:1),b=new Map(y.map(w=>[w,null])),E=(0,JP.generateRules)(new Set(y),t,!0);E=t.offsets.sort(E);let v=BigInt(f.length);for(let[,w]of E){let A=w.raws.tailwind.candidate;var S;b.set(A,(S=b.get(A))!==null&&S!==void 0?S:v++)}return h.map(w=>{var A;let x=(A=b.get(w))!==null&&A!==void 0?A:null,C=f.indexOf(w);return x===null&&C!==-1&&(x=BigInt(C)),[w,x]})},t.getClassList=function(h={}){let y=[];for(let w of r)if(Array.isArray(w)){var b;let[A,x]=w,C=[];var E;let P=Object.keys((E=x==null?void 0:x.modifiers)!==null&&E!==void 0?E:{});if(!(x==null||(b=x.types)===null||b===void 0)&&b.some(({type:I})=>I==="color")){var v;P.push(...Object.keys((v=t.tailwindConfig.theme.opacity)!==null&&v!==void 0?v:{}))}let D={modifiers:P},L=h.includeMetadata&&P.length>0;var S;for(let[I,j]of Object.entries((S=x==null?void 0:x.values)!==null&&S!==void 0?S:{})){if(j==null)continue;let M=(0,Uu.formatClass)(A,I);if(y.push(L?[M,D]:M),x!=null&&x.supportsNegativeValues&&(0,ZU.default)(j)){let R=(0,Uu.formatClass)(A,`-${I}`);C.push(L?[R,D]:R)}}y.push(...C)}else y.push(w);return y},t.getVariants=function(){let h=[];for(let[b,E]of t.variantOptions.entries())if(E.variantInfo!==Ab.Base){var y;h.push({name:b,isArbitrary:E.type===Symbol.for("MATCH_VARIANT"),values:Object.keys((y=E.values)!==null&&y!==void 0?y:{}),hasDash:b!=="@",selectors({modifier:v,value:S}={}){let w="__TAILWIND_PLACEHOLDER__",A=$u.default.rule({selector:`.${w}`}),x=$u.default.root({nodes:[A.clone()]}),C=x.toString();var P;let D=((P=t.variantMap.get(b))!==null&&P!==void 0?P:[]).flatMap(([X,H])=>H),L=[];for(let X of D){var I;let H=[];var j;let F={args:{modifier:v,value:(j=(I=E.values)===null||I===void 0?void 0:I[S])!==null&&j!==void 0?j:S},separator:t.tailwindConfig.separator,modifySelectors(V){return x.each(Q=>{Q.type==="rule"&&(Q.selectors=Q.selectors.map(ne=>V({get className(){return(0,JP.getClassNameFromSelector)(ne)},selector:ne})))}),x},format(V){H.push(V)},wrap(V){H.push(`@${V.name} ${V.params} { & }`)},container:x},W=X(F);if(H.length>0&&L.push(H),Array.isArray(W))for(let V of W)H=[],V(F),L.push(H)}let M=[],R=x.toString();C!==R&&(x.walkRules(X=>{let H=X.selector,F=(0,ZP.default)(W=>{W.walkClasses(V=>{V.value=`${b}${t.tailwindConfig.separator}${V.value}`})}).processSync(H);M.push(H.replace(F,"&").replace(w,"&"))}),x.walkAtRules(X=>{M.push(`@${X.name} (${X.params}) { & }`)}));var z;let Y=!(S in((z=E.values)!==null&&z!==void 0?z:{}));var $;let G=($=E[rk])!==null&&$!==void 0?$:{},U=!(Y||G.respectPrefix===!1);L=L.map(X=>X.map(H=>({format:H,respectPrefix:U}))),M=M.map(X=>({format:X,respectPrefix:U}));let B={candidate:w,context:t},N=L.map(X=>(0,xb.finalizeSelector)(`.${w}`,(0,xb.formatVariantSelector)(X,B),B).replace(`.${w}`,"&").replace("{ & }","").trim());return M.length>0&&N.push((0,xb.formatVariantSelector)(M,B).toString().replace(`.${w}`,"&")),N}})}return h}}function sk(e,t){e.classCache.has(t)&&(e.notClassCache.add(t),e.classCache.delete(t),e.applyClassCache.delete(t),e.candidateRuleMap.delete(t),e.candidateRuleCache.delete(t),e.stylesheetCache=null)}function p$(e,t){let n=t.raws.tailwind.candidate;if(n){for(let i of e.ruleCache)i[1].raws.tailwind.candidate===n&&e.ruleCache.delete(i);sk(e,n)}}function ak(e,t=[],n=$u.default.root()){var i;let o={disposables:[],ruleCache:new Set,candidateRuleCache:new Map,classCache:new Map,applyClassCache:new Map,notClassCache:new Set((i=e.blocklist)!==null&&i!==void 0?i:[]),postCssNodeCache:new Map,candidateRuleMap:new Map,tailwindConfig:e,changedContent:t,variantMap:new Map,stylesheetCache:null,variantOptions:new Map,markInvalidUtilityCandidate:u=>sk(o,u),markInvalidUtilityNode:u=>p$(o,u)},r=u$(o,n);return c$(r,o),o}var Fo=os.contextMap,Bu=os.configContextMap,na=os.contextSourcesMap;function d$(e,t,n,i,o,r){let u=t.opts.from,a=i!==null;os.env.DEBUG&&console.log("Source path:",u);let m;if(a&&Fo.has(u))m=Fo.get(u);else if(Bu.has(o)){let f=Bu.get(o);na.get(f).add(u),Fo.set(u,f),m=f}let d=(0,e$.hasContentChanged)(u,e);if(m){let[f,p]=QP([...r],kb(m));if(!f&&!d)return[m,!1,p]}if(Fo.has(u)){let f=Fo.get(u);if(na.has(f)&&(na.get(f).delete(u),na.get(f).size===0)){na.delete(f);for(let[p,h]of Bu)h===f&&Bu.delete(p);for(let p of f.disposables.splice(0))p(f)}}os.env.DEBUG&&console.log("Setting up new context...");let s=ak(n,[],e);Object.assign(s,{userConfigPath:i});let[,l]=QP([...r],kb(s));return Bu.set(o,s),Fo.set(u,s),na.has(s)||na.set(s,new Set),na.get(s).add(u),[s,!0,l]}});var lk=me(Ob=>{"use strict";Object.defineProperty(Ob,"__esModule",{value:!0});Object.defineProperty(Ob,"applyImportantSelector",{enumerable:!0,get:function(){return m$}});var ok=h$(Qs()),f$=z1();function h$(e){return e&&e.__esModule?e:{default:e}}function m$(e,t){let n=(0,ok.default)().astSync(e);return n.each(i=>{i.nodes[0].type==="pseudo"&&i.nodes[0].value===":is"&&i.nodes.every(r=>r.type!=="combinator")||(i.nodes=[ok.default.pseudo({value:":is",nodes:[i.clone()]})]),(0,f$.movePseudos)(i)}),`${t} ${n.toString()}`}});var Ib=me(Ub=>{"use strict";Object.defineProperty(Ub,"__esModule",{value:!0});function y$(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}y$(Ub,{getClassNameFromSelector:function(){return fk},resolveMatches:function(){return mk},generateRules:function(){return U$}});var Lo=$a(Bi()),Bb=$a(Qs()),b$=$a(T1()),g$=$a(Io()),v$=$a(wd()),ck=Nd(),T$=$a(Ba()),Fb=w$(Fd()),jb=X1(),E$=Y1(),pk=Fu(),Nb=Rd(),S$=$a(yb()),Lb=Oo(),x$=Ua(),_$=lk();function $a(e){return e&&e.__esModule?e:{default:e}}function dk(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,n=new WeakMap;return(dk=function(i){return i?n:t})(e)}function w$(e,t){if(!t&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var n=dk(t);if(n&&n.has(e))return n.get(e);var i={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if(r!=="default"&&Object.prototype.hasOwnProperty.call(e,r)){var u=o?Object.getOwnPropertyDescriptor(e,r):null;u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=e[r]}return i.default=e,n&&n.set(e,i),i}var C$=(0,Bb.default)(e=>e.first.filter(({type:t})=>t==="class").pop().value);function fk(e){return C$.transformSync(e)}function*A$(e){let t=1/0;for(;t>=0;){let n,i=!1;if(t===1/0&&e.endsWith("]")){let u=e.indexOf("[");e[u-1]==="-"?n=u-1:e[u-1]==="/"?(n=u-1,i=!0):n=-1}else t===1/0&&e.includes("/")?(n=e.lastIndexOf("/"),i=!0):n=e.lastIndexOf("-",t);if(n<0)break;let o=e.slice(0,n),r=e.slice(i?n:n+1);t=n-1,!(o===""||r==="/")&&(yield[o,r])}}function P$(e,t){if(e.length===0||t.tailwindConfig.prefix==="")return e;for(let n of e){let[i]=n;if(i.options.respectPrefix){let o=Lo.default.root({nodes:[n[1].clone()]}),r=n[1].raws.tailwind.classCandidate;o.walkRules(u=>{let a=r.startsWith("-");u.selector=(0,v$.default)(t.tailwindConfig.prefix,u.selector,a)}),n[1]=o.nodes[0]}}return e}function k$(e,t){if(e.length===0)return e;let n=[];function i(o){return o.parent&&o.parent.type==="atrule"&&o.parent.name==="keyframes"}for(let[o,r]of e){let u=Lo.default.root({nodes:[r.clone()]});u.walkRules(a=>{if(i(a))return;let m=(0,Bb.default)().astSync(a.selector);m.each(d=>(0,jb.eliminateIrrelevantSelectors)(d,t)),(0,ck.updateAllClasses)(m,d=>d===t?`!${d}`:d),a.selector=m.toString(),a.walkDecls(d=>d.important=!0)}),n.push([{...o,important:!0},u.nodes[0]])}return n}function D$(e,t,n){if(t.length===0)return t;let i={modifier:null,value:Fb.NONE};{let[a,...m]=(0,Lb.splitAtTopLevelOnly)(e,"/");if(m.length>1&&(a=a+"/"+m.slice(0,-1).join("/"),m=m.slice(-1)),m.length&&!n.variantMap.has(e)&&(e=a,i.modifier=m[0],!(0,x$.flagEnabled)(n.tailwindConfig,"generalizedModifiers")))return[]}if(e.endsWith("]")&&!e.startsWith("[")){let a=/(.)(-?)\[(.*)\]/g.exec(e);if(a){let[,m,d,s]=a;if(m==="@"&&d==="-")return[];if(m!=="@"&&d==="")return[];e=e.replace(`${d}[${s}]`,""),i.value=s}}if(Rb(e)&&!n.variantMap.has(e)){let a=n.offsets.recordVariant(e),m=(0,pk.normalize)(e.slice(1,-1)),d=(0,Lb.splitAtTopLevelOnly)(m,",");if(d.length>1)return[];if(!d.every(Nb.isValidVariantFormatString))return[];let s=d.map((l,f)=>[n.offsets.applyParallelOffset(a,f),(0,Nb.parseVariant)(l.trim())]);n.variantMap.set(e,s)}if(n.variantMap.has(e)){var o;let a=Rb(e);var r;let m=(r=(o=n.variantOptions.get(e))===null||o===void 0?void 0:o[Nb.INTERNAL_FEATURES])!==null&&r!==void 0?r:{},d=n.variantMap.get(e).slice(),s=[],l=!(a||m.respectPrefix===!1);for(let[f,p]of t){if(f.layer==="user")continue;let h=Lo.default.root({nodes:[p.clone()]});for(let[y,b,E]of d){let w=function(){v.raws.neededBackup||(v.raws.neededBackup=!0,v.walkRules(P=>P.raws.originalSelector=P.selector))},A=function(P){return w(),v.each(D=>{D.type==="rule"&&(D.selectors=D.selectors.map(L=>P({get className(){return fk(L)},selector:L})))}),v},v=(E??h).clone(),S=[],x=b({get container(){return w(),v},separator:n.tailwindConfig.separator,modifySelectors:A,wrap(P){let D=v.nodes;v.removeAll(),P.append(D),v.append(P)},format(P){S.push({format:P,respectPrefix:l})},args:i});if(Array.isArray(x)){for(let[P,D]of x.entries())d.push([n.offsets.applyParallelOffset(y,P),D,v.clone()]);continue}if(typeof x=="string"&&S.push({format:x,respectPrefix:l}),x===null)continue;v.raws.neededBackup&&(delete v.raws.neededBackup,v.walkRules(P=>{let D=P.raws.originalSelector;if(!D||(delete P.raws.originalSelector,D===P.selector))return;let L=P.selector,I=(0,Bb.default)(j=>{j.walkClasses(M=>{M.value=`${e}${n.tailwindConfig.separator}${M.value}`})}).processSync(D);S.push({format:L.replace(I,"&"),respectPrefix:l}),P.selector=D})),v.nodes[0].raws.tailwind={...v.nodes[0].raws.tailwind,parentLayer:f.layer};var u;let C=[{...f,sort:n.offsets.applyVariantOffset(f.sort,y,Object.assign(i,n.variantOptions.get(e))),collectedFormats:((u=f.collectedFormats)!==null&&u!==void 0?u:[]).concat(S)},v.nodes[0]];s.push(C)}}return s}return[]}function Mb(e,t,n={}){return!(0,g$.default)(e)&&!Array.isArray(e)?[[e],n]:Array.isArray(e)?Mb(e[0],t,e[1]):(t.has(e)||t.set(e,(0,b$.default)(e)),[t.get(e),n])}var I$=/^[a-z_-]/;function O$(e){return I$.test(e)}function N$(e){if(!e.includes("://"))return!1;try{let t=new URL(e);return t.scheme!==""&&t.host!==""}catch{return!1}}function uk(e){let t=!0;return e.walkDecls(n=>{if(!hk(n.prop,n.value))return t=!1,!1}),t}function hk(e,t){if(N$(`${e}:${t}`))return!1;try{return Lo.default.parse(`a{${e}:${t}}`).toResult(),!0}catch{return!1}}function F$(e,t){var n;let[,i,o]=(n=e.match(/^\[([a-zA-Z0-9-_]+):(\S+)\]$/))!==null&&n!==void 0?n:[];if(o===void 0||!O$(i)||!(0,S$.default)(o))return null;let r=(0,pk.normalize)(o,{property:i});return hk(i,r)?[[{sort:t.offsets.arbitraryProperty(),layer:"utilities"},()=>({[(0,E$.asClass)(e)]:{[i]:r}})]]:null}function*j$(e,t){t.candidateRuleMap.has(e)&&(yield[t.candidateRuleMap.get(e),"DEFAULT"]),yield*function*(a){a!==null&&(yield[a,"DEFAULT"])}(F$(e,t));let n=e,i=!1,o=t.tailwindConfig.prefix,r=o.length,u=n.startsWith(o)||n.startsWith(`-${o}`);n[r]==="-"&&u&&(i=!0,n=o+n.slice(r+1)),i&&t.candidateRuleMap.has(n)&&(yield[t.candidateRuleMap.get(n),"-DEFAULT"]);for(let[a,m]of A$(n))t.candidateRuleMap.has(a)&&(yield[t.candidateRuleMap.get(a),i?`-${m}`:m])}function L$(e,t){return e===Fb.NOT_ON_DEMAND?[Fb.NOT_ON_DEMAND]:(0,Lb.splitAtTopLevelOnly)(e,t)}function*M$(e,t){for(let o of e){var n,i;o[1].raws.tailwind={...o[1].raws.tailwind,classCandidate:t,preserveSource:(i=(n=o[0].options)===null||n===void 0?void 0:n.preserveSource)!==null&&i!==void 0?i:!1},yield o}}function*mk(e,t){let n=t.tailwindConfig.separator,[i,...o]=L$(e,n).reverse(),r=!1;i.startsWith("!")&&(r=!0,i=i.slice(1));for(let l of j$(i,t)){let f=[],p=new Map,[h,y]=l,b=h.length===1;for(let[E,v]of h){let S=[];if(typeof v=="function")for(let w of[].concat(v(y,{isOnlyPlugin:b}))){let[A,x]=Mb(w,t.postCssNodeCache);for(let C of A)S.push([{...E,options:{...E.options,...x}},C])}else if(y==="DEFAULT"||y==="-DEFAULT"){let w=v,[A,x]=Mb(w,t.postCssNodeCache);for(let C of A)S.push([{...E,options:{...E.options,...x}},C])}if(S.length>0){var u,a,m;let w=Array.from((0,ck.getMatchingTypes)((a=(u=E.options)===null||u===void 0?void 0:u.types)!==null&&a!==void 0?a:[],y,(m=E.options)!==null&&m!==void 0?m:{},t.tailwindConfig)).map(([A,x])=>x);w.length>0&&p.set(S,w),f.push(S)}}if(Rb(y)){if(f.length>1){let S=function(A){return A.length===1?A[0]:A.find(x=>{let C=p.get(x);return x.some(([{options:P},D])=>uk(D)?P.types.some(({type:L,preferOnConflict:I})=>C.includes(L)&&I):!1)})},[E,v]=f.reduce((A,x)=>(x.some(([{options:P}])=>P.types.some(({type:D})=>D==="any"))?A[0].push(x):A[1].push(x),A),[[],[]]);var d;let w=(d=S(v))!==null&&d!==void 0?d:S(E);if(w)f=[w];else{var s;let A=f.map(C=>new Set([...(s=p.get(C))!==null&&s!==void 0?s:[]]));for(let C of A)for(let P of C){let D=!1;for(let L of A)C!==L&&L.has(P)&&(L.delete(P),D=!0);D&&C.delete(P)}let x=[];for(let[C,P]of A.entries())for(let D of P){let L=f[C].map(([,I])=>I).flat().map(I=>I.toString().split(`
|
|
`).slice(1,-1).map(j=>j.trim()).map(j=>` ${j}`).join(`
|
|
`)).join(`
|
|
|
|
`);x.push(` Use \`${e.replace("[",`[${D}:`)}\` for \`${L.trim()}\``);break}T$.default.warn([`The class \`${e}\` is ambiguous and matches multiple utilities.`,...x,`If this is content and not a class, replace it with \`${e.replace("[","[").replace("]","]")}\` to silence this warning.`]);continue}}f=f.map(E=>E.filter(v=>uk(v[1])))}f=f.flat(),f=Array.from(M$(f,i)),f=P$(f,t),r&&(f=k$(f,i));for(let E of o)f=D$(E,f,t);for(let E of f)E[1].raws.tailwind={...E[1].raws.tailwind,candidate:e},E=R$(E,{context:t,candidate:e}),E!==null&&(yield E)}}function R$(e,{context:t,candidate:n}){if(!e[0].collectedFormats)return e;let i=!0,o;try{o=(0,jb.formatVariantSelector)(e[0].collectedFormats,{context:t,candidate:n})}catch{return null}let r=Lo.default.root({nodes:[e[1].clone()]});return r.walkRules(u=>{if(!$d(u))try{let a=(0,jb.finalizeSelector)(u.selector,o,{candidate:n,context:t});if(a===null){u.remove();return}u.selector=a}catch{return i=!1,!1}}),!i||r.nodes.length===0?null:(e[1]=r.nodes[0],e)}function $d(e){return e.parent&&e.parent.type==="atrule"&&e.parent.name==="keyframes"}function B$(e){if(e===!0)return t=>{$d(t)||t.walkDecls(n=>{n.parent.type==="rule"&&!$d(n.parent)&&(n.important=!0)})};if(typeof e=="string")return t=>{$d(t)||(t.selectors=t.selectors.map(n=>(0,_$.applyImportantSelector)(n,e)))}}function U$(e,t,n=!1){let i=[],o=B$(t.tailwindConfig.important);for(let u of e){if(t.notClassCache.has(u))continue;if(t.candidateRuleCache.has(u)){i=i.concat(Array.from(t.candidateRuleCache.get(u)));continue}let a=Array.from(mk(u,t));if(a.length===0){t.notClassCache.add(u);continue}t.classCache.set(u,a);var r;let m=(r=t.candidateRuleCache.get(u))!==null&&r!==void 0?r:new Set;t.candidateRuleCache.set(u,m);for(let d of a){let[{sort:s,options:l},f]=d;if(l.respectImportant&&o){let h=Lo.default.root({nodes:[f.clone()]});h.walkRules(o),f=h.nodes[0]}let p=[s,n?f.clone():f];m.add(p),t.ruleCache.add(p),i.push(p)}}return i}function Rb(e){return e.startsWith("[")&&e.endsWith("]")}});var bk=me((Kee,yk)=>{(()=>{var e={"./node_modules/.pnpm/create-require@1.1.1/node_modules/create-require/create-require.js":(o,r,u)=>{let a=u("module"),m=u("path"),d=u("fs");o.exports=function(s){return s||(s=process.cwd()),function(l){try{return d.lstatSync(l).isDirectory()}catch{return!1}}(s)&&(s=m.join(s,"index.js")),a.createRequire?a.createRequire(s):a.createRequireFromPath?a.createRequireFromPath(s):function(l){let f=new a.Module(l,null);return f.filename=l,f.paths=a.Module._nodeModulePaths(m.dirname(l)),f._compile("module.exports = require;",l),f.exports}(s)}},"./node_modules/.pnpm/lru-cache@6.0.0/node_modules/lru-cache/index.js":(o,r,u)=>{"use strict";let a=u("./node_modules/.pnpm/yallist@4.0.0/node_modules/yallist/yallist.js"),m=Symbol("max"),d=Symbol("length"),s=Symbol("lengthCalculator"),l=Symbol("allowStale"),f=Symbol("maxAge"),p=Symbol("dispose"),h=Symbol("noDisposeOnSet"),y=Symbol("lruList"),b=Symbol("cache"),E=Symbol("updateAgeOnGet"),v=()=>1,S=(D,L,I)=>{let j=D[b].get(L);if(j){let M=j.value;if(w(D,M)){if(x(D,j),!D[l])return}else I&&(D[E]&&(j.value.now=Date.now()),D[y].unshiftNode(j));return M.value}},w=(D,L)=>{if(!L||!L.maxAge&&!D[f])return!1;let I=Date.now()-L.now;return L.maxAge?I>L.maxAge:D[f]&&I>D[f]},A=D=>{if(D[d]>D[m])for(let L=D[y].tail;D[d]>D[m]&&L!==null;){let I=L.prev;x(D,L),L=I}},x=(D,L)=>{if(L){let I=L.value;D[p]&&D[p](I.key,I.value),D[d]-=I.length,D[b].delete(I.key),D[y].removeNode(L)}};class C{constructor(L,I,j,M,R){this.key=L,this.value=I,this.length=j,this.now=M,this.maxAge=R||0}}let P=(D,L,I,j)=>{let M=I.value;w(D,M)&&(x(D,I),D[l]||(M=void 0)),M&&L.call(j,M.value,M.key,D)};o.exports=class{constructor(D){if(typeof D=="number"&&(D={max:D}),D||(D={}),D.max&&(typeof D.max!="number"||D.max<0))throw new TypeError("max must be a non-negative number");this[m]=D.max||1/0;let L=D.length||v;if(this[s]=typeof L!="function"?v:L,this[l]=D.stale||!1,D.maxAge&&typeof D.maxAge!="number")throw new TypeError("maxAge must be a number");this[f]=D.maxAge||0,this[p]=D.dispose,this[h]=D.noDisposeOnSet||!1,this[E]=D.updateAgeOnGet||!1,this.reset()}set max(D){if(typeof D!="number"||D<0)throw new TypeError("max must be a non-negative number");this[m]=D||1/0,A(this)}get max(){return this[m]}set allowStale(D){this[l]=!!D}get allowStale(){return this[l]}set maxAge(D){if(typeof D!="number")throw new TypeError("maxAge must be a non-negative number");this[f]=D,A(this)}get maxAge(){return this[f]}set lengthCalculator(D){typeof D!="function"&&(D=v),D!==this[s]&&(this[s]=D,this[d]=0,this[y].forEach(L=>{L.length=this[s](L.value,L.key),this[d]+=L.length})),A(this)}get lengthCalculator(){return this[s]}get length(){return this[d]}get itemCount(){return this[y].length}rforEach(D,L){L=L||this;for(let I=this[y].tail;I!==null;){let j=I.prev;P(this,D,I,L),I=j}}forEach(D,L){L=L||this;for(let I=this[y].head;I!==null;){let j=I.next;P(this,D,I,L),I=j}}keys(){return this[y].toArray().map(D=>D.key)}values(){return this[y].toArray().map(D=>D.value)}reset(){this[p]&&this[y]&&this[y].length&&this[y].forEach(D=>this[p](D.key,D.value)),this[b]=new Map,this[y]=new a,this[d]=0}dump(){return this[y].map(D=>!w(this,D)&&{k:D.key,v:D.value,e:D.now+(D.maxAge||0)}).toArray().filter(D=>D)}dumpLru(){return this[y]}set(D,L,I){if((I=I||this[f])&&typeof I!="number")throw new TypeError("maxAge must be a number");let j=I?Date.now():0,M=this[s](L,D);if(this[b].has(D)){if(M>this[m])return x(this,this[b].get(D)),!1;let z=this[b].get(D).value;return this[p]&&(this[h]||this[p](D,z.value)),z.now=j,z.maxAge=I,z.value=L,this[d]+=M-z.length,z.length=M,this.get(D),A(this),!0}let R=new C(D,L,M,j,I);return R.length>this[m]?(this[p]&&this[p](D,L),!1):(this[d]+=R.length,this[y].unshift(R),this[b].set(D,this[y].head),A(this),!0)}has(D){if(!this[b].has(D))return!1;let L=this[b].get(D).value;return!w(this,L)}get(D){return S(this,D,!0)}peek(D){return S(this,D,!1)}pop(){let D=this[y].tail;return D?(x(this,D),D.value):null}del(D){x(this,this[b].get(D))}load(D){this.reset();let L=Date.now();for(let I=D.length-1;I>=0;I--){let j=D[I],M=j.e||0;if(M===0)this.set(j.k,j.v);else{let R=M-L;R>0&&this.set(j.k,j.v,R)}}}prune(){this[b].forEach((D,L)=>S(this,L,!1))}}},"./node_modules/.pnpm/mlly@1.4.2/node_modules/mlly/dist lazy recursive":o=>{function r(u){return Promise.resolve().then(()=>{var a=new Error("Cannot find module '"+u+"'");throw a.code="MODULE_NOT_FOUND",a})}r.keys=()=>[],r.resolve=r,r.id="./node_modules/.pnpm/mlly@1.4.2/node_modules/mlly/dist lazy recursive",o.exports=r},"./node_modules/.pnpm/object-hash@3.0.0/node_modules/object-hash/index.js":(o,r,u)=>{"use strict";var a=u("crypto");function m(y,b){return function(E,v){var S;S=v.algorithm!=="passthrough"?a.createHash(v.algorithm):new h,S.write===void 0&&(S.write=S.update,S.end=S.update);var w=p(v,S);if(w.dispatch(E),S.update||S.end(""),S.digest)return S.digest(v.encoding==="buffer"?void 0:v.encoding);var A=S.read();return v.encoding==="buffer"?A:A.toString(v.encoding)}(y,b=l(y,b))}(r=o.exports=m).sha1=function(y){return m(y)},r.keys=function(y){return m(y,{excludeValues:!0,algorithm:"sha1",encoding:"hex"})},r.MD5=function(y){return m(y,{algorithm:"md5",encoding:"hex"})},r.keysMD5=function(y){return m(y,{algorithm:"md5",encoding:"hex",excludeValues:!0})};var d=a.getHashes?a.getHashes().slice():["sha1","md5"];d.push("passthrough");var s=["buffer","hex","binary","base64"];function l(y,b){b=b||{};var E={};if(E.algorithm=b.algorithm||"sha1",E.encoding=b.encoding||"hex",E.excludeValues=!!b.excludeValues,E.algorithm=E.algorithm.toLowerCase(),E.encoding=E.encoding.toLowerCase(),E.ignoreUnknown=b.ignoreUnknown===!0,E.respectType=b.respectType!==!1,E.respectFunctionNames=b.respectFunctionNames!==!1,E.respectFunctionProperties=b.respectFunctionProperties!==!1,E.unorderedArrays=b.unorderedArrays===!0,E.unorderedSets=b.unorderedSets!==!1,E.unorderedObjects=b.unorderedObjects!==!1,E.replacer=b.replacer||void 0,E.excludeKeys=b.excludeKeys||void 0,y===void 0)throw new Error("Object argument required.");for(var v=0;v<d.length;++v)d[v].toLowerCase()===E.algorithm.toLowerCase()&&(E.algorithm=d[v]);if(d.indexOf(E.algorithm)===-1)throw new Error('Algorithm "'+E.algorithm+'" not supported. supported values: '+d.join(", "));if(s.indexOf(E.encoding)===-1&&E.algorithm!=="passthrough")throw new Error('Encoding "'+E.encoding+'" not supported. supported values: '+s.join(", "));return E}function f(y){return typeof y!="function"?!1:/^function\s+\w*\s*\(\s*\)\s*{\s+\[native code\]\s+}$/i.exec(Function.prototype.toString.call(y))!=null}function p(y,b,E){E=E||[];var v=function(S){return b.update?b.update(S,"utf8"):b.write(S,"utf8")};return{dispatch:function(S){y.replacer&&(S=y.replacer(S));var w=typeof S;return S===null&&(w="null"),this["_"+w](S)},_object:function(S){var w=Object.prototype.toString.call(S),A=/\[object (.*)\]/i.exec(w);A=(A=A?A[1]:"unknown:["+w+"]").toLowerCase();var x;if((x=E.indexOf(S))>=0)return this.dispatch("[CIRCULAR:"+x+"]");if(E.push(S),typeof Buffer<"u"&&Buffer.isBuffer&&Buffer.isBuffer(S))return v("buffer:"),v(S);if(A==="object"||A==="function"||A==="asyncfunction"){var C=Object.keys(S);y.unorderedObjects&&(C=C.sort()),y.respectType===!1||f(S)||C.splice(0,0,"prototype","__proto__","constructor"),y.excludeKeys&&(C=C.filter(function(D){return!y.excludeKeys(D)})),v("object:"+C.length+":");var P=this;return C.forEach(function(D){P.dispatch(D),v(":"),y.excludeValues||P.dispatch(S[D]),v(",")})}if(!this["_"+A]){if(y.ignoreUnknown)return v("["+A+"]");throw new Error('Unknown object type "'+A+'"')}this["_"+A](S)},_array:function(S,w){w=w!==void 0?w:y.unorderedArrays!==!1;var A=this;if(v("array:"+S.length+":"),!w||S.length<=1)return S.forEach(function(P){return A.dispatch(P)});var x=[],C=S.map(function(P){var D=new h,L=E.slice();return p(y,D,L).dispatch(P),x=x.concat(L.slice(E.length)),D.read().toString()});return E=E.concat(x),C.sort(),this._array(C,!1)},_date:function(S){return v("date:"+S.toJSON())},_symbol:function(S){return v("symbol:"+S.toString())},_error:function(S){return v("error:"+S.toString())},_boolean:function(S){return v("bool:"+S.toString())},_string:function(S){v("string:"+S.length+":"),v(S.toString())},_function:function(S){v("fn:"),f(S)?this.dispatch("[native]"):this.dispatch(S.toString()),y.respectFunctionNames!==!1&&this.dispatch("function-name:"+String(S.name)),y.respectFunctionProperties&&this._object(S)},_number:function(S){return v("number:"+S.toString())},_xml:function(S){return v("xml:"+S.toString())},_null:function(){return v("Null")},_undefined:function(){return v("Undefined")},_regexp:function(S){return v("regex:"+S.toString())},_uint8array:function(S){return v("uint8array:"),this.dispatch(Array.prototype.slice.call(S))},_uint8clampedarray:function(S){return v("uint8clampedarray:"),this.dispatch(Array.prototype.slice.call(S))},_int8array:function(S){return v("int8array:"),this.dispatch(Array.prototype.slice.call(S))},_uint16array:function(S){return v("uint16array:"),this.dispatch(Array.prototype.slice.call(S))},_int16array:function(S){return v("int16array:"),this.dispatch(Array.prototype.slice.call(S))},_uint32array:function(S){return v("uint32array:"),this.dispatch(Array.prototype.slice.call(S))},_int32array:function(S){return v("int32array:"),this.dispatch(Array.prototype.slice.call(S))},_float32array:function(S){return v("float32array:"),this.dispatch(Array.prototype.slice.call(S))},_float64array:function(S){return v("float64array:"),this.dispatch(Array.prototype.slice.call(S))},_arraybuffer:function(S){return v("arraybuffer:"),this.dispatch(new Uint8Array(S))},_url:function(S){return v("url:"+S.toString())},_map:function(S){v("map:");var w=Array.from(S);return this._array(w,y.unorderedSets!==!1)},_set:function(S){v("set:");var w=Array.from(S);return this._array(w,y.unorderedSets!==!1)},_file:function(S){return v("file:"),this.dispatch([S.name,S.size,S.type,S.lastModfied])},_blob:function(){if(y.ignoreUnknown)return v("[blob]");throw Error(`Hashing Blob objects is currently not supported
|
|
(see https://github.com/puleos/object-hash/issues/26)
|
|
Use "options.replacer" or "options.ignoreUnknown"
|
|
`)},_domwindow:function(){return v("domwindow")},_bigint:function(S){return v("bigint:"+S.toString())},_process:function(){return v("process")},_timer:function(){return v("timer")},_pipe:function(){return v("pipe")},_tcp:function(){return v("tcp")},_udp:function(){return v("udp")},_tty:function(){return v("tty")},_statwatcher:function(){return v("statwatcher")},_securecontext:function(){return v("securecontext")},_connection:function(){return v("connection")},_zlib:function(){return v("zlib")},_context:function(){return v("context")},_nodescript:function(){return v("nodescript")},_httpparser:function(){return v("httpparser")},_dataview:function(){return v("dataview")},_signal:function(){return v("signal")},_fsevent:function(){return v("fsevent")},_tlswrap:function(){return v("tlswrap")}}}function h(){return{buf:"",write:function(y){this.buf+=y},end:function(y){this.buf+=y},read:function(){return this.buf}}}r.writeToStream=function(y,b,E){return E===void 0&&(E=b,b={}),p(b=l(y,b),E).dispatch(y)}},"./node_modules/.pnpm/pirates@4.0.6/node_modules/pirates/lib/index.js":(o,r,u)=>{"use strict";o=u.nmd(o),Object.defineProperty(r,"__esModule",{value:!0}),r.addHook=function(p,h={}){let y=!1,b=[],E=[],v,S=l._extensions[".js"],w=h.matcher||null,A=h.ignoreNodeModules!==!1;return v=h.extensions||h.exts||h.extension||h.ext||[".js"],Array.isArray(v)||(v=[v]),v.forEach(x=>{if(typeof x!="string")throw new TypeError(`Invalid Extension: ${x}`);let C=l._extensions[x]||S;E[x]=l._extensions[x],b[x]=l._extensions[x]=function(P,D){let L;y||function(I,j,M,R){if(typeof I!="string"||j.indexOf(m.default.extname(I))===-1)return!1;let z=m.default.resolve(I);return R&&s.test(z)?!1:M&&typeof M=="function"?!!M(z):!0}(D,v,w,A)&&(L=P._compile,P._compile=function(I){P._compile=L;let j=p(I,D);if(typeof j!="string")throw new Error(f);return P._compile(j,D)}),C(P,D)}}),function(){y||(y=!0,v.forEach(x=>{l._extensions[x]===b[x]&&(E[x]?l._extensions[x]=E[x]:delete l._extensions[x])}))}};var a=d(u("module")),m=d(u("path"));function d(p){return p&&p.__esModule?p:{default:p}}let s=/^(?:.*[\\/])?node_modules(?:[\\/].*)?$/,l=o.constructor.length>1?o.constructor:a.default,f=`[Pirates] A hook returned a non-string, or nothing at all! This is a violation of intergalactic law!
|
|
--------------------
|
|
If you have no idea what this means or what Pirates is, let me explain: Pirates is a module that makes is easy to implement require hooks. One of the require hooks you're using uses it. One of these require hooks didn't return anything from it's handler, so we don't know what to do. You might want to debug this.`},"./node_modules/.pnpm/semver@7.5.4/node_modules/semver/classes/comparator.js":(o,r,u)=>{let a=Symbol("SemVer ANY");class m{static get ANY(){return a}constructor(E,v){if(v=d(v),E instanceof m){if(E.loose===!!v.loose)return E;E=E.value}E=E.trim().split(/\s+/).join(" "),p("comparator",E,v),this.options=v,this.loose=!!v.loose,this.parse(E),this.semver===a?this.value="":this.value=this.operator+this.semver.version,p("comp",this)}parse(E){let v=this.options.loose?s[l.COMPARATORLOOSE]:s[l.COMPARATOR],S=E.match(v);if(!S)throw new TypeError(`Invalid comparator: ${E}`);this.operator=S[1]!==void 0?S[1]:"",this.operator==="="&&(this.operator=""),S[2]?this.semver=new h(S[2],this.options.loose):this.semver=a}toString(){return this.value}test(E){if(p("Comparator.test",E,this.options.loose),this.semver===a||E===a)return!0;if(typeof E=="string")try{E=new h(E,this.options)}catch{return!1}return f(E,this.operator,this.semver,this.options)}intersects(E,v){if(!(E instanceof m))throw new TypeError("a Comparator is required");return this.operator===""?this.value===""||new y(E.value,v).test(this.value):E.operator===""?E.value===""||new y(this.value,v).test(E.semver):(!(v=d(v)).includePrerelease||this.value!=="<0.0.0-0"&&E.value!=="<0.0.0-0")&&!(!v.includePrerelease&&(this.value.startsWith("<0.0.0")||E.value.startsWith("<0.0.0")))&&(!(!this.operator.startsWith(">")||!E.operator.startsWith(">"))||!(!this.operator.startsWith("<")||!E.operator.startsWith("<"))||!(this.semver.version!==E.semver.version||!this.operator.includes("=")||!E.operator.includes("="))||!!(f(this.semver,"<",E.semver,v)&&this.operator.startsWith(">")&&E.operator.startsWith("<"))||!!(f(this.semver,">",E.semver,v)&&this.operator.startsWith("<")&&E.operator.startsWith(">")))}}o.exports=m;let d=u("./node_modules/.pnpm/semver@7.5.4/node_modules/semver/internal/parse-options.js"),{safeRe:s,t:l}=u("./node_modules/.pnpm/semver@7.5.4/node_modules/semver/internal/re.js"),f=u("./node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/cmp.js"),p=u("./node_modules/.pnpm/semver@7.5.4/node_modules/semver/internal/debug.js"),h=u("./node_modules/.pnpm/semver@7.5.4/node_modules/semver/classes/semver.js"),y=u("./node_modules/.pnpm/semver@7.5.4/node_modules/semver/classes/range.js")},"./node_modules/.pnpm/semver@7.5.4/node_modules/semver/classes/range.js":(o,r,u)=>{class a{constructor(B,N){if(N=d(N),B instanceof a)return B.loose===!!N.loose&&B.includePrerelease===!!N.includePrerelease?B:new a(B.raw,N);if(B instanceof s)return this.raw=B.value,this.set=[[B]],this.format(),this;if(this.options=N,this.loose=!!N.loose,this.includePrerelease=!!N.includePrerelease,this.raw=B.trim().split(/\s+/).join(" "),this.set=this.raw.split("||").map(X=>this.parseRange(X.trim())).filter(X=>X.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){let X=this.set[0];if(this.set=this.set.filter(H=>!w(H[0])),this.set.length===0)this.set=[X];else if(this.set.length>1){for(let H of this.set)if(H.length===1&&A(H[0])){this.set=[H];break}}}this.format()}format(){return this.range=this.set.map(B=>B.join(" ").trim()).join("||").trim(),this.range}toString(){return this.range}parseRange(B){let N=((this.options.includePrerelease&&v)|(this.options.loose&&S))+":"+B,X=m.get(N);if(X)return X;let H=this.options.loose,F=H?p[h.HYPHENRANGELOOSE]:p[h.HYPHENRANGE];B=B.replace(F,$(this.options.includePrerelease)),l("hyphen replace",B),B=B.replace(p[h.COMPARATORTRIM],y),l("comparator trim",B),B=B.replace(p[h.TILDETRIM],b),l("tilde trim",B),B=B.replace(p[h.CARETTRIM],E),l("caret trim",B);let W=B.split(" ").map(ue=>C(ue,this.options)).join(" ").split(/\s+/).map(ue=>Y(ue,this.options));H&&(W=W.filter(ue=>(l("loose invalid filter",ue,this.options),!!ue.match(p[h.COMPARATORLOOSE])))),l("range list",W);let V=new Map,Q=W.map(ue=>new s(ue,this.options));for(let ue of Q){if(w(ue))return[ue];V.set(ue.value,ue)}V.size>1&&V.has("")&&V.delete("");let ne=[...V.values()];return m.set(N,ne),ne}intersects(B,N){if(!(B instanceof a))throw new TypeError("a Range is required");return this.set.some(X=>x(X,N)&&B.set.some(H=>x(H,N)&&X.every(F=>H.every(W=>F.intersects(W,N)))))}test(B){if(!B)return!1;if(typeof B=="string")try{B=new f(B,this.options)}catch{return!1}for(let N=0;N<this.set.length;N++)if(G(this.set[N],B,this.options))return!0;return!1}}o.exports=a;let m=new(u("./node_modules/.pnpm/lru-cache@6.0.0/node_modules/lru-cache/index.js"))({max:1e3}),d=u("./node_modules/.pnpm/semver@7.5.4/node_modules/semver/internal/parse-options.js"),s=u("./node_modules/.pnpm/semver@7.5.4/node_modules/semver/classes/comparator.js"),l=u("./node_modules/.pnpm/semver@7.5.4/node_modules/semver/internal/debug.js"),f=u("./node_modules/.pnpm/semver@7.5.4/node_modules/semver/classes/semver.js"),{safeRe:p,t:h,comparatorTrimReplace:y,tildeTrimReplace:b,caretTrimReplace:E}=u("./node_modules/.pnpm/semver@7.5.4/node_modules/semver/internal/re.js"),{FLAG_INCLUDE_PRERELEASE:v,FLAG_LOOSE:S}=u("./node_modules/.pnpm/semver@7.5.4/node_modules/semver/internal/constants.js"),w=U=>U.value==="<0.0.0-0",A=U=>U.value==="",x=(U,B)=>{let N=!0,X=U.slice(),H=X.pop();for(;N&&X.length;)N=X.every(F=>H.intersects(F,B)),H=X.pop();return N},C=(U,B)=>(l("comp",U,B),U=I(U,B),l("caret",U),U=D(U,B),l("tildes",U),U=M(U,B),l("xrange",U),U=z(U,B),l("stars",U),U),P=U=>!U||U.toLowerCase()==="x"||U==="*",D=(U,B)=>U.trim().split(/\s+/).map(N=>L(N,B)).join(" "),L=(U,B)=>{let N=B.loose?p[h.TILDELOOSE]:p[h.TILDE];return U.replace(N,(X,H,F,W,V)=>{let Q;return l("tilde",U,X,H,F,W,V),P(H)?Q="":P(F)?Q=`>=${H}.0.0 <${+H+1}.0.0-0`:P(W)?Q=`>=${H}.${F}.0 <${H}.${+F+1}.0-0`:V?(l("replaceTilde pr",V),Q=`>=${H}.${F}.${W}-${V} <${H}.${+F+1}.0-0`):Q=`>=${H}.${F}.${W} <${H}.${+F+1}.0-0`,l("tilde return",Q),Q})},I=(U,B)=>U.trim().split(/\s+/).map(N=>j(N,B)).join(" "),j=(U,B)=>{l("caret",U,B);let N=B.loose?p[h.CARETLOOSE]:p[h.CARET],X=B.includePrerelease?"-0":"";return U.replace(N,(H,F,W,V,Q)=>{let ne;return l("caret",U,H,F,W,V,Q),P(F)?ne="":P(W)?ne=`>=${F}.0.0${X} <${+F+1}.0.0-0`:P(V)?ne=F==="0"?`>=${F}.${W}.0${X} <${F}.${+W+1}.0-0`:`>=${F}.${W}.0${X} <${+F+1}.0.0-0`:Q?(l("replaceCaret pr",Q),ne=F==="0"?W==="0"?`>=${F}.${W}.${V}-${Q} <${F}.${W}.${+V+1}-0`:`>=${F}.${W}.${V}-${Q} <${F}.${+W+1}.0-0`:`>=${F}.${W}.${V}-${Q} <${+F+1}.0.0-0`):(l("no pr"),ne=F==="0"?W==="0"?`>=${F}.${W}.${V}${X} <${F}.${W}.${+V+1}-0`:`>=${F}.${W}.${V}${X} <${F}.${+W+1}.0-0`:`>=${F}.${W}.${V} <${+F+1}.0.0-0`),l("caret return",ne),ne})},M=(U,B)=>(l("replaceXRanges",U,B),U.split(/\s+/).map(N=>R(N,B)).join(" ")),R=(U,B)=>{U=U.trim();let N=B.loose?p[h.XRANGELOOSE]:p[h.XRANGE];return U.replace(N,(X,H,F,W,V,Q)=>{l("xRange",U,X,H,F,W,V,Q);let ne=P(F),ue=ne||P(W),de=ue||P(V),Ae=de;return H==="="&&Ae&&(H=""),Q=B.includePrerelease?"-0":"",ne?X=H===">"||H==="<"?"<0.0.0-0":"*":H&&Ae?(ue&&(W=0),V=0,H===">"?(H=">=",ue?(F=+F+1,W=0,V=0):(W=+W+1,V=0)):H==="<="&&(H="<",ue?F=+F+1:W=+W+1),H==="<"&&(Q="-0"),X=`${H+F}.${W}.${V}${Q}`):ue?X=`>=${F}.0.0${Q} <${+F+1}.0.0-0`:de&&(X=`>=${F}.${W}.0${Q} <${F}.${+W+1}.0-0`),l("xRange return",X),X})},z=(U,B)=>(l("replaceStars",U,B),U.trim().replace(p[h.STAR],"")),Y=(U,B)=>(l("replaceGTE0",U,B),U.trim().replace(p[B.includePrerelease?h.GTE0PRE:h.GTE0],"")),$=U=>(B,N,X,H,F,W,V,Q,ne,ue,de,Ae,Oe)=>`${N=P(X)?"":P(H)?`>=${X}.0.0${U?"-0":""}`:P(F)?`>=${X}.${H}.0${U?"-0":""}`:W?`>=${N}`:`>=${N}${U?"-0":""}`} ${Q=P(ne)?"":P(ue)?`<${+ne+1}.0.0-0`:P(de)?`<${ne}.${+ue+1}.0-0`:Ae?`<=${ne}.${ue}.${de}-${Ae}`:U?`<${ne}.${ue}.${+de+1}-0`:`<=${Q}`}`.trim(),G=(U,B,N)=>{for(let X=0;X<U.length;X++)if(!U[X].test(B))return!1;if(B.prerelease.length&&!N.includePrerelease){for(let X=0;X<U.length;X++)if(l(U[X].semver),U[X].semver!==s.ANY&&U[X].semver.prerelease.length>0){let H=U[X].semver;if(H.major===B.major&&H.minor===B.minor&&H.patch===B.patch)return!0}return!1}return!0}},"./node_modules/.pnpm/semver@7.5.4/node_modules/semver/classes/semver.js":(o,r,u)=>{let a=u("./node_modules/.pnpm/semver@7.5.4/node_modules/semver/internal/debug.js"),{MAX_LENGTH:m,MAX_SAFE_INTEGER:d}=u("./node_modules/.pnpm/semver@7.5.4/node_modules/semver/internal/constants.js"),{safeRe:s,t:l}=u("./node_modules/.pnpm/semver@7.5.4/node_modules/semver/internal/re.js"),f=u("./node_modules/.pnpm/semver@7.5.4/node_modules/semver/internal/parse-options.js"),{compareIdentifiers:p}=u("./node_modules/.pnpm/semver@7.5.4/node_modules/semver/internal/identifiers.js");class h{constructor(b,E){if(E=f(E),b instanceof h){if(b.loose===!!E.loose&&b.includePrerelease===!!E.includePrerelease)return b;b=b.version}else if(typeof b!="string")throw new TypeError(`Invalid version. Must be a string. Got type "${typeof b}".`);if(b.length>m)throw new TypeError(`version is longer than ${m} characters`);a("SemVer",b,E),this.options=E,this.loose=!!E.loose,this.includePrerelease=!!E.includePrerelease;let v=b.trim().match(E.loose?s[l.LOOSE]:s[l.FULL]);if(!v)throw new TypeError(`Invalid Version: ${b}`);if(this.raw=b,this.major=+v[1],this.minor=+v[2],this.patch=+v[3],this.major>d||this.major<0)throw new TypeError("Invalid major version");if(this.minor>d||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>d||this.patch<0)throw new TypeError("Invalid patch version");v[4]?this.prerelease=v[4].split(".").map(S=>{if(/^[0-9]+$/.test(S)){let w=+S;if(w>=0&&w<d)return w}return S}):this.prerelease=[],this.build=v[5]?v[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(b){if(a("SemVer.compare",this.version,this.options,b),!(b instanceof h)){if(typeof b=="string"&&b===this.version)return 0;b=new h(b,this.options)}return b.version===this.version?0:this.compareMain(b)||this.comparePre(b)}compareMain(b){return b instanceof h||(b=new h(b,this.options)),p(this.major,b.major)||p(this.minor,b.minor)||p(this.patch,b.patch)}comparePre(b){if(b instanceof h||(b=new h(b,this.options)),this.prerelease.length&&!b.prerelease.length)return-1;if(!this.prerelease.length&&b.prerelease.length)return 1;if(!this.prerelease.length&&!b.prerelease.length)return 0;let E=0;do{let v=this.prerelease[E],S=b.prerelease[E];if(a("prerelease compare",E,v,S),v===void 0&&S===void 0)return 0;if(S===void 0)return 1;if(v===void 0)return-1;if(v!==S)return p(v,S)}while(++E)}compareBuild(b){b instanceof h||(b=new h(b,this.options));let E=0;do{let v=this.build[E],S=b.build[E];if(a("prerelease compare",E,v,S),v===void 0&&S===void 0)return 0;if(S===void 0)return 1;if(v===void 0)return-1;if(v!==S)return p(v,S)}while(++E)}inc(b,E,v){switch(b){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",E,v);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",E,v);break;case"prepatch":this.prerelease.length=0,this.inc("patch",E,v),this.inc("pre",E,v);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",E,v),this.inc("pre",E,v);break;case"major":this.minor===0&&this.patch===0&&this.prerelease.length!==0||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":this.patch===0&&this.prerelease.length!==0||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":{let S=Number(v)?1:0;if(!E&&v===!1)throw new Error("invalid increment argument: identifier is empty");if(this.prerelease.length===0)this.prerelease=[S];else{let w=this.prerelease.length;for(;--w>=0;)typeof this.prerelease[w]=="number"&&(this.prerelease[w]++,w=-2);if(w===-1){if(E===this.prerelease.join(".")&&v===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(S)}}if(E){let w=[E,S];v===!1&&(w=[E]),p(this.prerelease[0],E)===0?isNaN(this.prerelease[1])&&(this.prerelease=w):this.prerelease=w}break}default:throw new Error(`invalid increment argument: ${b}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}}o.exports=h},"./node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/clean.js":(o,r,u)=>{let a=u("./node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/parse.js");o.exports=(m,d)=>{let s=a(m.trim().replace(/^[=v]+/,""),d);return s?s.version:null}},"./node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/cmp.js":(o,r,u)=>{let a=u("./node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/eq.js"),m=u("./node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/neq.js"),d=u("./node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/gt.js"),s=u("./node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/gte.js"),l=u("./node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/lt.js"),f=u("./node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/lte.js");o.exports=(p,h,y,b)=>{switch(h){case"===":return typeof p=="object"&&(p=p.version),typeof y=="object"&&(y=y.version),p===y;case"!==":return typeof p=="object"&&(p=p.version),typeof y=="object"&&(y=y.version),p!==y;case"":case"=":case"==":return a(p,y,b);case"!=":return m(p,y,b);case">":return d(p,y,b);case">=":return s(p,y,b);case"<":return l(p,y,b);case"<=":return f(p,y,b);default:throw new TypeError(`Invalid operator: ${h}`)}}},"./node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/coerce.js":(o,r,u)=>{let a=u("./node_modules/.pnpm/semver@7.5.4/node_modules/semver/classes/semver.js"),m=u("./node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/parse.js"),{safeRe:d,t:s}=u("./node_modules/.pnpm/semver@7.5.4/node_modules/semver/internal/re.js");o.exports=(l,f)=>{if(l instanceof a)return l;if(typeof l=="number"&&(l=String(l)),typeof l!="string")return null;let p=null;if((f=f||{}).rtl){let h;for(;(h=d[s.COERCERTL].exec(l))&&(!p||p.index+p[0].length!==l.length);)p&&h.index+h[0].length===p.index+p[0].length||(p=h),d[s.COERCERTL].lastIndex=h.index+h[1].length+h[2].length;d[s.COERCERTL].lastIndex=-1}else p=l.match(d[s.COERCE]);return p===null?null:m(`${p[2]}.${p[3]||"0"}.${p[4]||"0"}`,f)}},"./node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/compare-build.js":(o,r,u)=>{let a=u("./node_modules/.pnpm/semver@7.5.4/node_modules/semver/classes/semver.js");o.exports=(m,d,s)=>{let l=new a(m,s),f=new a(d,s);return l.compare(f)||l.compareBuild(f)}},"./node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/compare-loose.js":(o,r,u)=>{let a=u("./node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/compare.js");o.exports=(m,d)=>a(m,d,!0)},"./node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/compare.js":(o,r,u)=>{let a=u("./node_modules/.pnpm/semver@7.5.4/node_modules/semver/classes/semver.js");o.exports=(m,d,s)=>new a(m,s).compare(new a(d,s))},"./node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/diff.js":(o,r,u)=>{let a=u("./node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/parse.js");o.exports=(m,d)=>{let s=a(m,null,!0),l=a(d,null,!0),f=s.compare(l);if(f===0)return null;let p=f>0,h=p?s:l,y=p?l:s,b=!!h.prerelease.length;if(y.prerelease.length&&!b)return y.patch||y.minor?h.patch?"patch":h.minor?"minor":"major":"major";let E=b?"pre":"";return s.major!==l.major?E+"major":s.minor!==l.minor?E+"minor":s.patch!==l.patch?E+"patch":"prerelease"}},"./node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/eq.js":(o,r,u)=>{let a=u("./node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/compare.js");o.exports=(m,d,s)=>a(m,d,s)===0},"./node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/gt.js":(o,r,u)=>{let a=u("./node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/compare.js");o.exports=(m,d,s)=>a(m,d,s)>0},"./node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/gte.js":(o,r,u)=>{let a=u("./node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/compare.js");o.exports=(m,d,s)=>a(m,d,s)>=0},"./node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/inc.js":(o,r,u)=>{let a=u("./node_modules/.pnpm/semver@7.5.4/node_modules/semver/classes/semver.js");o.exports=(m,d,s,l,f)=>{typeof s=="string"&&(f=l,l=s,s=void 0);try{return new a(m instanceof a?m.version:m,s).inc(d,l,f).version}catch{return null}}},"./node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/lt.js":(o,r,u)=>{let a=u("./node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/compare.js");o.exports=(m,d,s)=>a(m,d,s)<0},"./node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/lte.js":(o,r,u)=>{let a=u("./node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/compare.js");o.exports=(m,d,s)=>a(m,d,s)<=0},"./node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/major.js":(o,r,u)=>{let a=u("./node_modules/.pnpm/semver@7.5.4/node_modules/semver/classes/semver.js");o.exports=(m,d)=>new a(m,d).major},"./node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/minor.js":(o,r,u)=>{let a=u("./node_modules/.pnpm/semver@7.5.4/node_modules/semver/classes/semver.js");o.exports=(m,d)=>new a(m,d).minor},"./node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/neq.js":(o,r,u)=>{let a=u("./node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/compare.js");o.exports=(m,d,s)=>a(m,d,s)!==0},"./node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/parse.js":(o,r,u)=>{let a=u("./node_modules/.pnpm/semver@7.5.4/node_modules/semver/classes/semver.js");o.exports=(m,d,s=!1)=>{if(m instanceof a)return m;try{return new a(m,d)}catch(l){if(!s)return null;throw l}}},"./node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/patch.js":(o,r,u)=>{let a=u("./node_modules/.pnpm/semver@7.5.4/node_modules/semver/classes/semver.js");o.exports=(m,d)=>new a(m,d).patch},"./node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/prerelease.js":(o,r,u)=>{let a=u("./node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/parse.js");o.exports=(m,d)=>{let s=a(m,d);return s&&s.prerelease.length?s.prerelease:null}},"./node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/rcompare.js":(o,r,u)=>{let a=u("./node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/compare.js");o.exports=(m,d,s)=>a(d,m,s)},"./node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/rsort.js":(o,r,u)=>{let a=u("./node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/compare-build.js");o.exports=(m,d)=>m.sort((s,l)=>a(l,s,d))},"./node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/satisfies.js":(o,r,u)=>{let a=u("./node_modules/.pnpm/semver@7.5.4/node_modules/semver/classes/range.js");o.exports=(m,d,s)=>{try{d=new a(d,s)}catch{return!1}return d.test(m)}},"./node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/sort.js":(o,r,u)=>{let a=u("./node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/compare-build.js");o.exports=(m,d)=>m.sort((s,l)=>a(s,l,d))},"./node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/valid.js":(o,r,u)=>{let a=u("./node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/parse.js");o.exports=(m,d)=>{let s=a(m,d);return s?s.version:null}},"./node_modules/.pnpm/semver@7.5.4/node_modules/semver/index.js":(o,r,u)=>{let a=u("./node_modules/.pnpm/semver@7.5.4/node_modules/semver/internal/re.js"),m=u("./node_modules/.pnpm/semver@7.5.4/node_modules/semver/internal/constants.js"),d=u("./node_modules/.pnpm/semver@7.5.4/node_modules/semver/classes/semver.js"),s=u("./node_modules/.pnpm/semver@7.5.4/node_modules/semver/internal/identifiers.js"),l=u("./node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/parse.js"),f=u("./node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/valid.js"),p=u("./node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/clean.js"),h=u("./node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/inc.js"),y=u("./node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/diff.js"),b=u("./node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/major.js"),E=u("./node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/minor.js"),v=u("./node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/patch.js"),S=u("./node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/prerelease.js"),w=u("./node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/compare.js"),A=u("./node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/rcompare.js"),x=u("./node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/compare-loose.js"),C=u("./node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/compare-build.js"),P=u("./node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/sort.js"),D=u("./node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/rsort.js"),L=u("./node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/gt.js"),I=u("./node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/lt.js"),j=u("./node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/eq.js"),M=u("./node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/neq.js"),R=u("./node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/gte.js"),z=u("./node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/lte.js"),Y=u("./node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/cmp.js"),$=u("./node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/coerce.js"),G=u("./node_modules/.pnpm/semver@7.5.4/node_modules/semver/classes/comparator.js"),U=u("./node_modules/.pnpm/semver@7.5.4/node_modules/semver/classes/range.js"),B=u("./node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/satisfies.js"),N=u("./node_modules/.pnpm/semver@7.5.4/node_modules/semver/ranges/to-comparators.js"),X=u("./node_modules/.pnpm/semver@7.5.4/node_modules/semver/ranges/max-satisfying.js"),H=u("./node_modules/.pnpm/semver@7.5.4/node_modules/semver/ranges/min-satisfying.js"),F=u("./node_modules/.pnpm/semver@7.5.4/node_modules/semver/ranges/min-version.js"),W=u("./node_modules/.pnpm/semver@7.5.4/node_modules/semver/ranges/valid.js"),V=u("./node_modules/.pnpm/semver@7.5.4/node_modules/semver/ranges/outside.js"),Q=u("./node_modules/.pnpm/semver@7.5.4/node_modules/semver/ranges/gtr.js"),ne=u("./node_modules/.pnpm/semver@7.5.4/node_modules/semver/ranges/ltr.js"),ue=u("./node_modules/.pnpm/semver@7.5.4/node_modules/semver/ranges/intersects.js"),de=u("./node_modules/.pnpm/semver@7.5.4/node_modules/semver/ranges/simplify.js"),Ae=u("./node_modules/.pnpm/semver@7.5.4/node_modules/semver/ranges/subset.js");o.exports={parse:l,valid:f,clean:p,inc:h,diff:y,major:b,minor:E,patch:v,prerelease:S,compare:w,rcompare:A,compareLoose:x,compareBuild:C,sort:P,rsort:D,gt:L,lt:I,eq:j,neq:M,gte:R,lte:z,cmp:Y,coerce:$,Comparator:G,Range:U,satisfies:B,toComparators:N,maxSatisfying:X,minSatisfying:H,minVersion:F,validRange:W,outside:V,gtr:Q,ltr:ne,intersects:ue,simplifyRange:de,subset:Ae,SemVer:d,re:a.re,src:a.src,tokens:a.t,SEMVER_SPEC_VERSION:m.SEMVER_SPEC_VERSION,RELEASE_TYPES:m.RELEASE_TYPES,compareIdentifiers:s.compareIdentifiers,rcompareIdentifiers:s.rcompareIdentifiers}},"./node_modules/.pnpm/semver@7.5.4/node_modules/semver/internal/constants.js":o=>{let r=Number.MAX_SAFE_INTEGER||9007199254740991;o.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:16,MAX_SAFE_BUILD_LENGTH:250,MAX_SAFE_INTEGER:r,RELEASE_TYPES:["major","premajor","minor","preminor","patch","prepatch","prerelease"],SEMVER_SPEC_VERSION:"2.0.0",FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}},"./node_modules/.pnpm/semver@7.5.4/node_modules/semver/internal/debug.js":o=>{let r=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...u)=>console.error("SEMVER",...u):()=>{};o.exports=r},"./node_modules/.pnpm/semver@7.5.4/node_modules/semver/internal/identifiers.js":o=>{let r=/^[0-9]+$/,u=(a,m)=>{let d=r.test(a),s=r.test(m);return d&&s&&(a=+a,m=+m),a===m?0:d&&!s?-1:s&&!d?1:a<m?-1:1};o.exports={compareIdentifiers:u,rcompareIdentifiers:(a,m)=>u(m,a)}},"./node_modules/.pnpm/semver@7.5.4/node_modules/semver/internal/parse-options.js":o=>{let r=Object.freeze({loose:!0}),u=Object.freeze({});o.exports=a=>a?typeof a!="object"?r:a:u},"./node_modules/.pnpm/semver@7.5.4/node_modules/semver/internal/re.js":(o,r,u)=>{let{MAX_SAFE_COMPONENT_LENGTH:a,MAX_SAFE_BUILD_LENGTH:m,MAX_LENGTH:d}=u("./node_modules/.pnpm/semver@7.5.4/node_modules/semver/internal/constants.js"),s=u("./node_modules/.pnpm/semver@7.5.4/node_modules/semver/internal/debug.js"),l=(r=o.exports={}).re=[],f=r.safeRe=[],p=r.src=[],h=r.t={},y=0,b=[["\\s",1],["\\d",d],["[a-zA-Z0-9-]",m]],E=(v,S,w)=>{let A=(C=>{for(let[P,D]of b)C=C.split(`${P}*`).join(`${P}{0,${D}}`).split(`${P}+`).join(`${P}{1,${D}}`);return C})(S),x=y++;s(v,x,S),h[v]=x,p[x]=S,l[x]=new RegExp(S,w?"g":void 0),f[x]=new RegExp(A,w?"g":void 0)};E("NUMERICIDENTIFIER","0|[1-9]\\d*"),E("NUMERICIDENTIFIERLOOSE","\\d+"),E("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),E("MAINVERSION",`(${p[h.NUMERICIDENTIFIER]})\\.(${p[h.NUMERICIDENTIFIER]})\\.(${p[h.NUMERICIDENTIFIER]})`),E("MAINVERSIONLOOSE",`(${p[h.NUMERICIDENTIFIERLOOSE]})\\.(${p[h.NUMERICIDENTIFIERLOOSE]})\\.(${p[h.NUMERICIDENTIFIERLOOSE]})`),E("PRERELEASEIDENTIFIER",`(?:${p[h.NUMERICIDENTIFIER]}|${p[h.NONNUMERICIDENTIFIER]})`),E("PRERELEASEIDENTIFIERLOOSE",`(?:${p[h.NUMERICIDENTIFIERLOOSE]}|${p[h.NONNUMERICIDENTIFIER]})`),E("PRERELEASE",`(?:-(${p[h.PRERELEASEIDENTIFIER]}(?:\\.${p[h.PRERELEASEIDENTIFIER]})*))`),E("PRERELEASELOOSE",`(?:-?(${p[h.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${p[h.PRERELEASEIDENTIFIERLOOSE]})*))`),E("BUILDIDENTIFIER","[a-zA-Z0-9-]+"),E("BUILD",`(?:\\+(${p[h.BUILDIDENTIFIER]}(?:\\.${p[h.BUILDIDENTIFIER]})*))`),E("FULLPLAIN",`v?${p[h.MAINVERSION]}${p[h.PRERELEASE]}?${p[h.BUILD]}?`),E("FULL",`^${p[h.FULLPLAIN]}$`),E("LOOSEPLAIN",`[v=\\s]*${p[h.MAINVERSIONLOOSE]}${p[h.PRERELEASELOOSE]}?${p[h.BUILD]}?`),E("LOOSE",`^${p[h.LOOSEPLAIN]}$`),E("GTLT","((?:<|>)?=?)"),E("XRANGEIDENTIFIERLOOSE",`${p[h.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),E("XRANGEIDENTIFIER",`${p[h.NUMERICIDENTIFIER]}|x|X|\\*`),E("XRANGEPLAIN",`[v=\\s]*(${p[h.XRANGEIDENTIFIER]})(?:\\.(${p[h.XRANGEIDENTIFIER]})(?:\\.(${p[h.XRANGEIDENTIFIER]})(?:${p[h.PRERELEASE]})?${p[h.BUILD]}?)?)?`),E("XRANGEPLAINLOOSE",`[v=\\s]*(${p[h.XRANGEIDENTIFIERLOOSE]})(?:\\.(${p[h.XRANGEIDENTIFIERLOOSE]})(?:\\.(${p[h.XRANGEIDENTIFIERLOOSE]})(?:${p[h.PRERELEASELOOSE]})?${p[h.BUILD]}?)?)?`),E("XRANGE",`^${p[h.GTLT]}\\s*${p[h.XRANGEPLAIN]}$`),E("XRANGELOOSE",`^${p[h.GTLT]}\\s*${p[h.XRANGEPLAINLOOSE]}$`),E("COERCE",`(^|[^\\d])(\\d{1,${a}})(?:\\.(\\d{1,${a}}))?(?:\\.(\\d{1,${a}}))?(?:$|[^\\d])`),E("COERCERTL",p[h.COERCE],!0),E("LONETILDE","(?:~>?)"),E("TILDETRIM",`(\\s*)${p[h.LONETILDE]}\\s+`,!0),r.tildeTrimReplace="$1~",E("TILDE",`^${p[h.LONETILDE]}${p[h.XRANGEPLAIN]}$`),E("TILDELOOSE",`^${p[h.LONETILDE]}${p[h.XRANGEPLAINLOOSE]}$`),E("LONECARET","(?:\\^)"),E("CARETTRIM",`(\\s*)${p[h.LONECARET]}\\s+`,!0),r.caretTrimReplace="$1^",E("CARET",`^${p[h.LONECARET]}${p[h.XRANGEPLAIN]}$`),E("CARETLOOSE",`^${p[h.LONECARET]}${p[h.XRANGEPLAINLOOSE]}$`),E("COMPARATORLOOSE",`^${p[h.GTLT]}\\s*(${p[h.LOOSEPLAIN]})$|^$`),E("COMPARATOR",`^${p[h.GTLT]}\\s*(${p[h.FULLPLAIN]})$|^$`),E("COMPARATORTRIM",`(\\s*)${p[h.GTLT]}\\s*(${p[h.LOOSEPLAIN]}|${p[h.XRANGEPLAIN]})`,!0),r.comparatorTrimReplace="$1$2$3",E("HYPHENRANGE",`^\\s*(${p[h.XRANGEPLAIN]})\\s+-\\s+(${p[h.XRANGEPLAIN]})\\s*$`),E("HYPHENRANGELOOSE",`^\\s*(${p[h.XRANGEPLAINLOOSE]})\\s+-\\s+(${p[h.XRANGEPLAINLOOSE]})\\s*$`),E("STAR","(<|>)?=?\\s*\\*"),E("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),E("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")},"./node_modules/.pnpm/semver@7.5.4/node_modules/semver/ranges/gtr.js":(o,r,u)=>{let a=u("./node_modules/.pnpm/semver@7.5.4/node_modules/semver/ranges/outside.js");o.exports=(m,d,s)=>a(m,d,">",s)},"./node_modules/.pnpm/semver@7.5.4/node_modules/semver/ranges/intersects.js":(o,r,u)=>{let a=u("./node_modules/.pnpm/semver@7.5.4/node_modules/semver/classes/range.js");o.exports=(m,d,s)=>(m=new a(m,s),d=new a(d,s),m.intersects(d,s))},"./node_modules/.pnpm/semver@7.5.4/node_modules/semver/ranges/ltr.js":(o,r,u)=>{let a=u("./node_modules/.pnpm/semver@7.5.4/node_modules/semver/ranges/outside.js");o.exports=(m,d,s)=>a(m,d,"<",s)},"./node_modules/.pnpm/semver@7.5.4/node_modules/semver/ranges/max-satisfying.js":(o,r,u)=>{let a=u("./node_modules/.pnpm/semver@7.5.4/node_modules/semver/classes/semver.js"),m=u("./node_modules/.pnpm/semver@7.5.4/node_modules/semver/classes/range.js");o.exports=(d,s,l)=>{let f=null,p=null,h=null;try{h=new m(s,l)}catch{return null}return d.forEach(y=>{h.test(y)&&(f&&p.compare(y)!==-1||(f=y,p=new a(f,l)))}),f}},"./node_modules/.pnpm/semver@7.5.4/node_modules/semver/ranges/min-satisfying.js":(o,r,u)=>{let a=u("./node_modules/.pnpm/semver@7.5.4/node_modules/semver/classes/semver.js"),m=u("./node_modules/.pnpm/semver@7.5.4/node_modules/semver/classes/range.js");o.exports=(d,s,l)=>{let f=null,p=null,h=null;try{h=new m(s,l)}catch{return null}return d.forEach(y=>{h.test(y)&&(f&&p.compare(y)!==1||(f=y,p=new a(f,l)))}),f}},"./node_modules/.pnpm/semver@7.5.4/node_modules/semver/ranges/min-version.js":(o,r,u)=>{let a=u("./node_modules/.pnpm/semver@7.5.4/node_modules/semver/classes/semver.js"),m=u("./node_modules/.pnpm/semver@7.5.4/node_modules/semver/classes/range.js"),d=u("./node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/gt.js");o.exports=(s,l)=>{s=new m(s,l);let f=new a("0.0.0");if(s.test(f)||(f=new a("0.0.0-0"),s.test(f)))return f;f=null;for(let p=0;p<s.set.length;++p){let h=s.set[p],y=null;h.forEach(b=>{let E=new a(b.semver.version);switch(b.operator){case">":E.prerelease.length===0?E.patch++:E.prerelease.push(0),E.raw=E.format();case"":case">=":y&&!d(E,y)||(y=E);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${b.operator}`)}}),!y||f&&!d(f,y)||(f=y)}return f&&s.test(f)?f:null}},"./node_modules/.pnpm/semver@7.5.4/node_modules/semver/ranges/outside.js":(o,r,u)=>{let a=u("./node_modules/.pnpm/semver@7.5.4/node_modules/semver/classes/semver.js"),m=u("./node_modules/.pnpm/semver@7.5.4/node_modules/semver/classes/comparator.js"),{ANY:d}=m,s=u("./node_modules/.pnpm/semver@7.5.4/node_modules/semver/classes/range.js"),l=u("./node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/satisfies.js"),f=u("./node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/gt.js"),p=u("./node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/lt.js"),h=u("./node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/lte.js"),y=u("./node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/gte.js");o.exports=(b,E,v,S)=>{let w,A,x,C,P;switch(b=new a(b,S),E=new s(E,S),v){case">":w=f,A=h,x=p,C=">",P=">=";break;case"<":w=p,A=y,x=f,C="<",P="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(l(b,E,S))return!1;for(let D=0;D<E.set.length;++D){let L=E.set[D],I=null,j=null;if(L.forEach(M=>{M.semver===d&&(M=new m(">=0.0.0")),I=I||M,j=j||M,w(M.semver,I.semver,S)?I=M:x(M.semver,j.semver,S)&&(j=M)}),I.operator===C||I.operator===P||(!j.operator||j.operator===C)&&A(b,j.semver)||j.operator===P&&x(b,j.semver))return!1}return!0}},"./node_modules/.pnpm/semver@7.5.4/node_modules/semver/ranges/simplify.js":(o,r,u)=>{let a=u("./node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/satisfies.js"),m=u("./node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/compare.js");o.exports=(d,s,l)=>{let f=[],p=null,h=null,y=d.sort((S,w)=>m(S,w,l));for(let S of y)a(S,s,l)?(h=S,p||(p=S)):(h&&f.push([p,h]),h=null,p=null);p&&f.push([p,null]);let b=[];for(let[S,w]of f)S===w?b.push(S):w||S!==y[0]?w?S===y[0]?b.push(`<=${w}`):b.push(`${S} - ${w}`):b.push(`>=${S}`):b.push("*");let E=b.join(" || "),v=typeof s.raw=="string"?s.raw:String(s);return E.length<v.length?E:s}},"./node_modules/.pnpm/semver@7.5.4/node_modules/semver/ranges/subset.js":(o,r,u)=>{let a=u("./node_modules/.pnpm/semver@7.5.4/node_modules/semver/classes/range.js"),m=u("./node_modules/.pnpm/semver@7.5.4/node_modules/semver/classes/comparator.js"),{ANY:d}=m,s=u("./node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/satisfies.js"),l=u("./node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/compare.js"),f=[new m(">=0.0.0-0")],p=[new m(">=0.0.0")],h=(E,v,S)=>{if(E===v)return!0;if(E.length===1&&E[0].semver===d){if(v.length===1&&v[0].semver===d)return!0;E=S.includePrerelease?f:p}if(v.length===1&&v[0].semver===d){if(S.includePrerelease)return!0;v=p}let w=new Set,A,x,C,P,D,L,I;for(let R of E)R.operator===">"||R.operator===">="?A=y(A,R,S):R.operator==="<"||R.operator==="<="?x=b(x,R,S):w.add(R.semver);if(w.size>1||A&&x&&(C=l(A.semver,x.semver,S),C>0||C===0&&(A.operator!==">="||x.operator!=="<=")))return null;for(let R of w){if(A&&!s(R,String(A),S)||x&&!s(R,String(x),S))return null;for(let z of v)if(!s(R,String(z),S))return!1;return!0}let j=!(!x||S.includePrerelease||!x.semver.prerelease.length)&&x.semver,M=!(!A||S.includePrerelease||!A.semver.prerelease.length)&&A.semver;j&&j.prerelease.length===1&&x.operator==="<"&&j.prerelease[0]===0&&(j=!1);for(let R of v){if(I=I||R.operator===">"||R.operator===">=",L=L||R.operator==="<"||R.operator==="<=",A){if(M&&R.semver.prerelease&&R.semver.prerelease.length&&R.semver.major===M.major&&R.semver.minor===M.minor&&R.semver.patch===M.patch&&(M=!1),R.operator===">"||R.operator===">="){if(P=y(A,R,S),P===R&&P!==A)return!1}else if(A.operator===">="&&!s(A.semver,String(R),S))return!1}if(x){if(j&&R.semver.prerelease&&R.semver.prerelease.length&&R.semver.major===j.major&&R.semver.minor===j.minor&&R.semver.patch===j.patch&&(j=!1),R.operator==="<"||R.operator==="<="){if(D=b(x,R,S),D===R&&D!==x)return!1}else if(x.operator==="<="&&!s(x.semver,String(R),S))return!1}if(!R.operator&&(x||A)&&C!==0)return!1}return!(A&&L&&!x&&C!==0)&&!(x&&I&&!A&&C!==0)&&!M&&!j},y=(E,v,S)=>{if(!E)return v;let w=l(E.semver,v.semver,S);return w>0?E:w<0||v.operator===">"&&E.operator===">="?v:E},b=(E,v,S)=>{if(!E)return v;let w=l(E.semver,v.semver,S);return w<0?E:w>0||v.operator==="<"&&E.operator==="<="?v:E};o.exports=(E,v,S={})=>{if(E===v)return!0;E=new a(E,S),v=new a(v,S);let w=!1;e:for(let A of E.set){for(let x of v.set){let C=h(A,x,S);if(w=w||C!==null,C)continue e}if(w)return!1}return!0}},"./node_modules/.pnpm/semver@7.5.4/node_modules/semver/ranges/to-comparators.js":(o,r,u)=>{let a=u("./node_modules/.pnpm/semver@7.5.4/node_modules/semver/classes/range.js");o.exports=(m,d)=>new a(m,d).set.map(s=>s.map(l=>l.value).join(" ").trim().split(" "))},"./node_modules/.pnpm/semver@7.5.4/node_modules/semver/ranges/valid.js":(o,r,u)=>{let a=u("./node_modules/.pnpm/semver@7.5.4/node_modules/semver/classes/range.js");o.exports=(m,d)=>{try{return new a(m,d).range||"*"}catch{return null}}},"./node_modules/.pnpm/yallist@4.0.0/node_modules/yallist/iterator.js":o=>{"use strict";o.exports=function(r){r.prototype[Symbol.iterator]=function*(){for(let u=this.head;u;u=u.next)yield u.value}}},"./node_modules/.pnpm/yallist@4.0.0/node_modules/yallist/yallist.js":(o,r,u)=>{"use strict";function a(f){var p=this;if(p instanceof a||(p=new a),p.tail=null,p.head=null,p.length=0,f&&typeof f.forEach=="function")f.forEach(function(b){p.push(b)});else if(arguments.length>0)for(var h=0,y=arguments.length;h<y;h++)p.push(arguments[h]);return p}function m(f,p,h){var y=p===f.head?new l(h,null,p,f):new l(h,p,p.next,f);return y.next===null&&(f.tail=y),y.prev===null&&(f.head=y),f.length++,y}function d(f,p){f.tail=new l(p,f.tail,null,f),f.head||(f.head=f.tail),f.length++}function s(f,p){f.head=new l(p,null,f.head,f),f.tail||(f.tail=f.head),f.length++}function l(f,p,h,y){if(!(this instanceof l))return new l(f,p,h,y);this.list=y,this.value=f,p?(p.next=this,this.prev=p):this.prev=null,h?(h.prev=this,this.next=h):this.next=null}o.exports=a,a.Node=l,a.create=a,a.prototype.removeNode=function(f){if(f.list!==this)throw new Error("removing node which does not belong to this list");var p=f.next,h=f.prev;return p&&(p.prev=h),h&&(h.next=p),f===this.head&&(this.head=p),f===this.tail&&(this.tail=h),f.list.length--,f.next=null,f.prev=null,f.list=null,p},a.prototype.unshiftNode=function(f){if(f!==this.head){f.list&&f.list.removeNode(f);var p=this.head;f.list=this,f.next=p,p&&(p.prev=f),this.head=f,this.tail||(this.tail=f),this.length++}},a.prototype.pushNode=function(f){if(f!==this.tail){f.list&&f.list.removeNode(f);var p=this.tail;f.list=this,f.prev=p,p&&(p.next=f),this.tail=f,this.head||(this.head=f),this.length++}},a.prototype.push=function(){for(var f=0,p=arguments.length;f<p;f++)d(this,arguments[f]);return this.length},a.prototype.unshift=function(){for(var f=0,p=arguments.length;f<p;f++)s(this,arguments[f]);return this.length},a.prototype.pop=function(){if(this.tail){var f=this.tail.value;return this.tail=this.tail.prev,this.tail?this.tail.next=null:this.head=null,this.length--,f}},a.prototype.shift=function(){if(this.head){var f=this.head.value;return this.head=this.head.next,this.head?this.head.prev=null:this.tail=null,this.length--,f}},a.prototype.forEach=function(f,p){p=p||this;for(var h=this.head,y=0;h!==null;y++)f.call(p,h.value,y,this),h=h.next},a.prototype.forEachReverse=function(f,p){p=p||this;for(var h=this.tail,y=this.length-1;h!==null;y--)f.call(p,h.value,y,this),h=h.prev},a.prototype.get=function(f){for(var p=0,h=this.head;h!==null&&p<f;p++)h=h.next;if(p===f&&h!==null)return h.value},a.prototype.getReverse=function(f){for(var p=0,h=this.tail;h!==null&&p<f;p++)h=h.prev;if(p===f&&h!==null)return h.value},a.prototype.map=function(f,p){p=p||this;for(var h=new a,y=this.head;y!==null;)h.push(f.call(p,y.value,this)),y=y.next;return h},a.prototype.mapReverse=function(f,p){p=p||this;for(var h=new a,y=this.tail;y!==null;)h.push(f.call(p,y.value,this)),y=y.prev;return h},a.prototype.reduce=function(f,p){var h,y=this.head;if(arguments.length>1)h=p;else{if(!this.head)throw new TypeError("Reduce of empty list with no initial value");y=this.head.next,h=this.head.value}for(var b=0;y!==null;b++)h=f(h,y.value,b),y=y.next;return h},a.prototype.reduceReverse=function(f,p){var h,y=this.tail;if(arguments.length>1)h=p;else{if(!this.tail)throw new TypeError("Reduce of empty list with no initial value");y=this.tail.prev,h=this.tail.value}for(var b=this.length-1;y!==null;b--)h=f(h,y.value,b),y=y.prev;return h},a.prototype.toArray=function(){for(var f=new Array(this.length),p=0,h=this.head;h!==null;p++)f[p]=h.value,h=h.next;return f},a.prototype.toArrayReverse=function(){for(var f=new Array(this.length),p=0,h=this.tail;h!==null;p++)f[p]=h.value,h=h.prev;return f},a.prototype.slice=function(f,p){(p=p||this.length)<0&&(p+=this.length),(f=f||0)<0&&(f+=this.length);var h=new a;if(p<f||p<0)return h;f<0&&(f=0),p>this.length&&(p=this.length);for(var y=0,b=this.head;b!==null&&y<f;y++)b=b.next;for(;b!==null&&y<p;y++,b=b.next)h.push(b.value);return h},a.prototype.sliceReverse=function(f,p){(p=p||this.length)<0&&(p+=this.length),(f=f||0)<0&&(f+=this.length);var h=new a;if(p<f||p<0)return h;f<0&&(f=0),p>this.length&&(p=this.length);for(var y=this.length,b=this.tail;b!==null&&y>p;y--)b=b.prev;for(;b!==null&&y>f;y--,b=b.prev)h.push(b.value);return h},a.prototype.splice=function(f,p,...h){f>this.length&&(f=this.length-1),f<0&&(f=this.length+f);for(var y=0,b=this.head;b!==null&&y<f;y++)b=b.next;var E=[];for(y=0;b&&y<p;y++)E.push(b.value),b=this.removeNode(b);for(b===null&&(b=this.tail),b!==this.head&&b!==this.tail&&(b=b.prev),y=0;y<h.length;y++)b=m(this,b,h[y]);return E},a.prototype.reverse=function(){for(var f=this.head,p=this.tail,h=f;h!==null;h=h.prev){var y=h.prev;h.prev=h.next,h.next=y}return this.head=p,this.tail=f,this};try{u("./node_modules/.pnpm/yallist@4.0.0/node_modules/yallist/iterator.js")(a)}catch{}},crypto:o=>{"use strict";o.exports=yt("crypto")},fs:o=>{"use strict";o.exports=yt("fs")},module:o=>{"use strict";o.exports=yt("module")},path:o=>{"use strict";o.exports=yt("path")}},t={};function n(o){var r=t[o];if(r!==void 0)return r.exports;var u=t[o]={id:o,loaded:!1,exports:{}};return e[o](u,u.exports,n),u.loaded=!0,u.exports}n.n=o=>{var r=o&&o.__esModule?()=>o.default:()=>o;return n.d(r,{a:r}),r},n.d=(o,r)=>{for(var u in r)n.o(r,u)&&!n.o(o,u)&&Object.defineProperty(o,u,{enumerable:!0,get:r[u]})},n.o=(o,r)=>Object.prototype.hasOwnProperty.call(o,r),n.nmd=o=>(o.paths=[],o.children||(o.children=[]),o);var i={};(()=>{"use strict";n.d(i,{default:()=>Bv});var o=n("fs"),r=n("module");let u=yt("perf_hooks"),a=yt("os"),m=yt("vm");var d=n.n(m);let s=yt("url");function l(T=""){return T&&T.includes("\\")?T.replace(/\\/g,"/"):T}let f=/^[/\\]{2}/,p=/^[/\\](?![/\\])|^[/\\]{2}(?!\.)|^[A-Za-z]:[/\\]/,h=/^[A-Za-z]:$/,y=function(T){if(T.length===0)return".";let k=(T=l(T)).match(f),K=v(T),Z=T[T.length-1]==="/";return(T=E(T,!K)).length===0?K?"/":Z?"./":".":(Z&&(T+="/"),h.test(T)&&(T+="/"),k?K?`//${T}`:`//./${T}`:K&&!v(T)?`/${T}`:T)},b=function(...T){if(T.length===0)return".";let k;for(let K of T)K&&K.length>0&&(k===void 0?k=K:k+=`/${K}`);return k===void 0?".":y(k.replace(/\/\/+/g,"/"))};function E(T,k){let K="",Z=0,pe=-1,Se=0,Pe=null;for(let Le=0;Le<=T.length;++Le){if(Le<T.length)Pe=T[Le];else{if(Pe==="/")break;Pe="/"}if(Pe==="/"){if(!(pe===Le-1||Se===1))if(Se===2){if(K.length<2||Z!==2||K[K.length-1]!=="."||K[K.length-2]!=="."){if(K.length>2){let Ge=K.lastIndexOf("/");Ge===-1?(K="",Z=0):(K=K.slice(0,Ge),Z=K.length-1-K.lastIndexOf("/")),pe=Le,Se=0;continue}if(K.length>0){K="",Z=0,pe=Le,Se=0;continue}}k&&(K+=K.length>0?"/..":"..",Z=2)}else K.length>0?K+=`/${T.slice(pe+1,Le)}`:K=T.slice(pe+1,Le),Z=Le-pe-1;pe=Le,Se=0}else Pe==="."&&Se!==-1?++Se:Se=-1}return K}let v=function(T){return p.test(T)},S=/.(\.[^./]+)$/,w=function(T){let k=S.exec(l(T));return k&&k[1]||""},A=function(T){let k=l(T).replace(/\/$/,"").split("/").slice(0,-1);return k.length===1&&h.test(k[0])&&(k[0]+="/"),k.join("/")||(v(T)?"/":".")},x=function(T,k){let K=l(T).split("/").pop();return k&&K.endsWith(k)?K.slice(0,-k.length):K},C=/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,P=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,D=/^\s*["[{]|^\s*-?\d[\d.]{0,14}\s*$/;function L(T,k){if(!(T==="__proto__"||T==="constructor"&&k&&typeof k=="object"&&"prototype"in k))return k;(function(K){console.warn(`[destr] Dropping "${K}" key to prevent prototype pollution.`)})(T)}function I(T,k={}){if(typeof T!="string")return T;let K=T.trim();if(T[0]==='"'&&T[T.length-1]==='"')return K.slice(1,-1);if(K.length<=9){let Z=K.toLowerCase();if(Z==="true")return!0;if(Z==="false")return!1;if(Z==="undefined")return;if(Z==="null")return null;if(Z==="nan")return Number.NaN;if(Z==="infinity")return Number.POSITIVE_INFINITY;if(Z==="-infinity")return Number.NEGATIVE_INFINITY}if(!D.test(T)){if(k.strict)throw new SyntaxError("[destr] Invalid JSON");return T}try{if(C.test(T)||P.test(T)){if(k.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(T,L)}return JSON.parse(T)}catch(Z){if(k.strict)throw Z;return T}}function j(T){if(typeof T!="string")throw new TypeError("Expected a string");return T.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var M=n("./node_modules/.pnpm/create-require@1.1.1/node_modules/create-require/create-require.js"),R=n.n(M),z=n("./node_modules/.pnpm/semver@7.5.4/node_modules/semver/index.js");let Y=new Set(["/","\\",void 0]),$=Symbol.for("pathe:normalizedAlias");function G(T){if(T[$])return T;let k=Object.fromEntries(Object.entries(T).sort(([K],[Z])=>function(pe,Se){return Se.split("/").length-pe.split("/").length}(K,Z)));for(let K in k)for(let Z in k)Z===K||K.startsWith(Z)||k[K].startsWith(Z)&&Y.has(k[K][Z.length])&&(k[K]=k[Z]+k[K].slice(Z.length));return Object.defineProperty(k,$,{value:!0,enumerable:!1}),k}var U=n("./node_modules/.pnpm/pirates@4.0.6/node_modules/pirates/lib/index.js"),B=n("./node_modules/.pnpm/object-hash@3.0.0/node_modules/object-hash/index.js"),N=n.n(B),X=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,81,2,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,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,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,406,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,330,3,10,1,2,0,49,6,4,4,14,9,5351,0,7,14,13835,9,87,9,39,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,4706,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,983,6,110,6,6,9,4759,9,787719,239],H=[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,68,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,71,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,349,41,7,1,79,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,159,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,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,4026,582,8634,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8936,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,757,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,4153,7,221,3,5761,15,7472,3104,541,1507,4938,6,4191],F="\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC",W={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"},V="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",Q={5:V,"5module":V+" export import",6:V+" const class extends export import super"},ne=/^in(stanceof)?$/,ue=new RegExp("["+F+"]"),de=new RegExp("["+F+"\u200C\u200D\xB7\u0300-\u036F\u0387\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u0669\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u06F0-\u06F9\u0711\u0730-\u074A\u07A6-\u07B0\u07C0-\u07C9\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0898-\u089F\u08CA-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0966-\u096F\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09E6-\u09EF\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A66-\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AE6-\u0AEF\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C00-\u0C04\u0C3C\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0CE6-\u0CEF\u0CF3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D66-\u0D6F\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0E50-\u0E59\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECE\u0ED0-\u0ED9\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1040-\u1049\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F-\u109D\u135D-\u135F\u1369-\u1371\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u180F-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19D0-\u19DA\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\u1ABF-\u1ACE\u1B00-\u1B04\u1B34-\u1B44\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BB0-\u1BB9\u1BE6-\u1BF3\u1C24-\u1C37\u1C40-\u1C49\u1C50-\u1C59\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DFF\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA620-\uA629\uA66F\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA82C\uA880\uA881\uA8B4-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F1\uA8FF-\uA909\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9D0-\uA9D9\uA9E5\uA9F0-\uA9F9\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA50-\uAA59\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uABF0-\uABF9\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFF10-\uFF19\uFF3F]");function Ae(T,k){for(var K=65536,Z=0;Z<k.length;Z+=2){if((K+=k[Z])>T)return!1;if((K+=k[Z+1])>=T)return!0}return!1}function Oe(T,k){return T<65?T===36:T<91||(T<97?T===95:T<123||(T<=65535?T>=170&&ue.test(String.fromCharCode(T)):k!==!1&&Ae(T,H)))}function Me(T,k){return T<48?T===36:T<58||!(T<65)&&(T<91||(T<97?T===95:T<123||(T<=65535?T>=170&&de.test(String.fromCharCode(T)):k!==!1&&(Ae(T,H)||Ae(T,X)))))}var ae=function(T,k){k===void 0&&(k={}),this.label=T,this.keyword=k.keyword,this.beforeExpr=!!k.beforeExpr,this.startsExpr=!!k.startsExpr,this.isLoop=!!k.isLoop,this.isAssign=!!k.isAssign,this.prefix=!!k.prefix,this.postfix=!!k.postfix,this.binop=k.binop||null,this.updateContext=null};function se(T,k){return new ae(T,{beforeExpr:!0,binop:k})}var ye={beforeExpr:!0},be={startsExpr:!0},Ee={};function oe(T,k){return k===void 0&&(k={}),k.keyword=T,Ee[T]=new ae(T,k)}var J={num:new ae("num",be),regexp:new ae("regexp",be),string:new ae("string",be),name:new ae("name",be),privateId:new ae("privateId",be),eof:new ae("eof"),bracketL:new ae("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new ae("]"),braceL:new ae("{",{beforeExpr:!0,startsExpr:!0}),braceR:new ae("}"),parenL:new ae("(",{beforeExpr:!0,startsExpr:!0}),parenR:new ae(")"),comma:new ae(",",ye),semi:new ae(";",ye),colon:new ae(":",ye),dot:new ae("."),question:new ae("?",ye),questionDot:new ae("?."),arrow:new ae("=>",ye),template:new ae("template"),invalidTemplate:new ae("invalidTemplate"),ellipsis:new ae("...",ye),backQuote:new ae("`",be),dollarBraceL:new ae("${",{beforeExpr:!0,startsExpr:!0}),eq:new ae("=",{beforeExpr:!0,isAssign:!0}),assign:new ae("_=",{beforeExpr:!0,isAssign:!0}),incDec:new ae("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new ae("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:se("||",1),logicalAND:se("&&",2),bitwiseOR:se("|",3),bitwiseXOR:se("^",4),bitwiseAND:se("&",5),equality:se("==/!=/===/!==",6),relational:se("</>/<=/>=",7),bitShift:se("<</>>/>>>",8),plusMin:new ae("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:se("%",10),star:se("*",10),slash:se("/",10),starstar:new ae("**",{beforeExpr:!0}),coalesce:se("??",1),_break:oe("break"),_case:oe("case",ye),_catch:oe("catch"),_continue:oe("continue"),_debugger:oe("debugger"),_default:oe("default",ye),_do:oe("do",{isLoop:!0,beforeExpr:!0}),_else:oe("else",ye),_finally:oe("finally"),_for:oe("for",{isLoop:!0}),_function:oe("function",be),_if:oe("if"),_return:oe("return",ye),_switch:oe("switch"),_throw:oe("throw",ye),_try:oe("try"),_var:oe("var"),_const:oe("const"),_while:oe("while",{isLoop:!0}),_with:oe("with"),_new:oe("new",{beforeExpr:!0,startsExpr:!0}),_this:oe("this",be),_super:oe("super",be),_class:oe("class",be),_extends:oe("extends",ye),_export:oe("export"),_import:oe("import",be),_null:oe("null",be),_true:oe("true",be),_false:oe("false",be),_in:oe("in",{beforeExpr:!0,binop:7}),_instanceof:oe("instanceof",{beforeExpr:!0,binop:7}),_typeof:oe("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:oe("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:oe("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},De=/\r\n?|\n|\u2028|\u2029/,Ke=new RegExp(De.source,"g");function ke(T){return T===10||T===13||T===8232||T===8233}function Qe(T,k,K){K===void 0&&(K=T.length);for(var Z=k;Z<K;Z++){var pe=T.charCodeAt(Z);if(ke(pe))return Z<K-1&&pe===13&&T.charCodeAt(Z+1)===10?Z+2:Z+1}return-1}var pt=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,dt=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,Ue=Object.prototype,ce=Ue.hasOwnProperty,xe=Ue.toString,he=Object.hasOwn||function(T,k){return ce.call(T,k)},ve=Array.isArray||function(T){return xe.call(T)==="[object Array]"};function et(T){return new RegExp("^(?:"+T.replace(/ /g,"|")+")$")}function ut(T){return T<=65535?String.fromCharCode(T):(T-=65536,String.fromCharCode(55296+(T>>10),56320+(1023&T)))}var Kt=/(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/,zt=function(T,k){this.line=T,this.column=k};zt.prototype.offset=function(T){return new zt(this.line,this.column+T)};var Zt=function(T,k,K){this.start=k,this.end=K,T.sourceFile!==null&&(this.source=T.sourceFile)};function Ar(T,k){for(var K=1,Z=0;;){var pe=Qe(T,Z,k);if(pe<0)return new zt(K,k-Z);++K,Z=pe}}var er={ecmaVersion:null,sourceType:"script",onInsertedSemicolon:null,onTrailingComma:null,allowReserved:null,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowAwaitOutsideFunction:null,allowSuperOutsideMethod:null,allowHashBang:!1,checkPrivateFields:!0,locations:!1,onToken:null,onComment:null,ranges:!1,program:null,sourceFile:null,directSourceFile:null,preserveParens:!1},nt=!1;function Ce(T){var k={};for(var K in er)k[K]=T&&he(T,K)?T[K]:er[K];if(k.ecmaVersion==="latest"?k.ecmaVersion=1e8:k.ecmaVersion==null?(!nt&&typeof console=="object"&&console.warn&&(nt=!0,console.warn(`Since Acorn 8.0.0, options.ecmaVersion is required.
|
|
Defaulting to 2020, but this will stop working in the future.`)),k.ecmaVersion=11):k.ecmaVersion>=2015&&(k.ecmaVersion-=2009),k.allowReserved==null&&(k.allowReserved=k.ecmaVersion<5),T&&T.allowHashBang!=null||(k.allowHashBang=k.ecmaVersion>=14),ve(k.onToken)){var Z=k.onToken;k.onToken=function(pe){return Z.push(pe)}}return ve(k.onComment)&&(k.onComment=function(pe,Se){return function(Pe,Le,Ge,ct,He,Ut){var Vt={type:Pe?"Block":"Line",value:Le,start:Ge,end:ct};pe.locations&&(Vt.loc=new Zt(this,He,Ut)),pe.ranges&&(Vt.range=[Ge,ct]),Se.push(Vt)}}(k,k.onComment)),k}function re(T,k){return 2|(T?4:0)|(k?8:0)}var ie=function(T,k,K){this.options=T=Ce(T),this.sourceFile=T.sourceFile,this.keywords=et(Q[T.ecmaVersion>=6?6:T.sourceType==="module"?"5module":5]);var Z="";T.allowReserved!==!0&&(Z=W[T.ecmaVersion>=6?6:T.ecmaVersion===5?5:3],T.sourceType==="module"&&(Z+=" await")),this.reservedWords=et(Z);var pe=(Z?Z+" ":"")+W.strict;this.reservedWordsStrict=et(pe),this.reservedWordsStrictBind=et(pe+" "+W.strictBind),this.input=String(k),this.containsEsc=!1,K?(this.pos=K,this.lineStart=this.input.lastIndexOf(`
|
|
`,K-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(De).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=J.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=T.sourceType==="module",this.strict=this.inModule||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&&T.allowHashBang&&this.input.slice(0,2)==="#!"&&this.skipLineComment(2),this.scopeStack=[],this.enterScope(1),this.regexpState=null,this.privateNameStack=[]},Ne={inFunction:{configurable:!0},inGenerator:{configurable:!0},inAsync:{configurable:!0},canAwait:{configurable:!0},allowSuper:{configurable:!0},allowDirectSuper:{configurable:!0},treatFunctionsAsVar:{configurable:!0},allowNewDotTarget:{configurable:!0},inClassStaticBlock:{configurable:!0}};ie.prototype.parse=function(){var T=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(T)},Ne.inFunction.get=function(){return(2&this.currentVarScope().flags)>0},Ne.inGenerator.get=function(){return(8&this.currentVarScope().flags)>0&&!this.currentVarScope().inClassFieldInit},Ne.inAsync.get=function(){return(4&this.currentVarScope().flags)>0&&!this.currentVarScope().inClassFieldInit},Ne.canAwait.get=function(){for(var T=this.scopeStack.length-1;T>=0;T--){var k=this.scopeStack[T];if(k.inClassFieldInit||256&k.flags)return!1;if(2&k.flags)return(4&k.flags)>0}return this.inModule&&this.options.ecmaVersion>=13||this.options.allowAwaitOutsideFunction},Ne.allowSuper.get=function(){var T=this.currentThisScope(),k=T.flags,K=T.inClassFieldInit;return(64&k)>0||K||this.options.allowSuperOutsideMethod},Ne.allowDirectSuper.get=function(){return(128&this.currentThisScope().flags)>0},Ne.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())},Ne.allowNewDotTarget.get=function(){var T=this.currentThisScope(),k=T.flags,K=T.inClassFieldInit;return(258&k)>0||K},Ne.inClassStaticBlock.get=function(){return(256&this.currentVarScope().flags)>0},ie.extend=function(){for(var T=[],k=arguments.length;k--;)T[k]=arguments[k];for(var K=this,Z=0;Z<T.length;Z++)K=T[Z](K);return K},ie.parse=function(T,k){return new this(k,T).parse()},ie.parseExpressionAt=function(T,k,K){var Z=new this(K,T,k);return Z.nextToken(),Z.parseExpression()},ie.tokenizer=function(T,k){return new this(k,T)},Object.defineProperties(ie.prototype,Ne);var Be=ie.prototype,rt=/^(?:'((?:\\.|[^'\\])*?)'|"((?:\\.|[^"\\])*?)")/;Be.strictDirective=function(T){if(this.options.ecmaVersion<5)return!1;for(;;){dt.lastIndex=T,T+=dt.exec(this.input)[0].length;var k=rt.exec(this.input.slice(T));if(!k)return!1;if((k[1]||k[2])==="use strict"){dt.lastIndex=T+k[0].length;var K=dt.exec(this.input),Z=K.index+K[0].length,pe=this.input.charAt(Z);return pe===";"||pe==="}"||De.test(K[0])&&!(/[(`.[+\-/*%<>=,?^&]/.test(pe)||pe==="!"&&this.input.charAt(Z+1)==="=")}T+=k[0].length,dt.lastIndex=T,T+=dt.exec(this.input)[0].length,this.input[T]===";"&&T++}},Be.eat=function(T){return this.type===T&&(this.next(),!0)},Be.isContextual=function(T){return this.type===J.name&&this.value===T&&!this.containsEsc},Be.eatContextual=function(T){return!!this.isContextual(T)&&(this.next(),!0)},Be.expectContextual=function(T){this.eatContextual(T)||this.unexpected()},Be.canInsertSemicolon=function(){return this.type===J.eof||this.type===J.braceR||De.test(this.input.slice(this.lastTokEnd,this.start))},Be.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0},Be.semicolon=function(){this.eat(J.semi)||this.insertSemicolon()||this.unexpected()},Be.afterTrailingComma=function(T,k){if(this.type===T)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),k||this.next(),!0},Be.expect=function(T){this.eat(T)||this.unexpected()},Be.unexpected=function(T){this.raise(T??this.start,"Unexpected token")};var ot=function(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1};Be.checkPatternErrors=function(T,k){if(T){T.trailingComma>-1&&this.raiseRecoverable(T.trailingComma,"Comma is not permitted after the rest element");var K=k?T.parenthesizedAssign:T.parenthesizedBind;K>-1&&this.raiseRecoverable(K,k?"Assigning to rvalue":"Parenthesized pattern")}},Be.checkExpressionErrors=function(T,k){if(!T)return!1;var K=T.shorthandAssign,Z=T.doubleProto;if(!k)return K>=0||Z>=0;K>=0&&this.raise(K,"Shorthand property assignments are valid only in destructuring patterns"),Z>=0&&this.raiseRecoverable(Z,"Redefinition of __proto__ property")},Be.checkYieldAwaitInDefaultParams=function(){this.yieldPos&&(!this.awaitPos||this.yieldPos<this.awaitPos)&&this.raise(this.yieldPos,"Yield expression cannot be a default value"),this.awaitPos&&this.raise(this.awaitPos,"Await expression cannot be a default value")},Be.isSimpleAssignTarget=function(T){return T.type==="ParenthesizedExpression"?this.isSimpleAssignTarget(T.expression):T.type==="Identifier"||T.type==="MemberExpression"};var Ve=ie.prototype;Ve.parseTopLevel=function(T){var k=Object.create(null);for(T.body||(T.body=[]);this.type!==J.eof;){var K=this.parseStatement(null,!0,k);T.body.push(K)}if(this.inModule)for(var Z=0,pe=Object.keys(this.undefinedExports);Z<pe.length;Z+=1){var Se=pe[Z];this.raiseRecoverable(this.undefinedExports[Se].start,"Export '"+Se+"' is not defined")}return this.adaptDirectivePrologue(T.body),this.next(),T.sourceType=this.options.sourceType,this.finishNode(T,"Program")};var ft={kind:"loop"},Pt={kind:"switch"};Ve.isLet=function(T){if(this.options.ecmaVersion<6||!this.isContextual("let"))return!1;dt.lastIndex=this.pos;var k=dt.exec(this.input),K=this.pos+k[0].length,Z=this.input.charCodeAt(K);if(Z===91||Z===92)return!0;if(T)return!1;if(Z===123||Z>55295&&Z<56320)return!0;if(Oe(Z,!0)){for(var pe=K+1;Me(Z=this.input.charCodeAt(pe),!0);)++pe;if(Z===92||Z>55295&&Z<56320)return!0;var Se=this.input.slice(K,pe);if(!ne.test(Se))return!0}return!1},Ve.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;dt.lastIndex=this.pos;var T,k=dt.exec(this.input),K=this.pos+k[0].length;return!(De.test(this.input.slice(this.pos,K))||this.input.slice(K,K+8)!=="function"||K+8!==this.input.length&&(Me(T=this.input.charCodeAt(K+8))||T>55295&&T<56320))},Ve.parseStatement=function(T,k,K){var Z,pe=this.type,Se=this.startNode();switch(this.isLet(T)&&(pe=J._var,Z="let"),pe){case J._break:case J._continue:return this.parseBreakContinueStatement(Se,pe.keyword);case J._debugger:return this.parseDebuggerStatement(Se);case J._do:return this.parseDoStatement(Se);case J._for:return this.parseForStatement(Se);case J._function:return T&&(this.strict||T!=="if"&&T!=="label")&&this.options.ecmaVersion>=6&&this.unexpected(),this.parseFunctionStatement(Se,!1,!T);case J._class:return T&&this.unexpected(),this.parseClass(Se,!0);case J._if:return this.parseIfStatement(Se);case J._return:return this.parseReturnStatement(Se);case J._switch:return this.parseSwitchStatement(Se);case J._throw:return this.parseThrowStatement(Se);case J._try:return this.parseTryStatement(Se);case J._const:case J._var:return Z=Z||this.value,T&&Z!=="var"&&this.unexpected(),this.parseVarStatement(Se,Z);case J._while:return this.parseWhileStatement(Se);case J._with:return this.parseWithStatement(Se);case J.braceL:return this.parseBlock(!0,Se);case J.semi:return this.parseEmptyStatement(Se);case J._export:case J._import:if(this.options.ecmaVersion>10&&pe===J._import){dt.lastIndex=this.pos;var Pe=dt.exec(this.input),Le=this.pos+Pe[0].length,Ge=this.input.charCodeAt(Le);if(Ge===40||Ge===46)return this.parseExpressionStatement(Se,this.parseExpression())}return this.options.allowImportExportEverywhere||(k||this.raise(this.start,"'import' and 'export' may only appear at the top level"),this.inModule||this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")),pe===J._import?this.parseImport(Se):this.parseExport(Se,K);default:if(this.isAsyncFunction())return T&&this.unexpected(),this.next(),this.parseFunctionStatement(Se,!0,!T);var ct=this.value,He=this.parseExpression();return pe===J.name&&He.type==="Identifier"&&this.eat(J.colon)?this.parseLabeledStatement(Se,ct,He,T):this.parseExpressionStatement(Se,He)}},Ve.parseBreakContinueStatement=function(T,k){var K=k==="break";this.next(),this.eat(J.semi)||this.insertSemicolon()?T.label=null:this.type!==J.name?this.unexpected():(T.label=this.parseIdent(),this.semicolon());for(var Z=0;Z<this.labels.length;++Z){var pe=this.labels[Z];if((T.label==null||pe.name===T.label.name)&&(pe.kind!=null&&(K||pe.kind==="loop")||T.label&&K))break}return Z===this.labels.length&&this.raise(T.start,"Unsyntactic "+k),this.finishNode(T,K?"BreakStatement":"ContinueStatement")},Ve.parseDebuggerStatement=function(T){return this.next(),this.semicolon(),this.finishNode(T,"DebuggerStatement")},Ve.parseDoStatement=function(T){return this.next(),this.labels.push(ft),T.body=this.parseStatement("do"),this.labels.pop(),this.expect(J._while),T.test=this.parseParenExpression(),this.options.ecmaVersion>=6?this.eat(J.semi):this.semicolon(),this.finishNode(T,"DoWhileStatement")},Ve.parseForStatement=function(T){this.next();var k=this.options.ecmaVersion>=9&&this.canAwait&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(ft),this.enterScope(0),this.expect(J.parenL),this.type===J.semi)return k>-1&&this.unexpected(k),this.parseFor(T,null);var K=this.isLet();if(this.type===J._var||this.type===J._const||K){var Z=this.startNode(),pe=K?"let":this.value;return this.next(),this.parseVar(Z,!0,pe),this.finishNode(Z,"VariableDeclaration"),(this.type===J._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&Z.declarations.length===1?(this.options.ecmaVersion>=9&&(this.type===J._in?k>-1&&this.unexpected(k):T.await=k>-1),this.parseForIn(T,Z)):(k>-1&&this.unexpected(k),this.parseFor(T,Z))}var Se=this.isContextual("let"),Pe=!1,Le=new ot,Ge=this.parseExpression(!(k>-1)||"await",Le);return this.type===J._in||(Pe=this.options.ecmaVersion>=6&&this.isContextual("of"))?(this.options.ecmaVersion>=9&&(this.type===J._in?k>-1&&this.unexpected(k):T.await=k>-1),Se&&Pe&&this.raise(Ge.start,"The left-hand side of a for-of loop may not start with 'let'."),this.toAssignable(Ge,!1,Le),this.checkLValPattern(Ge),this.parseForIn(T,Ge)):(this.checkExpressionErrors(Le,!0),k>-1&&this.unexpected(k),this.parseFor(T,Ge))},Ve.parseFunctionStatement=function(T,k,K){return this.next(),this.parseFunction(T,tt|(K?0:Tt),!1,k)},Ve.parseIfStatement=function(T){return this.next(),T.test=this.parseParenExpression(),T.consequent=this.parseStatement("if"),T.alternate=this.eat(J._else)?this.parseStatement("if"):null,this.finishNode(T,"IfStatement")},Ve.parseReturnStatement=function(T){return this.inFunction||this.options.allowReturnOutsideFunction||this.raise(this.start,"'return' outside of function"),this.next(),this.eat(J.semi)||this.insertSemicolon()?T.argument=null:(T.argument=this.parseExpression(),this.semicolon()),this.finishNode(T,"ReturnStatement")},Ve.parseSwitchStatement=function(T){var k;this.next(),T.discriminant=this.parseParenExpression(),T.cases=[],this.expect(J.braceL),this.labels.push(Pt),this.enterScope(0);for(var K=!1;this.type!==J.braceR;)if(this.type===J._case||this.type===J._default){var Z=this.type===J._case;k&&this.finishNode(k,"SwitchCase"),T.cases.push(k=this.startNode()),k.consequent=[],this.next(),Z?k.test=this.parseExpression():(K&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),K=!0,k.test=null),this.expect(J.colon)}else k||this.unexpected(),k.consequent.push(this.parseStatement(null));return this.exitScope(),k&&this.finishNode(k,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(T,"SwitchStatement")},Ve.parseThrowStatement=function(T){return this.next(),De.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),T.argument=this.parseExpression(),this.semicolon(),this.finishNode(T,"ThrowStatement")};var $t=[];Ve.parseCatchClauseParam=function(){var T=this.parseBindingAtom(),k=T.type==="Identifier";return this.enterScope(k?32:0),this.checkLValPattern(T,k?4:2),this.expect(J.parenR),T},Ve.parseTryStatement=function(T){if(this.next(),T.block=this.parseBlock(),T.handler=null,this.type===J._catch){var k=this.startNode();this.next(),this.eat(J.parenL)?k.param=this.parseCatchClauseParam():(this.options.ecmaVersion<10&&this.unexpected(),k.param=null,this.enterScope(0)),k.body=this.parseBlock(!1),this.exitScope(),T.handler=this.finishNode(k,"CatchClause")}return T.finalizer=this.eat(J._finally)?this.parseBlock():null,T.handler||T.finalizer||this.raise(T.start,"Missing catch or finally clause"),this.finishNode(T,"TryStatement")},Ve.parseVarStatement=function(T,k,K){return this.next(),this.parseVar(T,!1,k,K),this.semicolon(),this.finishNode(T,"VariableDeclaration")},Ve.parseWhileStatement=function(T){return this.next(),T.test=this.parseParenExpression(),this.labels.push(ft),T.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(T,"WhileStatement")},Ve.parseWithStatement=function(T){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),T.object=this.parseParenExpression(),T.body=this.parseStatement("with"),this.finishNode(T,"WithStatement")},Ve.parseEmptyStatement=function(T){return this.next(),this.finishNode(T,"EmptyStatement")},Ve.parseLabeledStatement=function(T,k,K,Z){for(var pe=0,Se=this.labels;pe<Se.length;pe+=1)Se[pe].name===k&&this.raise(K.start,"Label '"+k+"' is already declared");for(var Pe=this.type.isLoop?"loop":this.type===J._switch?"switch":null,Le=this.labels.length-1;Le>=0;Le--){var Ge=this.labels[Le];if(Ge.statementStart!==T.start)break;Ge.statementStart=this.start,Ge.kind=Pe}return this.labels.push({name:k,kind:Pe,statementStart:this.start}),T.body=this.parseStatement(Z?Z.indexOf("label")===-1?Z+"label":Z:"label"),this.labels.pop(),T.label=K,this.finishNode(T,"LabeledStatement")},Ve.parseExpressionStatement=function(T,k){return T.expression=k,this.semicolon(),this.finishNode(T,"ExpressionStatement")},Ve.parseBlock=function(T,k,K){for(T===void 0&&(T=!0),k===void 0&&(k=this.startNode()),k.body=[],this.expect(J.braceL),T&&this.enterScope(0);this.type!==J.braceR;){var Z=this.parseStatement(null);k.body.push(Z)}return K&&(this.strict=!1),this.next(),T&&this.exitScope(),this.finishNode(k,"BlockStatement")},Ve.parseFor=function(T,k){return T.init=k,this.expect(J.semi),T.test=this.type===J.semi?null:this.parseExpression(),this.expect(J.semi),T.update=this.type===J.parenR?null:this.parseExpression(),this.expect(J.parenR),T.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(T,"ForStatement")},Ve.parseForIn=function(T,k){var K=this.type===J._in;return this.next(),k.type==="VariableDeclaration"&&k.declarations[0].init!=null&&(!K||this.options.ecmaVersion<8||this.strict||k.kind!=="var"||k.declarations[0].id.type!=="Identifier")&&this.raise(k.start,(K?"for-in":"for-of")+" loop variable declaration may not have an initializer"),T.left=k,T.right=K?this.parseExpression():this.parseMaybeAssign(),this.expect(J.parenR),T.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(T,K?"ForInStatement":"ForOfStatement")},Ve.parseVar=function(T,k,K,Z){for(T.declarations=[],T.kind=K;;){var pe=this.startNode();if(this.parseVarId(pe,K),this.eat(J.eq)?pe.init=this.parseMaybeAssign(k):Z||K!=="const"||this.type===J._in||this.options.ecmaVersion>=6&&this.isContextual("of")?Z||pe.id.type==="Identifier"||k&&(this.type===J._in||this.isContextual("of"))?pe.init=null:this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):this.unexpected(),T.declarations.push(this.finishNode(pe,"VariableDeclarator")),!this.eat(J.comma))break}return T},Ve.parseVarId=function(T,k){T.id=this.parseBindingAtom(),this.checkLValPattern(T.id,k==="var"?1:2,!1)};var tt=1,Tt=2;function Et(T,k){var K=k.key.name,Z=T[K],pe="true";return k.type!=="MethodDefinition"||k.kind!=="get"&&k.kind!=="set"||(pe=(k.static?"s":"i")+k.kind),Z==="iget"&&pe==="iset"||Z==="iset"&&pe==="iget"||Z==="sget"&&pe==="sset"||Z==="sset"&&pe==="sget"?(T[K]="true",!1):!!Z||(T[K]=pe,!1)}function qt(T,k){var K=T.computed,Z=T.key;return!K&&(Z.type==="Identifier"&&Z.name===k||Z.type==="Literal"&&Z.value===k)}Ve.parseFunction=function(T,k,K,Z,pe){this.initFunction(T),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!Z)&&(this.type===J.star&&k&Tt&&this.unexpected(),T.generator=this.eat(J.star)),this.options.ecmaVersion>=8&&(T.async=!!Z),k&tt&&(T.id=4&k&&this.type!==J.name?null:this.parseIdent(),!T.id||k&Tt||this.checkLValSimple(T.id,this.strict||T.generator||T.async?this.treatFunctionsAsVar?1:2:3));var Se=this.yieldPos,Pe=this.awaitPos,Le=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(re(T.async,T.generator)),k&tt||(T.id=this.type===J.name?this.parseIdent():null),this.parseFunctionParams(T),this.parseFunctionBody(T,K,!1,pe),this.yieldPos=Se,this.awaitPos=Pe,this.awaitIdentPos=Le,this.finishNode(T,k&tt?"FunctionDeclaration":"FunctionExpression")},Ve.parseFunctionParams=function(T){this.expect(J.parenL),T.params=this.parseBindingList(J.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()},Ve.parseClass=function(T,k){this.next();var K=this.strict;this.strict=!0,this.parseClassId(T,k),this.parseClassSuper(T);var Z=this.enterClassBody(),pe=this.startNode(),Se=!1;for(pe.body=[],this.expect(J.braceL);this.type!==J.braceR;){var Pe=this.parseClassElement(T.superClass!==null);Pe&&(pe.body.push(Pe),Pe.type==="MethodDefinition"&&Pe.kind==="constructor"?(Se&&this.raiseRecoverable(Pe.start,"Duplicate constructor in the same class"),Se=!0):Pe.key&&Pe.key.type==="PrivateIdentifier"&&Et(Z,Pe)&&this.raiseRecoverable(Pe.key.start,"Identifier '#"+Pe.key.name+"' has already been declared"))}return this.strict=K,this.next(),T.body=this.finishNode(pe,"ClassBody"),this.exitClassBody(),this.finishNode(T,k?"ClassDeclaration":"ClassExpression")},Ve.parseClassElement=function(T){if(this.eat(J.semi))return null;var k=this.options.ecmaVersion,K=this.startNode(),Z="",pe=!1,Se=!1,Pe="method",Le=!1;if(this.eatContextual("static")){if(k>=13&&this.eat(J.braceL))return this.parseClassStaticBlock(K),K;this.isClassElementNameStart()||this.type===J.star?Le=!0:Z="static"}if(K.static=Le,!Z&&k>=8&&this.eatContextual("async")&&(!this.isClassElementNameStart()&&this.type!==J.star||this.canInsertSemicolon()?Z="async":Se=!0),!Z&&(k>=9||!Se)&&this.eat(J.star)&&(pe=!0),!Z&&!Se&&!pe){var Ge=this.value;(this.eatContextual("get")||this.eatContextual("set"))&&(this.isClassElementNameStart()?Pe=Ge:Z=Ge)}if(Z?(K.computed=!1,K.key=this.startNodeAt(this.lastTokStart,this.lastTokStartLoc),K.key.name=Z,this.finishNode(K.key,"Identifier")):this.parseClassElementName(K),k<13||this.type===J.parenL||Pe!=="method"||pe||Se){var ct=!K.static&&qt(K,"constructor"),He=ct&&T;ct&&Pe!=="method"&&this.raise(K.key.start,"Constructor can't have get/set modifier"),K.kind=ct?"constructor":Pe,this.parseClassMethod(K,pe,Se,He)}else this.parseClassField(K);return K},Ve.isClassElementNameStart=function(){return this.type===J.name||this.type===J.privateId||this.type===J.num||this.type===J.string||this.type===J.bracketL||this.type.keyword},Ve.parseClassElementName=function(T){this.type===J.privateId?(this.value==="constructor"&&this.raise(this.start,"Classes can't have an element named '#constructor'"),T.computed=!1,T.key=this.parsePrivateIdent()):this.parsePropertyName(T)},Ve.parseClassMethod=function(T,k,K,Z){var pe=T.key;T.kind==="constructor"?(k&&this.raise(pe.start,"Constructor can't be a generator"),K&&this.raise(pe.start,"Constructor can't be an async method")):T.static&&qt(T,"prototype")&&this.raise(pe.start,"Classes may not have a static property named prototype");var Se=T.value=this.parseMethod(k,K,Z);return T.kind==="get"&&Se.params.length!==0&&this.raiseRecoverable(Se.start,"getter should have no params"),T.kind==="set"&&Se.params.length!==1&&this.raiseRecoverable(Se.start,"setter should have exactly one param"),T.kind==="set"&&Se.params[0].type==="RestElement"&&this.raiseRecoverable(Se.params[0].start,"Setter cannot use rest params"),this.finishNode(T,"MethodDefinition")},Ve.parseClassField=function(T){if(qt(T,"constructor")?this.raise(T.key.start,"Classes can't have a field named 'constructor'"):T.static&&qt(T,"prototype")&&this.raise(T.key.start,"Classes can't have a static field named 'prototype'"),this.eat(J.eq)){var k=this.currentThisScope(),K=k.inClassFieldInit;k.inClassFieldInit=!0,T.value=this.parseMaybeAssign(),k.inClassFieldInit=K}else T.value=null;return this.semicolon(),this.finishNode(T,"PropertyDefinition")},Ve.parseClassStaticBlock=function(T){T.body=[];var k=this.labels;for(this.labels=[],this.enterScope(320);this.type!==J.braceR;){var K=this.parseStatement(null);T.body.push(K)}return this.next(),this.exitScope(),this.labels=k,this.finishNode(T,"StaticBlock")},Ve.parseClassId=function(T,k){this.type===J.name?(T.id=this.parseIdent(),k&&this.checkLValSimple(T.id,2,!1)):(k===!0&&this.unexpected(),T.id=null)},Ve.parseClassSuper=function(T){T.superClass=this.eat(J._extends)?this.parseExprSubscripts(null,!1):null},Ve.enterClassBody=function(){var T={declared:Object.create(null),used:[]};return this.privateNameStack.push(T),T.declared},Ve.exitClassBody=function(){var T=this.privateNameStack.pop(),k=T.declared,K=T.used;if(this.options.checkPrivateFields)for(var Z=this.privateNameStack.length,pe=Z===0?null:this.privateNameStack[Z-1],Se=0;Se<K.length;++Se){var Pe=K[Se];he(k,Pe.name)||(pe?pe.used.push(Pe):this.raiseRecoverable(Pe.start,"Private field '#"+Pe.name+"' must be declared in an enclosing class"))}},Ve.parseExportAllDeclaration=function(T,k){return this.options.ecmaVersion>=11&&(this.eatContextual("as")?(T.exported=this.parseModuleExportName(),this.checkExport(k,T.exported,this.lastTokStart)):T.exported=null),this.expectContextual("from"),this.type!==J.string&&this.unexpected(),T.source=this.parseExprAtom(),this.semicolon(),this.finishNode(T,"ExportAllDeclaration")},Ve.parseExport=function(T,k){if(this.next(),this.eat(J.star))return this.parseExportAllDeclaration(T,k);if(this.eat(J._default))return this.checkExport(k,"default",this.lastTokStart),T.declaration=this.parseExportDefaultDeclaration(),this.finishNode(T,"ExportDefaultDeclaration");if(this.shouldParseExportStatement())T.declaration=this.parseExportDeclaration(T),T.declaration.type==="VariableDeclaration"?this.checkVariableExport(k,T.declaration.declarations):this.checkExport(k,T.declaration.id,T.declaration.id.start),T.specifiers=[],T.source=null;else{if(T.declaration=null,T.specifiers=this.parseExportSpecifiers(k),this.eatContextual("from"))this.type!==J.string&&this.unexpected(),T.source=this.parseExprAtom();else{for(var K=0,Z=T.specifiers;K<Z.length;K+=1){var pe=Z[K];this.checkUnreserved(pe.local),this.checkLocalExport(pe.local),pe.local.type==="Literal"&&this.raise(pe.local.start,"A string literal cannot be used as an exported binding without `from`.")}T.source=null}this.semicolon()}return this.finishNode(T,"ExportNamedDeclaration")},Ve.parseExportDeclaration=function(T){return this.parseStatement(null)},Ve.parseExportDefaultDeclaration=function(){var T;if(this.type===J._function||(T=this.isAsyncFunction())){var k=this.startNode();return this.next(),T&&this.next(),this.parseFunction(k,4|tt,!1,T)}if(this.type===J._class){var K=this.startNode();return this.parseClass(K,"nullableID")}var Z=this.parseMaybeAssign();return this.semicolon(),Z},Ve.checkExport=function(T,k,K){T&&(typeof k!="string"&&(k=k.type==="Identifier"?k.name:k.value),he(T,k)&&this.raiseRecoverable(K,"Duplicate export '"+k+"'"),T[k]=!0)},Ve.checkPatternExport=function(T,k){var K=k.type;if(K==="Identifier")this.checkExport(T,k,k.start);else if(K==="ObjectPattern")for(var Z=0,pe=k.properties;Z<pe.length;Z+=1){var Se=pe[Z];this.checkPatternExport(T,Se)}else if(K==="ArrayPattern")for(var Pe=0,Le=k.elements;Pe<Le.length;Pe+=1){var Ge=Le[Pe];Ge&&this.checkPatternExport(T,Ge)}else K==="Property"?this.checkPatternExport(T,k.value):K==="AssignmentPattern"?this.checkPatternExport(T,k.left):K==="RestElement"?this.checkPatternExport(T,k.argument):K==="ParenthesizedExpression"&&this.checkPatternExport(T,k.expression)},Ve.checkVariableExport=function(T,k){if(T)for(var K=0,Z=k;K<Z.length;K+=1){var pe=Z[K];this.checkPatternExport(T,pe.id)}},Ve.shouldParseExportStatement=function(){return this.type.keyword==="var"||this.type.keyword==="const"||this.type.keyword==="class"||this.type.keyword==="function"||this.isLet()||this.isAsyncFunction()},Ve.parseExportSpecifier=function(T){var k=this.startNode();return k.local=this.parseModuleExportName(),k.exported=this.eatContextual("as")?this.parseModuleExportName():k.local,this.checkExport(T,k.exported,k.exported.start),this.finishNode(k,"ExportSpecifier")},Ve.parseExportSpecifiers=function(T){var k=[],K=!0;for(this.expect(J.braceL);!this.eat(J.braceR);){if(K)K=!1;else if(this.expect(J.comma),this.afterTrailingComma(J.braceR))break;k.push(this.parseExportSpecifier(T))}return k},Ve.parseImport=function(T){return this.next(),this.type===J.string?(T.specifiers=$t,T.source=this.parseExprAtom()):(T.specifiers=this.parseImportSpecifiers(),this.expectContextual("from"),T.source=this.type===J.string?this.parseExprAtom():this.unexpected()),this.semicolon(),this.finishNode(T,"ImportDeclaration")},Ve.parseImportSpecifier=function(){var T=this.startNode();return T.imported=this.parseModuleExportName(),this.eatContextual("as")?T.local=this.parseIdent():(this.checkUnreserved(T.imported),T.local=T.imported),this.checkLValSimple(T.local,2),this.finishNode(T,"ImportSpecifier")},Ve.parseImportDefaultSpecifier=function(){var T=this.startNode();return T.local=this.parseIdent(),this.checkLValSimple(T.local,2),this.finishNode(T,"ImportDefaultSpecifier")},Ve.parseImportNamespaceSpecifier=function(){var T=this.startNode();return this.next(),this.expectContextual("as"),T.local=this.parseIdent(),this.checkLValSimple(T.local,2),this.finishNode(T,"ImportNamespaceSpecifier")},Ve.parseImportSpecifiers=function(){var T=[],k=!0;if(this.type===J.name&&(T.push(this.parseImportDefaultSpecifier()),!this.eat(J.comma)))return T;if(this.type===J.star)return T.push(this.parseImportNamespaceSpecifier()),T;for(this.expect(J.braceL);!this.eat(J.braceR);){if(k)k=!1;else if(this.expect(J.comma),this.afterTrailingComma(J.braceR))break;T.push(this.parseImportSpecifier())}return T},Ve.parseModuleExportName=function(){if(this.options.ecmaVersion>=13&&this.type===J.string){var T=this.parseLiteral(this.value);return Kt.test(T.value)&&this.raise(T.start,"An export name cannot include a lone surrogate."),T}return this.parseIdent(!0)},Ve.adaptDirectivePrologue=function(T){for(var k=0;k<T.length&&this.isDirectiveCandidate(T[k]);++k)T[k].directive=T[k].expression.raw.slice(1,-1)},Ve.isDirectiveCandidate=function(T){return this.options.ecmaVersion>=5&&T.type==="ExpressionStatement"&&T.expression.type==="Literal"&&typeof T.expression.value=="string"&&(this.input[T.start]==='"'||this.input[T.start]==="'")};var Xt=ie.prototype;Xt.toAssignable=function(T,k,K){if(this.options.ecmaVersion>=6&&T)switch(T.type){case"Identifier":this.inAsync&&T.name==="await"&&this.raise(T.start,"Cannot use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":T.type="ObjectPattern",K&&this.checkPatternErrors(K,!0);for(var Z=0,pe=T.properties;Z<pe.length;Z+=1){var Se=pe[Z];this.toAssignable(Se,k),Se.type!=="RestElement"||Se.argument.type!=="ArrayPattern"&&Se.argument.type!=="ObjectPattern"||this.raise(Se.argument.start,"Unexpected token")}break;case"Property":T.kind!=="init"&&this.raise(T.key.start,"Object pattern can't contain getter or setter"),this.toAssignable(T.value,k);break;case"ArrayExpression":T.type="ArrayPattern",K&&this.checkPatternErrors(K,!0),this.toAssignableList(T.elements,k);break;case"SpreadElement":T.type="RestElement",this.toAssignable(T.argument,k),T.argument.type==="AssignmentPattern"&&this.raise(T.argument.start,"Rest elements cannot have a default value");break;case"AssignmentExpression":T.operator!=="="&&this.raise(T.left.end,"Only '=' operator can be used for specifying default value."),T.type="AssignmentPattern",delete T.operator,this.toAssignable(T.left,k);break;case"ParenthesizedExpression":this.toAssignable(T.expression,k,K);break;case"ChainExpression":this.raiseRecoverable(T.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":if(!k)break;default:this.raise(T.start,"Assigning to rvalue")}else K&&this.checkPatternErrors(K,!0);return T},Xt.toAssignableList=function(T,k){for(var K=T.length,Z=0;Z<K;Z++){var pe=T[Z];pe&&this.toAssignable(pe,k)}if(K){var Se=T[K-1];this.options.ecmaVersion===6&&k&&Se&&Se.type==="RestElement"&&Se.argument.type!=="Identifier"&&this.unexpected(Se.argument.start)}return T},Xt.parseSpread=function(T){var k=this.startNode();return this.next(),k.argument=this.parseMaybeAssign(!1,T),this.finishNode(k,"SpreadElement")},Xt.parseRestBinding=function(){var T=this.startNode();return this.next(),this.options.ecmaVersion===6&&this.type!==J.name&&this.unexpected(),T.argument=this.parseBindingAtom(),this.finishNode(T,"RestElement")},Xt.parseBindingAtom=function(){if(this.options.ecmaVersion>=6)switch(this.type){case J.bracketL:var T=this.startNode();return this.next(),T.elements=this.parseBindingList(J.bracketR,!0,!0),this.finishNode(T,"ArrayPattern");case J.braceL:return this.parseObj(!0)}return this.parseIdent()},Xt.parseBindingList=function(T,k,K,Z){for(var pe=[],Se=!0;!this.eat(T);)if(Se?Se=!1:this.expect(J.comma),k&&this.type===J.comma)pe.push(null);else{if(K&&this.afterTrailingComma(T))break;if(this.type===J.ellipsis){var Pe=this.parseRestBinding();this.parseBindingListItem(Pe),pe.push(Pe),this.type===J.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element"),this.expect(T);break}pe.push(this.parseAssignableListItem(Z))}return pe},Xt.parseAssignableListItem=function(T){var k=this.parseMaybeDefault(this.start,this.startLoc);return this.parseBindingListItem(k),k},Xt.parseBindingListItem=function(T){return T},Xt.parseMaybeDefault=function(T,k,K){if(K=K||this.parseBindingAtom(),this.options.ecmaVersion<6||!this.eat(J.eq))return K;var Z=this.startNodeAt(T,k);return Z.left=K,Z.right=this.parseMaybeAssign(),this.finishNode(Z,"AssignmentPattern")},Xt.checkLValSimple=function(T,k,K){k===void 0&&(k=0);var Z=k!==0;switch(T.type){case"Identifier":this.strict&&this.reservedWordsStrictBind.test(T.name)&&this.raiseRecoverable(T.start,(Z?"Binding ":"Assigning to ")+T.name+" in strict mode"),Z&&(k===2&&T.name==="let"&&this.raiseRecoverable(T.start,"let is disallowed as a lexically bound name"),K&&(he(K,T.name)&&this.raiseRecoverable(T.start,"Argument name clash"),K[T.name]=!0),k!==5&&this.declareName(T.name,k,T.start));break;case"ChainExpression":this.raiseRecoverable(T.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":Z&&this.raiseRecoverable(T.start,"Binding member expression");break;case"ParenthesizedExpression":return Z&&this.raiseRecoverable(T.start,"Binding parenthesized expression"),this.checkLValSimple(T.expression,k,K);default:this.raise(T.start,(Z?"Binding":"Assigning to")+" rvalue")}},Xt.checkLValPattern=function(T,k,K){switch(k===void 0&&(k=0),T.type){case"ObjectPattern":for(var Z=0,pe=T.properties;Z<pe.length;Z+=1){var Se=pe[Z];this.checkLValInnerPattern(Se,k,K)}break;case"ArrayPattern":for(var Pe=0,Le=T.elements;Pe<Le.length;Pe+=1){var Ge=Le[Pe];Ge&&this.checkLValInnerPattern(Ge,k,K)}break;default:this.checkLValSimple(T,k,K)}},Xt.checkLValInnerPattern=function(T,k,K){switch(k===void 0&&(k=0),T.type){case"Property":this.checkLValInnerPattern(T.value,k,K);break;case"AssignmentPattern":this.checkLValPattern(T.left,k,K);break;case"RestElement":this.checkLValPattern(T.argument,k,K);break;default:this.checkLValPattern(T,k,K)}};var mr=function(T,k,K,Z,pe){this.token=T,this.isExpr=!!k,this.preserveSpace=!!K,this.override=Z,this.generator=!!pe},ar={b_stat:new mr("{",!1),b_expr:new mr("{",!0),b_tmpl:new mr("${",!1),p_stat:new mr("(",!1),p_expr:new mr("(",!0),q_tmpl:new mr("`",!0,!0,function(T){return T.tryReadTemplateToken()}),f_stat:new mr("function",!1),f_expr:new mr("function",!0),f_expr_gen:new mr("function",!0,!1,null,!0),f_gen:new mr("function",!1,!1,null,!0)},qr=ie.prototype;qr.initialContext=function(){return[ar.b_stat]},qr.curContext=function(){return this.context[this.context.length-1]},qr.braceIsBlock=function(T){var k=this.curContext();return k===ar.f_expr||k===ar.f_stat||(T!==J.colon||k!==ar.b_stat&&k!==ar.b_expr?T===J._return||T===J.name&&this.exprAllowed?De.test(this.input.slice(this.lastTokEnd,this.start)):T===J._else||T===J.semi||T===J.eof||T===J.parenR||T===J.arrow||(T===J.braceL?k===ar.b_stat:T!==J._var&&T!==J._const&&T!==J.name&&!this.exprAllowed):!k.isExpr)},qr.inGeneratorContext=function(){for(var T=this.context.length-1;T>=1;T--){var k=this.context[T];if(k.token==="function")return k.generator}return!1},qr.updateContext=function(T){var k,K=this.type;K.keyword&&T===J.dot?this.exprAllowed=!1:(k=K.updateContext)?k.call(this,T):this.exprAllowed=K.beforeExpr},qr.overrideContext=function(T){this.curContext()!==T&&(this.context[this.context.length-1]=T)},J.parenR.updateContext=J.braceR.updateContext=function(){if(this.context.length!==1){var T=this.context.pop();T===ar.b_stat&&this.curContext().token==="function"&&(T=this.context.pop()),this.exprAllowed=!T.isExpr}else this.exprAllowed=!0},J.braceL.updateContext=function(T){this.context.push(this.braceIsBlock(T)?ar.b_stat:ar.b_expr),this.exprAllowed=!0},J.dollarBraceL.updateContext=function(){this.context.push(ar.b_tmpl),this.exprAllowed=!0},J.parenL.updateContext=function(T){var k=T===J._if||T===J._for||T===J._with||T===J._while;this.context.push(k?ar.p_stat:ar.p_expr),this.exprAllowed=!0},J.incDec.updateContext=function(){},J._function.updateContext=J._class.updateContext=function(T){!T.beforeExpr||T===J._else||T===J.semi&&this.curContext()!==ar.p_stat||T===J._return&&De.test(this.input.slice(this.lastTokEnd,this.start))||(T===J.colon||T===J.braceL)&&this.curContext()===ar.b_stat?this.context.push(ar.f_stat):this.context.push(ar.f_expr),this.exprAllowed=!1},J.backQuote.updateContext=function(){this.curContext()===ar.q_tmpl?this.context.pop():this.context.push(ar.q_tmpl),this.exprAllowed=!1},J.star.updateContext=function(T){if(T===J._function){var k=this.context.length-1;this.context[k]===ar.f_expr?this.context[k]=ar.f_expr_gen:this.context[k]=ar.f_gen}this.exprAllowed=!0},J.name.updateContext=function(T){var k=!1;this.options.ecmaVersion>=6&&T!==J.dot&&(this.value==="of"&&!this.exprAllowed||this.value==="yield"&&this.inGeneratorContext())&&(k=!0),this.exprAllowed=k};var Lt=ie.prototype;function yi(T){return T.type==="MemberExpression"&&T.property.type==="PrivateIdentifier"||T.type==="ChainExpression"&&yi(T.expression)}Lt.checkPropClash=function(T,k,K){if(!(this.options.ecmaVersion>=9&&T.type==="SpreadElement"||this.options.ecmaVersion>=6&&(T.computed||T.method||T.shorthand))){var Z,pe=T.key;switch(pe.type){case"Identifier":Z=pe.name;break;case"Literal":Z=String(pe.value);break;default:return}var Se=T.kind;if(this.options.ecmaVersion>=6)Z==="__proto__"&&Se==="init"&&(k.proto&&(K?K.doubleProto<0&&(K.doubleProto=pe.start):this.raiseRecoverable(pe.start,"Redefinition of __proto__ property")),k.proto=!0);else{var Pe=k[Z="$"+Z];Pe?(Se==="init"?this.strict&&Pe.init||Pe.get||Pe.set:Pe.init||Pe[Se])&&this.raiseRecoverable(pe.start,"Redefinition of property"):Pe=k[Z]={init:!1,get:!1,set:!1},Pe[Se]=!0}}},Lt.parseExpression=function(T,k){var K=this.start,Z=this.startLoc,pe=this.parseMaybeAssign(T,k);if(this.type===J.comma){var Se=this.startNodeAt(K,Z);for(Se.expressions=[pe];this.eat(J.comma);)Se.expressions.push(this.parseMaybeAssign(T,k));return this.finishNode(Se,"SequenceExpression")}return pe},Lt.parseMaybeAssign=function(T,k,K){if(this.isContextual("yield")){if(this.inGenerator)return this.parseYield(T);this.exprAllowed=!1}var Z=!1,pe=-1,Se=-1,Pe=-1;k?(pe=k.parenthesizedAssign,Se=k.trailingComma,Pe=k.doubleProto,k.parenthesizedAssign=k.trailingComma=-1):(k=new ot,Z=!0);var Le=this.start,Ge=this.startLoc;this.type!==J.parenL&&this.type!==J.name||(this.potentialArrowAt=this.start,this.potentialArrowInForAwait=T==="await");var ct=this.parseMaybeConditional(T,k);if(K&&(ct=K.call(this,ct,Le,Ge)),this.type.isAssign){var He=this.startNodeAt(Le,Ge);return He.operator=this.value,this.type===J.eq&&(ct=this.toAssignable(ct,!1,k)),Z||(k.parenthesizedAssign=k.trailingComma=k.doubleProto=-1),k.shorthandAssign>=ct.start&&(k.shorthandAssign=-1),this.type===J.eq?this.checkLValPattern(ct):this.checkLValSimple(ct),He.left=ct,this.next(),He.right=this.parseMaybeAssign(T),Pe>-1&&(k.doubleProto=Pe),this.finishNode(He,"AssignmentExpression")}return Z&&this.checkExpressionErrors(k,!0),pe>-1&&(k.parenthesizedAssign=pe),Se>-1&&(k.trailingComma=Se),ct},Lt.parseMaybeConditional=function(T,k){var K=this.start,Z=this.startLoc,pe=this.parseExprOps(T,k);if(this.checkExpressionErrors(k))return pe;if(this.eat(J.question)){var Se=this.startNodeAt(K,Z);return Se.test=pe,Se.consequent=this.parseMaybeAssign(),this.expect(J.colon),Se.alternate=this.parseMaybeAssign(T),this.finishNode(Se,"ConditionalExpression")}return pe},Lt.parseExprOps=function(T,k){var K=this.start,Z=this.startLoc,pe=this.parseMaybeUnary(k,!1,!1,T);return this.checkExpressionErrors(k)||pe.start===K&&pe.type==="ArrowFunctionExpression"?pe:this.parseExprOp(pe,K,Z,-1,T)},Lt.parseExprOp=function(T,k,K,Z,pe){var Se=this.type.binop;if(Se!=null&&(!pe||this.type!==J._in)&&Se>Z){var Pe=this.type===J.logicalOR||this.type===J.logicalAND,Le=this.type===J.coalesce;Le&&(Se=J.logicalAND.binop);var Ge=this.value;this.next();var ct=this.start,He=this.startLoc,Ut=this.parseExprOp(this.parseMaybeUnary(null,!1,!1,pe),ct,He,Se,pe),Vt=this.buildBinary(k,K,T,Ut,Ge,Pe||Le);return(Pe&&this.type===J.coalesce||Le&&(this.type===J.logicalOR||this.type===J.logicalAND))&&this.raiseRecoverable(this.start,"Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses"),this.parseExprOp(Vt,k,K,Z,pe)}return T},Lt.buildBinary=function(T,k,K,Z,pe,Se){Z.type==="PrivateIdentifier"&&this.raise(Z.start,"Private identifier can only be left side of binary expression");var Pe=this.startNodeAt(T,k);return Pe.left=K,Pe.operator=pe,Pe.right=Z,this.finishNode(Pe,Se?"LogicalExpression":"BinaryExpression")},Lt.parseMaybeUnary=function(T,k,K,Z){var pe,Se=this.start,Pe=this.startLoc;if(this.isContextual("await")&&this.canAwait)pe=this.parseAwait(Z),k=!0;else if(this.type.prefix){var Le=this.startNode(),Ge=this.type===J.incDec;Le.operator=this.value,Le.prefix=!0,this.next(),Le.argument=this.parseMaybeUnary(null,!0,Ge,Z),this.checkExpressionErrors(T,!0),Ge?this.checkLValSimple(Le.argument):this.strict&&Le.operator==="delete"&&Le.argument.type==="Identifier"?this.raiseRecoverable(Le.start,"Deleting local variable in strict mode"):Le.operator==="delete"&&yi(Le.argument)?this.raiseRecoverable(Le.start,"Private fields can not be deleted"):k=!0,pe=this.finishNode(Le,Ge?"UpdateExpression":"UnaryExpression")}else if(k||this.type!==J.privateId){if(pe=this.parseExprSubscripts(T,Z),this.checkExpressionErrors(T))return pe;for(;this.type.postfix&&!this.canInsertSemicolon();){var ct=this.startNodeAt(Se,Pe);ct.operator=this.value,ct.prefix=!1,ct.argument=pe,this.checkLValSimple(pe),this.next(),pe=this.finishNode(ct,"UpdateExpression")}}else(Z||this.privateNameStack.length===0)&&this.options.checkPrivateFields&&this.unexpected(),pe=this.parsePrivateIdent(),this.type!==J._in&&this.unexpected();return K||!this.eat(J.starstar)?pe:k?void this.unexpected(this.lastTokStart):this.buildBinary(Se,Pe,pe,this.parseMaybeUnary(null,!1,!1,Z),"**",!1)},Lt.parseExprSubscripts=function(T,k){var K=this.start,Z=this.startLoc,pe=this.parseExprAtom(T,k);if(pe.type==="ArrowFunctionExpression"&&this.input.slice(this.lastTokStart,this.lastTokEnd)!==")")return pe;var Se=this.parseSubscripts(pe,K,Z,!1,k);return T&&Se.type==="MemberExpression"&&(T.parenthesizedAssign>=Se.start&&(T.parenthesizedAssign=-1),T.parenthesizedBind>=Se.start&&(T.parenthesizedBind=-1),T.trailingComma>=Se.start&&(T.trailingComma=-1)),Se},Lt.parseSubscripts=function(T,k,K,Z,pe){for(var Se=this.options.ecmaVersion>=8&&T.type==="Identifier"&&T.name==="async"&&this.lastTokEnd===T.end&&!this.canInsertSemicolon()&&T.end-T.start==5&&this.potentialArrowAt===T.start,Pe=!1;;){var Le=this.parseSubscript(T,k,K,Z,Se,Pe,pe);if(Le.optional&&(Pe=!0),Le===T||Le.type==="ArrowFunctionExpression"){if(Pe){var Ge=this.startNodeAt(k,K);Ge.expression=Le,Le=this.finishNode(Ge,"ChainExpression")}return Le}T=Le}},Lt.shouldParseAsyncArrow=function(){return!this.canInsertSemicolon()&&this.eat(J.arrow)},Lt.parseSubscriptAsyncArrow=function(T,k,K,Z){return this.parseArrowExpression(this.startNodeAt(T,k),K,!0,Z)},Lt.parseSubscript=function(T,k,K,Z,pe,Se,Pe){var Le=this.options.ecmaVersion>=11,Ge=Le&&this.eat(J.questionDot);Z&&Ge&&this.raise(this.lastTokStart,"Optional chaining cannot appear in the callee of new expressions");var ct=this.eat(J.bracketL);if(ct||Ge&&this.type!==J.parenL&&this.type!==J.backQuote||this.eat(J.dot)){var He=this.startNodeAt(k,K);He.object=T,ct?(He.property=this.parseExpression(),this.expect(J.bracketR)):this.type===J.privateId&&T.type!=="Super"?He.property=this.parsePrivateIdent():He.property=this.parseIdent(this.options.allowReserved!=="never"),He.computed=!!ct,Le&&(He.optional=Ge),T=this.finishNode(He,"MemberExpression")}else if(!Z&&this.eat(J.parenL)){var Ut=new ot,Vt=this.yieldPos,yr=this.awaitPos,Fr=this.awaitIdentPos;this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0;var vn=this.parseExprList(J.parenR,this.options.ecmaVersion>=8,!1,Ut);if(pe&&!Ge&&this.shouldParseAsyncArrow())return this.checkPatternErrors(Ut,!1),this.checkYieldAwaitInDefaultParams(),this.awaitIdentPos>0&&this.raise(this.awaitIdentPos,"Cannot use 'await' as identifier inside an async function"),this.yieldPos=Vt,this.awaitPos=yr,this.awaitIdentPos=Fr,this.parseSubscriptAsyncArrow(k,K,vn,Pe);this.checkExpressionErrors(Ut,!0),this.yieldPos=Vt||this.yieldPos,this.awaitPos=yr||this.awaitPos,this.awaitIdentPos=Fr||this.awaitIdentPos;var In=this.startNodeAt(k,K);In.callee=T,In.arguments=vn,Le&&(In.optional=Ge),T=this.finishNode(In,"CallExpression")}else if(this.type===J.backQuote){(Ge||Se)&&this.raise(this.start,"Optional chaining cannot appear in the tag of tagged template expressions");var en=this.startNodeAt(k,K);en.tag=T,en.quasi=this.parseTemplate({isTagged:!0}),T=this.finishNode(en,"TaggedTemplateExpression")}return T},Lt.parseExprAtom=function(T,k,K){this.type===J.slash&&this.readRegexp();var Z,pe=this.potentialArrowAt===this.start;switch(this.type){case J._super:return this.allowSuper||this.raise(this.start,"'super' keyword outside a method"),Z=this.startNode(),this.next(),this.type!==J.parenL||this.allowDirectSuper||this.raise(Z.start,"super() call outside constructor of a subclass"),this.type!==J.dot&&this.type!==J.bracketL&&this.type!==J.parenL&&this.unexpected(),this.finishNode(Z,"Super");case J._this:return Z=this.startNode(),this.next(),this.finishNode(Z,"ThisExpression");case J.name:var Se=this.start,Pe=this.startLoc,Le=this.containsEsc,Ge=this.parseIdent(!1);if(this.options.ecmaVersion>=8&&!Le&&Ge.name==="async"&&!this.canInsertSemicolon()&&this.eat(J._function))return this.overrideContext(ar.f_expr),this.parseFunction(this.startNodeAt(Se,Pe),0,!1,!0,k);if(pe&&!this.canInsertSemicolon()){if(this.eat(J.arrow))return this.parseArrowExpression(this.startNodeAt(Se,Pe),[Ge],!1,k);if(this.options.ecmaVersion>=8&&Ge.name==="async"&&this.type===J.name&&!Le&&(!this.potentialArrowInForAwait||this.value!=="of"||this.containsEsc))return Ge=this.parseIdent(!1),!this.canInsertSemicolon()&&this.eat(J.arrow)||this.unexpected(),this.parseArrowExpression(this.startNodeAt(Se,Pe),[Ge],!0,k)}return Ge;case J.regexp:var ct=this.value;return(Z=this.parseLiteral(ct.value)).regex={pattern:ct.pattern,flags:ct.flags},Z;case J.num:case J.string:return this.parseLiteral(this.value);case J._null:case J._true:case J._false:return(Z=this.startNode()).value=this.type===J._null?null:this.type===J._true,Z.raw=this.type.keyword,this.next(),this.finishNode(Z,"Literal");case J.parenL:var He=this.start,Ut=this.parseParenAndDistinguishExpression(pe,k);return T&&(T.parenthesizedAssign<0&&!this.isSimpleAssignTarget(Ut)&&(T.parenthesizedAssign=He),T.parenthesizedBind<0&&(T.parenthesizedBind=He)),Ut;case J.bracketL:return Z=this.startNode(),this.next(),Z.elements=this.parseExprList(J.bracketR,!0,!0,T),this.finishNode(Z,"ArrayExpression");case J.braceL:return this.overrideContext(ar.b_expr),this.parseObj(!1,T);case J._function:return Z=this.startNode(),this.next(),this.parseFunction(Z,0);case J._class:return this.parseClass(this.startNode(),!1);case J._new:return this.parseNew();case J.backQuote:return this.parseTemplate();case J._import:return this.options.ecmaVersion>=11?this.parseExprImport(K):this.unexpected();default:return this.parseExprAtomDefault()}},Lt.parseExprAtomDefault=function(){this.unexpected()},Lt.parseExprImport=function(T){var k=this.startNode();this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword import");var K=this.parseIdent(!0);return this.type!==J.parenL||T?this.type===J.dot?(k.meta=K,this.parseImportMeta(k)):void this.unexpected():this.parseDynamicImport(k)},Lt.parseDynamicImport=function(T){if(this.next(),T.source=this.parseMaybeAssign(),!this.eat(J.parenR)){var k=this.start;this.eat(J.comma)&&this.eat(J.parenR)?this.raiseRecoverable(k,"Trailing comma is not allowed in import()"):this.unexpected(k)}return this.finishNode(T,"ImportExpression")},Lt.parseImportMeta=function(T){this.next();var k=this.containsEsc;return T.property=this.parseIdent(!0),T.property.name!=="meta"&&this.raiseRecoverable(T.property.start,"The only valid meta property for import is 'import.meta'"),k&&this.raiseRecoverable(T.start,"'import.meta' must not contain escaped characters"),this.options.sourceType==="module"||this.options.allowImportExportEverywhere||this.raiseRecoverable(T.start,"Cannot use 'import.meta' outside a module"),this.finishNode(T,"MetaProperty")},Lt.parseLiteral=function(T){var k=this.startNode();return k.value=T,k.raw=this.input.slice(this.start,this.end),k.raw.charCodeAt(k.raw.length-1)===110&&(k.bigint=k.raw.slice(0,-1).replace(/_/g,"")),this.next(),this.finishNode(k,"Literal")},Lt.parseParenExpression=function(){this.expect(J.parenL);var T=this.parseExpression();return this.expect(J.parenR),T},Lt.shouldParseArrow=function(T){return!this.canInsertSemicolon()},Lt.parseParenAndDistinguishExpression=function(T,k){var K,Z=this.start,pe=this.startLoc,Se=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var Pe,Le=this.start,Ge=this.startLoc,ct=[],He=!0,Ut=!1,Vt=new ot,yr=this.yieldPos,Fr=this.awaitPos;for(this.yieldPos=0,this.awaitPos=0;this.type!==J.parenR;){if(He?He=!1:this.expect(J.comma),Se&&this.afterTrailingComma(J.parenR,!0)){Ut=!0;break}if(this.type===J.ellipsis){Pe=this.start,ct.push(this.parseParenItem(this.parseRestBinding())),this.type===J.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element");break}ct.push(this.parseMaybeAssign(!1,Vt,this.parseParenItem))}var vn=this.lastTokEnd,In=this.lastTokEndLoc;if(this.expect(J.parenR),T&&this.shouldParseArrow(ct)&&this.eat(J.arrow))return this.checkPatternErrors(Vt,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=yr,this.awaitPos=Fr,this.parseParenArrowList(Z,pe,ct,k);ct.length&&!Ut||this.unexpected(this.lastTokStart),Pe&&this.unexpected(Pe),this.checkExpressionErrors(Vt,!0),this.yieldPos=yr||this.yieldPos,this.awaitPos=Fr||this.awaitPos,ct.length>1?((K=this.startNodeAt(Le,Ge)).expressions=ct,this.finishNodeAt(K,"SequenceExpression",vn,In)):K=ct[0]}else K=this.parseParenExpression();if(this.options.preserveParens){var en=this.startNodeAt(Z,pe);return en.expression=K,this.finishNode(en,"ParenthesizedExpression")}return K},Lt.parseParenItem=function(T){return T},Lt.parseParenArrowList=function(T,k,K,Z){return this.parseArrowExpression(this.startNodeAt(T,k),K,!1,Z)};var ba=[];Lt.parseNew=function(){this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword new");var T=this.startNode(),k=this.parseIdent(!0);if(this.options.ecmaVersion>=6&&this.eat(J.dot)){T.meta=k;var K=this.containsEsc;return T.property=this.parseIdent(!0),T.property.name!=="target"&&this.raiseRecoverable(T.property.start,"The only valid meta property for new is 'new.target'"),K&&this.raiseRecoverable(T.start,"'new.target' must not contain escaped characters"),this.allowNewDotTarget||this.raiseRecoverable(T.start,"'new.target' can only be used in functions and class static block"),this.finishNode(T,"MetaProperty")}var Z=this.start,pe=this.startLoc;return T.callee=this.parseSubscripts(this.parseExprAtom(null,!1,!0),Z,pe,!0,!1),this.eat(J.parenL)?T.arguments=this.parseExprList(J.parenR,this.options.ecmaVersion>=8,!1):T.arguments=ba,this.finishNode(T,"NewExpression")},Lt.parseTemplateElement=function(T){var k=T.isTagged,K=this.startNode();return this.type===J.invalidTemplate?(k||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),K.value={raw:this.value,cooked:null}):K.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,`
|
|
`),cooked:this.value},this.next(),K.tail=this.type===J.backQuote,this.finishNode(K,"TemplateElement")},Lt.parseTemplate=function(T){T===void 0&&(T={});var k=T.isTagged;k===void 0&&(k=!1);var K=this.startNode();this.next(),K.expressions=[];var Z=this.parseTemplateElement({isTagged:k});for(K.quasis=[Z];!Z.tail;)this.type===J.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(J.dollarBraceL),K.expressions.push(this.parseExpression()),this.expect(J.braceR),K.quasis.push(Z=this.parseTemplateElement({isTagged:k}));return this.next(),this.finishNode(K,"TemplateLiteral")},Lt.isAsyncProp=function(T){return!T.computed&&T.key.type==="Identifier"&&T.key.name==="async"&&(this.type===J.name||this.type===J.num||this.type===J.string||this.type===J.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===J.star)&&!De.test(this.input.slice(this.lastTokEnd,this.start))},Lt.parseObj=function(T,k){var K=this.startNode(),Z=!0,pe={};for(K.properties=[],this.next();!this.eat(J.braceR);){if(Z)Z=!1;else if(this.expect(J.comma),this.options.ecmaVersion>=5&&this.afterTrailingComma(J.braceR))break;var Se=this.parseProperty(T,k);T||this.checkPropClash(Se,pe,k),K.properties.push(Se)}return this.finishNode(K,T?"ObjectPattern":"ObjectExpression")},Lt.parseProperty=function(T,k){var K,Z,pe,Se,Pe=this.startNode();if(this.options.ecmaVersion>=9&&this.eat(J.ellipsis))return T?(Pe.argument=this.parseIdent(!1),this.type===J.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element"),this.finishNode(Pe,"RestElement")):(Pe.argument=this.parseMaybeAssign(!1,k),this.type===J.comma&&k&&k.trailingComma<0&&(k.trailingComma=this.start),this.finishNode(Pe,"SpreadElement"));this.options.ecmaVersion>=6&&(Pe.method=!1,Pe.shorthand=!1,(T||k)&&(pe=this.start,Se=this.startLoc),T||(K=this.eat(J.star)));var Le=this.containsEsc;return this.parsePropertyName(Pe),!T&&!Le&&this.options.ecmaVersion>=8&&!K&&this.isAsyncProp(Pe)?(Z=!0,K=this.options.ecmaVersion>=9&&this.eat(J.star),this.parsePropertyName(Pe)):Z=!1,this.parsePropertyValue(Pe,T,K,Z,pe,Se,k,Le),this.finishNode(Pe,"Property")},Lt.parseGetterSetter=function(T){T.kind=T.key.name,this.parsePropertyName(T),T.value=this.parseMethod(!1);var k=T.kind==="get"?0:1;if(T.value.params.length!==k){var K=T.value.start;T.kind==="get"?this.raiseRecoverable(K,"getter should have no params"):this.raiseRecoverable(K,"setter should have exactly one param")}else T.kind==="set"&&T.value.params[0].type==="RestElement"&&this.raiseRecoverable(T.value.params[0].start,"Setter cannot use rest params")},Lt.parsePropertyValue=function(T,k,K,Z,pe,Se,Pe,Le){(K||Z)&&this.type===J.colon&&this.unexpected(),this.eat(J.colon)?(T.value=k?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,Pe),T.kind="init"):this.options.ecmaVersion>=6&&this.type===J.parenL?(k&&this.unexpected(),T.kind="init",T.method=!0,T.value=this.parseMethod(K,Z)):k||Le||!(this.options.ecmaVersion>=5)||T.computed||T.key.type!=="Identifier"||T.key.name!=="get"&&T.key.name!=="set"||this.type===J.comma||this.type===J.braceR||this.type===J.eq?this.options.ecmaVersion>=6&&!T.computed&&T.key.type==="Identifier"?((K||Z)&&this.unexpected(),this.checkUnreserved(T.key),T.key.name!=="await"||this.awaitIdentPos||(this.awaitIdentPos=pe),T.kind="init",k?T.value=this.parseMaybeDefault(pe,Se,this.copyNode(T.key)):this.type===J.eq&&Pe?(Pe.shorthandAssign<0&&(Pe.shorthandAssign=this.start),T.value=this.parseMaybeDefault(pe,Se,this.copyNode(T.key))):T.value=this.copyNode(T.key),T.shorthand=!0):this.unexpected():((K||Z)&&this.unexpected(),this.parseGetterSetter(T))},Lt.parsePropertyName=function(T){if(this.options.ecmaVersion>=6){if(this.eat(J.bracketL))return T.computed=!0,T.key=this.parseMaybeAssign(),this.expect(J.bracketR),T.key;T.computed=!1}return T.key=this.type===J.num||this.type===J.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never")},Lt.initFunction=function(T){T.id=null,this.options.ecmaVersion>=6&&(T.generator=T.expression=!1),this.options.ecmaVersion>=8&&(T.async=!1)},Lt.parseMethod=function(T,k,K){var Z=this.startNode(),pe=this.yieldPos,Se=this.awaitPos,Pe=this.awaitIdentPos;return this.initFunction(Z),this.options.ecmaVersion>=6&&(Z.generator=T),this.options.ecmaVersion>=8&&(Z.async=!!k),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(64|re(k,Z.generator)|(K?128:0)),this.expect(J.parenL),Z.params=this.parseBindingList(J.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(Z,!1,!0,!1),this.yieldPos=pe,this.awaitPos=Se,this.awaitIdentPos=Pe,this.finishNode(Z,"FunctionExpression")},Lt.parseArrowExpression=function(T,k,K,Z){var pe=this.yieldPos,Se=this.awaitPos,Pe=this.awaitIdentPos;return this.enterScope(16|re(K,!1)),this.initFunction(T),this.options.ecmaVersion>=8&&(T.async=!!K),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,T.params=this.toAssignableList(k,!0),this.parseFunctionBody(T,!0,!1,Z),this.yieldPos=pe,this.awaitPos=Se,this.awaitIdentPos=Pe,this.finishNode(T,"ArrowFunctionExpression")},Lt.parseFunctionBody=function(T,k,K,Z){var pe=k&&this.type!==J.braceL,Se=this.strict,Pe=!1;if(pe)T.body=this.parseMaybeAssign(Z),T.expression=!0,this.checkParams(T,!1);else{var Le=this.options.ecmaVersion>=7&&!this.isSimpleParamList(T.params);Se&&!Le||(Pe=this.strictDirective(this.end))&&Le&&this.raiseRecoverable(T.start,"Illegal 'use strict' directive in function with non-simple parameter list");var Ge=this.labels;this.labels=[],Pe&&(this.strict=!0),this.checkParams(T,!Se&&!Pe&&!k&&!K&&this.isSimpleParamList(T.params)),this.strict&&T.id&&this.checkLValSimple(T.id,5),T.body=this.parseBlock(!1,void 0,Pe&&!Se),T.expression=!1,this.adaptDirectivePrologue(T.body.body),this.labels=Ge}this.exitScope()},Lt.isSimpleParamList=function(T){for(var k=0,K=T;k<K.length;k+=1)if(K[k].type!=="Identifier")return!1;return!0},Lt.checkParams=function(T,k){for(var K=Object.create(null),Z=0,pe=T.params;Z<pe.length;Z+=1){var Se=pe[Z];this.checkLValInnerPattern(Se,1,k?null:K)}},Lt.parseExprList=function(T,k,K,Z){for(var pe=[],Se=!0;!this.eat(T);){if(Se)Se=!1;else if(this.expect(J.comma),k&&this.afterTrailingComma(T))break;var Pe=void 0;K&&this.type===J.comma?Pe=null:this.type===J.ellipsis?(Pe=this.parseSpread(Z),Z&&this.type===J.comma&&Z.trailingComma<0&&(Z.trailingComma=this.start)):Pe=this.parseMaybeAssign(!1,Z),pe.push(Pe)}return pe},Lt.checkUnreserved=function(T){var k=T.start,K=T.end,Z=T.name;this.inGenerator&&Z==="yield"&&this.raiseRecoverable(k,"Cannot use 'yield' as identifier inside a generator"),this.inAsync&&Z==="await"&&this.raiseRecoverable(k,"Cannot use 'await' as identifier inside an async function"),this.currentThisScope().inClassFieldInit&&Z==="arguments"&&this.raiseRecoverable(k,"Cannot use 'arguments' in class field initializer"),!this.inClassStaticBlock||Z!=="arguments"&&Z!=="await"||this.raise(k,"Cannot use "+Z+" in class static initialization block"),this.keywords.test(Z)&&this.raise(k,"Unexpected keyword '"+Z+"'"),this.options.ecmaVersion<6&&this.input.slice(k,K).indexOf("\\")!==-1||(this.strict?this.reservedWordsStrict:this.reservedWords).test(Z)&&(this.inAsync||Z!=="await"||this.raiseRecoverable(k,"Cannot use keyword 'await' outside an async function"),this.raiseRecoverable(k,"The keyword '"+Z+"' is reserved"))},Lt.parseIdent=function(T){var k=this.parseIdentNode();return this.next(!!T),this.finishNode(k,"Identifier"),T||(this.checkUnreserved(k),k.name!=="await"||this.awaitIdentPos||(this.awaitIdentPos=k.start)),k},Lt.parseIdentNode=function(){var T=this.startNode();return this.type===J.name?T.name=this.value:this.type.keyword?(T.name=this.type.keyword,T.name!=="class"&&T.name!=="function"||this.lastTokEnd===this.lastTokStart+1&&this.input.charCodeAt(this.lastTokStart)===46||this.context.pop()):this.unexpected(),T},Lt.parsePrivateIdent=function(){var T=this.startNode();return this.type===J.privateId?T.name=this.value:this.unexpected(),this.next(),this.finishNode(T,"PrivateIdentifier"),this.options.checkPrivateFields&&(this.privateNameStack.length===0?this.raise(T.start,"Private field '#"+T.name+"' must be declared in an enclosing class"):this.privateNameStack[this.privateNameStack.length-1].used.push(T)),T},Lt.parseYield=function(T){this.yieldPos||(this.yieldPos=this.start);var k=this.startNode();return this.next(),this.type===J.semi||this.canInsertSemicolon()||this.type!==J.star&&!this.type.startsExpr?(k.delegate=!1,k.argument=null):(k.delegate=this.eat(J.star),k.argument=this.parseMaybeAssign(T)),this.finishNode(k,"YieldExpression")},Lt.parseAwait=function(T){this.awaitPos||(this.awaitPos=this.start);var k=this.startNode();return this.next(),k.argument=this.parseMaybeUnary(null,!0,!1,T),this.finishNode(k,"AwaitExpression")};var Gi=ie.prototype;Gi.raise=function(T,k){var K=Ar(this.input,T);k+=" ("+K.line+":"+K.column+")";var Z=new SyntaxError(k);throw Z.pos=T,Z.loc=K,Z.raisedAt=this.pos,Z},Gi.raiseRecoverable=Gi.raise,Gi.curPosition=function(){if(this.options.locations)return new zt(this.curLine,this.pos-this.lineStart)};var xn=ie.prototype,ga=function(T){this.flags=T,this.var=[],this.lexical=[],this.functions=[],this.inClassFieldInit=!1};xn.enterScope=function(T){this.scopeStack.push(new ga(T))},xn.exitScope=function(){this.scopeStack.pop()},xn.treatFunctionsAsVarInScope=function(T){return 2&T.flags||!this.inModule&&1&T.flags},xn.declareName=function(T,k,K){var Z=!1;if(k===2){var pe=this.currentScope();Z=pe.lexical.indexOf(T)>-1||pe.functions.indexOf(T)>-1||pe.var.indexOf(T)>-1,pe.lexical.push(T),this.inModule&&1&pe.flags&&delete this.undefinedExports[T]}else if(k===4)this.currentScope().lexical.push(T);else if(k===3){var Se=this.currentScope();Z=this.treatFunctionsAsVar?Se.lexical.indexOf(T)>-1:Se.lexical.indexOf(T)>-1||Se.var.indexOf(T)>-1,Se.functions.push(T)}else for(var Pe=this.scopeStack.length-1;Pe>=0;--Pe){var Le=this.scopeStack[Pe];if(Le.lexical.indexOf(T)>-1&&!(32&Le.flags&&Le.lexical[0]===T)||!this.treatFunctionsAsVarInScope(Le)&&Le.functions.indexOf(T)>-1){Z=!0;break}if(Le.var.push(T),this.inModule&&1&Le.flags&&delete this.undefinedExports[T],259&Le.flags)break}Z&&this.raiseRecoverable(K,"Identifier '"+T+"' has already been declared")},xn.checkLocalExport=function(T){this.scopeStack[0].lexical.indexOf(T.name)===-1&&this.scopeStack[0].var.indexOf(T.name)===-1&&(this.undefinedExports[T.name]=T)},xn.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]},xn.currentVarScope=function(){for(var T=this.scopeStack.length-1;;T--){var k=this.scopeStack[T];if(259&k.flags)return k}},xn.currentThisScope=function(){for(var T=this.scopeStack.length-1;;T--){var k=this.scopeStack[T];if(259&k.flags&&!(16&k.flags))return k}};var Dn=function(T,k,K){this.type="",this.start=k,this.end=0,T.options.locations&&(this.loc=new Zt(T,K)),T.options.directSourceFile&&(this.sourceFile=T.options.directSourceFile),T.options.ranges&&(this.range=[k,0])},Ii=ie.prototype;function Ls(T,k,K,Z){return T.type=k,T.end=K,this.options.locations&&(T.loc.end=Z),this.options.ranges&&(T.range[1]=K),T}Ii.startNode=function(){return new Dn(this,this.start,this.startLoc)},Ii.startNodeAt=function(T,k){return new Dn(this,T,k)},Ii.finishNode=function(T,k){return Ls.call(this,T,k,this.lastTokEnd,this.lastTokEndLoc)},Ii.finishNodeAt=function(T,k,K,Z){return Ls.call(this,T,k,K,Z)},Ii.copyNode=function(T){var k=new Dn(this,T.start,this.startLoc);for(var K in T)k[K]=T[K];return k};var Ms="ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS",Hi=Ms+" Extended_Pictographic",Rs=Hi+" EBase EComp EMod EPres ExtPict",sl={9:Ms,10:Hi,11:Hi,12:Rs,13:Rs,14:Rs},Ga={9:"",10:"",11:"",12:"",13:"",14:"Basic_Emoji Emoji_Keycap_Sequence RGI_Emoji_Modifier_Sequence RGI_Emoji_Flag_Sequence RGI_Emoji_Tag_Sequence RGI_Emoji_ZWJ_Sequence RGI_Emoji"},Ha="Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu",hs="Adlam Adlm Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb",Xa=hs+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd",ms=Xa+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho",ys=ms+" Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi",Bs=ys+" Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith",ni={9:hs,10:Xa,11:ms,12:ys,13:Bs,14:Bs+" Hrkt Katakana_Or_Hiragana Kawi Nag_Mundari Nagm Unknown Zzzz"},Ja={};function al(T){var k=Ja[T]={binary:et(sl[T]+" "+Ha),binaryOfStrings:et(Ga[T]),nonBinary:{General_Category:et(Ha),Script:et(ni[T])}};k.nonBinary.Script_Extensions=k.nonBinary.Script,k.nonBinary.gc=k.nonBinary.General_Category,k.nonBinary.sc=k.nonBinary.Script,k.nonBinary.scx=k.nonBinary.Script_Extensions}for(var va=0,Mt=[9,10,11,12,13,14];va<Mt.length;va+=1)al(Mt[va]);var xt=ie.prototype,bi=function(T){this.parser=T,this.validFlags="gim"+(T.options.ecmaVersion>=6?"uy":"")+(T.options.ecmaVersion>=9?"s":"")+(T.options.ecmaVersion>=13?"d":"")+(T.options.ecmaVersion>=15?"v":""),this.unicodeProperties=Ja[T.options.ecmaVersion>=14?14:T.options.ecmaVersion],this.source="",this.flags="",this.start=0,this.switchU=!1,this.switchV=!1,this.switchN=!1,this.pos=0,this.lastIntValue=0,this.lastStringValue="",this.lastAssertionIsQuantifiable=!1,this.numCapturingParens=0,this.maxBackReference=0,this.groupNames=[],this.backReferenceNames=[]};function bc(T){return T===36||T>=40&&T<=43||T===46||T===63||T>=91&&T<=94||T>=123&&T<=125}function gc(T){return T>=65&&T<=90||T>=97&&T<=122}bi.prototype.reset=function(T,k,K){var Z=K.indexOf("v")!==-1,pe=K.indexOf("u")!==-1;this.start=0|T,this.source=k+"",this.flags=K,Z&&this.parser.options.ecmaVersion>=15?(this.switchU=!0,this.switchV=!0,this.switchN=!0):(this.switchU=pe&&this.parser.options.ecmaVersion>=6,this.switchV=!1,this.switchN=pe&&this.parser.options.ecmaVersion>=9)},bi.prototype.raise=function(T){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+T)},bi.prototype.at=function(T,k){k===void 0&&(k=!1);var K=this.source,Z=K.length;if(T>=Z)return-1;var pe=K.charCodeAt(T);if(!k&&!this.switchU||pe<=55295||pe>=57344||T+1>=Z)return pe;var Se=K.charCodeAt(T+1);return Se>=56320&&Se<=57343?(pe<<10)+Se-56613888:pe},bi.prototype.nextIndex=function(T,k){k===void 0&&(k=!1);var K=this.source,Z=K.length;if(T>=Z)return Z;var pe,Se=K.charCodeAt(T);return!k&&!this.switchU||Se<=55295||Se>=57344||T+1>=Z||(pe=K.charCodeAt(T+1))<56320||pe>57343?T+1:T+2},bi.prototype.current=function(T){return T===void 0&&(T=!1),this.at(this.pos,T)},bi.prototype.lookahead=function(T){return T===void 0&&(T=!1),this.at(this.nextIndex(this.pos,T),T)},bi.prototype.advance=function(T){T===void 0&&(T=!1),this.pos=this.nextIndex(this.pos,T)},bi.prototype.eat=function(T,k){return k===void 0&&(k=!1),this.current(k)===T&&(this.advance(k),!0)},bi.prototype.eatChars=function(T,k){k===void 0&&(k=!1);for(var K=this.pos,Z=0,pe=T;Z<pe.length;Z+=1){var Se=pe[Z],Pe=this.at(K,k);if(Pe===-1||Pe!==Se)return!1;K=this.nextIndex(K,k)}return this.pos=K,!0},xt.validateRegExpFlags=function(T){for(var k=T.validFlags,K=T.flags,Z=!1,pe=!1,Se=0;Se<K.length;Se++){var Pe=K.charAt(Se);k.indexOf(Pe)===-1&&this.raise(T.start,"Invalid regular expression flag"),K.indexOf(Pe,Se+1)>-1&&this.raise(T.start,"Duplicate regular expression flag"),Pe==="u"&&(Z=!0),Pe==="v"&&(pe=!0)}this.options.ecmaVersion>=15&&Z&&pe&&this.raise(T.start,"Invalid regular expression flag")},xt.validateRegExpPattern=function(T){this.regexp_pattern(T),!T.switchN&&this.options.ecmaVersion>=9&&T.groupNames.length>0&&(T.switchN=!0,this.regexp_pattern(T))},xt.regexp_pattern=function(T){T.pos=0,T.lastIntValue=0,T.lastStringValue="",T.lastAssertionIsQuantifiable=!1,T.numCapturingParens=0,T.maxBackReference=0,T.groupNames.length=0,T.backReferenceNames.length=0,this.regexp_disjunction(T),T.pos!==T.source.length&&(T.eat(41)&&T.raise("Unmatched ')'"),(T.eat(93)||T.eat(125))&&T.raise("Lone quantifier brackets")),T.maxBackReference>T.numCapturingParens&&T.raise("Invalid escape");for(var k=0,K=T.backReferenceNames;k<K.length;k+=1){var Z=K[k];T.groupNames.indexOf(Z)===-1&&T.raise("Invalid named capture referenced")}},xt.regexp_disjunction=function(T){for(this.regexp_alternative(T);T.eat(124);)this.regexp_alternative(T);this.regexp_eatQuantifier(T,!0)&&T.raise("Nothing to repeat"),T.eat(123)&&T.raise("Lone quantifier brackets")},xt.regexp_alternative=function(T){for(;T.pos<T.source.length&&this.regexp_eatTerm(T););},xt.regexp_eatTerm=function(T){return this.regexp_eatAssertion(T)?(T.lastAssertionIsQuantifiable&&this.regexp_eatQuantifier(T)&&T.switchU&&T.raise("Invalid quantifier"),!0):!!(T.switchU?this.regexp_eatAtom(T):this.regexp_eatExtendedAtom(T))&&(this.regexp_eatQuantifier(T),!0)},xt.regexp_eatAssertion=function(T){var k=T.pos;if(T.lastAssertionIsQuantifiable=!1,T.eat(94)||T.eat(36))return!0;if(T.eat(92)){if(T.eat(66)||T.eat(98))return!0;T.pos=k}if(T.eat(40)&&T.eat(63)){var K=!1;if(this.options.ecmaVersion>=9&&(K=T.eat(60)),T.eat(61)||T.eat(33))return this.regexp_disjunction(T),T.eat(41)||T.raise("Unterminated group"),T.lastAssertionIsQuantifiable=!K,!0}return T.pos=k,!1},xt.regexp_eatQuantifier=function(T,k){return k===void 0&&(k=!1),!!this.regexp_eatQuantifierPrefix(T,k)&&(T.eat(63),!0)},xt.regexp_eatQuantifierPrefix=function(T,k){return T.eat(42)||T.eat(43)||T.eat(63)||this.regexp_eatBracedQuantifier(T,k)},xt.regexp_eatBracedQuantifier=function(T,k){var K=T.pos;if(T.eat(123)){var Z=0,pe=-1;if(this.regexp_eatDecimalDigits(T)&&(Z=T.lastIntValue,T.eat(44)&&this.regexp_eatDecimalDigits(T)&&(pe=T.lastIntValue),T.eat(125)))return pe!==-1&&pe<Z&&!k&&T.raise("numbers out of order in {} quantifier"),!0;T.switchU&&!k&&T.raise("Incomplete quantifier"),T.pos=K}return!1},xt.regexp_eatAtom=function(T){return this.regexp_eatPatternCharacters(T)||T.eat(46)||this.regexp_eatReverseSolidusAtomEscape(T)||this.regexp_eatCharacterClass(T)||this.regexp_eatUncapturingGroup(T)||this.regexp_eatCapturingGroup(T)},xt.regexp_eatReverseSolidusAtomEscape=function(T){var k=T.pos;if(T.eat(92)){if(this.regexp_eatAtomEscape(T))return!0;T.pos=k}return!1},xt.regexp_eatUncapturingGroup=function(T){var k=T.pos;if(T.eat(40)){if(T.eat(63)&&T.eat(58)){if(this.regexp_disjunction(T),T.eat(41))return!0;T.raise("Unterminated group")}T.pos=k}return!1},xt.regexp_eatCapturingGroup=function(T){if(T.eat(40)){if(this.options.ecmaVersion>=9?this.regexp_groupSpecifier(T):T.current()===63&&T.raise("Invalid group"),this.regexp_disjunction(T),T.eat(41))return T.numCapturingParens+=1,!0;T.raise("Unterminated group")}return!1},xt.regexp_eatExtendedAtom=function(T){return T.eat(46)||this.regexp_eatReverseSolidusAtomEscape(T)||this.regexp_eatCharacterClass(T)||this.regexp_eatUncapturingGroup(T)||this.regexp_eatCapturingGroup(T)||this.regexp_eatInvalidBracedQuantifier(T)||this.regexp_eatExtendedPatternCharacter(T)},xt.regexp_eatInvalidBracedQuantifier=function(T){return this.regexp_eatBracedQuantifier(T,!0)&&T.raise("Nothing to repeat"),!1},xt.regexp_eatSyntaxCharacter=function(T){var k=T.current();return!!bc(k)&&(T.lastIntValue=k,T.advance(),!0)},xt.regexp_eatPatternCharacters=function(T){for(var k=T.pos,K=0;(K=T.current())!==-1&&!bc(K);)T.advance();return T.pos!==k},xt.regexp_eatExtendedPatternCharacter=function(T){var k=T.current();return!(k===-1||k===36||k>=40&&k<=43||k===46||k===63||k===91||k===94||k===124)&&(T.advance(),!0)},xt.regexp_groupSpecifier=function(T){if(T.eat(63)){if(this.regexp_eatGroupName(T))return T.groupNames.indexOf(T.lastStringValue)!==-1&&T.raise("Duplicate capture group name"),void T.groupNames.push(T.lastStringValue);T.raise("Invalid group")}},xt.regexp_eatGroupName=function(T){if(T.lastStringValue="",T.eat(60)){if(this.regexp_eatRegExpIdentifierName(T)&&T.eat(62))return!0;T.raise("Invalid capture group name")}return!1},xt.regexp_eatRegExpIdentifierName=function(T){if(T.lastStringValue="",this.regexp_eatRegExpIdentifierStart(T)){for(T.lastStringValue+=ut(T.lastIntValue);this.regexp_eatRegExpIdentifierPart(T);)T.lastStringValue+=ut(T.lastIntValue);return!0}return!1},xt.regexp_eatRegExpIdentifierStart=function(T){var k=T.pos,K=this.options.ecmaVersion>=11,Z=T.current(K);return T.advance(K),Z===92&&this.regexp_eatRegExpUnicodeEscapeSequence(T,K)&&(Z=T.lastIntValue),function(pe){return Oe(pe,!0)||pe===36||pe===95}(Z)?(T.lastIntValue=Z,!0):(T.pos=k,!1)},xt.regexp_eatRegExpIdentifierPart=function(T){var k=T.pos,K=this.options.ecmaVersion>=11,Z=T.current(K);return T.advance(K),Z===92&&this.regexp_eatRegExpUnicodeEscapeSequence(T,K)&&(Z=T.lastIntValue),function(pe){return Me(pe,!0)||pe===36||pe===95||pe===8204||pe===8205}(Z)?(T.lastIntValue=Z,!0):(T.pos=k,!1)},xt.regexp_eatAtomEscape=function(T){return!!(this.regexp_eatBackReference(T)||this.regexp_eatCharacterClassEscape(T)||this.regexp_eatCharacterEscape(T)||T.switchN&&this.regexp_eatKGroupName(T))||(T.switchU&&(T.current()===99&&T.raise("Invalid unicode escape"),T.raise("Invalid escape")),!1)},xt.regexp_eatBackReference=function(T){var k=T.pos;if(this.regexp_eatDecimalEscape(T)){var K=T.lastIntValue;if(T.switchU)return K>T.maxBackReference&&(T.maxBackReference=K),!0;if(K<=T.numCapturingParens)return!0;T.pos=k}return!1},xt.regexp_eatKGroupName=function(T){if(T.eat(107)){if(this.regexp_eatGroupName(T))return T.backReferenceNames.push(T.lastStringValue),!0;T.raise("Invalid named reference")}return!1},xt.regexp_eatCharacterEscape=function(T){return this.regexp_eatControlEscape(T)||this.regexp_eatCControlLetter(T)||this.regexp_eatZero(T)||this.regexp_eatHexEscapeSequence(T)||this.regexp_eatRegExpUnicodeEscapeSequence(T,!1)||!T.switchU&&this.regexp_eatLegacyOctalEscapeSequence(T)||this.regexp_eatIdentityEscape(T)},xt.regexp_eatCControlLetter=function(T){var k=T.pos;if(T.eat(99)){if(this.regexp_eatControlLetter(T))return!0;T.pos=k}return!1},xt.regexp_eatZero=function(T){return T.current()===48&&!Oi(T.lookahead())&&(T.lastIntValue=0,T.advance(),!0)},xt.regexp_eatControlEscape=function(T){var k=T.current();return k===116?(T.lastIntValue=9,T.advance(),!0):k===110?(T.lastIntValue=10,T.advance(),!0):k===118?(T.lastIntValue=11,T.advance(),!0):k===102?(T.lastIntValue=12,T.advance(),!0):k===114&&(T.lastIntValue=13,T.advance(),!0)},xt.regexp_eatControlLetter=function(T){var k=T.current();return!!gc(k)&&(T.lastIntValue=k%32,T.advance(),!0)},xt.regexp_eatRegExpUnicodeEscapeSequence=function(T,k){k===void 0&&(k=!1);var K,Z=T.pos,pe=k||T.switchU;if(T.eat(117)){if(this.regexp_eatFixedHexDigits(T,4)){var Se=T.lastIntValue;if(pe&&Se>=55296&&Se<=56319){var Pe=T.pos;if(T.eat(92)&&T.eat(117)&&this.regexp_eatFixedHexDigits(T,4)){var Le=T.lastIntValue;if(Le>=56320&&Le<=57343)return T.lastIntValue=1024*(Se-55296)+(Le-56320)+65536,!0}T.pos=Pe,T.lastIntValue=Se}return!0}if(pe&&T.eat(123)&&this.regexp_eatHexDigits(T)&&T.eat(125)&&(K=T.lastIntValue)>=0&&K<=1114111)return!0;pe&&T.raise("Invalid unicode escape"),T.pos=Z}return!1},xt.regexp_eatIdentityEscape=function(T){if(T.switchU)return!!this.regexp_eatSyntaxCharacter(T)||!!T.eat(47)&&(T.lastIntValue=47,!0);var k=T.current();return!(k===99||T.switchN&&k===107)&&(T.lastIntValue=k,T.advance(),!0)},xt.regexp_eatDecimalEscape=function(T){T.lastIntValue=0;var k=T.current();if(k>=49&&k<=57){do T.lastIntValue=10*T.lastIntValue+(k-48),T.advance();while((k=T.current())>=48&&k<=57);return!0}return!1};function Xi(T){return gc(T)||T===95}function Ji(T){return Xi(T)||Oi(T)}function Oi(T){return T>=48&&T<=57}function vc(T){return T>=48&&T<=57||T>=65&&T<=70||T>=97&&T<=102}function Tc(T){return T>=65&&T<=70?T-65+10:T>=97&&T<=102?T-97+10:T-48}function ol(T){return T>=48&&T<=55}xt.regexp_eatCharacterClassEscape=function(T){var k=T.current();if(function(pe){return pe===100||pe===68||pe===115||pe===83||pe===119||pe===87}(k))return T.lastIntValue=-1,T.advance(),1;var K=!1;if(T.switchU&&this.options.ecmaVersion>=9&&((K=k===80)||k===112)){var Z;if(T.lastIntValue=-1,T.advance(),T.eat(123)&&(Z=this.regexp_eatUnicodePropertyValueExpression(T))&&T.eat(125))return K&&Z===2&&T.raise("Invalid property name"),Z;T.raise("Invalid property name")}return 0},xt.regexp_eatUnicodePropertyValueExpression=function(T){var k=T.pos;if(this.regexp_eatUnicodePropertyName(T)&&T.eat(61)){var K=T.lastStringValue;if(this.regexp_eatUnicodePropertyValue(T)){var Z=T.lastStringValue;return this.regexp_validateUnicodePropertyNameAndValue(T,K,Z),1}}if(T.pos=k,this.regexp_eatLoneUnicodePropertyNameOrValue(T)){var pe=T.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(T,pe)}return 0},xt.regexp_validateUnicodePropertyNameAndValue=function(T,k,K){he(T.unicodeProperties.nonBinary,k)||T.raise("Invalid property name"),T.unicodeProperties.nonBinary[k].test(K)||T.raise("Invalid property value")},xt.regexp_validateUnicodePropertyNameOrValue=function(T,k){return T.unicodeProperties.binary.test(k)?1:T.switchV&&T.unicodeProperties.binaryOfStrings.test(k)?2:void T.raise("Invalid property name")},xt.regexp_eatUnicodePropertyName=function(T){var k=0;for(T.lastStringValue="";Xi(k=T.current());)T.lastStringValue+=ut(k),T.advance();return T.lastStringValue!==""},xt.regexp_eatUnicodePropertyValue=function(T){var k=0;for(T.lastStringValue="";Ji(k=T.current());)T.lastStringValue+=ut(k),T.advance();return T.lastStringValue!==""},xt.regexp_eatLoneUnicodePropertyNameOrValue=function(T){return this.regexp_eatUnicodePropertyValue(T)},xt.regexp_eatCharacterClass=function(T){if(T.eat(91)){var k=T.eat(94),K=this.regexp_classContents(T);return T.eat(93)||T.raise("Unterminated character class"),k&&K===2&&T.raise("Negated character class may contain strings"),!0}return!1},xt.regexp_classContents=function(T){return T.current()===93?1:T.switchV?this.regexp_classSetExpression(T):(this.regexp_nonEmptyClassRanges(T),1)},xt.regexp_nonEmptyClassRanges=function(T){for(;this.regexp_eatClassAtom(T);){var k=T.lastIntValue;if(T.eat(45)&&this.regexp_eatClassAtom(T)){var K=T.lastIntValue;!T.switchU||k!==-1&&K!==-1||T.raise("Invalid character class"),k!==-1&&K!==-1&&k>K&&T.raise("Range out of order in character class")}}},xt.regexp_eatClassAtom=function(T){var k=T.pos;if(T.eat(92)){if(this.regexp_eatClassEscape(T))return!0;if(T.switchU){var K=T.current();(K===99||ol(K))&&T.raise("Invalid class escape"),T.raise("Invalid escape")}T.pos=k}var Z=T.current();return Z!==93&&(T.lastIntValue=Z,T.advance(),!0)},xt.regexp_eatClassEscape=function(T){var k=T.pos;if(T.eat(98))return T.lastIntValue=8,!0;if(T.switchU&&T.eat(45))return T.lastIntValue=45,!0;if(!T.switchU&&T.eat(99)){if(this.regexp_eatClassControlLetter(T))return!0;T.pos=k}return this.regexp_eatCharacterClassEscape(T)||this.regexp_eatCharacterEscape(T)},xt.regexp_classSetExpression=function(T){var k,K=1;if(!this.regexp_eatClassSetRange(T))if(k=this.regexp_eatClassSetOperand(T)){k===2&&(K=2);for(var Z=T.pos;T.eatChars([38,38]);)T.current()!==38&&(k=this.regexp_eatClassSetOperand(T))?k!==2&&(K=1):T.raise("Invalid character in character class");if(Z!==T.pos)return K;for(;T.eatChars([45,45]);)this.regexp_eatClassSetOperand(T)||T.raise("Invalid character in character class");if(Z!==T.pos)return K}else T.raise("Invalid character in character class");for(;;)if(!this.regexp_eatClassSetRange(T)){if(!(k=this.regexp_eatClassSetOperand(T)))return K;k===2&&(K=2)}},xt.regexp_eatClassSetRange=function(T){var k=T.pos;if(this.regexp_eatClassSetCharacter(T)){var K=T.lastIntValue;if(T.eat(45)&&this.regexp_eatClassSetCharacter(T)){var Z=T.lastIntValue;return K!==-1&&Z!==-1&&K>Z&&T.raise("Range out of order in character class"),!0}T.pos=k}return!1},xt.regexp_eatClassSetOperand=function(T){return this.regexp_eatClassSetCharacter(T)?1:this.regexp_eatClassStringDisjunction(T)||this.regexp_eatNestedClass(T)},xt.regexp_eatNestedClass=function(T){var k=T.pos;if(T.eat(91)){var K=T.eat(94),Z=this.regexp_classContents(T);if(T.eat(93))return K&&Z===2&&T.raise("Negated character class may contain strings"),Z;T.pos=k}if(T.eat(92)){var pe=this.regexp_eatCharacterClassEscape(T);if(pe)return pe;T.pos=k}return null},xt.regexp_eatClassStringDisjunction=function(T){var k=T.pos;if(T.eatChars([92,113])){if(T.eat(123)){var K=this.regexp_classStringDisjunctionContents(T);if(T.eat(125))return K}else T.raise("Invalid escape");T.pos=k}return null},xt.regexp_classStringDisjunctionContents=function(T){for(var k=this.regexp_classString(T);T.eat(124);)this.regexp_classString(T)===2&&(k=2);return k},xt.regexp_classString=function(T){for(var k=0;this.regexp_eatClassSetCharacter(T);)k++;return k===1?1:2},xt.regexp_eatClassSetCharacter=function(T){var k=T.pos;if(T.eat(92))return!(!this.regexp_eatCharacterEscape(T)&&!this.regexp_eatClassSetReservedPunctuator(T))||(T.eat(98)?(T.lastIntValue=8,!0):(T.pos=k,!1));var K=T.current();return!(K<0||K===T.lookahead()&&function(Z){return Z===33||Z>=35&&Z<=38||Z>=42&&Z<=44||Z===46||Z>=58&&Z<=64||Z===94||Z===96||Z===126}(K))&&!function(Z){return Z===40||Z===41||Z===45||Z===47||Z>=91&&Z<=93||Z>=123&&Z<=125}(K)&&(T.advance(),T.lastIntValue=K,!0)},xt.regexp_eatClassSetReservedPunctuator=function(T){var k=T.current();return!!function(K){return K===33||K===35||K===37||K===38||K===44||K===45||K>=58&&K<=62||K===64||K===96||K===126}(k)&&(T.lastIntValue=k,T.advance(),!0)},xt.regexp_eatClassControlLetter=function(T){var k=T.current();return!(!Oi(k)&&k!==95)&&(T.lastIntValue=k%32,T.advance(),!0)},xt.regexp_eatHexEscapeSequence=function(T){var k=T.pos;if(T.eat(120)){if(this.regexp_eatFixedHexDigits(T,2))return!0;T.switchU&&T.raise("Invalid escape"),T.pos=k}return!1},xt.regexp_eatDecimalDigits=function(T){var k=T.pos,K=0;for(T.lastIntValue=0;Oi(K=T.current());)T.lastIntValue=10*T.lastIntValue+(K-48),T.advance();return T.pos!==k},xt.regexp_eatHexDigits=function(T){var k=T.pos,K=0;for(T.lastIntValue=0;vc(K=T.current());)T.lastIntValue=16*T.lastIntValue+Tc(K),T.advance();return T.pos!==k},xt.regexp_eatLegacyOctalEscapeSequence=function(T){if(this.regexp_eatOctalDigit(T)){var k=T.lastIntValue;if(this.regexp_eatOctalDigit(T)){var K=T.lastIntValue;k<=3&&this.regexp_eatOctalDigit(T)?T.lastIntValue=64*k+8*K+T.lastIntValue:T.lastIntValue=8*k+K}else T.lastIntValue=k;return!0}return!1},xt.regexp_eatOctalDigit=function(T){var k=T.current();return ol(k)?(T.lastIntValue=k-48,T.advance(),!0):(T.lastIntValue=0,!1)},xt.regexp_eatFixedHexDigits=function(T,k){var K=T.pos;T.lastIntValue=0;for(var Z=0;Z<k;++Z){var pe=T.current();if(!vc(pe))return T.pos=K,!1;T.lastIntValue=16*T.lastIntValue+Tc(pe),T.advance()}return!0};var ll=function(T){this.type=T.type,this.value=T.value,this.start=T.start,this.end=T.end,T.options.locations&&(this.loc=new Zt(T,T.startLoc,T.endLoc)),T.options.ranges&&(this.range=[T.start,T.end])},rr=ie.prototype;function _t(T){return typeof BigInt!="function"?null:BigInt(T.replace(/_/g,""))}rr.next=function(T){!T&&this.type.keyword&&this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword "+this.type.keyword),this.options.onToken&&this.options.onToken(new ll(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()},rr.getToken=function(){return this.next(),new ll(this)},typeof Symbol<"u"&&(rr[Symbol.iterator]=function(){var T=this;return{next:function(){var k=T.getToken();return{done:k.type===J.eof,value:k}}}}),rr.nextToken=function(){var T=this.curContext();return T&&T.preserveSpace||this.skipSpace(),this.start=this.pos,this.options.locations&&(this.startLoc=this.curPosition()),this.pos>=this.input.length?this.finishToken(J.eof):T.override?T.override(this):void this.readToken(this.fullCharCodeAtPos())},rr.readToken=function(T){return Oe(T,this.options.ecmaVersion>=6)||T===92?this.readWord():this.getTokenFromCode(T)},rr.fullCharCodeAtPos=function(){var T=this.input.charCodeAt(this.pos);if(T<=55295||T>=56320)return T;var k=this.input.charCodeAt(this.pos+1);return k<=56319||k>=57344?T:(T<<10)+k-56613888},rr.skipBlockComment=function(){var T=this.options.onComment&&this.curPosition(),k=this.pos,K=this.input.indexOf("*/",this.pos+=2);if(K===-1&&this.raise(this.pos-2,"Unterminated comment"),this.pos=K+2,this.options.locations)for(var Z=void 0,pe=k;(Z=Qe(this.input,pe,this.pos))>-1;)++this.curLine,pe=this.lineStart=Z;this.options.onComment&&this.options.onComment(!0,this.input.slice(k+2,K),k,this.pos,T,this.curPosition())},rr.skipLineComment=function(T){for(var k=this.pos,K=this.options.onComment&&this.curPosition(),Z=this.input.charCodeAt(this.pos+=T);this.pos<this.input.length&&!ke(Z);)Z=this.input.charCodeAt(++this.pos);this.options.onComment&&this.options.onComment(!1,this.input.slice(k+T,this.pos),k,this.pos,K,this.curPosition())},rr.skipSpace=function(){e:for(;this.pos<this.input.length;){var T=this.input.charCodeAt(this.pos);switch(T){case 32:case 160:++this.pos;break;case 13:this.input.charCodeAt(this.pos+1)===10&&++this.pos;case 10:case 8232:case 8233:++this.pos,this.options.locations&&(++this.curLine,this.lineStart=this.pos);break;case 47:switch(this.input.charCodeAt(this.pos+1)){case 42:this.skipBlockComment();break;case 47:this.skipLineComment(2);break;default:break e}break;default:if(!(T>8&&T<14||T>=5760&&pt.test(String.fromCharCode(T))))break e;++this.pos}}},rr.finishToken=function(T,k){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var K=this.type;this.type=T,this.value=k,this.updateContext(K)},rr.readToken_dot=function(){var T=this.input.charCodeAt(this.pos+1);if(T>=48&&T<=57)return this.readNumber(!0);var k=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&T===46&&k===46?(this.pos+=3,this.finishToken(J.ellipsis)):(++this.pos,this.finishToken(J.dot))},rr.readToken_slash=function(){var T=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):T===61?this.finishOp(J.assign,2):this.finishOp(J.slash,1)},rr.readToken_mult_modulo_exp=function(T){var k=this.input.charCodeAt(this.pos+1),K=1,Z=T===42?J.star:J.modulo;return this.options.ecmaVersion>=7&&T===42&&k===42&&(++K,Z=J.starstar,k=this.input.charCodeAt(this.pos+2)),k===61?this.finishOp(J.assign,K+1):this.finishOp(Z,K)},rr.readToken_pipe_amp=function(T){var k=this.input.charCodeAt(this.pos+1);return k===T?this.options.ecmaVersion>=12&&this.input.charCodeAt(this.pos+2)===61?this.finishOp(J.assign,3):this.finishOp(T===124?J.logicalOR:J.logicalAND,2):k===61?this.finishOp(J.assign,2):this.finishOp(T===124?J.bitwiseOR:J.bitwiseAND,1)},rr.readToken_caret=function(){return this.input.charCodeAt(this.pos+1)===61?this.finishOp(J.assign,2):this.finishOp(J.bitwiseXOR,1)},rr.readToken_plus_min=function(T){var k=this.input.charCodeAt(this.pos+1);return k===T?k!==45||this.inModule||this.input.charCodeAt(this.pos+2)!==62||this.lastTokEnd!==0&&!De.test(this.input.slice(this.lastTokEnd,this.pos))?this.finishOp(J.incDec,2):(this.skipLineComment(3),this.skipSpace(),this.nextToken()):k===61?this.finishOp(J.assign,2):this.finishOp(J.plusMin,1)},rr.readToken_lt_gt=function(T){var k=this.input.charCodeAt(this.pos+1),K=1;return k===T?(K=T===62&&this.input.charCodeAt(this.pos+2)===62?3:2,this.input.charCodeAt(this.pos+K)===61?this.finishOp(J.assign,K+1):this.finishOp(J.bitShift,K)):k!==33||T!==60||this.inModule||this.input.charCodeAt(this.pos+2)!==45||this.input.charCodeAt(this.pos+3)!==45?(k===61&&(K=2),this.finishOp(J.relational,K)):(this.skipLineComment(4),this.skipSpace(),this.nextToken())},rr.readToken_eq_excl=function(T){var k=this.input.charCodeAt(this.pos+1);return k===61?this.finishOp(J.equality,this.input.charCodeAt(this.pos+2)===61?3:2):T===61&&k===62&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(J.arrow)):this.finishOp(T===61?J.eq:J.prefix,1)},rr.readToken_question=function(){var T=this.options.ecmaVersion;if(T>=11){var k=this.input.charCodeAt(this.pos+1);if(k===46){var K=this.input.charCodeAt(this.pos+2);if(K<48||K>57)return this.finishOp(J.questionDot,2)}if(k===63)return T>=12&&this.input.charCodeAt(this.pos+2)===61?this.finishOp(J.assign,3):this.finishOp(J.coalesce,2)}return this.finishOp(J.question,1)},rr.readToken_numberSign=function(){var T=35;if(this.options.ecmaVersion>=13&&(++this.pos,Oe(T=this.fullCharCodeAtPos(),!0)||T===92))return this.finishToken(J.privateId,this.readWord1());this.raise(this.pos,"Unexpected character '"+ut(T)+"'")},rr.getTokenFromCode=function(T){switch(T){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(J.parenL);case 41:return++this.pos,this.finishToken(J.parenR);case 59:return++this.pos,this.finishToken(J.semi);case 44:return++this.pos,this.finishToken(J.comma);case 91:return++this.pos,this.finishToken(J.bracketL);case 93:return++this.pos,this.finishToken(J.bracketR);case 123:return++this.pos,this.finishToken(J.braceL);case 125:return++this.pos,this.finishToken(J.braceR);case 58:return++this.pos,this.finishToken(J.colon);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(J.backQuote);case 48:var k=this.input.charCodeAt(this.pos+1);if(k===120||k===88)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(k===111||k===79)return this.readRadixNumber(8);if(k===98||k===66)return this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(!1);case 34:case 39:return this.readString(T);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(T);case 124:case 38:return this.readToken_pipe_amp(T);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(T);case 60:case 62:return this.readToken_lt_gt(T);case 61:case 33:return this.readToken_eq_excl(T);case 63:return this.readToken_question();case 126:return this.finishOp(J.prefix,1);case 35:return this.readToken_numberSign()}this.raise(this.pos,"Unexpected character '"+ut(T)+"'")},rr.finishOp=function(T,k){var K=this.input.slice(this.pos,this.pos+k);return this.pos+=k,this.finishToken(T,K)},rr.readRegexp=function(){for(var T,k,K=this.pos;;){this.pos>=this.input.length&&this.raise(K,"Unterminated regular expression");var Z=this.input.charAt(this.pos);if(De.test(Z)&&this.raise(K,"Unterminated regular expression"),T)T=!1;else{if(Z==="[")k=!0;else if(Z==="]"&&k)k=!1;else if(Z==="/"&&!k)break;T=Z==="\\"}++this.pos}var pe=this.input.slice(K,this.pos);++this.pos;var Se=this.pos,Pe=this.readWord1();this.containsEsc&&this.unexpected(Se);var Le=this.regexpState||(this.regexpState=new bi(this));Le.reset(K,pe,Pe),this.validateRegExpFlags(Le),this.validateRegExpPattern(Le);var Ge=null;try{Ge=new RegExp(pe,Pe)}catch{}return this.finishToken(J.regexp,{pattern:pe,flags:Pe,value:Ge})},rr.readInt=function(T,k,K){for(var Z=this.options.ecmaVersion>=12&&k===void 0,pe=K&&this.input.charCodeAt(this.pos)===48,Se=this.pos,Pe=0,Le=0,Ge=0,ct=k??1/0;Ge<ct;++Ge,++this.pos){var He=this.input.charCodeAt(this.pos),Ut=void 0;if(Z&&He===95)pe&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed in legacy octal numeric literals"),Le===95&&this.raiseRecoverable(this.pos,"Numeric separator must be exactly one underscore"),Ge===0&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed at the first of digits"),Le=He;else{if((Ut=He>=97?He-97+10:He>=65?He-65+10:He>=48&&He<=57?He-48:1/0)>=T)break;Le=He,Pe=Pe*T+Ut}}return Z&&Le===95&&this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits"),this.pos===Se||k!=null&&this.pos-Se!==k?null:Pe},rr.readRadixNumber=function(T){var k=this.pos;this.pos+=2;var K=this.readInt(T);return K==null&&this.raise(this.start+2,"Expected number in radix "+T),this.options.ecmaVersion>=11&&this.input.charCodeAt(this.pos)===110?(K=_t(this.input.slice(k,this.pos)),++this.pos):Oe(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(J.num,K)},rr.readNumber=function(T){var k=this.pos;T||this.readInt(10,void 0,!0)!==null||this.raise(k,"Invalid number");var K=this.pos-k>=2&&this.input.charCodeAt(k)===48;K&&this.strict&&this.raise(k,"Invalid number");var Z=this.input.charCodeAt(this.pos);if(!K&&!T&&this.options.ecmaVersion>=11&&Z===110){var pe=_t(this.input.slice(k,this.pos));return++this.pos,Oe(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(J.num,pe)}K&&/[89]/.test(this.input.slice(k,this.pos))&&(K=!1),Z!==46||K||(++this.pos,this.readInt(10),Z=this.input.charCodeAt(this.pos)),Z!==69&&Z!==101||K||((Z=this.input.charCodeAt(++this.pos))!==43&&Z!==45||++this.pos,this.readInt(10)===null&&this.raise(k,"Invalid number")),Oe(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var Se,Pe=(Se=this.input.slice(k,this.pos),K?parseInt(Se,8):parseFloat(Se.replace(/_/g,"")));return this.finishToken(J.num,Pe)},rr.readCodePoint=function(){var T;if(this.input.charCodeAt(this.pos)===123){this.options.ecmaVersion<6&&this.unexpected();var k=++this.pos;T=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,T>1114111&&this.invalidStringToken(k,"Code point out of bounds")}else T=this.readHexChar(4);return T},rr.readString=function(T){for(var k="",K=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var Z=this.input.charCodeAt(this.pos);if(Z===T)break;Z===92?(k+=this.input.slice(K,this.pos),k+=this.readEscapedChar(!1),K=this.pos):Z===8232||Z===8233?(this.options.ecmaVersion<10&&this.raise(this.start,"Unterminated string constant"),++this.pos,this.options.locations&&(this.curLine++,this.lineStart=this.pos)):(ke(Z)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return k+=this.input.slice(K,this.pos++),this.finishToken(J.string,k)};var ul={};rr.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(T){if(T!==ul)throw T;this.readInvalidTemplateToken()}this.inTemplateElement=!1},rr.invalidStringToken=function(T,k){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw ul;this.raise(T,k)},rr.readTmplToken=function(){for(var T="",k=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var K=this.input.charCodeAt(this.pos);if(K===96||K===36&&this.input.charCodeAt(this.pos+1)===123)return this.pos!==this.start||this.type!==J.template&&this.type!==J.invalidTemplate?(T+=this.input.slice(k,this.pos),this.finishToken(J.template,T)):K===36?(this.pos+=2,this.finishToken(J.dollarBraceL)):(++this.pos,this.finishToken(J.backQuote));if(K===92)T+=this.input.slice(k,this.pos),T+=this.readEscapedChar(!0),k=this.pos;else if(ke(K)){switch(T+=this.input.slice(k,this.pos),++this.pos,K){case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:T+=`
|
|
`;break;default:T+=String.fromCharCode(K)}this.options.locations&&(++this.curLine,this.lineStart=this.pos),k=this.pos}else++this.pos}},rr.readInvalidTemplateToken=function(){for(;this.pos<this.input.length;this.pos++)switch(this.input[this.pos]){case"\\":++this.pos;break;case"$":if(this.input[this.pos+1]!=="{")break;case"`":return this.finishToken(J.invalidTemplate,this.input.slice(this.start,this.pos))}this.raise(this.start,"Unterminated template")},rr.readEscapedChar=function(T){var k=this.input.charCodeAt(++this.pos);switch(++this.pos,k){case 110:return`
|
|
`;case 114:return"\r";case 120:return String.fromCharCode(this.readHexChar(2));case 117:return ut(this.readCodePoint());case 116:return" ";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:return this.options.locations&&(this.lineStart=this.pos,++this.curLine),"";case 56:case 57:if(this.strict&&this.invalidStringToken(this.pos-1,"Invalid escape sequence"),T){var K=this.pos-1;this.invalidStringToken(K,"Invalid escape sequence in template string")}default:if(k>=48&&k<=55){var Z=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],pe=parseInt(Z,8);return pe>255&&(Z=Z.slice(0,-1),pe=parseInt(Z,8)),this.pos+=Z.length-1,k=this.input.charCodeAt(this.pos),Z==="0"&&k!==56&&k!==57||!this.strict&&!T||this.invalidStringToken(this.pos-1-Z.length,T?"Octal literal in template string":"Octal literal in strict mode"),String.fromCharCode(pe)}return ke(k)?"":String.fromCharCode(k)}},rr.readHexChar=function(T){var k=this.pos,K=this.readInt(16,T);return K===null&&this.invalidStringToken(k,"Bad character escape sequence"),K},rr.readWord1=function(){this.containsEsc=!1;for(var T="",k=!0,K=this.pos,Z=this.options.ecmaVersion>=6;this.pos<this.input.length;){var pe=this.fullCharCodeAtPos();if(Me(pe,Z))this.pos+=pe<=65535?1:2;else{if(pe!==92)break;this.containsEsc=!0,T+=this.input.slice(K,this.pos);var Se=this.pos;this.input.charCodeAt(++this.pos)!==117&&this.invalidStringToken(this.pos,"Expecting Unicode escape sequence \\uXXXX"),++this.pos;var Pe=this.readCodePoint();(k?Oe:Me)(Pe,Z)||this.invalidStringToken(Se,"Invalid Unicode escape"),T+=ut(Pe),K=this.pos}k=!1}return T+this.input.slice(K,this.pos)},rr.readWord=function(){var T=this.readWord1(),k=J.name;return this.keywords.test(T)&&(k=Ee[T]),this.finishToken(k,T)},ie.acorn={Parser:ie,version:"8.10.0",defaultOptions:er,Position:zt,SourceLocation:Zt,getLineInfo:Ar,Node:Dn,TokenType:ae,tokTypes:J,keywordTypes:Ee,TokContext:mr,tokContexts:ar,isIdentifierChar:Me,isIdentifierStart:Oe,Token:ll,isNewLine:ke,lineBreak:De,lineBreakG:Ke,nonASCIIwhitespace:pt};let Ec=yt("module"),Yi=yt("fs"),jt=yt("url");String.fromCharCode;let Sc=/\/$|\/\?/;function xc(T="",k=!1){return k?Sc.test(T):T.endsWith("/")}function _c(T="",k=!1){if(!k)return T.endsWith("/")?T:T+"/";if(xc(T,!0))return T||"/";let[K,...Z]=T.split("?");return K+"/"+(Z.length>0?`?${Z.join("?")}`:"")}function un(T){return T&&T!=="/"}let bs=/^\.?\//;function wc(T,...k){let K=T||"";for(let Z of k.filter(pe=>un(pe)))if(K){let pe=Z.replace(bs,"");K=_c(K)+pe}else K=Z;return K}let Ni=yt("assert"),Us=yt("process"),Ta=yt("path"),Kf=yt("v8"),$s=yt("util"),Cc=new Set(Ec.builtinModules);function Ea(T){return T.replace(/\\/g,"/")}let zf=Us.platform==="win32",Gf={}.hasOwnProperty,cl=/^([A-Z][a-z\d]*)+$/,Hf=new Set(["string","function","number","object","Function","Object","boolean","bigint","symbol"]),_n={};function Ya(T,k="and"){return T.length<3?T.join(` ${k} `):`${T.slice(0,-1).join(", ")}, ${k} ${T[T.length-1]}`}let Vs=new Map,pl;function te(T,k,K){return Vs.set(T,k),function(Z,pe){return Se;function Se(...Pe){let Le=Error.stackTraceLimit;c()&&(Error.stackTraceLimit=0);let Ge=new Z;c()&&(Error.stackTraceLimit=Le);let ct=function(He,Ut,Vt){let yr=Vs.get(He);if(Ni(yr!==void 0,"expected `message` to be found"),typeof yr=="function")return Ni(yr.length<=Ut.length,`Code: ${He}; The provided arguments length (${Ut.length}) does not match the required ones (${yr.length}).`),Reflect.apply(yr,Vt,Ut);let Fr=/%[dfijoOs]/g,vn=0;for(;Fr.exec(yr)!==null;)vn++;return Ni(vn===Ut.length,`Code: ${He}; The provided arguments length (${Ut.length}) does not match the required ones (${vn}).`),Ut.length===0?yr:(Ut.unshift(yr),Reflect.apply($s.format,null,Ut))}(pe,Pe,Ge);return Object.defineProperties(Ge,{message:{value:ct,enumerable:!1,writable:!0,configurable:!0},toString:{value(){return`${this.name} [${pe}]: ${this.message}`},enumerable:!1,writable:!0,configurable:!0}}),g(Ge),Ge.code=pe,Ge}}(K,T)}function c(){try{if(Kf.startupSnapshot.isBuildingSnapshot())return!1}catch{}let T=Object.getOwnPropertyDescriptor(Error,"stackTraceLimit");return T===void 0?Object.isExtensible(Error):Gf.call(T,"writable")&&T.writable!==void 0?T.writable:T.set!==void 0}_n.ERR_INVALID_ARG_TYPE=te("ERR_INVALID_ARG_TYPE",(T,k,K)=>{Ni(typeof T=="string","'name' must be a string"),Array.isArray(k)||(k=[k]);let Z="The ";if(T.endsWith(" argument"))Z+=`${T} `;else{let Le=T.includes(".")?"property":"argument";Z+=`"${T}" ${Le} `}Z+="must be ";let pe=[],Se=[],Pe=[];for(let Le of k)Ni(typeof Le=="string","All expected entries have to be of type string"),Hf.has(Le)?pe.push(Le.toLowerCase()):cl.exec(Le)===null?(Ni(Le!=="object",'The value "object" should be written as "Object"'),Pe.push(Le)):Se.push(Le);if(Se.length>0){let Le=pe.indexOf("object");Le!==-1&&(pe.slice(Le,1),Se.push("Object"))}return pe.length>0&&(Z+=`${pe.length>1?"one of type":"of type"} ${Ya(pe,"or")}`,(Se.length>0||Pe.length>0)&&(Z+=" or ")),Se.length>0&&(Z+=`an instance of ${Ya(Se,"or")}`,Pe.length>0&&(Z+=" or ")),Pe.length>0&&(Pe.length>1?Z+=`one of ${Ya(Pe,"or")}`:(Pe[0].toLowerCase()!==Pe[0]&&(Z+="an "),Z+=`${Pe[0]}`)),Z+=`. Received ${function(Le){if(Le==null)return String(Le);if(typeof Le=="function"&&Le.name)return`function ${Le.name}`;if(typeof Le=="object")return Le.constructor&&Le.constructor.name?`an instance of ${Le.constructor.name}`:`${(0,$s.inspect)(Le,{depth:-1})}`;let Ge=(0,$s.inspect)(Le,{colors:!1});return Ge.length>28&&(Ge=`${Ge.slice(0,25)}...`),`type ${typeof Le} (${Ge})`}(K)}`,Z},TypeError),_n.ERR_INVALID_MODULE_SPECIFIER=te("ERR_INVALID_MODULE_SPECIFIER",(T,k,K=void 0)=>`Invalid module "${T}" ${k}${K?` imported from ${K}`:""}`,TypeError),_n.ERR_INVALID_PACKAGE_CONFIG=te("ERR_INVALID_PACKAGE_CONFIG",(T,k,K)=>`Invalid package config ${T}${k?` while importing ${k}`:""}${K?`. ${K}`:""}`,Error),_n.ERR_INVALID_PACKAGE_TARGET=te("ERR_INVALID_PACKAGE_TARGET",(T,k,K,Z=!1,pe=void 0)=>{let Se=typeof K=="string"&&!Z&&K.length>0&&!K.startsWith("./");return k==="."?(Ni(Z===!1),`Invalid "exports" main target ${JSON.stringify(K)} defined in the package config ${T}package.json${pe?` imported from ${pe}`:""}${Se?'; targets must start with "./"':""}`):`Invalid "${Z?"imports":"exports"}" target ${JSON.stringify(K)} defined for '${k}' in the package config ${T}package.json${pe?` imported from ${pe}`:""}${Se?'; targets must start with "./"':""}`},Error),_n.ERR_MODULE_NOT_FOUND=te("ERR_MODULE_NOT_FOUND",(T,k,K="package")=>`Cannot find ${K} '${T}' imported from ${k}`,Error),_n.ERR_NETWORK_IMPORT_DISALLOWED=te("ERR_NETWORK_IMPORT_DISALLOWED","import of '%s' by %s is not supported: %s",Error),_n.ERR_PACKAGE_IMPORT_NOT_DEFINED=te("ERR_PACKAGE_IMPORT_NOT_DEFINED",(T,k,K)=>`Package import specifier "${T}" is not defined${k?` in package ${k}package.json`:""} imported from ${K}`,TypeError),_n.ERR_PACKAGE_PATH_NOT_EXPORTED=te("ERR_PACKAGE_PATH_NOT_EXPORTED",(T,k,K=void 0)=>k==="."?`No "exports" main defined in ${T}package.json${K?` imported from ${K}`:""}`:`Package subpath '${k}' is not defined by "exports" in ${T}package.json${K?` imported from ${K}`:""}`,Error),_n.ERR_UNSUPPORTED_DIR_IMPORT=te("ERR_UNSUPPORTED_DIR_IMPORT","Directory import '%s' is not supported resolving ES modules imported from %s",Error),_n.ERR_UNKNOWN_FILE_EXTENSION=te("ERR_UNKNOWN_FILE_EXTENSION",(T,k)=>`Unknown file extension "${T}" for ${k}`,TypeError),_n.ERR_INVALID_ARG_VALUE=te("ERR_INVALID_ARG_VALUE",(T,k,K="is invalid")=>{let Z=(0,$s.inspect)(k);return Z.length>128&&(Z=`${Z.slice(0,128)}...`),`The ${T.includes(".")?"property":"argument"} '${T}' ${K}. Received ${Z}`},TypeError),_n.ERR_UNSUPPORTED_ESM_URL_SCHEME=te("ERR_UNSUPPORTED_ESM_URL_SCHEME",(T,k)=>{let K=`Only URLs with a scheme in: ${Ya(k)} are supported by the default ESM loader`;return zf&&T.protocol.length===2&&(K+=". On Windows, absolute paths must be valid file:// URLs"),K+=`. Received protocol '${T.protocol}'`,K},Error);let g=function(T){let k="__node_internal_"+T.name;return Object.defineProperty(T,"name",{value:k}),T}(function(T){let k=c();return k&&(pl=Error.stackTraceLimit,Error.stackTraceLimit=Number.POSITIVE_INFINITY),Error.captureStackTrace(T),k&&(Error.stackTraceLimit=pl),T}),_={read:function(T){try{return{string:Yi.readFileSync(Ta.toNamespacedPath(Ta.join(Ta.dirname(T),"package.json")),"utf8")}}catch(k){let K=k;if(K.code==="ENOENT")return{string:void 0};throw K}}},{ERR_INVALID_PACKAGE_CONFIG:O}=_n,q=new Map;function ee(T,k,K){let Z=q.get(T);if(Z!==void 0)return Z;let pe=_.read(T).string;if(pe===void 0){let Vt={pjsonPath:T,exists:!1,main:void 0,name:void 0,type:"none",exports:void 0,imports:void 0};return q.set(T,Vt),Vt}let Se;try{Se=JSON.parse(pe)}catch(Vt){let yr=Vt;throw new O(T,(K?`"${k}" from `:"")+(0,jt.fileURLToPath)(K||k),yr.message)}let{exports:Pe,imports:Le,main:Ge,name:ct,type:He}=Se,Ut={pjsonPath:T,exists:!0,main:typeof Ge=="string"?Ge:void 0,name:typeof ct=="string"?ct:void 0,type:He==="module"||He==="commonjs"?He:"none",exports:Pe,imports:Le&&typeof Le=="object"?Le:void 0};return q.set(T,Ut),Ut}function le(T){let k=new jt.URL("package.json",T);for(;!k.pathname.endsWith("node_modules/package.json");){let pe=ee((0,jt.fileURLToPath)(k),T);if(pe.exists)return pe;let Se=k;if(k=new jt.URL("../package.json",k),k.pathname===Se.pathname)break}let K=(0,jt.fileURLToPath)(k),Z={pjsonPath:K,exists:!1,main:void 0,name:void 0,type:"none",exports:void 0,imports:void 0};return q.set(K,Z),Z}let{ERR_UNKNOWN_FILE_EXTENSION:fe}=_n,we={}.hasOwnProperty,Re={__proto__:null,".cjs":"commonjs",".js":"module",".json":"json",".mjs":"module"},at={__proto__:null,"data:":function(T){let{1:k}=/^([^/]+\/[^;,]+)[^,]*?(;base64)?,/.exec(T.pathname)||[null,null,null];return function(K){return K&&/\s*(text|application)\/javascript\s*(;\s*charset=utf-?8\s*)?/i.test(K)?"module":K==="application/json"?"json":null}(k)},"file:":function(T,k,K){let Z=function(Pe){let Le=Pe.pathname,Ge=Le.length;for(;Ge--;){let ct=Le.codePointAt(Ge);if(ct===47)return"";if(ct===46)return Le.codePointAt(Ge-1)===47?"":Le.slice(Ge)}return""}(T);if(Z===".js")return function(Pe){return le(Pe).type}(T)==="module"?"module":"commonjs";let pe=Re[Z];if(pe)return pe;if(K)return;let Se=(0,jt.fileURLToPath)(T);throw new fe(Z,Se)},"http:":Rt,"https:":Rt,"node:":()=>"builtin"};function Rt(){}let bt=RegExp.prototype[Symbol.replace],{ERR_NETWORK_IMPORT_DISALLOWED:Jt,ERR_INVALID_MODULE_SPECIFIER:Hr,ERR_INVALID_PACKAGE_CONFIG:pr,ERR_INVALID_PACKAGE_TARGET:Ir,ERR_MODULE_NOT_FOUND:wn,ERR_PACKAGE_IMPORT_NOT_DEFINED:Xf,ERR_PACKAGE_PATH_NOT_EXPORTED:dl,ERR_UNSUPPORTED_DIR_IMPORT:OO,ERR_UNSUPPORTED_ESM_URL_SCHEME:uY}=_n,xv={}.hasOwnProperty,_v=/(^|\\|\/)((\.|%2e)(\.|%2e)?|(n|%6e|%4e)(o|%6f|%4f)(d|%64|%44)(e|%65|%45)(_|%5f)(m|%6d|%4d)(o|%6f|%4f)(d|%64|%44)(u|%75|%55)(l|%6c|%4c)(e|%65|%45)(s|%73|%53))?(\\|\/|$)/i,wv=/(^|\\|\/)((\.|%2e)(\.|%2e)?|(n|%6e|%4e)(o|%6f|%4f)(d|%64|%44)(e|%65|%45)(_|%5f)(m|%6d|%4d)(o|%6f|%4f)(d|%64|%44)(u|%75|%55)(l|%6c|%4c)(e|%65|%45)(s|%73|%53))(\\|\/|$)/i,NO=/^\.|%|\\/,Ac=/\*/g,FO=/%2f|%5c/i,Cv=new Set,jO=/[/\\]{2}/;function Av(T,k,K,Z,pe,Se,Pe){let Le=(0,jt.fileURLToPath)(Z),Ge=jO.exec(Pe?T:k)!==null;Us.emitWarning(`Use of deprecated ${Ge?"double slash":"leading or trailing slash matching"} resolving "${T}" for module request "${k}" ${k===K?"":`matched to "${K}" `}in the "${pe?"imports":"exports"}" field module resolution of the package at ${Le}${Se?` imported from ${(0,jt.fileURLToPath)(Se)}`:""}.`,"DeprecationWarning","DEP0166")}function Pv(T,k,K,Z){if(function(Ge,ct){return we.call(at,Ge.protocol)&&at[Ge.protocol](Ge,ct,!0)||null}(T,{parentURL:K.href})!=="module")return;let Se=(0,jt.fileURLToPath)(T.href),Pe=(0,jt.fileURLToPath)(new jt.URL(".",k)),Le=(0,jt.fileURLToPath)(K);Z?Us.emitWarning(`Package ${Pe} has a "main" field set to ${JSON.stringify(Z)}, excluding the full filename and extension to the resolved file at "${Se.slice(Pe.length)}", imported from ${Le}.
|
|
Automatic extension resolution of the "main" field isdeprecated for ES modules.`,"DeprecationWarning","DEP0151"):Us.emitWarning(`No "main" or "exports" field defined in the package.json for ${Pe} resolving the main entry point "${Se.slice(Pe.length)}", imported from ${Le}.
|
|
Default "index" lookups for the main are deprecated for ES modules.`,"DeprecationWarning","DEP0151")}function kv(T){try{return(0,Yi.statSync)(T)}catch{return new Yi.Stats}}function Jf(T){let k=(0,Yi.statSync)(T,{throwIfNoEntry:!1}),K=k?k.isFile():void 0;return K!=null&&K}function LO(T,k,K){let Z;if(k.main!==void 0){if(Z=new jt.URL(k.main,T),Jf(Z))return Z;let Pe=[`./${k.main}.js`,`./${k.main}.json`,`./${k.main}.node`,`./${k.main}/index.js`,`./${k.main}/index.json`,`./${k.main}/index.node`],Le=-1;for(;++Le<Pe.length&&(Z=new jt.URL(Pe[Le],T),!Jf(Z));)Z=void 0;if(Z)return Pv(Z,T,K,k.main),Z}let pe=["./index.js","./index.json","./index.node"],Se=-1;for(;++Se<pe.length&&(Z=new jt.URL(pe[Se],T),!Jf(Z));)Z=void 0;if(Z)return Pv(Z,T,K,k.main),Z;throw new wn((0,jt.fileURLToPath)(new jt.URL(".",T)),(0,jt.fileURLToPath)(K))}function Yf(T,k,K){return new dl((0,jt.fileURLToPath)(new jt.URL(".",k)),T,K&&(0,jt.fileURLToPath)(K))}function fl(T,k,K,Z,pe){return k=typeof k=="object"&&k!==null?JSON.stringify(k,null,""):`${k}`,new Ir((0,jt.fileURLToPath)(new jt.URL(".",K)),T,k,Z,pe&&(0,jt.fileURLToPath)(pe))}function MO(T,k,K,Z,pe,Se,Pe,Le,Ge){if(k!==""&&!Se&&T[T.length-1]!=="/")throw fl(K,T,Z,Pe,pe);if(!T.startsWith("./")){if(Pe&&!T.startsWith("../")&&!T.startsWith("/")){let Vt=!1;try{new jt.URL(T),Vt=!0}catch{}if(!Vt)return Ov(Se?bt.call(Ac,T,()=>k):T+k,Z,Ge)}throw fl(K,T,Z,Pe,pe)}if(_v.exec(T.slice(2))!==null){if(wv.exec(T.slice(2))!==null)throw fl(K,T,Z,Pe,pe);if(!Le){let Vt=Se?K.replace("*",()=>k):K+k;Av(Se?bt.call(Ac,T,()=>k):T,Vt,K,Z,Pe,pe,!0)}}let ct=new jt.URL(T,Z),He=ct.pathname,Ut=new jt.URL(".",Z).pathname;if(!He.startsWith(Ut))throw fl(K,T,Z,Pe,pe);if(k==="")return ct;if(_v.exec(k)!==null){let Vt=Se?K.replace("*",()=>k):K+k;wv.exec(k)===null?Le||Av(Se?bt.call(Ac,T,()=>k):T,Vt,K,Z,Pe,pe,!1):function(yr,Fr,vn,In,en){let Sa=`request is not a valid match in pattern "${Fr}" for the "${In?"imports":"exports"}" resolution of ${(0,jt.fileURLToPath)(vn)}`;throw new Hr(yr,Sa,en&&(0,jt.fileURLToPath)(en))}(Vt,K,Z,Pe,pe)}return Se?new jt.URL(bt.call(Ac,ct.href,()=>k)):new jt.URL(k,ct)}function RO(T){let k=Number(T);return`${k}`===T&&k>=0&&k<4294967295}function Qa(T,k,K,Z,pe,Se,Pe,Le,Ge){if(typeof k=="string")return MO(k,K,Z,T,pe,Se,Pe,Le,Ge);if(Array.isArray(k)){let ct=k;if(ct.length===0)return null;let He,Ut=-1;for(;++Ut<ct.length;){let Vt=ct[Ut],yr;try{yr=Qa(T,Vt,K,Z,pe,Se,Pe,Le,Ge)}catch(Fr){if(He=Fr,Fr.code==="ERR_INVALID_PACKAGE_TARGET")continue;throw Fr}if(yr!==void 0){if(yr!==null)return yr;He=null}}if(He==null)return null;throw He}if(typeof k=="object"&&k!==null){let ct=Object.getOwnPropertyNames(k),He=-1;for(;++He<ct.length;)if(RO(ct[He]))throw new pr((0,jt.fileURLToPath)(T),pe,'"exports" cannot contain numeric property keys.');for(He=-1;++He<ct.length;){let Ut=ct[He];if(Ut==="default"||Ge&&Ge.has(Ut)){let Vt=Qa(T,k[Ut],K,Z,pe,Se,Pe,Le,Ge);if(Vt===void 0)continue;return Vt}}return null}if(k===null)return null;throw fl(Z,k,T,Pe,pe)}function BO(T,k,K){let Z=(0,jt.fileURLToPath)(k);Cv.has(Z+"|"+T)||(Cv.add(Z+"|"+T),Us.emitWarning(`Use of deprecated trailing slash pattern mapping "${T}" in the "exports" field module resolution of the package at ${Z}${K?` imported from ${(0,jt.fileURLToPath)(K)}`:""}. Mapping specifiers ending in "/" is no longer supported.`,"DeprecationWarning","DEP0155"))}function Dv(T,k,K,Z,pe){let Se=K.exports;if(function(He,Ut,Vt){if(typeof He=="string"||Array.isArray(He))return!0;if(typeof He!="object"||He===null)return!1;let yr=Object.getOwnPropertyNames(He),Fr=!1,vn=0,In=-1;for(;++In<yr.length;){let en=yr[In],Sa=en===""||en[0]!==".";if(vn++==0)Fr=Sa;else if(Fr!==Sa)throw new pr((0,jt.fileURLToPath)(Ut),Vt,`"exports" cannot contain some keys starting with '.' and some not. The exports object must either be an object of package subpath keys or an object of main entry condition name keys only.`)}return Fr}(Se,T,Z)&&(Se={".":Se}),xv.call(Se,k)&&!k.includes("*")&&!k.endsWith("/")){let He=Qa(T,Se[k],"",k,Z,!1,!1,!1,pe);if(He==null)throw Yf(k,T,Z);return He}let Pe="",Le="",Ge=Object.getOwnPropertyNames(Se),ct=-1;for(;++ct<Ge.length;){let He=Ge[ct],Ut=He.indexOf("*");if(Ut!==-1&&k.startsWith(He.slice(0,Ut))){k.endsWith("/")&&BO(k,T,Z);let Vt=He.slice(Ut+1);k.length>=He.length&&k.endsWith(Vt)&&Iv(Pe,He)===1&&He.lastIndexOf("*")===Ut&&(Pe=He,Le=k.slice(Ut,k.length-Vt.length))}}if(Pe){let He=Qa(T,Se[Pe],Le,Pe,Z,!0,!1,k.endsWith("/"),pe);if(He==null)throw Yf(k,T,Z);return He}throw Yf(k,T,Z)}function Iv(T,k){let K=T.indexOf("*"),Z=k.indexOf("*"),pe=K===-1?T.length:K+1,Se=Z===-1?k.length:Z+1;return pe>Se?-1:Se>pe||K===-1?1:Z===-1||T.length>k.length?-1:k.length>T.length?1:0}function UO(T,k,K){if(T==="#"||T.startsWith("#/")||T.endsWith("/"))throw new Hr(T,"is not a valid internal imports specifier name",(0,jt.fileURLToPath)(k));let Z,pe=le(k);if(pe.exists){Z=(0,jt.pathToFileURL)(pe.pjsonPath);let Se=pe.imports;if(Se)if(xv.call(Se,T)&&!T.includes("*")){let Pe=Qa(Z,Se[T],"",T,k,!1,!0,!1,K);if(Pe!=null)return Pe}else{let Pe="",Le="",Ge=Object.getOwnPropertyNames(Se),ct=-1;for(;++ct<Ge.length;){let He=Ge[ct],Ut=He.indexOf("*");if(Ut!==-1&&T.startsWith(He.slice(0,-1))){let Vt=He.slice(Ut+1);T.length>=He.length&&T.endsWith(Vt)&&Iv(Pe,He)===1&&He.lastIndexOf("*")===Ut&&(Pe=He,Le=T.slice(Ut,T.length-Vt.length))}}if(Pe){let He=Qa(Z,Se[Pe],Le,Pe,k,!0,!0,!1,K);if(He!=null)return He}}}throw function(Se,Pe,Le){return new Xf(Se,Pe&&(0,jt.fileURLToPath)(new jt.URL(".",Pe)),(0,jt.fileURLToPath)(Le))}(T,Z,k)}function Ov(T,k,K){if(Ec.builtinModules.includes(T))return new jt.URL("node:"+T);let{packageName:Z,packageSubpath:pe,isScoped:Se}=function(He,Ut){let Vt=He.indexOf("/"),yr=!0,Fr=!1;He[0]==="@"&&(Fr=!0,Vt===-1||He.length===0?yr=!1:Vt=He.indexOf("/",Vt+1));let vn=Vt===-1?He:He.slice(0,Vt);if(NO.exec(vn)!==null&&(yr=!1),!yr)throw new Hr(He,"is not a valid package name",(0,jt.fileURLToPath)(Ut));return{packageName:vn,packageSubpath:"."+(Vt===-1?"":He.slice(Vt)),isScoped:Fr}}(T,k),Pe=le(k);if(Pe.exists){let He=(0,jt.pathToFileURL)(Pe.pjsonPath);if(Pe.name===Z&&Pe.exports!==void 0&&Pe.exports!==null)return Dv(He,pe,Pe,k,K)}let Le,Ge=new jt.URL("./node_modules/"+Z+"/package.json",k),ct=(0,jt.fileURLToPath)(Ge);do{if(!kv(ct.slice(0,-13)).isDirectory()){Le=ct,Ge=new jt.URL((Se?"../../../../node_modules/":"../../../node_modules/")+Z+"/package.json",Ge),ct=(0,jt.fileURLToPath)(Ge);continue}let He=ee(ct,T,k);return He.exports!==void 0&&He.exports!==null?Dv(Ge,pe,He,k,K):pe==="."?LO(Ge,He,k):new jt.URL(pe,Ge)}while(ct.length!==Le.length);throw new wn(Z,(0,jt.fileURLToPath)(k))}function $O(T,k,K,Z){let pe=k.protocol,Se=pe==="http:"||pe==="https:",Pe;if(function(Le){return Le!==""&&(Le[0]==="/"||function(Ge){return Ge[0]==="."&&(Ge.length===1||Ge[1]==="/"||Ge[1]==="."&&(Ge.length===2||Ge[2]==="/"))}(Le))}(T))Pe=new jt.URL(T,k);else if(Se||T[0]!=="#")try{Pe=new jt.URL(T)}catch{Se||(Pe=Ov(T,k,K))}else Pe=UO(T,k,K);return Ni(Pe!==void 0,"expected to be defined"),Pe.protocol!=="file:"?Pe:function(Le,Ge,ct){if(FO.exec(Le.pathname)!==null)throw new Hr(Le.pathname,'must not include encoded "/" or "\\" characters',(0,jt.fileURLToPath)(Ge));let He=(0,jt.fileURLToPath)(Le),Ut=kv(He.endsWith("/")?He.slice(-1):He);if(Ut.isDirectory()){let Vt=new OO(He,(0,jt.fileURLToPath)(Ge));throw Vt.url=String(Le),Vt}if(!Ut.isFile())throw new wn(He||Le.pathname,Ge&&(0,jt.fileURLToPath)(Ge),"module");if(!ct){let Vt=(0,Yi.realpathSync)(He),{search:yr,hash:Fr}=Le;(Le=(0,jt.pathToFileURL)(Vt+(He.endsWith(Ta.sep)?"/":""))).search=yr,Le.hash=Fr}return Le}(Pe,k,Z)}function Qf(T){return typeof T!="string"||T.startsWith("file://")?Ea((0,jt.fileURLToPath)(T)):Ea(T)}let VO=new Set(["node","import"]),qO=(0,jt.pathToFileURL)(process.cwd()),WO=[".mjs",".cjs",".js",".json"],KO=new Set(["ERR_MODULE_NOT_FOUND","ERR_UNSUPPORTED_DIR_IMPORT","MODULE_NOT_FOUND","ERR_PACKAGE_PATH_NOT_EXPORTED"]);function Nv(T,k,K){try{return $O(T,k,K)}catch(Z){if(!KO.has(Z.code))throw Z}}function zO(T,k={}){if(/(node|data|http|https):/.test(T))return T;if(Cc.has(T))return"node:"+T;if(v(T)&&(0,Yi.existsSync)(T)){let Le=(0,Yi.realpathSync)(Qf(T));return(0,jt.pathToFileURL)(Le).toString()}let K=k.conditions?new Set(k.conditions):VO,Z=(Array.isArray(k.url)?k.url:[k.url]).filter(Boolean).map(Le=>new URL(function(Ge){return typeof Ge!="string"&&(Ge=Ge.toString()),/(node|data|http|https|file):/.test(Ge)?Ge:Cc.has(Ge)?"node:"+Ge:"file://"+encodeURI(Ea(Ge))}(Le.toString())));Z.length===0&&Z.push(qO);let pe=[...Z];for(let Le of Z)Le.protocol==="file:"&&pe.push(new URL("./",Le),new URL(wc(Le.pathname,"_index.js"),Le),new URL("node_modules",Le));let Se;for(let Le of pe){if(Se=Nv(T,Le,K),Se)break;for(let Ge of["","/index"]){for(let ct of k.extensions||WO)if(Se=Nv(T+Ge+ct,Le,K),Se)break;if(Se)break}if(Se)break}if(!Se){let Le=new Error(`Cannot find module ${T} imported from ${pe.join(", ")}`);throw Le.code="ERR_MODULE_NOT_FOUND",Le}let Pe=(0,Yi.realpathSync)(Qf(Se));return(0,jt.pathToFileURL)(Pe).toString()}function GO(T,k){return zO(T,k)}function HO(T,k){return Qf(GO(T,k))}let XO=/([\s;]|^)(import[\s\w*,{}]*from|import\s*["'*{]|export\b\s*(?:[*{]|default|class|type|function|const|var|let|async function)|import\.meta\b)/m;function JO(T){return XO.test(T)}var YO=n("crypto");function Fv(T,k=8){return(0,YO.createHash)("md5").update(T).digest("hex").slice(0,k)}let QO=I(process.env.JITI_DEBUG),jv=I(process.env.JITI_CACHE),ZO=I(process.env.JITI_ESM_RESOLVE),Lv=I(process.env.JITI_REQUIRE_CACHE),Mv=I(process.env.JITI_SOURCE_MAPS),eN=I(process.env.JITI_ALIAS),tN=I(process.env.JITI_TRANSFORM_MODULES),rN=I(process.env.JITI_NATIVE_MODULES),Rv=I(process.env.JITI_EXPERIMENTAL_BUN),nN=(0,a.platform)()==="win32",iN={debug:QO,cache:jv===void 0||!!jv,requireCache:Lv===void 0||!!Lv,sourceMaps:Mv!==void 0&&!!Mv,interopDefault:!1,esmResolve:ZO||!1,cacheVersion:"7",legacy:(0,z.lt)(process.version||"0.0.0","14.0.0"),extensions:[".js",".mjs",".cjs",".ts",".mts",".cts",".json"],alias:eN,nativeModules:rN||[],transformModules:tN||[],experimentalBun:Rv===void 0?!!process.versions.bun:!!Rv},sN=/\.(c|m)?j(sx?)$/,aN=/\.(c|m)?t(sx?)$/;function Bv(T,k={},K,Z){(k=Object.assign(Object.assign({},iN),k)).legacy&&(k.cacheVersion+="-legacy"),k.transformOptions&&(k.cacheVersion+="-"+N()(k.transformOptions));let pe=k.alias&&Object.keys(k.alias).length>0?G(k.alias||{}):null,Se=["typescript","jiti",...k.nativeModules||[]],Pe=[...k.transformModules||[]],Le=new RegExp(`node_modules/(${Se.map(Dt=>j(Dt)).join("|")})/`),Ge=new RegExp(`node_modules/(${Pe.map(Dt=>j(Dt)).join("|")})/`);function ct(...Dt){k.debug&&console.log("[jiti]",...Dt)}if(T||(T=process.cwd()),function(Dt){try{return(0,o.lstatSync)(Dt).isDirectory()}catch{return!1}}(T)&&(T=b(T,"index.js")),k.cache===!0&&(k.cache=function(){let Dt=(0,a.tmpdir)();if(process.env.TMPDIR&&Dt===process.cwd()&&!process.env.JITI_RESPECT_TMPDIR_ENV){let or=process.env.TMPDIR;delete process.env.TMPDIR,Dt=(0,a.tmpdir)(),process.env.TMPDIR=or}return b(Dt,"node-jiti")}()),k.cache)try{if((0,o.mkdirSync)(k.cache,{recursive:!0}),!function(Dt){try{return(0,o.accessSync)(Dt,o.constants.W_OK),!0}catch{return!1}}(k.cache))throw new Error("directory is not writable")}catch(Dt){ct("Error creating cache directory at ",k.cache,Dt),k.cache=!1}let He=R()(nN?T.replace(/\//g,"\\"):T),Ut=(Dt,or)=>{try{return He.resolve(Dt,or)}catch{}},Vt=(0,s.pathToFileURL)(T),yr=[...k.extensions].filter(Dt=>Dt!==".js"),Fr=(Dt,or)=>{let xr,tn;if(pe&&(Dt=function(Yt,cn){let Tn=l(Yt);cn=G(cn);for(let ii in cn)if(Tn.startsWith(ii)&&Y.has(Tn[ii.length]))return b(cn[ii],Tn.slice(ii.length));return Tn}(Dt,pe)),k.esmResolve){let Yt=[["node","require"],["node","import"]];for(let cn of Yt){try{xr=HO(Dt,{url:Vt,conditions:cn,extensions:k.extensions})}catch(Tn){tn=Tn}if(xr)return xr}}try{return He.resolve(Dt,or)}catch(Yt){tn=Yt}for(let Yt of yr)if(xr=Ut(Dt+Yt,or)||Ut(Dt+"/index"+Yt,or),xr||aN.test((K==null?void 0:K.filename)||"")&&(xr=Ut(Dt.replace(sN,".$1t$2"),or),xr))return xr;throw tn};function vn(Dt){let or=function(xr,tn,Yt){if(!k.cache||!xr)return Yt();let cn=` /* v${k.cacheVersion}-${Fv(tn,16)} */`,Tn=x(A(xr))+"-"+x(xr),ii=b(k.cache,Tn+"."+Fv(xr)+".js");if((0,o.existsSync)(ii)){let Pc=(0,o.readFileSync)(ii,"utf8");if(Pc.endsWith(cn))return ct("[cache hit]",xr,"~>",ii),Pc}ct("[cache miss]",xr);let Za=Yt();return Za.includes("__JITI_ERROR__")||(0,o.writeFileSync)(ii,Za+cn,"utf8"),Za}(Dt.filename,Dt.source,()=>{var xr;let tn=k.transform(Object.assign(Object.assign(Object.assign({legacy:k.legacy},k.transformOptions),{babel:Object.assign(Object.assign({},k.sourceMaps?{sourceFileName:Dt.filename,sourceMaps:"inline"}:{}),(xr=k.transformOptions)===null||xr===void 0?void 0:xr.babel)}),Dt));return tn.error&&k.debug&&ct(tn.error),tn.code});return or.startsWith("#!")&&(or="// "+or),or}function In(Dt){return k.interopDefault?function(or){if((xr=or)===null||typeof xr!="object"||!("default"in or))return or;var xr;let tn=or.default;for(let Yt in or)if(Yt==="default")try{Yt in tn||Object.defineProperty(tn,Yt,{enumerable:!1,configurable:!1,get:()=>tn})}catch{}else try{Yt in tn||Object.defineProperty(tn,Yt,{enumerable:!0,configurable:!0,get:()=>or[Yt]})}catch{}return tn}(Dt):Dt}function en(Dt){var or,xr;let tn=Z||{};if(Dt.startsWith("node:")?Dt=Dt.slice(5):Dt.startsWith("file:")&&(Dt=(0,s.fileURLToPath)(Dt)),r.builtinModules.includes(Dt)||Dt===".pnp.js")return He(Dt);if(k.experimentalBun&&!k.transformOptions)try{ct(`[bun] [native] ${Dt}`);let Tn=He(Dt);return k.requireCache===!1&&delete He.cache[Dt],In(Tn)}catch(Tn){ct(`[bun] Using fallback for ${Dt} because of an error:`,Tn)}let Yt=Fr(Dt),cn=w(Yt);if(cn===".json"){ct("[json]",Yt);let Tn=He(Dt);return Object.defineProperty(Tn,"default",{value:Tn}),Tn}return cn&&!k.extensions.includes(cn)?(ct("[unknown]",Yt),He(Dt)):Le.test(Yt)?(ct("[native]",Yt),He(Dt)):tn[Yt]?In((or=tn[Yt])===null||or===void 0?void 0:or.exports):k.requireCache&&He.cache[Yt]?In((xr=He.cache[Yt])===null||xr===void 0?void 0:xr.exports):Sa((0,o.readFileSync)(Yt,"utf8"),{id:Dt,filename:Yt,ext:cn,cache:tn})}function Sa(Dt,or={}){var xr;let tn=or.id||(or.filename?x(or.filename):`_jitiEval.${or.ext||".js"}`),Yt=or.filename||Fr(tn),cn=or.ext||w(Yt),Tn=or.cache||Z||{},ii=cn===".ts"||cn===".mts"||cn===".cts",Za=cn===".mjs"||cn===".js"&&((xr=function(Hn){for(;Hn&&Hn!=="."&&Hn!=="/";){Hn=b(Hn,"..");try{let kc=(0,o.readFileSync)(b(Hn,"package.json"),"utf8");try{return JSON.parse(kc)}catch{}break}catch{}}}(Yt))===null||xr===void 0?void 0:xr.type)==="module",Pc=cn!==".cjs"&&(ii||Za||Ge.test(Yt)||JO(Dt)||k.legacy&&Dt.match(/\?\.|\?\?/)),oN=u.performance.now();if(Pc)Dt=vn({filename:Yt,source:Dt,ts:ii}),ct("[transpile]"+(Za?" [esm]":""),Yt,`(${Math.round(1e3*(u.performance.now()-oN))/1e3}ms)`);else try{return ct("[native]",Yt),In(He(tn))}catch(Hn){ct("Native require error:",Hn),ct("[fallback]",Yt),Dt=vn({filename:Yt,source:Dt,ts:ii})}let pn=new r.Module(Yt),Uv;pn.filename=Yt,K&&(pn.parent=K,Array.isArray(K.children)&&!K.children.includes(pn)&&K.children.push(pn)),pn.require=Bv(Yt,k,pn,Tn),pn.path=A(Yt),pn.paths=r.Module._nodeModulePaths(pn.path),Tn[Yt]=pn,k.requireCache&&(He.cache[Yt]=pn);try{Uv=d().runInThisContext(r.Module.wrap(Dt),{filename:Yt,lineOffset:0,displayErrors:!1})}catch(Hn){k.requireCache&&delete He.cache[Yt],k.onError(Hn)}try{Uv(pn.exports,pn.require,pn,pn.filename,A(pn.filename))}catch(Hn){k.requireCache&&delete He.cache[Yt],k.onError(Hn)}if(pn.exports&&pn.exports.__JITI_ERROR__){let{filename:Hn,line:kc,column:$v,code:lN,message:uN}=pn.exports.__JITI_ERROR__,Vv=new Error(`${lN}: ${uN}
|
|
${`${Hn}:${kc}:${$v}`}`);Error.captureStackTrace(Vv,en),k.onError(Vv)}return pn.loaded=!0,In(pn.exports)}return Fr.paths=He.resolve.paths,en.resolve=Fr,en.cache=k.requireCache?He.cache:{},en.extensions=He.extensions,en.main=He.main,en.transform=vn,en.register=function(){return(0,U.addHook)((Dt,or)=>en.transform({source:Dt,filename:or,ts:!!/\.[cm]?ts$/.test(or)}),{exts:k.extensions})},en.evalModule=Sa,en}})(),yk.exports=i.default})()});var vk=me((Gee,gk)=>{(()=>{var e={"./node_modules/.pnpm/@ampproject+remapping@2.2.1/node_modules/@ampproject/remapping/dist/remapping.umd.js":function(o,r,u){o.exports=function(a,m){"use strict";let d=l("",-1,-1,"",null),s=[];function l(x,C,P,D,L){return{source:x,line:C,column:P,name:D,content:L}}function f(x,C,P,D){return{map:x,sources:C,source:P,content:D}}function p(x,C){return f(x,C,"",null)}function h(x,C){return f(null,s,x,C)}function y(x){let C=new m.GenMapping({file:x.map.file}),{sources:P,map:D}=x,L=D.names,I=a.decodedMappings(D);for(let j=0;j<I.length;j++){let M=I[j];for(let R=0;R<M.length;R++){let z=M[R],Y=z[0],$=d;if(z.length!==1&&($=b(P[z[1]],z[2],z[3],z.length===5?L[z[4]]:""),$==null))continue;let{column:G,line:U,name:B,content:N,source:X}=$;m.maybeAddSegment(C,j,Y,X,U,G,B),X&&N!=null&&m.setSourceContent(C,X,N)}}return C}function b(x,C,P,D){if(!x.map)return l(x.source,C,P,D,x.content);let L=a.traceSegment(x.map,C,P);return L==null?null:L.length===1?d:b(x.sources[L[1]],L[2],L[3],L.length===5?x.map.names[L[4]]:D)}function E(x){return Array.isArray(x)?x:[x]}function v(x,C){let P=E(x).map(I=>new a.TraceMap(I,"")),D=P.pop();for(let I=0;I<P.length;I++)if(P[I].sources.length>1)throw new Error(`Transformation map ${I} must have exactly one source file.
|
|
Did you specify these with the most recent transformation maps first?`);let L=S(D,C,"",0);for(let I=P.length-1;I>=0;I--)L=p(P[I],[L]);return L}function S(x,C,P,D){let{resolvedSources:L,sourcesContent:I}=x,j=D+1;return p(x,L.map((M,R)=>{let z={importer:P,depth:j,source:M||"",content:void 0},Y=C(z.source,z),{source:$,content:G}=z;return Y?S(new a.TraceMap(Y,$),C,$,j):h($,G!==void 0?G:I?I[R]:null)}))}class w{constructor(C,P){let D=P.decodedMappings?m.toDecodedMap(C):m.toEncodedMap(C);this.version=D.version,this.file=D.file,this.mappings=D.mappings,this.names=D.names,this.sourceRoot=D.sourceRoot,this.sources=D.sources,P.excludeContent||(this.sourcesContent=D.sourcesContent)}toString(){return JSON.stringify(this)}}function A(x,C,P){let D=typeof P=="object"?P:{excludeContent:!!P,decodedMappings:!1},L=v(x,C);return new w(y(L),D)}return A}(u("./node_modules/.pnpm/@jridgewell+trace-mapping@0.3.19/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.umd.js"),u("./node_modules/.pnpm/@jridgewell+gen-mapping@0.3.3/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.umd.js"))},"./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/config/files lazy recursive":o=>{function r(u){return Promise.resolve().then(()=>{var a=new Error("Cannot find module '"+u+"'");throw a.code="MODULE_NOT_FOUND",a})}r.keys=()=>[],r.resolve=r,r.id="./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/config/files lazy recursive",o.exports=r},"./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/config/files sync recursive":o=>{function r(u){var a=new Error("Cannot find module '"+u+"'");throw a.code="MODULE_NOT_FOUND",a}r.keys=()=>[],r.resolve=r,r.id="./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/config/files sync recursive",o.exports=r},"./node_modules/.pnpm/@babel+plugin-syntax-class-properties@7.12.13_@babel+core@7.22.15/node_modules/@babel/plugin-syntax-class-properties/lib/index.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var a=(0,u("./node_modules/.pnpm/@babel+helper-plugin-utils@7.22.5/node_modules/@babel/helper-plugin-utils/lib/index.js").declare)(m=>(m.assertVersion(7),{name:"syntax-class-properties",manipulateOptions(d,s){s.plugins.push("classProperties","classPrivateProperties","classPrivateMethods")}}));r.default=a},"./node_modules/.pnpm/@babel+plugin-syntax-export-namespace-from@7.8.3_@babel+core@7.22.15/node_modules/@babel/plugin-syntax-export-namespace-from/lib/index.js":(o,r,u)=>{"use strict";r.Z=void 0;var a=(0,u("./node_modules/.pnpm/@babel+helper-plugin-utils@7.22.5/node_modules/@babel/helper-plugin-utils/lib/index.js").declare)(m=>(m.assertVersion(7),{name:"syntax-export-namespace-from",manipulateOptions(d,s){s.plugins.push("exportNamespaceFrom")}}));r.Z=a},"./node_modules/.pnpm/@babel+plugin-syntax-nullish-coalescing-operator@7.8.3_@babel+core@7.22.15/node_modules/@babel/plugin-syntax-nullish-coalescing-operator/lib/index.js":(o,r,u)=>{"use strict";r.Z=void 0;var a=(0,u("./node_modules/.pnpm/@babel+helper-plugin-utils@7.22.5/node_modules/@babel/helper-plugin-utils/lib/index.js").declare)(m=>(m.assertVersion(7),{name:"syntax-nullish-coalescing-operator",manipulateOptions(d,s){s.plugins.push("nullishCoalescingOperator")}}));r.Z=a},"./node_modules/.pnpm/@babel+plugin-syntax-optional-chaining@7.8.3_@babel+core@7.22.15/node_modules/@babel/plugin-syntax-optional-chaining/lib/index.js":(o,r,u)=>{"use strict";r.Z=void 0;var a=(0,u("./node_modules/.pnpm/@babel+helper-plugin-utils@7.22.5/node_modules/@babel/helper-plugin-utils/lib/index.js").declare)(m=>(m.assertVersion(7),{name:"syntax-optional-chaining",manipulateOptions(d,s){s.plugins.push("optionalChaining")}}));r.Z=a},"./node_modules/.pnpm/@jridgewell+gen-mapping@0.3.3/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.umd.js":function(o,r,u){(function(a,m,d,s){"use strict";let E;a.addSegment=void 0,a.addMapping=void 0,a.maybeAddSegment=void 0,a.maybeAddMapping=void 0,a.setSourceContent=void 0,a.toDecodedMap=void 0,a.toEncodedMap=void 0,a.fromMap=void 0,a.allMappings=void 0;class v{constructor({file:j,sourceRoot:M}={}){this._names=new m.SetArray,this._sources=new m.SetArray,this._sourcesContent=[],this._mappings=[],this.file=j,this.sourceRoot=M}}function S(I,j){for(let M=I.length;M<=j;M++)I[M]=[];return I[j]}function w(I,j){let M=I.length;for(let R=M-1;R>=0&&!(j>=I[R][0]);M=R--);return M}function A(I,j,M){for(let R=I.length;R>j;R--)I[R]=I[R-1];I[j]=M}function x(I){let{length:j}=I,M=j;for(let R=M-1;R>=0&&!(I[R].length>0);M=R,R--);M<j&&(I.length=M)}function C(I,j){for(let M=0;M<j.length;M++)m.put(I,j[M])}function P(I,j){return j===0||I[j-1].length===1}function D(I,j,M,R,z,Y){if(j===0)return!1;let $=I[j-1];return $.length!==1&&M===$[1]&&R===$[2]&&z===$[3]&&Y===($.length===5?$[4]:-1)}function L(I,j,M){let{generated:R,source:z,original:Y,name:$,content:G}=M;if(!z)return E(I,j,R.line-1,R.column,null,null,null,null,null);let U=z;return E(I,j,R.line-1,R.column,U,Y.line-1,Y.column,$,G)}a.addSegment=(I,j,M,R,z,Y,$,G)=>E(!1,I,j,M,R,z,Y,$,G),a.maybeAddSegment=(I,j,M,R,z,Y,$,G)=>E(!0,I,j,M,R,z,Y,$,G),a.addMapping=(I,j)=>L(!1,I,j),a.maybeAddMapping=(I,j)=>L(!0,I,j),a.setSourceContent=(I,j,M)=>{let{_sources:R,_sourcesContent:z}=I;z[m.put(R,j)]=M},a.toDecodedMap=I=>{let{file:j,sourceRoot:M,_mappings:R,_sources:z,_sourcesContent:Y,_names:$}=I;return x(R),{version:3,file:j||void 0,names:$.array,sourceRoot:M||void 0,sources:z.array,sourcesContent:Y,mappings:R}},a.toEncodedMap=I=>{let j=a.toDecodedMap(I);return Object.assign(Object.assign({},j),{mappings:d.encode(j.mappings)})},a.allMappings=I=>{let j=[],{_mappings:M,_sources:R,_names:z}=I;for(let Y=0;Y<M.length;Y++){let $=M[Y];for(let G=0;G<$.length;G++){let U=$[G],B={line:Y+1,column:U[0]},N,X,H;U.length!==1&&(N=R.array[U[1]],X={line:U[2]+1,column:U[3]},U.length===5&&(H=z.array[U[4]])),j.push({generated:B,source:N,original:X,name:H})}}return j},a.fromMap=I=>{let j=new s.TraceMap(I),M=new v({file:j.file,sourceRoot:j.sourceRoot});return C(M._names,j.names),C(M._sources,j.sources),M._sourcesContent=j.sourcesContent||j.sources.map(()=>null),M._mappings=s.decodedMappings(j),M},E=(I,j,M,R,z,Y,$,G,U)=>{let{_mappings:B,_sources:N,_sourcesContent:X,_names:H}=j,F=S(B,M),W=w(F,R);if(!z)return I&&P(F,W)?void 0:A(F,W,[R]);let V=m.put(N,z),Q=G?m.put(H,G):-1;if(V===X.length&&(X[V]=U??null),!I||!D(F,W,V,Y,$,Q))return A(F,W,G?[R,V,Y,$,Q]:[R,V,Y,$])},a.GenMapping=v,Object.defineProperty(a,"__esModule",{value:!0})})(r,u("./node_modules/.pnpm/@jridgewell+set-array@1.1.2/node_modules/@jridgewell/set-array/dist/set-array.umd.js"),u("./node_modules/.pnpm/@jridgewell+sourcemap-codec@1.4.15/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.js"),u("./node_modules/.pnpm/@jridgewell+trace-mapping@0.3.19/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.umd.js"))},"./node_modules/.pnpm/@jridgewell+resolve-uri@3.1.1/node_modules/@jridgewell/resolve-uri/dist/resolve-uri.umd.js":function(o){o.exports=function(){"use strict";let r=/^[\w+.-]+:\/\//,u=/^([\w+.-]+:)\/\/([^@/#?]*@)?([^:/#?]*)(:\d+)?(\/[^#?]*)?(\?[^#]*)?(#.*)?/,a=/^file:(?:\/\/((?![a-z]:)[^/#?]*)?)?(\/?[^#?]*)(\?[^#]*)?(#.*)?/i;var m;function d(x){return r.test(x)}function s(x){return x.startsWith("//")}function l(x){return x.startsWith("/")}function f(x){return x.startsWith("file:")}function p(x){return/^[.?#]/.test(x)}function h(x){let C=u.exec(x);return b(C[1],C[2]||"",C[3],C[4]||"",C[5]||"/",C[6]||"",C[7]||"")}function y(x){let C=a.exec(x),P=C[2];return b("file:","",C[1]||"","",l(P)?P:"/"+P,C[3]||"",C[4]||"")}function b(x,C,P,D,L,I,j){return{scheme:x,user:C,host:P,port:D,path:L,query:I,hash:j,type:m.Absolute}}function E(x){if(s(x)){let P=h("http:"+x);return P.scheme="",P.type=m.SchemeRelative,P}if(l(x)){let P=h("http://foo.com"+x);return P.scheme="",P.host="",P.type=m.AbsolutePath,P}if(f(x))return y(x);if(d(x))return h(x);let C=h("http://foo.com/"+x);return C.scheme="",C.host="",C.type=x?x.startsWith("?")?m.Query:x.startsWith("#")?m.Hash:m.RelativePath:m.Empty,C}function v(x){if(x.endsWith("/.."))return x;let C=x.lastIndexOf("/");return x.slice(0,C+1)}function S(x,C){w(C,C.type),x.path==="/"?x.path=C.path:x.path=v(C.path)+x.path}function w(x,C){let P=C<=m.RelativePath,D=x.path.split("/"),L=1,I=0,j=!1;for(let R=1;R<D.length;R++){let z=D[R];z?(j=!1,z!=="."&&(z!==".."?(D[L++]=z,I++):I?(j=!0,I--,L--):P&&(D[L++]=z))):j=!0}let M="";for(let R=1;R<L;R++)M+="/"+D[R];(!M||j&&!M.endsWith("/.."))&&(M+="/"),x.path=M}function A(x,C){if(!x&&!C)return"";let P=E(x),D=P.type;if(C&&D!==m.Absolute){let I=E(C),j=I.type;switch(D){case m.Empty:P.hash=I.hash;case m.Hash:P.query=I.query;case m.Query:case m.RelativePath:S(P,I);case m.AbsolutePath:P.user=I.user,P.host=I.host,P.port=I.port;case m.SchemeRelative:P.scheme=I.scheme}j>D&&(D=j)}w(P,D);let L=P.query+P.hash;switch(D){case m.Hash:case m.Query:return L;case m.RelativePath:{let I=P.path.slice(1);return I?p(C||x)&&!p(I)?"./"+I+L:I+L:L||"."}case m.AbsolutePath:return P.path+L;default:return P.scheme+"//"+P.user+P.host+P.port+P.path+L}}return function(x){x[x.Empty=1]="Empty",x[x.Hash=2]="Hash",x[x.Query=3]="Query",x[x.RelativePath=4]="RelativePath",x[x.AbsolutePath=5]="AbsolutePath",x[x.SchemeRelative=6]="SchemeRelative",x[x.Absolute=7]="Absolute"}(m||(m={})),A}()},"./node_modules/.pnpm/@jridgewell+set-array@1.1.2/node_modules/@jridgewell/set-array/dist/set-array.umd.js":function(o,r){(function(u){"use strict";u.get=void 0,u.put=void 0,u.pop=void 0;class a{constructor(){this._indexes={__proto__:null},this.array=[]}}u.get=(m,d)=>m._indexes[d],u.put=(m,d)=>{let s=u.get(m,d);if(s!==void 0)return s;let{array:l,_indexes:f}=m;return f[d]=l.push(d)-1},u.pop=m=>{let{array:d,_indexes:s}=m;d.length!==0&&(s[d.pop()]=void 0)},u.SetArray=a,Object.defineProperty(u,"__esModule",{value:!0})})(r)},"./node_modules/.pnpm/@jridgewell+sourcemap-codec@1.4.15/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.js":function(o,r){(function(u){"use strict";let d="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=new Uint8Array(64),l=new Uint8Array(128);for(let A=0;A<d.length;A++){let x=d.charCodeAt(A);s[A]=x,l[x]=A}let f=typeof TextDecoder<"u"?new TextDecoder:typeof Buffer<"u"?{decode:A=>Buffer.from(A.buffer,A.byteOffset,A.byteLength).toString()}:{decode(A){let x="";for(let C=0;C<A.length;C++)x+=String.fromCharCode(A[C]);return x}};function p(A){let x=new Int32Array(5),C=[],P=0;do{let D=h(A,P),L=[],I=!0,j=0;x[0]=0;for(let M=P;M<D;M++){let R;M=y(A,M,x,0);let z=x[0];z<j&&(I=!1),j=z,b(A,M,D)?(M=y(A,M,x,1),M=y(A,M,x,2),M=y(A,M,x,3),b(A,M,D)?(M=y(A,M,x,4),R=[z,x[1],x[2],x[3],x[4]]):R=[z,x[1],x[2],x[3]]):R=[z],L.push(R)}I||E(L),C.push(L),P=D+1}while(P<=A.length);return C}function h(A,x){let C=A.indexOf(";",x);return C===-1?A.length:C}function y(A,x,C,P){let D=0,L=0,I=0;do{let M=A.charCodeAt(x++);I=l[M],D|=(31&I)<<L,L+=5}while(32&I);let j=1&D;return D>>>=1,j&&(D=-2147483648|-D),C[P]+=D,x}function b(A,x,C){return!(x>=C)&&A.charCodeAt(x)!==44}function E(A){A.sort(v)}function v(A,x){return A[0]-x[0]}function S(A){let x=new Int32Array(5),C=16384,P=C-36,D=new Uint8Array(C),L=D.subarray(0,P),I=0,j="";for(let M=0;M<A.length;M++){let R=A[M];if(M>0&&(I===C&&(j+=f.decode(D),I=0),D[I++]=59),R.length!==0){x[0]=0;for(let z=0;z<R.length;z++){let Y=R[z];I>P&&(j+=f.decode(L),D.copyWithin(0,P,I),I-=P),z>0&&(D[I++]=44),I=w(D,I,x,Y,0),Y.length!==1&&(I=w(D,I,x,Y,1),I=w(D,I,x,Y,2),I=w(D,I,x,Y,3),Y.length!==4&&(I=w(D,I,x,Y,4)))}}}return j+f.decode(D.subarray(0,I))}function w(A,x,C,P,D){let L=P[D],I=L-C[D];C[D]=L,I=I<0?-I<<1|1:I<<1;do{let j=31&I;I>>>=5,I>0&&(j|=32),A[x++]=s[j]}while(I>0);return x}u.decode=p,u.encode=S,Object.defineProperty(u,"__esModule",{value:!0})})(r)},"./node_modules/.pnpm/@jridgewell+trace-mapping@0.3.19/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.umd.js":function(o,r,u){(function(a,m,d){"use strict";function s(ae){return ae&&typeof ae=="object"&&"default"in ae?ae:{default:ae}}var l=s(d);function f(ae,se){return se&&!se.endsWith("/")&&(se+="/"),l.default(ae,se)}function p(ae){if(!ae)return"";let se=ae.lastIndexOf("/");return ae.slice(0,se+1)}let h=0,y=1,b=2,E=3,v=4,S=1,w=2;function A(ae,se){let ye=x(ae,0);if(ye===ae.length)return ae;se||(ae=ae.slice());for(let be=ye;be<ae.length;be=x(ae,be+1))ae[be]=P(ae[be],se);return ae}function x(ae,se){for(let ye=se;ye<ae.length;ye++)if(!C(ae[ye]))return ye;return ae.length}function C(ae){for(let se=1;se<ae.length;se++)if(ae[se][h]<ae[se-1][h])return!1;return!0}function P(ae,se){return se||(ae=ae.slice()),ae.sort(D)}function D(ae,se){return ae[h]-se[h]}let L=!1;function I(ae,se,ye,be){for(;ye<=be;){let Ee=ye+(be-ye>>1),oe=ae[Ee][h]-se;if(oe===0)return L=!0,Ee;oe<0?ye=Ee+1:be=Ee-1}return L=!1,ye-1}function j(ae,se,ye){for(let be=ye+1;be<ae.length&&ae[be][h]===se;ye=be++);return ye}function M(ae,se,ye){for(let be=ye-1;be>=0&&ae[be][h]===se;ye=be--);return ye}function R(){return{lastKey:-1,lastNeedle:-1,lastIndex:-1}}function z(ae,se,ye,be){let{lastKey:Ee,lastNeedle:oe,lastIndex:J}=ye,De=0,Ke=ae.length-1;if(be===Ee){if(se===oe)return L=J!==-1&&ae[J][h]===se,J;se>=oe?De=J===-1?0:J:Ke=J}return ye.lastKey=be,ye.lastNeedle=se,ye.lastIndex=I(ae,se,De,Ke)}function Y(ae,se){let ye=se.map(G);for(let be=0;be<ae.length;be++){let Ee=ae[be];for(let oe=0;oe<Ee.length;oe++){let J=Ee[oe];if(J.length===1)continue;let De=J[y],Ke=J[b],ke=J[E],Qe=ye[De],pt=Qe[Ke]||(Qe[Ke]=[]),dt=se[De],Ue=j(pt,ke,z(pt,ke,dt,Ke));$(pt,dt.lastIndex=Ue+1,[ke,be,J[h]])}}return ye}function $(ae,se,ye){for(let be=ae.length;be>se;be--)ae[be]=ae[be-1];ae[se]=ye}function G(){return{__proto__:null}}let U=function(ae,se){let ye=typeof ae=="string"?JSON.parse(ae):ae;if(!("sections"in ye))return new ne(ye,se);let be=[],Ee=[],oe=[],J=[];B(ye,se,be,Ee,oe,J,0,0,1/0,1/0);let De={version:3,file:ye.file,names:J,sources:Ee,sourcesContent:oe,mappings:be};return a.presortedDecodedMap(De)};function B(ae,se,ye,be,Ee,oe,J,De,Ke,ke){let{sections:Qe}=ae;for(let pt=0;pt<Qe.length;pt++){let{map:dt,offset:Ue}=Qe[pt],ce=Ke,xe=ke;if(pt+1<Qe.length){let he=Qe[pt+1].offset;ce=Math.min(Ke,J+he.line),ce===Ke?xe=Math.min(ke,De+he.column):ce<Ke&&(xe=De+he.column)}N(dt,se,ye,be,Ee,oe,J+Ue.line,De+Ue.column,ce,xe)}}function N(ae,se,ye,be,Ee,oe,J,De,Ke,ke){if("sections"in ae)return B(...arguments);let Qe=new ne(ae,se),pt=be.length,dt=oe.length,Ue=a.decodedMappings(Qe),{resolvedSources:ce,sourcesContent:xe}=Qe;if(X(be,ce),X(oe,Qe.names),xe)X(Ee,xe);else for(let he=0;he<ce.length;he++)Ee.push(null);for(let he=0;he<Ue.length;he++){let ve=J+he;if(ve>Ke)return;let et=H(ye,ve),ut=he===0?De:0,Kt=Ue[he];for(let zt=0;zt<Kt.length;zt++){let Zt=Kt[zt],Ar=ut+Zt[h];if(ve===Ke&&Ar>=ke)return;if(Zt.length===1){et.push([Ar]);continue}let er=pt+Zt[y],nt=Zt[b],Ce=Zt[E];et.push(Zt.length===4?[Ar,er,nt,Ce]:[Ar,er,nt,Ce,dt+Zt[v]])}}}function X(ae,se){for(let ye=0;ye<se.length;ye++)ae.push(se[ye])}function H(ae,se){for(let ye=ae.length;ye<=se;ye++)ae[ye]=[];return ae[se]}let F="`line` must be greater than 0 (lines start at line 1)",W="`column` must be greater than or equal to 0 (columns start at column 0)",V=-1,Q=1;a.encodedMappings=void 0,a.decodedMappings=void 0,a.traceSegment=void 0,a.originalPositionFor=void 0,a.generatedPositionFor=void 0,a.allGeneratedPositionsFor=void 0,a.eachMapping=void 0,a.sourceContentFor=void 0,a.presortedDecodedMap=void 0,a.decodedMap=void 0,a.encodedMap=void 0;class ne{constructor(se,ye){let be=typeof se=="string";if(!be&&se._decodedMemo)return se;let Ee=be?JSON.parse(se):se,{version:oe,file:J,names:De,sourceRoot:Ke,sources:ke,sourcesContent:Qe}=Ee;this.version=oe,this.file=J,this.names=De,this.sourceRoot=Ke,this.sources=ke,this.sourcesContent=Qe;let pt=f(Ke||"",p(ye));this.resolvedSources=ke.map(Ue=>f(Ue||"",pt));let{mappings:dt}=Ee;typeof dt=="string"?(this._encoded=dt,this._decoded=void 0):(this._encoded=void 0,this._decoded=A(dt,be)),this._decodedMemo=R(),this._bySources=void 0,this._bySourceMemos=void 0}}function ue(ae,se){return{version:ae.version,file:ae.file,names:ae.names,sourceRoot:ae.sourceRoot,sources:ae.sources,sourcesContent:ae.sourcesContent,mappings:se}}function de(ae,se,ye,be){return{source:ae,line:se,column:ye,name:be}}function Ae(ae,se){return{line:ae,column:se}}function Oe(ae,se,ye,be,Ee){let oe=z(ae,be,se,ye);return L?oe=(Ee===V?j:M)(ae,be,oe):Ee===V&&oe++,oe===-1||oe===ae.length?-1:oe}function Me(ae,se,ye,be,Ee){let oe=Oe(ae,se,ye,be,Q);if(L||Ee!==V||oe++,oe===-1||oe===ae.length)return[];let J=L?be:ae[oe][h];L||(oe=M(ae,J,oe));let De=j(ae,J,oe),Ke=[];for(;oe<=De;oe++){let ke=ae[oe];Ke.push(Ae(ke[S]+1,ke[w]))}return Ke}(()=>{function ae(se,ye,be,Ee,oe,J){if(--be<0)throw new Error(F);if(Ee<0)throw new Error(W);let{sources:De,resolvedSources:Ke}=se,ke=De.indexOf(ye);if(ke===-1&&(ke=Ke.indexOf(ye)),ke===-1)return J?[]:Ae(null,null);let Qe=(se._bySources||(se._bySources=Y(a.decodedMappings(se),se._bySourceMemos=De.map(R))))[ke][be];if(Qe==null)return J?[]:Ae(null,null);let pt=se._bySourceMemos[ke];if(J)return Me(Qe,pt,be,Ee,oe);let dt=Oe(Qe,pt,be,Ee,oe);if(dt===-1)return Ae(null,null);let Ue=Qe[dt];return Ae(Ue[S]+1,Ue[w])}a.encodedMappings=se=>{var ye;return(ye=se._encoded)!==null&&ye!==void 0?ye:se._encoded=m.encode(se._decoded)},a.decodedMappings=se=>se._decoded||(se._decoded=m.decode(se._encoded)),a.traceSegment=(se,ye,be)=>{let Ee=a.decodedMappings(se);if(ye>=Ee.length)return null;let oe=Ee[ye],J=Oe(oe,se._decodedMemo,ye,be,Q);return J===-1?null:oe[J]},a.originalPositionFor=(se,{line:ye,column:be,bias:Ee})=>{if(--ye<0)throw new Error(F);if(be<0)throw new Error(W);let oe=a.decodedMappings(se);if(ye>=oe.length)return de(null,null,null,null);let J=oe[ye],De=Oe(J,se._decodedMemo,ye,be,Ee||Q);if(De===-1)return de(null,null,null,null);let Ke=J[De];if(Ke.length===1)return de(null,null,null,null);let{names:ke,resolvedSources:Qe}=se;return de(Qe[Ke[y]],Ke[b]+1,Ke[E],Ke.length===5?ke[Ke[v]]:null)},a.allGeneratedPositionsFor=(se,{source:ye,line:be,column:Ee,bias:oe})=>ae(se,ye,be,Ee,oe||V,!0),a.generatedPositionFor=(se,{source:ye,line:be,column:Ee,bias:oe})=>ae(se,ye,be,Ee,oe||Q,!1),a.eachMapping=(se,ye)=>{let be=a.decodedMappings(se),{names:Ee,resolvedSources:oe}=se;for(let J=0;J<be.length;J++){let De=be[J];for(let Ke=0;Ke<De.length;Ke++){let ke=De[Ke],Qe=J+1,pt=ke[0],dt=null,Ue=null,ce=null,xe=null;ke.length!==1&&(dt=oe[ke[1]],Ue=ke[2]+1,ce=ke[3]),ke.length===5&&(xe=Ee[ke[4]]),ye({generatedLine:Qe,generatedColumn:pt,source:dt,originalLine:Ue,originalColumn:ce,name:xe})}}},a.sourceContentFor=(se,ye)=>{let{sources:be,resolvedSources:Ee,sourcesContent:oe}=se;if(oe==null)return null;let J=be.indexOf(ye);return J===-1&&(J=Ee.indexOf(ye)),J===-1?null:oe[J]},a.presortedDecodedMap=(se,ye)=>{let be=new ne(ue(se,[]),ye);return be._decoded=se.mappings,be},a.decodedMap=se=>ue(se,a.decodedMappings(se)),a.encodedMap=se=>ue(se,a.encodedMappings(se))})(),a.AnyMap=U,a.GREATEST_LOWER_BOUND=Q,a.LEAST_UPPER_BOUND=V,a.TraceMap=ne,Object.defineProperty(a,"__esModule",{value:!0})})(r,u("./node_modules/.pnpm/@jridgewell+sourcemap-codec@1.4.15/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.js"),u("./node_modules/.pnpm/@jridgewell+resolve-uri@3.1.1/node_modules/@jridgewell/resolve-uri/dist/resolve-uri.umd.js"))},"./node_modules/.pnpm/babel-plugin-dynamic-import-node@2.3.3/node_modules/babel-plugin-dynamic-import-node/lib/index.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(m){var d=(0,a.createDynamicImportTransform)(m);return{manipulateOptions:function(s,l){l.plugins.push("dynamicImport")},visitor:{Import:function(s){d(this,s)}}}};var a=u("./node_modules/.pnpm/babel-plugin-dynamic-import-node@2.3.3/node_modules/babel-plugin-dynamic-import-node/lib/utils.js");o.exports=r.default},"./node_modules/.pnpm/babel-plugin-dynamic-import-node@2.3.3/node_modules/babel-plugin-dynamic-import-node/lib/utils.js":(o,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var u=function(m,d){if(Array.isArray(m))return m;if(Symbol.iterator in Object(m))return function(s,l){var f=[],p=!0,h=!1,y=void 0;try{for(var b,E=s[Symbol.iterator]();!(p=(b=E.next()).done)&&(f.push(b.value),!l||f.length!==l);p=!0);}catch(v){h=!0,y=v}finally{try{!p&&E.return&&E.return()}finally{if(h)throw y}}return f}(m,d);throw new TypeError("Invalid attempt to destructure non-iterable instance")};function a(m,d){var s=d.arguments,l=u(s,1)[0];return m.isStringLiteral(l)||m.isTemplateLiteral(l)?(m.removeComments(l),l):m.templateLiteral([m.templateElement({raw:"",cooked:""}),m.templateElement({raw:"",cooked:""},!0)],s)}r.getImportSource=a,r.createDynamicImportTransform=function(m){var d=m.template,s=m.types,l={static:{interop:d("Promise.resolve().then(() => INTEROP(require(SOURCE)))"),noInterop:d("Promise.resolve().then(() => require(SOURCE))")},dynamic:{interop:d("Promise.resolve(SOURCE).then(s => INTEROP(require(s)))"),noInterop:d("Promise.resolve(SOURCE).then(s => require(s))")}},f=typeof WeakSet=="function"&&new WeakSet;return function(p,h){if(f){if(f.has(h))return;f.add(h)}var y,b=a(s,h.parent),E=(y=b,s.isStringLiteral(y)||s.isTemplateLiteral(y)&&y.expressions.length===0?l.static:l.dynamic),v=p.opts.noInterop?E.noInterop({SOURCE:b}):E.interop({SOURCE:b,INTEROP:p.addHelper("interopRequireWildcard")});h.parentPath.replaceWith(v)}}},"./node_modules/.pnpm/babel-plugin-parameter-decorator@1.0.16/node_modules/babel-plugin-parameter-decorator/lib/index.js":(o,r,u)=>{"use strict";var a=u("path");function m(d){switch(d.parent.type){case"TSTypeReference":case"TSQualifiedName":case"TSExpressionWithTypeArguments":case"TSTypeQuery":return!0;default:return!1}}o.exports=function(d){var s=d.types,l=function(p,h){return function(y){var b=s.callExpression(p.expression,[s.Identifier(y),s.Identifier("undefined"),s.NumericLiteral(h.key)]),E=s.logicalExpression("||",b,s.Identifier(y)),v=s.assignmentExpression("=",s.Identifier(y),E);return s.expressionStatement(v)}},f=function(p,h){return function(y,b){var E=s.callExpression(p.expression,[s.Identifier("".concat(y,".prototype")),s.StringLiteral(b),s.NumericLiteral(h.key)]);return s.expressionStatement(E)}};return{visitor:{Program:function(p,h){var y=(0,a.extname)(h.file.opts.filename);y!==".ts"&&y!==".tsx"||function(){var b=Object.create(null);p.node.body.filter(function(M){var R=M.type,z=M.declaration;switch(R){case"ClassDeclaration":return!0;case"ExportNamedDeclaration":case"ExportDefaultDeclaration":return z&&z.type==="ClassDeclaration";default:return!1}}).map(function(M){return M.type==="ClassDeclaration"?M:M.declaration}).forEach(function(M){M.body.body.forEach(function(R){(R.params||[]).forEach(function(z){(z.decorators||[]).forEach(function(Y){Y.expression.callee?b[Y.expression.callee.name]=Y:b[Y.expression.name]=Y})})})});var E=!0,v=!1,S=void 0;try{for(var w,A=p.get("body")[Symbol.iterator]();!(E=(w=A.next()).done);E=!0){var x=w.value;if(x.node.type==="ImportDeclaration"){if(x.node.specifiers.length===0)continue;var C=!0,P=!1,D=void 0;try{for(var L,I=function(){var M=L.value,R=x.scope.getBinding(M.local.name);R.referencePaths.length?R.referencePaths.reduce(function(z,Y){return z||m(Y)},!1)&&Object.keys(b).forEach(function(z){var Y=b[z];(Y.expression.arguments||[]).forEach(function($){$.name===M.local.name&&R.referencePaths.push({parent:Y.expression})})}):b[M.local.name]&&R.referencePaths.push({parent:b[M.local.name]})},j=x.node.specifiers[Symbol.iterator]();!(C=(L=j.next()).done);C=!0)I()}catch(M){P=!0,D=M}finally{try{C||j.return==null||j.return()}finally{if(P)throw D}}}}}catch(M){v=!0,S=M}finally{try{E||A.return==null||A.return()}finally{if(v)throw S}}}()},Function:function(p){var h="";p.node.id?h=p.node.id.name:p.node.key&&(h=p.node.key.name),(p.get("params")||[]).slice().forEach(function(y){var b=y.node.decorators||[],E=b.length;if(b.slice().forEach(function(S){if(p.type==="ClassMethod"){var w,A=p.parentPath.parentPath,x=p.findParent(function(M){return M.type==="ClassDeclaration"});if(x?w=x.node.id.name:(A.insertAfter(null),w=function(M){var R=M.findParent(function(z){return z.node.type==="AssignmentExpression"});return R.node.right.type==="SequenceExpression"?R.node.right.expressions[1].name:R.node.right.type==="ClassExpression"?R.node.left.name:null}(p)),h==="constructor"){var C=l(S,y)(w);A.insertAfter(C)}else{var P=f(S,y)(w,h);A.insertAfter(P)}}else{var D=p.findParent(function(M){return M.node.type==="VariableDeclarator"}).node.id.name;if(h===D){var L=l(S,y)(D);p.parentKey==="body"?p.insertAfter(L):p.findParent(function(M){return M.parentKey==="body"}).insertAfter(L)}else{var I=p.findParent(function(M){return M.node.type==="CallExpression"}),j=f(S,y)(D,h);I.insertAfter(j)}}}),E){var v=function(S){switch(S.node.type){case"ObjectPattern":return s.ObjectPattern(S.node.properties);case"AssignmentPattern":return s.AssignmentPattern(S.node.left,S.node.right);case"TSParameterProperty":return s.Identifier(S.node.parameter.name);default:return s.Identifier(S.node.name)}}(y);y.replaceWith(v)}})}}}}},"./node_modules/.pnpm/babel-plugin-transform-typescript-metadata@0.3.2_@babel+core@7.22.15/node_modules/babel-plugin-transform-typescript-metadata/lib/metadata/metadataVisitor.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.metadataVisitor=function(s,l){let f=l.node,p=s.node;switch(f.type){case"ClassMethod":let h=f.kind==="constructor"?p.decorators:f.decorators;if(!h||h.length===0)return;h.push(d("design:type",a.types.identifier("Function"))),h.push(d("design:paramtypes",a.types.arrayExpression(f.params.map(y=>(0,m.serializeType)(s,y)))));break;case"ClassProperty":if(!f.decorators||f.decorators.length===0||!f.typeAnnotation||f.typeAnnotation.type!=="TSTypeAnnotation")return;f.decorators.push(d("design:type",(0,m.serializeType)(s,f)))}};var a=u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/index.js"),m=u("./node_modules/.pnpm/babel-plugin-transform-typescript-metadata@0.3.2_@babel+core@7.22.15/node_modules/babel-plugin-transform-typescript-metadata/lib/metadata/serializeType.js");function d(s,l){return a.types.decorator(a.types.callExpression(a.types.memberExpression(a.types.identifier("Reflect"),a.types.identifier("metadata")),[a.types.stringLiteral(s),l]))}},"./node_modules/.pnpm/babel-plugin-transform-typescript-metadata@0.3.2_@babel+core@7.22.15/node_modules/babel-plugin-transform-typescript-metadata/lib/metadata/serializeType.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.serializeType=function(y,b){let E=d(b);if(E==null||!E.typeAnnotation||E.typeAnnotation.type!=="TSTypeAnnotation")return m();let v=E.typeAnnotation.typeAnnotation;return p(y.node.id?y.node.id.name:"",v)},r.isClassType=l;var a=u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/index.js");function m(){return a.types.unaryExpression("void",a.types.numericLiteral(0))}function d(y){return y==null?null:y.type==="ClassProperty"||y.type==="Identifier"||y.type==="ObjectPattern"?y:y.type==="AssignmentPattern"&&y.left.type==="Identifier"?y.left:y.type==="TSParameterProperty"?d(y.parameter):null}function s(y,b){let E=f(b.typeName);return l(y,E)?a.types.identifier("Object"):a.types.conditionalExpression(a.types.binaryExpression("===",a.types.unaryExpression("typeof",E),a.types.stringLiteral("undefined")),a.types.identifier("Object"),a.types.cloneDeep(E))}function l(y,b){switch(b.type){case"Identifier":return b.name===y;case"MemberExpression":return l(y,b.object);default:throw new Error(`The property expression at ${b.start} is not valid as a Type to be used in Reflect.metadata`)}}function f(y){return y.type==="Identifier"?a.types.identifier(y.name):a.types.memberExpression(f(y.left),y.right)}function p(y,b){if(b===void 0)return a.types.identifier("Object");switch(b.type){case"TSVoidKeyword":case"TSUndefinedKeyword":case"TSNullKeyword":case"TSNeverKeyword":return m();case"TSParenthesizedType":return p(y,b.typeAnnotation);case"TSFunctionType":case"TSConstructorType":return a.types.identifier("Function");case"TSArrayType":case"TSTupleType":return a.types.identifier("Array");case"TSTypePredicate":case"TSBooleanKeyword":return a.types.identifier("Boolean");case"TSStringKeyword":return a.types.identifier("String");case"TSObjectKeyword":return a.types.identifier("Object");case"TSLiteralType":switch(b.literal.type){case"StringLiteral":return a.types.identifier("String");case"NumericLiteral":return a.types.identifier("Number");case"BooleanLiteral":return a.types.identifier("Boolean");default:throw new Error("Bad type for decorator"+b.literal)}case"TSNumberKeyword":case"TSBigIntKeyword":return a.types.identifier("Number");case"TSSymbolKeyword":return a.types.identifier("Symbol");case"TSTypeReference":return s(y,b);case"TSIntersectionType":case"TSUnionType":return h(y,b.types);case"TSConditionalType":return h(y,[b.trueType,b.falseType]);case"TSTypeQuery":case"TSTypeOperator":case"TSIndexedAccessType":case"TSMappedType":case"TSTypeLiteral":case"TSAnyKeyword":case"TSUnknownKeyword":case"TSThisType":break;default:throw new Error("Bad type for decorator")}return a.types.identifier("Object")}function h(y,b){let E;for(let v of b){for(;v.type==="TSParenthesizedType";)v=v.typeAnnotation;if(v.type==="TSNeverKeyword"||v.type==="TSNullKeyword"||v.type==="TSUndefinedKeyword")continue;let S=p(y,v);if(a.types.isIdentifier(S)&&S.name==="Object")return S;if(E){if(!a.types.isIdentifier(E)||!a.types.isIdentifier(S)||E.name!==S.name)return a.types.identifier("Object")}else E=S}return E||m()}},"./node_modules/.pnpm/babel-plugin-transform-typescript-metadata@0.3.2_@babel+core@7.22.15/node_modules/babel-plugin-transform-typescript-metadata/lib/parameter/parameterVisitor.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.parameterVisitor=function(d,s){if(s.type!=="ClassMethod"||s.node.type!=="ClassMethod"||s.node.key.type!=="Identifier")return;let l=s;(l.get("params")||[]).slice().forEach(function(f){let p;(f.node.type==="Identifier"||f.node.type==="ObjectPattern"?f.node:f.node.type==="TSParameterProperty"&&f.node.parameter.type==="Identifier"?f.node.parameter:null)!=null&&((f.node.decorators||[]).slice().forEach(function(h){l.node.kind==="constructor"?(p=m(f.key,h.expression,!0),d.node.decorators||(d.node.decorators=[]),d.node.decorators.push(p)):(p=m(f.key,h.expression,!1),l.node.decorators||(l.node.decorators=[]),l.node.decorators.push(p))}),p&&(f.node.decorators=null))})};var a=u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/index.js");function m(d,s,l=!1){return a.types.decorator(a.types.functionExpression(null,[a.types.identifier("target"),a.types.identifier("key")],a.types.blockStatement([a.types.returnStatement(a.types.callExpression(s,[a.types.identifier("target"),a.types.identifier(l?"undefined":"key"),a.types.numericLiteral(d)]))])))}},"./node_modules/.pnpm/babel-plugin-transform-typescript-metadata@0.3.2_@babel+core@7.22.15/node_modules/babel-plugin-transform-typescript-metadata/lib/plugin.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var a=u("./node_modules/.pnpm/@babel+helper-plugin-utils@7.22.5/node_modules/@babel/helper-plugin-utils/lib/index.js"),m=u("./node_modules/.pnpm/babel-plugin-transform-typescript-metadata@0.3.2_@babel+core@7.22.15/node_modules/babel-plugin-transform-typescript-metadata/lib/parameter/parameterVisitor.js"),d=u("./node_modules/.pnpm/babel-plugin-transform-typescript-metadata@0.3.2_@babel+core@7.22.15/node_modules/babel-plugin-transform-typescript-metadata/lib/metadata/metadataVisitor.js"),s=(0,a.declare)(l=>(l.assertVersion(7),{visitor:{Program(f){f.traverse({ClassDeclaration(p){for(let h of p.get("body").get("body"))h.type!=="ClassMethod"&&h.type!=="ClassProperty"||((0,m.parameterVisitor)(p,h),(0,d.metadataVisitor)(p,h));p.parentPath.scope.crawl()}})}}}));r.default=s},"./node_modules/.pnpm/convert-source-map@1.9.0/node_modules/convert-source-map/index.js":(o,r,u)=>{"use strict";var a,m=u("fs"),d=u("path");function s(l,f){(f=f||{}).isFileComment&&(l=function(p,h){var y=r.mapFileCommentRegex.exec(p),b=y[1]||y[2],E=d.resolve(h,b);try{return m.readFileSync(E,"utf8")}catch(v){throw new Error("An error occurred while trying to read the map file at "+E+`
|
|
`+v)}}(l,f.commentFileDir)),f.hasComment&&(l=function(p){return p.split(",").pop()}(l)),f.isEncoded&&(l=a(l)),(f.isJSON||f.isEncoded)&&(l=JSON.parse(l)),this.sourcemap=l}Object.defineProperty(r,"commentRegex",{get:function(){return/^\s*\/(?:\/|\*)[@#]\s+sourceMappingURL=data:(?:application|text)\/json;(?:charset[:=]\S+?;)?base64,(?:.*)$/gm}}),Object.defineProperty(r,"mapFileCommentRegex",{get:function(){return/(?:\/\/[@#][ \t]+sourceMappingURL=([^\s'"`]+?)[ \t]*$)|(?:\/\*[@#][ \t]+sourceMappingURL=([^\*]+?)[ \t]*(?:\*\/){1}[ \t]*$)/gm}}),a=typeof Buffer<"u"?typeof Buffer.from=="function"?function(l){return Buffer.from(l,"base64").toString()}:function(l){if(typeof value=="number")throw new TypeError("The value to decode must not be of type number.");return new Buffer(l,"base64").toString()}:function(l){return decodeURIComponent(escape(atob(l)))},s.prototype.toJSON=function(l){return JSON.stringify(this.sourcemap,null,l)},typeof Buffer<"u"?typeof Buffer.from=="function"?s.prototype.toBase64=function(){var l=this.toJSON();return Buffer.from(l,"utf8").toString("base64")}:s.prototype.toBase64=function(){var l=this.toJSON();if(typeof l=="number")throw new TypeError("The json to encode must not be of type number.");return new Buffer(l,"utf8").toString("base64")}:s.prototype.toBase64=function(){var l=this.toJSON();return btoa(unescape(encodeURIComponent(l)))},s.prototype.toComment=function(l){var f="sourceMappingURL=data:application/json;charset=utf-8;base64,"+this.toBase64();return l&&l.multiline?"/*# "+f+" */":"//# "+f},s.prototype.toObject=function(){return JSON.parse(this.toJSON())},s.prototype.addProperty=function(l,f){if(this.sourcemap.hasOwnProperty(l))throw new Error('property "'+l+'" already exists on the sourcemap, use set property instead');return this.setProperty(l,f)},s.prototype.setProperty=function(l,f){return this.sourcemap[l]=f,this},s.prototype.getProperty=function(l){return this.sourcemap[l]},r.fromObject=function(l){return new s(l)},r.fromJSON=function(l){return new s(l,{isJSON:!0})},r.fromBase64=function(l){return new s(l,{isEncoded:!0})},r.fromComment=function(l){return new s(l=l.replace(/^\/\*/g,"//").replace(/\*\/$/g,""),{isEncoded:!0,hasComment:!0})},r.fromMapFileComment=function(l,f){return new s(l,{commentFileDir:f,isFileComment:!0,isJSON:!0})},r.fromSource=function(l){var f=l.match(r.commentRegex);return f?r.fromComment(f.pop()):null},r.fromMapFileSource=function(l,f){var p=l.match(r.mapFileCommentRegex);return p?r.fromMapFileComment(p.pop(),f):null},r.removeComments=function(l){return l.replace(r.commentRegex,"")},r.removeMapFileComments=function(l){return l.replace(r.mapFileCommentRegex,"")},r.generateMapFileComment=function(l,f){var p="sourceMappingURL="+l;return f&&f.multiline?"/*# "+p+" */":"//# "+p}},"./node_modules/.pnpm/debug@4.3.4/node_modules/debug/src/browser.js":(o,r,u)=>{r.formatArgs=function(m){if(m[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+m[0]+(this.useColors?"%c ":" ")+"+"+o.exports.humanize(this.diff),!this.useColors)return;let d="color: "+this.color;m.splice(1,0,d,"color: inherit");let s=0,l=0;m[0].replace(/%[a-zA-Z%]/g,f=>{f!=="%%"&&(s++,f==="%c"&&(l=s))}),m.splice(l,0,d)},r.save=function(m){try{m?r.storage.setItem("debug",m):r.storage.removeItem("debug")}catch{}},r.load=function(){let m;try{m=r.storage.getItem("debug")}catch{}return!m&&typeof process<"u"&&"env"in process&&(m=process.env.DEBUG),m},r.useColors=function(){return typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs)?!0:typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)?!1:typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},r.storage=function(){try{return localStorage}catch{}}(),r.destroy=(()=>{let m=!1;return()=>{m||(m=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),r.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],r.log=console.debug||console.log||(()=>{}),o.exports=u("./node_modules/.pnpm/debug@4.3.4/node_modules/debug/src/common.js")(r);let{formatters:a}=o.exports;a.j=function(m){try{return JSON.stringify(m)}catch(d){return"[UnexpectedJSONParseError]: "+d.message}}},"./node_modules/.pnpm/debug@4.3.4/node_modules/debug/src/common.js":(o,r,u)=>{o.exports=function(a){function m(l){let f,p,h,y=null;function b(...E){if(!b.enabled)return;let v=b,S=Number(new Date),w=S-(f||S);v.diff=w,v.prev=f,v.curr=S,f=S,E[0]=m.coerce(E[0]),typeof E[0]!="string"&&E.unshift("%O");let A=0;E[0]=E[0].replace(/%([a-zA-Z%])/g,(x,C)=>{if(x==="%%")return"%";A++;let P=m.formatters[C];if(typeof P=="function"){let D=E[A];x=P.call(v,D),E.splice(A,1),A--}return x}),m.formatArgs.call(v,E),(v.log||m.log).apply(v,E)}return b.namespace=l,b.useColors=m.useColors(),b.color=m.selectColor(l),b.extend=d,b.destroy=m.destroy,Object.defineProperty(b,"enabled",{enumerable:!0,configurable:!1,get:()=>y!==null?y:(p!==m.namespaces&&(p=m.namespaces,h=m.enabled(l)),h),set:E=>{y=E}}),typeof m.init=="function"&&m.init(b),b}function d(l,f){let p=m(this.namespace+(f===void 0?":":f)+l);return p.log=this.log,p}function s(l){return l.toString().substring(2,l.toString().length-2).replace(/\.\*\?$/,"*")}return m.debug=m,m.default=m,m.coerce=function(l){return l instanceof Error?l.stack||l.message:l},m.disable=function(){let l=[...m.names.map(s),...m.skips.map(s).map(f=>"-"+f)].join(",");return m.enable(""),l},m.enable=function(l){let f;m.save(l),m.namespaces=l,m.names=[],m.skips=[];let p=(typeof l=="string"?l:"").split(/[\s,]+/),h=p.length;for(f=0;f<h;f++)p[f]&&((l=p[f].replace(/\*/g,".*?"))[0]==="-"?m.skips.push(new RegExp("^"+l.slice(1)+"$")):m.names.push(new RegExp("^"+l+"$")))},m.enabled=function(l){if(l[l.length-1]==="*")return!0;let f,p;for(f=0,p=m.skips.length;f<p;f++)if(m.skips[f].test(l))return!1;for(f=0,p=m.names.length;f<p;f++)if(m.names[f].test(l))return!0;return!1},m.humanize=u("./node_modules/.pnpm/ms@2.1.2/node_modules/ms/index.js"),m.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(a).forEach(l=>{m[l]=a[l]}),m.names=[],m.skips=[],m.formatters={},m.selectColor=function(l){let f=0;for(let p=0;p<l.length;p++)f=(f<<5)-f+l.charCodeAt(p),f|=0;return m.colors[Math.abs(f)%m.colors.length]},m.enable(m.load()),m}},"./node_modules/.pnpm/debug@4.3.4/node_modules/debug/src/index.js":(o,r,u)=>{typeof process>"u"||process.type==="renderer"||process.browser===!0||process.__nwjs?o.exports=u("./node_modules/.pnpm/debug@4.3.4/node_modules/debug/src/browser.js"):o.exports=u("./node_modules/.pnpm/debug@4.3.4/node_modules/debug/src/node.js")},"./node_modules/.pnpm/debug@4.3.4/node_modules/debug/src/node.js":(o,r,u)=>{let a=u("tty"),m=u("util");r.init=function(s){s.inspectOpts={};let l=Object.keys(r.inspectOpts);for(let f=0;f<l.length;f++)s.inspectOpts[l[f]]=r.inspectOpts[l[f]]},r.log=function(...s){return process.stderr.write(m.format(...s)+`
|
|
`)},r.formatArgs=function(s){let{namespace:l,useColors:f}=this;if(f){let p=this.color,h="\x1B[3"+(p<8?p:"8;5;"+p),y=` ${h};1m${l} \x1B[0m`;s[0]=y+s[0].split(`
|
|
`).join(`
|
|
`+y),s.push(h+"m+"+o.exports.humanize(this.diff)+"\x1B[0m")}else s[0]=function(){return r.inspectOpts.hideDate?"":new Date().toISOString()+" "}()+l+" "+s[0]},r.save=function(s){s?process.env.DEBUG=s:delete process.env.DEBUG},r.load=function(){return process.env.DEBUG},r.useColors=function(){return"colors"in r.inspectOpts?!!r.inspectOpts.colors:a.isatty(process.stderr.fd)},r.destroy=m.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."),r.colors=[6,2,3,4,5,1];try{let s=u("./node_modules/.pnpm/supports-color@7.2.0/node_modules/supports-color/index.js");s&&(s.stderr||s).level>=2&&(r.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221])}catch{}r.inspectOpts=Object.keys(process.env).filter(s=>/^debug_/i.test(s)).reduce((s,l)=>{let f=l.substring(6).toLowerCase().replace(/_([a-z])/g,(h,y)=>y.toUpperCase()),p=process.env[l];return p=!!/^(yes|on|true|enabled)$/i.test(p)||!/^(no|off|false|disabled)$/i.test(p)&&(p==="null"?null:Number(p)),s[f]=p,s},{}),o.exports=u("./node_modules/.pnpm/debug@4.3.4/node_modules/debug/src/common.js")(r);let{formatters:d}=o.exports;d.o=function(s){return this.inspectOpts.colors=this.useColors,m.inspect(s,this.inspectOpts).split(`
|
|
`).map(l=>l.trim()).join(" ")},d.O=function(s){return this.inspectOpts.colors=this.useColors,m.inspect(s,this.inspectOpts)}},"./node_modules/.pnpm/gensync@1.0.0-beta.2/node_modules/gensync/index.js":o=>{"use strict";let r=Symbol.for("gensync:v1:start"),u=Symbol.for("gensync:v1:suspend"),a="GENSYNC_EXPECTED_START",m="GENSYNC_EXPECTED_SUSPEND",d="GENSYNC_OPTIONS_ERROR";function s(S,w,A,x){if(typeof A===S||x&&A===void 0)return;let C;throw C=x?`Expected opts.${w} to be either a ${S}, or undefined.`:`Expected opts.${w} to be a ${S}.`,l(C,d)}function l(S,w){return Object.assign(new Error(S),{code:w})}function f({name:S,arity:w,sync:A,async:x}){return v(S,w,function*(...C){let P=yield r;if(!P)return A.call(this,C);let D;try{x.call(this,C,L=>{D||(D={value:L},P())},L=>{D||(D={err:L},P())})}catch(L){D={err:L},P()}if(yield u,D.hasOwnProperty("err"))throw D.err;return D.value})}function p(S){let w;for(;!({value:w}=S.next()).done;)y(w,S);return w}function h(S,w,A){(function x(){try{let C;for(;!({value:C}=S.next()).done;){y(C,S);let P=!0,D=!1,L=S.next(()=>{P?D=!0:x()});if(P=!1,b(L,S),!D)return}return w(C)}catch(C){return A(C)}})()}function y(S,w){S!==r&&E(w,l(`Got unexpected yielded value in gensync generator: ${JSON.stringify(S)}. Did you perhaps mean to use 'yield*' instead of 'yield'?`,a))}function b({value:S,done:w},A){(w||S!==u)&&E(A,l(w?"Unexpected generator completion. If you get this, it is probably a gensync bug.":`Expected GENSYNC_SUSPEND, got ${JSON.stringify(S)}. If you get this, it is probably a gensync bug.`,m))}function E(S,w){throw S.throw&&S.throw(w),w}function v(S,w,A){if(typeof S=="string"){let x=Object.getOwnPropertyDescriptor(A,"name");x&&!x.configurable||Object.defineProperty(A,"name",Object.assign(x||{},{configurable:!0,value:S}))}if(typeof w=="number"){let x=Object.getOwnPropertyDescriptor(A,"length");x&&!x.configurable||Object.defineProperty(A,"length",Object.assign(x||{},{configurable:!0,value:w}))}return A}o.exports=Object.assign(function(S){let w=S;return w=typeof S!="function"?function({name:A,arity:x,sync:C,async:P,errback:D}){if(s("string","name",A,!0),s("number","arity",x,!0),s("function","sync",C),s("function","async",P,!0),s("function","errback",D,!0),P&&D)throw l("Expected one of either opts.async or opts.errback, but got _both_.",d);if(typeof A!="string"){let L;D&&D.name&&D.name!=="errback"&&(L=D.name),P&&P.name&&P.name!=="async"&&(L=P.name.replace(/Async$/,"")),C&&C.name&&C.name!=="sync"&&(L=C.name.replace(/Sync$/,"")),typeof L=="string"&&(A=L)}return typeof x!="number"&&(x=C.length),f({name:A,arity:x,sync:function(L){return C.apply(this,L)},async:function(L,I,j){P?P.apply(this,L).then(I,j):D?D.call(this,...L,(M,R)=>{M==null?I(R):j(M)}):I(C.apply(this,L))}})}(S):function(A){return v(A.name,A.length,function(...x){return A.apply(this,x)})}(S),Object.assign(w,function(A){return{sync:function(...C){return p(A.apply(this,C))},async:function(...C){return new Promise((P,D)=>{h(A.apply(this,C),P,D)})},errback:function(...C){let P=C.pop();if(typeof P!="function")throw l("Asynchronous function called without callback","GENSYNC_ERRBACK_NO_CALLBACK");let D;try{D=A.apply(this,C)}catch(L){return void P(L)}h(D,L=>P(void 0,L),L=>P(L))}}}(w))},{all:f({name:"all",arity:1,sync:function(S){return Array.from(S[0]).map(w=>p(w))},async:function(S,w,A){let x=Array.from(S[0]);if(x.length===0)return void Promise.resolve().then(()=>w([]));let C=0,P=x.map(()=>{});x.forEach((D,L)=>{h(D,I=>{P[L]=I,C+=1,C===P.length&&w(P)},A)})}}),race:f({name:"race",arity:1,sync:function(S){let w=Array.from(S[0]);if(w.length===0)throw l("Must race at least 1 item","GENSYNC_RACE_NONEMPTY");return p(w[0])},async:function(S,w,A){let x=Array.from(S[0]);if(x.length===0)throw l("Must race at least 1 item","GENSYNC_RACE_NONEMPTY");for(let C of x)h(C,w,A)}})})},"./node_modules/.pnpm/globals@11.12.0/node_modules/globals/index.js":(o,r,u)=>{"use strict";o.exports=u("./node_modules/.pnpm/globals@11.12.0/node_modules/globals/globals.json")},"./node_modules/.pnpm/has-flag@4.0.0/node_modules/has-flag/index.js":o=>{"use strict";o.exports=(r,u=process.argv)=>{let a=r.startsWith("-")?"":r.length===1?"-":"--",m=u.indexOf(a+r),d=u.indexOf("--");return m!==-1&&(d===-1||m<d)}},"./node_modules/.pnpm/jsesc@2.5.2/node_modules/jsesc/jsesc.js":o=>{"use strict";let r={},u=r.hasOwnProperty,a=(b,E)=>{for(let v in b)u.call(b,v)&&E(v,b[v])},m=r.toString,d=Array.isArray,s=Buffer.isBuffer,l={'"':'\\"',"'":"\\'","\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r"," ":"\\t"},f=/["'\\\b\f\n\r\t]/,p=/[0-9]/,h=/[ !#-&\(-\[\]-_a-~]/,y=(b,E)=>{let v=()=>{I=L,++E.indentLevel,L=E.indent.repeat(E.indentLevel)},S={escapeEverything:!1,minimal:!1,isScriptContext:!1,quotes:"single",wrap:!1,es6:!1,json:!1,compact:!0,lowercaseHex:!1,numbers:"decimal",indent:" ",indentLevel:0,__inline1__:!1,__inline2__:!1},w=E&&E.json;var A,x;w&&(S.quotes="double",S.wrap=!0),A=S,(E=((x=E)&&a(x,(F,W)=>{A[F]=W}),A)).quotes!="single"&&E.quotes!="double"&&E.quotes!="backtick"&&(E.quotes="single");let C=E.quotes=="double"?'"':E.quotes=="backtick"?"`":"'",P=E.compact,D=E.lowercaseHex,L=E.indent.repeat(E.indentLevel),I="",j=E.__inline1__,M=E.__inline2__,R=P?"":`
|
|
`,z,Y=!0,$=E.numbers=="binary",G=E.numbers=="octal",U=E.numbers=="decimal",B=E.numbers=="hexadecimal";if(w&&b&&(F=>typeof F=="function")(b.toJSON)&&(b=b.toJSON()),!(F=>typeof F=="string"||m.call(F)=="[object String]")(b)){if((F=>m.call(F)=="[object Map]")(b))return b.size==0?"new Map()":(P||(E.__inline1__=!0,E.__inline2__=!1),"new Map("+y(Array.from(b),E)+")");if((F=>m.call(F)=="[object Set]")(b))return b.size==0?"new Set()":"new Set("+y(Array.from(b),E)+")";if(s(b))return b.length==0?"Buffer.from([])":"Buffer.from("+y(Array.from(b),E)+")";if(d(b))return z=[],E.wrap=!0,j&&(E.__inline1__=!1,E.__inline2__=!0),M||v(),((F,W)=>{let V=F.length,Q=-1;for(;++Q<V;)W(F[Q])})(b,F=>{Y=!1,M&&(E.__inline2__=!1),z.push((P||M?"":L)+y(F,E))}),Y?"[]":M?"["+z.join(", ")+"]":"["+R+z.join(","+R)+R+(P?"":I)+"]";if(!(F=>typeof F=="number"||m.call(F)=="[object Number]")(b))return(F=>m.call(F)=="[object Object]")(b)?(z=[],E.wrap=!0,v(),a(b,(F,W)=>{Y=!1,z.push((P?"":L)+y(F,E)+":"+(P?"":" ")+y(W,E))}),Y?"{}":"{"+R+z.join(","+R)+R+(P?"":I)+"}"):w?JSON.stringify(b)||"null":String(b);if(w)return JSON.stringify(b);if(U)return String(b);if(B){let F=b.toString(16);return D||(F=F.toUpperCase()),"0x"+F}if($)return"0b"+b.toString(2);if(G)return"0o"+b.toString(8)}let N=b,X=-1,H=N.length;for(z="";++X<H;){let F=N.charAt(X);if(E.es6){let ue=N.charCodeAt(X);if(ue>=55296&&ue<=56319&&H>X+1){let de=N.charCodeAt(X+1);if(de>=56320&&de<=57343){let Ae=(1024*(ue-55296)+de-56320+65536).toString(16);D||(Ae=Ae.toUpperCase()),z+="\\u{"+Ae+"}",++X;continue}}}if(!E.escapeEverything){if(h.test(F)){z+=F;continue}if(F=='"'){z+=C==F?'\\"':F;continue}if(F=="`"){z+=C==F?"\\`":F;continue}if(F=="'"){z+=C==F?"\\'":F;continue}}if(F=="\0"&&!w&&!p.test(N.charAt(X+1))){z+="\\0";continue}if(f.test(F)){z+=l[F];continue}let W=F.charCodeAt(0);if(E.minimal&&W!=8232&&W!=8233){z+=F;continue}let V=W.toString(16);D||(V=V.toUpperCase());let Q=V.length>2||w,ne="\\"+(Q?"u":"x")+("0000"+V).slice(Q?-4:-2);z+=ne}return E.wrap&&(z=C+z+C),C=="`"&&(z=z.replace(/\$\{/g,"\\${")),E.isScriptContext?z.replace(/<\/(script|style)/gi,"<\\/$1").replace(/<!--/g,w?"\\u003C!--":"\\x3C!--"):z};y.version="2.5.2",o.exports=y},"./node_modules/.pnpm/ms@2.1.2/node_modules/ms/index.js":o=>{var r=1e3,u=60*r,a=60*u,m=24*a,d=7*m,s=365.25*m;function l(f,p,h,y){var b=p>=1.5*h;return Math.round(f/h)+" "+y+(b?"s":"")}o.exports=function(f,p){p=p||{};var h=typeof f;if(h==="string"&&f.length>0)return function(y){if(!((y=String(y)).length>100)){var b=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(y);if(b){var E=parseFloat(b[1]);switch((b[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return E*s;case"weeks":case"week":case"w":return E*d;case"days":case"day":case"d":return E*m;case"hours":case"hour":case"hrs":case"hr":case"h":return E*a;case"minutes":case"minute":case"mins":case"min":case"m":return E*u;case"seconds":case"second":case"secs":case"sec":case"s":return E*r;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return E;default:return}}}}(f);if(h==="number"&&isFinite(f))return p.long?function(y){var b=Math.abs(y);return b>=m?l(y,b,m,"day"):b>=a?l(y,b,a,"hour"):b>=u?l(y,b,u,"minute"):b>=r?l(y,b,r,"second"):y+" ms"}(f):function(y){var b=Math.abs(y);return b>=m?Math.round(y/m)+"d":b>=a?Math.round(y/a)+"h":b>=u?Math.round(y/u)+"m":b>=r?Math.round(y/r)+"s":y+"ms"}(f);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(f))}},"./node_modules/.pnpm/semver@6.3.1/node_modules/semver/semver.js":(o,r)=>{var u;r=o.exports=w,u=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?function(){var F=Array.prototype.slice.call(arguments,0);F.unshift("SEMVER"),console.log.apply(console,F)}:function(){},r.SEMVER_SPEC_VERSION="2.0.0";var a=256,m=Number.MAX_SAFE_INTEGER||9007199254740991,d=a-6,s=r.re=[],l=r.safeRe=[],f=r.src=[],p=r.tokens={},h=0;function y(F){p[F]=h++}var b=[["\\s",1],["\\d",a],["[a-zA-Z0-9-]",d]];function E(F){for(var W=0;W<b.length;W++){var V=b[W][0],Q=b[W][1];F=F.split(V+"*").join(V+"{0,"+Q+"}").split(V+"+").join(V+"{1,"+Q+"}")}return F}y("NUMERICIDENTIFIER"),f[p.NUMERICIDENTIFIER]="0|[1-9]\\d*",y("NUMERICIDENTIFIERLOOSE"),f[p.NUMERICIDENTIFIERLOOSE]="\\d+",y("NONNUMERICIDENTIFIER"),f[p.NONNUMERICIDENTIFIER]="\\d*[a-zA-Z-][a-zA-Z0-9-]*",y("MAINVERSION"),f[p.MAINVERSION]="("+f[p.NUMERICIDENTIFIER]+")\\.("+f[p.NUMERICIDENTIFIER]+")\\.("+f[p.NUMERICIDENTIFIER]+")",y("MAINVERSIONLOOSE"),f[p.MAINVERSIONLOOSE]="("+f[p.NUMERICIDENTIFIERLOOSE]+")\\.("+f[p.NUMERICIDENTIFIERLOOSE]+")\\.("+f[p.NUMERICIDENTIFIERLOOSE]+")",y("PRERELEASEIDENTIFIER"),f[p.PRERELEASEIDENTIFIER]="(?:"+f[p.NUMERICIDENTIFIER]+"|"+f[p.NONNUMERICIDENTIFIER]+")",y("PRERELEASEIDENTIFIERLOOSE"),f[p.PRERELEASEIDENTIFIERLOOSE]="(?:"+f[p.NUMERICIDENTIFIERLOOSE]+"|"+f[p.NONNUMERICIDENTIFIER]+")",y("PRERELEASE"),f[p.PRERELEASE]="(?:-("+f[p.PRERELEASEIDENTIFIER]+"(?:\\."+f[p.PRERELEASEIDENTIFIER]+")*))",y("PRERELEASELOOSE"),f[p.PRERELEASELOOSE]="(?:-?("+f[p.PRERELEASEIDENTIFIERLOOSE]+"(?:\\."+f[p.PRERELEASEIDENTIFIERLOOSE]+")*))",y("BUILDIDENTIFIER"),f[p.BUILDIDENTIFIER]="[a-zA-Z0-9-]+",y("BUILD"),f[p.BUILD]="(?:\\+("+f[p.BUILDIDENTIFIER]+"(?:\\."+f[p.BUILDIDENTIFIER]+")*))",y("FULL"),y("FULLPLAIN"),f[p.FULLPLAIN]="v?"+f[p.MAINVERSION]+f[p.PRERELEASE]+"?"+f[p.BUILD]+"?",f[p.FULL]="^"+f[p.FULLPLAIN]+"$",y("LOOSEPLAIN"),f[p.LOOSEPLAIN]="[v=\\s]*"+f[p.MAINVERSIONLOOSE]+f[p.PRERELEASELOOSE]+"?"+f[p.BUILD]+"?",y("LOOSE"),f[p.LOOSE]="^"+f[p.LOOSEPLAIN]+"$",y("GTLT"),f[p.GTLT]="((?:<|>)?=?)",y("XRANGEIDENTIFIERLOOSE"),f[p.XRANGEIDENTIFIERLOOSE]=f[p.NUMERICIDENTIFIERLOOSE]+"|x|X|\\*",y("XRANGEIDENTIFIER"),f[p.XRANGEIDENTIFIER]=f[p.NUMERICIDENTIFIER]+"|x|X|\\*",y("XRANGEPLAIN"),f[p.XRANGEPLAIN]="[v=\\s]*("+f[p.XRANGEIDENTIFIER]+")(?:\\.("+f[p.XRANGEIDENTIFIER]+")(?:\\.("+f[p.XRANGEIDENTIFIER]+")(?:"+f[p.PRERELEASE]+")?"+f[p.BUILD]+"?)?)?",y("XRANGEPLAINLOOSE"),f[p.XRANGEPLAINLOOSE]="[v=\\s]*("+f[p.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+f[p.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+f[p.XRANGEIDENTIFIERLOOSE]+")(?:"+f[p.PRERELEASELOOSE]+")?"+f[p.BUILD]+"?)?)?",y("XRANGE"),f[p.XRANGE]="^"+f[p.GTLT]+"\\s*"+f[p.XRANGEPLAIN]+"$",y("XRANGELOOSE"),f[p.XRANGELOOSE]="^"+f[p.GTLT]+"\\s*"+f[p.XRANGEPLAINLOOSE]+"$",y("COERCE"),f[p.COERCE]="(^|[^\\d])(\\d{1,16})(?:\\.(\\d{1,16}))?(?:\\.(\\d{1,16}))?(?:$|[^\\d])",y("COERCERTL"),s[p.COERCERTL]=new RegExp(f[p.COERCE],"g"),l[p.COERCERTL]=new RegExp(E(f[p.COERCE]),"g"),y("LONETILDE"),f[p.LONETILDE]="(?:~>?)",y("TILDETRIM"),f[p.TILDETRIM]="(\\s*)"+f[p.LONETILDE]+"\\s+",s[p.TILDETRIM]=new RegExp(f[p.TILDETRIM],"g"),l[p.TILDETRIM]=new RegExp(E(f[p.TILDETRIM]),"g"),y("TILDE"),f[p.TILDE]="^"+f[p.LONETILDE]+f[p.XRANGEPLAIN]+"$",y("TILDELOOSE"),f[p.TILDELOOSE]="^"+f[p.LONETILDE]+f[p.XRANGEPLAINLOOSE]+"$",y("LONECARET"),f[p.LONECARET]="(?:\\^)",y("CARETTRIM"),f[p.CARETTRIM]="(\\s*)"+f[p.LONECARET]+"\\s+",s[p.CARETTRIM]=new RegExp(f[p.CARETTRIM],"g"),l[p.CARETTRIM]=new RegExp(E(f[p.CARETTRIM]),"g"),y("CARET"),f[p.CARET]="^"+f[p.LONECARET]+f[p.XRANGEPLAIN]+"$",y("CARETLOOSE"),f[p.CARETLOOSE]="^"+f[p.LONECARET]+f[p.XRANGEPLAINLOOSE]+"$",y("COMPARATORLOOSE"),f[p.COMPARATORLOOSE]="^"+f[p.GTLT]+"\\s*("+f[p.LOOSEPLAIN]+")$|^$",y("COMPARATOR"),f[p.COMPARATOR]="^"+f[p.GTLT]+"\\s*("+f[p.FULLPLAIN]+")$|^$",y("COMPARATORTRIM"),f[p.COMPARATORTRIM]="(\\s*)"+f[p.GTLT]+"\\s*("+f[p.LOOSEPLAIN]+"|"+f[p.XRANGEPLAIN]+")",s[p.COMPARATORTRIM]=new RegExp(f[p.COMPARATORTRIM],"g"),l[p.COMPARATORTRIM]=new RegExp(E(f[p.COMPARATORTRIM]),"g"),y("HYPHENRANGE"),f[p.HYPHENRANGE]="^\\s*("+f[p.XRANGEPLAIN]+")\\s+-\\s+("+f[p.XRANGEPLAIN]+")\\s*$",y("HYPHENRANGELOOSE"),f[p.HYPHENRANGELOOSE]="^\\s*("+f[p.XRANGEPLAINLOOSE]+")\\s+-\\s+("+f[p.XRANGEPLAINLOOSE]+")\\s*$",y("STAR"),f[p.STAR]="(<|>)?=?\\s*\\*";for(var v=0;v<h;v++)u(v,f[v]),s[v]||(s[v]=new RegExp(f[v]),l[v]=new RegExp(E(f[v])));function S(F,W){if(W&&typeof W=="object"||(W={loose:!!W,includePrerelease:!1}),F instanceof w)return F;if(typeof F!="string"||F.length>a||!(W.loose?l[p.LOOSE]:l[p.FULL]).test(F))return null;try{return new w(F,W)}catch{return null}}function w(F,W){if(W&&typeof W=="object"||(W={loose:!!W,includePrerelease:!1}),F instanceof w){if(F.loose===W.loose)return F;F=F.version}else if(typeof F!="string")throw new TypeError("Invalid Version: "+F);if(F.length>a)throw new TypeError("version is longer than "+a+" characters");if(!(this instanceof w))return new w(F,W);u("SemVer",F,W),this.options=W,this.loose=!!W.loose;var V=F.trim().match(W.loose?l[p.LOOSE]:l[p.FULL]);if(!V)throw new TypeError("Invalid Version: "+F);if(this.raw=F,this.major=+V[1],this.minor=+V[2],this.patch=+V[3],this.major>m||this.major<0)throw new TypeError("Invalid major version");if(this.minor>m||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>m||this.patch<0)throw new TypeError("Invalid patch version");V[4]?this.prerelease=V[4].split(".").map(function(Q){if(/^[0-9]+$/.test(Q)){var ne=+Q;if(ne>=0&&ne<m)return ne}return Q}):this.prerelease=[],this.build=V[5]?V[5].split("."):[],this.format()}r.parse=S,r.valid=function(F,W){var V=S(F,W);return V?V.version:null},r.clean=function(F,W){var V=S(F.trim().replace(/^[=v]+/,""),W);return V?V.version:null},r.SemVer=w,w.prototype.format=function(){return this.version=this.major+"."+this.minor+"."+this.patch,this.prerelease.length&&(this.version+="-"+this.prerelease.join(".")),this.version},w.prototype.toString=function(){return this.version},w.prototype.compare=function(F){return u("SemVer.compare",this.version,this.options,F),F instanceof w||(F=new w(F,this.options)),this.compareMain(F)||this.comparePre(F)},w.prototype.compareMain=function(F){return F instanceof w||(F=new w(F,this.options)),x(this.major,F.major)||x(this.minor,F.minor)||x(this.patch,F.patch)},w.prototype.comparePre=function(F){if(F instanceof w||(F=new w(F,this.options)),this.prerelease.length&&!F.prerelease.length)return-1;if(!this.prerelease.length&&F.prerelease.length)return 1;if(!this.prerelease.length&&!F.prerelease.length)return 0;var W=0;do{var V=this.prerelease[W],Q=F.prerelease[W];if(u("prerelease compare",W,V,Q),V===void 0&&Q===void 0)return 0;if(Q===void 0)return 1;if(V===void 0)return-1;if(V!==Q)return x(V,Q)}while(++W)},w.prototype.compareBuild=function(F){F instanceof w||(F=new w(F,this.options));var W=0;do{var V=this.build[W],Q=F.build[W];if(u("prerelease compare",W,V,Q),V===void 0&&Q===void 0)return 0;if(Q===void 0)return 1;if(V===void 0)return-1;if(V!==Q)return x(V,Q)}while(++W)},w.prototype.inc=function(F,W){switch(F){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",W);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",W);break;case"prepatch":this.prerelease.length=0,this.inc("patch",W),this.inc("pre",W);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",W),this.inc("pre",W);break;case"major":this.minor===0&&this.patch===0&&this.prerelease.length!==0||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":this.patch===0&&this.prerelease.length!==0||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":if(this.prerelease.length===0)this.prerelease=[0];else{for(var V=this.prerelease.length;--V>=0;)typeof this.prerelease[V]=="number"&&(this.prerelease[V]++,V=-2);V===-1&&this.prerelease.push(0)}W&&(this.prerelease[0]===W?isNaN(this.prerelease[1])&&(this.prerelease=[W,0]):this.prerelease=[W,0]);break;default:throw new Error("invalid increment argument: "+F)}return this.format(),this.raw=this.version,this},r.inc=function(F,W,V,Q){typeof V=="string"&&(Q=V,V=void 0);try{return new w(F,V).inc(W,Q).version}catch{return null}},r.diff=function(F,W){if(L(F,W))return null;var V=S(F),Q=S(W),ne="";if(V.prerelease.length||Q.prerelease.length){ne="pre";var ue="prerelease"}for(var de in V)if((de==="major"||de==="minor"||de==="patch")&&V[de]!==Q[de])return ne+de;return ue},r.compareIdentifiers=x;var A=/^[0-9]+$/;function x(F,W){var V=A.test(F),Q=A.test(W);return V&&Q&&(F=+F,W=+W),F===W?0:V&&!Q?-1:Q&&!V?1:F<W?-1:1}function C(F,W,V){return new w(F,V).compare(new w(W,V))}function P(F,W,V){return C(F,W,V)>0}function D(F,W,V){return C(F,W,V)<0}function L(F,W,V){return C(F,W,V)===0}function I(F,W,V){return C(F,W,V)!==0}function j(F,W,V){return C(F,W,V)>=0}function M(F,W,V){return C(F,W,V)<=0}function R(F,W,V,Q){switch(W){case"===":return typeof F=="object"&&(F=F.version),typeof V=="object"&&(V=V.version),F===V;case"!==":return typeof F=="object"&&(F=F.version),typeof V=="object"&&(V=V.version),F!==V;case"":case"=":case"==":return L(F,V,Q);case"!=":return I(F,V,Q);case">":return P(F,V,Q);case">=":return j(F,V,Q);case"<":return D(F,V,Q);case"<=":return M(F,V,Q);default:throw new TypeError("Invalid operator: "+W)}}function z(F,W){if(W&&typeof W=="object"||(W={loose:!!W,includePrerelease:!1}),F instanceof z){if(F.loose===!!W.loose)return F;F=F.value}if(!(this instanceof z))return new z(F,W);F=F.trim().split(/\s+/).join(" "),u("comparator",F,W),this.options=W,this.loose=!!W.loose,this.parse(F),this.semver===Y?this.value="":this.value=this.operator+this.semver.version,u("comp",this)}r.rcompareIdentifiers=function(F,W){return x(W,F)},r.major=function(F,W){return new w(F,W).major},r.minor=function(F,W){return new w(F,W).minor},r.patch=function(F,W){return new w(F,W).patch},r.compare=C,r.compareLoose=function(F,W){return C(F,W,!0)},r.compareBuild=function(F,W,V){var Q=new w(F,V),ne=new w(W,V);return Q.compare(ne)||Q.compareBuild(ne)},r.rcompare=function(F,W,V){return C(W,F,V)},r.sort=function(F,W){return F.sort(function(V,Q){return r.compareBuild(V,Q,W)})},r.rsort=function(F,W){return F.sort(function(V,Q){return r.compareBuild(Q,V,W)})},r.gt=P,r.lt=D,r.eq=L,r.neq=I,r.gte=j,r.lte=M,r.cmp=R,r.Comparator=z;var Y={};function $(F,W){if(W&&typeof W=="object"||(W={loose:!!W,includePrerelease:!1}),F instanceof $)return F.loose===!!W.loose&&F.includePrerelease===!!W.includePrerelease?F:new $(F.raw,W);if(F instanceof z)return new $(F.value,W);if(!(this instanceof $))return new $(F,W);if(this.options=W,this.loose=!!W.loose,this.includePrerelease=!!W.includePrerelease,this.raw=F.trim().split(/\s+/).join(" "),this.set=this.raw.split("||").map(function(V){return this.parseRange(V.trim())},this).filter(function(V){return V.length}),!this.set.length)throw new TypeError("Invalid SemVer Range: "+this.raw);this.format()}function G(F,W){for(var V=!0,Q=F.slice(),ne=Q.pop();V&&Q.length;)V=Q.every(function(ue){return ne.intersects(ue,W)}),ne=Q.pop();return V}function U(F){return!F||F.toLowerCase()==="x"||F==="*"}function B(F,W,V,Q,ne,ue,de,Ae,Oe,Me,ae,se,ye){return((W=U(V)?"":U(Q)?">="+V+".0.0":U(ne)?">="+V+"."+Q+".0":">="+W)+" "+(Ae=U(Oe)?"":U(Me)?"<"+(+Oe+1)+".0.0":U(ae)?"<"+Oe+"."+(+Me+1)+".0":se?"<="+Oe+"."+Me+"."+ae+"-"+se:"<="+Ae)).trim()}function N(F,W,V){for(var Q=0;Q<F.length;Q++)if(!F[Q].test(W))return!1;if(W.prerelease.length&&!V.includePrerelease){for(Q=0;Q<F.length;Q++)if(u(F[Q].semver),F[Q].semver!==Y&&F[Q].semver.prerelease.length>0){var ne=F[Q].semver;if(ne.major===W.major&&ne.minor===W.minor&&ne.patch===W.patch)return!0}return!1}return!0}function X(F,W,V){try{W=new $(W,V)}catch{return!1}return W.test(F)}function H(F,W,V,Q){var ne,ue,de,Ae,Oe;switch(F=new w(F,Q),W=new $(W,Q),V){case">":ne=P,ue=M,de=D,Ae=">",Oe=">=";break;case"<":ne=D,ue=j,de=P,Ae="<",Oe="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(X(F,W,Q))return!1;for(var Me=0;Me<W.set.length;++Me){var ae=W.set[Me],se=null,ye=null;if(ae.forEach(function(be){be.semver===Y&&(be=new z(">=0.0.0")),se=se||be,ye=ye||be,ne(be.semver,se.semver,Q)?se=be:de(be.semver,ye.semver,Q)&&(ye=be)}),se.operator===Ae||se.operator===Oe||(!ye.operator||ye.operator===Ae)&&ue(F,ye.semver)||ye.operator===Oe&&de(F,ye.semver))return!1}return!0}z.prototype.parse=function(F){var W=this.options.loose?l[p.COMPARATORLOOSE]:l[p.COMPARATOR],V=F.match(W);if(!V)throw new TypeError("Invalid comparator: "+F);this.operator=V[1]!==void 0?V[1]:"",this.operator==="="&&(this.operator=""),V[2]?this.semver=new w(V[2],this.options.loose):this.semver=Y},z.prototype.toString=function(){return this.value},z.prototype.test=function(F){if(u("Comparator.test",F,this.options.loose),this.semver===Y||F===Y)return!0;if(typeof F=="string")try{F=new w(F,this.options)}catch{return!1}return R(F,this.operator,this.semver,this.options)},z.prototype.intersects=function(F,W){if(!(F instanceof z))throw new TypeError("a Comparator is required");var V;if(W&&typeof W=="object"||(W={loose:!!W,includePrerelease:!1}),this.operator==="")return this.value===""||(V=new $(F.value,W),X(this.value,V,W));if(F.operator==="")return F.value===""||(V=new $(this.value,W),X(F.semver,V,W));var Q=!(this.operator!==">="&&this.operator!==">"||F.operator!==">="&&F.operator!==">"),ne=!(this.operator!=="<="&&this.operator!=="<"||F.operator!=="<="&&F.operator!=="<"),ue=this.semver.version===F.semver.version,de=!(this.operator!==">="&&this.operator!=="<="||F.operator!==">="&&F.operator!=="<="),Ae=R(this.semver,"<",F.semver,W)&&(this.operator===">="||this.operator===">")&&(F.operator==="<="||F.operator==="<"),Oe=R(this.semver,">",F.semver,W)&&(this.operator==="<="||this.operator==="<")&&(F.operator===">="||F.operator===">");return Q||ne||ue&&de||Ae||Oe},r.Range=$,$.prototype.format=function(){return this.range=this.set.map(function(F){return F.join(" ").trim()}).join("||").trim(),this.range},$.prototype.toString=function(){return this.range},$.prototype.parseRange=function(F){var W=this.options.loose,V=W?l[p.HYPHENRANGELOOSE]:l[p.HYPHENRANGE];F=F.replace(V,B),u("hyphen replace",F),F=F.replace(l[p.COMPARATORTRIM],"$1$2$3"),u("comparator trim",F,l[p.COMPARATORTRIM]),F=(F=(F=F.replace(l[p.TILDETRIM],"$1~")).replace(l[p.CARETTRIM],"$1^")).split(/\s+/).join(" ");var Q=W?l[p.COMPARATORLOOSE]:l[p.COMPARATOR],ne=F.split(" ").map(function(ue){return function(de,Ae){return u("comp",de,Ae),de=function(Oe,Me){return Oe.trim().split(/\s+/).map(function(ae){return function(se,ye){u("caret",se,ye);var be=ye.loose?l[p.CARETLOOSE]:l[p.CARET];return se.replace(be,function(Ee,oe,J,De,Ke){var ke;return u("caret",se,Ee,oe,J,De,Ke),U(oe)?ke="":U(J)?ke=">="+oe+".0.0 <"+(+oe+1)+".0.0":U(De)?ke=oe==="0"?">="+oe+"."+J+".0 <"+oe+"."+(+J+1)+".0":">="+oe+"."+J+".0 <"+(+oe+1)+".0.0":Ke?(u("replaceCaret pr",Ke),ke=oe==="0"?J==="0"?">="+oe+"."+J+"."+De+"-"+Ke+" <"+oe+"."+J+"."+(+De+1):">="+oe+"."+J+"."+De+"-"+Ke+" <"+oe+"."+(+J+1)+".0":">="+oe+"."+J+"."+De+"-"+Ke+" <"+(+oe+1)+".0.0"):(u("no pr"),ke=oe==="0"?J==="0"?">="+oe+"."+J+"."+De+" <"+oe+"."+J+"."+(+De+1):">="+oe+"."+J+"."+De+" <"+oe+"."+(+J+1)+".0":">="+oe+"."+J+"."+De+" <"+(+oe+1)+".0.0"),u("caret return",ke),ke})}(ae,Me)}).join(" ")}(de,Ae),u("caret",de),de=function(Oe,Me){return Oe.trim().split(/\s+/).map(function(ae){return function(se,ye){var be=ye.loose?l[p.TILDELOOSE]:l[p.TILDE];return se.replace(be,function(Ee,oe,J,De,Ke){var ke;return u("tilde",se,Ee,oe,J,De,Ke),U(oe)?ke="":U(J)?ke=">="+oe+".0.0 <"+(+oe+1)+".0.0":U(De)?ke=">="+oe+"."+J+".0 <"+oe+"."+(+J+1)+".0":Ke?(u("replaceTilde pr",Ke),ke=">="+oe+"."+J+"."+De+"-"+Ke+" <"+oe+"."+(+J+1)+".0"):ke=">="+oe+"."+J+"."+De+" <"+oe+"."+(+J+1)+".0",u("tilde return",ke),ke})}(ae,Me)}).join(" ")}(de,Ae),u("tildes",de),de=function(Oe,Me){return u("replaceXRanges",Oe,Me),Oe.split(/\s+/).map(function(ae){return function(se,ye){se=se.trim();var be=ye.loose?l[p.XRANGELOOSE]:l[p.XRANGE];return se.replace(be,function(Ee,oe,J,De,Ke,ke){u("xRange",se,Ee,oe,J,De,Ke,ke);var Qe=U(J),pt=Qe||U(De),dt=pt||U(Ke),Ue=dt;return oe==="="&&Ue&&(oe=""),ke=ye.includePrerelease?"-0":"",Qe?Ee=oe===">"||oe==="<"?"<0.0.0-0":"*":oe&&Ue?(pt&&(De=0),Ke=0,oe===">"?(oe=">=",pt?(J=+J+1,De=0,Ke=0):(De=+De+1,Ke=0)):oe==="<="&&(oe="<",pt?J=+J+1:De=+De+1),Ee=oe+J+"."+De+"."+Ke+ke):pt?Ee=">="+J+".0.0"+ke+" <"+(+J+1)+".0.0"+ke:dt&&(Ee=">="+J+"."+De+".0"+ke+" <"+J+"."+(+De+1)+".0"+ke),u("xRange return",Ee),Ee})}(ae,Me)}).join(" ")}(de,Ae),u("xrange",de),de=function(Oe,Me){return u("replaceStars",Oe,Me),Oe.trim().replace(l[p.STAR],"")}(de,Ae),u("stars",de),de}(ue,this.options)},this).join(" ").split(/\s+/);return this.options.loose&&(ne=ne.filter(function(ue){return!!ue.match(Q)})),ne=ne.map(function(ue){return new z(ue,this.options)},this)},$.prototype.intersects=function(F,W){if(!(F instanceof $))throw new TypeError("a Range is required");return this.set.some(function(V){return G(V,W)&&F.set.some(function(Q){return G(Q,W)&&V.every(function(ne){return Q.every(function(ue){return ne.intersects(ue,W)})})})})},r.toComparators=function(F,W){return new $(F,W).set.map(function(V){return V.map(function(Q){return Q.value}).join(" ").trim().split(" ")})},$.prototype.test=function(F){if(!F)return!1;if(typeof F=="string")try{F=new w(F,this.options)}catch{return!1}for(var W=0;W<this.set.length;W++)if(N(this.set[W],F,this.options))return!0;return!1},r.satisfies=X,r.maxSatisfying=function(F,W,V){var Q=null,ne=null;try{var ue=new $(W,V)}catch{return null}return F.forEach(function(de){ue.test(de)&&(Q&&ne.compare(de)!==-1||(ne=new w(Q=de,V)))}),Q},r.minSatisfying=function(F,W,V){var Q=null,ne=null;try{var ue=new $(W,V)}catch{return null}return F.forEach(function(de){ue.test(de)&&(Q&&ne.compare(de)!==1||(ne=new w(Q=de,V)))}),Q},r.minVersion=function(F,W){F=new $(F,W);var V=new w("0.0.0");if(F.test(V)||(V=new w("0.0.0-0"),F.test(V)))return V;V=null;for(var Q=0;Q<F.set.length;++Q)F.set[Q].forEach(function(ne){var ue=new w(ne.semver.version);switch(ne.operator){case">":ue.prerelease.length===0?ue.patch++:ue.prerelease.push(0),ue.raw=ue.format();case"":case">=":V&&!P(V,ue)||(V=ue);break;case"<":case"<=":break;default:throw new Error("Unexpected operation: "+ne.operator)}});return V&&F.test(V)?V:null},r.validRange=function(F,W){try{return new $(F,W).range||"*"}catch{return null}},r.ltr=function(F,W,V){return H(F,W,"<",V)},r.gtr=function(F,W,V){return H(F,W,">",V)},r.outside=H,r.prerelease=function(F,W){var V=S(F,W);return V&&V.prerelease.length?V.prerelease:null},r.intersects=function(F,W,V){return F=new $(F,V),W=new $(W,V),F.intersects(W)},r.coerce=function(F,W){if(F instanceof w)return F;if(typeof F=="number"&&(F=String(F)),typeof F!="string")return null;var V=null;if((W=W||{}).rtl){for(var Q;(Q=l[p.COERCERTL].exec(F))&&(!V||V.index+V[0].length!==F.length);)V&&Q.index+Q[0].length===V.index+V[0].length||(V=Q),l[p.COERCERTL].lastIndex=Q.index+Q[1].length+Q[2].length;l[p.COERCERTL].lastIndex=-1}else V=F.match(l[p.COERCE]);return V===null?null:S(V[2]+"."+(V[3]||"0")+"."+(V[4]||"0"),W)}},"./node_modules/.pnpm/supports-color@7.2.0/node_modules/supports-color/index.js":(o,r,u)=>{"use strict";let a=u("os"),m=u("tty"),d=u("./node_modules/.pnpm/has-flag@4.0.0/node_modules/has-flag/index.js"),{env:s}=process,l;function f(h){return h!==0&&{level:h,hasBasic:!0,has256:h>=2,has16m:h>=3}}function p(h,y){if(l===0)return 0;if(d("color=16m")||d("color=full")||d("color=truecolor"))return 3;if(d("color=256"))return 2;if(h&&!y&&l===void 0)return 0;let b=l||0;if(s.TERM==="dumb")return b;if(process.platform==="win32"){let E=a.release().split(".");return Number(E[0])>=10&&Number(E[2])>=10586?Number(E[2])>=14931?3:2:1}if("CI"in s)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some(E=>E in s)||s.CI_NAME==="codeship"?1:b;if("TEAMCITY_VERSION"in s)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(s.TEAMCITY_VERSION)?1:0;if(s.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in s){let E=parseInt((s.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(s.TERM_PROGRAM){case"iTerm.app":return E>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(s.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(s.TERM)||"COLORTERM"in s?1:b}d("no-color")||d("no-colors")||d("color=false")||d("color=never")?l=0:(d("color")||d("colors")||d("color=true")||d("color=always"))&&(l=1),"FORCE_COLOR"in s&&(l=s.FORCE_COLOR==="true"?1:s.FORCE_COLOR==="false"?0:s.FORCE_COLOR.length===0?1:Math.min(parseInt(s.FORCE_COLOR,10),3)),o.exports={supportsColor:function(h){return f(p(h,h&&h.isTTY))},stdout:f(p(!0,m.isatty(1))),stderr:f(p(!0,m.isatty(2)))}},"./node_modules/.pnpm/to-fast-properties@2.0.0/node_modules/to-fast-properties/index.js":o=>{"use strict";let r=null;function u(a){if(r!==null&&(r.property,1)){let m=r;return r=u.prototype=null,m}return r=u.prototype=a??Object.create(null),new u}u(),o.exports=function(a){return u(a)}},"./stubs/babel-codeframe.js":(o,r,u)=>{"use strict";function a(){return""}u.r(r),u.d(r,{codeFrameColumns:()=>a})},"./stubs/helper-compilation-targets.js":(o,r,u)=>{"use strict";function a(){return{}}u.r(r),u.d(r,{default:()=>a})},assert:o=>{"use strict";o.exports=yt("assert")},fs:o=>{"use strict";o.exports=yt("fs")},module:o=>{"use strict";o.exports=yt("module")},os:o=>{"use strict";o.exports=yt("os")},path:o=>{"use strict";o.exports=yt("path")},process:o=>{"use strict";o.exports=yt("process")},tty:o=>{"use strict";o.exports=yt("tty")},url:o=>{"use strict";o.exports=yt("url")},util:o=>{"use strict";o.exports=yt("util")},v8:o=>{"use strict";o.exports=yt("v8")},"./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/config/caching.js":(o,r,u)=>{"use strict";function a(){let w=u("./node_modules/.pnpm/gensync@1.0.0-beta.2/node_modules/gensync/index.js");return a=function(){return w},w}Object.defineProperty(r,"__esModule",{value:!0}),r.assertSimpleType=v,r.makeStrongCache=p,r.makeStrongCacheSync=function(w){return s(p(w))},r.makeWeakCache=f,r.makeWeakCacheSync=function(w){return s(f(w))};var m=u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/gensync-utils/async.js"),d=u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/config/util.js");let s=w=>a()(w).sync;function*l(){return!0}function f(w){return h(WeakMap,w)}function p(w){return h(Map,w)}function h(w,A){let x=new w,C=new w,P=new w;return function*(D,L){let I=yield*(0,m.isAsync)(),j=I?C:x,M=yield*function*(G,U,B,N,X){let H=yield*y(U,N,X);if(H.valid)return H;if(G){let F=yield*y(B,N,X);if(F.valid)return{valid:!0,value:yield*(0,m.waitFor)(F.value.promise)}}return{valid:!1,value:null}}(I,j,P,D,L);if(M.valid)return M.value;let R=new E(L),z=A(D,R),Y,$;return $=(0,d.isIterableIterator)(z)?yield*(0,m.onFirstPause)(z,()=>{Y=function(G,U,B){let N=new S;return b(U,G,B,N),N}(R,P,D)}):z,b(j,R,D,$),Y&&(P.delete(D),Y.release($)),$}}function*y(w,A,x){let C=w.get(A);if(C){for(let{value:P,valid:D}of C)if(yield*D(x))return{valid:!0,value:P}}return{valid:!1,value:null}}function b(w,A,x,C){A.configured()||A.forever();let P=w.get(x);switch(A.deactivate(),A.mode()){case"forever":P=[{value:C,valid:l}],w.set(x,P);break;case"invalidate":P=[{value:C,valid:A.validator()}],w.set(x,P);break;case"valid":P?P.push({value:C,valid:A.validator()}):(P=[{value:C,valid:A.validator()}],w.set(x,P))}}class E{constructor(A){this._active=!0,this._never=!1,this._forever=!1,this._invalidate=!1,this._configured=!1,this._pairs=[],this._data=void 0,this._data=A}simple(){return function(A){function x(C){if(typeof C!="boolean")return A.using(()=>v(C()));C?A.forever():A.never()}return x.forever=()=>A.forever(),x.never=()=>A.never(),x.using=C=>A.using(()=>v(C())),x.invalidate=C=>A.invalidate(()=>v(C())),x}(this)}mode(){return this._never?"never":this._forever?"forever":this._invalidate?"invalidate":"valid"}forever(){if(!this._active)throw new Error("Cannot change caching after evaluation has completed.");if(this._never)throw new Error("Caching has already been configured with .never()");this._forever=!0,this._configured=!0}never(){if(!this._active)throw new Error("Cannot change caching after evaluation has completed.");if(this._forever)throw new Error("Caching has already been configured with .forever()");this._never=!0,this._configured=!0}using(A){if(!this._active)throw new Error("Cannot change caching after evaluation has completed.");if(this._never||this._forever)throw new Error("Caching has already been configured with .never or .forever()");this._configured=!0;let x=A(this._data),C=(0,m.maybeAsync)(A,"You appear to be using an async cache handler, but Babel has been called synchronously");return(0,m.isThenable)(x)?x.then(P=>(this._pairs.push([P,C]),P)):(this._pairs.push([x,C]),x)}invalidate(A){return this._invalidate=!0,this.using(A)}validator(){let A=this._pairs;return function*(x){for(let[C,P]of A)if(C!==(yield*P(x)))return!1;return!0}}deactivate(){this._active=!1}configured(){return this._configured}}function v(w){if((0,m.isThenable)(w))throw new Error("You appear to be using an async cache handler, which your current version of Babel does not support. We may add support for this in the future, but if you're on the most recent version of @babel/core and still seeing this error, then you'll need to synchronously handle your caching logic.");if(w!=null&&typeof w!="string"&&typeof w!="boolean"&&typeof w!="number")throw new Error("Cache keys must be either string, boolean, number, null, or undefined.");return w}class S{constructor(){this.released=!1,this.promise=void 0,this._resolve=void 0,this.promise=new Promise(A=>{this._resolve=A})}release(A){this.released=!0,this._resolve(A)}}},"./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/config/config-chain.js":(o,r,u)=>{"use strict";function a(){let ae=u("path");return a=function(){return ae},ae}function m(){let ae=u("./node_modules/.pnpm/debug@4.3.4/node_modules/debug/src/index.js");return m=function(){return ae},ae}Object.defineProperty(r,"__esModule",{value:!0}),r.buildPresetChain=function*(ae,se){let ye=yield*v(ae,se);return ye?{plugins:Q(ye.plugins),presets:Q(ye.presets),options:ye.options.map(be=>V(be)),files:new Set}:null},r.buildPresetChainWalker=void 0,r.buildRootChain=function*(ae,se){let ye,be,Ee=new l.ConfigPrinter,oe=yield*L({options:ae,dirname:se.cwd},se,void 0,Ee);if(!oe)return null;let J=yield*Ee.output(),De;typeof ae.configFile=="string"?De=yield*(0,h.loadConfig)(ae.configFile,se.cwd,se.envName,se.caller):ae.configFile!==!1&&(De=yield*(0,h.findRootConfig)(se.root,se.envName,se.caller));let{babelrc:Ke,babelrcRoots:ke}=ae,Qe=se.cwd,pt=W(),dt=new l.ConfigPrinter;if(De){let et=C(De),ut=yield*j(et,se,void 0,dt);if(!ut)return null;ye=yield*dt.output(),Ke===void 0&&(Ke=et.options.babelrc),ke===void 0&&(Qe=et.dirname,ke=et.options.babelrcRoots),H(pt,ut)}let Ue,ce,xe=!1,he=W();if((Ke===!0||Ke===void 0)&&typeof se.filename=="string"){let et=yield*(0,h.findPackageData)(se.filename);if(et&&function(ut,Kt,zt,Zt){if(typeof zt=="boolean")return zt;let Ar=ut.root;if(zt===void 0)return Kt.directories.indexOf(Ar)!==-1;let er=zt;return Array.isArray(er)||(er=[er]),er=er.map(nt=>typeof nt=="string"?a().resolve(Zt,nt):nt),er.length===1&&er[0]===Ar?Kt.directories.indexOf(Ar)!==-1:er.some(nt=>(typeof nt=="string"&&(nt=(0,s.default)(nt,Zt)),Kt.directories.some(Ce=>Me(nt,Zt,Ce,ut))))}(se,et,ke,Qe)){if({ignore:Ue,config:ce}=yield*(0,h.findRelativeConfig)(et,se.envName,se.caller),Ue&&he.files.add(Ue.filepath),Ue&&Ae(se,Ue.ignore,null,Ue.dirname)&&(xe=!0),ce&&!xe){let ut=P(ce),Kt=new l.ConfigPrinter,zt=yield*j(ut,se,void 0,Kt);zt?(be=yield*Kt.output(),H(he,zt)):xe=!0}ce&&xe&&he.files.add(ce.filepath)}}se.showConfig&&console.log(`Babel configs on "${se.filename}" (ascending priority):
|
|
`+[ye,be,J].filter(et=>!!et).join(`
|
|
|
|
`)+`
|
|
-----End Babel configs-----`);let ve=H(H(H(W(),pt),he),oe);return{plugins:xe?[]:Q(ve.plugins),presets:xe?[]:Q(ve.presets),options:xe?[]:ve.options.map(et=>V(et)),fileHandling:xe?"ignored":"transpile",ignore:Ue||void 0,babelrc:ce||void 0,config:De||void 0,files:ve.files}};var d=u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/config/validation/options.js"),s=u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/config/pattern-to-regex.js"),l=u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/config/printer.js"),f=u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/errors/rewrite-stack-trace.js"),p=u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/errors/config-error.js"),h=u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/config/files/index.js"),y=u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/config/caching.js"),b=u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/config/config-descriptors.js");let E=m()("babel:config:config-chain"),v=N({root:ae=>S(ae),env:(ae,se)=>w(ae)(se),overrides:(ae,se)=>A(ae)(se),overridesEnv:(ae,se,ye)=>x(ae)(se)(ye),createLogger:()=>()=>{}});r.buildPresetChainWalker=v;let S=(0,y.makeWeakCacheSync)(ae=>$(ae,ae.alias,b.createUncachedDescriptors)),w=(0,y.makeWeakCacheSync)(ae=>(0,y.makeStrongCacheSync)(se=>G(ae,ae.alias,b.createUncachedDescriptors,se))),A=(0,y.makeWeakCacheSync)(ae=>(0,y.makeStrongCacheSync)(se=>U(ae,ae.alias,b.createUncachedDescriptors,se))),x=(0,y.makeWeakCacheSync)(ae=>(0,y.makeStrongCacheSync)(se=>(0,y.makeStrongCacheSync)(ye=>B(ae,ae.alias,b.createUncachedDescriptors,se,ye)))),C=(0,y.makeWeakCacheSync)(ae=>({filepath:ae.filepath,dirname:ae.dirname,options:(0,d.validate)("configfile",ae.options,ae.filepath)})),P=(0,y.makeWeakCacheSync)(ae=>({filepath:ae.filepath,dirname:ae.dirname,options:(0,d.validate)("babelrcfile",ae.options,ae.filepath)})),D=(0,y.makeWeakCacheSync)(ae=>({filepath:ae.filepath,dirname:ae.dirname,options:(0,d.validate)("extendsfile",ae.options,ae.filepath)})),L=N({root:ae=>$(ae,"base",b.createCachedDescriptors),env:(ae,se)=>G(ae,"base",b.createCachedDescriptors,se),overrides:(ae,se)=>U(ae,"base",b.createCachedDescriptors,se),overridesEnv:(ae,se,ye)=>B(ae,"base",b.createCachedDescriptors,se,ye),createLogger:(ae,se,ye)=>function(be,Ee,oe){var J;return oe?oe.configure(Ee.showConfig,l.ChainFormatter.Programmatic,{callerName:(J=Ee.caller)==null?void 0:J.name}):()=>{}}(0,se,ye)}),I=N({root:ae=>M(ae),env:(ae,se)=>R(ae)(se),overrides:(ae,se)=>z(ae)(se),overridesEnv:(ae,se,ye)=>Y(ae)(se)(ye),createLogger:(ae,se,ye)=>function(be,Ee,oe){return oe?oe.configure(Ee.showConfig,l.ChainFormatter.Config,{filepath:be}):()=>{}}(ae.filepath,se,ye)});function*j(ae,se,ye,be){let Ee=yield*I(ae,se,ye,be);return Ee==null||Ee.files.add(ae.filepath),Ee}let M=(0,y.makeWeakCacheSync)(ae=>$(ae,ae.filepath,b.createUncachedDescriptors)),R=(0,y.makeWeakCacheSync)(ae=>(0,y.makeStrongCacheSync)(se=>G(ae,ae.filepath,b.createUncachedDescriptors,se))),z=(0,y.makeWeakCacheSync)(ae=>(0,y.makeStrongCacheSync)(se=>U(ae,ae.filepath,b.createUncachedDescriptors,se))),Y=(0,y.makeWeakCacheSync)(ae=>(0,y.makeStrongCacheSync)(se=>(0,y.makeStrongCacheSync)(ye=>B(ae,ae.filepath,b.createUncachedDescriptors,se,ye))));function $({dirname:ae,options:se},ye,be){return be(ae,se,ye)}function G({dirname:ae,options:se},ye,be,Ee){var oe;let J=(oe=se.env)==null?void 0:oe[Ee];return J?be(ae,J,`${ye}.env["${Ee}"]`):null}function U({dirname:ae,options:se},ye,be,Ee){var oe;let J=(oe=se.overrides)==null?void 0:oe[Ee];if(!J)throw new Error("Assertion failure - missing override");return be(ae,J,`${ye}.overrides[${Ee}]`)}function B({dirname:ae,options:se},ye,be,Ee,oe){var J,De;let Ke=(J=se.overrides)==null?void 0:J[Ee];if(!Ke)throw new Error("Assertion failure - missing override");let ke=(De=Ke.env)==null?void 0:De[oe];return ke?be(ae,ke,`${ye}.overrides[${Ee}].env["${oe}"]`):null}function N({root:ae,env:se,overrides:ye,overridesEnv:be,createLogger:Ee}){return function*(oe,J,De=new Set,Ke){let{dirname:ke}=oe,Qe=[],pt=ae(oe);if(ne(pt,ke,J,oe.filepath)){Qe.push({config:pt,envName:void 0,index:void 0});let ce=se(oe,J.envName);ce&&ne(ce,ke,J,oe.filepath)&&Qe.push({config:ce,envName:J.envName,index:void 0}),(pt.options.overrides||[]).forEach((xe,he)=>{let ve=ye(oe,he);if(ne(ve,ke,J,oe.filepath)){Qe.push({config:ve,index:he,envName:void 0});let et=be(oe,he,J.envName);et&&ne(et,ke,J,oe.filepath)&&Qe.push({config:et,index:he,envName:J.envName})}})}if(Qe.some(({config:{options:{ignore:ce,only:xe}}})=>Ae(J,ce,xe,ke)))return null;let dt=W(),Ue=Ee(oe,J,Ke);for(let{config:ce,index:xe,envName:he}of Qe){if(!(yield*X(dt,ce.options,ke,J,De,Ke)))return null;Ue(ce,xe,he),yield*F(dt,ce)}return dt}}function*X(ae,se,ye,be,Ee,oe){if(se.extends===void 0)return!0;let J=yield*(0,h.loadConfig)(se.extends,ye,be.envName,be.caller);if(Ee.has(J))throw new Error(`Configuration cycle detected loading ${J.filepath}.
|
|
File already loaded following the config chain:
|
|
`+Array.from(Ee,Ke=>` - ${Ke.filepath}`).join(`
|
|
`));Ee.add(J);let De=yield*j(D(J),be,Ee,oe);return Ee.delete(J),!!De&&(H(ae,De),!0)}function H(ae,se){ae.options.push(...se.options),ae.plugins.push(...se.plugins),ae.presets.push(...se.presets);for(let ye of se.files)ae.files.add(ye);return ae}function*F(ae,{options:se,plugins:ye,presets:be}){return ae.options.push(se),ae.plugins.push(...yield*ye()),ae.presets.push(...yield*be()),ae}function W(){return{options:[],presets:[],plugins:[],files:new Set}}function V(ae){let se=Object.assign({},ae);return delete se.extends,delete se.env,delete se.overrides,delete se.plugins,delete se.presets,delete se.passPerPreset,delete se.ignore,delete se.only,delete se.test,delete se.include,delete se.exclude,Object.prototype.hasOwnProperty.call(se,"sourceMap")&&(se.sourceMaps=se.sourceMap,delete se.sourceMap),se}function Q(ae){let se=new Map,ye=[];for(let be of ae)if(typeof be.value=="function"){let Ee=be.value,oe=se.get(Ee);oe||(oe=new Map,se.set(Ee,oe));let J=oe.get(be.name);J?J.value=be:(J={value:be},ye.push(J),be.ownPass||oe.set(be.name,J))}else ye.push({value:be});return ye.reduce((be,Ee)=>(be.push(Ee.value),be),[])}function ne({options:ae},se,ye,be){return(ae.test===void 0||ue(ye,ae.test,se,be))&&(ae.include===void 0||ue(ye,ae.include,se,be))&&(ae.exclude===void 0||!ue(ye,ae.exclude,se,be))}function ue(ae,se,ye,be){return Oe(ae,Array.isArray(se)?se:[se],ye,be)}function de(ae,se){return se instanceof RegExp?String(se):se}function Ae(ae,se,ye,be){if(se&&Oe(ae,se,be)){var Ee;let J=`No config is applied to "${(Ee=ae.filename)!=null?Ee:"(unknown)"}" because it matches one of \`ignore: ${JSON.stringify(se,de)}\` from "${be}"`;return E(J),ae.showConfig&&console.log(J),!0}if(ye&&!Oe(ae,ye,be)){var oe;let J=`No config is applied to "${(oe=ae.filename)!=null?oe:"(unknown)"}" because it fails to match one of \`only: ${JSON.stringify(ye,de)}\` from "${be}"`;return E(J),ae.showConfig&&console.log(J),!0}return!1}function Oe(ae,se,ye,be){return se.some(Ee=>Me(Ee,ye,ae.filename,ae,be))}function Me(ae,se,ye,be,Ee){if(typeof ae=="function")return!!(0,f.endHiddenCallStack)(ae)(ye,{dirname:se,envName:be.envName,caller:be.caller});if(typeof ye!="string")throw new p.default("Configuration contains string/RegExp pattern, but no filename was passed to Babel",Ee);return typeof ae=="string"&&(ae=(0,s.default)(ae,se)),ae.test(ye)}},"./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/config/config-descriptors.js":(o,r,u)=>{"use strict";function a(){let D=u("./node_modules/.pnpm/gensync@1.0.0-beta.2/node_modules/gensync/index.js");return a=function(){return D},D}Object.defineProperty(r,"__esModule",{value:!0}),r.createCachedDescriptors=function(D,L,I){let{plugins:j,presets:M,passPerPreset:R}=L;return{options:h(L,D),plugins:j?()=>v(j,D)(I):()=>p([]),presets:M?()=>b(M,D)(I)(!!R):()=>p([])}},r.createDescriptor=P,r.createUncachedDescriptors=function(D,L,I){return{options:h(L,D),plugins:(0,m.once)(()=>x(L.plugins||[],D,I)),presets:(0,m.once)(()=>A(L.presets||[],D,I,!!L.passPerPreset))}};var m=u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/gensync-utils/functional.js"),d=u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/config/files/index.js"),s=u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/config/item.js"),l=u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/config/caching.js"),f=u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/config/resolve-targets.js");function*p(D){return D}function h(D,L){return typeof D.browserslistConfigFile=="string"&&(D.browserslistConfigFile=(0,f.resolveBrowserslistConfigFile)(D.browserslistConfigFile,L)),D}let y=new WeakMap,b=(0,l.makeWeakCacheSync)((D,L)=>{let I=L.using(j=>j);return(0,l.makeStrongCacheSync)(j=>(0,l.makeStrongCache)(function*(M){return(yield*A(D,I,j,M)).map(R=>w(y,R))}))}),E=new WeakMap,v=(0,l.makeWeakCacheSync)((D,L)=>{let I=L.using(j=>j);return(0,l.makeStrongCache)(function*(j){return(yield*x(D,I,j)).map(M=>w(E,M))})}),S={};function w(D,L){let{value:I,options:j=S}=L;if(j===!1)return L;let M=D.get(I);M||(M=new WeakMap,D.set(I,M));let R=M.get(j);if(R||(R=[],M.set(j,R)),R.indexOf(L)===-1){let z=R.filter(Y=>{return G=L,($=Y).name===G.name&&$.value===G.value&&$.options===G.options&&$.dirname===G.dirname&&$.alias===G.alias&&$.ownPass===G.ownPass&&((U=$.file)==null?void 0:U.request)===((B=G.file)==null?void 0:B.request)&&((N=$.file)==null?void 0:N.resolved)===((X=G.file)==null?void 0:X.resolved);var $,G,U,B,N,X});if(z.length>0)return z[0];R.push(L)}return L}function*A(D,L,I,j){return yield*C("preset",D,L,I,j)}function*x(D,L,I){return yield*C("plugin",D,L,I)}function*C(D,L,I,j,M){let R=yield*a().all(L.map((z,Y)=>P(z,I,{type:D,alias:`${j}$${Y}`,ownPass:!!M})));return function(z){let Y=new Map;for(let $ of z){if(typeof $.value!="function")continue;let G=Y.get($.value);if(G||(G=new Set,Y.set($.value,G)),G.has($.name)){let U=z.filter(B=>B.value===$.value);throw new Error(["Duplicate plugin/preset detected.","If you'd like to use two separate instances of a plugin,","they need separate names, e.g.",""," plugins: ["," ['some-plugin', {}],"," ['some-plugin', {}, 'some unique name'],"," ]","","Duplicates detected are:",`${JSON.stringify(U,null,2)}`].join(`
|
|
`))}G.add($.name)}}(R),R}function*P(D,L,{type:I,alias:j,ownPass:M}){let R=(0,s.getItemDescriptor)(D);if(R)return R;let z,Y,$,G=D;Array.isArray(G)&&(G.length===3?[G,Y,z]=G:[G,Y]=G);let U=null;if(typeof G=="string"){if(typeof I!="string")throw new Error("To resolve a string-based item, the type of item must be given");let B=I==="plugin"?d.loadPlugin:d.loadPreset,N=G;({filepath:U,value:G}=yield*B(G,L)),$={request:N,resolved:U}}if(!G)throw new Error(`Unexpected falsy value: ${String(G)}`);if(typeof G=="object"&&G.__esModule){if(!G.default)throw new Error("Must export a default export when using ES6 modules.");G=G.default}if(typeof G!="object"&&typeof G!="function")throw new Error(`Unsupported format: ${typeof G}. Expected an object or a function.`);if(U!==null&&typeof G=="object"&&G)throw new Error(`Plugin/Preset files are not allowed to export objects, only functions. In ${U}`);return{name:z,alias:U||j,value:G,options:Y,dirname:L,ownPass:M,file:$}}},"./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/config/files/configuration.js":(o,r,u)=>{"use strict";function a(){let Y=u("./node_modules/.pnpm/debug@4.3.4/node_modules/debug/src/index.js");return a=function(){return Y},Y}function m(){let Y=u("fs");return m=function(){return Y},Y}function d(){let Y=u("path");return d=function(){return Y},Y}function s(){let Y=u("./node_modules/.pnpm/json5@2.2.3/node_modules/json5/dist/index.mjs");return s=function(){return Y},Y}function l(){let Y=u("./node_modules/.pnpm/gensync@1.0.0-beta.2/node_modules/gensync/index.js");return l=function(){return Y},Y}Object.defineProperty(r,"__esModule",{value:!0}),r.ROOT_CONFIG_FILENAMES=void 0,r.findConfigUpwards=function(Y){let $=Y;for(;;){for(let U of A)if(m().existsSync(d().join($,U)))return $;let G=d().dirname($);if($===G)break;$=G}return null},r.findRelativeConfig=function*(Y,$,G){let U=null,B=null,N=d().dirname(Y.filepath);for(let H of Y.directories){var X;if(U||(U=yield*R(x,H,$,G,((X=Y.pkg)==null?void 0:X.dirname)===H?I(Y.pkg):null)),!B){let F=d().join(H,C);B=yield*M(F),B&&w("Found ignore %o from %o.",B.filepath,N)}}return{config:U,ignore:B}},r.findRootConfig=function(Y,$,G){return R(A,Y,$,G)},r.loadConfig=function*(Y,$,G,U){let B=(X=process.versions.node,H="8.9",X=X.split("."),H=H.split("."),+X[0]>+H[0]||X[0]==H[0]&&+X[1]>=+H[1]?u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/config/files sync recursive").resolve:(F,{paths:[W]},V=u("module"))=>{let Q=V._findPath(F,V._nodeModulePaths(W).concat(W));if(Q)return Q;throw Q=new Error(`Cannot resolve module '${F}'`),Q.code="MODULE_NOT_FOUND",Q})(Y,{paths:[$]}),N=yield*z(B,G,U);var X,H;if(!N)throw new E.default("Config file contains no configuration data",B);return w("Loaded config %o from %o.",Y,$),N},r.resolveShowConfigPath=function*(Y){let $=process.env.BABEL_SHOW_CONFIG_FOR;if($!=null){let G=d().resolve(Y,$);if(!(yield*v.stat(G)).isFile())throw new Error(`${G}: BABEL_SHOW_CONFIG_FOR must refer to a regular file, directories are not supported.`);return G}return null};var f=u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/config/caching.js"),p=u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/config/helpers/config-api.js"),h=u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/config/files/utils.js"),y=u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/config/files/module-types.js"),b=u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/config/pattern-to-regex.js"),E=u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/errors/config-error.js"),v=u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/gensync-utils/fs.js"),S=u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/errors/rewrite-stack-trace.js");let w=a()("babel:config:loading:files:configuration"),A=["babel.config.js","babel.config.cjs","babel.config.mjs","babel.config.json","babel.config.cts"];r.ROOT_CONFIG_FILENAMES=A;let x=[".babelrc",".babelrc.js",".babelrc.cjs",".babelrc.mjs",".babelrc.json",".babelrc.cts"],C=".babelignore",P=(0,f.makeWeakCache)(function*(Y,$){return yield*[],{options:(0,S.endHiddenCallStack)(Y)((0,p.makeConfigAPI)($)),cacheNeedsConfiguration:!$.configured()}});function*D(Y,$){if(!m().existsSync(Y))return null;let G=yield*(0,y.default)(Y,"You appear to be using a native ECMAScript module configuration file, which is only supported when running Babel asynchronously."),U=!1;if(typeof G=="function"&&({options:G,cacheNeedsConfiguration:U}=yield*P(G,$)),!G||typeof G!="object"||Array.isArray(G))throw new E.default("Configuration should be an exported JavaScript object.",Y);if(typeof G.then=="function")throw G.catch==null||G.catch(()=>{}),new E.default("You appear to be using an async configuration, which your current version of Babel does not support. We may add support for this in the future, but if you're on the most recent version of @babel/core and still seeing this error, then you'll need to synchronously return your config.",Y);return U&&function(B){throw new E.default(`Caching was left unconfigured. Babel's plugins, presets, and .babelrc.js files can be configured
|
|
for various types of caching, using the first param of their handler functions:
|
|
|
|
module.exports = function(api) {
|
|
// The API exposes the following:
|
|
|
|
// Cache the returned value forever and don't call this function again.
|
|
api.cache(true);
|
|
|
|
// Don't cache at all. Not recommended because it will be very slow.
|
|
api.cache(false);
|
|
|
|
// Cached based on the value of some function. If this function returns a value different from
|
|
// a previously-encountered value, the plugins will re-evaluate.
|
|
var env = api.cache(() => process.env.NODE_ENV);
|
|
|
|
// If testing for a specific env, we recommend specifics to avoid instantiating a plugin for
|
|
// any possible NODE_ENV value that might come up during plugin execution.
|
|
var isProd = api.cache(() => process.env.NODE_ENV === "production");
|
|
|
|
// .cache(fn) will perform a linear search though instances to find the matching plugin based
|
|
// based on previous instantiated plugins. If you want to recreate the plugin and discard the
|
|
// previous instance whenever something changes, you may use:
|
|
var isProd = api.cache.invalidate(() => process.env.NODE_ENV === "production");
|
|
|
|
// Note, we also expose the following more-verbose versions of the above examples:
|
|
api.cache.forever(); // api.cache(true)
|
|
api.cache.never(); // api.cache(false)
|
|
api.cache.using(fn); // api.cache(fn)
|
|
|
|
// Return the value that will be cached.
|
|
return { };
|
|
};`,B)}(Y),function(B,N){let X=L.get(B);X||L.set(B,X=new Map);let H=X.get(N);return H||(H={filepath:N,dirname:d().dirname(N),options:B},X.set(N,H)),H}(G,Y)}let L=new WeakMap,I=(0,f.makeWeakCacheSync)(Y=>{let $=Y.options.babel;if($===void 0)return null;if(typeof $!="object"||Array.isArray($)||$===null)throw new E.default(".babel property must be an object",Y.filepath);return{filepath:Y.filepath,dirname:Y.dirname,options:$}}),j=(0,h.makeStaticFileCache)((Y,$)=>{let G;try{G=s().parse($)}catch(U){throw new E.default(`Error while parsing config - ${U.message}`,Y)}if(!G)throw new E.default("No config detected",Y);if(typeof G!="object")throw new E.default("Config returned typeof "+typeof G,Y);if(Array.isArray(G))throw new E.default("Expected config object but found array",Y);return delete G.$schema,{filepath:Y,dirname:d().dirname(Y),options:G}}),M=(0,h.makeStaticFileCache)((Y,$)=>{let G=d().dirname(Y),U=$.split(`
|
|
`).map(B=>B.replace(/#(.*?)$/,"").trim()).filter(B=>!!B);for(let B of U)if(B[0]==="!")throw new E.default("Negation of file paths is not supported.",Y);return{filepath:Y,dirname:d().dirname(Y),ignore:U.map(B=>(0,b.default)(B,G))}});function*R(Y,$,G,U,B=null){let N=(yield*l().all(Y.map(X=>z(d().join($,X),G,U)))).reduce((X,H)=>{if(H&&X)throw new E.default(`Multiple configuration files found. Please remove one:
|
|
- ${d().basename(X.filepath)}
|
|
- ${H.filepath}
|
|
from ${$}`);return H||X},B);return N&&w("Found configuration %o from %o.",N.filepath,$),N}function z(Y,$,G){switch(d().extname(Y)){case".js":case".cjs":case".mjs":case".cts":return D(Y,{envName:$,caller:G});default:return j(Y)}}},"./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/config/files/import-meta-resolve.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(d,s){return m(d,s)};var a=u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/vendor/import-meta-resolve.js");let m;m=a.resolve},"./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/config/files/import.cjs":(o,r,u)=>{o.exports=function(a){return u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/config/files lazy recursive")(a)}},"./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/config/files/index.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"ROOT_CONFIG_FILENAMES",{enumerable:!0,get:function(){return m.ROOT_CONFIG_FILENAMES}}),Object.defineProperty(r,"findConfigUpwards",{enumerable:!0,get:function(){return m.findConfigUpwards}}),Object.defineProperty(r,"findPackageData",{enumerable:!0,get:function(){return a.findPackageData}}),Object.defineProperty(r,"findRelativeConfig",{enumerable:!0,get:function(){return m.findRelativeConfig}}),Object.defineProperty(r,"findRootConfig",{enumerable:!0,get:function(){return m.findRootConfig}}),Object.defineProperty(r,"loadConfig",{enumerable:!0,get:function(){return m.loadConfig}}),Object.defineProperty(r,"loadPlugin",{enumerable:!0,get:function(){return d.loadPlugin}}),Object.defineProperty(r,"loadPreset",{enumerable:!0,get:function(){return d.loadPreset}}),Object.defineProperty(r,"resolvePlugin",{enumerable:!0,get:function(){return d.resolvePlugin}}),Object.defineProperty(r,"resolvePreset",{enumerable:!0,get:function(){return d.resolvePreset}}),Object.defineProperty(r,"resolveShowConfigPath",{enumerable:!0,get:function(){return m.resolveShowConfigPath}});var a=u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/config/files/package.js"),m=u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/config/files/configuration.js"),d=u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/config/files/plugins.js")},"./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/config/files/module-types.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function*(C,P){switch(m().extname(C)){case".cjs":return w(C,arguments[2]);case".mjs":break;case".cts":return function(D){let L=".cts",I=!!(u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/config/files sync recursive").extensions[".ts"]||u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/config/files sync recursive").extensions[".cts"]||u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/config/files sync recursive").extensions[".mts"]),j;if(!I){let M={babelrc:!1,configFile:!1,sourceType:"unambiguous",sourceMaps:"inline",sourceFileName:m().basename(D),presets:[[x(D),Object.assign({onlyRemoveTypeImports:!0,optimizeConstEnums:!0},{allowDeclareFields:!0})]]};j=function(R,z){if(j&&z.endsWith(L))try{return R._compile((0,h.transformFileSync)(z,Object.assign({},M,{filename:z})).code,z)}catch(Y){if(!I){let $=u("./node_modules/.pnpm/@babel+preset-typescript@7.22.15_@babel+core@7.22.15/node_modules/@babel/preset-typescript/package.json");s().lt($.version,"7.21.4")&&console.error("`.cts` configuration file failed to load, please try to update `@babel/preset-typescript`.")}throw Y}return u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/config/files sync recursive").extensions[".js"](R,z)},u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/config/files sync recursive").extensions[L]=j}try{return w(D)}finally{I||(u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/config/files sync recursive").extensions[L]===j&&delete u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/config/files sync recursive").extensions[L],j=void 0)}}(C);default:try{return w(C,arguments[2])}catch(D){if(D.code!=="ERR_REQUIRE_ESM")throw D}}if(yield*(0,a.isAsync)())return yield*(0,a.waitFor)(function(D){return A.apply(this,arguments)}(C));throw new p.default(P,C)},r.supportsESM=void 0;var a=u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/gensync-utils/async.js");function m(){let C=u("path");return m=function(){return C},C}function d(){let C=u("url");return d=function(){return C},C}function s(){let C=u("./node_modules/.pnpm/semver@6.3.1/node_modules/semver/semver.js");return s=function(){return C},C}function l(){let C=u("./node_modules/.pnpm/debug@4.3.4/node_modules/debug/src/index.js");return l=function(){return C},C}var f=u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/errors/rewrite-stack-trace.js"),p=u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/errors/config-error.js"),h=u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/transform-file.js");function y(C,P,D,L,I,j,M){try{var R=C[j](M),z=R.value}catch(Y){return void D(Y)}R.done?P(z):Promise.resolve(z).then(L,I)}let b=l()("babel:config:loading:files:module-types"),E;try{E=u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/config/files/import.cjs")}catch{}let v=s().satisfies(process.versions.node,"^12.17 || >=13.2");r.supportsESM=v;let S=new Set;function w(C){if(S.has(C))return b("Auto-ignoring usage of config %o.",C),{};let P;try{S.add(C),P=(0,f.endHiddenCallStack)(u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/config/files sync recursive"))(C)}finally{S.delete(C)}var D;return(D=P)!=null&&D.__esModule?P.default||(arguments[1]?P:void 0):P}function A(){var C;return C=function*(P){if(!E)throw new p.default(`Internal error: Native ECMAScript modules aren't supported by this platform.
|
|
`,P);return(yield(0,f.endHiddenCallStack)(E)((0,d().pathToFileURL)(P))).default},A=function(){var P=this,D=arguments;return new Promise(function(L,I){var j=C.apply(P,D);function M(z){y(j,L,I,M,R,"next",z)}function R(z){y(j,L,I,M,R,"throw",z)}M(void 0)})},A.apply(this,arguments)}function x(C){try{return u("./node_modules/.pnpm/@babel+preset-typescript@7.22.15_@babel+core@7.22.15/node_modules/@babel/preset-typescript/lib/index.js")}catch(P){if(P.code!=="MODULE_NOT_FOUND")throw P;let D="You appear to be using a .cts file as Babel configuration, but the `@babel/preset-typescript` package was not found: please install it!";throw process.versions.pnp&&(D+=`
|
|
If you are using Yarn Plug'n'Play, you may also need to add the following configuration to your .yarnrc.yml file:
|
|
|
|
packageExtensions:
|
|
"@babel/core@*":
|
|
peerDependencies:
|
|
"@babel/preset-typescript": "*"
|
|
`),new p.default(D,C)}}},"./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/config/files/package.js":(o,r,u)=>{"use strict";function a(){let f=u("path");return a=function(){return f},f}Object.defineProperty(r,"__esModule",{value:!0}),r.findPackageData=function*(f){let p=null,h=[],y=!0,b=a().dirname(f);for(;!p&&a().basename(b)!=="node_modules";){h.push(b),p=yield*l(a().join(b,s));let E=a().dirname(b);if(b===E){y=!1;break}b=E}return{filepath:f,directories:h,pkg:p,isPackage:y}};var m=u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/config/files/utils.js"),d=u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/errors/config-error.js");let s="package.json",l=(0,m.makeStaticFileCache)((f,p)=>{let h;try{h=JSON.parse(p)}catch(y){throw new d.default(`Error while parsing JSON - ${y.message}`,f)}if(!h)throw new Error(`${f}: No config detected`);if(typeof h!="object")throw new d.default("Config returned typeof "+typeof h,f);if(Array.isArray(h))throw new d.default("Expected config object but found array",f);return{filepath:f,dirname:a().dirname(f),options:h}})},"./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/config/files/plugins.js":(o,r,u)=>{"use strict";function a(){let Y=u("./node_modules/.pnpm/debug@4.3.4/node_modules/debug/src/index.js");return a=function(){return Y},Y}function m(){let Y=u("path");return m=function(){return Y},Y}Object.defineProperty(r,"__esModule",{value:!0}),r.loadPlugin=function*(Y,$){let G=x(Y,$,yield*(0,d.isAsync)()),U=yield*z("plugin",G);return p("Loaded plugin %o from %o.",Y,$),{filepath:G,value:U}},r.loadPreset=function*(Y,$){let G=C(Y,$,yield*(0,d.isAsync)()),U=yield*z("preset",G);return p("Loaded preset %o from %o.",Y,$),{filepath:G,value:U}},r.resolvePreset=r.resolvePlugin=void 0;var d=u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/gensync-utils/async.js"),s=u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/config/files/module-types.js");function l(){let Y=u("url");return l=function(){return Y},Y}var f=u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/config/files/import-meta-resolve.js");let p=a()("babel:config:loading:files:plugins"),h=/^module:/,y=/^(?!@|module:|[^/]+\/|babel-plugin-)/,b=/^(?!@|module:|[^/]+\/|babel-preset-)/,E=/^(@babel\/)(?!plugin-|[^/]+\/)/,v=/^(@babel\/)(?!preset-|[^/]+\/)/,S=/^(@(?!babel\/)[^/]+\/)(?![^/]*babel-plugin(?:-|\/|$)|[^/]+\/)/,w=/^(@(?!babel\/)[^/]+\/)(?![^/]*babel-preset(?:-|\/|$)|[^/]+\/)/,A=/^(@(?!babel$)[^/]+)$/,x=M.bind(null,"plugin");r.resolvePlugin=x;let C=M.bind(null,"preset");function P(Y,$){if(m().isAbsolute($))return $;let G=Y==="preset";return $.replace(G?b:y,`babel-${Y}-`).replace(G?v:E,`$1${Y}-`).replace(G?w:S,`$1babel-${Y}-`).replace(A,`$1/babel-${Y}`).replace(h,"")}function*D(Y,$){let G=P(Y,$),{error:U,value:B}=yield G;if(!U)return B;if(U.code!=="MODULE_NOT_FOUND")throw U;G===$||(yield $).error||(U.message+=`
|
|
- If you want to resolve "${$}", use "module:${$}"`),(yield P(Y,"@babel/"+$)).error||(U.message+=`
|
|
- Did you mean "@babel/${$}"?`);let N=Y==="preset"?"plugin":"preset";if((yield P(N,$)).error||(U.message+=`
|
|
- Did you accidentally pass a ${N} as a ${Y}?`),Y==="plugin"){let X=G.replace("-proposal-","-transform-");X===G||(yield X).error||(U.message+=`
|
|
- Did you mean "${X}"?`)}throw U.message+=`
|
|
|
|
Make sure that all the Babel plugins and presets you are using
|
|
are defined as dependencies or devDependencies in your package.json
|
|
file. It's possible that the missing plugin is loaded by a preset
|
|
you are using that forgot to add the plugin to its dependencies: you
|
|
can workaround this problem by explicitly adding the missing package
|
|
to your top-level package.json.
|
|
`,U}function L(Y,$){try{return $?{error:null,value:(G=process.versions.node,U="8.9",G=G.split("."),U=U.split("."),+G[0]>+U[0]||G[0]==U[0]&&+G[1]>=+U[1]?u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/config/files sync recursive").resolve:(B,{paths:[N]},X=u("module"))=>{let H=X._findPath(B,X._nodeModulePaths(N).concat(N));if(H)return H;throw H=new Error(`Cannot resolve module '${B}'`),H.code="MODULE_NOT_FOUND",H})(Y,{paths:[$]})}:{error:null,value:u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/config/files sync recursive").resolve(Y)}}catch(B){return{error:B,value:null}}var G,U}function I(Y,$){try{return{error:null,value:(0,f.default)(Y,$)}}catch(G){return{error:G,value:null}}}function j(Y,$,G){let U=D(Y,$),B=U.next();for(;!B.done;)B=U.next(L(B.value,G));return B.value}function M(Y,$,G,U){if(!s.supportsESM||!U)return j(Y,$,G);try{return function(B,N,X){let H=(0,l().pathToFileURL)(m().join(X,"./babel-virtual-resolve-base.js")).href,F=D(B,N),W=F.next();for(;!W.done;)W=F.next(I(W.value,H));return(0,l().fileURLToPath)(W.value)}(Y,$,G)}catch(B){try{return j(Y,$,G)}catch(N){throw B.type==="MODULE_NOT_FOUND"?B:N.type==="MODULE_NOT_FOUND"?N:B}}}r.resolvePreset=C;var R=new Set;function*z(Y,$){if(!(yield*(0,d.isAsync)())&&R.has($))throw new Error(`Reentrant ${Y} detected trying to load "${$}". This module is not ignored and is trying to load itself while compiling itself, leading to a dependency cycle. We recommend adding it to your "ignore" list in your babelrc, or to a .babelignore.`);try{return R.add($),yield*(0,s.default)($,`You appear to be using a native ECMAScript module ${Y}, which is only supported when running Babel asynchronously.`,!0)}catch(G){throw G.message=`[BABEL]: ${G.message} (While processing: ${$})`,G}finally{R.delete($)}}},"./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/config/files/utils.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.makeStaticFileCache=function(s){return(0,a.makeStrongCache)(function*(l,f){return f.invalidate(()=>function(h){if(!d().existsSync(h))return null;try{return+d().statSync(h).mtime}catch(y){if(y.code!=="ENOENT"&&y.code!=="ENOTDIR")throw y}return null}(l))===null?null:s(l,yield*m.readFile(l,"utf8"))})};var a=u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/config/caching.js"),m=u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/gensync-utils/fs.js");function d(){let s=u("fs");return d=function(){return s},s}},"./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/config/full.js":(o,r,u)=>{"use strict";function a(){let U=u("./node_modules/.pnpm/gensync@1.0.0-beta.2/node_modules/gensync/index.js");return a=function(){return U},U}Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var m=u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/gensync-utils/async.js"),d=u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/config/util.js"),s=u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/index.js"),l=u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/config/plugin.js"),f=u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/config/item.js"),p=u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/config/config-chain.js"),h=u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/config/helpers/deep-array.js");function y(){let U=u("./node_modules/.pnpm/@babel+traverse@7.22.15/node_modules/@babel/traverse/lib/index.js");return y=function(){return U},U}var b=u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/config/caching.js"),E=u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/config/validation/options.js"),v=u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/config/validation/plugins.js"),S=u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/config/helpers/config-api.js"),w=u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/config/partial.js"),A=u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/errors/config-error.js"),x=a()(function*(U){var B;let N=yield*(0,w.default)(U);if(!N)return null;let{options:X,context:H,fileHandling:F}=N;if(F==="ignored")return null;let W={},{plugins:V,presets:Q}=X;if(!V||!Q)throw new Error("Assertion failure - plugins and presets exist");let ne=Object.assign({},H,{targets:X.targets}),ue=Ee=>{let oe=(0,f.getItemDescriptor)(Ee);if(!oe)throw new Error("Assertion failure - must be config item");return oe},de=Q.map(ue),Ae=V.map(ue),Oe=[[]],Me=[],ae=[];if(yield*C(H,function*Ee(oe,J){let De=[];for(let ke=0;ke<oe.length;ke++){let Qe=oe[ke];if(Qe.options!==!1){try{var Ke=yield*$(Qe,ne)}catch(pt){throw pt.code==="BABEL_UNKNOWN_OPTION"&&(0,E.checkNoUnwrappedItemOptionPairs)(oe,ke,"preset",pt),pt}ae.push(Ke.externalDependencies),Qe.ownPass?De.push({preset:Ke.chain,pass:[]}):De.unshift({preset:Ke.chain,pass:J})}}if(De.length>0){Oe.splice(1,0,...De.map(ke=>ke.pass).filter(ke=>ke!==J));for(let{preset:ke,pass:Qe}of De){if(!ke||(Qe.push(...ke.plugins),yield*Ee(ke.presets,Qe)))return!0;ke.options.forEach(pt=>{(0,d.mergeOptions)(W,pt)})}}})(de,Oe[0]))return null;let ye=W;(0,d.mergeOptions)(ye,X);let be=Object.assign({},ne,{assumptions:(B=ye.assumptions)!=null?B:{}});return yield*C(H,function*(){Oe[0].unshift(...Ae);for(let oe of Oe){let J=[];Me.push(J);for(let De=0;De<oe.length;De++){let Ke=oe[De];if(Ke.options!==!1){try{var Ee=yield*j(Ke,be)}catch(ke){throw ke.code==="BABEL_UNKNOWN_PLUGIN_PROPERTY"&&(0,E.checkNoUnwrappedItemOptionPairs)(oe,De,"plugin",ke),ke}J.push(Ee),ae.push(Ee.externalDependencies)}}}})(),ye.plugins=Me[0],ye.presets=Me.slice(1).filter(Ee=>Ee.length>0).map(Ee=>({plugins:Ee})),ye.passPerPreset=ye.presets.length>0,{options:ye,passes:Me,externalDependencies:(0,h.finalize)(ae)}});function C(U,B){return function*(N,X){try{return yield*B(N,X)}catch(F){var H;throw/^\[BABEL\]/.test(F.message)||(F.message=`[BABEL] ${(H=U.filename)!=null?H:"unknown file"}: ${F.message}`),F}}}r.default=x;let P=U=>(0,b.makeWeakCache)(function*({value:B,options:N,dirname:X,alias:H},F){if(N===!1)throw new Error("Assertion failure");N=N||{};let W=[],V=B;if(typeof B=="function"){let Q=(0,m.maybeAsync)(B,"You appear to be using an async plugin/preset, but Babel has been called synchronously"),ne=Object.assign({},s,U(F,W));try{V=yield*Q(ne,N,X)}catch(ue){throw H&&(ue.message+=` (While processing: ${JSON.stringify(H)})`),ue}}if(!V||typeof V!="object")throw new Error("Plugin/Preset did not return an object.");if((0,m.isThenable)(V))throw yield*[],new Error(`You appear to be using a promise as a plugin, which your current version of Babel does not support. If you're using a published plugin, you may need to upgrade your @babel/core version. As an alternative, you can prefix the promise with "await". (While processing: ${JSON.stringify(H)})`);if(W.length>0&&(!F.configured()||F.mode()==="forever")){let Q=`A plugin/preset has external untracked dependencies (${W[0]}), but the cache `;throw F.configured()?Q+=" has been configured to never be invalidated. ":Q+="has not been configured to be invalidated when the external dependencies change. ",Q+=`Plugins/presets should configure their cache to be invalidated when the external dependencies change, for example using \`api.cache.invalidate(() => statSync(filepath).mtimeMs)\` or \`api.cache.never()\`
|
|
(While processing: ${JSON.stringify(H)})`,new Error(Q)}return{value:V,options:N,dirname:X,alias:H,externalDependencies:(0,h.finalize)(W)}}),D=P(S.makePluginAPI),L=P(S.makePresetAPI),I=(0,b.makeWeakCache)(function*({value:U,options:B,dirname:N,alias:X,externalDependencies:H},F){let W=(0,v.validatePluginObject)(U),V=Object.assign({},W);if(V.visitor&&(V.visitor=y().default.explode(Object.assign({},V.visitor))),V.inherits){let Q={name:void 0,alias:`${X}$inherits`,value:V.inherits,options:B,dirname:N},ne=yield*(0,m.forwardAsync)(j,ue=>F.invalidate(de=>ue(Q,de)));V.pre=G(ne.pre,V.pre),V.post=G(ne.post,V.post),V.manipulateOptions=G(ne.manipulateOptions,V.manipulateOptions),V.visitor=y().default.visitors.merge([ne.visitor||{},V.visitor||{}]),ne.externalDependencies.length>0&&(H=H.length===0?ne.externalDependencies:(0,h.finalize)([H,ne.externalDependencies]))}return new l.default(V,B,X,H)});function*j(U,B){if(U.value instanceof l.default){if(U.options)throw new Error("Passed options to an existing Plugin instance will not work.");return U.value}return yield*I(yield*D(U,B),B)}let M=U=>U&&typeof U!="function",R=(U,B)=>{if(M(U.test)||M(U.include)||M(U.exclude)){let N=B.name?`"${B.name}"`:"/* your preset */";throw new A.default([`Preset ${N} requires a filename to be set when babel is called directly,`,"```",`babel.transformSync(code, { filename: 'file.ts', presets: [${N}] });`,"```","See https://babeljs.io/docs/en/options#filename for more information."].join(`
|
|
`))}},z=(U,B,N)=>{if(!B.filename){var X;let{options:H}=U;R(H,N),(X=H.overrides)==null||X.forEach(F=>R(F,N))}},Y=(0,b.makeWeakCacheSync)(({value:U,dirname:B,alias:N,externalDependencies:X})=>({options:(0,E.validate)("preset",U),alias:N,dirname:B,externalDependencies:X}));function*$(U,B){let N=Y(yield*L(U,B));return z(N,B,U),{chain:yield*(0,p.buildPresetChain)(N,B),externalDependencies:N.externalDependencies}}function G(U,B){let N=[U,B].filter(Boolean);return N.length<=1?N[0]:function(...X){for(let H of N)H.apply(this,X)}}},"./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/config/helpers/config-api.js":(o,r,u)=>{"use strict";function a(){let p=u("./node_modules/.pnpm/semver@6.3.1/node_modules/semver/semver.js");return a=function(){return p},p}Object.defineProperty(r,"__esModule",{value:!0}),r.makeConfigAPI=s,r.makePluginAPI=function(p,h){return Object.assign({},l(p,h),{assumption:y=>p.using(b=>b.assumptions[y])})},r.makePresetAPI=l;var m=u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/index.js"),d=u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/config/caching.js");function s(p){return{version:m.version,cache:p.simple(),env:h=>p.using(y=>h===void 0?y.envName:typeof h=="function"?(0,d.assertSimpleType)(h(y.envName)):(Array.isArray(h)?h:[h]).some(b=>{if(typeof b!="string")throw new Error("Unexpected non-string value");return b===y.envName})),async:()=>!1,caller:h=>p.using(y=>(0,d.assertSimpleType)(h(y.caller))),assertVersion:f}}function l(p,h){return Object.assign({},s(p),{targets:()=>JSON.parse(p.using(y=>JSON.stringify(y.targets))),addExternalDependency:y=>{h.push(y)}})}function f(p){if(typeof p=="number"){if(!Number.isInteger(p))throw new Error("Expected string or integer value.");p=`^${p}.0.0-0`}if(typeof p!="string")throw new Error("Expected string or integer value.");if(a().satisfies(m.version,p))return;let h=Error.stackTraceLimit;typeof h=="number"&&h<25&&(Error.stackTraceLimit=25);let y=new Error(`Requires Babel "${p}", but was loaded with "${m.version}". If you are sure you have a compatible version of @babel/core, it is likely that something in your build process is loading the wrong version. Inspect the stack trace of this error to look for the first entry that doesn't mention "@babel/core" or "babel-core" to see what is calling Babel.`);throw typeof h=="number"&&(Error.stackTraceLimit=h),Object.assign(y,{code:"BABEL_VERSION_UNSUPPORTED",version:m.version,range:p})}},"./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/config/helpers/deep-array.js":(o,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.finalize=function(u){return Object.freeze(u)},r.flattenToSet=function(u){let a=new Set,m=[u];for(;m.length>0;)for(let d of m.pop())Array.isArray(d)?m.push(d):a.add(d);return a}},"./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/config/helpers/environment.js":(o,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.getEnv=function(u="development"){return process.env.BABEL_ENV||process.env.NODE_ENV||u}},"./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/config/index.js":(o,r,u)=>{"use strict";function a(){let v=u("./node_modules/.pnpm/gensync@1.0.0-beta.2/node_modules/gensync/index.js");return a=function(){return v},v}Object.defineProperty(r,"__esModule",{value:!0}),r.createConfigItem=function(v,S,w){if(w!==void 0)(0,l.beginHiddenCallStack)(b.errback)(v,S,w);else{if(typeof S!="function")return E(v,S);(0,l.beginHiddenCallStack)(b.errback)(v,void 0,w)}},r.createConfigItemAsync=function(...v){return(0,l.beginHiddenCallStack)(b.async)(...v)},r.createConfigItemSync=E,Object.defineProperty(r,"default",{enumerable:!0,get:function(){return m.default}}),r.loadOptions=function(v,S){if(S!==void 0)(0,l.beginHiddenCallStack)(h.errback)(v,S);else{if(typeof v!="function")return y(v);(0,l.beginHiddenCallStack)(h.errback)(void 0,v)}},r.loadOptionsAsync=function(...v){return(0,l.beginHiddenCallStack)(h.async)(...v)},r.loadOptionsSync=y,r.loadPartialConfig=function(v,S){if(S!==void 0)(0,l.beginHiddenCallStack)(f.errback)(v,S);else{if(typeof v!="function")return p(v);(0,l.beginHiddenCallStack)(f.errback)(void 0,v)}},r.loadPartialConfigAsync=function(...v){return(0,l.beginHiddenCallStack)(f.async)(...v)},r.loadPartialConfigSync=p;var m=u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/config/full.js"),d=u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/config/partial.js"),s=u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/config/item.js"),l=u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/errors/rewrite-stack-trace.js");let f=a()(d.loadPartialConfig);function p(...v){return(0,l.beginHiddenCallStack)(f.sync)(...v)}let h=a()(function*(v){var S;let w=yield*(0,m.default)(v);return(S=w==null?void 0:w.options)!=null?S:null});function y(...v){return(0,l.beginHiddenCallStack)(h.sync)(...v)}let b=a()(s.createConfigItem);function E(...v){return(0,l.beginHiddenCallStack)(b.sync)(...v)}},"./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/config/item.js":(o,r,u)=>{"use strict";function a(){let f=u("path");return a=function(){return f},f}Object.defineProperty(r,"__esModule",{value:!0}),r.createConfigItem=function*(f,{dirname:p=".",type:h}={}){return d(yield*(0,m.createDescriptor)(f,a().resolve(p),{type:h,alias:"programmatic item"}))},r.createItemFromDescriptor=d,r.getItemDescriptor=function(f){if(f!=null&&f[s])return f._descriptor};var m=u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/config/config-descriptors.js");function d(f){return new l(f)}let s=Symbol.for("@babel/core@7 - ConfigItem");class l{constructor(p){this._descriptor=void 0,this[s]=!0,this.value=void 0,this.options=void 0,this.dirname=void 0,this.name=void 0,this.file=void 0,this._descriptor=p,Object.defineProperty(this,"_descriptor",{enumerable:!1}),Object.defineProperty(this,s,{enumerable:!1}),this.value=this._descriptor.value,this.options=this._descriptor.options,this.dirname=this._descriptor.dirname,this.name=this._descriptor.name,this.file=this._descriptor.file?{request:this._descriptor.file.request,resolved:this._descriptor.file.resolved}:void 0,Object.freeze(this)}}Object.freeze(l.prototype)},"./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/config/partial.js":(o,r,u)=>{"use strict";function a(){let S=u("path");return a=function(){return S},S}Object.defineProperty(r,"__esModule",{value:!0}),r.default=E,r.loadPartialConfig=function*(S){let w=!1;if(typeof S=="object"&&S!==null&&!Array.isArray(S)){var A=S;({showIgnoredFiles:w}=A),S=function(M,R){if(M==null)return{};var z,Y,$={},G=Object.keys(M);for(Y=0;Y<G.length;Y++)z=G[Y],R.indexOf(z)>=0||($[z]=M[z]);return $}(A,b)}let x=yield*E(S);if(!x)return null;let{options:C,babelrc:P,ignore:D,config:L,fileHandling:I,files:j}=x;return I==="ignored"&&!w?null:((C.plugins||[]).forEach(M=>{if(M.value instanceof m.default)throw new Error("Passing cached plugin instances is not supported in babel.loadPartialConfig()")}),new v(C,P?P.filepath:void 0,D?D.filepath:void 0,L?L.filepath:void 0,I,j))};var m=u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/config/plugin.js"),d=u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/config/util.js"),s=u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/config/item.js"),l=u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/config/config-chain.js"),f=u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/config/helpers/environment.js"),p=u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/config/validation/options.js"),h=u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/config/files/index.js"),y=u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/config/resolve-targets.js");let b=["showIgnoredFiles"];function*E(S){if(S!=null&&(typeof S!="object"||Array.isArray(S)))throw new Error("Babel options must be an object, null, or undefined");let w=S?(0,p.validate)("arguments",S):{},{envName:A=(0,f.getEnv)(),cwd:x=".",root:C=".",rootMode:P="root",caller:D,cloneInputAst:L=!0}=w,I=a().resolve(x),j=function($,G){switch(G){case"root":return $;case"upward-optional":{let U=(0,h.findConfigUpwards)($);return U===null?$:U}case"upward":{let U=(0,h.findConfigUpwards)($);if(U!==null)return U;throw Object.assign(new Error(`Babel was run with rootMode:"upward" but a root could not be found when searching upward from "${$}".
|
|
One of the following config files must be in the directory tree: "${h.ROOT_CONFIG_FILENAMES.join(", ")}".`),{code:"BABEL_ROOT_NOT_FOUND",dirname:$})}default:throw new Error("Assertion failure - unknown rootMode value.")}}(a().resolve(I,C),P),M=typeof w.filename=="string"?a().resolve(x,w.filename):void 0,R={filename:M,cwd:I,root:j,envName:A,caller:D,showConfig:(yield*(0,h.resolveShowConfigPath)(I))===M},z=yield*(0,l.buildRootChain)(w,R);if(!z)return null;let Y={assumptions:{}};return z.options.forEach($=>{(0,d.mergeOptions)(Y,$)}),{options:Object.assign({},Y,{targets:(0,y.resolveTargets)(Y,j),cloneInputAst:L,babelrc:!1,configFile:!1,browserslistConfigFile:!1,passPerPreset:!1,envName:R.envName,cwd:R.cwd,root:R.root,rootMode:"root",filename:typeof R.filename=="string"?R.filename:void 0,plugins:z.plugins.map($=>(0,s.createItemFromDescriptor)($)),presets:z.presets.map($=>(0,s.createItemFromDescriptor)($))}),context:R,fileHandling:z.fileHandling,ignore:z.ignore,babelrc:z.babelrc,config:z.config,files:z.files}}class v{constructor(w,A,x,C,P,D){this.options=void 0,this.babelrc=void 0,this.babelignore=void 0,this.config=void 0,this.fileHandling=void 0,this.files=void 0,this.options=w,this.babelignore=x,this.babelrc=A,this.config=C,this.fileHandling=P,this.files=D,Object.freeze(this)}hasFilesystemConfig(){return this.babelrc!==void 0||this.config!==void 0}}Object.freeze(v.prototype)},"./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/config/pattern-to-regex.js":(o,r,u)=>{"use strict";function a(){let b=u("path");return a=function(){return b},b}Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(b,E){let v=a().resolve(E,b).split(a().sep);return new RegExp(["^",...v.map((S,w)=>{let A=w===v.length-1;return S==="**"?A?h:p:S==="*"?A?f:l:S.indexOf("*.")===0?s+y(S.slice(1))+(A?d:m):y(S)+(A?d:m)})].join(""))};let m=`\\${a().sep}`,d=`(?:${m}|$)`,s=`[^${m}]+`,l=`(?:${s}${m})`,f=`(?:${s}${d})`,p=`${l}*?`,h=`${l}*?${f}?`;function y(b){return b.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&")}},"./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/config/plugin.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var a=u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/config/helpers/deep-array.js");r.default=class{constructor(m,d,s,l=(0,a.finalize)([])){this.key=void 0,this.manipulateOptions=void 0,this.post=void 0,this.pre=void 0,this.visitor=void 0,this.parserOverride=void 0,this.generatorOverride=void 0,this.options=void 0,this.externalDependencies=void 0,this.key=m.name||s,this.manipulateOptions=m.manipulateOptions,this.post=m.post,this.pre=m.pre,this.visitor=m.visitor||{},this.parserOverride=m.parserOverride,this.generatorOverride=m.generatorOverride,this.options=d,this.externalDependencies=l}}},"./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/config/printer.js":(o,r,u)=>{"use strict";function a(){let f=u("./node_modules/.pnpm/gensync@1.0.0-beta.2/node_modules/gensync/index.js");return a=function(){return f},f}Object.defineProperty(r,"__esModule",{value:!0}),r.ConfigPrinter=r.ChainFormatter=void 0;let m={Programmatic:0,Config:1};r.ChainFormatter=m;let d={title(f,p,h){let y="";return f===m.Programmatic?(y="programmatic options",p&&(y+=" from "+p)):y="config "+h,y},loc(f,p){let h="";return f!=null&&(h+=`.overrides[${f}]`),p!=null&&(h+=`.env["${p}"]`),h},*optionsAndDescriptors(f){let p=Object.assign({},f.options);delete p.overrides,delete p.env;let h=[...yield*f.plugins()];h.length&&(p.plugins=h.map(b=>s(b)));let y=[...yield*f.presets()];return y.length&&(p.presets=[...y].map(b=>s(b))),JSON.stringify(p,void 0,2)}};function s(f){var p;let h=(p=f.file)==null?void 0:p.request;return h==null&&(typeof f.value=="object"?h=f.value:typeof f.value=="function"&&(h=`[Function: ${f.value.toString().slice(0,50)} ... ]`)),h==null&&(h="[Unknown]"),f.options===void 0?h:f.name==null?[h,f.options]:[h,f.options,f.name]}class l{constructor(){this._stack=[]}configure(p,h,{callerName:y,filepath:b}){return p?(E,v,S)=>{this._stack.push({type:h,callerName:y,filepath:b,content:E,index:v,envName:S})}:()=>{}}static*format(p){let h=d.title(p.type,p.callerName,p.filepath),y=d.loc(p.index,p.envName);return y&&(h+=` ${y}`),`${h}
|
|
${yield*d.optionsAndDescriptors(p.content)}`}*output(){return this._stack.length===0?"":(yield*a().all(this._stack.map(p=>l.format(p)))).join(`
|
|
|
|
`)}}r.ConfigPrinter=l},"./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/config/resolve-targets.js":(o,r,u)=>{"use strict";function a(){let d=u("path");return a=function(){return d},d}function m(){let d=u("./stubs/helper-compilation-targets.js");return m=function(){return d},d}Object.defineProperty(r,"__esModule",{value:!0}),r.resolveBrowserslistConfigFile=function(d,s){return a().resolve(s,d)},r.resolveTargets=function(d,s){let l=d.targets,f;typeof l=="string"||Array.isArray(l)?f={browsers:l}:l&&(f="esmodules"in l?Object.assign({},l,{esmodules:"intersect"}):l);let{browserslistConfigFile:p}=d,h,y=!1;return typeof p=="string"?h=p:y=p===!1,(0,m().default)(f,{ignoreBrowserslistConfig:y,configFile:h,configPath:s,browserslistEnv:d.browserslistEnv})}},"./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/config/util.js":(o,r)=>{"use strict";function u(a,m){for(let d of Object.keys(m)){let s=m[d];s!==void 0&&(a[d]=s)}}Object.defineProperty(r,"__esModule",{value:!0}),r.isIterableIterator=function(a){return!!a&&typeof a.next=="function"&&typeof a[Symbol.iterator]=="function"},r.mergeOptions=function(a,m){for(let d of Object.keys(m))if(d!=="parserOpts"&&d!=="generatorOpts"&&d!=="assumptions"||!m[d]){let s=m[d];s!==void 0&&(a[d]=s)}else{let s=m[d];u(a[d]||(a[d]={}),s)}}},"./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/config/validation/option-assertions.js":(o,r,u)=>{"use strict";function a(){let v=u("./stubs/helper-compilation-targets.js");return a=function(){return v},v}Object.defineProperty(r,"__esModule",{value:!0}),r.access=s,r.assertArray=p,r.assertAssumptions=function(v,S){if(S===void 0)return;if(typeof S!="object"||S===null)throw new Error(`${d(v)} must be an object or undefined.`);let w=v;do w=w.parent;while(w.type!=="root");let A=w.source==="preset";for(let x of Object.keys(S)){let C=s(v,x);if(!m.assumptionsNames.has(x))throw new Error(`${d(C)} is not a supported assumption.`);if(typeof S[x]!="boolean")throw new Error(`${d(C)} must be a boolean.`);if(A&&S[x]===!1)throw new Error(`${d(C)} cannot be set to 'false' inside presets.`)}return S},r.assertBabelrcSearch=function(v,S){if(S===void 0||typeof S=="boolean")return S;if(Array.isArray(S))S.forEach((w,A)=>{if(!h(w))throw new Error(`${d(s(v,A))} must be a string/Function/RegExp.`)});else if(!h(S))throw new Error(`${d(v)} must be a undefined, a boolean, a string/Function/RegExp or an array of those, got ${JSON.stringify(S)}`);return S},r.assertBoolean=l,r.assertCallerMetadata=function(v,S){let w=f(v,S);if(w){if(typeof w.name!="string")throw new Error(`${d(v)} set but does not contain "name" property string`);for(let A of Object.keys(w)){let x=s(v,A),C=w[A];if(C!=null&&typeof C!="boolean"&&typeof C!="string"&&typeof C!="number")throw new Error(`${d(x)} must be null, undefined, a boolean, a string, or a number.`)}}return S},r.assertCompact=function(v,S){if(S!==void 0&&typeof S!="boolean"&&S!=="auto")throw new Error(`${d(v)} must be a boolean, "auto", or undefined`);return S},r.assertConfigApplicableTest=function(v,S){if(S===void 0)return S;if(Array.isArray(S))S.forEach((w,A)=>{if(!h(w))throw new Error(`${d(s(v,A))} must be a string/Function/RegExp.`)});else if(!h(S))throw new Error(`${d(v)} must be a string/Function/RegExp, or an array of those`);return S},r.assertConfigFileSearch=function(v,S){if(S!==void 0&&typeof S!="boolean"&&typeof S!="string")throw new Error(`${d(v)} must be a undefined, a boolean, a string, got ${JSON.stringify(S)}`);return S},r.assertFunction=function(v,S){if(S!==void 0&&typeof S!="function")throw new Error(`${d(v)} must be a function, or undefined`);return S},r.assertIgnoreList=function(v,S){let w=p(v,S);return w==null||w.forEach((A,x)=>function(C,P){if(typeof P!="string"&&typeof P!="function"&&!(P instanceof RegExp))throw new Error(`${d(C)} must be an array of string/Function/RegExp values, or undefined`);return P}(s(v,x),A)),w},r.assertInputSourceMap=function(v,S){if(S!==void 0&&typeof S!="boolean"&&(typeof S!="object"||!S))throw new Error(`${d(v)} must be a boolean, object, or undefined`);return S},r.assertObject=f,r.assertPluginList=function(v,S){let w=p(v,S);return w&&w.forEach((A,x)=>function(C,P){if(Array.isArray(P)){if(P.length===0)throw new Error(`${d(C)} must include an object`);if(P.length>3)throw new Error(`${d(C)} may only be a two-tuple or three-tuple`);if(y(s(C,0),P[0]),P.length>1){let D=P[1];if(D!==void 0&&D!==!1&&(typeof D!="object"||Array.isArray(D)||D===null))throw new Error(`${d(s(C,1))} must be an object, false, or undefined`)}if(P.length===3){let D=P[2];if(D!==void 0&&typeof D!="string")throw new Error(`${d(s(C,2))} must be a string, or undefined`)}}else y(C,P);return P}(s(v,x),A)),w},r.assertRootMode=function(v,S){if(S!==void 0&&S!=="root"&&S!=="upward"&&S!=="upward-optional")throw new Error(`${d(v)} must be a "root", "upward", "upward-optional" or undefined`);return S},r.assertSourceMaps=function(v,S){if(S!==void 0&&typeof S!="boolean"&&S!=="inline"&&S!=="both")throw new Error(`${d(v)} must be a boolean, "inline", "both", or undefined`);return S},r.assertSourceType=function(v,S){if(S!==void 0&&S!=="module"&&S!=="script"&&S!=="unambiguous")throw new Error(`${d(v)} must be "module", "script", "unambiguous", or undefined`);return S},r.assertString=function(v,S){if(S!==void 0&&typeof S!="string")throw new Error(`${d(v)} must be a string, or undefined`);return S},r.assertTargets=function(v,S){if((0,a().isBrowsersQueryValid)(S))return S;if(typeof S!="object"||!S||Array.isArray(S))throw new Error(`${d(v)} must be a string, an array of strings or an object`);let w=s(v,"browsers"),A=s(v,"esmodules");b(w,S.browsers),l(A,S.esmodules);for(let x of Object.keys(S)){let C=S[x],P=s(v,x);if(x==="esmodules")l(P,C);else if(x==="browsers")b(P,C);else{if(!Object.hasOwnProperty.call(a().TargetNames,x)){let D=Object.keys(a().TargetNames).join(", ");throw new Error(`${d(P)} is not a valid target. Supported targets are ${D}`)}E(P,C)}}return S},r.msg=d;var m=u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/config/validation/options.js");function d(v){switch(v.type){case"root":return"";case"env":return`${d(v.parent)}.env["${v.name}"]`;case"overrides":return`${d(v.parent)}.overrides[${v.index}]`;case"option":return`${d(v.parent)}.${v.name}`;case"access":return`${d(v.parent)}[${JSON.stringify(v.name)}]`;default:throw new Error(`Assertion failure: Unknown type ${v.type}`)}}function s(v,S){return{type:"access",name:S,parent:v}}function l(v,S){if(S!==void 0&&typeof S!="boolean")throw new Error(`${d(v)} must be a boolean, or undefined`);return S}function f(v,S){if(S!==void 0&&(typeof S!="object"||Array.isArray(S)||!S))throw new Error(`${d(v)} must be an object, or undefined`);return S}function p(v,S){if(S!=null&&!Array.isArray(S))throw new Error(`${d(v)} must be an array, or undefined`);return S}function h(v){return typeof v=="string"||typeof v=="function"||v instanceof RegExp}function y(v,S){if((typeof S!="object"||!S)&&typeof S!="string"&&typeof S!="function")throw new Error(`${d(v)} must be a string, object, function`);return S}function b(v,S){if(S!==void 0&&!(0,a().isBrowsersQueryValid)(S))throw new Error(`${d(v)} must be undefined, a string or an array of strings`)}function E(v,S){if((typeof S!="number"||Math.round(S)!==S)&&typeof S!="string")throw new Error(`${d(v)} must be a string or an integer number`)}},"./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/config/validation/options.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.assumptionsNames=void 0,r.checkNoUnwrappedItemOptionPairs=function(S,w,A,x){if(w===0)return;let C=S[w-1],P=S[w];C.file&&C.options===void 0&&typeof P.value=="object"&&(x.message+=`
|
|
- Maybe you meant to use
|
|
"${A}s": [
|
|
["${C.file.request}", ${JSON.stringify(P.value,void 0,2)}]
|
|
]
|
|
To be a valid ${A}, its name and options should be wrapped in a pair of brackets`)},r.validate=function(S,w,A){try{return b({type:"root",source:S},w)}catch(x){let C=new d.default(x.message,A);throw x.code&&(C.code=x.code),C}};var a=u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/config/validation/removed.js"),m=u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/config/validation/option-assertions.js"),d=u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/errors/config-error.js");let s={cwd:m.assertString,root:m.assertString,rootMode:m.assertRootMode,configFile:m.assertConfigFileSearch,caller:m.assertCallerMetadata,filename:m.assertString,filenameRelative:m.assertString,code:m.assertBoolean,ast:m.assertBoolean,cloneInputAst:m.assertBoolean,envName:m.assertString},l={babelrc:m.assertBoolean,babelrcRoots:m.assertBabelrcSearch},f={extends:m.assertString,ignore:m.assertIgnoreList,only:m.assertIgnoreList,targets:m.assertTargets,browserslistConfigFile:m.assertConfigFileSearch,browserslistEnv:m.assertString},p={inputSourceMap:m.assertInputSourceMap,presets:m.assertPluginList,plugins:m.assertPluginList,passPerPreset:m.assertBoolean,assumptions:m.assertAssumptions,env:function(S,w){if(S.parent.type==="env")throw new Error(`${(0,m.msg)(S)} is not allowed inside of another .env block`);let A=S.parent,x=(0,m.assertObject)(S,w);if(x)for(let C of Object.keys(x)){let P=(0,m.assertObject)((0,m.access)(S,C),x[C]);P&&b({type:"env",name:C,parent:A},P)}return x},overrides:function(S,w){if(S.parent.type==="env")throw new Error(`${(0,m.msg)(S)} is not allowed inside an .env block`);if(S.parent.type==="overrides")throw new Error(`${(0,m.msg)(S)} is not allowed inside an .overrides block`);let A=S.parent,x=(0,m.assertArray)(S,w);if(x)for(let[C,P]of x.entries()){let D=(0,m.access)(S,C),L=(0,m.assertObject)(D,P);if(!L)throw new Error(`${(0,m.msg)(D)} must be an object`);b({type:"overrides",index:C,parent:A},L)}return x},test:m.assertConfigApplicableTest,include:m.assertConfigApplicableTest,exclude:m.assertConfigApplicableTest,retainLines:m.assertBoolean,comments:m.assertBoolean,shouldPrintComment:m.assertFunction,compact:m.assertCompact,minified:m.assertBoolean,auxiliaryCommentBefore:m.assertString,auxiliaryCommentAfter:m.assertString,sourceType:m.assertSourceType,wrapPluginVisitorMethod:m.assertFunction,highlightCode:m.assertBoolean,sourceMaps:m.assertSourceMaps,sourceMap:m.assertSourceMaps,sourceFileName:m.assertString,sourceRoot:m.assertString,parserOpts:m.assertObject,generatorOpts:m.assertObject};Object.assign(p,{getModuleId:m.assertFunction,moduleRoot:m.assertString,moduleIds:m.assertBoolean,moduleId:m.assertString});let h=new Set(["arrayLikeIsIterable","constantReexports","constantSuper","enumerableModuleMeta","ignoreFunctionLength","ignoreToPrimitiveHint","iterableIsArray","mutableTemplateObject","noClassCalls","noDocumentAll","noIncompleteNsImportDetection","noNewArrows","objectRestNoSymbols","privateFieldsAsSymbols","privateFieldsAsProperties","pureGetters","setClassMethods","setComputedProperties","setPublicClassFields","setSpreadProperties","skipForOfIteratorClosing","superIsCallableConstructor"]);function y(S){return S.type==="root"?S.source:y(S.parent)}function b(S,w){let A=y(S);return function(x){if(v(x,"sourceMap")&&v(x,"sourceMaps"))throw new Error(".sourceMap is an alias for .sourceMaps, cannot use both")}(w),Object.keys(w).forEach(x=>{let C={type:"option",name:x,parent:S};if(A==="preset"&&f[x])throw new Error(`${(0,m.msg)(C)} is not allowed in preset options`);if(A!=="arguments"&&s[x])throw new Error(`${(0,m.msg)(C)} is only allowed in root programmatic options`);if(A!=="arguments"&&A!=="configfile"&&l[x])throw A==="babelrcfile"||A==="extendsfile"?new Error(`${(0,m.msg)(C)} is not allowed in .babelrc or "extends"ed files, only in root programmatic options, or babel.config.js/config file options`):new Error(`${(0,m.msg)(C)} is only allowed in root programmatic options, or babel.config.js/config file options`);(p[x]||f[x]||l[x]||s[x]||E)(C,w[x])}),w}function E(S){let w=S.name;if(a.default[w]){let{message:A,version:x=5}=a.default[w];throw new Error(`Using removed Babel ${x} option: ${(0,m.msg)(S)} - ${A}`)}{let A=new Error(`Unknown option: ${(0,m.msg)(S)}. Check out https://babeljs.io/docs/en/babel-core/#options for more information about options.`);throw A.code="BABEL_UNKNOWN_OPTION",A}}function v(S,w){return Object.prototype.hasOwnProperty.call(S,w)}r.assumptionsNames=h},"./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/config/validation/plugins.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.validatePluginObject=function(d){let s={type:"root",source:"plugin"};return Object.keys(d).forEach(l=>{let f=m[l];if(!f){let p=new Error(`.${l} is not a valid Plugin property`);throw p.code="BABEL_UNKNOWN_PLUGIN_PROPERTY",p}f({type:"option",name:l,parent:s},d[l])}),d};var a=u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/config/validation/option-assertions.js");let m={name:a.assertString,manipulateOptions:a.assertFunction,pre:a.assertFunction,post:a.assertFunction,inherits:a.assertFunction,visitor:function(d,s){let l=(0,a.assertObject)(d,s);if(l&&(Object.keys(l).forEach(f=>{f!=="_exploded"&&f!=="_verified"&&function(p,h){if(h&&typeof h=="object")Object.keys(h).forEach(y=>{if(y!=="enter"&&y!=="exit")throw new Error(`.visitor["${p}"] may only have .enter and/or .exit handlers.`)});else if(typeof h!="function")throw new Error(`.visitor["${p}"] must be a function`)}(f,l[f])}),l.enter||l.exit))throw new Error(`${(0,a.msg)(d)} cannot contain catch-all "enter" or "exit" handlers. Please target individual nodes.`);return l},parserOverride:a.assertFunction,generatorOverride:a.assertFunction}},"./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/config/validation/removed.js":(o,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default={auxiliaryComment:{message:"Use `auxiliaryCommentBefore` or `auxiliaryCommentAfter`"},blacklist:{message:"Put the specific transforms you want in the `plugins` option"},breakConfig:{message:"This is not a necessary option in Babel 6"},experimental:{message:"Put the specific transforms you want in the `plugins` option"},externalHelpers:{message:"Use the `external-helpers` plugin instead. Check out http://babeljs.io/docs/plugins/external-helpers/"},extra:{message:""},jsxPragma:{message:"use the `pragma` option in the `react-jsx` plugin. Check out http://babeljs.io/docs/plugins/transform-react-jsx/"},loose:{message:"Specify the `loose` option for the relevant plugin you are using or use a preset that sets the option."},metadataUsedHelpers:{message:"Not required anymore as this is enabled by default"},modules:{message:"Use the corresponding module transform plugin in the `plugins` option. Check out http://babeljs.io/docs/plugins/#modules"},nonStandard:{message:"Use the `react-jsx` and `flow-strip-types` plugins to support JSX and Flow. Also check out the react preset http://babeljs.io/docs/plugins/preset-react/"},optional:{message:"Put the specific transforms you want in the `plugins` option"},sourceMapName:{message:"The `sourceMapName` option has been removed because it makes more sense for the tooling that calls Babel to assign `map.file` themselves."},stage:{message:"Check out the corresponding stage-x presets http://babeljs.io/docs/plugins/#presets"},whitelist:{message:"Put the specific transforms you want in the `plugins` option"},resolveModuleSource:{version:6,message:"Use `babel-plugin-module-resolver@3`'s 'resolvePath' options"},metadata:{version:6,message:"Generated plugin metadata is always included in the output result"},sourceMapTarget:{version:6,message:"The `sourceMapTarget` option has been removed because it makes more sense for the tooling that calls Babel to assign `map.file` themselves."}}},"./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/errors/config-error.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var a=u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/errors/rewrite-stack-trace.js");class m extends Error{constructor(s,l){super(s),(0,a.expectedError)(this),l&&(0,a.injectVirtualStackFrame)(this,l)}}r.default=m},"./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/errors/rewrite-stack-trace.js":(o,r)=>{"use strict";var u;Object.defineProperty(r,"__esModule",{value:!0}),r.beginHiddenCallStack=function(y){return m?Object.defineProperty(function(...b){return p(),y(...b)},"name",{value:s}):y},r.endHiddenCallStack=function(y){return m?Object.defineProperty(function(...b){return y(...b)},"name",{value:d}):y},r.expectedError=function(y){if(m)return l.add(y),y},r.injectVirtualStackFrame=function(y,b){if(!m)return;let E=f.get(y);return E||f.set(y,E=[]),E.push(function(v){return Object.create({isNative:()=>!1,isConstructor:()=>!1,isToplevel:()=>!0,getFileName:()=>v,getLineNumber:()=>{},getColumnNumber:()=>{},getFunctionName:()=>{},getMethodName:()=>{},getTypeName:()=>{},toString:()=>v})}(b)),y};let a=Function.call.bind(Error.prototype.toString),m=!!Error.captureStackTrace&&((u=Object.getOwnPropertyDescriptor(Error,"stackTraceLimit"))==null?void 0:u.writable)===!0,d="startHiding - secret - don't use this - v1",s="stopHiding - secret - don't use this - v1",l=new WeakSet,f=new WeakMap;function p(){p=()=>{};let{prepareStackTrace:y=h}=Error;Error.stackTraceLimit&&(Error.stackTraceLimit=Math.max(Error.stackTraceLimit,50)),Error.prepareStackTrace=function(b,E){let v=[],S=l.has(b)?"hiding":"unknown";for(let w=0;w<E.length;w++){let A=E[w].getFunctionName();if(A===d)S="hiding";else if(A===s){if(S==="hiding")S="showing",f.has(b)&&v.unshift(...f.get(b));else if(S==="unknown"){v=E;break}}else S!=="hiding"&&v.push(E[w])}return y(b,v)}}function h(y,b){return b.length===0?a(y):`${a(y)}
|
|
at ${b.join(`
|
|
at `)}`}},"./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/gensync-utils/async.js":(o,r,u)=>{"use strict";function a(){let v=u("./node_modules/.pnpm/gensync@1.0.0-beta.2/node_modules/gensync/index.js");return a=function(){return v},v}function m(v,S,w,A,x,C,P){try{var D=v[C](P),L=D.value}catch(I){return void w(I)}D.done?S(L):Promise.resolve(L).then(A,x)}function d(v){return function(){var S=this,w=arguments;return new Promise(function(A,x){var C=v.apply(S,w);function P(L){m(C,A,x,P,D,"next",L)}function D(L){m(C,A,x,P,D,"throw",L)}P(void 0)})}}Object.defineProperty(r,"__esModule",{value:!0}),r.forwardAsync=function(v,S){let w=a()(v);return f(A=>{let x=w[A];return S(x)})},r.isAsync=void 0,r.isThenable=E,r.maybeAsync=function(v,S){return a()({sync(...w){let A=v.apply(this,w);if(E(A))throw new Error(S);return A},async(...w){return Promise.resolve(v.apply(this,w))}})},r.waitFor=r.onFirstPause=void 0;let s=a()(function*(v){return yield*v}),l=a()({sync:()=>!1,errback:v=>v(null,!0)});r.isAsync=l;let f=a()({sync:v=>v("sync"),async:(p=d(function*(v){return v("async")}),function(v){return p.apply(this,arguments)})});var p;let h=a()({name:"onFirstPause",arity:2,sync:function(v){return s.sync(v)},errback:function(v,S,w){let A=!1;s.errback(v,(x,C)=>{A=!0,w(x,C)}),A||S()}});r.onFirstPause=h;let y=a()({sync:v=>v,async:(b=d(function*(v){return v}),function(v){return b.apply(this,arguments)})});var b;function E(v){return!(!v||typeof v!="object"&&typeof v!="function"||!v.then||typeof v.then!="function")}r.waitFor=y},"./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/gensync-utils/fs.js":(o,r,u)=>{"use strict";function a(){let l=u("fs");return a=function(){return l},l}function m(){let l=u("./node_modules/.pnpm/gensync@1.0.0-beta.2/node_modules/gensync/index.js");return m=function(){return l},l}Object.defineProperty(r,"__esModule",{value:!0}),r.stat=r.readFile=void 0;let d=m()({sync:a().readFileSync,errback:a().readFile});r.readFile=d;let s=m()({sync:a().statSync,errback:a().stat});r.stat=s},"./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/gensync-utils/functional.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.once=function(m){let d,s;return function*(){if(d)return d;if(!(yield*(0,a.isAsync)()))return d=yield*m();if(s)return yield*(0,a.waitFor)(s);let l,f;s=new Promise((p,h)=>{l=p,f=h});try{return d=yield*m(),s=null,l(d),d}catch(p){throw f(p),p}}};var a=u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/gensync-utils/async.js")},"./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/index.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.DEFAULT_EXTENSIONS=void 0,Object.defineProperty(r,"File",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(r,"buildExternalHelpers",{enumerable:!0,get:function(){return m.default}}),Object.defineProperty(r,"createConfigItem",{enumerable:!0,get:function(){return y.createConfigItem}}),Object.defineProperty(r,"createConfigItemAsync",{enumerable:!0,get:function(){return y.createConfigItemAsync}}),Object.defineProperty(r,"createConfigItemSync",{enumerable:!0,get:function(){return y.createConfigItemSync}}),Object.defineProperty(r,"getEnv",{enumerable:!0,get:function(){return s.getEnv}}),Object.defineProperty(r,"loadOptions",{enumerable:!0,get:function(){return y.loadOptions}}),Object.defineProperty(r,"loadOptionsAsync",{enumerable:!0,get:function(){return y.loadOptionsAsync}}),Object.defineProperty(r,"loadOptionsSync",{enumerable:!0,get:function(){return y.loadOptionsSync}}),Object.defineProperty(r,"loadPartialConfig",{enumerable:!0,get:function(){return y.loadPartialConfig}}),Object.defineProperty(r,"loadPartialConfigAsync",{enumerable:!0,get:function(){return y.loadPartialConfigAsync}}),Object.defineProperty(r,"loadPartialConfigSync",{enumerable:!0,get:function(){return y.loadPartialConfigSync}}),Object.defineProperty(r,"parse",{enumerable:!0,get:function(){return S.parse}}),Object.defineProperty(r,"parseAsync",{enumerable:!0,get:function(){return S.parseAsync}}),Object.defineProperty(r,"parseSync",{enumerable:!0,get:function(){return S.parseSync}}),Object.defineProperty(r,"resolvePlugin",{enumerable:!0,get:function(){return d.resolvePlugin}}),Object.defineProperty(r,"resolvePreset",{enumerable:!0,get:function(){return d.resolvePreset}}),Object.defineProperty(r,"template",{enumerable:!0,get:function(){return h().default}}),Object.defineProperty(r,"tokTypes",{enumerable:!0,get:function(){return f().tokTypes}}),Object.defineProperty(r,"transform",{enumerable:!0,get:function(){return b.transform}}),Object.defineProperty(r,"transformAsync",{enumerable:!0,get:function(){return b.transformAsync}}),Object.defineProperty(r,"transformFile",{enumerable:!0,get:function(){return E.transformFile}}),Object.defineProperty(r,"transformFileAsync",{enumerable:!0,get:function(){return E.transformFileAsync}}),Object.defineProperty(r,"transformFileSync",{enumerable:!0,get:function(){return E.transformFileSync}}),Object.defineProperty(r,"transformFromAst",{enumerable:!0,get:function(){return v.transformFromAst}}),Object.defineProperty(r,"transformFromAstAsync",{enumerable:!0,get:function(){return v.transformFromAstAsync}}),Object.defineProperty(r,"transformFromAstSync",{enumerable:!0,get:function(){return v.transformFromAstSync}}),Object.defineProperty(r,"transformSync",{enumerable:!0,get:function(){return b.transformSync}}),Object.defineProperty(r,"traverse",{enumerable:!0,get:function(){return p().default}}),r.version=r.types=void 0;var a=u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/transformation/file/file.js"),m=u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/tools/build-external-helpers.js"),d=u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/config/files/index.js"),s=u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/config/helpers/environment.js");function l(){let A=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/index.js");return l=function(){return A},A}function f(){let A=u("./node_modules/.pnpm/@babel+parser@7.22.16/node_modules/@babel/parser/lib/index.js");return f=function(){return A},A}function p(){let A=u("./node_modules/.pnpm/@babel+traverse@7.22.15/node_modules/@babel/traverse/lib/index.js");return p=function(){return A},A}function h(){let A=u("./node_modules/.pnpm/@babel+template@7.22.15/node_modules/@babel/template/lib/index.js");return h=function(){return A},A}Object.defineProperty(r,"types",{enumerable:!0,get:function(){return l()}});var y=u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/config/index.js"),b=u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/transform.js"),E=u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/transform-file.js"),v=u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/transform-ast.js"),S=u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/parse.js");u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/index.js"),r.version="7.22.15";let w=Object.freeze([".js",".jsx",".es6",".es",".mjs",".cjs"]);r.DEFAULT_EXTENSIONS=w,r.OptionManager=class{init(A){return(0,y.loadOptionsSync)(A)}},r.Plugin=function(A){throw new Error(`The (${A}) Babel 5 plugin is being run with an unsupported Babel version.`)}},"./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/parse.js":(o,r,u)=>{"use strict";function a(){let p=u("./node_modules/.pnpm/gensync@1.0.0-beta.2/node_modules/gensync/index.js");return a=function(){return p},p}Object.defineProperty(r,"__esModule",{value:!0}),r.parse=void 0,r.parseAsync=function(...p){return(0,l.beginHiddenCallStack)(f.async)(...p)},r.parseSync=function(...p){return(0,l.beginHiddenCallStack)(f.sync)(...p)};var m=u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/config/index.js"),d=u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/parser/index.js"),s=u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/transformation/normalize-opts.js"),l=u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/errors/rewrite-stack-trace.js");let f=a()(function*(p,h){let y=yield*(0,m.default)(h);return y===null?null:yield*(0,d.default)(y.passes,(0,s.default)(y),p)});r.parse=function(p,h,y){if(typeof h=="function"&&(y=h,h=void 0),y===void 0)return(0,l.beginHiddenCallStack)(f.sync)(p,h);(0,l.beginHiddenCallStack)(f.errback)(p,h,y)}},"./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/parser/index.js":(o,r,u)=>{"use strict";function a(){let s=u("./node_modules/.pnpm/@babel+parser@7.22.16/node_modules/@babel/parser/lib/index.js");return a=function(){return s},s}function m(){let s=u("./stubs/babel-codeframe.js");return m=function(){return s},s}Object.defineProperty(r,"__esModule",{value:!0}),r.default=function*(s,{parserOpts:l,highlightCode:f=!0,filename:p="unknown"},h){try{let y=[];for(let b of s)for(let E of b){let{parserOverride:v}=E;if(v){let S=v(h,l,a().parse);S!==void 0&&y.push(S)}}if(y.length===0)return(0,a().parse)(h,l);if(y.length===1){if(yield*[],typeof y[0].then=="function")throw new Error("You appear to be using an async parser plugin, which your current version of Babel does not support. If you're using a published plugin, you may need to upgrade your @babel/core version.");return y[0]}throw new Error("More than one plugin attempted to override parsing.")}catch(y){y.code==="BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED"&&(y.message+=`
|
|
Consider renaming the file to '.mjs', or setting sourceType:module or sourceType:unambiguous in your Babel config for this file.`);let{loc:b,missingPlugin:E}=y;if(b){let v=(0,m().codeFrameColumns)(h,{start:{line:b.line,column:b.column+1}},{highlightCode:f});y.message=E?`${p}: `+(0,d.default)(E[0],b,v):`${p}: ${y.message}
|
|
|
|
`+v,y.code="BABEL_PARSE_ERROR"}throw y}};var d=u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/parser/util/missing-plugin-helper.js")},"./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/parser/util/missing-plugin-helper.js":(o,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(m,d,s){let l=`Support for the experimental syntax '${m}' isn't currently enabled (${d.line}:${d.column+1}):
|
|
|
|
`+s,f=u[m];if(f){let{syntax:p,transform:h}=f;if(p){let y=a(p);h?l+=`
|
|
|
|
Add ${a(h)} to the '${h.name.startsWith("@babel/plugin")?"plugins":"presets"}' section of your Babel config to enable transformation.
|
|
If you want to leave it as-is, add ${y} to the 'plugins' section to enable parsing.`:l+=`
|
|
|
|
Add ${y} to the 'plugins' section of your Babel config to enable parsing.`}}return l};let u={asyncDoExpressions:{syntax:{name:"@babel/plugin-syntax-async-do-expressions",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-async-do-expressions"}},decimal:{syntax:{name:"@babel/plugin-syntax-decimal",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-decimal"}},decorators:{syntax:{name:"@babel/plugin-syntax-decorators",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-decorators"},transform:{name:"@babel/plugin-proposal-decorators",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-proposal-decorators"}},doExpressions:{syntax:{name:"@babel/plugin-syntax-do-expressions",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-do-expressions"},transform:{name:"@babel/plugin-proposal-do-expressions",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-proposal-do-expressions"}},exportDefaultFrom:{syntax:{name:"@babel/plugin-syntax-export-default-from",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-export-default-from"},transform:{name:"@babel/plugin-proposal-export-default-from",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-proposal-export-default-from"}},flow:{syntax:{name:"@babel/plugin-syntax-flow",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-flow"},transform:{name:"@babel/preset-flow",url:"https://github.com/babel/babel/tree/main/packages/babel-preset-flow"}},functionBind:{syntax:{name:"@babel/plugin-syntax-function-bind",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-function-bind"},transform:{name:"@babel/plugin-proposal-function-bind",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-proposal-function-bind"}},functionSent:{syntax:{name:"@babel/plugin-syntax-function-sent",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-function-sent"},transform:{name:"@babel/plugin-proposal-function-sent",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-proposal-function-sent"}},jsx:{syntax:{name:"@babel/plugin-syntax-jsx",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-jsx"},transform:{name:"@babel/preset-react",url:"https://github.com/babel/babel/tree/main/packages/babel-preset-react"}},importAttributes:{syntax:{name:"@babel/plugin-syntax-import-attributes",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-import-attributes"}},pipelineOperator:{syntax:{name:"@babel/plugin-syntax-pipeline-operator",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-pipeline-operator"},transform:{name:"@babel/plugin-proposal-pipeline-operator",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-proposal-pipeline-operator"}},recordAndTuple:{syntax:{name:"@babel/plugin-syntax-record-and-tuple",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-record-and-tuple"}},throwExpressions:{syntax:{name:"@babel/plugin-syntax-throw-expressions",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-throw-expressions"},transform:{name:"@babel/plugin-proposal-throw-expressions",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-proposal-throw-expressions"}},typescript:{syntax:{name:"@babel/plugin-syntax-typescript",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-typescript"},transform:{name:"@babel/preset-typescript",url:"https://github.com/babel/babel/tree/main/packages/babel-preset-typescript"}}};Object.assign(u,{asyncGenerators:{syntax:{name:"@babel/plugin-syntax-async-generators",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-async-generators"},transform:{name:"@babel/plugin-transform-async-generator-functions",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-async-generator-functions"}},classProperties:{syntax:{name:"@babel/plugin-syntax-class-properties",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-class-properties"},transform:{name:"@babel/plugin-transform-class-properties",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-class-properties"}},classPrivateProperties:{syntax:{name:"@babel/plugin-syntax-class-properties",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-class-properties"},transform:{name:"@babel/plugin-transform-class-properties",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-class-properties"}},classPrivateMethods:{syntax:{name:"@babel/plugin-syntax-class-properties",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-class-properties"},transform:{name:"@babel/plugin-transform-private-methods",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-private-methods"}},classStaticBlock:{syntax:{name:"@babel/plugin-syntax-class-static-block",url:"https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-syntax-class-static-block"},transform:{name:"@babel/plugin-transform-class-static-block",url:"https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-transform-class-static-block"}},dynamicImport:{syntax:{name:"@babel/plugin-syntax-dynamic-import",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-dynamic-import"}},exportNamespaceFrom:{syntax:{name:"@babel/plugin-syntax-export-namespace-from",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-export-namespace-from"},transform:{name:"@babel/plugin-transform-export-namespace-from",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-export-namespace-from"}},importAssertions:{syntax:{name:"@babel/plugin-syntax-import-assertions",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-import-assertions"}},importMeta:{syntax:{name:"@babel/plugin-syntax-import-meta",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-import-meta"}},logicalAssignment:{syntax:{name:"@babel/plugin-syntax-logical-assignment-operators",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-logical-assignment-operators"},transform:{name:"@babel/plugin-transform-logical-assignment-operators",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-logical-assignment-operators"}},moduleStringNames:{syntax:{name:"@babel/plugin-syntax-module-string-names",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-module-string-names"}},numericSeparator:{syntax:{name:"@babel/plugin-syntax-numeric-separator",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-numeric-separator"},transform:{name:"@babel/plugin-transform-numeric-separator",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-numeric-separator"}},nullishCoalescingOperator:{syntax:{name:"@babel/plugin-syntax-nullish-coalescing-operator",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-nullish-coalescing-operator"},transform:{name:"@babel/plugin-transform-nullish-coalescing-operator",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-nullish-coalescing-opearator"}},objectRestSpread:{syntax:{name:"@babel/plugin-syntax-object-rest-spread",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-object-rest-spread"},transform:{name:"@babel/plugin-transform-object-rest-spread",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-object-rest-spread"}},optionalCatchBinding:{syntax:{name:"@babel/plugin-syntax-optional-catch-binding",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-optional-catch-binding"},transform:{name:"@babel/plugin-transform-optional-catch-binding",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-optional-catch-binding"}},optionalChaining:{syntax:{name:"@babel/plugin-syntax-optional-chaining",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-optional-chaining"},transform:{name:"@babel/plugin-transform-optional-chaining",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-optional-chaining"}},privateIn:{syntax:{name:"@babel/plugin-syntax-private-property-in-object",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-private-property-in-object"},transform:{name:"@babel/plugin-transform-private-property-in-object",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-private-property-in-object"}},regexpUnicodeSets:{syntax:{name:"@babel/plugin-syntax-unicode-sets-regex",url:"https://github.com/babel/babel/blob/main/packages/babel-plugin-syntax-unicode-sets-regex/README.md"},transform:{name:"@babel/plugin-transform-unicode-sets-regex",url:"https://github.com/babel/babel/blob/main/packages/babel-plugin-proposalunicode-sets-regex/README.md"}}});let a=({name:m,url:d})=>`${m} (${d})`},"./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/tools/build-external-helpers.js":(o,r,u)=>{"use strict";function a(){let N=u("./node_modules/.pnpm/@babel+helpers@7.22.15/node_modules/@babel/helpers/lib/index.js");return a=function(){return N},N}function m(){let N=u("./node_modules/.pnpm/@babel+generator@7.22.15/node_modules/@babel/generator/lib/index.js");return m=function(){return N},N}function d(){let N=u("./node_modules/.pnpm/@babel+template@7.22.15/node_modules/@babel/template/lib/index.js");return d=function(){return N},N}function s(){let N=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/index.js");return s=function(){return N},N}Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(N,X="global"){let H,F={global:Y,module:$,umd:G,var:U}[X];if(!F)throw new Error(`Unsupported output type ${X}`);return H=F(N),(0,m().default)(H).code};var l=u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/transformation/file/file.js");let{arrayExpression:f,assignmentExpression:p,binaryExpression:h,blockStatement:y,callExpression:b,cloneNode:E,conditionalExpression:v,exportNamedDeclaration:S,exportSpecifier:w,expressionStatement:A,functionExpression:x,identifier:C,memberExpression:P,objectExpression:D,program:L,stringLiteral:I,unaryExpression:j,variableDeclaration:M,variableDeclarator:R}=s(),z=N=>d().default.statement`
|
|
(function (root, factory) {
|
|
if (typeof define === "function" && define.amd) {
|
|
define(AMD_ARGUMENTS, factory);
|
|
} else if (typeof exports === "object") {
|
|
factory(COMMON_ARGUMENTS);
|
|
} else {
|
|
factory(BROWSER_ARGUMENTS);
|
|
}
|
|
})(UMD_ROOT, function (FACTORY_PARAMETERS) {
|
|
FACTORY_BODY
|
|
});
|
|
`(N);function Y(N){let X=C("babelHelpers"),H=[],F=x(null,[C("global")],y(H)),W=L([A(b(F,[v(h("===",j("typeof",C("global")),I("undefined")),C("self"),C("global"))]))]);return H.push(M("var",[R(X,p("=",P(C("global"),X),D([])))])),B(H,X,N),W}function $(N){let X=[],H=B(X,null,N);return X.unshift(S(null,Object.keys(H).map(F=>w(E(H[F]),C(F))))),L(X,[],"module")}function G(N){let X=C("babelHelpers"),H=[];return H.push(M("var",[R(X,C("global"))])),B(H,X,N),L([z({FACTORY_PARAMETERS:C("global"),BROWSER_ARGUMENTS:p("=",P(C("root"),X),D([])),COMMON_ARGUMENTS:C("exports"),AMD_ARGUMENTS:f([I("exports")]),FACTORY_BODY:H,UMD_ROOT:C("this")})])}function U(N){let X=C("babelHelpers"),H=[];H.push(M("var",[R(X,D([]))]));let F=L(H);return B(H,X,N),H.push(A(X)),F}function B(N,X,H){let F=V=>X?P(X,C(V)):C(`_${V}`),W={};return a().list.forEach(function(V){if(H&&H.indexOf(V)<0)return;let Q=W[V]=F(V);a().ensure(V,l.default);let{nodes:ne}=a().get(V,F,Q);N.push(...ne)}),W}},"./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/transform-ast.js":(o,r,u)=>{"use strict";function a(){let f=u("./node_modules/.pnpm/gensync@1.0.0-beta.2/node_modules/gensync/index.js");return a=function(){return f},f}Object.defineProperty(r,"__esModule",{value:!0}),r.transformFromAst=void 0,r.transformFromAstAsync=function(...f){return(0,s.beginHiddenCallStack)(l.async)(...f)},r.transformFromAstSync=function(...f){return(0,s.beginHiddenCallStack)(l.sync)(...f)};var m=u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/config/index.js"),d=u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/transformation/index.js"),s=u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/errors/rewrite-stack-trace.js");let l=a()(function*(f,p,h){let y=yield*(0,m.default)(h);if(y===null)return null;if(!f)throw new Error("No AST given");return yield*(0,d.run)(y,p,f)});r.transformFromAst=function(f,p,h,y){let b,E;if(typeof h=="function"?(E=h,b=void 0):(b=h,E=y),E===void 0)return(0,s.beginHiddenCallStack)(l.sync)(f,p,b);(0,s.beginHiddenCallStack)(l.errback)(f,p,b,E)}},"./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/transform-file.js":(o,r,u)=>{"use strict";function a(){let f=u("./node_modules/.pnpm/gensync@1.0.0-beta.2/node_modules/gensync/index.js");return a=function(){return f},f}Object.defineProperty(r,"__esModule",{value:!0}),r.transformFile=function(...f){l.errback(...f)},r.transformFileAsync=function(...f){return l.async(...f)},r.transformFileSync=function(...f){return l.sync(...f)};var m=u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/config/index.js"),d=u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/transformation/index.js"),s=u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/gensync-utils/fs.js");let l=a()(function*(f,p){let h=Object.assign({},p,{filename:f}),y=yield*(0,m.default)(h);if(y===null)return null;let b=yield*s.readFile(f,"utf8");return yield*(0,d.run)(y,b)})},"./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/transform.js":(o,r,u)=>{"use strict";function a(){let f=u("./node_modules/.pnpm/gensync@1.0.0-beta.2/node_modules/gensync/index.js");return a=function(){return f},f}Object.defineProperty(r,"__esModule",{value:!0}),r.transform=void 0,r.transformAsync=function(...f){return(0,s.beginHiddenCallStack)(l.async)(...f)},r.transformSync=function(...f){return(0,s.beginHiddenCallStack)(l.sync)(...f)};var m=u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/config/index.js"),d=u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/transformation/index.js"),s=u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/errors/rewrite-stack-trace.js");let l=a()(function*(f,p){let h=yield*(0,m.default)(p);return h===null?null:yield*(0,d.run)(h,f)});r.transform=function(f,p,h){let y,b;if(typeof p=="function"?(b=p,y=void 0):(y=p,b=h),b===void 0)return(0,s.beginHiddenCallStack)(l.sync)(f,y);(0,s.beginHiddenCallStack)(l.errback)(f,y,b)}},"./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/transformation/block-hoist-plugin.js":(o,r,u)=>{"use strict";function a(){let f=u("./node_modules/.pnpm/@babel+traverse@7.22.15/node_modules/@babel/traverse/lib/index.js");return a=function(){return f},f}Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(){return d||(d=new m.default(Object.assign({},s,{visitor:a().default.explode(s.visitor)}),{})),d};var m=u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/config/plugin.js");let d,s={name:"internal.blockHoist",visitor:{Block:{exit({node:f}){let{body:p}=f,h=Math.pow(2,30)-1,y=!1;for(let b=0;b<p.length;b++){let E=l(p[b]);if(E>h){y=!0;break}h=E}y&&(f.body=function(b){let E=Object.create(null);for(let w=0;w<b.length;w++){let A=b[w],x=l(A);(E[x]||(E[x]=[])).push(A)}let v=Object.keys(E).map(w=>+w).sort((w,A)=>A-w),S=0;for(let w of v){let A=E[w];for(let x of A)b[S++]=x}return b}(p.slice()))}}}};function l(f){let p=f==null?void 0:f._blockHoist;return p==null?1:p===!0?2:p}},"./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/transformation/file/file.js":(o,r,u)=>{"use strict";function a(){let E=u("./node_modules/.pnpm/@babel+helpers@7.22.15/node_modules/@babel/helpers/lib/index.js");return a=function(){return E},E}function m(){let E=u("./node_modules/.pnpm/@babel+traverse@7.22.15/node_modules/@babel/traverse/lib/index.js");return m=function(){return E},E}function d(){let E=u("./stubs/babel-codeframe.js");return d=function(){return E},E}function s(){let E=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/index.js");return s=function(){return E},E}function l(){let E=u("./node_modules/.pnpm/@babel+helper-module-transforms@7.22.15_@babel+core@7.22.15/node_modules/@babel/helper-module-transforms/lib/index.js");return l=function(){return E},E}function f(){let E=u("./node_modules/.pnpm/semver@6.3.1/node_modules/semver/semver.js");return f=function(){return E},E}Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;let{cloneNode:p,interpreterDirective:h}=s(),y={enter(E,v){let S=E.node.loc;S&&(v.loc=S,E.stop())}};class b{constructor(v,{code:S,ast:w,inputMap:A}){this._map=new Map,this.opts=void 0,this.declarations={},this.path=void 0,this.ast=void 0,this.scope=void 0,this.metadata={},this.code="",this.inputMap=void 0,this.hub={file:this,getCode:()=>this.code,getScope:()=>this.scope,addHelper:this.addHelper.bind(this),buildError:this.buildCodeFrameError.bind(this)},this.opts=v,this.code=S,this.ast=w,this.inputMap=A,this.path=m().NodePath.get({hub:this.hub,parentPath:null,parent:this.ast,container:this.ast,key:"program"}).setContext(),this.scope=this.path.scope}get shebang(){let{interpreter:v}=this.path.node;return v?v.value:""}set shebang(v){v?this.path.get("interpreter").replaceWith(h(v)):this.path.get("interpreter").remove()}set(v,S){if(v==="helpersNamespace")throw new Error("Babel 7.0.0-beta.56 has dropped support for the 'helpersNamespace' utility.If you are using @babel/plugin-external-helpers you will need to use a newer version than the one you currently have installed. If you have your own implementation, you'll want to explore using 'helperGenerator' alongside 'file.availableHelper()'.");this._map.set(v,S)}get(v){return this._map.get(v)}has(v){return this._map.has(v)}getModuleName(){return(0,l().getModuleName)(this.opts,this.opts)}addImport(){throw new Error("This API has been removed. If you're looking for this functionality in Babel 7, you should import the '@babel/helper-module-imports' module and use the functions exposed from that module, such as 'addNamed' or 'addDefault'.")}availableHelper(v,S){let w;try{w=a().minVersion(v)}catch(A){if(A.code!=="BABEL_HELPER_UNKNOWN")throw A;return!1}return typeof S!="string"||(f().valid(S)&&(S=`^${S}`),!f().intersects(`<${w}`,S)&&!f().intersects(">=8.0.0",S))}addHelper(v){let S=this.declarations[v];if(S)return p(S);let w=this.get("helperGenerator");if(w){let D=w(v);if(D)return D}a().ensure(v,b);let A=this.declarations[v]=this.scope.generateUidIdentifier(v),x={};for(let D of a().getDependencies(v))x[D]=this.addHelper(D);let{nodes:C,globals:P}=a().get(v,D=>x[D],A,Object.keys(this.scope.getAllBindings()));return P.forEach(D=>{this.path.scope.hasBinding(D,!0)&&this.path.scope.rename(D)}),C.forEach(D=>{D._compact=!0}),this.path.unshiftContainer("body",C),this.path.get("body").forEach(D=>{C.indexOf(D.node)!==-1&&D.isVariableDeclaration()&&this.scope.registerDeclaration(D)}),A}addTemplateObject(){throw new Error("This function has been moved into the template literal transform itself.")}buildCodeFrameError(v,S,w=SyntaxError){let A=v&&(v.loc||v._loc);if(!A&&v){let x={loc:null};(0,m().default)(v,y,this.scope,x),A=x.loc;let C="This is an error on an internal node. Probably an internal error.";A&&(C+=" Location has been estimated."),S+=` (${C})`}if(A){let{highlightCode:x=!0}=this.opts;S+=`
|
|
`+(0,d().codeFrameColumns)(this.code,{start:{line:A.start.line,column:A.start.column+1},end:A.end&&A.start.line===A.end.line?{line:A.end.line,column:A.end.column+1}:void 0},{highlightCode:x})}return new w(S)}}r.default=b},"./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/transformation/file/generate.js":(o,r,u)=>{"use strict";function a(){let s=u("./node_modules/.pnpm/convert-source-map@1.9.0/node_modules/convert-source-map/index.js");return a=function(){return s},s}function m(){let s=u("./node_modules/.pnpm/@babel+generator@7.22.15/node_modules/@babel/generator/lib/index.js");return m=function(){return s},s}Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(s,l){let{opts:f,ast:p,code:h,inputMap:y}=l,{generatorOpts:b}=f;b.inputSourceMap=y==null?void 0:y.toObject();let E=[];for(let A of s)for(let x of A){let{generatorOverride:C}=x;if(C){let P=C(p,b,h,m().default);P!==void 0&&E.push(P)}}let v;if(E.length===0)v=(0,m().default)(p,b,h);else{if(E.length!==1)throw new Error("More than one plugin attempted to override codegen.");if(v=E[0],typeof v.then=="function")throw new Error("You appear to be using an async codegen plugin, which your current version of Babel does not support. If you're using a published plugin, you may need to upgrade your @babel/core version.")}let{code:S,decodedMap:w=v.map}=v;return v.__mergedMap?w=Object.assign({},v.map):w&&(w=y?(0,d.default)(y.toObject(),w,b.sourceFileName):v.map),f.sourceMaps!=="inline"&&f.sourceMaps!=="both"||(S+=`
|
|
`+a().fromObject(w).toComment()),f.sourceMaps==="inline"&&(w=null),{outputCode:S,outputMap:w}};var d=u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/transformation/file/merge-map.js")},"./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/transformation/file/merge-map.js":(o,r,u)=>{"use strict";function a(){let d=u("./node_modules/.pnpm/@ampproject+remapping@2.2.1/node_modules/@ampproject/remapping/dist/remapping.umd.js");return a=function(){return d},d}function m(d){return Object.assign({},d,{sourceRoot:null})}Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(d,s,l){let f=l.replace(/\\/g,"/"),p=!1,h=a()(m(s),(y,b)=>y!==f||p?null:(p=!0,b.source="",m(d)));return typeof d.sourceRoot=="string"&&(h.sourceRoot=d.sourceRoot),Object.assign({},h)}},"./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/transformation/index.js":(o,r,u)=>{"use strict";function a(){let y=u("./node_modules/.pnpm/@babel+traverse@7.22.15/node_modules/@babel/traverse/lib/index.js");return a=function(){return y},y}Object.defineProperty(r,"__esModule",{value:!0}),r.run=function*(y,b,E){let v=yield*(0,l.default)(y.passes,(0,s.default)(y),b,E),S=v.opts;try{yield*function*(P,D){for(let L of D){let I=[],j=[],M=[];for(let z of L.concat([(0,d.default)()])){let Y=new m.default(P,z.key,z.options);I.push([z,Y]),j.push(Y),M.push(z.visitor)}for(let[z,Y]of I){let $=z.pre;if($){let G=$.call(Y,P);if(yield*[],h(G))throw new Error("You appear to be using an plugin with an async .pre, which your current version of Babel does not support. If you're using a published plugin, you may need to upgrade your @babel/core version.")}}let R=a().default.visitors.merge(M,j,P.opts.wrapPluginVisitorMethod);(0,a().default)(P.ast,R,P.scope);for(let[z,Y]of I){let $=z.post;if($){let G=$.call(Y,P);if(yield*[],h(G))throw new Error("You appear to be using an plugin with an async .post, which your current version of Babel does not support. If you're using a published plugin, you may need to upgrade your @babel/core version.")}}}}(v,y.passes)}catch(P){var w;throw P.message=`${(w=S.filename)!=null?w:"unknown file"}: ${P.message}`,P.code||(P.code="BABEL_TRANSFORM_ERROR"),P}let A,x;try{S.code!==!1&&({outputCode:A,outputMap:x}=(0,f.default)(y.passes,v))}catch(P){var C;throw P.message=`${(C=S.filename)!=null?C:"unknown file"}: ${P.message}`,P.code||(P.code="BABEL_GENERATE_ERROR"),P}return{metadata:v.metadata,options:S,ast:S.ast===!0?v.ast:null,code:A===void 0?null:A,map:x===void 0?null:x,sourceType:v.ast.program.sourceType,externalDependencies:(0,p.flattenToSet)(y.externalDependencies)}};var m=u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/transformation/plugin-pass.js"),d=u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/transformation/block-hoist-plugin.js"),s=u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/transformation/normalize-opts.js"),l=u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/transformation/normalize-file.js"),f=u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/transformation/file/generate.js"),p=u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/config/helpers/deep-array.js");function h(y){return!(!y||typeof y!="object"&&typeof y!="function"||!y.then||typeof y.then!="function")}},"./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/transformation/normalize-file.js":(o,r,u)=>{"use strict";function a(){let x=u("fs");return a=function(){return x},x}function m(){let x=u("path");return m=function(){return x},x}function d(){let x=u("./node_modules/.pnpm/debug@4.3.4/node_modules/debug/src/index.js");return d=function(){return x},x}function s(){let x=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/index.js");return s=function(){return x},x}function l(){let x=u("./node_modules/.pnpm/convert-source-map@1.9.0/node_modules/convert-source-map/index.js");return l=function(){return x},x}Object.defineProperty(r,"__esModule",{value:!0}),r.default=function*(x,C,P,D){if(P=`${P||""}`,D){if(D.type==="Program")D=y(D,[],[]);else if(D.type!=="File")throw new Error("AST root must be a Program or File node");C.cloneInputAst&&(D=(0,h.default)(D))}else D=yield*(0,p.default)(x,C,P);let L=null;if(C.inputSourceMap!==!1){if(typeof C.inputSourceMap=="object"&&(L=l().fromObject(C.inputSourceMap)),!L){let I=A(v,D);if(I)try{L=l().fromComment(I)}catch(j){E("discarding unknown inline input sourcemap",j)}}if(!L){let I=A(S,D);if(typeof C.filename=="string"&&I)try{let j=S.exec(I),M=a().readFileSync(m().resolve(m().dirname(C.filename),j[1]),"utf8");L=l().fromJSON(M)}catch(j){E("discarding unknown file input sourcemap",j)}else I&&E("discarding un-loadable file input sourcemap")}}return new f.default(C,{code:P,ast:D,inputMap:L})};var f=u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/transformation/file/file.js"),p=u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/parser/index.js"),h=u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/transformation/util/clone-deep.js");let{file:y,traverseFast:b}=s(),E=d()("babel:transform:file"),v=/^[@#]\s+sourceMappingURL=data:(?:application|text)\/json;(?:charset[:=]\S+?;)?base64,(?:.*)$/,S=/^[@#][ \t]+sourceMappingURL=([^\s'"`]+)[ \t]*$/;function w(x,C,P){return C&&(C=C.filter(({value:D})=>!x.test(D)||(P=D,!1))),[C,P]}function A(x,C){let P=null;return b(C,D=>{[D.leadingComments,P]=w(x,D.leadingComments,P),[D.innerComments,P]=w(x,D.innerComments,P),[D.trailingComments,P]=w(x,D.trailingComments,P)}),P}},"./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/transformation/normalize-opts.js":(o,r,u)=>{"use strict";function a(){let m=u("path");return a=function(){return m},m}Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(m){let{filename:d,cwd:s,filenameRelative:l=typeof d=="string"?a().relative(s,d):"unknown",sourceType:f="module",inputSourceMap:p,sourceMaps:h=!!p,sourceRoot:y=m.options.moduleRoot,sourceFileName:b=a().basename(l),comments:E=!0,compact:v="auto"}=m.options,S=m.options,w=Object.assign({},S,{parserOpts:Object.assign({sourceType:a().extname(l)===".mjs"?"module":f,sourceFileName:d,plugins:[]},S.parserOpts),generatorOpts:Object.assign({filename:d,auxiliaryCommentBefore:S.auxiliaryCommentBefore,auxiliaryCommentAfter:S.auxiliaryCommentAfter,retainLines:S.retainLines,comments:E,shouldPrintComment:S.shouldPrintComment,compact:v,minified:S.minified,sourceMaps:h,sourceRoot:y,sourceFileName:b},S.generatorOpts)});for(let A of m.passes)for(let x of A)x.manipulateOptions&&x.manipulateOptions(w,w.parserOpts);return w}},"./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/transformation/plugin-pass.js":(o,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;class u{constructor(m,d,s){this._map=new Map,this.key=void 0,this.file=void 0,this.opts=void 0,this.cwd=void 0,this.filename=void 0,this.key=d,this.file=m,this.opts=s||{},this.cwd=m.opts.cwd,this.filename=m.opts.filename}set(m,d){this._map.set(m,d)}get(m){return this._map.get(m)}availableHelper(m,d){return this.file.availableHelper(m,d)}addHelper(m){return this.file.addHelper(m)}buildCodeFrameError(m,d,s){return this.file.buildCodeFrameError(m,d,s)}}r.default=u,u.prototype.getModuleName=function(){return this.file.getModuleName()},u.prototype.addImport=function(){this.file.addImport()}},"./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/transformation/util/clone-deep.js":(o,r)=>{"use strict";function u(a,m){if(a!==null){if(m.has(a))return m.get(a);let d;if(Array.isArray(a)){d=new Array(a.length),m.set(a,d);for(let s=0;s<a.length;s++)d[s]=typeof a[s]!="object"?a[s]:u(a[s],m)}else{d={},m.set(a,d);let s=Object.keys(a);for(let l=0;l<s.length;l++){let f=s[l];d[f]=typeof a[f]!="object"?a[f]:u(a[f],m)}}return d}return a}Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(a){return typeof a!="object"?a:u(a,new Map)}},"./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/vendor/import-meta-resolve.js":(o,r,u)=>{"use strict";function a(){let re=u("assert");return a=function(){return re},re}function m(){let re=function(ie,Ne){if(!Ne&&ie&&ie.__esModule)return ie;if(ie===null||typeof ie!="object"&&typeof ie!="function")return{default:ie};var Be=y(Ne);if(Be&&Be.has(ie))return Be.get(ie);var rt={},ot=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var Ve in ie)if(Ve!=="default"&&Object.prototype.hasOwnProperty.call(ie,Ve)){var ft=ot?Object.getOwnPropertyDescriptor(ie,Ve):null;ft&&(ft.get||ft.set)?Object.defineProperty(rt,Ve,ft):rt[Ve]=ie[Ve]}return rt.default=ie,Be&&Be.set(ie,rt),rt}(u("fs"),!0);return m=function(){return re},re}function d(){let re=u("process");return d=function(){return re},re}function s(){let re=u("url");return s=function(){return re},re}function l(){let re=u("path");return l=function(){return re},re}function f(){let re=u("module");return f=function(){return re},re}function p(){let re=u("v8");return p=function(){return re},re}function h(){let re=u("util");return h=function(){return re},re}function y(re){if(typeof WeakMap!="function")return null;var ie=new WeakMap,Ne=new WeakMap;return(y=function(Be){return Be?Ne:ie})(re)}Object.defineProperty(r,"__esModule",{value:!0}),r.moduleResolve=Ce,r.resolve=function(re,ie){if(!ie)throw new Error("Please pass `parent`: `import-meta-resolve` cannot ponyfill that");try{return function(Ne,Be={}){let{parentURL:rt}=Be,ot,Ve;if(a()(rt!==void 0,"expected `parentURL` to be defined"),function(tt){if(tt!==void 0){if(typeof tt!="string"&&(Tt=tt,!(Tt&&typeof Tt=="object"&&"href"in Tt&&typeof Tt.href=="string"&&"protocol"in Tt&&typeof Tt.protocol=="string"&&Tt.href&&Tt.protocol)))throw new w.ERR_INVALID_ARG_TYPE("parentURL",["string","URL"],tt);var Tt}}(rt),rt)try{ot=new(s()).URL(rt)}catch{}try{Ve=nt(Ne)?new(s()).URL(Ne,ot):new(s()).URL(Ne);let tt=Ve.protocol;if(tt==="data:"||V&&(tt==="https:"||tt==="http:"))return{url:Ve.href,format:null}}catch{}let ft=function(tt,Tt,Et){if(Et){let qt=Et.protocol;if(qt==="http:"||qt==="https:"){if(nt(tt)){let Xt=Tt==null?void 0:Tt.protocol;if(Xt&&Xt!=="https:"&&Xt!=="http:")throw new Q(tt,Et,"remote imports cannot import from a local location.");return{url:(Tt==null?void 0:Tt.href)||""}}throw f().builtinModules.includes(tt)?new Q(tt,Et,"remote imports cannot import from a local location."):new Q(tt,Et,"only relative and absolute specifiers are supported.")}}}(Ne,Ve,ot);if(ft)return ft;if(Ve&&Ve.protocol==="node:")return{url:Ne};(function(tt,Tt){let Et=tt==null?void 0:tt.protocol;if(Et&&Et!=="file:"&&Et!=="data:"&&(!Tt||Et!=="https:"&&Et!=="http:"))throw new se(tt,["file","data"].concat(Tt?["https","http"]:[]))})(Ve,V);let Pt=function(tt){if(tt!==void 0&&tt!==H){if(!Array.isArray(tt))throw new X("conditions",tt,"expected an array");return new Set(tt)}return F}(Be.conditions),$t=Ce(Ne,new(s()).URL(rt),Pt,!1);return function(tt){let Tt=tt.protocol;if(Tt!=="file:"&&Tt!=="data:"&&Tt!=="node:")throw new se(tt)}($t),{url:$t.href,format:N($t,{parentURL:rt})}}(re,{parentURL:ie}).url}catch(Ne){let Be=Ne;if(Be.code==="ERR_UNSUPPORTED_DIR_IMPORT"&&typeof Be.url=="string")return Be.url;throw Ne}};let b=d().platform==="win32",E={}.hasOwnProperty,v=/^([A-Z][a-z\d]*)+$/,S=new Set(["string","function","number","object","Function","Object","boolean","bigint","symbol"]),w={};function A(re,ie="and"){return re.length<3?re.join(` ${ie} `):`${re.slice(0,-1).join(", ")}, ${ie} ${re[re.length-1]}`}let x=new Map,C;function P(re,ie,Ne){return x.set(re,ie),function(Be,rt){return ot;function ot(...Ve){let ft=Error.stackTraceLimit;D()&&(Error.stackTraceLimit=0);let Pt=new Be;D()&&(Error.stackTraceLimit=ft);let $t=function(tt,Tt,Et){let qt=x.get(tt);if(a()(qt!==void 0,"expected `message` to be found"),typeof qt=="function")return a()(qt.length<=Tt.length,`Code: ${tt}; The provided arguments length (${Tt.length}) does not match the required ones (${qt.length}).`),Reflect.apply(qt,Et,Tt);let Xt=/%[dfijoOs]/g,mr=0;for(;Xt.exec(qt)!==null;)mr++;return a()(mr===Tt.length,`Code: ${tt}; The provided arguments length (${Tt.length}) does not match the required ones (${mr}).`),Tt.length===0?qt:(Tt.unshift(qt),Reflect.apply(h().format,null,Tt))}(rt,Ve,Pt);return Object.defineProperties(Pt,{message:{value:$t,enumerable:!1,writable:!0,configurable:!0},toString:{value(){return`${this.name} [${rt}]: ${this.message}`},enumerable:!1,writable:!0,configurable:!0}}),L(Pt),Pt.code=rt,Pt}}(Ne,re)}function D(){try{if(p().startupSnapshot.isBuildingSnapshot())return!1}catch{}let re=Object.getOwnPropertyDescriptor(Error,"stackTraceLimit");return re===void 0?Object.isExtensible(Error):E.call(re,"writable")&&re.writable!==void 0?re.writable:re.set!==void 0}w.ERR_INVALID_ARG_TYPE=P("ERR_INVALID_ARG_TYPE",(re,ie,Ne)=>{a()(typeof re=="string","'name' must be a string"),Array.isArray(ie)||(ie=[ie]);let Be="The ";if(re.endsWith(" argument"))Be+=`${re} `;else{let ft=re.includes(".")?"property":"argument";Be+=`"${re}" ${ft} `}Be+="must be ";let rt=[],ot=[],Ve=[];for(let ft of ie)a()(typeof ft=="string","All expected entries have to be of type string"),S.has(ft)?rt.push(ft.toLowerCase()):v.exec(ft)===null?(a()(ft!=="object",'The value "object" should be written as "Object"'),Ve.push(ft)):ot.push(ft);if(ot.length>0){let ft=rt.indexOf("object");ft!==-1&&(rt.slice(ft,1),ot.push("Object"))}return rt.length>0&&(Be+=`${rt.length>1?"one of type":"of type"} ${A(rt,"or")}`,(ot.length>0||Ve.length>0)&&(Be+=" or ")),ot.length>0&&(Be+=`an instance of ${A(ot,"or")}`,Ve.length>0&&(Be+=" or ")),Ve.length>0&&(Ve.length>1?Be+=`one of ${A(Ve,"or")}`:(Ve[0].toLowerCase()!==Ve[0]&&(Be+="an "),Be+=`${Ve[0]}`)),Be+=`. Received ${function(ft){if(ft==null)return String(ft);if(typeof ft=="function"&&ft.name)return`function ${ft.name}`;if(typeof ft=="object")return ft.constructor&&ft.constructor.name?`an instance of ${ft.constructor.name}`:`${(0,h().inspect)(ft,{depth:-1})}`;let Pt=(0,h().inspect)(ft,{colors:!1});return Pt.length>28&&(Pt=`${Pt.slice(0,25)}...`),`type ${typeof ft} (${Pt})`}(Ne)}`,Be},TypeError),w.ERR_INVALID_MODULE_SPECIFIER=P("ERR_INVALID_MODULE_SPECIFIER",(re,ie,Ne=void 0)=>`Invalid module "${re}" ${ie}${Ne?` imported from ${Ne}`:""}`,TypeError),w.ERR_INVALID_PACKAGE_CONFIG=P("ERR_INVALID_PACKAGE_CONFIG",(re,ie,Ne)=>`Invalid package config ${re}${ie?` while importing ${ie}`:""}${Ne?`. ${Ne}`:""}`,Error),w.ERR_INVALID_PACKAGE_TARGET=P("ERR_INVALID_PACKAGE_TARGET",(re,ie,Ne,Be=!1,rt=void 0)=>{let ot=typeof Ne=="string"&&!Be&&Ne.length>0&&!Ne.startsWith("./");return ie==="."?(a()(Be===!1),`Invalid "exports" main target ${JSON.stringify(Ne)} defined in the package config ${re}package.json${rt?` imported from ${rt}`:""}${ot?'; targets must start with "./"':""}`):`Invalid "${Be?"imports":"exports"}" target ${JSON.stringify(Ne)} defined for '${ie}' in the package config ${re}package.json${rt?` imported from ${rt}`:""}${ot?'; targets must start with "./"':""}`},Error),w.ERR_MODULE_NOT_FOUND=P("ERR_MODULE_NOT_FOUND",(re,ie,Ne="package")=>`Cannot find ${Ne} '${re}' imported from ${ie}`,Error),w.ERR_NETWORK_IMPORT_DISALLOWED=P("ERR_NETWORK_IMPORT_DISALLOWED","import of '%s' by %s is not supported: %s",Error),w.ERR_PACKAGE_IMPORT_NOT_DEFINED=P("ERR_PACKAGE_IMPORT_NOT_DEFINED",(re,ie,Ne)=>`Package import specifier "${re}" is not defined${ie?` in package ${ie}package.json`:""} imported from ${Ne}`,TypeError),w.ERR_PACKAGE_PATH_NOT_EXPORTED=P("ERR_PACKAGE_PATH_NOT_EXPORTED",(re,ie,Ne=void 0)=>ie==="."?`No "exports" main defined in ${re}package.json${Ne?` imported from ${Ne}`:""}`:`Package subpath '${ie}' is not defined by "exports" in ${re}package.json${Ne?` imported from ${Ne}`:""}`,Error),w.ERR_UNSUPPORTED_DIR_IMPORT=P("ERR_UNSUPPORTED_DIR_IMPORT","Directory import '%s' is not supported resolving ES modules imported from %s",Error),w.ERR_UNKNOWN_FILE_EXTENSION=P("ERR_UNKNOWN_FILE_EXTENSION",(re,ie)=>`Unknown file extension "${re}" for ${ie}`,TypeError),w.ERR_INVALID_ARG_VALUE=P("ERR_INVALID_ARG_VALUE",(re,ie,Ne="is invalid")=>{let Be=(0,h().inspect)(ie);return Be.length>128&&(Be=`${Be.slice(0,128)}...`),`The ${re.includes(".")?"property":"argument"} '${re}' ${Ne}. Received ${Be}`},TypeError),w.ERR_UNSUPPORTED_ESM_URL_SCHEME=P("ERR_UNSUPPORTED_ESM_URL_SCHEME",(re,ie)=>{let Ne=`Only URLs with a scheme in: ${A(ie)} are supported by the default ESM loader`;return b&&re.protocol.length===2&&(Ne+=". On Windows, absolute paths must be valid file:// URLs"),Ne+=`. Received protocol '${re.protocol}'`,Ne},Error);let L=function(re){let ie="__node_internal_"+re.name;return Object.defineProperty(re,"name",{value:ie}),re}(function(re){let ie=D();return ie&&(C=Error.stackTraceLimit,Error.stackTraceLimit=Number.POSITIVE_INFINITY),Error.captureStackTrace(re),ie&&(Error.stackTraceLimit=C),re});var I={read:function(re){try{return{string:m().default.readFileSync(l().toNamespacedPath(l().join(l().dirname(re),"package.json")),"utf8")}}catch(ie){let Ne=ie;if(Ne.code==="ENOENT")return{string:void 0};throw Ne}}};let{ERR_INVALID_PACKAGE_CONFIG:j}=w,M=new Map;function R(re,ie,Ne){let Be=M.get(re);if(Be!==void 0)return Be;let rt=I.read(re).string;if(rt===void 0){let Et={pjsonPath:re,exists:!1,main:void 0,name:void 0,type:"none",exports:void 0,imports:void 0};return M.set(re,Et),Et}let ot;try{ot=JSON.parse(rt)}catch(Et){let qt=Et;throw new j(re,(Ne?`"${ie}" from `:"")+(0,s().fileURLToPath)(Ne||ie),qt.message)}let{exports:Ve,imports:ft,main:Pt,name:$t,type:tt}=ot,Tt={pjsonPath:re,exists:!0,main:typeof Pt=="string"?Pt:void 0,name:typeof $t=="string"?$t:void 0,type:tt==="module"||tt==="commonjs"?tt:"none",exports:Ve,imports:ft&&typeof ft=="object"?ft:void 0};return M.set(re,Tt),Tt}function z(re){let ie=new(s()).URL("package.json",re);for(;!ie.pathname.endsWith("node_modules/package.json");){let rt=R((0,s().fileURLToPath)(ie),re);if(rt.exists)return rt;let ot=ie;if(ie=new(s()).URL("../package.json",ie),ie.pathname===ot.pathname)break}let Ne=(0,s().fileURLToPath)(ie),Be={pjsonPath:Ne,exists:!1,main:void 0,name:void 0,type:"none",exports:void 0,imports:void 0};return M.set(Ne,Be),Be}let{ERR_UNKNOWN_FILE_EXTENSION:Y}=w,$={}.hasOwnProperty,G={__proto__:null,".cjs":"commonjs",".js":"module",".json":"json",".mjs":"module"},U={__proto__:null,"data:":function(re){let{1:ie}=/^([^/]+\/[^;,]+)[^,]*?(;base64)?,/.exec(re.pathname)||[null,null,null];return function(Ne){return Ne&&/\s*(text|application)\/javascript\s*(;\s*charset=utf-?8\s*)?/i.test(Ne)?"module":Ne==="application/json"?"json":null}(ie)},"file:":function(re,ie,Ne){let Be=function(Ve){let ft=Ve.pathname,Pt=ft.length;for(;Pt--;){let $t=ft.codePointAt(Pt);if($t===47)return"";if($t===46)return ft.codePointAt(Pt-1)===47?"":ft.slice(Pt)}return""}(re);if(Be===".js")return function(Ve){return z(Ve).type}(re)==="module"?"module":"commonjs";let rt=G[Be];if(rt)return rt;if(Ne)return;let ot=(0,s().fileURLToPath)(re);throw new Y(Be,ot)},"http:":B,"https:":B,"node:":()=>"builtin"};function B(){}function N(re,ie){return $.call(U,re.protocol)&&U[re.protocol](re,ie,!0)||null}let{ERR_INVALID_ARG_VALUE:X}=w,H=Object.freeze(["node","import"]),F=new Set(H),W=RegExp.prototype[Symbol.replace],V=!1,{ERR_NETWORK_IMPORT_DISALLOWED:Q,ERR_INVALID_MODULE_SPECIFIER:ne,ERR_INVALID_PACKAGE_CONFIG:ue,ERR_INVALID_PACKAGE_TARGET:de,ERR_MODULE_NOT_FOUND:Ae,ERR_PACKAGE_IMPORT_NOT_DEFINED:Oe,ERR_PACKAGE_PATH_NOT_EXPORTED:Me,ERR_UNSUPPORTED_DIR_IMPORT:ae,ERR_UNSUPPORTED_ESM_URL_SCHEME:se}=w,ye={}.hasOwnProperty,be=/(^|\\|\/)((\.|%2e)(\.|%2e)?|(n|%6e|%4e)(o|%6f|%4f)(d|%64|%44)(e|%65|%45)(_|%5f)(m|%6d|%4d)(o|%6f|%4f)(d|%64|%44)(u|%75|%55)(l|%6c|%4c)(e|%65|%45)(s|%73|%53))?(\\|\/|$)/i,Ee=/(^|\\|\/)((\.|%2e)(\.|%2e)?|(n|%6e|%4e)(o|%6f|%4f)(d|%64|%44)(e|%65|%45)(_|%5f)(m|%6d|%4d)(o|%6f|%4f)(d|%64|%44)(u|%75|%55)(l|%6c|%4c)(e|%65|%45)(s|%73|%53))(\\|\/|$)/i,oe=/^\.|%|\\/,J=/\*/g,De=/%2f|%5c/i,Ke=new Set,ke=/[/\\]{2}/;function Qe(re,ie,Ne,Be,rt,ot,Ve){let ft=(0,s().fileURLToPath)(Be),Pt=ke.exec(Ve?re:ie)!==null;d().emitWarning(`Use of deprecated ${Pt?"double slash":"leading or trailing slash matching"} resolving "${re}" for module request "${ie}" ${ie===Ne?"":`matched to "${Ne}" `}in the "${rt?"imports":"exports"}" field module resolution of the package at ${ft}${ot?` imported from ${(0,s().fileURLToPath)(ot)}`:""}.`,"DeprecationWarning","DEP0166")}function pt(re,ie,Ne,Be){if(N(re,{parentURL:Ne.href})!=="module")return;let rt=(0,s().fileURLToPath)(re.href),ot=(0,s().fileURLToPath)(new(s()).URL(".",ie)),Ve=(0,s().fileURLToPath)(Ne);Be?d().emitWarning(`Package ${ot} has a "main" field set to ${JSON.stringify(Be)}, excluding the full filename and extension to the resolved file at "${rt.slice(ot.length)}", imported from ${Ve}.
|
|
Automatic extension resolution of the "main" field isdeprecated for ES modules.`,"DeprecationWarning","DEP0151"):d().emitWarning(`No "main" or "exports" field defined in the package.json for ${ot} resolving the main entry point "${rt.slice(ot.length)}", imported from ${Ve}.
|
|
Default "index" lookups for the main are deprecated for ES modules.`,"DeprecationWarning","DEP0151")}function dt(re){try{return(0,m().statSync)(re)}catch{return new(m()).Stats}}function Ue(re){let ie=(0,m().statSync)(re,{throwIfNoEntry:!1}),Ne=ie?ie.isFile():void 0;return Ne!=null&&Ne}function ce(re,ie,Ne){let Be;if(ie.main!==void 0){if(Be=new(s()).URL(ie.main,re),Ue(Be))return Be;let Ve=[`./${ie.main}.js`,`./${ie.main}.json`,`./${ie.main}.node`,`./${ie.main}/index.js`,`./${ie.main}/index.json`,`./${ie.main}/index.node`],ft=-1;for(;++ft<Ve.length&&(Be=new(s()).URL(Ve[ft],re),!Ue(Be));)Be=void 0;if(Be)return pt(Be,re,Ne,ie.main),Be}let rt=["./index.js","./index.json","./index.node"],ot=-1;for(;++ot<rt.length&&(Be=new(s()).URL(rt[ot],re),!Ue(Be));)Be=void 0;if(Be)return pt(Be,re,Ne,ie.main),Be;throw new Ae((0,s().fileURLToPath)(new(s()).URL(".",re)),(0,s().fileURLToPath)(Ne))}function xe(re,ie,Ne){return new Me((0,s().fileURLToPath)(new(s()).URL(".",ie)),re,Ne&&(0,s().fileURLToPath)(Ne))}function he(re,ie,Ne,Be,rt){return ie=typeof ie=="object"&&ie!==null?JSON.stringify(ie,null,""):`${ie}`,new de((0,s().fileURLToPath)(new(s()).URL(".",Ne)),re,ie,Be,rt&&(0,s().fileURLToPath)(rt))}function ve(re,ie,Ne,Be,rt,ot,Ve,ft,Pt){if(ie!==""&&!ot&&re[re.length-1]!=="/")throw he(Ne,re,Be,Ve,rt);if(!re.startsWith("./")){if(Ve&&!re.startsWith("../")&&!re.startsWith("/")){let Et=!1;try{new(s()).URL(re),Et=!0}catch{}if(!Et)return er(ot?W.call(J,re,()=>ie):re+ie,Be,Pt)}throw he(Ne,re,Be,Ve,rt)}if(be.exec(re.slice(2))!==null){if(Ee.exec(re.slice(2))!==null)throw he(Ne,re,Be,Ve,rt);if(!ft){let Et=ot?Ne.replace("*",()=>ie):Ne+ie;Qe(ot?W.call(J,re,()=>ie):re,Et,Ne,Be,Ve,rt,!0)}}let $t=new(s()).URL(re,Be),tt=$t.pathname,Tt=new(s()).URL(".",Be).pathname;if(!tt.startsWith(Tt))throw he(Ne,re,Be,Ve,rt);if(ie==="")return $t;if(be.exec(ie)!==null){let Et=ot?Ne.replace("*",()=>ie):Ne+ie;Ee.exec(ie)===null?ft||Qe(ot?W.call(J,re,()=>ie):re,Et,Ne,Be,Ve,rt,!1):function(qt,Xt,mr,ar,qr){let Lt=`request is not a valid match in pattern "${Xt}" for the "${ar?"imports":"exports"}" resolution of ${(0,s().fileURLToPath)(mr)}`;throw new ne(qt,Lt,qr&&(0,s().fileURLToPath)(qr))}(Et,Ne,Be,Ve,rt)}return ot?new(s()).URL(W.call(J,$t.href,()=>ie)):new(s()).URL(ie,$t)}function et(re){let ie=Number(re);return`${ie}`===re&&ie>=0&&ie<4294967295}function ut(re,ie,Ne,Be,rt,ot,Ve,ft,Pt){if(typeof ie=="string")return ve(ie,Ne,Be,re,rt,ot,Ve,ft,Pt);if(Array.isArray(ie)){let $t=ie;if($t.length===0)return null;let tt,Tt=-1;for(;++Tt<$t.length;){let Et=$t[Tt],qt;try{qt=ut(re,Et,Ne,Be,rt,ot,Ve,ft,Pt)}catch(Xt){if(tt=Xt,Xt.code==="ERR_INVALID_PACKAGE_TARGET")continue;throw Xt}if(qt!==void 0){if(qt!==null)return qt;tt=null}}if(tt==null)return null;throw tt}if(typeof ie=="object"&&ie!==null){let $t=Object.getOwnPropertyNames(ie),tt=-1;for(;++tt<$t.length;)if(et($t[tt]))throw new ue((0,s().fileURLToPath)(re),rt,'"exports" cannot contain numeric property keys.');for(tt=-1;++tt<$t.length;){let Tt=$t[tt];if(Tt==="default"||Pt&&Pt.has(Tt)){let Et=ut(re,ie[Tt],Ne,Be,rt,ot,Ve,ft,Pt);if(Et===void 0)continue;return Et}}return null}if(ie===null)return null;throw he(Be,ie,re,Ve,rt)}function Kt(re,ie,Ne){let Be=(0,s().fileURLToPath)(ie);Ke.has(Be+"|"+re)||(Ke.add(Be+"|"+re),d().emitWarning(`Use of deprecated trailing slash pattern mapping "${re}" in the "exports" field module resolution of the package at ${Be}${Ne?` imported from ${(0,s().fileURLToPath)(Ne)}`:""}. Mapping specifiers ending in "/" is no longer supported.`,"DeprecationWarning","DEP0155"))}function zt(re,ie,Ne,Be,rt){let ot=Ne.exports;if(function(tt,Tt,Et){if(typeof tt=="string"||Array.isArray(tt))return!0;if(typeof tt!="object"||tt===null)return!1;let qt=Object.getOwnPropertyNames(tt),Xt=!1,mr=0,ar=-1;for(;++ar<qt.length;){let qr=qt[ar],Lt=qr===""||qr[0]!==".";if(mr++==0)Xt=Lt;else if(Xt!==Lt)throw new ue((0,s().fileURLToPath)(Tt),Et,`"exports" cannot contain some keys starting with '.' and some not. The exports object must either be an object of package subpath keys or an object of main entry condition name keys only.`)}return Xt}(ot,re,Be)&&(ot={".":ot}),ye.call(ot,ie)&&!ie.includes("*")&&!ie.endsWith("/")){let tt=ut(re,ot[ie],"",ie,Be,!1,!1,!1,rt);if(tt==null)throw xe(ie,re,Be);return tt}let Ve="",ft="",Pt=Object.getOwnPropertyNames(ot),$t=-1;for(;++$t<Pt.length;){let tt=Pt[$t],Tt=tt.indexOf("*");if(Tt!==-1&&ie.startsWith(tt.slice(0,Tt))){ie.endsWith("/")&&Kt(ie,re,Be);let Et=tt.slice(Tt+1);ie.length>=tt.length&&ie.endsWith(Et)&&Zt(Ve,tt)===1&&tt.lastIndexOf("*")===Tt&&(Ve=tt,ft=ie.slice(Tt,ie.length-Et.length))}}if(Ve){let tt=ut(re,ot[Ve],ft,Ve,Be,!0,!1,ie.endsWith("/"),rt);if(tt==null)throw xe(ie,re,Be);return tt}throw xe(ie,re,Be)}function Zt(re,ie){let Ne=re.indexOf("*"),Be=ie.indexOf("*"),rt=Ne===-1?re.length:Ne+1,ot=Be===-1?ie.length:Be+1;return rt>ot?-1:ot>rt||Ne===-1?1:Be===-1||re.length>ie.length?-1:ie.length>re.length?1:0}function Ar(re,ie,Ne){if(re==="#"||re.startsWith("#/")||re.endsWith("/"))throw new ne(re,"is not a valid internal imports specifier name",(0,s().fileURLToPath)(ie));let Be,rt=z(ie);if(rt.exists){Be=(0,s().pathToFileURL)(rt.pjsonPath);let ot=rt.imports;if(ot)if(ye.call(ot,re)&&!re.includes("*")){let Ve=ut(Be,ot[re],"",re,ie,!1,!0,!1,Ne);if(Ve!=null)return Ve}else{let Ve="",ft="",Pt=Object.getOwnPropertyNames(ot),$t=-1;for(;++$t<Pt.length;){let tt=Pt[$t],Tt=tt.indexOf("*");if(Tt!==-1&&re.startsWith(tt.slice(0,-1))){let Et=tt.slice(Tt+1);re.length>=tt.length&&re.endsWith(Et)&&Zt(Ve,tt)===1&&tt.lastIndexOf("*")===Tt&&(Ve=tt,ft=re.slice(Tt,re.length-Et.length))}}if(Ve){let tt=ut(Be,ot[Ve],ft,Ve,ie,!0,!0,!1,Ne);if(tt!=null)return tt}}}throw function(ot,Ve,ft){return new Oe(ot,Ve&&(0,s().fileURLToPath)(new(s()).URL(".",Ve)),(0,s().fileURLToPath)(ft))}(re,Be,ie)}function er(re,ie,Ne){if(f().builtinModules.includes(re))return new(s()).URL("node:"+re);let{packageName:Be,packageSubpath:rt,isScoped:ot}=function(tt,Tt){let Et=tt.indexOf("/"),qt=!0,Xt=!1;tt[0]==="@"&&(Xt=!0,Et===-1||tt.length===0?qt=!1:Et=tt.indexOf("/",Et+1));let mr=Et===-1?tt:tt.slice(0,Et);if(oe.exec(mr)!==null&&(qt=!1),!qt)throw new ne(tt,"is not a valid package name",(0,s().fileURLToPath)(Tt));return{packageName:mr,packageSubpath:"."+(Et===-1?"":tt.slice(Et)),isScoped:Xt}}(re,ie),Ve=z(ie);if(Ve.exists){let tt=(0,s().pathToFileURL)(Ve.pjsonPath);if(Ve.name===Be&&Ve.exports!==void 0&&Ve.exports!==null)return zt(tt,rt,Ve,ie,Ne)}let ft,Pt=new(s()).URL("./node_modules/"+Be+"/package.json",ie),$t=(0,s().fileURLToPath)(Pt);do{if(!dt($t.slice(0,-13)).isDirectory()){ft=$t,Pt=new(s()).URL((ot?"../../../../node_modules/":"../../../node_modules/")+Be+"/package.json",Pt),$t=(0,s().fileURLToPath)(Pt);continue}let tt=R($t,re,ie);return tt.exports!==void 0&&tt.exports!==null?zt(Pt,rt,tt,ie,Ne):rt==="."?ce(Pt,tt,ie):new(s()).URL(rt,Pt)}while($t.length!==ft.length);throw new Ae(Be,(0,s().fileURLToPath)(ie))}function nt(re){return re!==""&&(re[0]==="/"||function(ie){return ie[0]==="."&&(ie.length===1||ie[1]==="/"||ie[1]==="."&&(ie.length===2||ie[2]==="/"))}(re))}function Ce(re,ie,Ne,Be){let rt=ie.protocol,ot=rt==="http:"||rt==="https:",Ve;if(nt(re))Ve=new(s()).URL(re,ie);else if(ot||re[0]!=="#")try{Ve=new(s()).URL(re)}catch{ot||(Ve=er(re,ie,Ne))}else Ve=Ar(re,ie,Ne);return a()(Ve!==void 0,"expected to be defined"),Ve.protocol!=="file:"?Ve:function(ft,Pt,$t){if(De.exec(ft.pathname)!==null)throw new ne(ft.pathname,'must not include encoded "/" or "\\" characters',(0,s().fileURLToPath)(Pt));let tt=(0,s().fileURLToPath)(ft),Tt=dt(tt.endsWith("/")?tt.slice(-1):tt);if(Tt.isDirectory()){let Et=new ae(tt,(0,s().fileURLToPath)(Pt));throw Et.url=String(ft),Et}if(!Tt.isFile())throw new Ae(tt||ft.pathname,Pt&&(0,s().fileURLToPath)(Pt),"module");if(!$t){let Et=(0,m().realpathSync)(tt),{search:qt,hash:Xt}=ft;(ft=(0,s().pathToFileURL)(Et+(tt.endsWith(l().sep)?"/":""))).search=qt,ft.hash=Xt}return ft}(Ve,ie,Be)}},"./node_modules/.pnpm/@babel+generator@7.22.15/node_modules/@babel/generator/lib/buffer.js":(o,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default=class{constructor(u){this._map=null,this._buf="",this._str="",this._appendCount=0,this._last=0,this._queue=[],this._queueCursor=0,this._canMarkIdName=!0,this._position={line:1,column:0},this._sourcePosition={identifierName:void 0,identifierNamePos:void 0,line:void 0,column:void 0,filename:void 0},this._map=u,this._allocQueue()}_allocQueue(){let u=this._queue;for(let a=0;a<16;a++)u.push({char:0,repeat:1,line:void 0,column:void 0,identifierName:void 0,identifierNamePos:void 0,filename:""})}_pushQueue(u,a,m,d,s){let l=this._queueCursor;l===this._queue.length&&this._allocQueue();let f=this._queue[l];f.char=u,f.repeat=a,f.line=m,f.column=d,f.filename=s,this._queueCursor++}_popQueue(){if(this._queueCursor===0)throw new Error("Cannot pop from empty queue");return this._queue[--this._queueCursor]}get(){this._flush();let u=this._map,a={code:(this._buf+this._str).trimRight(),decodedMap:u==null?void 0:u.getDecoded(),get __mergedMap(){return this.map},get map(){let m=u?u.get():null;return a.map=m,m},set map(m){Object.defineProperty(a,"map",{value:m,writable:!0})},get rawMappings(){let m=u==null?void 0:u.getRawMappings();return a.rawMappings=m,m},set rawMappings(m){Object.defineProperty(a,"rawMappings",{value:m,writable:!0})}};return a}append(u,a){this._flush(),this._append(u,this._sourcePosition,a)}appendChar(u){this._flush(),this._appendChar(u,1,this._sourcePosition)}queue(u){if(u===10)for(;this._queueCursor!==0;){let m=this._queue[this._queueCursor-1].char;if(m!==32&&m!==9)break;this._queueCursor--}let a=this._sourcePosition;this._pushQueue(u,1,a.line,a.column,a.filename)}queueIndentation(u,a){this._pushQueue(u,a,void 0,void 0,void 0)}_flush(){let u=this._queueCursor,a=this._queue;for(let m=0;m<u;m++){let d=a[m];this._appendChar(d.char,d.repeat,d)}this._queueCursor=0}_appendChar(u,a,m){this._last=u,this._str+=a>1?String.fromCharCode(u).repeat(a):String.fromCharCode(u),u!==10?(this._mark(m.line,m.column,m.identifierName,m.identifierNamePos,m.filename),this._position.column+=a):(this._position.line++,this._position.column=0),this._canMarkIdName&&(m.identifierName=void 0,m.identifierNamePos=void 0)}_append(u,a,m){let d=u.length,s=this._position;if(this._last=u.charCodeAt(d-1),++this._appendCount>4096?(this._str,this._buf+=this._str,this._str=u,this._appendCount=0):this._str+=u,!m&&!this._map)return void(s.column+=d);let{column:l,identifierName:f,identifierNamePos:p,filename:h}=a,y=a.line;f==null&&p==null||!this._canMarkIdName||(a.identifierName=void 0,a.identifierNamePos=void 0);let b=u.indexOf(`
|
|
`),E=0;for(b!==0&&this._mark(y,l,f,p,h);b!==-1;)s.line++,s.column=0,E=b+1,E<d&&y!==void 0&&this._mark(++y,0,null,null,h),b=u.indexOf(`
|
|
`,E);s.column+=d-E}_mark(u,a,m,d,s){var l;(l=this._map)==null||l.mark(this._position,u,a,m,d,s)}removeTrailingNewline(){let u=this._queueCursor;u!==0&&this._queue[u-1].char===10&&this._queueCursor--}removeLastSemicolon(){let u=this._queueCursor;u!==0&&this._queue[u-1].char===59&&this._queueCursor--}getLastChar(){let u=this._queueCursor;return u!==0?this._queue[u-1].char:this._last}getNewlineCount(){let u=this._queueCursor,a=0;if(u===0)return this._last===10?1:0;for(let m=u-1;m>=0&&this._queue[m].char===10;m--)a++;return a===u&&this._last===10?a+1:a}endsWithCharAndNewline(){let u=this._queue,a=this._queueCursor;if(a!==0)return u[a-1].char!==10?void 0:a>1?u[a-2].char:this._last}hasContent(){return this._queueCursor!==0||!!this._last}exactSource(u,a){if(!this._map)return void a();this.source("start",u);let m=u.identifierName,d=this._sourcePosition;m&&(this._canMarkIdName=!1,d.identifierName=m),a(),m&&(this._canMarkIdName=!0,d.identifierName=void 0,d.identifierNamePos=void 0),this.source("end",u)}source(u,a){this._map&&this._normalizePosition(u,a,0)}sourceWithOffset(u,a,m){this._map&&this._normalizePosition(u,a,m)}withSource(u,a,m){this._map&&this.source(u,a),m()}_normalizePosition(u,a,m){let d=a[u],s=this._sourcePosition;d&&(s.line=d.line,s.column=Math.max(d.column+m,0),s.filename=a.filename)}getCurrentColumn(){let u=this._queue,a=this._queueCursor,m=-1,d=0;for(let s=0;s<a;s++){let l=u[s];l.char===10&&(m=d),d+=l.repeat}return m===-1?this._position.column+d:d-1-m}getCurrentLine(){let u=0,a=this._queue;for(let m=0;m<this._queueCursor;m++)a[m].char===10&&u++;return this._position.line+u}}},"./node_modules/.pnpm/@babel+generator@7.22.15/node_modules/@babel/generator/lib/generators/base.js":(o,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.BlockStatement=function(m){var d;this.tokenChar(123);let s=(d=m.directives)==null?void 0:d.length;if(s){var l;let f=m.body.length?2:1;this.printSequence(m.directives,m,{indent:!0,trailingCommentsLineOffset:f}),(l=m.directives[s-1].trailingComments)!=null&&l.length||this.newline(f)}this.printSequence(m.body,m,{indent:!0}),this.rightBrace(m)},r.Directive=function(m){this.print(m.value,m),this.semicolon()},r.DirectiveLiteral=function(m){let d=this.getPossibleRaw(m);if(!this.format.minified&&d!==void 0)return void this.token(d);let{value:s}=m;if(a.test(s)){if(u.test(s))throw new Error("Malformed AST: it is not possible to print a directive containing both unescaped single and double quotes.");this.token(`'${s}'`)}else this.token(`"${s}"`)},r.File=function(m){m.program&&this.print(m.program.interpreter,m),this.print(m.program,m)},r.InterpreterDirective=function(m){this.token(`#!${m.value}`),this.newline(1,!0)},r.Placeholder=function(m){this.token("%%"),this.print(m.name),this.token("%%"),m.expectedNode==="Statement"&&this.semicolon()},r.Program=function(m){var d;this.noIndentInnerCommentsHere(),this.printInnerComments();let s=(d=m.directives)==null?void 0:d.length;if(s){var l;let f=m.body.length?2:1;this.printSequence(m.directives,m,{trailingCommentsLineOffset:f}),(l=m.directives[s-1].trailingComments)!=null&&l.length||this.newline(f)}this.printSequence(m.body,m)};let u=/(?:^|[^\\])(?:\\\\)*'/,a=/(?:^|[^\\])(?:\\\\)*"/},"./node_modules/.pnpm/@babel+generator@7.22.15/node_modules/@babel/generator/lib/generators/classes.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.ClassAccessorProperty=function(s){var l;this.printJoin(s.decorators,s);let f=(l=s.key.loc)==null||(l=l.end)==null?void 0:l.line;f&&this.catchUp(f),this.tsPrintClassMemberModifiers(s),this.word("accessor",!0),this.space(),s.computed?(this.tokenChar(91),this.print(s.key,s),this.tokenChar(93)):(this._variance(s),this.print(s.key,s)),s.optional&&this.tokenChar(63),s.definite&&this.tokenChar(33),this.print(s.typeAnnotation,s),s.value&&(this.space(),this.tokenChar(61),this.space(),this.print(s.value,s)),this.semicolon()},r.ClassBody=function(s){this.tokenChar(123),s.body.length===0?this.tokenChar(125):(this.newline(),this.printSequence(s.body,s,{indent:!0}),this.endsWith(10)||this.newline(),this.rightBrace(s))},r.ClassExpression=r.ClassDeclaration=function(s,l){(m(l)||d(l))&&this._shouldPrintDecoratorsBeforeExport(l)||this.printJoin(s.decorators,s),s.declare&&(this.word("declare"),this.space()),s.abstract&&(this.word("abstract"),this.space()),this.word("class"),s.id&&(this.space(),this.print(s.id,s)),this.print(s.typeParameters,s),s.superClass&&(this.space(),this.word("extends"),this.space(),this.print(s.superClass,s),this.print(s.superTypeParameters,s)),s.implements&&(this.space(),this.word("implements"),this.space(),this.printList(s.implements,s)),this.space(),this.print(s.body,s)},r.ClassMethod=function(s){this._classMethodHead(s),this.space(),this.print(s.body,s)},r.ClassPrivateMethod=function(s){this._classMethodHead(s),this.space(),this.print(s.body,s)},r.ClassPrivateProperty=function(s){this.printJoin(s.decorators,s),s.static&&(this.word("static"),this.space()),this.print(s.key,s),this.print(s.typeAnnotation,s),s.value&&(this.space(),this.tokenChar(61),this.space(),this.print(s.value,s)),this.semicolon()},r.ClassProperty=function(s){var l;this.printJoin(s.decorators,s);let f=(l=s.key.loc)==null||(l=l.end)==null?void 0:l.line;f&&this.catchUp(f),this.tsPrintClassMemberModifiers(s),s.computed?(this.tokenChar(91),this.print(s.key,s),this.tokenChar(93)):(this._variance(s),this.print(s.key,s)),s.optional&&this.tokenChar(63),s.definite&&this.tokenChar(33),this.print(s.typeAnnotation,s),s.value&&(this.space(),this.tokenChar(61),this.space(),this.print(s.value,s)),this.semicolon()},r.StaticBlock=function(s){this.word("static"),this.space(),this.tokenChar(123),s.body.length===0?this.tokenChar(125):(this.newline(),this.printSequence(s.body,s,{indent:!0}),this.rightBrace(s))},r._classMethodHead=function(s){var l;this.printJoin(s.decorators,s);let f=(l=s.key.loc)==null||(l=l.end)==null?void 0:l.line;f&&this.catchUp(f),this.tsPrintClassMemberModifiers(s),this._methodHead(s)};var a=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/index.js");let{isExportDefaultDeclaration:m,isExportNamedDeclaration:d}=a},"./node_modules/.pnpm/@babel+generator@7.22.15/node_modules/@babel/generator/lib/generators/expressions.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.LogicalExpression=r.BinaryExpression=r.AssignmentExpression=function(h,y){let b=this.inForStatementInitCounter&&h.operator==="in"&&!m.needsParens(h,y);b&&this.tokenChar(40),this.print(h.left,h),this.space(),h.operator==="in"||h.operator==="instanceof"?this.word(h.operator):this.token(h.operator),this.space(),this.print(h.right,h),b&&this.tokenChar(41)},r.AssignmentPattern=function(h){this.print(h.left,h),h.left.optional&&this.tokenChar(63),this.print(h.left.typeAnnotation,h),this.space(),this.tokenChar(61),this.space(),this.print(h.right,h)},r.AwaitExpression=function(h){this.word("await"),h.argument&&(this.space(),this.printTerminatorless(h.argument,h,!1))},r.BindExpression=function(h){this.print(h.object,h),this.token("::"),this.print(h.callee,h)},r.CallExpression=function(h){this.print(h.callee,h),this.print(h.typeArguments,h),this.print(h.typeParameters,h),this.tokenChar(40),this.printList(h.arguments,h),this.rightParens(h)},r.ConditionalExpression=function(h){this.print(h.test,h),this.space(),this.tokenChar(63),this.space(),this.print(h.consequent,h),this.space(),this.tokenChar(58),this.space(),this.print(h.alternate,h)},r.Decorator=function(h){this.tokenChar(64);let{expression:y}=h;(function(b){return b.type==="ParenthesizedExpression"?!1:!p(b.type==="CallExpression"?b.callee:b)})(y)?(this.tokenChar(40),this.print(y,h),this.tokenChar(41)):this.print(y,h),this.newline()},r.DoExpression=function(h){h.async&&(this.word("async",!0),this.space()),this.word("do"),this.space(),this.print(h.body,h)},r.EmptyStatement=function(){this.semicolon(!0)},r.ExpressionStatement=function(h){this.print(h.expression,h),this.semicolon()},r.Import=function(){this.word("import")},r.MemberExpression=function(h){if(this.print(h.object,h),!h.computed&&l(h.property))throw new TypeError("Got a MemberExpression for MemberExpression property");let y=h.computed;s(h.property)&&typeof h.property.value=="number"&&(y=!0),y?(this.tokenChar(91),this.print(h.property,h),this.tokenChar(93)):(this.tokenChar(46),this.print(h.property,h))},r.MetaProperty=function(h){this.print(h.meta,h),this.tokenChar(46),this.print(h.property,h)},r.ModuleExpression=function(h){this.word("module",!0),this.space(),this.tokenChar(123),this.indent();let{body:y}=h;(y.body.length||y.directives.length)&&this.newline(),this.print(y,h),this.dedent(),this.rightBrace(h)},r.NewExpression=function(h,y){this.word("new"),this.space(),this.print(h.callee,h),!(this.format.minified&&h.arguments.length===0&&!h.optional&&!d(y,{callee:h})&&!l(y)&&!f(y))&&(this.print(h.typeArguments,h),this.print(h.typeParameters,h),h.optional&&this.token("?."),this.tokenChar(40),this.printList(h.arguments,h),this.rightParens(h))},r.OptionalCallExpression=function(h){this.print(h.callee,h),this.print(h.typeParameters,h),h.optional&&this.token("?."),this.print(h.typeArguments,h),this.tokenChar(40),this.printList(h.arguments,h),this.rightParens(h)},r.OptionalMemberExpression=function(h){let{computed:y}=h,{optional:b,property:E}=h;if(this.print(h.object,h),!y&&l(E))throw new TypeError("Got a MemberExpression for MemberExpression property");s(E)&&typeof E.value=="number"&&(y=!0),b&&this.token("?."),y?(this.tokenChar(91),this.print(E,h),this.tokenChar(93)):(b||this.tokenChar(46),this.print(E,h))},r.ParenthesizedExpression=function(h){this.tokenChar(40),this.print(h.expression,h),this.rightParens(h)},r.PrivateName=function(h){this.tokenChar(35),this.print(h.id,h)},r.SequenceExpression=function(h){this.printList(h.expressions,h)},r.Super=function(){this.word("super")},r.ThisExpression=function(){this.word("this")},r.UnaryExpression=function(h){let{operator:y}=h;y==="void"||y==="delete"||y==="typeof"||y==="throw"?(this.word(y),this.space()):this.token(y),this.print(h.argument,h)},r.UpdateExpression=function(h){h.prefix?(this.token(h.operator),this.print(h.argument,h)):(this.printTerminatorless(h.argument,h,!0),this.token(h.operator))},r.V8IntrinsicIdentifier=function(h){this.tokenChar(37),this.word(h.name)},r.YieldExpression=function(h){this.word("yield",!0),h.delegate?(this.tokenChar(42),h.argument&&(this.space(),this.print(h.argument,h))):h.argument&&(this.space(),this.printTerminatorless(h.argument,h,!1))},r._shouldPrintDecoratorsBeforeExport=function(h){return typeof this.format.decoratorsBeforeExport=="boolean"?this.format.decoratorsBeforeExport:typeof h.start=="number"&&h.start===h.declaration.start};var a=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/index.js"),m=u("./node_modules/.pnpm/@babel+generator@7.22.15/node_modules/@babel/generator/lib/node/index.js");let{isCallExpression:d,isLiteral:s,isMemberExpression:l,isNewExpression:f}=a;function p(h){switch(h.type){case"Identifier":return!0;case"MemberExpression":return!h.computed&&h.property.type==="Identifier"&&p(h.object);default:return!1}}},"./node_modules/.pnpm/@babel+generator@7.22.15/node_modules/@babel/generator/lib/generators/flow.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.AnyTypeAnnotation=function(){this.word("any")},r.ArrayTypeAnnotation=function(v){this.print(v.elementType,v,!0),this.tokenChar(91),this.tokenChar(93)},r.BooleanLiteralTypeAnnotation=function(v){this.word(v.value?"true":"false")},r.BooleanTypeAnnotation=function(){this.word("boolean")},r.DeclareClass=function(v,S){s(S)||(this.word("declare"),this.space()),this.word("class"),this.space(),this._interfaceish(v)},r.DeclareExportAllDeclaration=function(v){this.word("declare"),this.space(),m.ExportAllDeclaration.call(this,v)},r.DeclareExportDeclaration=function(v){this.word("declare"),this.space(),this.word("export"),this.space(),v.default&&(this.word("default"),this.space()),y.call(this,v)},r.DeclareFunction=function(v,S){s(S)||(this.word("declare"),this.space()),this.word("function"),this.space(),this.print(v.id,v),this.print(v.id.typeAnnotation.typeAnnotation,v),v.predicate&&(this.space(),this.print(v.predicate,v)),this.semicolon()},r.DeclareInterface=function(v){this.word("declare"),this.space(),this.InterfaceDeclaration(v)},r.DeclareModule=function(v){this.word("declare"),this.space(),this.word("module"),this.space(),this.print(v.id,v),this.space(),this.print(v.body,v)},r.DeclareModuleExports=function(v){this.word("declare"),this.space(),this.word("module"),this.tokenChar(46),this.word("exports"),this.print(v.typeAnnotation,v)},r.DeclareOpaqueType=function(v,S){s(S)||(this.word("declare"),this.space()),this.OpaqueType(v)},r.DeclareTypeAlias=function(v){this.word("declare"),this.space(),this.TypeAlias(v)},r.DeclareVariable=function(v,S){s(S)||(this.word("declare"),this.space()),this.word("var"),this.space(),this.print(v.id,v),this.print(v.id.typeAnnotation,v),this.semicolon()},r.DeclaredPredicate=function(v){this.tokenChar(37),this.word("checks"),this.tokenChar(40),this.print(v.value,v),this.tokenChar(41)},r.EmptyTypeAnnotation=function(){this.word("empty")},r.EnumBooleanBody=function(v){let{explicitType:S}=v;f(this,"boolean",S),p(this,v)},r.EnumBooleanMember=function(v){h(this,v)},r.EnumDeclaration=function(v){let{id:S,body:w}=v;this.word("enum"),this.space(),this.print(S,v),this.print(w,v)},r.EnumDefaultedMember=function(v){let{id:S}=v;this.print(S,v),this.tokenChar(44)},r.EnumNumberBody=function(v){let{explicitType:S}=v;f(this,"number",S),p(this,v)},r.EnumNumberMember=function(v){h(this,v)},r.EnumStringBody=function(v){let{explicitType:S}=v;f(this,"string",S),p(this,v)},r.EnumStringMember=function(v){h(this,v)},r.EnumSymbolBody=function(v){f(this,"symbol",!0),p(this,v)},r.ExistsTypeAnnotation=function(){this.tokenChar(42)},r.FunctionTypeAnnotation=function(v,S){this.print(v.typeParameters,v),this.tokenChar(40),v.this&&(this.word("this"),this.tokenChar(58),this.space(),this.print(v.this.typeAnnotation,v),(v.params.length||v.rest)&&(this.tokenChar(44),this.space())),this.printList(v.params,v),v.rest&&(v.params.length&&(this.tokenChar(44),this.space()),this.token("..."),this.print(v.rest,v)),this.tokenChar(41);let w=S==null?void 0:S.type;w!=null&&(w==="ObjectTypeCallProperty"||w==="ObjectTypeInternalSlot"||w==="DeclareFunction"||w==="ObjectTypeProperty"&&S.method)?this.tokenChar(58):(this.space(),this.token("=>")),this.space(),this.print(v.returnType,v)},r.FunctionTypeParam=function(v){this.print(v.name,v),v.optional&&this.tokenChar(63),v.name&&(this.tokenChar(58),this.space()),this.print(v.typeAnnotation,v)},r.IndexedAccessType=function(v){this.print(v.objectType,v,!0),this.tokenChar(91),this.print(v.indexType,v),this.tokenChar(93)},r.InferredPredicate=function(){this.tokenChar(37),this.word("checks")},r.InterfaceDeclaration=function(v){this.word("interface"),this.space(),this._interfaceish(v)},r.GenericTypeAnnotation=r.ClassImplements=r.InterfaceExtends=function(v){this.print(v.id,v),this.print(v.typeParameters,v,!0)},r.InterfaceTypeAnnotation=function(v){var S;this.word("interface"),(S=v.extends)!=null&&S.length&&(this.space(),this.word("extends"),this.space(),this.printList(v.extends,v)),this.space(),this.print(v.body,v)},r.IntersectionTypeAnnotation=function(v){this.printJoin(v.types,v,{separator:b})},r.MixedTypeAnnotation=function(){this.word("mixed")},r.NullLiteralTypeAnnotation=function(){this.word("null")},r.NullableTypeAnnotation=function(v){this.tokenChar(63),this.print(v.typeAnnotation,v)},Object.defineProperty(r,"NumberLiteralTypeAnnotation",{enumerable:!0,get:function(){return d.NumericLiteral}}),r.NumberTypeAnnotation=function(){this.word("number")},r.ObjectTypeAnnotation=function(v){v.exact?this.token("{|"):this.tokenChar(123);let S=[...v.properties,...v.callProperties||[],...v.indexers||[],...v.internalSlots||[]];S.length&&(this.newline(),this.space(),this.printJoin(S,v,{addNewlines(w){if(w&&!S[0])return 1},indent:!0,statement:!0,iterator:()=>{(S.length!==1||v.inexact)&&(this.tokenChar(44),this.space())}}),this.space()),v.inexact&&(this.indent(),this.token("..."),S.length&&this.newline(),this.dedent()),v.exact?this.token("|}"):this.tokenChar(125)},r.ObjectTypeCallProperty=function(v){v.static&&(this.word("static"),this.space()),this.print(v.value,v)},r.ObjectTypeIndexer=function(v){v.static&&(this.word("static"),this.space()),this._variance(v),this.tokenChar(91),v.id&&(this.print(v.id,v),this.tokenChar(58),this.space()),this.print(v.key,v),this.tokenChar(93),this.tokenChar(58),this.space(),this.print(v.value,v)},r.ObjectTypeInternalSlot=function(v){v.static&&(this.word("static"),this.space()),this.tokenChar(91),this.tokenChar(91),this.print(v.id,v),this.tokenChar(93),this.tokenChar(93),v.optional&&this.tokenChar(63),v.method||(this.tokenChar(58),this.space()),this.print(v.value,v)},r.ObjectTypeProperty=function(v){v.proto&&(this.word("proto"),this.space()),v.static&&(this.word("static"),this.space()),v.kind!=="get"&&v.kind!=="set"||(this.word(v.kind),this.space()),this._variance(v),this.print(v.key,v),v.optional&&this.tokenChar(63),v.method||(this.tokenChar(58),this.space()),this.print(v.value,v)},r.ObjectTypeSpreadProperty=function(v){this.token("..."),this.print(v.argument,v)},r.OpaqueType=function(v){this.word("opaque"),this.space(),this.word("type"),this.space(),this.print(v.id,v),this.print(v.typeParameters,v),v.supertype&&(this.tokenChar(58),this.space(),this.print(v.supertype,v)),v.impltype&&(this.space(),this.tokenChar(61),this.space(),this.print(v.impltype,v)),this.semicolon()},r.OptionalIndexedAccessType=function(v){this.print(v.objectType,v),v.optional&&this.token("?."),this.tokenChar(91),this.print(v.indexType,v),this.tokenChar(93)},r.QualifiedTypeIdentifier=function(v){this.print(v.qualification,v),this.tokenChar(46),this.print(v.id,v)},Object.defineProperty(r,"StringLiteralTypeAnnotation",{enumerable:!0,get:function(){return d.StringLiteral}}),r.StringTypeAnnotation=function(){this.word("string")},r.SymbolTypeAnnotation=function(){this.word("symbol")},r.ThisTypeAnnotation=function(){this.word("this")},r.TupleTypeAnnotation=function(v){this.tokenChar(91),this.printList(v.types,v),this.tokenChar(93)},r.TypeAlias=function(v){this.word("type"),this.space(),this.print(v.id,v),this.print(v.typeParameters,v),this.space(),this.tokenChar(61),this.space(),this.print(v.right,v),this.semicolon()},r.TypeAnnotation=function(v){this.tokenChar(58),this.space(),v.optional&&this.tokenChar(63),this.print(v.typeAnnotation,v)},r.TypeCastExpression=function(v){this.tokenChar(40),this.print(v.expression,v),this.print(v.typeAnnotation,v),this.tokenChar(41)},r.TypeParameter=function(v){this._variance(v),this.word(v.name),v.bound&&this.print(v.bound,v),v.default&&(this.space(),this.tokenChar(61),this.space(),this.print(v.default,v))},r.TypeParameterDeclaration=r.TypeParameterInstantiation=function(v){this.tokenChar(60),this.printList(v.params,v,{}),this.tokenChar(62)},r.TypeofTypeAnnotation=function(v){this.word("typeof"),this.space(),this.print(v.argument,v)},r.UnionTypeAnnotation=function(v){this.printJoin(v.types,v,{separator:E})},r.Variance=function(v){v.kind==="plus"?this.tokenChar(43):this.tokenChar(45)},r.VoidTypeAnnotation=function(){this.word("void")},r._interfaceish=function(v){var S;if(this.print(v.id,v),this.print(v.typeParameters,v),(S=v.extends)!=null&&S.length&&(this.space(),this.word("extends"),this.space(),this.printList(v.extends,v)),v.type==="DeclareClass"){var w,A;(w=v.mixins)!=null&&w.length&&(this.space(),this.word("mixins"),this.space(),this.printList(v.mixins,v)),(A=v.implements)!=null&&A.length&&(this.space(),this.word("implements"),this.space(),this.printList(v.implements,v))}this.space(),this.print(v.body,v)},r._variance=function(v){var S;let w=(S=v.variance)==null?void 0:S.kind;w!=null&&(w==="plus"?this.tokenChar(43):w==="minus"&&this.tokenChar(45))};var a=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/index.js"),m=u("./node_modules/.pnpm/@babel+generator@7.22.15/node_modules/@babel/generator/lib/generators/modules.js"),d=u("./node_modules/.pnpm/@babel+generator@7.22.15/node_modules/@babel/generator/lib/generators/types.js");let{isDeclareExportDeclaration:s,isStatement:l}=a;function f(v,S,w){w&&(v.space(),v.word("of"),v.space(),v.word(S)),v.space()}function p(v,S){let{members:w}=S;v.token("{"),v.indent(),v.newline();for(let A of w)v.print(A,S),v.newline();S.hasUnknownMembers&&(v.token("..."),v.newline()),v.dedent(),v.token("}")}function h(v,S){let{id:w,init:A}=S;v.print(w,S),v.space(),v.token("="),v.space(),v.print(A,S),v.token(",")}function y(v){if(v.declaration){let S=v.declaration;this.print(S,v),l(S)||this.semicolon()}else this.tokenChar(123),v.specifiers.length&&(this.space(),this.printList(v.specifiers,v),this.space()),this.tokenChar(125),v.source&&(this.space(),this.word("from"),this.space(),this.print(v.source,v)),this.semicolon()}function b(){this.space(),this.tokenChar(38),this.space()}function E(){this.space(),this.tokenChar(124),this.space()}},"./node_modules/.pnpm/@babel+generator@7.22.15/node_modules/@babel/generator/lib/generators/index.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var a=u("./node_modules/.pnpm/@babel+generator@7.22.15/node_modules/@babel/generator/lib/generators/template-literals.js");Object.keys(a).forEach(function(v){v!=="default"&&v!=="__esModule"&&(v in r&&r[v]===a[v]||Object.defineProperty(r,v,{enumerable:!0,get:function(){return a[v]}}))});var m=u("./node_modules/.pnpm/@babel+generator@7.22.15/node_modules/@babel/generator/lib/generators/expressions.js");Object.keys(m).forEach(function(v){v!=="default"&&v!=="__esModule"&&(v in r&&r[v]===m[v]||Object.defineProperty(r,v,{enumerable:!0,get:function(){return m[v]}}))});var d=u("./node_modules/.pnpm/@babel+generator@7.22.15/node_modules/@babel/generator/lib/generators/statements.js");Object.keys(d).forEach(function(v){v!=="default"&&v!=="__esModule"&&(v in r&&r[v]===d[v]||Object.defineProperty(r,v,{enumerable:!0,get:function(){return d[v]}}))});var s=u("./node_modules/.pnpm/@babel+generator@7.22.15/node_modules/@babel/generator/lib/generators/classes.js");Object.keys(s).forEach(function(v){v!=="default"&&v!=="__esModule"&&(v in r&&r[v]===s[v]||Object.defineProperty(r,v,{enumerable:!0,get:function(){return s[v]}}))});var l=u("./node_modules/.pnpm/@babel+generator@7.22.15/node_modules/@babel/generator/lib/generators/methods.js");Object.keys(l).forEach(function(v){v!=="default"&&v!=="__esModule"&&(v in r&&r[v]===l[v]||Object.defineProperty(r,v,{enumerable:!0,get:function(){return l[v]}}))});var f=u("./node_modules/.pnpm/@babel+generator@7.22.15/node_modules/@babel/generator/lib/generators/modules.js");Object.keys(f).forEach(function(v){v!=="default"&&v!=="__esModule"&&(v in r&&r[v]===f[v]||Object.defineProperty(r,v,{enumerable:!0,get:function(){return f[v]}}))});var p=u("./node_modules/.pnpm/@babel+generator@7.22.15/node_modules/@babel/generator/lib/generators/types.js");Object.keys(p).forEach(function(v){v!=="default"&&v!=="__esModule"&&(v in r&&r[v]===p[v]||Object.defineProperty(r,v,{enumerable:!0,get:function(){return p[v]}}))});var h=u("./node_modules/.pnpm/@babel+generator@7.22.15/node_modules/@babel/generator/lib/generators/flow.js");Object.keys(h).forEach(function(v){v!=="default"&&v!=="__esModule"&&(v in r&&r[v]===h[v]||Object.defineProperty(r,v,{enumerable:!0,get:function(){return h[v]}}))});var y=u("./node_modules/.pnpm/@babel+generator@7.22.15/node_modules/@babel/generator/lib/generators/base.js");Object.keys(y).forEach(function(v){v!=="default"&&v!=="__esModule"&&(v in r&&r[v]===y[v]||Object.defineProperty(r,v,{enumerable:!0,get:function(){return y[v]}}))});var b=u("./node_modules/.pnpm/@babel+generator@7.22.15/node_modules/@babel/generator/lib/generators/jsx.js");Object.keys(b).forEach(function(v){v!=="default"&&v!=="__esModule"&&(v in r&&r[v]===b[v]||Object.defineProperty(r,v,{enumerable:!0,get:function(){return b[v]}}))});var E=u("./node_modules/.pnpm/@babel+generator@7.22.15/node_modules/@babel/generator/lib/generators/typescript.js");Object.keys(E).forEach(function(v){v!=="default"&&v!=="__esModule"&&(v in r&&r[v]===E[v]||Object.defineProperty(r,v,{enumerable:!0,get:function(){return E[v]}}))})},"./node_modules/.pnpm/@babel+generator@7.22.15/node_modules/@babel/generator/lib/generators/jsx.js":(o,r)=>{"use strict";function u(){this.space()}Object.defineProperty(r,"__esModule",{value:!0}),r.JSXAttribute=function(a){this.print(a.name,a),a.value&&(this.tokenChar(61),this.print(a.value,a))},r.JSXClosingElement=function(a){this.token("</"),this.print(a.name,a),this.tokenChar(62)},r.JSXClosingFragment=function(){this.token("</"),this.tokenChar(62)},r.JSXElement=function(a){let m=a.openingElement;if(this.print(m,a),!m.selfClosing){this.indent();for(let d of a.children)this.print(d,a);this.dedent(),this.print(a.closingElement,a)}},r.JSXEmptyExpression=function(){this.printInnerComments()},r.JSXExpressionContainer=function(a){this.tokenChar(123),this.print(a.expression,a),this.tokenChar(125)},r.JSXFragment=function(a){this.print(a.openingFragment,a),this.indent();for(let m of a.children)this.print(m,a);this.dedent(),this.print(a.closingFragment,a)},r.JSXIdentifier=function(a){this.word(a.name)},r.JSXMemberExpression=function(a){this.print(a.object,a),this.tokenChar(46),this.print(a.property,a)},r.JSXNamespacedName=function(a){this.print(a.namespace,a),this.tokenChar(58),this.print(a.name,a)},r.JSXOpeningElement=function(a){this.tokenChar(60),this.print(a.name,a),this.print(a.typeParameters,a),a.attributes.length>0&&(this.space(),this.printJoin(a.attributes,a,{separator:u})),a.selfClosing?(this.space(),this.token("/>")):this.tokenChar(62)},r.JSXOpeningFragment=function(){this.tokenChar(60),this.tokenChar(62)},r.JSXSpreadAttribute=function(a){this.tokenChar(123),this.token("..."),this.print(a.argument,a),this.tokenChar(125)},r.JSXSpreadChild=function(a){this.tokenChar(123),this.token("..."),this.print(a.expression,a),this.tokenChar(125)},r.JSXText=function(a){let m=this.getPossibleRaw(a);m!==void 0?this.token(m,!0):this.token(a.value,!0)}},"./node_modules/.pnpm/@babel+generator@7.22.15/node_modules/@babel/generator/lib/generators/methods.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.ArrowFunctionExpression=function(s,l){s.async&&(this.word("async",!0),this.space());let f;this.format.retainLines||s.params.length!==1||!m(f=s.params[0])||function(p,h){var y,b;return!!(p.typeParameters||p.returnType||p.predicate||h.typeAnnotation||h.optional||(y=h.leadingComments)!=null&&y.length||(b=h.trailingComments)!=null&&b.length)}(s,f)?this._params(s,void 0,l):this.print(f,s,!0),this._predicate(s,!0),this.space(),this.printInnerComments(),this.token("=>"),this.space(),this.print(s.body,s)},r.FunctionDeclaration=r.FunctionExpression=function(s,l){this._functionHead(s,l),this.space(),this.print(s.body,s)},r._functionHead=function(s,l){s.async&&(this.word("async"),this._endsWithInnerRaw=!1,this.space()),this.word("function"),s.generator&&(this._endsWithInnerRaw=!1,this.tokenChar(42)),this.space(),s.id&&this.print(s.id,s),this._params(s,s.id,l),s.type!=="TSDeclareFunction"&&this._predicate(s)},r._methodHead=function(s){let l=s.kind,f=s.key;l!=="get"&&l!=="set"||(this.word(l),this.space()),s.async&&(this.word("async",!0),this.space()),l!=="method"&&l!=="init"||s.generator&&this.tokenChar(42),s.computed?(this.tokenChar(91),this.print(f,s),this.tokenChar(93)):this.print(f,s),s.optional&&this.tokenChar(63),this._params(s,s.computed&&s.key.type!=="StringLiteral"?void 0:s.key,void 0)},r._param=function(s,l){this.printJoin(s.decorators,s),this.print(s,l),s.optional&&this.tokenChar(63),this.print(s.typeAnnotation,s)},r._parameters=function(s,l){let f=s.length;for(let p=0;p<f;p++)this._param(s[p],l),p<s.length-1&&(this.tokenChar(44),this.space())},r._params=function(s,l,f){this.print(s.typeParameters,s);let p=d.call(this,l,f);p&&this.sourceIdentifierName(p.name,p.pos),this.tokenChar(40),this._parameters(s.params,s),this.tokenChar(41);let h=s.type==="ArrowFunctionExpression";this.print(s.returnType,s,h),this._noLineTerminator=h},r._predicate=function(s,l){s.predicate&&(s.returnType||this.tokenChar(58),this.space(),this.print(s.predicate,s,l))};var a=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/index.js");let{isIdentifier:m}=a;function d(s,l){let f,p=s;if(!p&&l){let v=l.type;v==="VariableDeclarator"?p=l.id:v==="AssignmentExpression"||v==="AssignmentPattern"?p=l.left:v==="ObjectProperty"||v==="ClassProperty"?l.computed&&l.key.type!=="StringLiteral"||(p=l.key):v!=="ClassPrivateProperty"&&v!=="ClassAccessorProperty"||(p=l.key)}if(p){var h,y;if(p.type==="Identifier")f={pos:(h=p.loc)==null?void 0:h.start,name:((y=p.loc)==null?void 0:y.identifierName)||p.name};else if(p.type==="PrivateName"){var b;f={pos:(b=p.loc)==null?void 0:b.start,name:"#"+p.id.name}}else if(p.type==="StringLiteral"){var E;f={pos:(E=p.loc)==null?void 0:E.start,name:p.value}}return f}}},"./node_modules/.pnpm/@babel+generator@7.22.15/node_modules/@babel/generator/lib/generators/modules.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.ExportAllDeclaration=function(b){var E,v;this.word("export"),this.space(),b.exportKind==="type"&&(this.word("type"),this.space()),this.tokenChar(42),this.space(),this.word("from"),this.space(),(E=b.attributes)!=null&&E.length||(v=b.assertions)!=null&&v.length?(this.print(b.source,b,!0),this.space(),this._printAttributes(b)):this.print(b.source,b),this.semicolon()},r.ExportDefaultDeclaration=function(b){y(this,b),this.word("export"),this.noIndentInnerCommentsHere(),this.space(),this.word("default"),this.space();let E=b.declaration;this.print(E,b),p(E)||this.semicolon()},r.ExportDefaultSpecifier=function(b){this.print(b.exported,b)},r.ExportNamedDeclaration=function(b){if(y(this,b),this.word("export"),this.space(),b.declaration){let S=b.declaration;this.print(S,b),p(S)||this.semicolon()}else{b.exportKind==="type"&&(this.word("type"),this.space());let S=b.specifiers.slice(0),w=!1;for(;;){let A=S[0];if(!d(A)&&!s(A))break;w=!0,this.print(S.shift(),b),S.length&&(this.tokenChar(44),this.space())}var E,v;(S.length||!S.length&&!w)&&(this.tokenChar(123),S.length&&(this.space(),this.printList(S,b),this.space()),this.tokenChar(125)),b.source&&(this.space(),this.word("from"),this.space(),(E=b.attributes)!=null&&E.length||(v=b.assertions)!=null&&v.length?(this.print(b.source,b,!0),this.space(),this._printAttributes(b)):this.print(b.source,b)),this.semicolon()}},r.ExportNamespaceSpecifier=function(b){this.tokenChar(42),this.space(),this.word("as"),this.space(),this.print(b.exported,b)},r.ExportSpecifier=function(b){b.exportKind==="type"&&(this.word("type"),this.space()),this.print(b.local,b),b.exported&&b.local.name!==b.exported.name&&(this.space(),this.word("as"),this.space(),this.print(b.exported,b))},r.ImportAttribute=function(b){this.print(b.key),this.tokenChar(58),this.space(),this.print(b.value)},r.ImportDeclaration=function(b){var E,v;this.word("import"),this.space();let S=b.importKind==="type"||b.importKind==="typeof";S?(this.noIndentInnerCommentsHere(),this.word(b.importKind),this.space()):b.module&&(this.noIndentInnerCommentsHere(),this.word("module"),this.space());let w=b.specifiers.slice(0),A=!!w.length;for(;A;){let x=w[0];if(!l(x)&&!f(x))break;this.print(w.shift(),b),w.length&&(this.tokenChar(44),this.space())}w.length?(this.tokenChar(123),this.space(),this.printList(w,b),this.space(),this.tokenChar(125)):S&&!A&&(this.tokenChar(123),this.tokenChar(125)),(A||S)&&(this.space(),this.word("from"),this.space()),(E=b.attributes)!=null&&E.length||(v=b.assertions)!=null&&v.length?(this.print(b.source,b,!0),this.space(),this._printAttributes(b)):this.print(b.source,b),this.semicolon()},r.ImportDefaultSpecifier=function(b){this.print(b.local,b)},r.ImportNamespaceSpecifier=function(b){this.tokenChar(42),this.space(),this.word("as"),this.space(),this.print(b.local,b)},r.ImportSpecifier=function(b){b.importKind!=="type"&&b.importKind!=="typeof"||(this.word(b.importKind),this.space()),this.print(b.imported,b),b.local&&b.local.name!==b.imported.name&&(this.space(),this.word("as"),this.space(),this.print(b.local,b))},r._printAttributes=function(b){let{importAttributesKeyword:E}=this.format,{attributes:v,assertions:S}=b;!v||E||h||(h=!0,console.warn('You are using import attributes, without specifying the desired output syntax.\nPlease specify the "importAttributesKeyword" generator option, whose value can be one of:\n - "with" : `import { a } from "b" with { type: "json" };`\n - "assert" : `import { a } from "b" assert { type: "json" };`\n - "with-legacy" : `import { a } from "b" with type: "json";`\n'));let w=E==="assert"||!E&&S;if(this.word(w?"assert":"with"),this.space(),!w&&E!=="with")return void this.printList(v||S,b);this.tokenChar(123),this.space(),this.printList(v||S,b),this.space(),this.tokenChar(125)};var a=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/index.js");let{isClassDeclaration:m,isExportDefaultSpecifier:d,isExportNamespaceSpecifier:s,isImportDefaultSpecifier:l,isImportNamespaceSpecifier:f,isStatement:p}=a,h=!1;function y(b,E){m(E.declaration)&&b._shouldPrintDecoratorsBeforeExport(E)&&b.printJoin(E.declaration.decorators,E)}},"./node_modules/.pnpm/@babel+generator@7.22.15/node_modules/@babel/generator/lib/generators/statements.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.BreakStatement=function(E){this.word("break"),b(this,E.label,E,!0)},r.CatchClause=function(E){this.word("catch"),this.space(),E.param&&(this.tokenChar(40),this.print(E.param,E),this.print(E.param.typeAnnotation,E),this.tokenChar(41),this.space()),this.print(E.body,E)},r.ContinueStatement=function(E){this.word("continue"),b(this,E.label,E,!0)},r.DebuggerStatement=function(){this.word("debugger"),this.semicolon()},r.DoWhileStatement=function(E){this.word("do"),this.space(),this.print(E.body,E),this.space(),this.word("while"),this.space(),this.tokenChar(40),this.print(E.test,E),this.tokenChar(41),this.semicolon()},r.ForOfStatement=r.ForInStatement=void 0,r.ForStatement=function(E){this.word("for"),this.space(),this.tokenChar(40),this.inForStatementInitCounter++,this.print(E.init,E),this.inForStatementInitCounter--,this.tokenChar(59),E.test&&(this.space(),this.print(E.test,E)),this.tokenChar(59),E.update&&(this.space(),this.print(E.update,E)),this.tokenChar(41),this.printBlock(E)},r.IfStatement=function(E){this.word("if"),this.space(),this.tokenChar(40),this.print(E.test,E),this.tokenChar(41),this.space();let v=E.alternate&&s(f(E.consequent));v&&(this.tokenChar(123),this.newline(),this.indent()),this.printAndIndentOnComments(E.consequent,E),v&&(this.dedent(),this.newline(),this.tokenChar(125)),E.alternate&&(this.endsWith(125)&&this.space(),this.word("else"),this.space(),this.printAndIndentOnComments(E.alternate,E))},r.LabeledStatement=function(E){this.print(E.label,E),this.tokenChar(58),this.space(),this.print(E.body,E)},r.ReturnStatement=function(E){this.word("return"),b(this,E.argument,E,!1)},r.SwitchCase=function(E){E.test?(this.word("case"),this.space(),this.print(E.test,E),this.tokenChar(58)):(this.word("default"),this.tokenChar(58)),E.consequent.length&&(this.newline(),this.printSequence(E.consequent,E,{indent:!0}))},r.SwitchStatement=function(E){this.word("switch"),this.space(),this.tokenChar(40),this.print(E.discriminant,E),this.tokenChar(41),this.space(),this.tokenChar(123),this.printSequence(E.cases,E,{indent:!0,addNewlines(v,S){if(!v&&E.cases[E.cases.length-1]===S)return-1}}),this.rightBrace(E)},r.ThrowStatement=function(E){this.word("throw"),b(this,E.argument,E,!1)},r.TryStatement=function(E){this.word("try"),this.space(),this.print(E.block,E),this.space(),E.handlers?this.print(E.handlers[0],E):this.print(E.handler,E),E.finalizer&&(this.space(),this.word("finally"),this.space(),this.print(E.finalizer,E))},r.VariableDeclaration=function(E,v){E.declare&&(this.word("declare"),this.space());let{kind:S}=E;this.word(S,S==="using"||S==="await using"),this.space();let w=!1;if(!m(v))for(let A of E.declarations)A.init&&(w=!0);if(this.printList(E.declarations,E,{separator:w?function(){this.tokenChar(44),this.newline()}:void 0,indent:E.declarations.length>1}),m(v)){if(d(v)){if(v.init===E)return}else if(v.left===E)return}this.semicolon()},r.VariableDeclarator=function(E){this.print(E.id,E),E.definite&&this.tokenChar(33),this.print(E.id.typeAnnotation,E),E.init&&(this.space(),this.tokenChar(61),this.space(),this.print(E.init,E))},r.WhileStatement=function(E){this.word("while"),this.space(),this.tokenChar(40),this.print(E.test,E),this.tokenChar(41),this.printBlock(E)},r.WithStatement=function(E){this.word("with"),this.space(),this.tokenChar(40),this.print(E.object,E),this.tokenChar(41),this.printBlock(E)};var a=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/index.js");let{isFor:m,isForStatement:d,isIfStatement:s,isStatement:l}=a;function f(E){let{body:v}=E;return l(v)===!1?E:f(v)}function p(E){this.word("for"),this.space();let v=E.type==="ForOfStatement";v&&E.await&&(this.word("await"),this.space()),this.noIndentInnerCommentsHere(),this.tokenChar(40),this.print(E.left,E),this.space(),this.word(v?"of":"in"),this.space(),this.print(E.right,E),this.tokenChar(41),this.printBlock(E)}let h=p;r.ForInStatement=h;let y=p;function b(E,v,S,w){v&&(E.space(),E.printTerminatorless(v,S,w)),E.semicolon()}r.ForOfStatement=y},"./node_modules/.pnpm/@babel+generator@7.22.15/node_modules/@babel/generator/lib/generators/template-literals.js":(o,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.TaggedTemplateExpression=function(u){this.print(u.tag,u),this.print(u.typeParameters,u),this.print(u.quasi,u)},r.TemplateElement=function(u,a){let m=a.quasis[0]===u,d=a.quasis[a.quasis.length-1]===u,s=(m?"`":"}")+u.value.raw+(d?"`":"${");this.token(s,!0)},r.TemplateLiteral=function(u){let a=u.quasis;for(let m=0;m<a.length;m++)this.print(a[m],u),m+1<a.length&&this.print(u.expressions[m],u)}},"./node_modules/.pnpm/@babel+generator@7.22.15/node_modules/@babel/generator/lib/generators/types.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.ArgumentPlaceholder=function(){this.tokenChar(63)},r.ArrayPattern=r.ArrayExpression=function(f){let p=f.elements,h=p.length;this.tokenChar(91);for(let y=0;y<p.length;y++){let b=p[y];b?(y>0&&this.space(),this.print(b,f),y<h-1&&this.tokenChar(44)):this.tokenChar(44)}this.tokenChar(93)},r.BigIntLiteral=function(f){let p=this.getPossibleRaw(f);if(!this.format.minified&&p!==void 0)return void this.word(p);this.word(f.value+"n")},r.BooleanLiteral=function(f){this.word(f.value?"true":"false")},r.DecimalLiteral=function(f){let p=this.getPossibleRaw(f);if(!this.format.minified&&p!==void 0)return void this.word(p);this.word(f.value+"m")},r.Identifier=function(f){var p;this.sourceIdentifierName(((p=f.loc)==null?void 0:p.identifierName)||f.name),this.word(f.name)},r.NullLiteral=function(){this.word("null")},r.NumericLiteral=function(f){let p=this.getPossibleRaw(f),h=this.format.jsescOption,y=f.value+"";h.numbers?this.number(m(f.value,h)):p==null?this.number(y):this.format.minified?this.number(p.length<y.length?p:y):this.number(p)},r.ObjectPattern=r.ObjectExpression=function(f){let p=f.properties;this.tokenChar(123),p.length&&(this.space(),this.printList(p,f,{indent:!0,statement:!0}),this.space()),this.sourceWithOffset("end",f.loc,-1),this.tokenChar(125)},r.ObjectMethod=function(f){this.printJoin(f.decorators,f),this._methodHead(f),this.space(),this.print(f.body,f)},r.ObjectProperty=function(f){if(this.printJoin(f.decorators,f),f.computed)this.tokenChar(91),this.print(f.key,f),this.tokenChar(93);else{if(d(f.value)&&s(f.key)&&f.key.name===f.value.left.name)return void this.print(f.value,f);if(this.print(f.key,f),f.shorthand&&s(f.key)&&s(f.value)&&f.key.name===f.value.name)return}this.tokenChar(58),this.space(),this.print(f.value,f)},r.PipelineBareFunction=function(f){this.print(f.callee,f)},r.PipelinePrimaryTopicReference=function(){this.tokenChar(35)},r.PipelineTopicExpression=function(f){this.print(f.expression,f)},r.RecordExpression=function(f){let p=f.properties,h,y;if(this.format.recordAndTupleSyntaxType==="bar")h="{|",y="|}";else{if(this.format.recordAndTupleSyntaxType!=="hash"&&this.format.recordAndTupleSyntaxType!=null)throw new Error(`The "recordAndTupleSyntaxType" generator option must be "bar" or "hash" (${JSON.stringify(this.format.recordAndTupleSyntaxType)} received).`);h="#{",y="}"}this.token(h),p.length&&(this.space(),this.printList(p,f,{indent:!0,statement:!0}),this.space()),this.token(y)},r.RegExpLiteral=function(f){this.word(`/${f.pattern}/${f.flags}`)},r.SpreadElement=r.RestElement=function(f){this.token("..."),this.print(f.argument,f)},r.StringLiteral=function(f){let p=this.getPossibleRaw(f);if(!this.format.minified&&p!==void 0)return void this.token(p);let h=m(f.value,this.format.jsescOption);this.token(h)},r.TopicReference=function(){let{topicToken:f}=this.format;if(!l.has(f)){let p=JSON.stringify(f),h=Array.from(l,y=>JSON.stringify(y));throw new Error(`The "topicToken" generator option must be one of ${h.join(", ")} (${p} received instead).`)}this.token(f)},r.TupleExpression=function(f){let p=f.elements,h=p.length,y,b;if(this.format.recordAndTupleSyntaxType==="bar")y="[|",b="|]";else{if(this.format.recordAndTupleSyntaxType!=="hash")throw new Error(`${this.format.recordAndTupleSyntaxType} is not a valid recordAndTuple syntax type`);y="#[",b="]"}this.token(y);for(let E=0;E<p.length;E++){let v=p[E];v&&(E>0&&this.space(),this.print(v,f),E<h-1&&this.tokenChar(44))}this.token(b)};var a=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/index.js"),m=u("./node_modules/.pnpm/jsesc@2.5.2/node_modules/jsesc/jsesc.js");let{isAssignmentPattern:d,isIdentifier:s}=a,l=new Set(["^^","@@","^","%","#"])},"./node_modules/.pnpm/@babel+generator@7.22.15/node_modules/@babel/generator/lib/generators/typescript.js":(o,r)=>{"use strict";function u(d,s,l){if(d.token("{"),s.length){d.indent(),d.newline();for(let f of s)d.print(f,l),d.newline();d.dedent()}d.rightBrace(l)}function a(d,s,l){d.printJoin(s.types,s,{separator(){this.space(),this.token(l),this.space()}})}function m(d,s){s!==!0&&d.token(s)}Object.defineProperty(r,"__esModule",{value:!0}),r.TSAnyKeyword=function(){this.word("any")},r.TSArrayType=function(d){this.print(d.elementType,d,!0),this.token("[]")},r.TSSatisfiesExpression=r.TSAsExpression=function(d){var s;let{type:l,expression:f,typeAnnotation:p}=d,h=!((s=f.trailingComments)==null||!s.length);this.print(f,d,!0,void 0,h),this.space(),this.word(l==="TSAsExpression"?"as":"satisfies"),this.space(),this.print(p,d)},r.TSBigIntKeyword=function(){this.word("bigint")},r.TSBooleanKeyword=function(){this.word("boolean")},r.TSCallSignatureDeclaration=function(d){this.tsPrintSignatureDeclarationBase(d),this.tokenChar(59)},r.TSConditionalType=function(d){this.print(d.checkType),this.space(),this.word("extends"),this.space(),this.print(d.extendsType),this.space(),this.tokenChar(63),this.space(),this.print(d.trueType),this.space(),this.tokenChar(58),this.space(),this.print(d.falseType)},r.TSConstructSignatureDeclaration=function(d){this.word("new"),this.space(),this.tsPrintSignatureDeclarationBase(d),this.tokenChar(59)},r.TSConstructorType=function(d){d.abstract&&(this.word("abstract"),this.space()),this.word("new"),this.space(),this.tsPrintFunctionOrConstructorType(d)},r.TSDeclareFunction=function(d,s){d.declare&&(this.word("declare"),this.space()),this._functionHead(d,s),this.tokenChar(59)},r.TSDeclareMethod=function(d){this._classMethodHead(d),this.tokenChar(59)},r.TSEnumDeclaration=function(d){let{declare:s,const:l,id:f,members:p}=d;s&&(this.word("declare"),this.space()),l&&(this.word("const"),this.space()),this.word("enum"),this.space(),this.print(f,d),this.space(),u(this,p,d)},r.TSEnumMember=function(d){let{id:s,initializer:l}=d;this.print(s,d),l&&(this.space(),this.tokenChar(61),this.space(),this.print(l,d)),this.tokenChar(44)},r.TSExportAssignment=function(d){this.word("export"),this.space(),this.tokenChar(61),this.space(),this.print(d.expression,d),this.tokenChar(59)},r.TSExpressionWithTypeArguments=function(d){this.print(d.expression,d),this.print(d.typeParameters,d)},r.TSExternalModuleReference=function(d){this.token("require("),this.print(d.expression,d),this.tokenChar(41)},r.TSFunctionType=function(d){this.tsPrintFunctionOrConstructorType(d)},r.TSImportEqualsDeclaration=function(d){let{isExport:s,id:l,moduleReference:f}=d;s&&(this.word("export"),this.space()),this.word("import"),this.space(),this.print(l,d),this.space(),this.tokenChar(61),this.space(),this.print(f,d),this.tokenChar(59)},r.TSImportType=function(d){let{argument:s,qualifier:l,typeParameters:f}=d;this.word("import"),this.tokenChar(40),this.print(s,d),this.tokenChar(41),l&&(this.tokenChar(46),this.print(l,d)),f&&this.print(f,d)},r.TSIndexSignature=function(d){let{readonly:s,static:l}=d;l&&(this.word("static"),this.space()),s&&(this.word("readonly"),this.space()),this.tokenChar(91),this._parameters(d.parameters,d),this.tokenChar(93),this.print(d.typeAnnotation,d),this.tokenChar(59)},r.TSIndexedAccessType=function(d){this.print(d.objectType,d,!0),this.tokenChar(91),this.print(d.indexType,d),this.tokenChar(93)},r.TSInferType=function(d){this.token("infer"),this.space(),this.print(d.typeParameter)},r.TSInstantiationExpression=function(d){this.print(d.expression,d),this.print(d.typeParameters,d)},r.TSInterfaceBody=function(d){this.tsPrintTypeLiteralOrInterfaceBody(d.body,d)},r.TSInterfaceDeclaration=function(d){let{declare:s,id:l,typeParameters:f,extends:p,body:h}=d;s&&(this.word("declare"),this.space()),this.word("interface"),this.space(),this.print(l,d),this.print(f,d),p!=null&&p.length&&(this.space(),this.word("extends"),this.space(),this.printList(p,d)),this.space(),this.print(h,d)},r.TSIntersectionType=function(d){a(this,d,"&")},r.TSIntrinsicKeyword=function(){this.word("intrinsic")},r.TSLiteralType=function(d){this.print(d.literal,d)},r.TSMappedType=function(d){let{nameType:s,optional:l,readonly:f,typeParameter:p}=d;this.tokenChar(123),this.space(),f&&(m(this,f),this.word("readonly"),this.space()),this.tokenChar(91),this.word(p.name),this.space(),this.word("in"),this.space(),this.print(p.constraint,p),s&&(this.space(),this.word("as"),this.space(),this.print(s,d)),this.tokenChar(93),l&&(m(this,l),this.tokenChar(63)),this.tokenChar(58),this.space(),this.print(d.typeAnnotation,d),this.space(),this.tokenChar(125)},r.TSMethodSignature=function(d){let{kind:s}=d;s!=="set"&&s!=="get"||(this.word(s),this.space()),this.tsPrintPropertyOrMethodName(d),this.tsPrintSignatureDeclarationBase(d),this.tokenChar(59)},r.TSModuleBlock=function(d){u(this,d.body,d)},r.TSModuleDeclaration=function(d){let{declare:s,id:l}=d;if(s&&(this.word("declare"),this.space()),d.global||(this.word(l.type==="Identifier"?"namespace":"module"),this.space()),this.print(l,d),!d.body)return void this.tokenChar(59);let f=d.body;for(;f.type==="TSModuleDeclaration";)this.tokenChar(46),this.print(f.id,f),f=f.body;this.space(),this.print(f,d)},r.TSNamedTupleMember=function(d){this.print(d.label,d),d.optional&&this.tokenChar(63),this.tokenChar(58),this.space(),this.print(d.elementType,d)},r.TSNamespaceExportDeclaration=function(d){this.word("export"),this.space(),this.word("as"),this.space(),this.word("namespace"),this.space(),this.print(d.id,d)},r.TSNeverKeyword=function(){this.word("never")},r.TSNonNullExpression=function(d){this.print(d.expression,d),this.tokenChar(33)},r.TSNullKeyword=function(){this.word("null")},r.TSNumberKeyword=function(){this.word("number")},r.TSObjectKeyword=function(){this.word("object")},r.TSOptionalType=function(d){this.print(d.typeAnnotation,d),this.tokenChar(63)},r.TSParameterProperty=function(d){d.accessibility&&(this.word(d.accessibility),this.space()),d.readonly&&(this.word("readonly"),this.space()),this._param(d.parameter)},r.TSParenthesizedType=function(d){this.tokenChar(40),this.print(d.typeAnnotation,d),this.tokenChar(41)},r.TSPropertySignature=function(d){let{readonly:s,initializer:l}=d;s&&(this.word("readonly"),this.space()),this.tsPrintPropertyOrMethodName(d),this.print(d.typeAnnotation,d),l&&(this.space(),this.tokenChar(61),this.space(),this.print(l,d)),this.tokenChar(59)},r.TSQualifiedName=function(d){this.print(d.left,d),this.tokenChar(46),this.print(d.right,d)},r.TSRestType=function(d){this.token("..."),this.print(d.typeAnnotation,d)},r.TSStringKeyword=function(){this.word("string")},r.TSSymbolKeyword=function(){this.word("symbol")},r.TSThisType=function(){this.word("this")},r.TSTupleType=function(d){this.tokenChar(91),this.printList(d.elementTypes,d),this.tokenChar(93)},r.TSTypeAliasDeclaration=function(d){let{declare:s,id:l,typeParameters:f,typeAnnotation:p}=d;s&&(this.word("declare"),this.space()),this.word("type"),this.space(),this.print(l,d),this.print(f,d),this.space(),this.tokenChar(61),this.space(),this.print(p,d),this.tokenChar(59)},r.TSTypeAnnotation=function(d){this.tokenChar(58),this.space(),d.optional&&this.tokenChar(63),this.print(d.typeAnnotation,d)},r.TSTypeAssertion=function(d){let{typeAnnotation:s,expression:l}=d;this.tokenChar(60),this.print(s,d),this.tokenChar(62),this.space(),this.print(l,d)},r.TSTypeLiteral=function(d){this.tsPrintTypeLiteralOrInterfaceBody(d.members,d)},r.TSTypeOperator=function(d){this.word(d.operator),this.space(),this.print(d.typeAnnotation,d)},r.TSTypeParameter=function(d){d.in&&(this.word("in"),this.space()),d.out&&(this.word("out"),this.space()),this.word(d.name),d.constraint&&(this.space(),this.word("extends"),this.space(),this.print(d.constraint,d)),d.default&&(this.space(),this.tokenChar(61),this.space(),this.print(d.default,d))},r.TSTypeParameterDeclaration=r.TSTypeParameterInstantiation=function(d,s){this.tokenChar(60),this.printList(d.params,d,{}),s.type==="ArrowFunctionExpression"&&d.params.length===1&&this.tokenChar(44),this.tokenChar(62)},r.TSTypePredicate=function(d){d.asserts&&(this.word("asserts"),this.space()),this.print(d.parameterName),d.typeAnnotation&&(this.space(),this.word("is"),this.space(),this.print(d.typeAnnotation.typeAnnotation))},r.TSTypeQuery=function(d){this.word("typeof"),this.space(),this.print(d.exprName),d.typeParameters&&this.print(d.typeParameters,d)},r.TSTypeReference=function(d){this.print(d.typeName,d,!0),this.print(d.typeParameters,d,!0)},r.TSUndefinedKeyword=function(){this.word("undefined")},r.TSUnionType=function(d){a(this,d,"|")},r.TSUnknownKeyword=function(){this.word("unknown")},r.TSVoidKeyword=function(){this.word("void")},r.tsPrintClassMemberModifiers=function(d){let s=d.type==="ClassAccessorProperty"||d.type==="ClassProperty";s&&d.declare&&(this.word("declare"),this.space()),d.accessibility&&(this.word(d.accessibility),this.space()),d.static&&(this.word("static"),this.space()),d.override&&(this.word("override"),this.space()),d.abstract&&(this.word("abstract"),this.space()),s&&d.readonly&&(this.word("readonly"),this.space())},r.tsPrintFunctionOrConstructorType=function(d){let{typeParameters:s}=d,l=d.parameters;this.print(s,d),this.tokenChar(40),this._parameters(l,d),this.tokenChar(41),this.space(),this.token("=>"),this.space();let f=d.typeAnnotation;this.print(f.typeAnnotation,d)},r.tsPrintPropertyOrMethodName=function(d){d.computed&&this.tokenChar(91),this.print(d.key,d),d.computed&&this.tokenChar(93),d.optional&&this.tokenChar(63)},r.tsPrintSignatureDeclarationBase=function(d){let{typeParameters:s}=d,l=d.parameters;this.print(s,d),this.tokenChar(40),this._parameters(l,d),this.tokenChar(41);let f=d.typeAnnotation;this.print(f,d)},r.tsPrintTypeLiteralOrInterfaceBody=function(d,s){u(this,d,s)}},"./node_modules/.pnpm/@babel+generator@7.22.15/node_modules/@babel/generator/lib/index.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.CodeGenerator=void 0,r.default=function(s,l,f){return new d(s,l,f).generate()};var a=u("./node_modules/.pnpm/@babel+generator@7.22.15/node_modules/@babel/generator/lib/source-map.js"),m=u("./node_modules/.pnpm/@babel+generator@7.22.15/node_modules/@babel/generator/lib/printer.js");class d extends m.default{constructor(l,f={},p){let h=function(y,b){var E;let v={auxiliaryCommentBefore:b.auxiliaryCommentBefore,auxiliaryCommentAfter:b.auxiliaryCommentAfter,shouldPrintComment:b.shouldPrintComment,retainLines:b.retainLines,retainFunctionParens:b.retainFunctionParens,comments:b.comments==null||b.comments,compact:b.compact,minified:b.minified,concise:b.concise,indent:{adjustMultilineComment:!0,style:" "},jsescOption:Object.assign({quotes:"double",wrap:!0,minimal:!1},b.jsescOption),recordAndTupleSyntaxType:(E=b.recordAndTupleSyntaxType)!=null?E:"hash",topicToken:b.topicToken,importAttributesKeyword:b.importAttributesKeyword};v.decoratorsBeforeExport=b.decoratorsBeforeExport,v.jsescOption.json=b.jsonCompatibleStrings,v.minified?(v.compact=!0,v.shouldPrintComment=v.shouldPrintComment||(()=>v.comments)):v.shouldPrintComment=v.shouldPrintComment||(x=>v.comments||x.includes("@license")||x.includes("@preserve")),v.compact==="auto"&&(v.compact=typeof y=="string"&&y.length>5e5,v.compact&&console.error(`[BABEL] Note: The code generator has deoptimised the styling of ${b.filename} as it exceeds the max of 500KB.`)),v.compact&&(v.indent.adjustMultilineComment=!1);let{auxiliaryCommentBefore:S,auxiliaryCommentAfter:w,shouldPrintComment:A}=v;return S&&!A(S)&&(v.auxiliaryCommentBefore=void 0),w&&!A(w)&&(v.auxiliaryCommentAfter=void 0),v}(p,f);super(h,f.sourceMaps?new a.default(f,p):null),this.ast=void 0,this.ast=l}generate(){return super.generate(this.ast)}}r.CodeGenerator=class{constructor(s,l,f){this._generator=void 0,this._generator=new d(s,l,f)}generate(){return this._generator.generate()}}},"./node_modules/.pnpm/@babel+generator@7.22.15/node_modules/@babel/generator/lib/node/index.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.needsParens=function(A,x,C){return x?h(x)&&x.callee===A&&S(A)?!0:v(b,A,x,C):!1},r.needsWhitespace=w,r.needsWhitespaceAfter=function(A,x){return w(A,x,2)},r.needsWhitespaceBefore=function(A,x){return w(A,x,1)};var a=u("./node_modules/.pnpm/@babel+generator@7.22.15/node_modules/@babel/generator/lib/node/whitespace.js"),m=u("./node_modules/.pnpm/@babel+generator@7.22.15/node_modules/@babel/generator/lib/node/parentheses.js"),d=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/index.js");let{FLIPPED_ALIAS_KEYS:s,isCallExpression:l,isExpressionStatement:f,isMemberExpression:p,isNewExpression:h}=d;function y(A){let x={};function C(P,D){let L=x[P];x[P]=L?function(I,j,M){let R=L(I,j,M);return R??D(I,j,M)}:D}for(let P of Object.keys(A)){let D=s[P];if(D)for(let L of D)C(L,A[P]);else C(P,A[P])}return x}let b=y(m),E=y(a.nodes);function v(A,x,C,P){let D=A[x.type];return D?D(x,C,P):null}function S(A){return!!l(A)||p(A)&&S(A.object)}function w(A,x,C){if(!A)return!1;f(A)&&(A=A.expression);let P=v(E,A,x);return typeof P=="number"&&(P&C)!=0}},"./node_modules/.pnpm/@babel+generator@7.22.15/node_modules/@babel/generator/lib/node/parentheses.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.ArrowFunctionExpression=function(he,ve){return w(ve)||ce(he,ve)},r.AssignmentExpression=function(he,ve){return!!U(he.left)||ce(he,ve)},r.Binary=function(he,ve){if(he.operator==="**"&&p(ve,{operator:"**"}))return ve.left===he;if(pt(he,ve)||dt(he,ve)||be(ve)||l(ve))return!0;if(f(ve)){let et=ve.operator,ut=ke[et],Kt=he.operator,zt=ke[Kt];if(ut===zt&&ve.right===he&&!z(ve)||ut>zt)return!0}},r.BinaryExpression=function(he,ve){return he.operator==="in"&&(oe(ve)||C(ve))},r.ClassExpression=function(he,ve,et){return xe(et,5)},r.ConditionalExpression=ce,r.DoExpression=function(he,ve,et){return!he.async&&xe(et,1)},r.FunctionExpression=function(he,ve,et){return xe(et,5)},r.FunctionTypeAnnotation=function(he,ve,et){if(!(et.length<3))return Ee(ve)||R(ve)||m(ve)||ye(ve)&&d(et[et.length-3])},r.Identifier=function(he,ve,et){var ut;return(ut=he.extra)!=null&&ut.parenthesized&&s(ve,{left:he})&&(I(ve.right)||E(ve.right))&&ve.right.id==null?!0:he.name==="let"?xe(et,Y(ve,{object:he,computed:!0})||N(ve,{object:he,computed:!0,optional:!1})?57:32):he.name==="async"&&D(ve)&&he===ve.left},r.LogicalExpression=function(he,ve){if(Qe(ve))return!0;switch(he.operator){case"||":return!!z(ve)&&(ve.operator==="??"||ve.operator==="&&");case"&&":return z(ve,{operator:"??"});case"??":return z(ve)&&ve.operator!=="??"}},r.NullableTypeAnnotation=function(he,ve){return m(ve)},r.ObjectExpression=function(he,ve,et){return xe(et,3)},r.OptionalIndexedAccessType=function(he,ve){return M(ve,{objectType:he})},r.OptionalCallExpression=r.OptionalMemberExpression=function(he,ve){return y(ve,{callee:he})||Y(ve,{object:he})},r.SequenceExpression=function(he,ve){return!(L(ve)||se(ve)||X(ve)||j(ve)&&ve.test===he||J(ve)&&ve.test===he||P(ve)&&ve.right===he||F(ve)&&ve.discriminant===he||x(ve)&&ve.expression===he)},r.TSTypeAssertion=r.TSSatisfiesExpression=r.TSAsExpression=function(){return!0},r.TSInferType=function(he,ve){return W(ve)||de(ve)},r.TSInstantiationExpression=function(he,ve){return(y(ve)||B(ve)||$(ve)||Q(ve))&&!!ve.typeParameters},r.TSIntersectionType=r.TSUnionType=function(he,ve){return W(ve)||de(ve)||ne(ve)||Me(ve)||Ae(ve)},r.UnaryLike=Ue,r.IntersectionTypeAnnotation=r.UnionTypeAnnotation=function(he,ve){return m(ve)||G(ve)||R(ve)||Ee(ve)},r.UpdateExpression=function(he,ve){return dt(he,ve)||pt(he,ve)},r.AwaitExpression=r.YieldExpression=function(he,ve){return f(ve)||be(ve)||dt(he,ve)||l(ve)&&De(he)||S(ve)&&he===ve.test||pt(he,ve)};var a=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/index.js");let{isArrayTypeAnnotation:m,isArrowFunctionExpression:d,isAssignmentExpression:s,isAwaitExpression:l,isBinary:f,isBinaryExpression:p,isUpdateExpression:h,isCallExpression:y,isClass:b,isClassExpression:E,isConditional:v,isConditionalExpression:S,isExportDeclaration:w,isExportDefaultDeclaration:A,isExpressionStatement:x,isFor:C,isForInStatement:P,isForOfStatement:D,isForStatement:L,isFunctionExpression:I,isIfStatement:j,isIndexedAccessType:M,isIntersectionTypeAnnotation:R,isLogicalExpression:z,isMemberExpression:Y,isNewExpression:$,isNullableTypeAnnotation:G,isObjectPattern:U,isOptionalCallExpression:B,isOptionalMemberExpression:N,isReturnStatement:X,isSequenceExpression:H,isSwitchStatement:F,isTSArrayType:W,isTSAsExpression:V,isTSInstantiationExpression:Q,isTSIntersectionType:ne,isTSNonNullExpression:ue,isTSOptionalType:de,isTSRestType:Ae,isTSTypeAssertion:Oe,isTSUnionType:Me,isTaggedTemplateExpression:ae,isThrowStatement:se,isTypeAnnotation:ye,isUnaryLike:be,isUnionTypeAnnotation:Ee,isVariableDeclarator:oe,isWhileStatement:J,isYieldExpression:De,isTSSatisfiesExpression:Ke}=a,ke={"||":0,"??":0,"|>":0,"&&":1,"|":2,"^":3,"&":4,"==":5,"===":5,"!=":5,"!==":5,"<":6,">":6,"<=":6,">=":6,in:6,instanceof:6,">>":7,"<<":7,">>>":7,"+":8,"-":8,"*":9,"/":9,"%":9,"**":10};function Qe(he){return V(he)||Ke(he)||Oe(he)}let pt=(he,ve)=>b(ve,{superClass:he}),dt=(he,ve)=>(Y(ve)||N(ve))&&ve.object===he||(y(ve)||B(ve)||$(ve))&&ve.callee===he||ae(ve)&&ve.tag===he||ue(ve);function Ue(he,ve){return dt(he,ve)||p(ve,{operator:"**",left:he})||pt(he,ve)}function ce(he,ve){return!!(be(ve)||f(ve)||S(ve,{test:he})||l(ve)||Qe(ve))||Ue(he,ve)}function xe(he,ve){let et=1&ve,ut=2&ve,Kt=4&ve,zt=8&ve,Zt=16&ve,Ar=32&ve,er=he.length-1;if(er<=0)return;let nt=he[er];er--;let Ce=he[er];for(;er>=0;){if(et&&x(Ce,{expression:nt})||Kt&&A(Ce,{declaration:nt})||ut&&d(Ce,{body:nt})||zt&&L(Ce,{init:nt})||Zt&&P(Ce,{left:nt})||Ar&&D(Ce,{left:nt}))return!0;if(!(er>0&&(dt(nt,Ce)&&!$(Ce)||H(Ce)&&Ce.expressions[0]===nt||h(Ce)&&!Ce.prefix||v(Ce,{test:nt})||f(Ce,{left:nt})||s(Ce,{left:nt}))))return!1;nt=Ce,er--,Ce=he[er]}return!1}},"./node_modules/.pnpm/@babel+generator@7.22.15/node_modules/@babel/generator/lib/node/whitespace.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.nodes=void 0;var a=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/index.js");let{FLIPPED_ALIAS_KEYS:m,isArrayExpression:d,isAssignmentExpression:s,isBinary:l,isBlockStatement:f,isCallExpression:p,isFunction:h,isIdentifier:y,isLiteral:b,isMemberExpression:E,isObjectExpression:v,isOptionalCallExpression:S,isOptionalMemberExpression:w,isStringLiteral:A}=a;function x(I,j){return I&&(E(I)||w(I)?(x(I.object,j),I.computed&&x(I.property,j)):l(I)||s(I)?(x(I.left,j),x(I.right,j)):p(I)||S(I)?(j.hasCall=!0,x(I.callee,j)):h(I)?j.hasFunction=!0:y(I)&&(j.hasHelper=j.hasHelper||I.callee&&P(I.callee))),j}function C(I){return x(I,{hasCall:!1,hasFunction:!1,hasHelper:!1})}function P(I){return!!I&&(E(I)?P(I.object)||P(I.property):y(I)?I.name==="require"||I.name.charCodeAt(0)===95:p(I)?P(I.callee):!(!l(I)&&!s(I))&&(y(I.left)&&P(I.left)||P(I.right)))}function D(I){return b(I)||v(I)||d(I)||y(I)||E(I)}let L={AssignmentExpression(I){let j=C(I.right);if(j.hasCall&&j.hasHelper||j.hasFunction)return j.hasFunction?3:2},SwitchCase:(I,j)=>(I.consequent.length||j.cases[0]===I?1:0)|(I.consequent.length||j.cases[j.cases.length-1]!==I?0:2),LogicalExpression(I){if(h(I.left)||h(I.right))return 2},Literal(I){if(A(I)&&I.value==="use strict")return 2},CallExpression(I){if(h(I.callee)||P(I))return 3},OptionalCallExpression(I){if(h(I.callee))return 3},VariableDeclaration(I){for(let j=0;j<I.declarations.length;j++){let M=I.declarations[j],R=P(M.id)&&!D(M.init);if(!R&&M.init){let z=C(M.init);R=P(M.init)&&z.hasCall||z.hasFunction}if(R)return 3}},IfStatement(I){if(f(I.consequent))return 3}};r.nodes=L,L.ObjectProperty=L.ObjectTypeProperty=L.ObjectMethod=function(I,j){if(j.properties[0]===I)return 1},L.ObjectTypeCallProperty=function(I,j){var M;if(j.callProperties[0]===I&&((M=j.properties)==null||!M.length))return 1},L.ObjectTypeIndexer=function(I,j){var M,R;if(!(j.indexers[0]!==I||(M=j.properties)!=null&&M.length||(R=j.callProperties)!=null&&R.length))return 1},L.ObjectTypeInternalSlot=function(I,j){var M,R,z;if(!(j.internalSlots[0]!==I||(M=j.properties)!=null&&M.length||(R=j.callProperties)!=null&&R.length||(z=j.indexers)!=null&&z.length))return 1},[["Function",!0],["Class",!0],["Loop",!0],["LabeledStatement",!0],["SwitchStatement",!0],["TryStatement",!0]].forEach(function([I,j]){[I].concat(m[I]||[]).forEach(function(M){let R=j?3:0;L[M]=()=>R})})},"./node_modules/.pnpm/@babel+generator@7.22.15/node_modules/@babel/generator/lib/printer.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var a=u("./node_modules/.pnpm/@babel+generator@7.22.15/node_modules/@babel/generator/lib/buffer.js"),m=u("./node_modules/.pnpm/@babel+generator@7.22.15/node_modules/@babel/generator/lib/node/index.js"),d=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/index.js"),s=u("./node_modules/.pnpm/@babel+generator@7.22.15/node_modules/@babel/generator/lib/generators/index.js");let{isFunction:l,isStatement:f,isClassBody:p,isTSInterfaceBody:h,isTSEnumDeclaration:y}=d,b=/e/i,E=/\.0+$/,v=/^0[box]/,S=/^\s*[@#]__PURE__\s*$/,w=/[\n\r\u2028\u2029]/,A=/\*\//,{needsParens:x}=m;class C{constructor(I,j){this.inForStatementInitCounter=0,this._printStack=[],this._indent=0,this._indentChar=0,this._indentRepeat=0,this._insideAux=!1,this._parenPushNewlineState=null,this._noLineTerminator=!1,this._printAuxAfterOnNextUserNode=!1,this._printedComments=new Set,this._endsWithInteger=!1,this._endsWithWord=!1,this._lastCommentLine=0,this._endsWithInnerRaw=!1,this._indentInnerComments=!0,this.format=I,this._buf=new a.default(j),this._indentChar=I.indent.style.charCodeAt(0),this._indentRepeat=I.indent.style.length,this._inputMap=j==null?void 0:j._inputMap}generate(I){return this.print(I),this._maybeAddAuxComment(),this._buf.get()}indent(){this.format.compact||this.format.concise||this._indent++}dedent(){this.format.compact||this.format.concise||this._indent--}semicolon(I=!1){this._maybeAddAuxComment(),I?this._appendChar(59):this._queue(59),this._noLineTerminator=!1}rightBrace(I){this.format.minified&&this._buf.removeLastSemicolon(),this.sourceWithOffset("end",I.loc,-1),this.tokenChar(125)}rightParens(I){this.sourceWithOffset("end",I.loc,-1),this.tokenChar(41)}space(I=!1){if(!this.format.compact){if(I)this._space();else if(this._buf.hasContent()){let j=this.getLastChar();j!==32&&j!==10&&this._space()}}}word(I,j=!1){this._maybePrintInnerComments(),(this._endsWithWord||I.charCodeAt(0)===47&&this.endsWith(47))&&this._space(),this._maybeAddAuxComment(),this._append(I,!1),this._endsWithWord=!0,this._noLineTerminator=j}number(I){this.word(I),this._endsWithInteger=Number.isInteger(+I)&&!v.test(I)&&!b.test(I)&&!E.test(I)&&I.charCodeAt(I.length-1)!==46}token(I,j=!1){this._maybePrintInnerComments();let M=this.getLastChar(),R=I.charCodeAt(0);(M===33&&(I==="--"||R===61)||R===43&&M===43||R===45&&M===45||R===46&&this._endsWithInteger)&&this._space(),this._maybeAddAuxComment(),this._append(I,j),this._noLineTerminator=!1}tokenChar(I){this._maybePrintInnerComments();let j=this.getLastChar();(I===43&&j===43||I===45&&j===45||I===46&&this._endsWithInteger)&&this._space(),this._maybeAddAuxComment(),this._appendChar(I),this._noLineTerminator=!1}newline(I=1,j){if(!(I<=0)){if(!j){if(this.format.retainLines||this.format.compact)return;if(this.format.concise)return void this.space()}I>2&&(I=2),I-=this._buf.getNewlineCount();for(let M=0;M<I;M++)this._newline()}}endsWith(I){return this.getLastChar()===I}getLastChar(){return this._buf.getLastChar()}endsWithCharAndNewline(){return this._buf.endsWithCharAndNewline()}removeTrailingNewline(){this._buf.removeTrailingNewline()}exactSource(I,j){I?(this._catchUp("start",I),this._buf.exactSource(I,j)):j()}source(I,j){j&&(this._catchUp(I,j),this._buf.source(I,j))}sourceWithOffset(I,j,M){j&&(this._catchUp(I,j),this._buf.sourceWithOffset(I,j,M))}withSource(I,j,M){j?(this._catchUp(I,j),this._buf.withSource(I,j,M)):M()}sourceIdentifierName(I,j){if(!this._buf._canMarkIdName)return;let M=this._buf._sourcePosition;M.identifierNamePos=j,M.identifierName=I}_space(){this._queue(32)}_newline(){this._queue(10)}_append(I,j){this._maybeAddParen(I),this._maybeIndent(I.charCodeAt(0)),this._buf.append(I,j),this._endsWithWord=!1,this._endsWithInteger=!1}_appendChar(I){this._maybeAddParenChar(I),this._maybeIndent(I),this._buf.appendChar(I),this._endsWithWord=!1,this._endsWithInteger=!1}_queue(I){this._maybeAddParenChar(I),this._maybeIndent(I),this._buf.queue(I),this._endsWithWord=!1,this._endsWithInteger=!1}_maybeIndent(I){this._indent&&I!==10&&this.endsWith(10)&&this._buf.queueIndentation(this._indentChar,this._getIndent())}_shouldIndent(I){if(this._indent&&I!==10&&this.endsWith(10))return!0}_maybeAddParenChar(I){let j=this._parenPushNewlineState;j&&I!==32&&(I===10?(this.tokenChar(40),this.indent(),j.printed=!0):this._parenPushNewlineState=null)}_maybeAddParen(I){let j=this._parenPushNewlineState;if(!j)return;let M=I.length,R;for(R=0;R<M&&I.charCodeAt(R)===32;R++);if(R===M)return;let z=I.charCodeAt(R);if(z!==10){if(z!==47||R+1===M)return void(this._parenPushNewlineState=null);let Y=I.charCodeAt(R+1);if(Y===42){if(S.test(I.slice(R+2,M-2)))return}else if(Y!==47)return void(this._parenPushNewlineState=null)}this.tokenChar(40),this.indent(),j.printed=!0}catchUp(I){if(!this.format.retainLines)return;let j=I-this._buf.getCurrentLine();for(let M=0;M<j;M++)this._newline()}_catchUp(I,j){var M;if(!this.format.retainLines)return;let R=j==null||(M=j[I])==null?void 0:M.line;if(R!=null){let z=R-this._buf.getCurrentLine();for(let Y=0;Y<z;Y++)this._newline()}}_getIndent(){return this._indentRepeat*this._indent}printTerminatorless(I,j,M){if(M)this._noLineTerminator=!0,this.print(I,j);else{let R={printed:!1};this._parenPushNewlineState=R,this.print(I,j),R.printed&&(this.dedent(),this.newline(),this.tokenChar(41))}}print(I,j,M,R,z){var Y;if(!I)return;this._endsWithInnerRaw=!1;let $=I.type,G=this.format,U=G.concise;I._compact&&(G.concise=!0);let B=this[$];if(B===void 0)throw new ReferenceError(`unknown node of type ${JSON.stringify($)} with constructor ${JSON.stringify(I.constructor.name)}`);this._printStack.push(I);let N=this._insideAux;this._insideAux=I.loc==null,this._maybeAddAuxComment(this._insideAux&&!N);let X=z||G.retainFunctionParens&&$==="FunctionExpression"&&((Y=I.extra)==null?void 0:Y.parenthesized)||x(I,j,this._printStack);X&&(this.tokenChar(40),this._endsWithInnerRaw=!1),this._lastCommentLine=0,this._printLeadingComments(I,j);let H=$==="Program"||$==="File"?null:I.loc;this.exactSource(H,B.bind(this,I,j)),X?(this._printTrailingComments(I,j),this.tokenChar(41),this._noLineTerminator=M):M&&!this._noLineTerminator?(this._noLineTerminator=!0,this._printTrailingComments(I,j)):this._printTrailingComments(I,j,R),this._printStack.pop(),G.concise=U,this._insideAux=N,this._endsWithInnerRaw=!1}_maybeAddAuxComment(I){I&&this._printAuxBeforeComment(),this._insideAux||this._printAuxAfterComment()}_printAuxBeforeComment(){if(this._printAuxAfterOnNextUserNode)return;this._printAuxAfterOnNextUserNode=!0;let I=this.format.auxiliaryCommentBefore;I&&this._printComment({type:"CommentBlock",value:I},0)}_printAuxAfterComment(){if(!this._printAuxAfterOnNextUserNode)return;this._printAuxAfterOnNextUserNode=!1;let I=this.format.auxiliaryCommentAfter;I&&this._printComment({type:"CommentBlock",value:I},0)}getPossibleRaw(I){let j=I.extra;if((j==null?void 0:j.raw)!=null&&j.rawValue!=null&&I.value===j.rawValue)return j.raw}printJoin(I,j,M={}){if(I==null||!I.length)return;let{indent:R}=M;if(R==null&&this.format.retainLines){var z;let B=(z=I[0].loc)==null?void 0:z.start.line;B!=null&&B!==this._buf.getCurrentLine()&&(R=!0)}R&&this.indent();let Y={addNewlines:M.addNewlines,nextNodeStartLine:0},$=M.separator?M.separator.bind(this):null,G=I.length;for(let B=0;B<G;B++){let N=I[B];if(N&&(M.statement&&this._printNewline(B===0,Y),this.print(N,j,void 0,M.trailingCommentsLineOffset||0),M.iterator==null||M.iterator(N,B),B<G-1&&($==null||$()),M.statement))if(B+1===G)this.newline(1);else{var U;let X=I[B+1];Y.nextNodeStartLine=((U=X.loc)==null?void 0:U.start.line)||0,this._printNewline(!0,Y)}}R&&this.dedent()}printAndIndentOnComments(I,j){let M=I.leadingComments&&I.leadingComments.length>0;M&&this.indent(),this.print(I,j),M&&this.dedent()}printBlock(I){let j=I.body;j.type!=="EmptyStatement"&&this.space(),this.print(j,I)}_printTrailingComments(I,j,M){let{innerComments:R,trailingComments:z}=I;R!=null&&R.length&&this._printComments(2,R,I,j,M),z!=null&&z.length&&this._printComments(2,z,I,j,M)}_printLeadingComments(I,j){let M=I.leadingComments;M!=null&&M.length&&this._printComments(0,M,I,j)}_maybePrintInnerComments(){this._endsWithInnerRaw&&this.printInnerComments(),this._endsWithInnerRaw=!0,this._indentInnerComments=!0}printInnerComments(){let I=this._printStack[this._printStack.length-1],j=I.innerComments;if(j==null||!j.length)return;let M=this.endsWith(32),R=this._indentInnerComments,z=this._printedComments.size;R&&this.indent(),this._printComments(1,j,I),M&&z!==this._printedComments.size&&this.space(),R&&this.dedent()}noIndentInnerCommentsHere(){this._indentInnerComments=!1}printSequence(I,j,M={}){M.statement=!0,M.indent!=null||(M.indent=!1),this.printJoin(I,j,M)}printList(I,j,M={}){M.separator==null&&(M.separator=D),this.printJoin(I,j,M)}_printNewline(I,j){let M=this.format;if(M.retainLines||M.compact)return;if(M.concise)return void this.space();if(!I)return;let R=j.nextNodeStartLine,z=this._lastCommentLine;if(R>0&&z>0){let Y=R-z;if(Y>=0)return void this.newline(Y||1)}this._buf.hasContent()&&this.newline(1)}_shouldPrintComment(I){return I.ignore||this._printedComments.has(I)?0:this._noLineTerminator&&(w.test(I.value)||A.test(I.value))?2:(this._printedComments.add(I),this.format.shouldPrintComment(I.value)?1:0)}_printComment(I,j){let M=this._noLineTerminator,R=I.type==="CommentBlock",z=R&&j!==1&&!this._noLineTerminator;z&&this._buf.hasContent()&&j!==2&&this.newline(1);let Y=this.getLastChar(),$;if(Y!==91&&Y!==123&&this.space(),R){if($=`/*${I.value}*/`,this.format.indent.adjustMultilineComment){var G;let U=(G=I.loc)==null?void 0:G.start.column;if(U){let N=new RegExp("\\n\\s{1,"+U+"}","g");$=$.replace(N,`
|
|
`)}let B=this.format.retainLines?0:this._buf.getCurrentColumn();(this._shouldIndent(47)||this.format.retainLines)&&(B+=this._getIndent()),$=$.replace(/\n(?!$)/g,`
|
|
${" ".repeat(B)}`)}}else $=M?`/*${I.value}*/`:`//${I.value}`;this.endsWith(47)&&this._space(),this.source("start",I.loc),this._append($,R),R||M||this.newline(1,!0),z&&j!==3&&this.newline(1)}_printComments(I,j,M,R,z=0){let Y=M.loc,$=j.length,G=!!Y,U=G?Y.start.line:0,B=G?Y.end.line:0,N=0,X=0,H=this._noLineTerminator?function(){}:this.newline.bind(this);for(let F=0;F<$;F++){let W=j[F],V=this._shouldPrintComment(W);if(V===2){G=!1;break}if(G&&W.loc&&V===1){let Q=W.loc.start.line,ne=W.loc.end.line;if(I===0){let ue=0;F===0?!this._buf.hasContent()||W.type!=="CommentLine"&&Q==ne||(ue=X=1):ue=Q-N,N=ne,H(ue),this._printComment(W,1),F+1===$&&(H(Math.max(U-N,X)),N=U)}else if(I===1){let ue=Q-(F===0?U:N);N=ne,H(ue),this._printComment(W,1),F+1===$&&(H(Math.min(1,B-N)),N=B)}else{let ue=Q-(F===0?B-z:N);N=ne,H(ue),this._printComment(W,1)}}else{if(G=!1,V!==1)continue;if($===1){let Q=W.loc?W.loc.start.line===W.loc.end.line:!w.test(W.value),ne=Q&&!f(M)&&!p(R)&&!h(R)&&!y(R);I===0?this._printComment(W,ne&&M.type!=="ObjectExpression"||Q&&l(R,{body:M})?1:0):ne&&I===2?this._printComment(W,1):this._printComment(W,0)}else I!==1||M.type==="ObjectExpression"&&M.properties.length>1||M.type==="ClassBody"||M.type==="TSInterfaceBody"?this._printComment(W,0):this._printComment(W,F===0?2:F===$-1?3:0)}}I===2&&G&&N&&(this._lastCommentLine=N)}}Object.assign(C.prototype,s),C.prototype.Noop=function(){};var P=C;function D(){this.tokenChar(44),this.space()}r.default=P},"./node_modules/.pnpm/@babel+generator@7.22.15/node_modules/@babel/generator/lib/source-map.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var a=u("./node_modules/.pnpm/@jridgewell+gen-mapping@0.3.3/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.umd.js"),m=u("./node_modules/.pnpm/@jridgewell+trace-mapping@0.3.19/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.umd.js");r.default=class{constructor(d,s){var l;this._map=void 0,this._rawMappings=void 0,this._sourceFileName=void 0,this._lastGenLine=0,this._lastSourceLine=0,this._lastSourceColumn=0,this._inputMap=void 0;let f=this._map=new a.GenMapping({sourceRoot:d.sourceRoot});if(this._sourceFileName=(l=d.sourceFileName)==null?void 0:l.replace(/\\/g,"/"),this._rawMappings=void 0,d.inputSourceMap){this._inputMap=new m.TraceMap(d.inputSourceMap);let h=this._inputMap.resolvedSources;if(h.length)for(let y=0;y<h.length;y++){var p;(0,a.setSourceContent)(f,h[y],(p=this._inputMap.sourcesContent)==null?void 0:p[y])}}if(typeof s!="string"||d.inputSourceMap){if(typeof s=="object")for(let h of Object.keys(s))(0,a.setSourceContent)(f,h.replace(/\\/g,"/"),s[h])}else(0,a.setSourceContent)(f,this._sourceFileName,s)}get(){return(0,a.toEncodedMap)(this._map)}getDecoded(){return(0,a.toDecodedMap)(this._map)}getRawMappings(){return this._rawMappings||(this._rawMappings=(0,a.allMappings)(this._map))}mark(d,s,l,f,p,h){var y;let b;if(this._rawMappings=void 0,s!=null)if(this._inputMap){if(b=(0,m.originalPositionFor)(this._inputMap,{line:s,column:l}),!b.name&&p){let E=(0,m.originalPositionFor)(this._inputMap,p);E.name&&(f=E.name)}}else b={source:(h==null?void 0:h.replace(/\\/g,"/"))||this._sourceFileName,line:s,column:l};(0,a.maybeAddMapping)(this._map,{name:f,generated:d,source:(y=b)==null?void 0:y.source,original:b})}}},"./node_modules/.pnpm/@babel+helper-annotate-as-pure@7.22.5/node_modules/@babel/helper-annotate-as-pure/lib/index.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(l){let f=l.node||l;s(f)||m(f,"leading",d)};var a=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/index.js");let{addComment:m}=a,d="#__PURE__",s=({leadingComments:l})=>!!l&&l.some(f=>/[@#]__PURE__/.test(f.value))},"./node_modules/.pnpm/@babel+helper-create-class-features-plugin@7.22.15_@babel+core@7.22.15/node_modules/@babel/helper-create-class-features-plugin/lib/decorators.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.buildDecoratedClass=function(h,y,b,E){let{node:v,scope:S}=y,w=S.generateUidIdentifier("initialize"),A=v.id&&y.isDeclaration(),x=y.isInStrictMode(),{superClass:C}=v;v.type="ClassDeclaration",v.id||(v.id=a.types.cloneNode(h));let P;C&&(P=S.generateUidIdentifierBasedOnNode(v.superClass,"super"),v.superClass=P);let D=f(v),L=a.types.arrayExpression(b.filter(R=>!R.node.abstract&&R.node.type!=="TSIndexSignature").map(R=>function(z,Y,$,G){let U=G.isClassMethod();if(G.isPrivate())throw G.buildCodeFrameError(`Private ${U?"methods":"fields"} in decorated classes are not supported yet.`);if(G.node.type==="ClassAccessorProperty")throw G.buildCodeFrameError('Accessor properties are not supported in 2018-09 decorator transform, please specify { "version": "2021-12" } instead.');if(G.node.type==="StaticBlock")throw G.buildCodeFrameError('Static blocks are not supported in 2018-09 decorator transform, please specify { "version": "2021-12" } instead.');let{node:B,scope:N}=G;G.isTSDeclareMethod()||new m.default({methodPath:G,objectRef:Y,superRef:$,file:z,refToPreserve:Y}).replace();let X=[l("kind",a.types.stringLiteral(a.types.isClassMethod(B)?B.kind:"field")),l("decorators",f(B)),l("static",B.static&&a.types.booleanLiteral(!0)),l("key",p(B))].filter(Boolean);if(a.types.isClassMethod(B)){let W=B.computed?null:B.key,V=a.types.toExpression(B);X.push(l("value",(0,d.default)({node:V,id:W,scope:N})||V))}else a.types.isClassProperty(B)&&B.value?X.push((H="value",F=a.template.statements.ast`return ${B.value}`,a.types.objectMethod("method",a.types.identifier(H),[],a.types.blockStatement(F)))):X.push(l("value",N.buildUndefinedNode()));var H,F;return G.remove(),a.types.objectExpression(X)}(E,v.id,P,R))),I=a.template.expression.ast`
|
|
${function(R){return R.addHelper("decorate")}(E)}(
|
|
${D||a.types.nullLiteral()},
|
|
function (${w}, ${C?a.types.cloneNode(P):null}) {
|
|
${v}
|
|
return { F: ${a.types.cloneNode(v.id)}, d: ${L} };
|
|
},
|
|
${C}
|
|
)
|
|
`;x||I.arguments[1].body.directives.push(a.types.directive(a.types.directiveLiteral("use strict")));let j=I,M="arguments.1.body.body.0";return A&&(j=a.template.statement.ast`let ${h} = ${I}`,M="declarations.0.init."+M),{instanceNodes:[a.template.statement.ast`${a.types.cloneNode(w)}(this)`],wrapClass:R=>(R.replaceWith(j),R.get(M))}},r.hasDecorators=function(h){return s(h)||h.body.body.some(s)},r.hasOwnDecorators=s;var a=u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/index.js"),m=u("./node_modules/.pnpm/@babel+helper-replace-supers@7.22.9_@babel+core@7.22.15/node_modules/@babel/helper-replace-supers/lib/index.js"),d=u("./node_modules/.pnpm/@babel+helper-function-name@7.22.5/node_modules/@babel/helper-function-name/lib/index.js");function s(h){var y;return!((y=h.decorators)==null||!y.length)}function l(h,y){return y?a.types.objectProperty(a.types.identifier(h),y):null}function f(h){let y;return h.decorators&&h.decorators.length>0&&(y=a.types.arrayExpression(h.decorators.map(b=>b.expression))),h.decorators=void 0,y}function p(h){return h.computed?h.key:a.types.isIdentifier(h.key)?a.types.stringLiteral(h.key.name):a.types.stringLiteral(String(h.key.value))}},"./node_modules/.pnpm/@babel+helper-create-class-features-plugin@7.22.15_@babel+core@7.22.15/node_modules/@babel/helper-create-class-features-plugin/lib/features.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.FEATURES=void 0,r.enableFeature=function(E,v,S){p(E,v)&&!b(E,v)||(E.set(s,E.get(s)|v),S==="#__internal__@babel/preset-env__prefer-true-but-false-is-ok-if-it-prevents-an-error"?(y(E,v,!0),E.set(f,E.get(f)|v)):S==="#__internal__@babel/preset-env__prefer-false-but-true-is-ok-if-it-prevents-an-error"?(y(E,v,!1),E.set(f,E.get(f)|v)):y(E,v,S));let w,A;for(let[x,C]of d){if(!p(E,x))continue;let P=h(E,x);if(!b(E,x)){if(w===!P)throw new Error("'loose' mode configuration must be the same for @babel/plugin-transform-class-properties, @babel/plugin-transform-private-methods and @babel/plugin-transform-private-property-in-object (when they are enabled).");w=P,A=C}}if(w!==void 0)for(let[x,C]of d)p(E,x)&&h(E,x)!==w&&(y(E,x,w),console.warn(`Though the "loose" option was set to "${!w}" in your @babel/preset-env config, it will not be used for ${C} since the "loose" mode option was set to "${w}" for ${A}.
|
|
The "loose" option must be the same for @babel/plugin-transform-class-properties, @babel/plugin-transform-private-methods and @babel/plugin-transform-private-property-in-object (when they are enabled): you can silence this warning by explicitly adding
|
|
["${C}", { "loose": ${w} }]
|
|
to the "plugins" section of your Babel config.`))},r.isLoose=h,r.shouldTransform=function(E,v){let S=null,w=null,A=null,x=null,C=null;(0,a.hasOwnDecorators)(E.node)&&(S=E.get("decorators.0"));for(let P of E.get("body.body"))!S&&(0,a.hasOwnDecorators)(P.node)&&(S=P.get("decorators.0")),!w&&P.isClassProperty()&&(w=P),!A&&P.isClassPrivateProperty()&&(A=P),!x&&P.isClassPrivateMethod!=null&&P.isClassPrivateMethod()&&(x=P),!C&&P.isStaticBlock!=null&&P.isStaticBlock()&&(C=P);if(S&&A)throw A.buildCodeFrameError("Private fields in decorated classes are not supported yet.");if(S&&x)throw x.buildCodeFrameError("Private methods in decorated classes are not supported yet.");if(S&&!p(v,m.decorators))throw E.buildCodeFrameError(`Decorators are not enabled.
|
|
If you are using ["@babel/plugin-proposal-decorators", { "version": "legacy" }], make sure it comes *before* "@babel/plugin-transform-class-properties" and enable loose mode, like so:
|
|
["@babel/plugin-proposal-decorators", { "version": "legacy" }]
|
|
["@babel/plugin-transform-class-properties", { "loose": true }]`);if(x&&!p(v,m.privateMethods))throw x.buildCodeFrameError("Class private methods are not enabled. Please add `@babel/plugin-transform-private-methods` to your configuration.");if((w||A)&&!p(v,m.fields)&&!p(v,m.privateMethods))throw E.buildCodeFrameError("Class fields are not enabled. Please add `@babel/plugin-transform-class-properties` to your configuration.");if(C&&!p(v,m.staticBlocks))throw E.buildCodeFrameError("Static class blocks are not enabled. Please add `@babel/plugin-transform-class-static-block` to your configuration.");return!!(S||x||C||(w||A)&&p(v,m.fields))};var a=u("./node_modules/.pnpm/@babel+helper-create-class-features-plugin@7.22.15_@babel+core@7.22.15/node_modules/@babel/helper-create-class-features-plugin/lib/decorators.js");let m=Object.freeze({fields:2,privateMethods:4,decorators:8,privateIn:16,staticBlocks:32});r.FEATURES=m;let d=new Map([[m.fields,"@babel/plugin-transform-class-properties"],[m.privateMethods,"@babel/plugin-transform-private-methods"],[m.privateIn,"@babel/plugin-transform-private-property-in-object"]]),s="@babel/plugin-class-features/featuresKey",l="@babel/plugin-class-features/looseKey",f="@babel/plugin-class-features/looseLowPriorityKey/#__internal__@babel/preset-env__please-overwrite-loose-instead-of-throwing";function p(E,v){return!!(E.get(s)&v)}function h(E,v){return!!(E.get(l)&v)}function y(E,v,S){S?E.set(l,E.get(l)|v):E.set(l,E.get(l)&~v),E.set(f,E.get(f)&~v)}function b(E,v){return!!(E.get(f)&v)}},"./node_modules/.pnpm/@babel+helper-create-class-features-plugin@7.22.15_@babel+core@7.22.15/node_modules/@babel/helper-create-class-features-plugin/lib/fields.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.buildCheckInRHS=v,r.buildFieldsInitNodes=function(B,N,X,H,F,W,V,Q,ne){var ue;let de,Ae=0,Oe=[],Me=[],ae=[],se=null,ye=a.types.isIdentifier(N)?()=>N:()=>(de!=null||(de=X[0].scope.generateUidIdentifierBasedOnNode(N)),de),be=(ue=B)!=null?ue:X[0].scope.generateUidIdentifier("class");B!=null||(B=a.types.cloneNode(ne));for(let Ee of X){Ee.isClassProperty()&&h.assertFieldTransformed(Ee);let oe=!(a.types.isStaticBlock!=null&&a.types.isStaticBlock(Ee.node))&&Ee.node.static,J=!oe,De=Ee.isPrivate(),Ke=!De,ke=Ee.isProperty(),Qe=!ke,pt=Ee.isStaticBlock==null?void 0:Ee.isStaticBlock();switch(oe&&(Ae|=1),(oe||Qe&&De||pt)&&(new m.default({methodPath:Ee,constantSuper:Q,file:F,refToPreserve:ne,getSuperRef:ye,getObjectRef:()=>(Ae|=2,oe||pt?be:a.types.memberExpression(be,a.types.identifier("prototype")))}).replace(),$(Ee,be,ne)&&(Ae|=2)),!0){case pt:{let dt=Ee.node.body;dt.length===1&&a.types.isExpressionStatement(dt[0])?Oe.push(U(dt[0],Ee)):Oe.push(a.types.inheritsComments(a.template.statement.ast`(() => { ${dt} })()`,Ee.node));break}case(oe&&De&&ke&&V):Oe.push(x(a.types.cloneNode(B),Ee,H));break;case(oe&&De&&ke&&!V):Oe.push(P(Ee,H));break;case(oe&&Ke&&ke&&W):if(!G(Ee.node)){Oe.push(I(a.types.cloneNode(B),Ee));break}case(oe&&Ke&&ke&&!W):Oe.push(j(a.types.cloneNode(B),Ee,F));break;case(J&&De&&ke&&V):Me.push(x(a.types.thisExpression(),Ee,H));break;case(J&&De&&ke&&!V):Me.push(C(a.types.thisExpression(),Ee,H,F));break;case(J&&De&&Qe&&V):Me.unshift(D(a.types.thisExpression(),Ee,H)),ae.push(R(Ee,H,V));break;case(J&&De&&Qe&&!V):Me.unshift(L(a.types.thisExpression(),Ee,H,F)),ae.push(R(Ee,H,V));break;case(oe&&De&&Qe&&!V):Oe.unshift(P(Ee,H)),ae.push(R(Ee,H,V));break;case(oe&&De&&Qe&&V):Oe.unshift(M(a.types.cloneNode(B),Ee,F,H)),ae.push(R(Ee,H,V));break;case(J&&Ke&&ke&&W):Me.push(I(a.types.thisExpression(),Ee));break;case(J&&Ke&&ke&&!W):Me.push(j(a.types.thisExpression(),Ee,F));break;default:throw new Error("Unreachable.")}}return 2&Ae&&ne!=null&&(se=a.types.expressionStatement(a.types.assignmentExpression("=",a.types.cloneNode(be),a.types.cloneNode(ne)))),{staticNodes:Oe.filter(Boolean),instanceNodes:Me.filter(Boolean),pureStaticNodes:ae.filter(Boolean),classBindingNode:se,wrapClass(Ee){for(let oe of X)oe.node.leadingComments=null,oe.remove();return de&&(Ee.scope.push({id:a.types.cloneNode(de)}),Ee.set("superClass",a.types.assignmentExpression("=",de,Ee.node.superClass))),Ae!==0&&(Ee.isClassExpression()?(Ee.scope.push({id:B}),Ee.replaceWith(a.types.assignmentExpression("=",a.types.cloneNode(B),Ee.node))):(ne==null&&(Ee.node.id=B),se!=null&&Ee.scope.push({id:be}))),Ee}}},r.buildPrivateNamesMap=function(B){let N=new Map;for(let X of B)if(X.isPrivate()){let{name:H}=X.node.key.id,F=N.has(H)?N.get(H):{id:X.scope.generateUidIdentifier(H),static:X.node.static,method:!X.isProperty()};X.isClassPrivateMethod()&&(X.node.kind==="get"?F.getId=X.scope.generateUidIdentifier(`get_${H}`):X.node.kind==="set"?F.setId=X.scope.generateUidIdentifier(`set_${H}`):X.node.kind==="method"&&(F.methodId=X.scope.generateUidIdentifier(H))),N.set(H,F)}return N},r.buildPrivateNamesNodes=function(B,N,X,H){let F=[];for(let[W,V]of B){let{static:Q,method:ne,getId:ue,setId:de}=V,Ae=ue||de,Oe=a.types.cloneNode(V.id),Me;N?Me=a.types.callExpression(H.addHelper("classPrivateFieldLooseKey"),[a.types.stringLiteral(W)]):X?Me=a.types.callExpression(a.types.identifier("Symbol"),[a.types.stringLiteral(W)]):Q||(Me=a.types.newExpression(a.types.identifier(!ne||Ae?"WeakMap":"WeakSet"),[])),Me&&((0,f.default)(Me),F.push(a.template.statement.ast`var ${Oe} = ${Me}`))}return F},r.transformPrivateNamesUsage=function(B,N,X,{privateFieldsAsProperties:H,noDocumentAll:F,innerBinding:W},V){if(!X.size)return;let Q=N.get("body"),ne=H?A:w;(0,s.default)(Q,b,Object.assign({privateNamesMap:X,classRef:B,file:V},ne,{noDocumentAll:F,innerBinding:W})),Q.traverse(S,{privateNamesMap:X,classRef:B,file:V,privateFieldsAsProperties:H,innerBinding:W})};var a=u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/index.js"),m=u("./node_modules/.pnpm/@babel+helper-replace-supers@7.22.9_@babel+core@7.22.15/node_modules/@babel/helper-replace-supers/lib/index.js"),d=u("./node_modules/.pnpm/@babel+helper-environment-visitor@7.22.5/node_modules/@babel/helper-environment-visitor/lib/index.js"),s=u("./node_modules/.pnpm/@babel+helper-member-expression-to-functions@7.22.15/node_modules/@babel/helper-member-expression-to-functions/lib/index.js"),l=u("./node_modules/.pnpm/@babel+helper-optimise-call-expression@7.22.5/node_modules/@babel/helper-optimise-call-expression/lib/index.js"),f=u("./node_modules/.pnpm/@babel+helper-annotate-as-pure@7.22.5/node_modules/@babel/helper-annotate-as-pure/lib/index.js"),p=u("./node_modules/.pnpm/@babel+helper-skip-transparent-expression-wrappers@7.22.5/node_modules/@babel/helper-skip-transparent-expression-wrappers/lib/index.js"),h=u("./node_modules/.pnpm/@babel+helper-create-class-features-plugin@7.22.15_@babel+core@7.22.15/node_modules/@babel/helper-create-class-features-plugin/lib/typescript.js");function y(B){let N=a.traverse.visitors.merge([Object.assign({},B),d.default]),X=Object.assign({},B,{Class(H){let{privateNamesMap:F}=this,W=H.get("body.body"),V=new Map(F),Q=[];for(let ne of W){if(!ne.isPrivate())continue;let{name:ue}=ne.node.key.id;V.delete(ue),Q.push(ue)}Q.length&&(H.get("body").traverse(N,Object.assign({},this,{redeclared:Q})),H.traverse(X,Object.assign({},this,{privateNamesMap:V})),H.skipKey("body"))}});return X}let b=y({PrivateName(B,{noDocumentAll:N}){let{privateNamesMap:X,redeclared:H}=this,{node:F,parentPath:W}=B;if(!W.isMemberExpression({property:F})&&!W.isOptionalMemberExpression({property:F}))return;let{name:V}=F.id;X.has(V)&&(H&&H.includes(V)||this.handle(W,N))}});function E(B,N,X){for(;(H=N)!=null&&H.hasBinding(B)&&!N.bindingIdentifierEquals(B,X);){var H;N.rename(B),N=N.parent}}function v(B,N,X){return X||N.availableHelper==null||!N.availableHelper("checkInRHS")?B:a.types.callExpression(N.addHelper("checkInRHS"),[B])}let S=y({BinaryExpression(B,{file:N}){let{operator:X,left:H,right:F}=B.node;if(X!=="in"||!a.types.isPrivateName(H))return;let{privateFieldsAsProperties:W,privateNamesMap:V,redeclared:Q}=this,{name:ne}=H.id;if(!V.has(ne)||Q&&Q.includes(ne))return;if(E(this.classRef.name,B.scope,this.innerBinding),W){let{id:Ae}=V.get(ne);return void B.replaceWith(a.template.expression.ast`
|
|
Object.prototype.hasOwnProperty.call(${v(F,N)}, ${a.types.cloneNode(Ae)})
|
|
`)}let{id:ue,static:de}=V.get(ne);de?B.replaceWith(a.template.expression.ast`${v(F,N)} === ${a.types.cloneNode(this.classRef)}`):B.replaceWith(a.template.expression.ast`${a.types.cloneNode(ue)}.has(${v(F,N)})`)}}),w={memoise(B,N){let{scope:X}=B,{object:H}=B.node,F=X.maybeGenerateMemoised(H);F&&this.memoiser.set(H,F,N)},receiver(B){let{object:N}=B.node;return this.memoiser.has(N)?a.types.cloneNode(this.memoiser.get(N)):a.types.cloneNode(N)},get(B){let{classRef:N,privateNamesMap:X,file:H,innerBinding:F}=this,{name:W}=B.node.property.id,{id:V,static:Q,method:ne,methodId:ue,getId:de,setId:Ae}=X.get(W),Oe=de||Ae;if(Q){let Me=ne&&!Oe?"classStaticPrivateMethodGet":"classStaticPrivateFieldSpecGet";return E(N.name,B.scope,F),a.types.callExpression(H.addHelper(Me),[this.receiver(B),a.types.cloneNode(N),a.types.cloneNode(V)])}if(ne){if(Oe){if(!de&&Ae){if(H.availableHelper("writeOnlyError"))return a.types.sequenceExpression([this.receiver(B),a.types.callExpression(H.addHelper("writeOnlyError"),[a.types.stringLiteral(`#${W}`)])]);console.warn("@babel/helpers is outdated, update it to silence this warning.")}return a.types.callExpression(H.addHelper("classPrivateFieldGet"),[this.receiver(B),a.types.cloneNode(V)])}return a.types.callExpression(H.addHelper("classPrivateMethodGet"),[this.receiver(B),a.types.cloneNode(V),a.types.cloneNode(ue)])}return a.types.callExpression(H.addHelper("classPrivateFieldGet"),[this.receiver(B),a.types.cloneNode(V)])},boundGet(B){return this.memoise(B,1),a.types.callExpression(a.types.memberExpression(this.get(B),a.types.identifier("bind")),[this.receiver(B)])},set(B,N){let{classRef:X,privateNamesMap:H,file:F}=this,{name:W}=B.node.property.id,{id:V,static:Q,method:ne,setId:ue,getId:de}=H.get(W);if(Q){let Ae=ne&&!(de||ue)?"classStaticPrivateMethodSet":"classStaticPrivateFieldSpecSet";return a.types.callExpression(F.addHelper(Ae),[this.receiver(B),a.types.cloneNode(X),a.types.cloneNode(V),N])}return ne?ue?a.types.callExpression(F.addHelper("classPrivateFieldSet"),[this.receiver(B),a.types.cloneNode(V),N]):a.types.sequenceExpression([this.receiver(B),N,a.types.callExpression(F.addHelper("readOnlyError"),[a.types.stringLiteral(`#${W}`)])]):a.types.callExpression(F.addHelper("classPrivateFieldSet"),[this.receiver(B),a.types.cloneNode(V),N])},destructureSet(B){let{classRef:N,privateNamesMap:X,file:H}=this,{name:F}=B.node.property.id,{id:W,static:V}=X.get(F);if(V){try{var Q=H.addHelper("classStaticPrivateFieldDestructureSet")}catch{throw new Error("Babel can not transpile `[C.#p] = [0]` with @babel/helpers < 7.13.10, \nplease update @babel/helpers to the latest version.")}return a.types.memberExpression(a.types.callExpression(Q,[this.receiver(B),a.types.cloneNode(N),a.types.cloneNode(W)]),a.types.identifier("value"))}return a.types.memberExpression(a.types.callExpression(H.addHelper("classPrivateFieldDestructureSet"),[this.receiver(B),a.types.cloneNode(W)]),a.types.identifier("value"))},call(B,N){return this.memoise(B,1),(0,l.default)(this.get(B),this.receiver(B),N,!1)},optionalCall(B,N){return this.memoise(B,1),(0,l.default)(this.get(B),this.receiver(B),N,!0)},delete(){throw new Error("Internal Babel error: deleting private elements is a parsing error.")}},A={get(B){let{privateNamesMap:N,file:X}=this,{object:H}=B.node,{name:F}=B.node.property.id;return a.template.expression`BASE(REF, PROP)[PROP]`({BASE:X.addHelper("classPrivateFieldLooseBase"),REF:a.types.cloneNode(H),PROP:a.types.cloneNode(N.get(F).id)})},set(){throw new Error("private name handler with loose = true don't need set()")},boundGet(B){return a.types.callExpression(a.types.memberExpression(this.get(B),a.types.identifier("bind")),[a.types.cloneNode(B.node.object)])},simpleSet(B){return this.get(B)},destructureSet(B){return this.get(B)},call(B,N){return a.types.callExpression(this.get(B),N)},optionalCall(B,N){return a.types.optionalCallExpression(this.get(B),N,!0)},delete(){throw new Error("Internal Babel error: deleting private elements is a parsing error.")}};function x(B,N,X){let{id:H}=X.get(N.node.key.id.name),F=N.node.value||N.scope.buildUndefinedNode();return U(a.template.statement.ast`
|
|
Object.defineProperty(${B}, ${a.types.cloneNode(H)}, {
|
|
// configurable is false by default
|
|
// enumerable is false by default
|
|
writable: true,
|
|
value: ${F}
|
|
});
|
|
`,N)}function C(B,N,X,H){let{id:F}=X.get(N.node.key.id.name),W=N.node.value||N.scope.buildUndefinedNode();if(!H.availableHelper("classPrivateFieldInitSpec"))return U(a.template.statement.ast`${a.types.cloneNode(F)}.set(${B}, {
|
|
// configurable is always false for private elements
|
|
// enumerable is always false for private elements
|
|
writable: true,
|
|
value: ${W},
|
|
})`,N);let V=H.addHelper("classPrivateFieldInitSpec");return U(a.template.statement.ast`${V}(
|
|
${a.types.thisExpression()},
|
|
${a.types.cloneNode(F)},
|
|
{
|
|
writable: true,
|
|
value: ${W}
|
|
},
|
|
)`,N)}function P(B,N){let X=N.get(B.node.key.id.name),{id:H,getId:F,setId:W,initAdded:V}=X,Q=F||W;if(!B.isProperty()&&(V||!Q))return;if(Q)return N.set(B.node.key.id.name,Object.assign({},X,{initAdded:!0})),U(a.template.statement.ast`
|
|
var ${a.types.cloneNode(H)} = {
|
|
// configurable is false by default
|
|
// enumerable is false by default
|
|
// writable is false by default
|
|
get: ${F?F.name:B.scope.buildUndefinedNode()},
|
|
set: ${W?W.name:B.scope.buildUndefinedNode()}
|
|
}
|
|
`,B);let ne=B.node.value||B.scope.buildUndefinedNode();return U(a.template.statement.ast`
|
|
var ${a.types.cloneNode(H)} = {
|
|
// configurable is false by default
|
|
// enumerable is false by default
|
|
writable: true,
|
|
value: ${ne}
|
|
};
|
|
`,B)}function D(B,N,X){let H=X.get(N.node.key.id.name),{methodId:F,id:W,getId:V,setId:Q,initAdded:ne}=H;if(!ne)return F?U(a.template.statement.ast`
|
|
Object.defineProperty(${B}, ${W}, {
|
|
// configurable is false by default
|
|
// enumerable is false by default
|
|
// writable is false by default
|
|
value: ${F.name}
|
|
});
|
|
`,N):V||Q?(X.set(N.node.key.id.name,Object.assign({},H,{initAdded:!0})),U(a.template.statement.ast`
|
|
Object.defineProperty(${B}, ${W}, {
|
|
// configurable is false by default
|
|
// enumerable is false by default
|
|
// writable is false by default
|
|
get: ${V?V.name:N.scope.buildUndefinedNode()},
|
|
set: ${Q?Q.name:N.scope.buildUndefinedNode()}
|
|
});
|
|
`,N)):void 0}function L(B,N,X,H){let F=X.get(N.node.key.id.name),{getId:W,setId:V,initAdded:Q}=F;if(!Q)return W||V?function(ne,ue,de,Ae){let Oe=de.get(ue.node.key.id.name),{id:Me,getId:ae,setId:se}=Oe;if(de.set(ue.node.key.id.name,Object.assign({},Oe,{initAdded:!0})),!Ae.availableHelper("classPrivateFieldInitSpec"))return U(a.template.statement.ast`
|
|
${Me}.set(${ne}, {
|
|
get: ${ae?ae.name:ue.scope.buildUndefinedNode()},
|
|
set: ${se?se.name:ue.scope.buildUndefinedNode()}
|
|
});
|
|
`,ue);let ye=Ae.addHelper("classPrivateFieldInitSpec");return U(a.template.statement.ast`${ye}(
|
|
${a.types.thisExpression()},
|
|
${a.types.cloneNode(Me)},
|
|
{
|
|
get: ${ae?ae.name:ue.scope.buildUndefinedNode()},
|
|
set: ${se?se.name:ue.scope.buildUndefinedNode()}
|
|
},
|
|
)`,ue)}(B,N,X,H):function(ne,ue,de,Ae){let Oe=de.get(ue.node.key.id.name),{id:Me}=Oe;if(!Ae.availableHelper("classPrivateMethodInitSpec"))return U(a.template.statement.ast`${Me}.add(${ne})`,ue);let ae=Ae.addHelper("classPrivateMethodInitSpec");return U(a.template.statement.ast`${ae}(
|
|
${a.types.thisExpression()},
|
|
${a.types.cloneNode(Me)}
|
|
)`,ue)}(B,N,X,H)}function I(B,N){let{key:X,computed:H}=N.node,F=N.node.value||N.scope.buildUndefinedNode();return U(a.types.expressionStatement(a.types.assignmentExpression("=",a.types.memberExpression(B,X,H||a.types.isLiteral(X)),F)),N)}function j(B,N,X){let{key:H,computed:F}=N.node,W=N.node.value||N.scope.buildUndefinedNode();return U(a.types.expressionStatement(a.types.callExpression(X.addHelper("defineProperty"),[B,F||a.types.isLiteral(H)?H:a.types.stringLiteral(H.name),W])),N)}function M(B,N,X,H){let F=H.get(N.node.key.id.name),{id:W,methodId:V,getId:Q,setId:ne,initAdded:ue}=F;if(!ue)return Q||ne?(H.set(N.node.key.id.name,Object.assign({},F,{initAdded:!0})),U(a.template.statement.ast`
|
|
Object.defineProperty(${B}, ${W}, {
|
|
// configurable is false by default
|
|
// enumerable is false by default
|
|
// writable is false by default
|
|
get: ${Q?Q.name:N.scope.buildUndefinedNode()},
|
|
set: ${ne?ne.name:N.scope.buildUndefinedNode()}
|
|
})
|
|
`,N)):U(a.template.statement.ast`
|
|
Object.defineProperty(${B}, ${W}, {
|
|
// configurable is false by default
|
|
// enumerable is false by default
|
|
// writable is false by default
|
|
value: ${V.name}
|
|
});
|
|
`,N)}function R(B,N,X=!1){let H=N.get(B.node.key.id.name),{id:F,methodId:W,getId:V,setId:Q,getterDeclared:ne,setterDeclared:ue,static:de}=H,{params:Ae,body:Oe,generator:Me,async:ae}=B.node,se=V&&!ne&&Ae.length===0,ye=Q&&!ue&&Ae.length>0,be=W;return se?(N.set(B.node.key.id.name,Object.assign({},H,{getterDeclared:!0})),be=V):ye?(N.set(B.node.key.id.name,Object.assign({},H,{setterDeclared:!0})),be=Q):de&&!X&&(be=F),U(a.types.functionDeclaration(a.types.cloneNode(be),Ae,Oe,Me,ae),B)}let z=a.traverse.visitors.merge([{UnaryExpression(B){let{node:N}=B;if(N.operator==="delete"){let X=(0,p.skipTransparentExprWrapperNodes)(N.argument);a.types.isThisExpression(X)&&B.replaceWith(a.types.booleanLiteral(!0))}},ThisExpression(B,N){N.needsClassRef=!0,B.replaceWith(a.types.cloneNode(N.classRef))},MetaProperty(B){let{node:N,scope:X}=B;N.meta.name==="new"&&N.property.name==="target"&&B.replaceWith(X.buildUndefinedNode())}},d.default]),Y={ReferencedIdentifier(B,N){B.scope.bindingIdentifierEquals(B.node.name,N.innerBinding)&&(N.needsClassRef=!0,B.node.name=N.classRef.name)}};function $(B,N,X){var H;let F={classRef:N,needsClassRef:!1,innerBinding:X};return B.isMethod()||B.traverse(z,F),X!=null&&(H=F.classRef)!=null&&H.name&&F.classRef.name!==X.name&&B.traverse(Y,F),F.needsClassRef}function G({key:B,computed:N}){return B.type==="Identifier"?!N&&(B.name==="name"||B.name==="length"):B.type==="StringLiteral"&&(B.value==="name"||B.value==="length")}function U(B,N){return a.types.inheritLeadingComments(B,N.node),a.types.inheritInnerComments(B,N.node),B}},"./node_modules/.pnpm/@babel+helper-create-class-features-plugin@7.22.15_@babel+core@7.22.15/node_modules/@babel/helper-create-class-features-plugin/lib/index.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"FEATURES",{enumerable:!0,get:function(){return h.FEATURES}}),Object.defineProperty(r,"buildCheckInRHS",{enumerable:!0,get:function(){return l.buildCheckInRHS}}),r.createClassFeaturePlugin=function({name:E,feature:v,loose:S,manipulateOptions:w,api:A,inherits:x}){A!=null||(A={assumption:()=>{}});let C=A.assumption("setPublicClassFields"),P=A.assumption("privateFieldsAsSymbols"),D=A.assumption("privateFieldsAsProperties"),L=A.assumption("constantSuper"),I=A.assumption("noDocumentAll");if(D&&P)throw new Error('Cannot enable both the "privateFieldsAsProperties" and "privateFieldsAsSymbols" assumptions as the same time.');let j=D||P;if(S===!0){let M=[];C!==void 0&&M.push('"setPublicClassFields"'),D!==void 0&&M.push('"privateFieldsAsProperties"'),P!==void 0&&M.push('"privateFieldsAsSymbols"'),M.length!==0&&console.warn(`[${E}]: You are using the "loose: true" option and you are explicitly setting a value for the ${M.join(" and ")} assumption${M.length>1?"s":""}. The "loose" option can cause incompatibilities with the other class features plugins, so it's recommended that you replace it with the following top-level option:
|
|
"assumptions": {
|
|
"setPublicClassFields": true,
|
|
"privateFieldsAsSymbols": true
|
|
}`)}return{name:E,manipulateOptions:w,inherits:x,pre(M){(0,h.enableFeature)(M,v,S),typeof M.get(b)!="number"&&M.get(b)&&!s.lt(M.get(b),"7.22.15")||M.set(b,"7.22.15")},visitor:{Class(M,{file:R}){var z;if(R.get(b)!=="7.22.15"||!(0,h.shouldTransform)(M,R))return;let Y=M.isClassDeclaration();Y&&(0,y.assertFieldTransformed)(M);let $=(0,h.isLoose)(R,v),G,U=(0,f.hasDecorators)(M.node),B=[],N=[],X=[],H=new Set,F=M.get("body");for(let be of F.get("body")){if((be.isClassProperty()||be.isClassMethod())&&be.node.computed&&X.push(be),be.isPrivate()){let{name:Ee}=be.node.key.id,oe=`get ${Ee}`,J=`set ${Ee}`;if(be.isClassPrivateMethod()){if(be.node.kind==="get"){if(H.has(oe)||H.has(Ee)&&!H.has(J))throw be.buildCodeFrameError("Duplicate private field");H.add(oe).add(Ee)}else if(be.node.kind==="set"){if(H.has(J)||H.has(Ee)&&!H.has(oe))throw be.buildCodeFrameError("Duplicate private field");H.add(J).add(Ee)}}else{if(H.has(Ee)&&!H.has(oe)&&!H.has(J)||H.has(Ee)&&(H.has(oe)||H.has(J)))throw be.buildCodeFrameError("Duplicate private field");H.add(Ee)}}be.isClassMethod({kind:"constructor"})?G=be:(N.push(be),(be.isProperty()||be.isPrivate()||be.isStaticBlock!=null&&be.isStaticBlock())&&B.push(be))}if(!B.length&&!U)return;let W=M.node.id,V;W&&Y||((0,m.default)(M),V=M.scope.generateUidIdentifier("class"));let Q=(z=V)!=null?z:a.types.cloneNode(W),ne=(0,l.buildPrivateNamesMap)(B),ue=(0,l.buildPrivateNamesNodes)(ne,D??$,P!=null&&P,R),de,Ae,Oe,Me,ae,se;(0,l.transformPrivateNamesUsage)(Q,M,ne,{privateFieldsAsProperties:j??$,noDocumentAll:I,innerBinding:W},R),U?(Ae=Me=de=[],{instanceNodes:Oe,wrapClass:se}=(0,f.buildDecoratedClass)(Q,M,N,R)):(de=(0,p.extractComputedKeys)(M,X,R),{staticNodes:Ae,pureStaticNodes:Me,instanceNodes:Oe,classBindingNode:ae,wrapClass:se}=(0,l.buildFieldsInitNodes)(V,M.node.superClass,B,ne,R,C??$,j??$,L??$,W)),Oe.length>0&&(0,p.injectInitialization)(M,G,Oe,(be,Ee)=>{if(!U)for(let oe of B)a.types.isStaticBlock!=null&&a.types.isStaticBlock(oe.node)||oe.node.static||oe.traverse(be,Ee)});let ye=se(M);ye.insertBefore([...ue,...de]),Ae.length>0&&ye.insertAfter(Ae),Me.length>0&&ye.find(be=>be.isStatement()||be.isDeclaration()).insertAfter(Me),ae!=null&&Y&&ye.insertAfter(ae)},ExportDefaultDeclaration(M,{file:R}){{if(R.get(b)!=="7.22.15")return;let z=M.get("declaration");z.isClassDeclaration()&&(0,f.hasDecorators)(z.node)&&(z.node.id?(0,d.default)(M):z.node.type="ClassExpression")}}}}},Object.defineProperty(r,"enableFeature",{enumerable:!0,get:function(){return h.enableFeature}}),Object.defineProperty(r,"injectInitialization",{enumerable:!0,get:function(){return p.injectInitialization}});var a=u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/index.js"),m=u("./node_modules/.pnpm/@babel+helper-function-name@7.22.5/node_modules/@babel/helper-function-name/lib/index.js"),d=u("./node_modules/.pnpm/@babel+helper-split-export-declaration@7.22.6/node_modules/@babel/helper-split-export-declaration/lib/index.js"),s=u("./node_modules/.pnpm/semver@6.3.1/node_modules/semver/semver.js"),l=u("./node_modules/.pnpm/@babel+helper-create-class-features-plugin@7.22.15_@babel+core@7.22.15/node_modules/@babel/helper-create-class-features-plugin/lib/fields.js"),f=u("./node_modules/.pnpm/@babel+helper-create-class-features-plugin@7.22.15_@babel+core@7.22.15/node_modules/@babel/helper-create-class-features-plugin/lib/decorators.js"),p=u("./node_modules/.pnpm/@babel+helper-create-class-features-plugin@7.22.15_@babel+core@7.22.15/node_modules/@babel/helper-create-class-features-plugin/lib/misc.js"),h=u("./node_modules/.pnpm/@babel+helper-create-class-features-plugin@7.22.15_@babel+core@7.22.15/node_modules/@babel/helper-create-class-features-plugin/lib/features.js"),y=u("./node_modules/.pnpm/@babel+helper-create-class-features-plugin@7.22.15_@babel+core@7.22.15/node_modules/@babel/helper-create-class-features-plugin/lib/typescript.js");let b="@babel/plugin-class-features/version"},"./node_modules/.pnpm/@babel+helper-create-class-features-plugin@7.22.15_@babel+core@7.22.15/node_modules/@babel/helper-create-class-features-plugin/lib/misc.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.extractComputedKeys=function(p,h,y){let b=[],E={classBinding:p.node.id&&p.scope.getBinding(p.node.id.name),file:y};for(let v of h){let S=v.get("key");S.isReferencedIdentifier()?l(S,E):S.traverse(f,E);let w=v.node;if(!S.isConstantExpression()){let A=p.scope.generateUidIdentifierBasedOnNode(w.key);p.scope.push({id:A,kind:"let"}),b.push(a.types.expressionStatement(a.types.assignmentExpression("=",a.types.cloneNode(A),w.key))),w.key=a.types.cloneNode(A)}}return b},r.injectInitialization=function(p,h,y,b){if(!y.length)return;let E=!!p.node.superClass;if(!h){let v=a.types.classMethod("constructor",a.types.identifier("constructor"),[],a.types.blockStatement([]));E&&(v.params=[a.types.restElement(a.types.identifier("args"))],v.body.body.push(a.template.statement.ast`super(...args)`)),[h]=p.get("body").unshiftContainer("body",v)}if(b&&b(s,{scope:h.scope}),E){let v=[];h.traverse(d,v);let S=!0;for(let w of v)S?(w.insertAfter(y),S=!1):w.insertAfter(y.map(A=>a.types.cloneNode(A)))}else h.get("body").unshiftContainer("body",y)};var a=u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/index.js"),m=u("./node_modules/.pnpm/@babel+helper-environment-visitor@7.22.5/node_modules/@babel/helper-environment-visitor/lib/index.js");let d=a.traverse.visitors.merge([{Super(p){let{node:h,parentPath:y}=p;y.isCallExpression({callee:h})&&this.push(y)}},m.default]),s={"TSTypeAnnotation|TypeAnnotation"(p){p.skip()},ReferencedIdentifier(p,{scope:h}){h.hasOwnBinding(p.node.name)&&(h.rename(p.node.name),p.skip())}};function l(p,h){if(h.classBinding&&h.classBinding===p.scope.getBinding(p.node.name)){let y=h.file.addHelper("classNameTDZError"),b=a.types.callExpression(y,[a.types.stringLiteral(p.node.name)]);p.replaceWith(a.types.sequenceExpression([b,p.node])),p.skip()}}let f={ReferencedIdentifier:l}},"./node_modules/.pnpm/@babel+helper-create-class-features-plugin@7.22.15_@babel+core@7.22.15/node_modules/@babel/helper-create-class-features-plugin/lib/typescript.js":(o,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.assertFieldTransformed=function(u){if(u.node.declare)throw u.buildCodeFrameError(`TypeScript 'declare' fields must first be transformed by @babel/plugin-transform-typescript.
|
|
If you have already enabled that plugin (or '@babel/preset-typescript'), make sure that it runs before any plugin related to additional class features:
|
|
- @babel/plugin-transform-class-properties
|
|
- @babel/plugin-transform-private-methods
|
|
- @babel/plugin-proposal-decorators`)}},"./node_modules/.pnpm/@babel+helper-environment-visitor@7.22.5/node_modules/@babel/helper-environment-visitor/lib/index.js":(o,r)=>{"use strict";function u(m){let{context:d,node:s}=m;if(s.computed&&d.maybeQueue(m.get("key")),s.decorators)for(let l of m.get("decorators"))d.maybeQueue(l)}Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.requeueComputedKeyAndDecorators=u,r.skipAllButComputedKey=function(m){m.skip(),m.node.computed&&m.context.maybeQueue(m.get("key"))};var a={FunctionParent(m){m.isArrowFunctionExpression()||(m.skip(),m.isMethod()&&u(m))},Property(m){m.isObjectProperty()||(m.skip(),u(m))}};r.default=a},"./node_modules/.pnpm/@babel+helper-function-name@7.22.5/node_modules/@babel/helper-function-name/lib/index.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function({node:j,parent:M,scope:R,id:z},Y=!1,$=!1){if(j.id)return;if(!S(M)&&!v(M,{kind:"method"})||M.computed&&!b(M.key)){if(C(M)){if(z=M.id,y(z)&&!Y){let B=R.parent.getBinding(z.name);if(B&&B.constant&&R.getBinding(z.name)===B)return j.id=s(z),void(j.id[d]=!0)}}else if(f(M,{operator:"="}))z=M.left;else if(!z)return}else z=M.key;let G;if(z&&b(z)?G=function(B){return E(B)?"null":w(B)?`_${B.pattern}_${B.flags}`:x(B)?B.quasis.map(N=>N.value.raw).join(""):B.value!==void 0?B.value+"":""}(z):z&&y(z)&&(G=z.name),G===void 0||!$&&h(j)&&/[\uD800-\uDFFF]/.test(G))return;G=P(G);let U=l(G);return U[d]=!0,function(B,N,X,H){if(B.selfReference){if(!H.hasBinding(X.name)||H.hasGlobal(X.name)){if(!h(N))return;let F=D;N.generator&&(F=L);let W=F({FUNCTION:N,FUNCTION_ID:X,FUNCTION_KEY:H.generateUidIdentifier(X.name)}).expression,V=W.callee.body.body[0].params;for(let Q=0,ne=function(ue){let de=ue.params.findIndex(Ae=>p(Ae)||A(Ae));return de===-1?ue.params.length:de}(N);Q<ne;Q++)V.push(H.generateUidIdentifier("x"));return W}H.rename(X.name)}N.id=X,H.getProgramParent().references[X.name]=!0}(function(B,N,X){let H={selfAssignment:!1,selfReference:!1,outerDeclar:X.getBindingIdentifier(N),name:N},F=X.getOwnBinding(N);return F?F.kind==="param"&&(H.selfReference=!0):(H.outerDeclar||X.hasGlobal(N))&&X.traverse(B,I,H),H}(j,G,R),j,U,R)||j};var a=u("./node_modules/.pnpm/@babel+template@7.22.15/node_modules/@babel/template/lib/index.js"),m=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/index.js");let{NOT_LOCAL_BINDING:d,cloneNode:s,identifier:l,isAssignmentExpression:f,isAssignmentPattern:p,isFunction:h,isIdentifier:y,isLiteral:b,isNullLiteral:E,isObjectMethod:v,isObjectProperty:S,isRegExpLiteral:w,isRestElement:A,isTemplateLiteral:x,isVariableDeclarator:C,toBindingIdentifierName:P}=m,D=a.default.statement(`
|
|
(function (FUNCTION_KEY) {
|
|
function FUNCTION_ID() {
|
|
return FUNCTION_KEY.apply(this, arguments);
|
|
}
|
|
|
|
FUNCTION_ID.toString = function () {
|
|
return FUNCTION_KEY.toString();
|
|
}
|
|
|
|
return FUNCTION_ID;
|
|
})(FUNCTION)
|
|
`),L=a.default.statement(`
|
|
(function (FUNCTION_KEY) {
|
|
function* FUNCTION_ID() {
|
|
return yield* FUNCTION_KEY.apply(this, arguments);
|
|
}
|
|
|
|
FUNCTION_ID.toString = function () {
|
|
return FUNCTION_KEY.toString();
|
|
};
|
|
|
|
return FUNCTION_ID;
|
|
})(FUNCTION)
|
|
`),I={"ReferencedIdentifier|BindingIdentifier"(j,M){j.node.name===M.name&&j.scope.getBindingIdentifier(M.name)===M.outerDeclar&&(M.selfReference=!0,j.stop())}}},"./node_modules/.pnpm/@babel+helper-hoist-variables@7.22.5/node_modules/@babel/helper-hoist-variables/lib/index.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(f,p,h="var"){f.traverse(l,{kind:h,emit:p})};var a=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/index.js");let{assignmentExpression:m,expressionStatement:d,identifier:s}=a,l={Scope(f,p){p.kind==="let"&&f.skip()},FunctionParent(f){f.skip()},VariableDeclaration(f,p){if(p.kind&&f.node.kind!==p.kind)return;let h=[],y=f.get("declarations"),b;for(let E of y){b=E.node.id,E.node.init&&h.push(d(m("=",E.node.id,E.node.init)));for(let v of Object.keys(E.getBindingIdentifiers()))p.emit(s(v),v,E.node.init!==null)}f.parentPath.isFor({left:f.node})?f.replaceWith(b):f.replaceWithMultiple(h)}}},"./node_modules/.pnpm/@babel+helper-member-expression-to-functions@7.22.15/node_modules/@babel/helper-member-expression-to-functions/lib/index.js":(o,r,u)=>{"use strict";function a($){if($&&$.__esModule)return $;var G=Object.create(null);return $&&Object.keys($).forEach(function(U){if(U!=="default"){var B=Object.getOwnPropertyDescriptor($,U);Object.defineProperty(G,U,B.get?B:{enumerable:!0,get:function(){return $[U]}})}}),G.default=$,Object.freeze(G)}Object.defineProperty(r,"__esModule",{value:!0});var m=a(u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/index.js"));function d($){let G=$,{node:U,parentPath:B}=G;if(B.isLogicalExpression()){let{operator:N,right:X}=B.node;if(N==="&&"||N==="||"||N==="??"&&U===X)return d(B)}if(B.isSequenceExpression()){let{expressions:N}=B.node;return N[N.length-1]!==U||d(B)}return B.isConditional({test:U})||B.isUnaryExpression({operator:"!"})||B.isLoop({test:U})}let{LOGICAL_OPERATORS:s,arrowFunctionExpression:l,assignmentExpression:f,binaryExpression:p,booleanLiteral:h,callExpression:y,cloneNode:b,conditionalExpression:E,identifier:v,isMemberExpression:S,isOptionalCallExpression:w,isOptionalMemberExpression:A,isUpdateExpression:x,logicalExpression:C,memberExpression:P,nullLiteral:D,optionalCallExpression:L,optionalMemberExpression:I,sequenceExpression:j,updateExpression:M}=m;class R{constructor(){this._map=void 0,this._map=new WeakMap}has(G){return this._map.has(G)}get(G){if(!this.has(G))return;let U=this._map.get(G),{value:B}=U;return U.count--,U.count===0?f("=",B,G):B}set(G,U,B){return this._map.set(G,{count:B,value:U})}}function z($,G){let{node:U}=$;if(A(U))return P(G,U.property,U.computed);if($.isOptionalCallExpression()){let B=$.get("callee");if($.node.optional&&B.isOptionalMemberExpression()){let N=B.node.object,X=$.scope.maybeGenerateMemoised(N);return B.get("object").replaceWith(f("=",X,N)),y(P(G,v("call")),[X,...$.node.arguments])}return y(G,$.node.arguments)}return $.node}let Y={memoise(){},handle($,G){let{node:U,parent:B,parentPath:N,scope:X}=$;if($.isOptionalMemberExpression()){if(function(oe){for(;oe&&!oe.isProgram();){let{parentPath:J,container:De,listKey:Ke}=oe,ke=J.node;if(Ke){if(De!==ke[Ke])return!0}else if(De!==ke)return!0;oe=J}return!1}($))return;let H=$.find(({node:oe,parent:J})=>A(J)?J.optional||J.object!==oe:!w(J)||oe!==$.node&&J.optional||J.callee!==oe);if(X.path.isPattern())return void H.replaceWith(y(l([],H.node),[]));let F=d(H),W=H.parentPath;if(W.isUpdateExpression({argument:U})||W.isAssignmentExpression({left:U}))throw $.buildCodeFrameError("can't handle assignment");let V=W.isUnaryExpression({operator:"delete"});if(V&&H.isOptionalMemberExpression()&&H.get("property").isPrivateName())throw $.buildCodeFrameError("can't delete a private class element");let Q=$;for(;;)if(Q.isOptionalMemberExpression()){if(Q.node.optional)break;Q=Q.get("object")}else{if(!Q.isOptionalCallExpression())throw new Error(`Internal error: unexpected ${Q.node.type}`);if(Q.node.optional)break;Q=Q.get("callee")}let ne=Q.isOptionalMemberExpression()?Q.node.object:Q.node.callee,ue=X.maybeGenerateMemoised(ne),de=ue??ne,Ae=N.isOptionalCallExpression({callee:U}),Oe=oe=>Ae,Me=N.isCallExpression({callee:U});Q.replaceWith(z(Q,de)),Oe()?B.optional?N.replaceWith(this.optionalCall($,B.arguments)):N.replaceWith(this.call($,B.arguments)):Me?$.replaceWith(this.boundGet($)):this.delete&&N.isUnaryExpression({operator:"delete"})?N.replaceWith(this.delete($)):$.replaceWith(this.get($));let ae,se=$.node;for(let oe=$;oe!==H;){let J=oe.parentPath;if(J===H&&Oe()&&B.optional){se=J.node;break}se=z(J,se),oe=J}let ye=H.parentPath;if(S(se)&&ye.isOptionalCallExpression({callee:H.node,optional:!0})){let{object:oe}=se;ae=$.scope.maybeGenerateMemoised(oe),ae&&(se.object=f("=",ae,oe))}let be=H;V&&(be=ye,se=ye.node);let Ee=ue?f("=",b(de),b(ne)):b(de);if(F){let oe;oe=G?p("!=",Ee,D()):C("&&",p("!==",Ee,D()),p("!==",b(de),X.buildUndefinedNode())),be.replaceWith(C("&&",oe,se))}else{let oe;oe=G?p("==",Ee,D()):C("||",p("===",Ee,D()),p("===",b(de),X.buildUndefinedNode())),be.replaceWith(E(oe,V?h(!0):X.buildUndefinedNode(),se))}if(ae){let oe=ye.node;ye.replaceWith(L(I(oe.callee,v("call"),!1,!0),[b(ae),...oe.arguments],!1))}}else{if(x(B,{argument:U})){if(this.simpleSet)return void $.replaceWith(this.simpleSet($));let{operator:H,prefix:F}=B;this.memoise($,2);let W=X.generateUidIdentifierBasedOnNode(U);X.push({id:W});let V=[f("=",b(W),this.get($))];if(F){V.push(M(H,b(W),F));let Q=j(V);return void N.replaceWith(this.set($,Q))}{let Q=X.generateUidIdentifierBasedOnNode(U);X.push({id:Q}),V.push(f("=",b(Q),M(H,b(W),F)),b(W));let ne=j(V);return void N.replaceWith(j([this.set($,ne),b(Q)]))}}if(N.isAssignmentExpression({left:U})){if(this.simpleSet)return void $.replaceWith(this.simpleSet($));let{operator:H,right:F}=N.node;if(H==="=")N.replaceWith(this.set($,F));else{let W=H.slice(0,-1);s.includes(W)?(this.memoise($,1),N.replaceWith(C(W,this.get($),this.set($,F)))):(this.memoise($,2),N.replaceWith(this.set($,p(W,this.get($),F))))}}else{if(!N.isCallExpression({callee:U}))return N.isOptionalCallExpression({callee:U})?X.path.isPattern()?void N.replaceWith(y(l([],N.node),[])):void N.replaceWith(this.optionalCall($,N.node.arguments)):void(this.delete&&N.isUnaryExpression({operator:"delete"})?N.replaceWith(this.delete($)):N.isForXStatement({left:U})||N.isObjectProperty({value:U})&&N.parentPath.isObjectPattern()||N.isAssignmentPattern({left:U})&&N.parentPath.isObjectProperty({value:B})&&N.parentPath.parentPath.isObjectPattern()||N.isArrayPattern()||N.isAssignmentPattern({left:U})&&N.parentPath.isArrayPattern()||N.isRestElement()?$.replaceWith(this.destructureSet($)):N.isTaggedTemplateExpression()?$.replaceWith(this.boundGet($)):$.replaceWith(this.get($)));N.replaceWith(this.call($,N.node.arguments))}}}};r.default=function($,G,U){$.traverse(G,Object.assign({},Y,U,{memoiser:new R}))}},"./node_modules/.pnpm/@babel+helper-module-imports@7.22.15/node_modules/@babel/helper-module-imports/lib/import-builder.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var a=u("assert"),m=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/index.js");let{callExpression:d,cloneNode:s,expressionStatement:l,identifier:f,importDeclaration:p,importDefaultSpecifier:h,importNamespaceSpecifier:y,importSpecifier:b,memberExpression:E,stringLiteral:v,variableDeclaration:S,variableDeclarator:w}=m;r.default=class{constructor(A,x,C){this._statements=[],this._resultName=null,this._importedSource=void 0,this._scope=x,this._hub=C,this._importedSource=A}done(){return{statements:this._statements,resultName:this._resultName}}import(){return this._statements.push(p([],v(this._importedSource))),this}require(){return this._statements.push(l(d(f("require"),[v(this._importedSource)]))),this}namespace(A="namespace"){let x=this._scope.generateUidIdentifier(A),C=this._statements[this._statements.length-1];return a(C.type==="ImportDeclaration"),a(C.specifiers.length===0),C.specifiers=[y(x)],this._resultName=s(x),this}default(A){let x=this._scope.generateUidIdentifier(A),C=this._statements[this._statements.length-1];return a(C.type==="ImportDeclaration"),a(C.specifiers.length===0),C.specifiers=[h(x)],this._resultName=s(x),this}named(A,x){if(x==="default")return this.default(A);let C=this._scope.generateUidIdentifier(A),P=this._statements[this._statements.length-1];return a(P.type==="ImportDeclaration"),a(P.specifiers.length===0),P.specifiers=[b(C,f(x))],this._resultName=s(C),this}var(A){let x=this._scope.generateUidIdentifier(A),C=this._statements[this._statements.length-1];return C.type!=="ExpressionStatement"&&(a(this._resultName),C=l(this._resultName),this._statements.push(C)),this._statements[this._statements.length-1]=S("var",[w(x,C.expression)]),this._resultName=s(x),this}defaultInterop(){return this._interop(this._hub.addHelper("interopRequireDefault"))}wildcardInterop(){return this._interop(this._hub.addHelper("interopRequireWildcard"))}_interop(A){let x=this._statements[this._statements.length-1];return x.type==="ExpressionStatement"?x.expression=d(A,[x.expression]):x.type==="VariableDeclaration"?(a(x.declarations.length===1),x.declarations[0].init=d(A,[x.declarations[0].init])):a.fail("Unexpected type."),this}prop(A){let x=this._statements[this._statements.length-1];return x.type==="ExpressionStatement"?x.expression=E(x.expression,f(A)):x.type==="VariableDeclaration"?(a(x.declarations.length===1),x.declarations[0].init=E(x.declarations[0].init,f(A))):a.fail("Unexpected type:"+x.type),this}read(A){this._resultName=E(this._resultName,f(A))}}},"./node_modules/.pnpm/@babel+helper-module-imports@7.22.15/node_modules/@babel/helper-module-imports/lib/import-injector.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var a=u("assert"),m=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/index.js"),d=u("./node_modules/.pnpm/@babel+helper-module-imports@7.22.15/node_modules/@babel/helper-module-imports/lib/import-builder.js"),s=u("./node_modules/.pnpm/@babel+helper-module-imports@7.22.15/node_modules/@babel/helper-module-imports/lib/is-module.js");let{numericLiteral:l,sequenceExpression:f}=m;r.default=class{constructor(p,h,y){this._defaultOpts={importedSource:null,importedType:"commonjs",importedInterop:"babel",importingInterop:"babel",ensureLiveReference:!1,ensureNoContext:!1,importPosition:"before"};let b=p.find(E=>E.isProgram());this._programPath=b,this._programScope=b.scope,this._hub=b.hub,this._defaultOpts=this._applyDefaults(h,y,!0)}addDefault(p,h){return this.addNamed("default",p,h)}addNamed(p,h,y){return a(typeof p=="string"),this._generateImport(this._applyDefaults(h,y),p)}addNamespace(p,h){return this._generateImport(this._applyDefaults(p,h),null)}addSideEffect(p,h){return this._generateImport(this._applyDefaults(p,h),void 0)}_applyDefaults(p,h,y=!1){let b;return typeof p=="string"?b=Object.assign({},this._defaultOpts,{importedSource:p},h):(a(!h,"Unexpected secondary arguments."),b=Object.assign({},this._defaultOpts,p)),!y&&h&&(h.nameHint!==void 0&&(b.nameHint=h.nameHint),h.blockHoist!==void 0&&(b.blockHoist=h.blockHoist)),b}_generateImport(p,h){let y=h==="default",b=!!h&&!y,E=h===null,{importedSource:v,importedType:S,importedInterop:w,importingInterop:A,ensureLiveReference:x,ensureNoContext:C,nameHint:P,importPosition:D,blockHoist:L}=p,I=P||h,j=(0,s.default)(this._programPath),M=j&&A==="node",R=j&&A==="babel";if(D==="after"&&!j)throw new Error('"importPosition": "after" is only supported in modules');let z=new d.default(v,this._programScope,this._hub);if(S==="es6"){if(!M&&!R)throw new Error("Cannot import an ES6 module from CommonJS");z.import(),E?z.namespace(P||v):(y||b)&&z.named(I,h)}else{if(S!=="commonjs")throw new Error(`Unexpected interopType "${S}"`);if(w==="babel")if(M){I=I!=="default"?I:v;let G=`${v}$es6Default`;z.import(),E?z.default(G).var(I||v).wildcardInterop():y?x?z.default(G).var(I||v).defaultInterop().read("default"):z.default(G).var(I).defaultInterop().prop(h):b&&z.default(G).read(h)}else R?(z.import(),E?z.namespace(I||v):(y||b)&&z.named(I,h)):(z.require(),E?z.var(I||v).wildcardInterop():(y||b)&&x?y?(I=I!=="default"?I:v,z.var(I).read(h),z.defaultInterop()):z.var(v).read(h):y?z.var(I).defaultInterop().prop(h):b&&z.var(I).prop(h));else if(w==="compiled")M?(z.import(),E?z.default(I||v):(y||b)&&z.default(v).read(I)):R?(z.import(),E?z.namespace(I||v):(y||b)&&z.named(I,h)):(z.require(),E?z.var(I||v):(y||b)&&(x?z.var(v).read(I):z.prop(h).var(I)));else{if(w!=="uncompiled")throw new Error(`Unknown importedInterop "${w}".`);if(y&&x)throw new Error("No live reference for commonjs default");M?(z.import(),E?z.default(I||v):y?z.default(I):b&&z.default(v).read(I)):R?(z.import(),E?z.default(I||v):y?z.default(I):b&&z.named(I,h)):(z.require(),E?z.var(I||v):y?z.var(I):b&&(x?z.var(v).read(I):z.var(I).prop(h)))}}let{statements:Y,resultName:$}=z.done();return this._insertStatements(Y,D,L),(y||b)&&C&&$.type!=="Identifier"?f([l(0),$]):$}_insertStatements(p,h="before",y=3){let b=this._programPath.get("body");if(h==="after"){for(let E=b.length-1;E>=0;E--)if(b[E].isImportDeclaration())return void b[E].insertAfter(p)}else{p.forEach(v=>{v._blockHoist=y});let E=b.find(v=>{let S=v.node._blockHoist;return Number.isFinite(S)&&S<4});if(E)return void E.insertBefore(p)}this._programPath.unshiftContainer("body",p)}}},"./node_modules/.pnpm/@babel+helper-module-imports@7.22.15/node_modules/@babel/helper-module-imports/lib/index.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"ImportInjector",{enumerable:!0,get:function(){return a.default}}),r.addDefault=function(d,s,l){return new a.default(d).addDefault(s,l)},r.addNamed=function(d,s,l,f){return new a.default(d).addNamed(s,l,f)},r.addNamespace=function(d,s,l){return new a.default(d).addNamespace(s,l)},r.addSideEffect=function(d,s,l){return new a.default(d).addSideEffect(s,l)},Object.defineProperty(r,"isModule",{enumerable:!0,get:function(){return m.default}});var a=u("./node_modules/.pnpm/@babel+helper-module-imports@7.22.15/node_modules/@babel/helper-module-imports/lib/import-injector.js"),m=u("./node_modules/.pnpm/@babel+helper-module-imports@7.22.15/node_modules/@babel/helper-module-imports/lib/is-module.js")},"./node_modules/.pnpm/@babel+helper-module-imports@7.22.15/node_modules/@babel/helper-module-imports/lib/is-module.js":(o,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(u){return u.node.sourceType==="module"}},"./node_modules/.pnpm/@babel+helper-module-transforms@7.22.15_@babel+core@7.22.15/node_modules/@babel/helper-module-transforms/lib/dynamic-import.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.buildDynamicImport=function(m,d,s,l){let[f]=m.arguments;if(a.types.isStringLiteral(f)||a.types.isTemplateLiteral(f)&&f.quasis.length===0)return d?a.template.expression.ast`
|
|
Promise.resolve().then(() => ${l(f)})
|
|
`:l(f);let p=a.types.isTemplateLiteral(f)?a.types.identifier("specifier"):a.types.templateLiteral([a.types.templateElement({raw:""}),a.types.templateElement({raw:""})],[a.types.identifier("specifier")]);return d?a.template.expression.ast`
|
|
(specifier =>
|
|
new Promise(r => r(${p}))
|
|
.then(s => ${l(a.types.identifier("s"))})
|
|
)(${f})
|
|
`:s?a.template.expression.ast`
|
|
(specifier =>
|
|
new Promise(r => r(${l(p)}))
|
|
)(${f})
|
|
`:a.template.expression.ast`
|
|
(specifier => ${l(p)})(${f})
|
|
`};var a=u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/index.js");r.getDynamicImportSource=function(m){let[d]=m.arguments;return a.types.isStringLiteral(d)||a.types.isTemplateLiteral(d)?d:a.template.expression.ast`\`\${${d}}\``}},"./node_modules/.pnpm/@babel+helper-module-transforms@7.22.15_@babel+core@7.22.15/node_modules/@babel/helper-module-transforms/lib/get-module-name.js":(o,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=u;{let a=u;r.default=u=function(m,d){var s,l,f,p;return a(m,{moduleId:(s=d.moduleId)!=null?s:m.moduleId,moduleIds:(l=d.moduleIds)!=null?l:m.moduleIds,getModuleId:(f=d.getModuleId)!=null?f:m.getModuleId,moduleRoot:(p=d.moduleRoot)!=null?p:m.moduleRoot})}}function u(a,m){let{filename:d,filenameRelative:s=d,sourceRoot:l=m.moduleRoot}=a,{moduleId:f,moduleIds:p=!!f,getModuleId:h,moduleRoot:y=l}=m;if(!p)return null;if(f!=null&&!h)return f;let b=y!=null?y+"/":"";if(s){let E=l!=null?new RegExp("^"+l+"/?"):"";b+=s.replace(E,"").replace(/\.(\w*?)$/,"")}return b=b.replace(/\\/g,"/"),h&&h(b)||b}},"./node_modules/.pnpm/@babel+helper-module-transforms@7.22.15_@babel+core@7.22.15/node_modules/@babel/helper-module-transforms/lib/index.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"buildDynamicImport",{enumerable:!0,get:function(){return p.buildDynamicImport}}),r.buildNamespaceInitStatements=function(Y,$,G=!1){let U=[],B=A($.name);$.lazy&&(B=b(B,[]));for(let N of $.importsNamespace)N!==$.name&&U.push(m.template.statement`var NAME = SOURCE;`({NAME:N,SOURCE:E(B)}));G&&U.push(...M(Y,$,!0));for(let N of $.reexportNamespace)U.push(($.lazy?m.template.statement`
|
|
Object.defineProperty(EXPORTS, "NAME", {
|
|
enumerable: true,
|
|
get: function() {
|
|
return NAMESPACE;
|
|
}
|
|
});
|
|
`:m.template.statement`EXPORTS.NAME = NAMESPACE;`)({EXPORTS:Y.exportName,NAME:N,NAMESPACE:E(B)}));if($.reexportAll){let N=function(X,H,F){return(F?m.template.statement`
|
|
Object.keys(NAMESPACE).forEach(function(key) {
|
|
if (key === "default" || key === "__esModule") return;
|
|
VERIFY_NAME_LIST;
|
|
if (key in EXPORTS && EXPORTS[key] === NAMESPACE[key]) return;
|
|
|
|
EXPORTS[key] = NAMESPACE[key];
|
|
});
|
|
`:m.template.statement`
|
|
Object.keys(NAMESPACE).forEach(function(key) {
|
|
if (key === "default" || key === "__esModule") return;
|
|
VERIFY_NAME_LIST;
|
|
if (key in EXPORTS && EXPORTS[key] === NAMESPACE[key]) return;
|
|
|
|
Object.defineProperty(EXPORTS, key, {
|
|
enumerable: true,
|
|
get: function() {
|
|
return NAMESPACE[key];
|
|
},
|
|
});
|
|
});
|
|
`)({NAMESPACE:H,EXPORTS:X.exportName,VERIFY_NAME_LIST:X.exportNameListName?m.template`
|
|
if (Object.prototype.hasOwnProperty.call(EXPORTS_LIST, key)) return;
|
|
`({EXPORTS_LIST:X.exportNameListName}):null})}(Y,E(B),G);N.loc=$.reexportAll.loc,U.push(N)}return U},r.ensureStatementsHoisted=function(Y){Y.forEach($=>{$._blockHoist=3})},Object.defineProperty(r,"getModuleName",{enumerable:!0,get:function(){return h.default}}),Object.defineProperty(r,"hasExports",{enumerable:!0,get:function(){return f.hasExports}}),Object.defineProperty(r,"isModule",{enumerable:!0,get:function(){return d.isModule}}),Object.defineProperty(r,"isSideEffectImport",{enumerable:!0,get:function(){return f.isSideEffectImport}}),r.rewriteModuleStatementsAndPrepareHeader=function(Y,{exportName:$,strict:G,allowTopLevelThis:U,strictMode:B,noInterop:N,importInterop:X=N?"none":"babel",lazy:H,esNamespaceOnly:F,filename:W,constantReexports:V=arguments[1].loose,enumerableModuleMeta:Q=arguments[1].loose,noIncompleteNsImportDetection:ne}){(0,f.validateImportInteropOption)(X),a((0,d.isModule)(Y),"Cannot process module statements in a script"),Y.node.sourceType="script";let ue=(0,f.default)(Y,$,{importInterop:X,initializeReexports:V,lazy:H,esNamespaceOnly:F,filename:W});U||(0,s.default)(Y),(0,l.default)(Y,ue),B!==!1&&(Y.node.directives.some(Me=>Me.value.value==="use strict")||Y.unshiftContainer("directives",v(S("use strict"))));let de=[];(0,f.hasExports)(ue)&&!G&&de.push(function(Oe,Me=!1){return(Me?m.template.statement`
|
|
EXPORTS.__esModule = true;
|
|
`:m.template.statement`
|
|
Object.defineProperty(EXPORTS, "__esModule", {
|
|
value: true,
|
|
});
|
|
`)({EXPORTS:Oe.exportName})}(ue,Q));let Ae=function(Oe,Me){let ae=Object.create(null);for(let be of Me.local.values())for(let Ee of be.names)ae[Ee]=!0;let se=!1;for(let be of Me.source.values()){for(let Ee of be.reexports.keys())ae[Ee]=!0;for(let Ee of be.reexportNamespace)ae[Ee]=!0;se=se||!!be.reexportAll}if(!se||Object.keys(ae).length===0)return null;let ye=Oe.scope.generateUidIdentifier("exportNames");return delete ae.default,{name:ye.name,statement:L("var",[I(ye,D(ae))])}}(Y,ue);return Ae&&(ue.exportNameListName=Ae.name,de.push(Ae.statement)),de.push(...function(Oe,Me,ae=!1,se=!1){let ye=[];for(let[Ee,oe]of Me.local)if(oe.kind!=="import"){if(oe.kind==="hoisted")ye.push([oe.names[0],z(Me,oe.names,A(Ee))]);else if(!se)for(let J of oe.names)ye.push([J,null])}for(let Ee of Me.source.values()){if(!ae){let oe=M(Me,Ee,!1),J=[...Ee.reexports.keys()];for(let De=0;De<oe.length;De++)ye.push([J[De],oe[De]])}if(!se)for(let oe of Ee.reexportNamespace)ye.push([oe,null])}ye.sort(([Ee],[oe])=>Ee<oe?-1:oe<Ee?1:0);let be=[];if(se)for(let[,Ee]of ye)be.push(Ee);else for(let oe=0;oe<ye.length;oe+=100){let J=[];for(let De=0;De<100&&oe+De<ye.length;De++){let[Ke,ke]=ye[oe+De];ke!==null?(J.length>0&&(be.push(z(Me,J,Oe.scope.buildUndefinedNode())),J=[]),be.push(ke)):J.push(Ke)}J.length>0&&be.push(z(Me,J,Oe.scope.buildUndefinedNode()))}return be}(Y,ue,V,ne)),{meta:ue,headers:de}},Object.defineProperty(r,"rewriteThis",{enumerable:!0,get:function(){return s.default}}),r.wrapInterop=function(Y,$,G){if(G==="none")return null;if(G==="node-namespace")return b(Y.hub.addHelper("interopRequireWildcard"),[$,y(!0)]);if(G==="node-default")return null;let U;if(G==="default")U="interopRequireDefault";else{if(G!=="namespace")throw new Error(`Unknown interop: ${G}`);U="interopRequireWildcard"}return b(Y.hub.addHelper(U),[$])};var a=u("assert"),m=u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/index.js"),d=u("./node_modules/.pnpm/@babel+helper-module-imports@7.22.15/node_modules/@babel/helper-module-imports/lib/index.js"),s=u("./node_modules/.pnpm/@babel+helper-module-transforms@7.22.15_@babel+core@7.22.15/node_modules/@babel/helper-module-transforms/lib/rewrite-this.js"),l=u("./node_modules/.pnpm/@babel+helper-module-transforms@7.22.15_@babel+core@7.22.15/node_modules/@babel/helper-module-transforms/lib/rewrite-live-references.js"),f=u("./node_modules/.pnpm/@babel+helper-module-transforms@7.22.15_@babel+core@7.22.15/node_modules/@babel/helper-module-transforms/lib/normalize-and-load-metadata.js"),p=u("./node_modules/.pnpm/@babel+helper-module-transforms@7.22.15_@babel+core@7.22.15/node_modules/@babel/helper-module-transforms/lib/dynamic-import.js"),h=u("./node_modules/.pnpm/@babel+helper-module-transforms@7.22.15_@babel+core@7.22.15/node_modules/@babel/helper-module-transforms/lib/get-module-name.js");let{booleanLiteral:y,callExpression:b,cloneNode:E,directive:v,directiveLiteral:S,expressionStatement:w,identifier:A,isIdentifier:x,memberExpression:C,stringLiteral:P,valueToNode:D,variableDeclaration:L,variableDeclarator:I}=m.types;r.getDynamicImportSource=u("./node_modules/.pnpm/@babel+helper-module-transforms@7.22.15_@babel+core@7.22.15/node_modules/@babel/helper-module-transforms/lib/dynamic-import.js").getDynamicImportSource;let j={constant:m.template.statement`EXPORTS.EXPORT_NAME = NAMESPACE_IMPORT;`,constantComputed:m.template.statement`EXPORTS["EXPORT_NAME"] = NAMESPACE_IMPORT;`,spec:m.template.statement`
|
|
Object.defineProperty(EXPORTS, "EXPORT_NAME", {
|
|
enumerable: true,
|
|
get: function() {
|
|
return NAMESPACE_IMPORT;
|
|
},
|
|
});
|
|
`};function M(Y,$,G){let U=$.lazy?b(A($.name),[]):A($.name),{stringSpecifiers:B}=Y;return Array.from($.reexports,([N,X])=>{let H=E(U);X==="default"&&$.interop==="node-default"||(H=B.has(X)?C(H,P(X),!0):C(H,A(X)));let F={EXPORTS:Y.exportName,EXPORT_NAME:N,NAMESPACE_IMPORT:H};return G||x(H)?B.has(N)?j.constantComputed(F):j.constant(F):j.spec(F)})}let R={computed:m.template.expression`EXPORTS["NAME"] = VALUE`,default:m.template.expression`EXPORTS.NAME = VALUE`};function z(Y,$,G){let{stringSpecifiers:U,exportName:B}=Y;return w($.reduce((N,X)=>{let H={EXPORTS:B,NAME:X,VALUE:N};return U.has(X)?R.computed(H):R.default(H)},G))}},"./node_modules/.pnpm/@babel+helper-module-transforms@7.22.15_@babel+core@7.22.15/node_modules/@babel/helper-module-transforms/lib/normalize-and-load-metadata.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(y,b,{importInterop:E,initializeReexports:v=!1,lazy:S=!1,esNamespaceOnly:w=!1,filename:A}){b||(b=y.scope.generateUidIdentifier("exports").name);let x=new Set;(function(L){L.get("body").forEach(I=>{I.isExportDefaultDeclaration()&&(0,d.default)(I)})})(y);let{local:C,sources:P,hasExports:D}=function(L,{lazy:I,initializeReexports:j},M){let R=function(G,U,B){let N=new Map;G.get("body").forEach(F=>{let W;if(F.isImportDeclaration())W="import";else{if(F.isExportDefaultDeclaration()&&(F=F.get("declaration")),F.isExportNamedDeclaration()){if(F.node.declaration)F=F.get("declaration");else if(U&&F.node.source&&F.get("source").isStringLiteral())return void F.get("specifiers").forEach(V=>{h(V),N.set(V.get("local").node.name,"block")})}if(F.isFunctionDeclaration())W="hoisted";else if(F.isClassDeclaration())W="block";else if(F.isVariableDeclaration({kind:"var"}))W="var";else{if(!F.isVariableDeclaration())return;W="block"}}Object.keys(F.getOuterBindingIdentifiers()).forEach(V=>{N.set(V,W)})});let X=new Map,H=F=>{let W=F.node.name,V=X.get(W);if(!V){let Q=N.get(W);if(Q===void 0)throw F.buildCodeFrameError(`Exporting local "${W}", which is not declared.`);V={names:[],kind:Q},X.set(W,V)}return V};return G.get("body").forEach(F=>{if(!F.isExportNamedDeclaration()||!U&&F.node.source){if(F.isExportDefaultDeclaration()){let W=F.get("declaration");if(!W.isFunctionDeclaration()&&!W.isClassDeclaration())throw W.buildCodeFrameError("Unexpected default expression export.");H(W.get("id")).names.push("default")}}else if(F.node.declaration){let W=F.get("declaration"),V=W.getOuterBindingIdentifierPaths();Object.keys(V).forEach(Q=>{if(Q==="__esModule")throw W.buildCodeFrameError('Illegal export "__esModule".');H(V[Q]).names.push(Q)})}else F.get("specifiers").forEach(W=>{let V=W.get("local"),Q=W.get("exported"),ne=H(V),ue=p(Q,B);if(ue==="__esModule")throw Q.buildCodeFrameError('Illegal export "__esModule".');ne.names.push(ue)})}),X}(L,j,M),z=new Map,Y=G=>{let U=G.value,B=z.get(U);return B||(B={name:L.scope.generateUidIdentifier((0,a.basename)(U,(0,a.extname)(U))).name,interop:"none",loc:null,imports:new Map,importsNamespace:new Set,reexports:new Map,reexportNamespace:new Set,reexportAll:null,lazy:!1,referenced:!1},z.set(U,B)),B},$=!1;L.get("body").forEach(G=>{if(G.isImportDeclaration()){let U=Y(G.node.source);U.loc||(U.loc=G.node.loc),G.get("specifiers").forEach(B=>{if(B.isImportDefaultSpecifier()){let N=B.get("local").node.name;U.imports.set(N,"default");let X=R.get(N);X&&(R.delete(N),X.names.forEach(H=>{U.reexports.set(H,"default")}),U.referenced=!0)}else if(B.isImportNamespaceSpecifier()){let N=B.get("local").node.name;U.importsNamespace.add(N);let X=R.get(N);X&&(R.delete(N),X.names.forEach(H=>{U.reexportNamespace.add(H)}),U.referenced=!0)}else if(B.isImportSpecifier()){let N=p(B.get("imported"),M),X=B.get("local").node.name;U.imports.set(X,N);let H=R.get(X);H&&(R.delete(X),H.names.forEach(F=>{U.reexports.set(F,N)}),U.referenced=!0)}})}else if(G.isExportAllDeclaration()){$=!0;let U=Y(G.node.source);U.loc||(U.loc=G.node.loc),U.reexportAll={loc:G.node.loc},U.referenced=!0}else if(G.isExportNamedDeclaration()&&G.node.source){$=!0;let U=Y(G.node.source);U.loc||(U.loc=G.node.loc),G.get("specifiers").forEach(B=>{h(B);let N=p(B.get("local"),M),X=p(B.get("exported"),M);if(U.reexports.set(X,N),U.referenced=!0,X==="__esModule")throw B.get("exported").buildCodeFrameError('Illegal export "__esModule".')})}else(G.isExportNamedDeclaration()||G.isExportDefaultDeclaration())&&($=!0)});for(let G of z.values()){let U=!1,B=!1;G.importsNamespace.size>0&&(U=!0,B=!0),G.reexportAll&&(B=!0);for(let N of G.imports.values())N==="default"?U=!0:B=!0;for(let N of G.reexports.values())N==="default"?U=!0:B=!0;U&&B?G.interop="namespace":U&&(G.interop="default")}for(let[G,U]of z)if(I!==!1&&!s(U)&&!U.reexportAll)if(I===!0)U.lazy=!/\./.test(G);else if(Array.isArray(I))U.lazy=I.indexOf(G)!==-1;else{if(typeof I!="function")throw new Error(".lazy must be a boolean, string array, or function");U.lazy=I(G)}return{hasExports:$,local:R,sources:z}}(y,{initializeReexports:v,lazy:S},x);(function(L){L.get("body").forEach(I=>{if(I.isImportDeclaration())I.remove();else if(I.isExportNamedDeclaration())I.node.declaration?(I.node.declaration._blockHoist=I.node._blockHoist,I.replaceWith(I.node.declaration)):I.remove();else if(I.isExportDefaultDeclaration()){let j=I.get("declaration");if(!j.isFunctionDeclaration()&&!j.isClassDeclaration())throw j.buildCodeFrameError("Unexpected default expression export.");j._blockHoist=I.node._blockHoist,I.replaceWith(j)}else I.isExportAllDeclaration()&&I.remove()})})(y);for(let[L,I]of P){I.importsNamespace.size>0&&(I.name=I.importsNamespace.values().next().value);let j=f(E,L,A);j==="none"?I.interop="none":j==="node"&&I.interop==="namespace"?I.interop="node-namespace":j==="node"&&I.interop==="default"?I.interop="node-default":w&&I.interop==="namespace"&&(I.interop="default")}return{exportName:b,exportNameListName:null,hasExports:D,local:C,source:P,stringSpecifiers:x}},r.hasExports=function(y){return y.hasExports},r.isSideEffectImport=s,r.validateImportInteropOption=l;var a=u("path"),m=u("./node_modules/.pnpm/@babel+helper-validator-identifier@7.22.15/node_modules/@babel/helper-validator-identifier/lib/index.js"),d=u("./node_modules/.pnpm/@babel+helper-split-export-declaration@7.22.6/node_modules/@babel/helper-split-export-declaration/lib/index.js");function s(y){return y.imports.size===0&&y.importsNamespace.size===0&&y.reexports.size===0&&y.reexportNamespace.size===0&&!y.reexportAll}function l(y){if(typeof y!="function"&&y!=="none"&&y!=="babel"&&y!=="node")throw new Error(`.importInterop must be one of "none", "babel", "node", or a function returning one of those values (received ${y}).`);return y}function f(y,b,E){return typeof y=="function"?l(y(b,E)):y}function p(y,b){if(y.isIdentifier())return y.node.name;if(y.isStringLiteral()){let E=y.node.value;return(0,m.isIdentifierName)(E)||b.add(E),E}throw new Error(`Expected export specifier to be either Identifier or StringLiteral, got ${y.node.type}`)}function h(y){if(!y.isExportSpecifier())throw y.isExportNamespaceSpecifier()?y.buildCodeFrameError("Export namespace should be first transformed by `@babel/plugin-transform-export-namespace-from`."):y.buildCodeFrameError("Unexpected export specifier type")}},"./node_modules/.pnpm/@babel+helper-module-transforms@7.22.15_@babel+core@7.22.15/node_modules/@babel/helper-module-transforms/lib/rewrite-live-references.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(R,z){let Y=new Map,$=new Map,G=X=>{R.requeue(X)};for(let[X,H]of z.source){for(let[F,W]of H.imports)Y.set(F,[X,W,null]);for(let F of H.importsNamespace)Y.set(F,[X,null,F])}for(let[X,H]of z.local){let F=$.get(X);F||(F=[],$.set(X,F)),F.push(...H.names)}let U={metadata:z,requeueInParent:G,scope:R.scope,exported:$};R.traverse(L,U);let B=new Set([...Array.from(Y.keys()),...Array.from($.keys())]);(0,d.default)(R,B,!1);let N={seen:new WeakSet,metadata:z,requeueInParent:G,scope:R.scope,imported:Y,exported:$,buildImportReference:([X,H,F],W)=>{let V=z.source.get(X);if(V.referenced=!0,F)return V.lazy&&(W=l(W,[])),W;let Q=y(V.name);if(V.lazy&&(Q=l(Q,[])),H==="default"&&V.interop==="node-default")return Q;let ne=z.stringSpecifiers.has(H);return w(Q,ne?C(H):y(H),ne)}};R.traverse(M,N)};var a=u("assert"),m=u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/index.js"),d=u("./node_modules/.pnpm/@babel+helper-simple-access@7.22.5/node_modules/@babel/helper-simple-access/lib/index.js");let{assignmentExpression:s,callExpression:l,cloneNode:f,expressionStatement:p,getOuterBindingIdentifiers:h,identifier:y,isMemberExpression:b,isVariableDeclaration:E,jsxIdentifier:v,jsxMemberExpression:S,memberExpression:w,numericLiteral:A,sequenceExpression:x,stringLiteral:C,variableDeclaration:P,variableDeclarator:D}=m.types,L={Scope(R){R.skip()},ClassDeclaration(R){let{requeueInParent:z,exported:Y,metadata:$}=this,{id:G}=R.node;if(!G)throw new Error("Expected class to have a name");let U=G.name,B=Y.get(U)||[];if(B.length>0){let N=p(I($,B,y(U),R.scope));N._blockHoist=R.node._blockHoist,z(R.insertAfter(N)[0])}},VariableDeclaration(R){let{requeueInParent:z,exported:Y,metadata:$}=this;Object.keys(R.getOuterBindingIdentifiers()).forEach(G=>{let U=Y.get(G)||[];if(U.length>0){let B=p(I($,U,y(G),R.scope));B._blockHoist=R.node._blockHoist,z(R.insertAfter(B)[0])}})}},I=(R,z,Y,$)=>{let G=R.exportName;for(let U=$;U!=null;U=U.parent)U.hasOwnBinding(G)&&U.rename(G);return(z||[]).reduce((U,B)=>{let{stringSpecifiers:N}=R,X=N.has(B);return s("=",w(y(G),X?C(B):y(B),X),U)},Y)},j=R=>m.template.expression.ast`
|
|
(function() {
|
|
throw new Error('"' + '${R}' + '" is read-only.');
|
|
})()
|
|
`,M={ReferencedIdentifier(R){let{seen:z,buildImportReference:Y,scope:$,imported:G,requeueInParent:U}=this;if(z.has(R.node))return;z.add(R.node);let B=R.node.name,N=G.get(B);if(N){if(function(F){do switch(F.parent.type){case"TSTypeAnnotation":case"TSTypeAliasDeclaration":case"TSTypeReference":case"TypeAnnotation":case"TypeAlias":return!0;case"ExportSpecifier":return F.parentPath.parent.exportKind==="type";default:if(F.parentPath.isStatement()||F.parentPath.isExpression())return!1}while(F=F.parentPath)}(R))throw R.buildCodeFrameError(`Cannot transform the imported binding "${B}" since it's also used in a type annotation. Please strip type annotations using @babel/preset-typescript or @babel/preset-flow.`);let X=R.scope.getBinding(B);if($.getBinding(B)!==X)return;let H=Y(N,R.node);if(H.loc=R.node.loc,(R.parentPath.isCallExpression({callee:R.node})||R.parentPath.isOptionalCallExpression({callee:R.node})||R.parentPath.isTaggedTemplateExpression({tag:R.node}))&&b(H))R.replaceWith(x([A(0),H]));else if(R.isJSXIdentifier()&&b(H)){let{object:F,property:W}=H;R.replaceWith(S(v(F.name),v(W.name)))}else R.replaceWith(H);U(R),R.skip()}},UpdateExpression(R){let{scope:z,seen:Y,imported:$,exported:G,requeueInParent:U,buildImportReference:B}=this;if(Y.has(R.node))return;Y.add(R.node);let N=R.get("argument");if(N.isMemberExpression())return;let X=R.node;if(N.isIdentifier()){let H=N.node.name;if(z.getBinding(H)!==R.scope.getBinding(H))return;let F=G.get(H),W=$.get(H);if((F==null?void 0:F.length)>0||W)if(W)R.replaceWith(s(X.operator[0]+"=",B(W,N.node),j(H)));else if(X.prefix)R.replaceWith(I(this.metadata,F,f(X),R.scope));else{let V=z.generateDeclaredUidIdentifier(H);R.replaceWith(x([s("=",f(V),f(X)),I(this.metadata,F,y(H),R.scope),f(V)]))}}U(R),R.skip()},AssignmentExpression:{exit(R){let{scope:z,seen:Y,imported:$,exported:G,requeueInParent:U,buildImportReference:B}=this;if(Y.has(R.node))return;Y.add(R.node);let N=R.get("left");if(!N.isMemberExpression())if(N.isIdentifier()){let X=N.node.name;if(z.getBinding(X)!==R.scope.getBinding(X))return;let H=G.get(X),F=$.get(X);if((H==null?void 0:H.length)>0||F){a(R.node.operator==="=","Path was not simplified");let W=R.node;F&&(W.left=B(F,N.node),W.right=x([W.right,j(X)])),R.replaceWith(I(this.metadata,H,W,R.scope)),U(R)}}else{let X=N.getOuterBindingIdentifiers(),H=Object.keys(X).filter(V=>z.getBinding(V)===R.scope.getBinding(V)),F=H.find(V=>$.has(V));F&&(R.node.right=x([R.node.right,j(F)]));let W=[];if(H.forEach(V=>{let Q=G.get(V)||[];Q.length>0&&W.push(I(this.metadata,Q,y(V),R.scope))}),W.length>0){let V=x(W);R.parentPath.isExpressionStatement()&&(V=p(V),V._blockHoist=R.parentPath.node._blockHoist),U(R.insertAfter(V)[0])}}}},"ForOfStatement|ForInStatement"(R){let{scope:z,node:Y}=R,{left:$}=Y,{exported:G,imported:U,scope:B}=this;if(!E($)){let N,X=!1,H=R.get("body").scope;for(let V of Object.keys(h($)))B.getBinding(V)===z.getBinding(V)&&(G.has(V)&&(X=!0,H.hasOwnBinding(V)&&H.rename(V)),U.has(V)&&!N&&(N=V));if(!X&&!N)return;R.ensureBlock();let F=R.get("body"),W=z.generateUidIdentifierBasedOnNode($);R.get("left").replaceWith(P("let",[D(f(W))])),z.registerDeclaration(R.get("left")),X&&F.unshiftContainer("body",p(s("=",$,W))),N&&F.unshiftContainer("body",p(j(N)))}}}},"./node_modules/.pnpm/@babel+helper-module-transforms@7.22.15_@babel+core@7.22.15/node_modules/@babel/helper-module-transforms/lib/rewrite-this.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(f){(0,m.traverse)(f.node,Object.assign({},l,{noScope:!0}))};var a=u("./node_modules/.pnpm/@babel+helper-environment-visitor@7.22.5/node_modules/@babel/helper-environment-visitor/lib/index.js"),m=u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/index.js");let{numericLiteral:d,unaryExpression:s}=m.types,l=m.traverse.visitors.merge([a.default,{ThisExpression(f){f.replaceWith(s("void",d(0),!0))}}])},"./node_modules/.pnpm/@babel+helper-optimise-call-expression@7.22.5/node_modules/@babel/helper-optimise-call-expression/lib/index.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(y,b,E,v){return E.length===1&&l(E[0])&&s(E[0].argument,{name:"arguments"})?v?p(h(y,d("apply"),!1,!0),[b,E[0].argument],!1):m(f(y,d("apply")),[b,E[0].argument]):v?p(h(y,d("call"),!1,!0),[b,...E],!1):m(f(y,d("call")),[b,...E])};var a=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/index.js");let{callExpression:m,identifier:d,isIdentifier:s,isSpreadElement:l,memberExpression:f,optionalCallExpression:p,optionalMemberExpression:h}=a},"./node_modules/.pnpm/@babel+helper-plugin-utils@7.22.5/node_modules/@babel/helper-plugin-utils/lib/index.js":(o,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.declare=a,r.declarePreset=void 0;let u={assertVersion:l=>f=>{(function(p,h){if(typeof p=="number"){if(!Number.isInteger(p))throw new Error("Expected string or integer value.");p=`^${p}.0.0-0`}if(typeof p!="string")throw new Error("Expected string or integer value.");let y=Error.stackTraceLimit;typeof y=="number"&&y<25&&(Error.stackTraceLimit=25);let b;throw b=h.slice(0,2)==="7."?new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${h}". You'll need to update your @babel/core version.`):new Error(`Requires Babel "${p}", but was loaded with "${h}". If you are sure you have a compatible version of @babel/core, it is likely that something in your build process is loading the wrong version. Inspect the stack trace of this error to look for the first entry that doesn't mention "@babel/core" or "babel-core" to see what is calling Babel.`),typeof y=="number"&&(Error.stackTraceLimit=y),Object.assign(b,{code:"BABEL_VERSION_UNSUPPORTED",version:h,range:p})})(f,l.version)}};function a(l){return(f,p,h)=>{var y;let b;for(let E of Object.keys(u))f[E]||(b!=null||(b=d(f)),b[E]=u[E](b));return l((y=b)!=null?y:f,p||{},h)}}Object.assign(u,{targets:()=>()=>({}),assumption:()=>()=>{}});let m=a;function d(l){let f=null;return typeof l.version=="string"&&/^7\./.test(l.version)&&(f=Object.getPrototypeOf(l),!f||s(f,"version")&&s(f,"transform")&&s(f,"template")&&s(f,"types")||(f=null)),Object.assign({},f,l)}function s(l,f){return Object.prototype.hasOwnProperty.call(l,f)}r.declarePreset=m},"./node_modules/.pnpm/@babel+helper-replace-supers@7.22.9_@babel+core@7.22.15/node_modules/@babel/helper-replace-supers/lib/index.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var a=u("./node_modules/.pnpm/@babel+helper-environment-visitor@7.22.5/node_modules/@babel/helper-environment-visitor/lib/index.js"),m=u("./node_modules/.pnpm/@babel+helper-member-expression-to-functions@7.22.15/node_modules/@babel/helper-member-expression-to-functions/lib/index.js"),d=u("./node_modules/.pnpm/@babel+helper-optimise-call-expression@7.22.5/node_modules/@babel/helper-optimise-call-expression/lib/index.js"),s=u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/index.js");let{assignmentExpression:l,booleanLiteral:f,callExpression:p,cloneNode:h,identifier:y,memberExpression:b,sequenceExpression:E,stringLiteral:v,thisExpression:S}=s.types;{let D=u("./node_modules/.pnpm/@babel+helper-environment-visitor@7.22.5/node_modules/@babel/helper-environment-visitor/lib/index.js");r.environmentVisitor=D.default,r.skipAllButComputedKey=D.skipAllButComputedKey}function w(D,L,I,j){D=h(D);let M=L||j?D:b(D,y("prototype"));return p(I.addHelper("getPrototypeOf"),[M])}let A=s.traverse.visitors.merge([a.default,{Super(D,L){let{node:I,parentPath:j}=D;j.isMemberExpression({object:I})&&L.handle(j)}}]),x=s.traverse.visitors.merge([a.default,{Scopable(D,{refName:L}){let I=D.scope.getOwnBinding(L);I&&I.identifier.name===L&&D.scope.rename(L)}}]),C={memoise(D,L){let{scope:I,node:j}=D,{computed:M,property:R}=j;if(!M)return;let z=I.maybeGenerateMemoised(R);z&&this.memoiser.set(R,z,L)},prop(D){let{computed:L,property:I}=D.node;return this.memoiser.has(I)?h(this.memoiser.get(I)):L?h(I):v(I.name)},get(D){return this._get(D,this._getThisRefs())},_get(D,L){let I=w(this.getObjectRef(),this.isStatic,this.file,this.isPrivateMethod);return p(this.file.addHelper("get"),[L.memo?E([L.memo,I]):I,this.prop(D),L.this])},_getThisRefs(){if(!this.isDerivedConstructor)return{this:S()};let D=this.scope.generateDeclaredUidIdentifier("thisSuper");return{memo:l("=",D,S()),this:h(D)}},set(D,L){let I=this._getThisRefs(),j=w(this.getObjectRef(),this.isStatic,this.file,this.isPrivateMethod);return p(this.file.addHelper("set"),[I.memo?E([I.memo,j]):j,this.prop(D),L,I.this,f(D.isInStrictMode())])},destructureSet(D){throw D.buildCodeFrameError("Destructuring to a super field is not supported yet.")},call(D,L){let I=this._getThisRefs();return(0,d.default)(this._get(D,I),h(I.this),L,!1)},optionalCall(D,L){let I=this._getThisRefs();return(0,d.default)(this._get(D,I),h(I.this),L,!0)},delete(D){return D.node.computed?E([p(this.file.addHelper("toPropertyKey"),[h(D.node.property)]),s.template.expression.ast`
|
|
function () { throw new ReferenceError("'delete super[expr]' is invalid"); }()
|
|
`]):s.template.expression.ast`
|
|
function () { throw new ReferenceError("'delete super.prop' is invalid"); }()
|
|
`}},P=Object.assign({},C,{prop(D){let{property:L}=D.node;return this.memoiser.has(L)?h(this.memoiser.get(L)):h(L)},get(D){let{isStatic:L,getSuperRef:I}=this,{computed:j}=D.node,M=this.prop(D),R;var z,Y;return L?R=(z=I())!=null?z:b(y("Function"),y("prototype")):R=b((Y=I())!=null?Y:y("Object"),y("prototype")),b(R,M,j)},set(D,L){let{computed:I}=D.node,j=this.prop(D);return l("=",b(S(),j,I),L)},destructureSet(D){let{computed:L}=D.node,I=this.prop(D);return b(S(),I,L)},call(D,L){return(0,d.default)(this.get(D),S(),L,!1)},optionalCall(D,L){return(0,d.default)(this.get(D),S(),L,!0)}});r.default=class{constructor(D){var L;let I=D.methodPath;this.methodPath=I,this.isDerivedConstructor=I.isClassMethod({kind:"constructor"})&&!!D.superRef,this.isStatic=I.isObjectMethod()||I.node.static||(I.isStaticBlock==null?void 0:I.isStaticBlock()),this.isPrivateMethod=I.isPrivate()&&I.isMethod(),this.file=D.file,this.constantSuper=(L=D.constantSuper)!=null?L:D.isLoose,this.opts=D}getObjectRef(){return h(this.opts.objectRef||this.opts.getObjectRef())}getSuperRef(){return this.opts.superRef?h(this.opts.superRef):this.opts.getSuperRef?h(this.opts.getSuperRef()):void 0}replace(){this.opts.refToPreserve&&this.methodPath.traverse(x,{refName:this.opts.refToPreserve.name});let D=this.constantSuper?P:C;(0,m.default)(this.methodPath,A,Object.assign({file:this.file,scope:this.methodPath.scope,isDerivedConstructor:this.isDerivedConstructor,isStatic:this.isStatic,isPrivateMethod:this.isPrivateMethod,getObjectRef:this.getObjectRef.bind(this),getSuperRef:this.getSuperRef.bind(this),boundGet:D.get},D))}}},"./node_modules/.pnpm/@babel+helper-simple-access@7.22.5/node_modules/@babel/helper-simple-access/lib/index.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(v,S){var w;v.traverse(E,{scope:v.scope,bindingNames:S,seen:new WeakSet,includeUpdateExpression:(w=arguments[2])==null||w})};var a=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/index.js");let{LOGICAL_OPERATORS:m,assignmentExpression:d,binaryExpression:s,cloneNode:l,identifier:f,logicalExpression:p,numericLiteral:h,sequenceExpression:y,unaryExpression:b}=a,E={AssignmentExpression:{exit(v){let{scope:S,seen:w,bindingNames:A}=this;if(v.node.operator==="="||w.has(v.node))return;w.add(v.node);let x=v.get("left");if(!x.isIdentifier())return;let C=x.node.name;if(!A.has(C)||S.getBinding(C)!==v.scope.getBinding(C))return;let P=v.node.operator.slice(0,-1);m.includes(P)?v.replaceWith(p(P,v.node.left,d("=",l(v.node.left),v.node.right))):(v.node.right=s(P,l(v.node.left),v.node.right),v.node.operator="=")}}};E.UpdateExpression={exit(v){if(!this.includeUpdateExpression)return;let{scope:S,bindingNames:w}=this,A=v.get("argument");if(!A.isIdentifier())return;let x=A.node.name;if(w.has(x)&&S.getBinding(x)===v.scope.getBinding(x))if(v.parentPath.isExpressionStatement()&&!v.isCompletionRecord()){let C=v.node.operator=="++"?"+=":"-=";v.replaceWith(d(C,A.node,h(1)))}else if(v.node.prefix)v.replaceWith(d("=",f(x),s(v.node.operator[0],b("+",A.node),h(1))));else{let C=v.scope.generateUidIdentifierBasedOnNode(A.node,"old"),P=C.name;v.scope.push({id:C});let D=s(v.node.operator[0],f(P),h(1));v.replaceWith(y([d("=",f(P),b("+",A.node)),d("=",l(A.node),D),f(P)]))}}}},"./node_modules/.pnpm/@babel+helper-skip-transparent-expression-wrappers@7.22.5/node_modules/@babel/helper-skip-transparent-expression-wrappers/lib/index.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.isTransparentExprWrapper=h,r.skipTransparentExprWrapperNodes=function(y){for(;h(y);)y=y.expression;return y},r.skipTransparentExprWrappers=function(y){for(;h(y.node);)y=y.get("expression");return y};var a=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/index.js");let{isParenthesizedExpression:m,isTSAsExpression:d,isTSNonNullExpression:s,isTSSatisfiesExpression:l,isTSTypeAssertion:f,isTypeCastExpression:p}=a;function h(y){return d(y)||l(y)||f(y)||s(y)||p(y)||m(y)}},"./node_modules/.pnpm/@babel+helper-split-export-declaration@7.22.6/node_modules/@babel/helper-split-export-declaration/lib/index.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(h){if(!h.isExportDeclaration()||h.isExportAllDeclaration())throw new Error("Only default and named export declarations can be split.");if(h.isExportDefaultDeclaration()){let S=h.get("declaration"),w=S.isFunctionDeclaration()||S.isClassDeclaration(),A=S.isFunctionExpression()||S.isClassExpression(),x=S.isScope()?S.scope.parent:S.scope,C=S.node.id,P=!1;C?A&&x.hasBinding(C.name)&&(P=!0,C=x.generateUidIdentifier(C.name)):(P=!0,C=x.generateUidIdentifier("default"),(w||A)&&(S.node.id=m(C)));let D=w?S.node:f("var",[p(m(C),S.node)]),L=d(null,[s(m(C),l("default"))]);return h.insertAfter(L),h.replaceWith(D),P&&x.registerDeclaration(h),h}if(h.get("specifiers").length>0)throw new Error("It doesn't make sense to split exported specifiers.");let y=h.get("declaration"),b=y.getOuterBindingIdentifiers(),E=Object.keys(b).map(S=>s(l(S),l(S))),v=d(null,E);return h.insertAfter(v),h.replaceWith(y.node),h};var a=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/index.js");let{cloneNode:m,exportNamedDeclaration:d,exportSpecifier:s,identifier:l,variableDeclaration:f,variableDeclarator:p}=a},"./node_modules/.pnpm/@babel+helper-string-parser@7.22.5/node_modules/@babel/helper-string-parser/lib/index.js":(o,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.readCodePoint=p,r.readInt=f,r.readStringContents=function(h,y,b,E,v,S){let w=b,A=E,x=v,C="",P=null,D=b,{length:L}=y;for(;;){if(b>=L){S.unterminated(w,A,x),C+=y.slice(D,b);break}let I=y.charCodeAt(b);if(d(h,I,y,b)){C+=y.slice(D,b);break}if(I===92){C+=y.slice(D,b);let j=s(y,b,E,v,h==="template",S);j.ch!==null||P?C+=j.ch:P={pos:b,lineStart:E,curLine:v},{pos:b,lineStart:E,curLine:v}=j,D=b}else I===8232||I===8233?(++v,E=++b):I===10||I===13?h==="template"?(C+=y.slice(D,b)+`
|
|
`,++b,I===13&&y.charCodeAt(b)===10&&++b,++v,D=E=b):S.unterminated(w,A,x):++b}return{pos:b,str:C,firstInvalidLoc:P,lineStart:E,curLine:v,containsInvalid:!!P}};var u=function(h){return h>=48&&h<=57};let a={decBinOct:new Set([46,66,69,79,95,98,101,111]),hex:new Set([46,88,95,120])},m={bin:h=>h===48||h===49,oct:h=>h>=48&&h<=55,dec:h=>h>=48&&h<=57,hex:h=>h>=48&&h<=57||h>=65&&h<=70||h>=97&&h<=102};function d(h,y,b,E){return h==="template"?y===96||y===36&&b.charCodeAt(E+1)===123:y===(h==="double"?34:39)}function s(h,y,b,E,v,S){let w=!v;y++;let A=C=>({pos:y,ch:C,lineStart:b,curLine:E}),x=h.charCodeAt(y++);switch(x){case 110:return A(`
|
|
`);case 114:return A("\r");case 120:{let C;return{code:C,pos:y}=l(h,y,b,E,2,!1,w,S),A(C===null?null:String.fromCharCode(C))}case 117:{let C;return{code:C,pos:y}=p(h,y,b,E,w,S),A(C===null?null:String.fromCodePoint(C))}case 116:return A(" ");case 98:return A("\b");case 118:return A("\v");case 102:return A("\f");case 13:h.charCodeAt(y)===10&&++y;case 10:b=y,++E;case 8232:case 8233:return A("");case 56:case 57:if(v)return A(null);S.strictNumericEscape(y-1,b,E);default:if(x>=48&&x<=55){let C=y-1,P=h.slice(C,y+2).match(/^[0-7]+/)[0],D=parseInt(P,8);D>255&&(P=P.slice(0,-1),D=parseInt(P,8)),y+=P.length-1;let L=h.charCodeAt(y);if(P!=="0"||L===56||L===57){if(v)return A(null);S.strictNumericEscape(C,b,E)}return A(String.fromCharCode(D))}return A(String.fromCharCode(x))}}function l(h,y,b,E,v,S,w,A){let x=y,C;return{n:C,pos:y}=f(h,y,b,E,16,v,S,!1,A,!w),C===null&&(w?A.invalidEscapeSequence(x,b,E):y=x-1),{code:C,pos:y}}function f(h,y,b,E,v,S,w,A,x,C){let P=y,D=v===16?a.hex:a.decBinOct,L=v===16?m.hex:v===10?m.dec:v===8?m.oct:m.bin,I=!1,j=0;for(let M=0,R=S??1/0;M<R;++M){let z=h.charCodeAt(y),Y;if(z!==95||A==="bail"){if(Y=z>=97?z-97+10:z>=65?z-65+10:u(z)?z-48:1/0,Y>=v){if(Y<=9&&C)return{n:null,pos:y};if(Y<=9&&x.invalidDigit(y,b,E,v))Y=0;else{if(!w)break;Y=0,I=!0}}++y,j=j*v+Y}else{let $=h.charCodeAt(y-1),G=h.charCodeAt(y+1);if(A){if(Number.isNaN(G)||!L(G)||D.has($)||D.has(G)){if(C)return{n:null,pos:y};x.unexpectedNumericSeparator(y,b,E)}}else{if(C)return{n:null,pos:y};x.numericSeparatorInEscapeSequence(y,b,E)}++y}}return y===P||S!=null&&y-P!==S||I?{n:null,pos:y}:{n:j,pos:y}}function p(h,y,b,E,v,S){let w;if(h.charCodeAt(y)===123){if(++y,{code:w,pos:y}=l(h,y,b,E,h.indexOf("}",y)-y,!0,v,S),++y,w!==null&&w>1114111){if(!v)return{code:null,pos:y};S.invalidCodePoint(y,b,E)}}else({code:w,pos:y}=l(h,y,b,E,4,!1,v,S));return{code:w,pos:y}}},"./node_modules/.pnpm/@babel+helper-validator-identifier@7.22.15/node_modules/@babel/helper-validator-identifier/lib/identifier.js":(o,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.isIdentifierChar=h,r.isIdentifierName=function(y){let b=!0;for(let E=0;E<y.length;E++){let v=y.charCodeAt(E);if((64512&v)==55296&&E+1<y.length){let S=y.charCodeAt(++E);(64512&S)==56320&&(v=65536+((1023&v)<<10)+(1023&S))}if(b){if(b=!1,!p(v))return!1}else if(!h(v))return!1}return!b},r.isIdentifierStart=p;let u="\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC",a="\u200C\u200D\xB7\u0300-\u036F\u0387\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u0669\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u06F0-\u06F9\u0711\u0730-\u074A\u07A6-\u07B0\u07C0-\u07C9\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0898-\u089F\u08CA-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0966-\u096F\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09E6-\u09EF\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A66-\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AE6-\u0AEF\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C00-\u0C04\u0C3C\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0CE6-\u0CEF\u0CF3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D66-\u0D6F\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0E50-\u0E59\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECE\u0ED0-\u0ED9\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1040-\u1049\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F-\u109D\u135D-\u135F\u1369-\u1371\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u180F-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19D0-\u19DA\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\u1ABF-\u1ACE\u1B00-\u1B04\u1B34-\u1B44\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BB0-\u1BB9\u1BE6-\u1BF3\u1C24-\u1C37\u1C40-\u1C49\u1C50-\u1C59\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DFF\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA620-\uA629\uA66F\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA82C\uA880\uA881\uA8B4-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F1\uA8FF-\uA909\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9D0-\uA9D9\uA9E5\uA9F0-\uA9F9\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA50-\uAA59\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uABF0-\uABF9\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFF10-\uFF19\uFF3F",m=new RegExp("["+u+"]"),d=new RegExp("["+u+a+"]");u=a=null;let s=[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,68,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,71,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,349,41,7,1,79,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,159,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,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,4026,582,8634,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8936,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,757,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,4153,7,221,3,5761,15,7472,3104,541,1507,4938,6,4191],l=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,81,2,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,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,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,406,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,330,3,10,1,2,0,49,6,4,4,14,9,5351,0,7,14,13835,9,87,9,39,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,4706,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,983,6,110,6,6,9,4759,9,787719,239];function f(y,b){let E=65536;for(let v=0,S=b.length;v<S;v+=2){if(E+=b[v],E>y)return!1;if(E+=b[v+1],E>=y)return!0}return!1}function p(y){return y<65?y===36:y<=90||(y<97?y===95:y<=122||(y<=65535?y>=170&&m.test(String.fromCharCode(y)):f(y,s)))}function h(y){return y<48?y===36:y<58||!(y<65)&&(y<=90||(y<97?y===95:y<=122||(y<=65535?y>=170&&d.test(String.fromCharCode(y)):f(y,s)||f(y,l))))}},"./node_modules/.pnpm/@babel+helper-validator-identifier@7.22.15/node_modules/@babel/helper-validator-identifier/lib/index.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"isIdentifierChar",{enumerable:!0,get:function(){return a.isIdentifierChar}}),Object.defineProperty(r,"isIdentifierName",{enumerable:!0,get:function(){return a.isIdentifierName}}),Object.defineProperty(r,"isIdentifierStart",{enumerable:!0,get:function(){return a.isIdentifierStart}}),Object.defineProperty(r,"isKeyword",{enumerable:!0,get:function(){return m.isKeyword}}),Object.defineProperty(r,"isReservedWord",{enumerable:!0,get:function(){return m.isReservedWord}}),Object.defineProperty(r,"isStrictBindOnlyReservedWord",{enumerable:!0,get:function(){return m.isStrictBindOnlyReservedWord}}),Object.defineProperty(r,"isStrictBindReservedWord",{enumerable:!0,get:function(){return m.isStrictBindReservedWord}}),Object.defineProperty(r,"isStrictReservedWord",{enumerable:!0,get:function(){return m.isStrictReservedWord}});var a=u("./node_modules/.pnpm/@babel+helper-validator-identifier@7.22.15/node_modules/@babel/helper-validator-identifier/lib/identifier.js"),m=u("./node_modules/.pnpm/@babel+helper-validator-identifier@7.22.15/node_modules/@babel/helper-validator-identifier/lib/keyword.js")},"./node_modules/.pnpm/@babel+helper-validator-identifier@7.22.15/node_modules/@babel/helper-validator-identifier/lib/keyword.js":(o,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.isKeyword=function(h){return m.has(h)},r.isReservedWord=l,r.isStrictBindOnlyReservedWord=p,r.isStrictBindReservedWord=function(h,y){return f(h,y)||p(h)},r.isStrictReservedWord=f;let u=["implements","interface","let","package","private","protected","public","static","yield"],a=["eval","arguments"],m=new Set(["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"]),d=new Set(u),s=new Set(a);function l(h,y){return y&&h==="await"||h==="enum"}function f(h,y){return l(h,y)||d.has(h)}function p(h){return s.has(h)}},"./node_modules/.pnpm/@babel+helper-validator-option@7.22.15/node_modules/@babel/helper-validator-option/lib/find-suggestion.js":(o,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.findSuggestion=function(a,m){let d=m.map(s=>function(l,f){let p,h,y=[],b=[],E=l.length,v=f.length;if(!E)return v;if(!v)return E;for(h=0;h<=v;h++)y[h]=h;for(p=1;p<=E;p++){for(b=[p],h=1;h<=v;h++)b[h]=l[p-1]===f[h-1]?y[h-1]:u(y[h-1],y[h],b[h-1])+1;y=b}return b[v]}(s,a));return m[d.indexOf(u(...d))]};let{min:u}=Math},"./node_modules/.pnpm/@babel+helper-validator-option@7.22.15/node_modules/@babel/helper-validator-option/lib/index.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"OptionValidator",{enumerable:!0,get:function(){return a.OptionValidator}}),Object.defineProperty(r,"findSuggestion",{enumerable:!0,get:function(){return m.findSuggestion}});var a=u("./node_modules/.pnpm/@babel+helper-validator-option@7.22.15/node_modules/@babel/helper-validator-option/lib/validator.js"),m=u("./node_modules/.pnpm/@babel+helper-validator-option@7.22.15/node_modules/@babel/helper-validator-option/lib/find-suggestion.js")},"./node_modules/.pnpm/@babel+helper-validator-option@7.22.15/node_modules/@babel/helper-validator-option/lib/validator.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.OptionValidator=void 0;var a=u("./node_modules/.pnpm/@babel+helper-validator-option@7.22.15/node_modules/@babel/helper-validator-option/lib/find-suggestion.js");r.OptionValidator=class{constructor(m){this.descriptor=m}validateTopLevelOptions(m,d){let s=Object.keys(d);for(let l of Object.keys(m))if(!s.includes(l))throw new Error(this.formatMessage(`'${l}' is not a valid top-level option.
|
|
- Did you mean '${(0,a.findSuggestion)(l,s)}'?`))}validateBooleanOption(m,d,s){return d===void 0?s:(this.invariant(typeof d=="boolean",`'${m}' option must be a boolean.`),d)}validateStringOption(m,d,s){return d===void 0?s:(this.invariant(typeof d=="string",`'${m}' option must be a string.`),d)}invariant(m,d){if(!m)throw new Error(this.formatMessage(d))}formatMessage(m){return`${this.descriptor}: ${m}`}}},"./node_modules/.pnpm/@babel+helpers@7.22.15/node_modules/@babel/helpers/lib/helpers-generated.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var a=u("./node_modules/.pnpm/@babel+template@7.22.15/node_modules/@babel/template/lib/index.js");function m(s,l){return Object.freeze({minVersion:s,ast:()=>a.default.program.ast(l,{preserveComments:!0})})}var d=Object.freeze({AsyncGenerator:m("7.0.0-beta.0",'import OverloadYield from"OverloadYield";export default function AsyncGenerator(e){var r,t;function resume(r,t){try{var n=e[r](t),o=n.value,u=o instanceof OverloadYield;Promise.resolve(u?o.v:o).then((function(t){if(u){var i="return"===r?"return":"next";if(!o.k||t.done)return resume(i,t);t=e[i](t).value}settle(n.done?"return":"normal",t)}),(function(e){resume("throw",e)}))}catch(e){settle("throw",e)}}function settle(e,n){switch(e){case"return":r.resolve({value:n,done:!0});break;case"throw":r.reject(n);break;default:r.resolve({value:n,done:!1})}(r=r.next)?resume(r.key,r.arg):t=null}this._invoke=function(e,n){return new Promise((function(o,u){var i={key:e,arg:n,resolve:o,reject:u,next:null};t?t=t.next=i:(r=t=i,resume(e,n))}))},"function"!=typeof e.return&&(this.return=void 0)}AsyncGenerator.prototype["function"==typeof Symbol&&Symbol.asyncIterator||"@@asyncIterator"]=function(){return this},AsyncGenerator.prototype.next=function(e){return this._invoke("next",e)},AsyncGenerator.prototype.throw=function(e){return this._invoke("throw",e)},AsyncGenerator.prototype.return=function(e){return this._invoke("return",e)};'),OverloadYield:m("7.18.14","export default function _OverloadYield(t,e){this.v=t,this.k=e}"),applyDecs:m("7.17.8",'function old_createMetadataMethodsForProperty(e,t,a,r){return{getMetadata:function(o){old_assertNotFinished(r,"getMetadata"),old_assertMetadataKey(o);var i=e[o];if(void 0!==i)if(1===t){var n=i.public;if(void 0!==n)return n[a]}else if(2===t){var l=i.private;if(void 0!==l)return l.get(a)}else if(Object.hasOwnProperty.call(i,"constructor"))return i.constructor},setMetadata:function(o,i){old_assertNotFinished(r,"setMetadata"),old_assertMetadataKey(o);var n=e[o];if(void 0===n&&(n=e[o]={}),1===t){var l=n.public;void 0===l&&(l=n.public={}),l[a]=i}else if(2===t){var s=n.priv;void 0===s&&(s=n.private=new Map),s.set(a,i)}else n.constructor=i}}}function old_convertMetadataMapToFinal(e,t){var a=e[Symbol.metadata||Symbol.for("Symbol.metadata")],r=Object.getOwnPropertySymbols(t);if(0!==r.length){for(var o=0;o<r.length;o++){var i=r[o],n=t[i],l=a?a[i]:null,s=n.public,c=l?l.public:null;s&&c&&Object.setPrototypeOf(s,c);var d=n.private;if(d){var u=Array.from(d.values()),f=l?l.private:null;f&&(u=u.concat(f)),n.private=u}l&&Object.setPrototypeOf(n,l)}a&&Object.setPrototypeOf(t,a),e[Symbol.metadata||Symbol.for("Symbol.metadata")]=t}}function old_createAddInitializerMethod(e,t){return function(a){old_assertNotFinished(t,"addInitializer"),old_assertCallable(a,"An initializer"),e.push(a)}}function old_memberDec(e,t,a,r,o,i,n,l,s){var c;switch(i){case 1:c="accessor";break;case 2:c="method";break;case 3:c="getter";break;case 4:c="setter";break;default:c="field"}var d,u,f={kind:c,name:l?"#"+t:t,isStatic:n,isPrivate:l},p={v:!1};if(0!==i&&(f.addInitializer=old_createAddInitializerMethod(o,p)),l){d=2,u=Symbol(t);var v={};0===i?(v.get=a.get,v.set=a.set):2===i?v.get=function(){return a.value}:(1!==i&&3!==i||(v.get=function(){return a.get.call(this)}),1!==i&&4!==i||(v.set=function(e){a.set.call(this,e)})),f.access=v}else d=1,u=t;try{return e(s,Object.assign(f,old_createMetadataMethodsForProperty(r,d,u,p)))}finally{p.v=!0}}function old_assertNotFinished(e,t){if(e.v)throw new Error("attempted to call "+t+" after decoration was finished")}function old_assertMetadataKey(e){if("symbol"!=typeof e)throw new TypeError("Metadata keys must be symbols, received: "+e)}function old_assertCallable(e,t){if("function"!=typeof e)throw new TypeError(t+" must be a function")}function old_assertValidReturnValue(e,t){var a=typeof t;if(1===e){if("object"!==a||null===t)throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0");void 0!==t.get&&old_assertCallable(t.get,"accessor.get"),void 0!==t.set&&old_assertCallable(t.set,"accessor.set"),void 0!==t.init&&old_assertCallable(t.init,"accessor.init"),void 0!==t.initializer&&old_assertCallable(t.initializer,"accessor.initializer")}else if("function"!==a){var r;throw r=0===e?"field":10===e?"class":"method",new TypeError(r+" decorators must return a function or void 0")}}function old_getInit(e){var t;return null==(t=e.init)&&(t=e.initializer)&&"undefined"!=typeof console&&console.warn(".initializer has been renamed to .init as of March 2022"),t}function old_applyMemberDec(e,t,a,r,o,i,n,l,s){var c,d,u,f,p,v,h=a[0];if(n?c=0===o||1===o?{get:a[3],set:a[4]}:3===o?{get:a[3]}:4===o?{set:a[3]}:{value:a[3]}:0!==o&&(c=Object.getOwnPropertyDescriptor(t,r)),1===o?u={get:c.get,set:c.set}:2===o?u=c.value:3===o?u=c.get:4===o&&(u=c.set),"function"==typeof h)void 0!==(f=old_memberDec(h,r,c,l,s,o,i,n,u))&&(old_assertValidReturnValue(o,f),0===o?d=f:1===o?(d=old_getInit(f),p=f.get||u.get,v=f.set||u.set,u={get:p,set:v}):u=f);else for(var y=h.length-1;y>=0;y--){var b;if(void 0!==(f=old_memberDec(h[y],r,c,l,s,o,i,n,u)))old_assertValidReturnValue(o,f),0===o?b=f:1===o?(b=old_getInit(f),p=f.get||u.get,v=f.set||u.set,u={get:p,set:v}):u=f,void 0!==b&&(void 0===d?d=b:"function"==typeof d?d=[d,b]:d.push(b))}if(0===o||1===o){if(void 0===d)d=function(e,t){return t};else if("function"!=typeof d){var g=d;d=function(e,t){for(var a=t,r=0;r<g.length;r++)a=g[r].call(e,a);return a}}else{var m=d;d=function(e,t){return m.call(e,t)}}e.push(d)}0!==o&&(1===o?(c.get=u.get,c.set=u.set):2===o?c.value=u:3===o?c.get=u:4===o&&(c.set=u),n?1===o?(e.push((function(e,t){return u.get.call(e,t)})),e.push((function(e,t){return u.set.call(e,t)}))):2===o?e.push(u):e.push((function(e,t){return u.call(e,t)})):Object.defineProperty(t,r,c))}function old_applyMemberDecs(e,t,a,r,o){for(var i,n,l=new Map,s=new Map,c=0;c<o.length;c++){var d=o[c];if(Array.isArray(d)){var u,f,p,v=d[1],h=d[2],y=d.length>3,b=v>=5;if(b?(u=t,f=r,0!==(v-=5)&&(p=n=n||[])):(u=t.prototype,f=a,0!==v&&(p=i=i||[])),0!==v&&!y){var g=b?s:l,m=g.get(h)||0;if(!0===m||3===m&&4!==v||4===m&&3!==v)throw new Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: "+h);!m&&v>2?g.set(h,v):g.set(h,!0)}old_applyMemberDec(e,u,d,h,v,b,y,f,p)}}old_pushInitializers(e,i),old_pushInitializers(e,n)}function old_pushInitializers(e,t){t&&e.push((function(e){for(var a=0;a<t.length;a++)t[a].call(e);return e}))}function old_applyClassDecs(e,t,a,r){if(r.length>0){for(var o=[],i=t,n=t.name,l=r.length-1;l>=0;l--){var s={v:!1};try{var c=Object.assign({kind:"class",name:n,addInitializer:old_createAddInitializerMethod(o,s)},old_createMetadataMethodsForProperty(a,0,n,s)),d=r[l](i,c)}finally{s.v=!0}void 0!==d&&(old_assertValidReturnValue(10,d),i=d)}e.push(i,(function(){for(var e=0;e<o.length;e++)o[e].call(i)}))}}export default function applyDecs(e,t,a){var r=[],o={},i={};return old_applyMemberDecs(r,e,i,o,t),old_convertMetadataMapToFinal(e.prototype,i),old_applyClassDecs(r,e,o,a),old_convertMetadataMapToFinal(e,o),r}'),applyDecs2203:m("7.19.0",'function applyDecs2203Factory(){function createAddInitializerMethod(e,t){return function(r){!function(e,t){if(e.v)throw new Error("attempted to call "+t+" after decoration was finished")}(t,"addInitializer"),assertCallable(r,"An initializer"),e.push(r)}}function memberDec(e,t,r,a,n,i,s,o){var c;switch(n){case 1:c="accessor";break;case 2:c="method";break;case 3:c="getter";break;case 4:c="setter";break;default:c="field"}var l,u,f={kind:c,name:s?"#"+t:t,static:i,private:s},p={v:!1};0!==n&&(f.addInitializer=createAddInitializerMethod(a,p)),0===n?s?(l=r.get,u=r.set):(l=function(){return this[t]},u=function(e){this[t]=e}):2===n?l=function(){return r.value}:(1!==n&&3!==n||(l=function(){return r.get.call(this)}),1!==n&&4!==n||(u=function(e){r.set.call(this,e)})),f.access=l&&u?{get:l,set:u}:l?{get:l}:{set:u};try{return e(o,f)}finally{p.v=!0}}function assertCallable(e,t){if("function"!=typeof e)throw new TypeError(t+" must be a function")}function assertValidReturnValue(e,t){var r=typeof t;if(1===e){if("object"!==r||null===t)throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0");void 0!==t.get&&assertCallable(t.get,"accessor.get"),void 0!==t.set&&assertCallable(t.set,"accessor.set"),void 0!==t.init&&assertCallable(t.init,"accessor.init")}else if("function"!==r){var a;throw a=0===e?"field":10===e?"class":"method",new TypeError(a+" decorators must return a function or void 0")}}function applyMemberDec(e,t,r,a,n,i,s,o){var c,l,u,f,p,d,h=r[0];if(s?c=0===n||1===n?{get:r[3],set:r[4]}:3===n?{get:r[3]}:4===n?{set:r[3]}:{value:r[3]}:0!==n&&(c=Object.getOwnPropertyDescriptor(t,a)),1===n?u={get:c.get,set:c.set}:2===n?u=c.value:3===n?u=c.get:4===n&&(u=c.set),"function"==typeof h)void 0!==(f=memberDec(h,a,c,o,n,i,s,u))&&(assertValidReturnValue(n,f),0===n?l=f:1===n?(l=f.init,p=f.get||u.get,d=f.set||u.set,u={get:p,set:d}):u=f);else for(var v=h.length-1;v>=0;v--){var g;if(void 0!==(f=memberDec(h[v],a,c,o,n,i,s,u)))assertValidReturnValue(n,f),0===n?g=f:1===n?(g=f.init,p=f.get||u.get,d=f.set||u.set,u={get:p,set:d}):u=f,void 0!==g&&(void 0===l?l=g:"function"==typeof l?l=[l,g]:l.push(g))}if(0===n||1===n){if(void 0===l)l=function(e,t){return t};else if("function"!=typeof l){var y=l;l=function(e,t){for(var r=t,a=0;a<y.length;a++)r=y[a].call(e,r);return r}}else{var m=l;l=function(e,t){return m.call(e,t)}}e.push(l)}0!==n&&(1===n?(c.get=u.get,c.set=u.set):2===n?c.value=u:3===n?c.get=u:4===n&&(c.set=u),s?1===n?(e.push((function(e,t){return u.get.call(e,t)})),e.push((function(e,t){return u.set.call(e,t)}))):2===n?e.push(u):e.push((function(e,t){return u.call(e,t)})):Object.defineProperty(t,a,c))}function pushInitializers(e,t){t&&e.push((function(e){for(var r=0;r<t.length;r++)t[r].call(e);return e}))}return function(e,t,r){var a=[];return function(e,t,r){for(var a,n,i=new Map,s=new Map,o=0;o<r.length;o++){var c=r[o];if(Array.isArray(c)){var l,u,f=c[1],p=c[2],d=c.length>3,h=f>=5;if(h?(l=t,0!=(f-=5)&&(u=n=n||[])):(l=t.prototype,0!==f&&(u=a=a||[])),0!==f&&!d){var v=h?s:i,g=v.get(p)||0;if(!0===g||3===g&&4!==f||4===g&&3!==f)throw new Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: "+p);!g&&f>2?v.set(p,f):v.set(p,!0)}applyMemberDec(e,l,c,p,f,h,d,u)}}pushInitializers(e,a),pushInitializers(e,n)}(a,e,t),function(e,t,r){if(r.length>0){for(var a=[],n=t,i=t.name,s=r.length-1;s>=0;s--){var o={v:!1};try{var c=r[s](n,{kind:"class",name:i,addInitializer:createAddInitializerMethod(a,o)})}finally{o.v=!0}void 0!==c&&(assertValidReturnValue(10,c),n=c)}e.push(n,(function(){for(var e=0;e<a.length;e++)a[e].call(n)}))}}(a,e,r),a}}var applyDecs2203Impl;export default function applyDecs2203(e,t,r){return(applyDecs2203Impl=applyDecs2203Impl||applyDecs2203Factory())(e,t,r)}'),applyDecs2203R:m("7.20.0",'function applyDecs2203RFactory(){function createAddInitializerMethod(e,t){return function(r){!function(e,t){if(e.v)throw new Error("attempted to call "+t+" after decoration was finished")}(t,"addInitializer"),assertCallable(r,"An initializer"),e.push(r)}}function memberDec(e,t,r,n,a,i,s,o){var c;switch(a){case 1:c="accessor";break;case 2:c="method";break;case 3:c="getter";break;case 4:c="setter";break;default:c="field"}var l,u,f={kind:c,name:s?"#"+t:t,static:i,private:s},p={v:!1};0!==a&&(f.addInitializer=createAddInitializerMethod(n,p)),0===a?s?(l=r.get,u=r.set):(l=function(){return this[t]},u=function(e){this[t]=e}):2===a?l=function(){return r.value}:(1!==a&&3!==a||(l=function(){return r.get.call(this)}),1!==a&&4!==a||(u=function(e){r.set.call(this,e)})),f.access=l&&u?{get:l,set:u}:l?{get:l}:{set:u};try{return e(o,f)}finally{p.v=!0}}function assertCallable(e,t){if("function"!=typeof e)throw new TypeError(t+" must be a function")}function assertValidReturnValue(e,t){var r=typeof t;if(1===e){if("object"!==r||null===t)throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0");void 0!==t.get&&assertCallable(t.get,"accessor.get"),void 0!==t.set&&assertCallable(t.set,"accessor.set"),void 0!==t.init&&assertCallable(t.init,"accessor.init")}else if("function"!==r){var n;throw n=0===e?"field":10===e?"class":"method",new TypeError(n+" decorators must return a function or void 0")}}function applyMemberDec(e,t,r,n,a,i,s,o){var c,l,u,f,p,d,h=r[0];if(s?c=0===a||1===a?{get:r[3],set:r[4]}:3===a?{get:r[3]}:4===a?{set:r[3]}:{value:r[3]}:0!==a&&(c=Object.getOwnPropertyDescriptor(t,n)),1===a?u={get:c.get,set:c.set}:2===a?u=c.value:3===a?u=c.get:4===a&&(u=c.set),"function"==typeof h)void 0!==(f=memberDec(h,n,c,o,a,i,s,u))&&(assertValidReturnValue(a,f),0===a?l=f:1===a?(l=f.init,p=f.get||u.get,d=f.set||u.set,u={get:p,set:d}):u=f);else for(var v=h.length-1;v>=0;v--){var g;if(void 0!==(f=memberDec(h[v],n,c,o,a,i,s,u)))assertValidReturnValue(a,f),0===a?g=f:1===a?(g=f.init,p=f.get||u.get,d=f.set||u.set,u={get:p,set:d}):u=f,void 0!==g&&(void 0===l?l=g:"function"==typeof l?l=[l,g]:l.push(g))}if(0===a||1===a){if(void 0===l)l=function(e,t){return t};else if("function"!=typeof l){var y=l;l=function(e,t){for(var r=t,n=0;n<y.length;n++)r=y[n].call(e,r);return r}}else{var m=l;l=function(e,t){return m.call(e,t)}}e.push(l)}0!==a&&(1===a?(c.get=u.get,c.set=u.set):2===a?c.value=u:3===a?c.get=u:4===a&&(c.set=u),s?1===a?(e.push((function(e,t){return u.get.call(e,t)})),e.push((function(e,t){return u.set.call(e,t)}))):2===a?e.push(u):e.push((function(e,t){return u.call(e,t)})):Object.defineProperty(t,n,c))}function applyMemberDecs(e,t){for(var r,n,a=[],i=new Map,s=new Map,o=0;o<t.length;o++){var c=t[o];if(Array.isArray(c)){var l,u,f=c[1],p=c[2],d=c.length>3,h=f>=5;if(h?(l=e,0!==(f-=5)&&(u=n=n||[])):(l=e.prototype,0!==f&&(u=r=r||[])),0!==f&&!d){var v=h?s:i,g=v.get(p)||0;if(!0===g||3===g&&4!==f||4===g&&3!==f)throw new Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: "+p);!g&&f>2?v.set(p,f):v.set(p,!0)}applyMemberDec(a,l,c,p,f,h,d,u)}}return pushInitializers(a,r),pushInitializers(a,n),a}function pushInitializers(e,t){t&&e.push((function(e){for(var r=0;r<t.length;r++)t[r].call(e);return e}))}return function(e,t,r){return{e:applyMemberDecs(e,t),get c(){return function(e,t){if(t.length>0){for(var r=[],n=e,a=e.name,i=t.length-1;i>=0;i--){var s={v:!1};try{var o=t[i](n,{kind:"class",name:a,addInitializer:createAddInitializerMethod(r,s)})}finally{s.v=!0}void 0!==o&&(assertValidReturnValue(10,o),n=o)}return[n,function(){for(var e=0;e<r.length;e++)r[e].call(n)}]}}(e,r)}}}}export default function applyDecs2203R(e,t,r){return(applyDecs2203R=applyDecs2203RFactory())(e,t,r)}'),applyDecs2301:m("7.21.0",'import checkInRHS from"checkInRHS";function applyDecs2301Factory(){function createAddInitializerMethod(e,t){return function(r){!function(e,t){if(e.v)throw new Error("attempted to call "+t+" after decoration was finished")}(t,"addInitializer"),assertCallable(r,"An initializer"),e.push(r)}}function assertInstanceIfPrivate(e,t){if(!e(t))throw new TypeError("Attempted to access private element on non-instance")}function memberDec(e,t,r,n,a,i,s,o,c){var u;switch(a){case 1:u="accessor";break;case 2:u="method";break;case 3:u="getter";break;case 4:u="setter";break;default:u="field"}var l,f,p={kind:u,name:s?"#"+t:t,static:i,private:s},d={v:!1};if(0!==a&&(p.addInitializer=createAddInitializerMethod(n,d)),s||0!==a&&2!==a)if(2===a)l=function(e){return assertInstanceIfPrivate(c,e),r.value};else{var h=0===a||1===a;(h||3===a)&&(l=s?function(e){return assertInstanceIfPrivate(c,e),r.get.call(e)}:function(e){return r.get.call(e)}),(h||4===a)&&(f=s?function(e,t){assertInstanceIfPrivate(c,e),r.set.call(e,t)}:function(e,t){r.set.call(e,t)})}else l=function(e){return e[t]},0===a&&(f=function(e,r){e[t]=r});var v=s?c.bind():function(e){return t in e};p.access=l&&f?{get:l,set:f,has:v}:l?{get:l,has:v}:{set:f,has:v};try{return e(o,p)}finally{d.v=!0}}function assertCallable(e,t){if("function"!=typeof e)throw new TypeError(t+" must be a function")}function assertValidReturnValue(e,t){var r=typeof t;if(1===e){if("object"!==r||null===t)throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0");void 0!==t.get&&assertCallable(t.get,"accessor.get"),void 0!==t.set&&assertCallable(t.set,"accessor.set"),void 0!==t.init&&assertCallable(t.init,"accessor.init")}else if("function"!==r){var n;throw n=0===e?"field":10===e?"class":"method",new TypeError(n+" decorators must return a function or void 0")}}function curryThis2(e){return function(t){e(this,t)}}function applyMemberDec(e,t,r,n,a,i,s,o,c){var u,l,f,p,d,h,v,g=r[0];if(s?u=0===a||1===a?{get:(p=r[3],function(){return p(this)}),set:curryThis2(r[4])}:3===a?{get:r[3]}:4===a?{set:r[3]}:{value:r[3]}:0!==a&&(u=Object.getOwnPropertyDescriptor(t,n)),1===a?f={get:u.get,set:u.set}:2===a?f=u.value:3===a?f=u.get:4===a&&(f=u.set),"function"==typeof g)void 0!==(d=memberDec(g,n,u,o,a,i,s,f,c))&&(assertValidReturnValue(a,d),0===a?l=d:1===a?(l=d.init,h=d.get||f.get,v=d.set||f.set,f={get:h,set:v}):f=d);else for(var y=g.length-1;y>=0;y--){var m;if(void 0!==(d=memberDec(g[y],n,u,o,a,i,s,f,c)))assertValidReturnValue(a,d),0===a?m=d:1===a?(m=d.init,h=d.get||f.get,v=d.set||f.set,f={get:h,set:v}):f=d,void 0!==m&&(void 0===l?l=m:"function"==typeof l?l=[l,m]:l.push(m))}if(0===a||1===a){if(void 0===l)l=function(e,t){return t};else if("function"!=typeof l){var b=l;l=function(e,t){for(var r=t,n=0;n<b.length;n++)r=b[n].call(e,r);return r}}else{var I=l;l=function(e,t){return I.call(e,t)}}e.push(l)}0!==a&&(1===a?(u.get=f.get,u.set=f.set):2===a?u.value=f:3===a?u.get=f:4===a&&(u.set=f),s?1===a?(e.push((function(e,t){return f.get.call(e,t)})),e.push((function(e,t){return f.set.call(e,t)}))):2===a?e.push(f):e.push((function(e,t){return f.call(e,t)})):Object.defineProperty(t,n,u))}function applyMemberDecs(e,t,r){for(var n,a,i,s=[],o=new Map,c=new Map,u=0;u<t.length;u++){var l=t[u];if(Array.isArray(l)){var f,p,d=l[1],h=l[2],v=l.length>3,g=d>=5,y=r;if(g?(f=e,0!==(d-=5)&&(p=a=a||[]),v&&!i&&(i=function(t){return checkInRHS(t)===e}),y=i):(f=e.prototype,0!==d&&(p=n=n||[])),0!==d&&!v){var m=g?c:o,b=m.get(h)||0;if(!0===b||3===b&&4!==d||4===b&&3!==d)throw new Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: "+h);!b&&d>2?m.set(h,d):m.set(h,!0)}applyMemberDec(s,f,l,h,d,g,v,p,y)}}return pushInitializers(s,n),pushInitializers(s,a),s}function pushInitializers(e,t){t&&e.push((function(e){for(var r=0;r<t.length;r++)t[r].call(e);return e}))}return function(e,t,r,n){return{e:applyMemberDecs(e,t,n),get c(){return function(e,t){if(t.length>0){for(var r=[],n=e,a=e.name,i=t.length-1;i>=0;i--){var s={v:!1};try{var o=t[i](n,{kind:"class",name:a,addInitializer:createAddInitializerMethod(r,s)})}finally{s.v=!0}void 0!==o&&(assertValidReturnValue(10,o),n=o)}return[n,function(){for(var e=0;e<r.length;e++)r[e].call(n)}]}}(e,r)}}}}export default function applyDecs2301(e,t,r,n){return(applyDecs2301=applyDecs2301Factory())(e,t,r,n)}'),applyDecs2305:m("7.21.0",'import checkInRHS from"checkInRHS";function createAddInitializerMethod(e,t){return function(r){assertNotFinished(t,"addInitializer"),assertCallable(r,"An initializer"),e.push(r)}}function assertInstanceIfPrivate(e,t){if(!e(t))throw new TypeError("Attempted to access private element on non-instance")}function memberDec(e,t,r,n,a,i,s,o,c,l){var u;switch(i){case 1:u="accessor";break;case 2:u="method";break;case 3:u="getter";break;case 4:u="setter";break;default:u="field"}var f,d,p={kind:u,name:o?"#"+r:r,static:s,private:o},h={v:!1};if(0!==i&&(p.addInitializer=createAddInitializerMethod(a,h)),o||0!==i&&2!==i)if(2===i)f=function(e){return assertInstanceIfPrivate(l,e),n.value};else{var v=0===i||1===i;(v||3===i)&&(f=o?function(e){return assertInstanceIfPrivate(l,e),n.get.call(e)}:function(e){return n.get.call(e)}),(v||4===i)&&(d=o?function(e,t){assertInstanceIfPrivate(l,e),n.set.call(e,t)}:function(e,t){n.set.call(e,t)})}else f=function(e){return e[r]},0===i&&(d=function(e,t){e[r]=t});var y=o?l.bind():function(e){return r in e};p.access=f&&d?{get:f,set:d,has:y}:f?{get:f,has:y}:{set:d,has:y};try{return e.call(t,c,p)}finally{h.v=!0}}function assertNotFinished(e,t){if(e.v)throw new Error("attempted to call "+t+" after decoration was finished")}function assertCallable(e,t){if("function"!=typeof e)throw new TypeError(t+" must be a function")}function assertValidReturnValue(e,t){var r=typeof t;if(1===e){if("object"!==r||null===t)throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0");void 0!==t.get&&assertCallable(t.get,"accessor.get"),void 0!==t.set&&assertCallable(t.set,"accessor.set"),void 0!==t.init&&assertCallable(t.init,"accessor.init")}else if("function"!==r){var n;throw n=0===e?"field":5===e?"class":"method",new TypeError(n+" decorators must return a function or void 0")}}function curryThis1(e){return function(){return e(this)}}function curryThis2(e){return function(t){e(this,t)}}function applyMemberDec(e,t,r,n,a,i,s,o,c,l){var u,f,d,p,h,v,y=r[0];n||Array.isArray(y)||(y=[y]),o?u=0===i||1===i?{get:curryThis1(r[3]),set:curryThis2(r[4])}:3===i?{get:r[3]}:4===i?{set:r[3]}:{value:r[3]}:0!==i&&(u=Object.getOwnPropertyDescriptor(t,a)),1===i?d={get:u.get,set:u.set}:2===i?d=u.value:3===i?d=u.get:4===i&&(d=u.set);for(var g=n?2:1,m=y.length-1;m>=0;m-=g){var b;if(void 0!==(p=memberDec(y[m],n?y[m-1]:void 0,a,u,c,i,s,o,d,l)))assertValidReturnValue(i,p),0===i?b=p:1===i?(b=p.init,h=p.get||d.get,v=p.set||d.set,d={get:h,set:v}):d=p,void 0!==b&&(void 0===f?f=b:"function"==typeof f?f=[f,b]:f.push(b))}if(0===i||1===i){if(void 0===f)f=function(e,t){return t};else if("function"!=typeof f){var I=f;f=function(e,t){for(var r=t,n=I.length-1;n>=0;n--)r=I[n].call(e,r);return r}}else{var w=f;f=function(e,t){return w.call(e,t)}}e.push(f)}0!==i&&(1===i?(u.get=d.get,u.set=d.set):2===i?u.value=d:3===i?u.get=d:4===i&&(u.set=d),o?1===i?(e.push((function(e,t){return d.get.call(e,t)})),e.push((function(e,t){return d.set.call(e,t)}))):2===i?e.push(d):e.push((function(e,t){return d.call(e,t)})):Object.defineProperty(t,a,u))}function applyMemberDecs(e,t,r){for(var n,a,i,s=[],o=new Map,c=new Map,l=0;l<t.length;l++){var u=t[l];if(Array.isArray(u)){var f,d,p=u[1],h=u[2],v=u.length>3,y=16&p,g=!!(8&p),m=r;if(p&=7,g?(f=e,0!==p&&(d=a=a||[]),v&&!i&&(i=function(t){return checkInRHS(t)===e}),m=i):(f=e.prototype,0!==p&&(d=n=n||[])),0!==p&&!v){var b=g?c:o,I=b.get(h)||0;if(!0===I||3===I&&4!==p||4===I&&3!==p)throw new Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: "+h);b.set(h,!(!I&&p>2)||p)}applyMemberDec(s,f,u,y,h,p,g,v,d,m)}}return pushInitializers(s,n),pushInitializers(s,a),s}function pushInitializers(e,t){t&&e.push((function(e){for(var r=0;r<t.length;r++)t[r].call(e);return e}))}function applyClassDecs(e,t,r){if(t.length){for(var n=[],a=e,i=e.name,s=r?2:1,o=t.length-1;o>=0;o-=s){var c={v:!1};try{var l=t[o].call(r?t[o-1]:void 0,a,{kind:"class",name:i,addInitializer:createAddInitializerMethod(n,c)})}finally{c.v=!0}void 0!==l&&(assertValidReturnValue(5,l),a=l)}return[a,function(){for(var e=0;e<n.length;e++)n[e].call(a)}]}}export default function applyDecs2305(e,t,r,n,a){return{e:applyMemberDecs(e,t,a),get c(){return applyClassDecs(e,r,n)}}}'),asyncGeneratorDelegate:m("7.0.0-beta.0",'import OverloadYield from"OverloadYield";export default function _asyncGeneratorDelegate(t){var e={},n=!1;function pump(e,r){return n=!0,r=new Promise((function(n){n(t[e](r))})),{done:!1,value:new OverloadYield(r,1)}}return e["undefined"!=typeof Symbol&&Symbol.iterator||"@@iterator"]=function(){return this},e.next=function(t){return n?(n=!1,t):pump("next",t)},"function"==typeof t.throw&&(e.throw=function(t){if(n)throw n=!1,t;return pump("throw",t)}),"function"==typeof t.return&&(e.return=function(t){return n?(n=!1,t):pump("return",t)}),e}'),asyncIterator:m("7.15.9",'export default function _asyncIterator(r){var n,t,o,e=2;for("undefined"!=typeof Symbol&&(t=Symbol.asyncIterator,o=Symbol.iterator);e--;){if(t&&null!=(n=r[t]))return n.call(r);if(o&&null!=(n=r[o]))return new AsyncFromSyncIterator(n.call(r));t="@@asyncIterator",o="@@iterator"}throw new TypeError("Object is not async iterable")}function AsyncFromSyncIterator(r){function AsyncFromSyncIteratorContinuation(r){if(Object(r)!==r)return Promise.reject(new TypeError(r+" is not an object."));var n=r.done;return Promise.resolve(r.value).then((function(r){return{value:r,done:n}}))}return AsyncFromSyncIterator=function(r){this.s=r,this.n=r.next},AsyncFromSyncIterator.prototype={s:null,n:null,next:function(){return AsyncFromSyncIteratorContinuation(this.n.apply(this.s,arguments))},return:function(r){var n=this.s.return;return void 0===n?Promise.resolve({value:r,done:!0}):AsyncFromSyncIteratorContinuation(n.apply(this.s,arguments))},throw:function(r){var n=this.s.return;return void 0===n?Promise.reject(r):AsyncFromSyncIteratorContinuation(n.apply(this.s,arguments))}},new AsyncFromSyncIterator(r)}'),awaitAsyncGenerator:m("7.0.0-beta.0",'import OverloadYield from"OverloadYield";export default function _awaitAsyncGenerator(e){return new OverloadYield(e,0)}'),checkInRHS:m("7.20.5",`export default function _checkInRHS(e){if(Object(e)!==e)throw TypeError("right-hand side of 'in' should be an object, got "+(null!==e?typeof e:"null"));return e}`),defineAccessor:m("7.20.7","export default function _defineAccessor(e,r,n,t){var c={configurable:!0,enumerable:!0};return c[e]=t,Object.defineProperty(r,n,c)}"),dispose:m("7.22.0",'function dispose_SuppressedError(r,e){return"undefined"!=typeof SuppressedError?dispose_SuppressedError=SuppressedError:(dispose_SuppressedError=function(r,e){this.suppressed=r,this.error=e,this.stack=(new Error).stack},dispose_SuppressedError.prototype=Object.create(Error.prototype,{constructor:{value:dispose_SuppressedError,writable:!0,configurable:!0}})),new dispose_SuppressedError(r,e)}export default function _dispose(r,e,s){function next(){for(;r.length>0;)try{var o=r.pop(),p=o.d.call(o.v);if(o.a)return Promise.resolve(p).then(next,err)}catch(r){return err(r)}if(s)throw e}function err(r){return e=s?new dispose_SuppressedError(r,e):r,s=!0,next()}return next()}'),iterableToArrayLimit:m("7.0.0-beta.0",'export default function _iterableToArrayLimit(r,l){var t=null==r?null:"undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(null!=t){var e,n,i,u,a=[],f=!0,o=!1;try{if(i=(t=t.call(r)).next,0===l){if(Object(t)!==t)return;f=!1}else for(;!(f=(e=i.call(t)).done)&&(a.push(e.value),a.length!==l);f=!0);}catch(r){o=!0,n=r}finally{try{if(!f&&null!=t.return&&(u=t.return(),Object(u)!==u))return}finally{if(o)throw n}}return a}}'),iterableToArrayLimitLoose:m("7.0.0-beta.0",'export default function _iterableToArrayLimitLoose(e,r){var t=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=t){var o,l=[];for(t=t.call(e);e.length<r&&!(o=t.next()).done;)l.push(o.value);return l}}'),jsx:m("7.0.0-beta.0",'var REACT_ELEMENT_TYPE;export default function _createRawReactElement(e,r,E,l){REACT_ELEMENT_TYPE||(REACT_ELEMENT_TYPE="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,n=arguments.length-3;if(r||0===n||(r={children:void 0}),1===n)r.children=l;else if(n>1){for(var t=new Array(n),f=0;f<n;f++)t[f]=arguments[f+3];r.children=t}if(r&&o)for(var i in o)void 0===r[i]&&(r[i]=o[i]);else r||(r=o||{});return{$$typeof:REACT_ELEMENT_TYPE,type:e,key:void 0===E?null:""+E,ref:null,props:r,_owner:null}}'),objectSpread2:m("7.5.0",'import defineProperty from"defineProperty";function ownKeys(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,o)}return t}export default function _objectSpread2(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?ownKeys(Object(t),!0).forEach((function(r){defineProperty(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}'),regeneratorRuntime:m("7.18.0",`export default function _regeneratorRuntime(){"use strict";
|
|
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */_regeneratorRuntime=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function define(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{define({},"")}catch(t){define=function(t,e,r){return t[e]=r}}function wrap(t,e,r,n){var i=e&&e.prototype instanceof Generator?e:Generator,a=Object.create(i.prototype),c=new Context(n||[]);return o(a,"_invoke",{value:makeInvokeMethod(t,r,c)}),a}function tryCatch(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=wrap;var h="suspendedStart",l="suspendedYield",f="executing",s="completed",y={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}var p={};define(p,a,(function(){return this}));var d=Object.getPrototypeOf,v=d&&d(d(values([])));v&&v!==r&&n.call(v,a)&&(p=v);var g=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(p);function defineIteratorMethods(t){["next","throw","return"].forEach((function(e){define(t,e,(function(t){return this._invoke(e,t)}))}))}function AsyncIterator(t,e){function invoke(r,o,i,a){var c=tryCatch(t[r],t,o);if("throw"!==c.type){var u=c.arg,h=u.value;return h&&"object"==typeof h&&n.call(h,"__await")?e.resolve(h.__await).then((function(t){invoke("next",t,i,a)}),(function(t){invoke("throw",t,i,a)})):e.resolve(h).then((function(t){u.value=t,i(u)}),(function(t){return invoke("throw",t,i,a)}))}a(c.arg)}var r;o(this,"_invoke",{value:function(t,n){function callInvokeWithMethodAndArg(){return new e((function(e,r){invoke(t,n,e,r)}))}return r=r?r.then(callInvokeWithMethodAndArg,callInvokeWithMethodAndArg):callInvokeWithMethodAndArg()}})}function makeInvokeMethod(e,r,n){var o=h;return function(i,a){if(o===f)throw new Error("Generator is already running");if(o===s){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=maybeInvokeDelegate(c,n);if(u){if(u===y)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=s,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=f;var p=tryCatch(e,r,n);if("normal"===p.type){if(o=n.done?s:l,p.arg===y)continue;return{value:p.arg,done:n.done}}"throw"===p.type&&(o=s,n.method="throw",n.arg=p.arg)}}}function maybeInvokeDelegate(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,maybeInvokeDelegate(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var i=tryCatch(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,y;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function pushTryEntry(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function resetTryEntry(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function Context(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(pushTryEntry,this),this.reset(!0)}function values(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function next(){for(;++o<e.length;)if(n.call(e,o))return next.value=e[o],next.done=!1,next;return next.value=t,next.done=!0,next};return i.next=i}}throw new TypeError(typeof e+" is not iterable")}return GeneratorFunction.prototype=GeneratorFunctionPrototype,o(g,"constructor",{value:GeneratorFunctionPrototype,configurable:!0}),o(GeneratorFunctionPrototype,"constructor",{value:GeneratorFunction,configurable:!0}),GeneratorFunction.displayName=define(GeneratorFunctionPrototype,u,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===GeneratorFunction||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,GeneratorFunctionPrototype):(t.__proto__=GeneratorFunctionPrototype,define(t,u,"GeneratorFunction")),t.prototype=Object.create(g),t},e.awrap=function(t){return{__await:t}},defineIteratorMethods(AsyncIterator.prototype),define(AsyncIterator.prototype,c,(function(){return this})),e.AsyncIterator=AsyncIterator,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new AsyncIterator(wrap(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},defineIteratorMethods(g),define(g,u,"Generator"),define(g,a,(function(){return this})),define(g,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function next(){for(;r.length;){var t=r.pop();if(t in e)return next.value=t,next.done=!1,next}return next.done=!0,next}},e.values=values,Context.prototype={constructor:Context,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(resetTryEntry),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function handle(n,o){return a.type="throw",a.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return handle("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return handle(i.catchLoc,!0);if(this.prev<i.finallyLoc)return handle(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return handle(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return handle(i.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,y):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),y},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),resetTryEntry(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;resetTryEntry(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:values(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}`),typeof:m("7.0.0-beta.0",'export default function _typeof(o){"@babel/helpers - typeof";return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},_typeof(o)}'),using:m("7.22.0",'export default function _using(o,e,n){if(null==e)return e;if("object"!=typeof e)throw new TypeError("using declarations can only be used with objects, null, or undefined.");if(n)var r=e[Symbol.asyncDispose||Symbol.for("Symbol.asyncDispose")];if(null==r&&(r=e[Symbol.dispose||Symbol.for("Symbol.dispose")]),"function"!=typeof r)throw new TypeError("Property [Symbol.dispose] is not a function.");return o.push({v:e,d:r,a:n}),e}'),wrapRegExp:m("7.19.0",'import setPrototypeOf from"setPrototypeOf";import inherits from"inherits";export default function _wrapRegExp(){_wrapRegExp=function(e,r){return new BabelRegExp(e,void 0,r)};var e=RegExp.prototype,r=new WeakMap;function BabelRegExp(e,t,p){var o=new RegExp(e,t);return r.set(o,p||r.get(e)),setPrototypeOf(o,BabelRegExp.prototype)}function buildGroups(e,t){var p=r.get(t);return Object.keys(p).reduce((function(r,t){var o=p[t];if("number"==typeof o)r[t]=e[o];else{for(var i=0;void 0===e[o[i]]&&i+1<o.length;)i++;r[t]=e[o[i]]}return r}),Object.create(null))}return inherits(BabelRegExp,RegExp),BabelRegExp.prototype.exec=function(r){var t=e.exec.call(this,r);if(t){t.groups=buildGroups(t,this);var p=t.indices;p&&(p.groups=buildGroups(p,this))}return t},BabelRegExp.prototype[Symbol.replace]=function(t,p){if("string"==typeof p){var o=r.get(this);return e[Symbol.replace].call(this,t,p.replace(/\\$<([^>]+)>/g,(function(e,r){var t=o[r];return"$"+(Array.isArray(t)?t.join("$"):t)})))}if("function"==typeof p){var i=this;return e[Symbol.replace].call(this,t,(function(){var e=arguments;return"object"!=typeof e[e.length-1]&&(e=[].slice.call(e)).push(buildGroups(e,i)),p.apply(this,e)}))}return e[Symbol.replace].call(this,t,p)},_wrapRegExp.apply(this,arguments)}')});r.default=d},"./node_modules/.pnpm/@babel+helpers@7.22.15/node_modules/@babel/helpers/lib/helpers.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var a=u("./node_modules/.pnpm/@babel+template@7.22.15/node_modules/@babel/template/lib/index.js"),m=u("./node_modules/.pnpm/@babel+helpers@7.22.15/node_modules/@babel/helpers/lib/helpers-generated.js");let d=Object.assign({__proto__:null},m.default);var s=d;r.default=s;let l=f=>p=>({minVersion:f,ast:()=>a.default.program.ast(p)});d.AwaitValue=l("7.0.0-beta.0")`
|
|
export default function _AwaitValue(value) {
|
|
this.wrapped = value;
|
|
}
|
|
`,d.wrapAsyncGenerator=l("7.0.0-beta.0")`
|
|
import AsyncGenerator from "AsyncGenerator";
|
|
|
|
export default function _wrapAsyncGenerator(fn) {
|
|
return function () {
|
|
return new AsyncGenerator(fn.apply(this, arguments));
|
|
};
|
|
}
|
|
`,d.asyncToGenerator=l("7.0.0-beta.0")`
|
|
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
|
try {
|
|
var info = gen[key](arg);
|
|
var value = info.value;
|
|
} catch (error) {
|
|
reject(error);
|
|
return;
|
|
}
|
|
|
|
if (info.done) {
|
|
resolve(value);
|
|
} else {
|
|
Promise.resolve(value).then(_next, _throw);
|
|
}
|
|
}
|
|
|
|
export default function _asyncToGenerator(fn) {
|
|
return function () {
|
|
var self = this, args = arguments;
|
|
return new Promise(function (resolve, reject) {
|
|
var gen = fn.apply(self, args);
|
|
function _next(value) {
|
|
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
|
|
}
|
|
function _throw(err) {
|
|
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
|
|
}
|
|
|
|
_next(undefined);
|
|
});
|
|
};
|
|
}
|
|
`,d.classCallCheck=l("7.0.0-beta.0")`
|
|
export default function _classCallCheck(instance, Constructor) {
|
|
if (!(instance instanceof Constructor)) {
|
|
throw new TypeError("Cannot call a class as a function");
|
|
}
|
|
}
|
|
`,d.createClass=l("7.0.0-beta.0")`
|
|
import toPropertyKey from "toPropertyKey";
|
|
function _defineProperties(target, props) {
|
|
for (var i = 0; i < props.length; i ++) {
|
|
var descriptor = props[i];
|
|
descriptor.enumerable = descriptor.enumerable || false;
|
|
descriptor.configurable = true;
|
|
if ("value" in descriptor) descriptor.writable = true;
|
|
Object.defineProperty(target, toPropertyKey(descriptor.key), descriptor);
|
|
}
|
|
}
|
|
|
|
export default function _createClass(Constructor, protoProps, staticProps) {
|
|
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
Object.defineProperty(Constructor, "prototype", { writable: false });
|
|
return Constructor;
|
|
}
|
|
`,d.defineEnumerableProperties=l("7.0.0-beta.0")`
|
|
export default function _defineEnumerableProperties(obj, descs) {
|
|
for (var key in descs) {
|
|
var desc = descs[key];
|
|
desc.configurable = desc.enumerable = true;
|
|
if ("value" in desc) desc.writable = true;
|
|
Object.defineProperty(obj, key, desc);
|
|
}
|
|
|
|
// Symbols are not enumerated over by for-in loops. If native
|
|
// Symbols are available, fetch all of the descs object's own
|
|
// symbol properties and define them on our target object too.
|
|
if (Object.getOwnPropertySymbols) {
|
|
var objectSymbols = Object.getOwnPropertySymbols(descs);
|
|
for (var i = 0; i < objectSymbols.length; i++) {
|
|
var sym = objectSymbols[i];
|
|
var desc = descs[sym];
|
|
desc.configurable = desc.enumerable = true;
|
|
if ("value" in desc) desc.writable = true;
|
|
Object.defineProperty(obj, sym, desc);
|
|
}
|
|
}
|
|
return obj;
|
|
}
|
|
`,d.defaults=l("7.0.0-beta.0")`
|
|
export default function _defaults(obj, defaults) {
|
|
var keys = Object.getOwnPropertyNames(defaults);
|
|
for (var i = 0; i < keys.length; i++) {
|
|
var key = keys[i];
|
|
var value = Object.getOwnPropertyDescriptor(defaults, key);
|
|
if (value && value.configurable && obj[key] === undefined) {
|
|
Object.defineProperty(obj, key, value);
|
|
}
|
|
}
|
|
return obj;
|
|
}
|
|
`,d.defineProperty=l("7.0.0-beta.0")`
|
|
import toPropertyKey from "toPropertyKey";
|
|
export default function _defineProperty(obj, key, value) {
|
|
key = toPropertyKey(key);
|
|
// Shortcircuit the slow defineProperty path when possible.
|
|
// We are trying to avoid issues where setters defined on the
|
|
// prototype cause side effects under the fast path of simple
|
|
// assignment. By checking for existence of the property with
|
|
// the in operator, we can optimize most of this overhead away.
|
|
if (key in obj) {
|
|
Object.defineProperty(obj, key, {
|
|
value: value,
|
|
enumerable: true,
|
|
configurable: true,
|
|
writable: true
|
|
});
|
|
} else {
|
|
obj[key] = value;
|
|
}
|
|
return obj;
|
|
}
|
|
`,d.extends=l("7.0.0-beta.0")`
|
|
export default function _extends() {
|
|
_extends = Object.assign ? Object.assign.bind() : function (target) {
|
|
for (var i = 1; i < arguments.length; i++) {
|
|
var source = arguments[i];
|
|
for (var key in source) {
|
|
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
target[key] = source[key];
|
|
}
|
|
}
|
|
}
|
|
return target;
|
|
};
|
|
|
|
return _extends.apply(this, arguments);
|
|
}
|
|
`,d.objectSpread=l("7.0.0-beta.0")`
|
|
import defineProperty from "defineProperty";
|
|
|
|
export default function _objectSpread(target) {
|
|
for (var i = 1; i < arguments.length; i++) {
|
|
var source = (arguments[i] != null) ? Object(arguments[i]) : {};
|
|
var ownKeys = Object.keys(source);
|
|
if (typeof Object.getOwnPropertySymbols === 'function') {
|
|
ownKeys.push.apply(ownKeys, Object.getOwnPropertySymbols(source).filter(function(sym) {
|
|
return Object.getOwnPropertyDescriptor(source, sym).enumerable;
|
|
}));
|
|
}
|
|
ownKeys.forEach(function(key) {
|
|
defineProperty(target, key, source[key]);
|
|
});
|
|
}
|
|
return target;
|
|
}
|
|
`,d.inherits=l("7.0.0-beta.0")`
|
|
import setPrototypeOf from "setPrototypeOf";
|
|
|
|
export default function _inherits(subClass, superClass) {
|
|
if (typeof superClass !== "function" && superClass !== null) {
|
|
throw new TypeError("Super expression must either be null or a function");
|
|
}
|
|
// We can't use defineProperty to set the prototype in a single step because it
|
|
// doesn't work in Chrome <= 36. https://github.com/babel/babel/issues/14056
|
|
// V8 bug: https://bugs.chromium.org/p/v8/issues/detail?id=3334
|
|
subClass.prototype = Object.create(superClass && superClass.prototype, {
|
|
constructor: {
|
|
value: subClass,
|
|
writable: true,
|
|
configurable: true
|
|
}
|
|
});
|
|
Object.defineProperty(subClass, "prototype", { writable: false });
|
|
if (superClass) setPrototypeOf(subClass, superClass);
|
|
}
|
|
`,d.inheritsLoose=l("7.0.0-beta.0")`
|
|
import setPrototypeOf from "setPrototypeOf";
|
|
|
|
export default function _inheritsLoose(subClass, superClass) {
|
|
subClass.prototype = Object.create(superClass.prototype);
|
|
subClass.prototype.constructor = subClass;
|
|
setPrototypeOf(subClass, superClass);
|
|
}
|
|
`,d.getPrototypeOf=l("7.0.0-beta.0")`
|
|
export default function _getPrototypeOf(o) {
|
|
_getPrototypeOf = Object.setPrototypeOf
|
|
? Object.getPrototypeOf.bind()
|
|
: function _getPrototypeOf(o) {
|
|
return o.__proto__ || Object.getPrototypeOf(o);
|
|
};
|
|
return _getPrototypeOf(o);
|
|
}
|
|
`,d.setPrototypeOf=l("7.0.0-beta.0")`
|
|
export default function _setPrototypeOf(o, p) {
|
|
_setPrototypeOf = Object.setPrototypeOf
|
|
? Object.setPrototypeOf.bind()
|
|
: function _setPrototypeOf(o, p) {
|
|
o.__proto__ = p;
|
|
return o;
|
|
};
|
|
return _setPrototypeOf(o, p);
|
|
}
|
|
`,d.isNativeReflectConstruct=l("7.9.0")`
|
|
export default function _isNativeReflectConstruct() {
|
|
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
|
|
// core-js@3
|
|
if (Reflect.construct.sham) return false;
|
|
|
|
// Proxy can't be polyfilled. Every browser implemented
|
|
// proxies before or at the same time as Reflect.construct,
|
|
// so if they support Proxy they also support Reflect.construct.
|
|
if (typeof Proxy === "function") return true;
|
|
|
|
// Since Reflect.construct can't be properly polyfilled, some
|
|
// implementations (e.g. core-js@2) don't set the correct internal slots.
|
|
// Those polyfills don't allow us to subclass built-ins, so we need to
|
|
// use our fallback implementation.
|
|
try {
|
|
// If the internal slots aren't set, this throws an error similar to
|
|
// TypeError: this is not a Boolean object.
|
|
|
|
Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
return true;
|
|
} catch (e) {
|
|
return false;
|
|
}
|
|
}
|
|
`,d.construct=l("7.0.0-beta.0")`
|
|
import setPrototypeOf from "setPrototypeOf";
|
|
import isNativeReflectConstruct from "isNativeReflectConstruct";
|
|
|
|
export default function _construct(Parent, args, Class) {
|
|
if (isNativeReflectConstruct()) {
|
|
_construct = Reflect.construct.bind();
|
|
} else {
|
|
// NOTE: If Parent !== Class, the correct __proto__ is set *after*
|
|
// calling the constructor.
|
|
_construct = function _construct(Parent, args, Class) {
|
|
var a = [null];
|
|
a.push.apply(a, args);
|
|
var Constructor = Function.bind.apply(Parent, a);
|
|
var instance = new Constructor();
|
|
if (Class) setPrototypeOf(instance, Class.prototype);
|
|
return instance;
|
|
};
|
|
}
|
|
// Avoid issues with Class being present but undefined when it wasn't
|
|
// present in the original call.
|
|
return _construct.apply(null, arguments);
|
|
}
|
|
`,d.isNativeFunction=l("7.0.0-beta.0")`
|
|
export default function _isNativeFunction(fn) {
|
|
// Note: This function returns "true" for core-js functions.
|
|
return Function.toString.call(fn).indexOf("[native code]") !== -1;
|
|
}
|
|
`,d.wrapNativeSuper=l("7.0.0-beta.0")`
|
|
import getPrototypeOf from "getPrototypeOf";
|
|
import setPrototypeOf from "setPrototypeOf";
|
|
import isNativeFunction from "isNativeFunction";
|
|
import construct from "construct";
|
|
|
|
export default function _wrapNativeSuper(Class) {
|
|
var _cache = typeof Map === "function" ? new Map() : undefined;
|
|
|
|
_wrapNativeSuper = function _wrapNativeSuper(Class) {
|
|
if (Class === null || !isNativeFunction(Class)) return Class;
|
|
if (typeof Class !== "function") {
|
|
throw new TypeError("Super expression must either be null or a function");
|
|
}
|
|
if (typeof _cache !== "undefined") {
|
|
if (_cache.has(Class)) return _cache.get(Class);
|
|
_cache.set(Class, Wrapper);
|
|
}
|
|
function Wrapper() {
|
|
return construct(Class, arguments, getPrototypeOf(this).constructor)
|
|
}
|
|
Wrapper.prototype = Object.create(Class.prototype, {
|
|
constructor: {
|
|
value: Wrapper,
|
|
enumerable: false,
|
|
writable: true,
|
|
configurable: true,
|
|
}
|
|
});
|
|
|
|
return setPrototypeOf(Wrapper, Class);
|
|
}
|
|
|
|
return _wrapNativeSuper(Class)
|
|
}
|
|
`,d.instanceof=l("7.0.0-beta.0")`
|
|
export default function _instanceof(left, right) {
|
|
if (right != null && typeof Symbol !== "undefined" && right[Symbol.hasInstance]) {
|
|
return !!right[Symbol.hasInstance](left);
|
|
} else {
|
|
return left instanceof right;
|
|
}
|
|
}
|
|
`,d.interopRequireDefault=l("7.0.0-beta.0")`
|
|
export default function _interopRequireDefault(obj) {
|
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
}
|
|
`,d.interopRequireWildcard=l("7.14.0")`
|
|
function _getRequireWildcardCache(nodeInterop) {
|
|
if (typeof WeakMap !== "function") return null;
|
|
|
|
var cacheBabelInterop = new WeakMap();
|
|
var cacheNodeInterop = new WeakMap();
|
|
return (_getRequireWildcardCache = function (nodeInterop) {
|
|
return nodeInterop ? cacheNodeInterop : cacheBabelInterop;
|
|
})(nodeInterop);
|
|
}
|
|
|
|
export default function _interopRequireWildcard(obj, nodeInterop) {
|
|
if (!nodeInterop && obj && obj.__esModule) {
|
|
return obj;
|
|
}
|
|
|
|
if (obj === null || (typeof obj !== "object" && typeof obj !== "function")) {
|
|
return { default: obj }
|
|
}
|
|
|
|
var cache = _getRequireWildcardCache(nodeInterop);
|
|
if (cache && cache.has(obj)) {
|
|
return cache.get(obj);
|
|
}
|
|
|
|
var newObj = {};
|
|
var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor;
|
|
for (var key in obj) {
|
|
if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) {
|
|
var desc = hasPropertyDescriptor
|
|
? Object.getOwnPropertyDescriptor(obj, key)
|
|
: null;
|
|
if (desc && (desc.get || desc.set)) {
|
|
Object.defineProperty(newObj, key, desc);
|
|
} else {
|
|
newObj[key] = obj[key];
|
|
}
|
|
}
|
|
}
|
|
newObj.default = obj;
|
|
if (cache) {
|
|
cache.set(obj, newObj);
|
|
}
|
|
return newObj;
|
|
}
|
|
`,d.newArrowCheck=l("7.0.0-beta.0")`
|
|
export default function _newArrowCheck(innerThis, boundThis) {
|
|
if (innerThis !== boundThis) {
|
|
throw new TypeError("Cannot instantiate an arrow function");
|
|
}
|
|
}
|
|
`,d.objectDestructuringEmpty=l("7.0.0-beta.0")`
|
|
export default function _objectDestructuringEmpty(obj) {
|
|
if (obj == null) throw new TypeError("Cannot destructure " + obj);
|
|
}
|
|
`,d.objectWithoutPropertiesLoose=l("7.0.0-beta.0")`
|
|
export default function _objectWithoutPropertiesLoose(source, excluded) {
|
|
if (source == null) return {};
|
|
|
|
var target = {};
|
|
var sourceKeys = Object.keys(source);
|
|
var key, i;
|
|
|
|
for (i = 0; i < sourceKeys.length; i++) {
|
|
key = sourceKeys[i];
|
|
if (excluded.indexOf(key) >= 0) continue;
|
|
target[key] = source[key];
|
|
}
|
|
|
|
return target;
|
|
}
|
|
`,d.objectWithoutProperties=l("7.0.0-beta.0")`
|
|
import objectWithoutPropertiesLoose from "objectWithoutPropertiesLoose";
|
|
|
|
export default function _objectWithoutProperties(source, excluded) {
|
|
if (source == null) return {};
|
|
|
|
var target = objectWithoutPropertiesLoose(source, excluded);
|
|
var key, i;
|
|
|
|
if (Object.getOwnPropertySymbols) {
|
|
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
|
for (i = 0; i < sourceSymbolKeys.length; i++) {
|
|
key = sourceSymbolKeys[i];
|
|
if (excluded.indexOf(key) >= 0) continue;
|
|
if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
|
|
target[key] = source[key];
|
|
}
|
|
}
|
|
|
|
return target;
|
|
}
|
|
`,d.assertThisInitialized=l("7.0.0-beta.0")`
|
|
export default function _assertThisInitialized(self) {
|
|
if (self === void 0) {
|
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
}
|
|
return self;
|
|
}
|
|
`,d.possibleConstructorReturn=l("7.0.0-beta.0")`
|
|
import assertThisInitialized from "assertThisInitialized";
|
|
|
|
export default function _possibleConstructorReturn(self, call) {
|
|
if (call && (typeof call === "object" || typeof call === "function")) {
|
|
return call;
|
|
} else if (call !== void 0) {
|
|
throw new TypeError("Derived constructors may only return object or undefined");
|
|
}
|
|
|
|
return assertThisInitialized(self);
|
|
}
|
|
`,d.createSuper=l("7.9.0")`
|
|
import getPrototypeOf from "getPrototypeOf";
|
|
import isNativeReflectConstruct from "isNativeReflectConstruct";
|
|
import possibleConstructorReturn from "possibleConstructorReturn";
|
|
|
|
export default function _createSuper(Derived) {
|
|
var hasNativeReflectConstruct = isNativeReflectConstruct();
|
|
|
|
return function _createSuperInternal() {
|
|
var Super = getPrototypeOf(Derived), result;
|
|
if (hasNativeReflectConstruct) {
|
|
// NOTE: This doesn't work if this.__proto__.constructor has been modified.
|
|
var NewTarget = getPrototypeOf(this).constructor;
|
|
result = Reflect.construct(Super, arguments, NewTarget);
|
|
} else {
|
|
result = Super.apply(this, arguments);
|
|
}
|
|
return possibleConstructorReturn(this, result);
|
|
}
|
|
}
|
|
`,d.superPropBase=l("7.0.0-beta.0")`
|
|
import getPrototypeOf from "getPrototypeOf";
|
|
|
|
export default function _superPropBase(object, property) {
|
|
// Yes, this throws if object is null to being with, that's on purpose.
|
|
while (!Object.prototype.hasOwnProperty.call(object, property)) {
|
|
object = getPrototypeOf(object);
|
|
if (object === null) break;
|
|
}
|
|
return object;
|
|
}
|
|
`,d.get=l("7.0.0-beta.0")`
|
|
import superPropBase from "superPropBase";
|
|
|
|
export default function _get() {
|
|
if (typeof Reflect !== "undefined" && Reflect.get) {
|
|
_get = Reflect.get.bind();
|
|
} else {
|
|
_get = function _get(target, property, receiver) {
|
|
var base = superPropBase(target, property);
|
|
|
|
if (!base) return;
|
|
|
|
var desc = Object.getOwnPropertyDescriptor(base, property);
|
|
if (desc.get) {
|
|
// STEP 3. If receiver is not present, then set receiver to target.
|
|
return desc.get.call(arguments.length < 3 ? target : receiver);
|
|
}
|
|
|
|
return desc.value;
|
|
};
|
|
}
|
|
return _get.apply(this, arguments);
|
|
}
|
|
`,d.set=l("7.0.0-beta.0")`
|
|
import superPropBase from "superPropBase";
|
|
import defineProperty from "defineProperty";
|
|
|
|
function set(target, property, value, receiver) {
|
|
if (typeof Reflect !== "undefined" && Reflect.set) {
|
|
set = Reflect.set;
|
|
} else {
|
|
set = function set(target, property, value, receiver) {
|
|
var base = superPropBase(target, property);
|
|
var desc;
|
|
|
|
if (base) {
|
|
desc = Object.getOwnPropertyDescriptor(base, property);
|
|
if (desc.set) {
|
|
desc.set.call(receiver, value);
|
|
return true;
|
|
} else if (!desc.writable) {
|
|
// Both getter and non-writable fall into this.
|
|
return false;
|
|
}
|
|
}
|
|
|
|
// Without a super that defines the property, spec boils down to
|
|
// "define on receiver" for some reason.
|
|
desc = Object.getOwnPropertyDescriptor(receiver, property);
|
|
if (desc) {
|
|
if (!desc.writable) {
|
|
// Setter, getter, and non-writable fall into this.
|
|
return false;
|
|
}
|
|
|
|
desc.value = value;
|
|
Object.defineProperty(receiver, property, desc);
|
|
} else {
|
|
// Avoid setters that may be defined on Sub's prototype, but not on
|
|
// the instance.
|
|
defineProperty(receiver, property, value);
|
|
}
|
|
|
|
return true;
|
|
};
|
|
}
|
|
|
|
return set(target, property, value, receiver);
|
|
}
|
|
|
|
export default function _set(target, property, value, receiver, isStrict) {
|
|
var s = set(target, property, value, receiver || target);
|
|
if (!s && isStrict) {
|
|
throw new TypeError('failed to set property');
|
|
}
|
|
|
|
return value;
|
|
}
|
|
`,d.taggedTemplateLiteral=l("7.0.0-beta.0")`
|
|
export default function _taggedTemplateLiteral(strings, raw) {
|
|
if (!raw) { raw = strings.slice(0); }
|
|
return Object.freeze(Object.defineProperties(strings, {
|
|
raw: { value: Object.freeze(raw) }
|
|
}));
|
|
}
|
|
`,d.taggedTemplateLiteralLoose=l("7.0.0-beta.0")`
|
|
export default function _taggedTemplateLiteralLoose(strings, raw) {
|
|
if (!raw) { raw = strings.slice(0); }
|
|
strings.raw = raw;
|
|
return strings;
|
|
}
|
|
`,d.readOnlyError=l("7.0.0-beta.0")`
|
|
export default function _readOnlyError(name) {
|
|
throw new TypeError("\\"" + name + "\\" is read-only");
|
|
}
|
|
`,d.writeOnlyError=l("7.12.13")`
|
|
export default function _writeOnlyError(name) {
|
|
throw new TypeError("\\"" + name + "\\" is write-only");
|
|
}
|
|
`,d.classNameTDZError=l("7.0.0-beta.0")`
|
|
export default function _classNameTDZError(name) {
|
|
throw new ReferenceError("Class \\"" + name + "\\" cannot be referenced in computed property keys.");
|
|
}
|
|
`,d.temporalUndefined=l("7.0.0-beta.0")`
|
|
// This function isn't mean to be called, but to be used as a reference.
|
|
// We can't use a normal object because it isn't hoisted.
|
|
export default function _temporalUndefined() {}
|
|
`,d.tdz=l("7.5.5")`
|
|
export default function _tdzError(name) {
|
|
throw new ReferenceError(name + " is not defined - temporal dead zone");
|
|
}
|
|
`,d.temporalRef=l("7.0.0-beta.0")`
|
|
import undef from "temporalUndefined";
|
|
import err from "tdz";
|
|
|
|
export default function _temporalRef(val, name) {
|
|
return val === undef ? err(name) : val;
|
|
}
|
|
`,d.slicedToArray=l("7.0.0-beta.0")`
|
|
import arrayWithHoles from "arrayWithHoles";
|
|
import iterableToArrayLimit from "iterableToArrayLimit";
|
|
import unsupportedIterableToArray from "unsupportedIterableToArray";
|
|
import nonIterableRest from "nonIterableRest";
|
|
|
|
export default function _slicedToArray(arr, i) {
|
|
return (
|
|
arrayWithHoles(arr) ||
|
|
iterableToArrayLimit(arr, i) ||
|
|
unsupportedIterableToArray(arr, i) ||
|
|
nonIterableRest()
|
|
);
|
|
}
|
|
`,d.slicedToArrayLoose=l("7.0.0-beta.0")`
|
|
import arrayWithHoles from "arrayWithHoles";
|
|
import iterableToArrayLimitLoose from "iterableToArrayLimitLoose";
|
|
import unsupportedIterableToArray from "unsupportedIterableToArray";
|
|
import nonIterableRest from "nonIterableRest";
|
|
|
|
export default function _slicedToArrayLoose(arr, i) {
|
|
return (
|
|
arrayWithHoles(arr) ||
|
|
iterableToArrayLimitLoose(arr, i) ||
|
|
unsupportedIterableToArray(arr, i) ||
|
|
nonIterableRest()
|
|
);
|
|
}
|
|
`,d.toArray=l("7.0.0-beta.0")`
|
|
import arrayWithHoles from "arrayWithHoles";
|
|
import iterableToArray from "iterableToArray";
|
|
import unsupportedIterableToArray from "unsupportedIterableToArray";
|
|
import nonIterableRest from "nonIterableRest";
|
|
|
|
export default function _toArray(arr) {
|
|
return (
|
|
arrayWithHoles(arr) ||
|
|
iterableToArray(arr) ||
|
|
unsupportedIterableToArray(arr) ||
|
|
nonIterableRest()
|
|
);
|
|
}
|
|
`,d.toConsumableArray=l("7.0.0-beta.0")`
|
|
import arrayWithoutHoles from "arrayWithoutHoles";
|
|
import iterableToArray from "iterableToArray";
|
|
import unsupportedIterableToArray from "unsupportedIterableToArray";
|
|
import nonIterableSpread from "nonIterableSpread";
|
|
|
|
export default function _toConsumableArray(arr) {
|
|
return (
|
|
arrayWithoutHoles(arr) ||
|
|
iterableToArray(arr) ||
|
|
unsupportedIterableToArray(arr) ||
|
|
nonIterableSpread()
|
|
);
|
|
}
|
|
`,d.arrayWithoutHoles=l("7.0.0-beta.0")`
|
|
import arrayLikeToArray from "arrayLikeToArray";
|
|
|
|
export default function _arrayWithoutHoles(arr) {
|
|
if (Array.isArray(arr)) return arrayLikeToArray(arr);
|
|
}
|
|
`,d.arrayWithHoles=l("7.0.0-beta.0")`
|
|
export default function _arrayWithHoles(arr) {
|
|
if (Array.isArray(arr)) return arr;
|
|
}
|
|
`,d.maybeArrayLike=l("7.9.0")`
|
|
import arrayLikeToArray from "arrayLikeToArray";
|
|
|
|
export default function _maybeArrayLike(next, arr, i) {
|
|
if (arr && !Array.isArray(arr) && typeof arr.length === "number") {
|
|
var len = arr.length;
|
|
return arrayLikeToArray(arr, i !== void 0 && i < len ? i : len);
|
|
}
|
|
return next(arr, i);
|
|
}
|
|
`,d.iterableToArray=l("7.0.0-beta.0")`
|
|
export default function _iterableToArray(iter) {
|
|
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
|
}
|
|
`,d.unsupportedIterableToArray=l("7.9.0")`
|
|
import arrayLikeToArray from "arrayLikeToArray";
|
|
|
|
export default function _unsupportedIterableToArray(o, minLen) {
|
|
if (!o) return;
|
|
if (typeof o === "string") return arrayLikeToArray(o, minLen);
|
|
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
if (n === "Map" || n === "Set") return Array.from(o);
|
|
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))
|
|
return arrayLikeToArray(o, minLen);
|
|
}
|
|
`,d.arrayLikeToArray=l("7.9.0")`
|
|
export default function _arrayLikeToArray(arr, len) {
|
|
if (len == null || len > arr.length) len = arr.length;
|
|
for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
|
|
return arr2;
|
|
}
|
|
`,d.nonIterableSpread=l("7.0.0-beta.0")`
|
|
export default function _nonIterableSpread() {
|
|
throw new TypeError(
|
|
"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
|
|
);
|
|
}
|
|
`,d.nonIterableRest=l("7.0.0-beta.0")`
|
|
export default function _nonIterableRest() {
|
|
throw new TypeError(
|
|
"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
|
|
);
|
|
}
|
|
`,d.createForOfIteratorHelper=l("7.9.0")`
|
|
import unsupportedIterableToArray from "unsupportedIterableToArray";
|
|
|
|
// s: start (create the iterator)
|
|
// n: next
|
|
// e: error (called whenever something throws)
|
|
// f: finish (always called at the end)
|
|
|
|
export default function _createForOfIteratorHelper(o, allowArrayLike) {
|
|
var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"];
|
|
|
|
if (!it) {
|
|
// Fallback for engines without symbol support
|
|
if (
|
|
Array.isArray(o) ||
|
|
(it = unsupportedIterableToArray(o)) ||
|
|
(allowArrayLike && o && typeof o.length === "number")
|
|
) {
|
|
if (it) o = it;
|
|
var i = 0;
|
|
var F = function(){};
|
|
return {
|
|
s: F,
|
|
n: function() {
|
|
if (i >= o.length) return { done: true };
|
|
return { done: false, value: o[i++] };
|
|
},
|
|
e: function(e) { throw e; },
|
|
f: F,
|
|
};
|
|
}
|
|
|
|
throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
}
|
|
|
|
var normalCompletion = true, didErr = false, err;
|
|
|
|
return {
|
|
s: function() {
|
|
it = it.call(o);
|
|
},
|
|
n: function() {
|
|
var step = it.next();
|
|
normalCompletion = step.done;
|
|
return step;
|
|
},
|
|
e: function(e) {
|
|
didErr = true;
|
|
err = e;
|
|
},
|
|
f: function() {
|
|
try {
|
|
if (!normalCompletion && it.return != null) it.return();
|
|
} finally {
|
|
if (didErr) throw err;
|
|
}
|
|
}
|
|
};
|
|
}
|
|
`,d.createForOfIteratorHelperLoose=l("7.9.0")`
|
|
import unsupportedIterableToArray from "unsupportedIterableToArray";
|
|
|
|
export default function _createForOfIteratorHelperLoose(o, allowArrayLike) {
|
|
var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"];
|
|
|
|
if (it) return (it = it.call(o)).next.bind(it);
|
|
|
|
// Fallback for engines without symbol support
|
|
if (
|
|
Array.isArray(o) ||
|
|
(it = unsupportedIterableToArray(o)) ||
|
|
(allowArrayLike && o && typeof o.length === "number")
|
|
) {
|
|
if (it) o = it;
|
|
var i = 0;
|
|
return function() {
|
|
if (i >= o.length) return { done: true };
|
|
return { done: false, value: o[i++] };
|
|
}
|
|
}
|
|
|
|
throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
}
|
|
`,d.skipFirstGeneratorNext=l("7.0.0-beta.0")`
|
|
export default function _skipFirstGeneratorNext(fn) {
|
|
return function () {
|
|
var it = fn.apply(this, arguments);
|
|
it.next();
|
|
return it;
|
|
}
|
|
}
|
|
`,d.toPrimitive=l("7.1.5")`
|
|
export default function _toPrimitive(
|
|
input,
|
|
hint /*: "default" | "string" | "number" | void */
|
|
) {
|
|
if (typeof input !== "object" || input === null) return input;
|
|
var prim = input[Symbol.toPrimitive];
|
|
if (prim !== undefined) {
|
|
var res = prim.call(input, hint || "default");
|
|
if (typeof res !== "object") return res;
|
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
}
|
|
return (hint === "string" ? String : Number)(input);
|
|
}
|
|
`,d.toPropertyKey=l("7.1.5")`
|
|
import toPrimitive from "toPrimitive";
|
|
|
|
export default function _toPropertyKey(arg) {
|
|
var key = toPrimitive(arg, "string");
|
|
return typeof key === "symbol" ? key : String(key);
|
|
}
|
|
`,d.initializerWarningHelper=l("7.0.0-beta.0")`
|
|
export default function _initializerWarningHelper(descriptor, context){
|
|
throw new Error(
|
|
'Decorating class property failed. Please ensure that ' +
|
|
'transform-class-properties is enabled and runs after the decorators transform.'
|
|
);
|
|
}
|
|
`,d.initializerDefineProperty=l("7.0.0-beta.0")`
|
|
export default function _initializerDefineProperty(target, property, descriptor, context){
|
|
if (!descriptor) return;
|
|
|
|
Object.defineProperty(target, property, {
|
|
enumerable: descriptor.enumerable,
|
|
configurable: descriptor.configurable,
|
|
writable: descriptor.writable,
|
|
value: descriptor.initializer ? descriptor.initializer.call(context) : void 0,
|
|
});
|
|
}
|
|
`,d.applyDecoratedDescriptor=l("7.0.0-beta.0")`
|
|
export default function _applyDecoratedDescriptor(target, property, decorators, descriptor, context){
|
|
var desc = {};
|
|
Object.keys(descriptor).forEach(function(key){
|
|
desc[key] = descriptor[key];
|
|
});
|
|
desc.enumerable = !!desc.enumerable;
|
|
desc.configurable = !!desc.configurable;
|
|
if ('value' in desc || desc.initializer){
|
|
desc.writable = true;
|
|
}
|
|
|
|
desc = decorators.slice().reverse().reduce(function(desc, decorator){
|
|
return decorator(target, property, desc) || desc;
|
|
}, desc);
|
|
|
|
if (context && desc.initializer !== void 0){
|
|
desc.value = desc.initializer ? desc.initializer.call(context) : void 0;
|
|
desc.initializer = undefined;
|
|
}
|
|
|
|
if (desc.initializer === void 0){
|
|
Object.defineProperty(target, property, desc);
|
|
desc = null;
|
|
}
|
|
|
|
return desc;
|
|
}
|
|
`,d.classPrivateFieldLooseKey=l("7.0.0-beta.0")`
|
|
var id = 0;
|
|
export default function _classPrivateFieldKey(name) {
|
|
return "__private_" + (id++) + "_" + name;
|
|
}
|
|
`,d.classPrivateFieldLooseBase=l("7.0.0-beta.0")`
|
|
export default function _classPrivateFieldBase(receiver, privateKey) {
|
|
if (!Object.prototype.hasOwnProperty.call(receiver, privateKey)) {
|
|
throw new TypeError("attempted to use private field on non-instance");
|
|
}
|
|
return receiver;
|
|
}
|
|
`,d.classPrivateFieldGet=l("7.0.0-beta.0")`
|
|
import classApplyDescriptorGet from "classApplyDescriptorGet";
|
|
import classExtractFieldDescriptor from "classExtractFieldDescriptor";
|
|
export default function _classPrivateFieldGet(receiver, privateMap) {
|
|
var descriptor = classExtractFieldDescriptor(receiver, privateMap, "get");
|
|
return classApplyDescriptorGet(receiver, descriptor);
|
|
}
|
|
`,d.classPrivateFieldSet=l("7.0.0-beta.0")`
|
|
import classApplyDescriptorSet from "classApplyDescriptorSet";
|
|
import classExtractFieldDescriptor from "classExtractFieldDescriptor";
|
|
export default function _classPrivateFieldSet(receiver, privateMap, value) {
|
|
var descriptor = classExtractFieldDescriptor(receiver, privateMap, "set");
|
|
classApplyDescriptorSet(receiver, descriptor, value);
|
|
return value;
|
|
}
|
|
`,d.classPrivateFieldDestructureSet=l("7.4.4")`
|
|
import classApplyDescriptorDestructureSet from "classApplyDescriptorDestructureSet";
|
|
import classExtractFieldDescriptor from "classExtractFieldDescriptor";
|
|
export default function _classPrivateFieldDestructureSet(receiver, privateMap) {
|
|
var descriptor = classExtractFieldDescriptor(receiver, privateMap, "set");
|
|
return classApplyDescriptorDestructureSet(receiver, descriptor);
|
|
}
|
|
`,d.classExtractFieldDescriptor=l("7.13.10")`
|
|
export default function _classExtractFieldDescriptor(receiver, privateMap, action) {
|
|
if (!privateMap.has(receiver)) {
|
|
throw new TypeError("attempted to " + action + " private field on non-instance");
|
|
}
|
|
return privateMap.get(receiver);
|
|
}
|
|
`,d.classStaticPrivateFieldSpecGet=l("7.0.2")`
|
|
import classApplyDescriptorGet from "classApplyDescriptorGet";
|
|
import classCheckPrivateStaticAccess from "classCheckPrivateStaticAccess";
|
|
import classCheckPrivateStaticFieldDescriptor from "classCheckPrivateStaticFieldDescriptor";
|
|
export default function _classStaticPrivateFieldSpecGet(receiver, classConstructor, descriptor) {
|
|
classCheckPrivateStaticAccess(receiver, classConstructor);
|
|
classCheckPrivateStaticFieldDescriptor(descriptor, "get");
|
|
return classApplyDescriptorGet(receiver, descriptor);
|
|
}
|
|
`,d.classStaticPrivateFieldSpecSet=l("7.0.2")`
|
|
import classApplyDescriptorSet from "classApplyDescriptorSet";
|
|
import classCheckPrivateStaticAccess from "classCheckPrivateStaticAccess";
|
|
import classCheckPrivateStaticFieldDescriptor from "classCheckPrivateStaticFieldDescriptor";
|
|
export default function _classStaticPrivateFieldSpecSet(receiver, classConstructor, descriptor, value) {
|
|
classCheckPrivateStaticAccess(receiver, classConstructor);
|
|
classCheckPrivateStaticFieldDescriptor(descriptor, "set");
|
|
classApplyDescriptorSet(receiver, descriptor, value);
|
|
return value;
|
|
}
|
|
`,d.classStaticPrivateMethodGet=l("7.3.2")`
|
|
import classCheckPrivateStaticAccess from "classCheckPrivateStaticAccess";
|
|
export default function _classStaticPrivateMethodGet(receiver, classConstructor, method) {
|
|
classCheckPrivateStaticAccess(receiver, classConstructor);
|
|
return method;
|
|
}
|
|
`,d.classStaticPrivateMethodSet=l("7.3.2")`
|
|
export default function _classStaticPrivateMethodSet() {
|
|
throw new TypeError("attempted to set read only static private field");
|
|
}
|
|
`,d.classApplyDescriptorGet=l("7.13.10")`
|
|
export default function _classApplyDescriptorGet(receiver, descriptor) {
|
|
if (descriptor.get) {
|
|
return descriptor.get.call(receiver);
|
|
}
|
|
return descriptor.value;
|
|
}
|
|
`,d.classApplyDescriptorSet=l("7.13.10")`
|
|
export default function _classApplyDescriptorSet(receiver, descriptor, value) {
|
|
if (descriptor.set) {
|
|
descriptor.set.call(receiver, value);
|
|
} else {
|
|
if (!descriptor.writable) {
|
|
// This should only throw in strict mode, but class bodies are
|
|
// always strict and private fields can only be used inside
|
|
// class bodies.
|
|
throw new TypeError("attempted to set read only private field");
|
|
}
|
|
descriptor.value = value;
|
|
}
|
|
}
|
|
`,d.classApplyDescriptorDestructureSet=l("7.13.10")`
|
|
export default function _classApplyDescriptorDestructureSet(receiver, descriptor) {
|
|
if (descriptor.set) {
|
|
if (!("__destrObj" in descriptor)) {
|
|
descriptor.__destrObj = {
|
|
set value(v) {
|
|
descriptor.set.call(receiver, v)
|
|
},
|
|
};
|
|
}
|
|
return descriptor.__destrObj;
|
|
} else {
|
|
if (!descriptor.writable) {
|
|
// This should only throw in strict mode, but class bodies are
|
|
// always strict and private fields can only be used inside
|
|
// class bodies.
|
|
throw new TypeError("attempted to set read only private field");
|
|
}
|
|
|
|
return descriptor;
|
|
}
|
|
}
|
|
`,d.classStaticPrivateFieldDestructureSet=l("7.13.10")`
|
|
import classApplyDescriptorDestructureSet from "classApplyDescriptorDestructureSet";
|
|
import classCheckPrivateStaticAccess from "classCheckPrivateStaticAccess";
|
|
import classCheckPrivateStaticFieldDescriptor from "classCheckPrivateStaticFieldDescriptor";
|
|
export default function _classStaticPrivateFieldDestructureSet(receiver, classConstructor, descriptor) {
|
|
classCheckPrivateStaticAccess(receiver, classConstructor);
|
|
classCheckPrivateStaticFieldDescriptor(descriptor, "set");
|
|
return classApplyDescriptorDestructureSet(receiver, descriptor);
|
|
}
|
|
`,d.classCheckPrivateStaticAccess=l("7.13.10")`
|
|
export default function _classCheckPrivateStaticAccess(receiver, classConstructor) {
|
|
if (receiver !== classConstructor) {
|
|
throw new TypeError("Private static access of wrong provenance");
|
|
}
|
|
}
|
|
`,d.classCheckPrivateStaticFieldDescriptor=l("7.13.10")`
|
|
export default function _classCheckPrivateStaticFieldDescriptor(descriptor, action) {
|
|
if (descriptor === undefined) {
|
|
throw new TypeError("attempted to " + action + " private static field before its declaration");
|
|
}
|
|
}
|
|
`,d.decorate=l("7.1.5")`
|
|
import toArray from "toArray";
|
|
import toPropertyKey from "toPropertyKey";
|
|
|
|
// These comments are stripped by @babel/template
|
|
/*::
|
|
type PropertyDescriptor =
|
|
| {
|
|
value: any,
|
|
writable: boolean,
|
|
configurable: boolean,
|
|
enumerable: boolean,
|
|
}
|
|
| {
|
|
get?: () => any,
|
|
set?: (v: any) => void,
|
|
configurable: boolean,
|
|
enumerable: boolean,
|
|
};
|
|
|
|
type FieldDescriptor ={
|
|
writable: boolean,
|
|
configurable: boolean,
|
|
enumerable: boolean,
|
|
};
|
|
|
|
type Placement = "static" | "prototype" | "own";
|
|
type Key = string | symbol; // PrivateName is not supported yet.
|
|
|
|
type ElementDescriptor =
|
|
| {
|
|
kind: "method",
|
|
key: Key,
|
|
placement: Placement,
|
|
descriptor: PropertyDescriptor
|
|
}
|
|
| {
|
|
kind: "field",
|
|
key: Key,
|
|
placement: Placement,
|
|
descriptor: FieldDescriptor,
|
|
initializer?: () => any,
|
|
};
|
|
|
|
// This is exposed to the user code
|
|
type ElementObjectInput = ElementDescriptor & {
|
|
[@@toStringTag]?: "Descriptor"
|
|
};
|
|
|
|
// This is exposed to the user code
|
|
type ElementObjectOutput = ElementDescriptor & {
|
|
[@@toStringTag]?: "Descriptor"
|
|
extras?: ElementDescriptor[],
|
|
finisher?: ClassFinisher,
|
|
};
|
|
|
|
// This is exposed to the user code
|
|
type ClassObject = {
|
|
[@@toStringTag]?: "Descriptor",
|
|
kind: "class",
|
|
elements: ElementDescriptor[],
|
|
};
|
|
|
|
type ElementDecorator = (descriptor: ElementObjectInput) => ?ElementObjectOutput;
|
|
type ClassDecorator = (descriptor: ClassObject) => ?ClassObject;
|
|
type ClassFinisher = <A, B>(cl: Class<A>) => Class<B>;
|
|
|
|
// Only used by Babel in the transform output, not part of the spec.
|
|
type ElementDefinition =
|
|
| {
|
|
kind: "method",
|
|
value: any,
|
|
key: Key,
|
|
static?: boolean,
|
|
decorators?: ElementDecorator[],
|
|
}
|
|
| {
|
|
kind: "field",
|
|
value: () => any,
|
|
key: Key,
|
|
static?: boolean,
|
|
decorators?: ElementDecorator[],
|
|
};
|
|
|
|
declare function ClassFactory<C>(initialize: (instance: C) => void): {
|
|
F: Class<C>,
|
|
d: ElementDefinition[]
|
|
}
|
|
|
|
*/
|
|
|
|
/*::
|
|
// Various combinations with/without extras and with one or many finishers
|
|
|
|
type ElementFinisherExtras = {
|
|
element: ElementDescriptor,
|
|
finisher?: ClassFinisher,
|
|
extras?: ElementDescriptor[],
|
|
};
|
|
|
|
type ElementFinishersExtras = {
|
|
element: ElementDescriptor,
|
|
finishers: ClassFinisher[],
|
|
extras: ElementDescriptor[],
|
|
};
|
|
|
|
type ElementsFinisher = {
|
|
elements: ElementDescriptor[],
|
|
finisher?: ClassFinisher,
|
|
};
|
|
|
|
type ElementsFinishers = {
|
|
elements: ElementDescriptor[],
|
|
finishers: ClassFinisher[],
|
|
};
|
|
|
|
*/
|
|
|
|
/*::
|
|
|
|
type Placements = {
|
|
static: Key[],
|
|
prototype: Key[],
|
|
own: Key[],
|
|
};
|
|
|
|
*/
|
|
|
|
// ClassDefinitionEvaluation (Steps 26-*)
|
|
export default function _decorate(
|
|
decorators /*: ClassDecorator[] */,
|
|
factory /*: ClassFactory */,
|
|
superClass /*: ?Class<*> */,
|
|
mixins /*: ?Array<Function> */,
|
|
) /*: Class<*> */ {
|
|
var api = _getDecoratorsApi();
|
|
if (mixins) {
|
|
for (var i = 0; i < mixins.length; i++) {
|
|
api = mixins[i](api);
|
|
}
|
|
}
|
|
|
|
var r = factory(function initialize(O) {
|
|
api.initializeInstanceElements(O, decorated.elements);
|
|
}, superClass);
|
|
var decorated = api.decorateClass(
|
|
_coalesceClassElements(r.d.map(_createElementDescriptor)),
|
|
decorators,
|
|
);
|
|
|
|
api.initializeClassElements(r.F, decorated.elements);
|
|
|
|
return api.runClassFinishers(r.F, decorated.finishers);
|
|
}
|
|
|
|
function _getDecoratorsApi() {
|
|
_getDecoratorsApi = function() {
|
|
return api;
|
|
};
|
|
|
|
var api = {
|
|
elementsDefinitionOrder: [["method"], ["field"]],
|
|
|
|
// InitializeInstanceElements
|
|
initializeInstanceElements: function(
|
|
/*::<C>*/ O /*: C */,
|
|
elements /*: ElementDescriptor[] */,
|
|
) {
|
|
["method", "field"].forEach(function(kind) {
|
|
elements.forEach(function(element /*: ElementDescriptor */) {
|
|
if (element.kind === kind && element.placement === "own") {
|
|
this.defineClassElement(O, element);
|
|
}
|
|
}, this);
|
|
}, this);
|
|
},
|
|
|
|
// InitializeClassElements
|
|
initializeClassElements: function(
|
|
/*::<C>*/ F /*: Class<C> */,
|
|
elements /*: ElementDescriptor[] */,
|
|
) {
|
|
var proto = F.prototype;
|
|
|
|
["method", "field"].forEach(function(kind) {
|
|
elements.forEach(function(element /*: ElementDescriptor */) {
|
|
var placement = element.placement;
|
|
if (
|
|
element.kind === kind &&
|
|
(placement === "static" || placement === "prototype")
|
|
) {
|
|
var receiver = placement === "static" ? F : proto;
|
|
this.defineClassElement(receiver, element);
|
|
}
|
|
}, this);
|
|
}, this);
|
|
},
|
|
|
|
// DefineClassElement
|
|
defineClassElement: function(
|
|
/*::<C>*/ receiver /*: C | Class<C> */,
|
|
element /*: ElementDescriptor */,
|
|
) {
|
|
var descriptor /*: PropertyDescriptor */ = element.descriptor;
|
|
if (element.kind === "field") {
|
|
var initializer = element.initializer;
|
|
descriptor = {
|
|
enumerable: descriptor.enumerable,
|
|
writable: descriptor.writable,
|
|
configurable: descriptor.configurable,
|
|
value: initializer === void 0 ? void 0 : initializer.call(receiver),
|
|
};
|
|
}
|
|
Object.defineProperty(receiver, element.key, descriptor);
|
|
},
|
|
|
|
// DecorateClass
|
|
decorateClass: function(
|
|
elements /*: ElementDescriptor[] */,
|
|
decorators /*: ClassDecorator[] */,
|
|
) /*: ElementsFinishers */ {
|
|
var newElements /*: ElementDescriptor[] */ = [];
|
|
var finishers /*: ClassFinisher[] */ = [];
|
|
var placements /*: Placements */ = {
|
|
static: [],
|
|
prototype: [],
|
|
own: [],
|
|
};
|
|
|
|
elements.forEach(function(element /*: ElementDescriptor */) {
|
|
this.addElementPlacement(element, placements);
|
|
}, this);
|
|
|
|
elements.forEach(function(element /*: ElementDescriptor */) {
|
|
if (!_hasDecorators(element)) return newElements.push(element);
|
|
|
|
var elementFinishersExtras /*: ElementFinishersExtras */ = this.decorateElement(
|
|
element,
|
|
placements,
|
|
);
|
|
newElements.push(elementFinishersExtras.element);
|
|
newElements.push.apply(newElements, elementFinishersExtras.extras);
|
|
finishers.push.apply(finishers, elementFinishersExtras.finishers);
|
|
}, this);
|
|
|
|
if (!decorators) {
|
|
return { elements: newElements, finishers: finishers };
|
|
}
|
|
|
|
var result /*: ElementsFinishers */ = this.decorateConstructor(
|
|
newElements,
|
|
decorators,
|
|
);
|
|
finishers.push.apply(finishers, result.finishers);
|
|
result.finishers = finishers;
|
|
|
|
return result;
|
|
},
|
|
|
|
// AddElementPlacement
|
|
addElementPlacement: function(
|
|
element /*: ElementDescriptor */,
|
|
placements /*: Placements */,
|
|
silent /*: boolean */,
|
|
) {
|
|
var keys = placements[element.placement];
|
|
if (!silent && keys.indexOf(element.key) !== -1) {
|
|
throw new TypeError("Duplicated element (" + element.key + ")");
|
|
}
|
|
keys.push(element.key);
|
|
},
|
|
|
|
// DecorateElement
|
|
decorateElement: function(
|
|
element /*: ElementDescriptor */,
|
|
placements /*: Placements */,
|
|
) /*: ElementFinishersExtras */ {
|
|
var extras /*: ElementDescriptor[] */ = [];
|
|
var finishers /*: ClassFinisher[] */ = [];
|
|
|
|
for (
|
|
var decorators = element.decorators, i = decorators.length - 1;
|
|
i >= 0;
|
|
i--
|
|
) {
|
|
// (inlined) RemoveElementPlacement
|
|
var keys = placements[element.placement];
|
|
keys.splice(keys.indexOf(element.key), 1);
|
|
|
|
var elementObject /*: ElementObjectInput */ = this.fromElementDescriptor(
|
|
element,
|
|
);
|
|
var elementFinisherExtras /*: ElementFinisherExtras */ = this.toElementFinisherExtras(
|
|
(0, decorators[i])(elementObject) /*: ElementObjectOutput */ ||
|
|
elementObject,
|
|
);
|
|
|
|
element = elementFinisherExtras.element;
|
|
this.addElementPlacement(element, placements);
|
|
|
|
if (elementFinisherExtras.finisher) {
|
|
finishers.push(elementFinisherExtras.finisher);
|
|
}
|
|
|
|
var newExtras /*: ElementDescriptor[] | void */ =
|
|
elementFinisherExtras.extras;
|
|
if (newExtras) {
|
|
for (var j = 0; j < newExtras.length; j++) {
|
|
this.addElementPlacement(newExtras[j], placements);
|
|
}
|
|
extras.push.apply(extras, newExtras);
|
|
}
|
|
}
|
|
|
|
return { element: element, finishers: finishers, extras: extras };
|
|
},
|
|
|
|
// DecorateConstructor
|
|
decorateConstructor: function(
|
|
elements /*: ElementDescriptor[] */,
|
|
decorators /*: ClassDecorator[] */,
|
|
) /*: ElementsFinishers */ {
|
|
var finishers /*: ClassFinisher[] */ = [];
|
|
|
|
for (var i = decorators.length - 1; i >= 0; i--) {
|
|
var obj /*: ClassObject */ = this.fromClassDescriptor(elements);
|
|
var elementsAndFinisher /*: ElementsFinisher */ = this.toClassDescriptor(
|
|
(0, decorators[i])(obj) /*: ClassObject */ || obj,
|
|
);
|
|
|
|
if (elementsAndFinisher.finisher !== undefined) {
|
|
finishers.push(elementsAndFinisher.finisher);
|
|
}
|
|
|
|
if (elementsAndFinisher.elements !== undefined) {
|
|
elements = elementsAndFinisher.elements;
|
|
|
|
for (var j = 0; j < elements.length - 1; j++) {
|
|
for (var k = j + 1; k < elements.length; k++) {
|
|
if (
|
|
elements[j].key === elements[k].key &&
|
|
elements[j].placement === elements[k].placement
|
|
) {
|
|
throw new TypeError(
|
|
"Duplicated element (" + elements[j].key + ")",
|
|
);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
return { elements: elements, finishers: finishers };
|
|
},
|
|
|
|
// FromElementDescriptor
|
|
fromElementDescriptor: function(
|
|
element /*: ElementDescriptor */,
|
|
) /*: ElementObject */ {
|
|
var obj /*: ElementObject */ = {
|
|
kind: element.kind,
|
|
key: element.key,
|
|
placement: element.placement,
|
|
descriptor: element.descriptor,
|
|
};
|
|
|
|
var desc = {
|
|
value: "Descriptor",
|
|
configurable: true,
|
|
};
|
|
Object.defineProperty(obj, Symbol.toStringTag, desc);
|
|
|
|
if (element.kind === "field") obj.initializer = element.initializer;
|
|
|
|
return obj;
|
|
},
|
|
|
|
// ToElementDescriptors
|
|
toElementDescriptors: function(
|
|
elementObjects /*: ElementObject[] */,
|
|
) /*: ElementDescriptor[] */ {
|
|
if (elementObjects === undefined) return;
|
|
return toArray(elementObjects).map(function(elementObject) {
|
|
var element = this.toElementDescriptor(elementObject);
|
|
this.disallowProperty(elementObject, "finisher", "An element descriptor");
|
|
this.disallowProperty(elementObject, "extras", "An element descriptor");
|
|
return element;
|
|
}, this);
|
|
},
|
|
|
|
// ToElementDescriptor
|
|
toElementDescriptor: function(
|
|
elementObject /*: ElementObject */,
|
|
) /*: ElementDescriptor */ {
|
|
var kind = String(elementObject.kind);
|
|
if (kind !== "method" && kind !== "field") {
|
|
throw new TypeError(
|
|
'An element descriptor\\'s .kind property must be either "method" or' +
|
|
' "field", but a decorator created an element descriptor with' +
|
|
' .kind "' +
|
|
kind +
|
|
'"',
|
|
);
|
|
}
|
|
|
|
var key = toPropertyKey(elementObject.key);
|
|
|
|
var placement = String(elementObject.placement);
|
|
if (
|
|
placement !== "static" &&
|
|
placement !== "prototype" &&
|
|
placement !== "own"
|
|
) {
|
|
throw new TypeError(
|
|
'An element descriptor\\'s .placement property must be one of "static",' +
|
|
' "prototype" or "own", but a decorator created an element descriptor' +
|
|
' with .placement "' +
|
|
placement +
|
|
'"',
|
|
);
|
|
}
|
|
|
|
var descriptor /*: PropertyDescriptor */ = elementObject.descriptor;
|
|
|
|
this.disallowProperty(elementObject, "elements", "An element descriptor");
|
|
|
|
var element /*: ElementDescriptor */ = {
|
|
kind: kind,
|
|
key: key,
|
|
placement: placement,
|
|
descriptor: Object.assign({}, descriptor),
|
|
};
|
|
|
|
if (kind !== "field") {
|
|
this.disallowProperty(elementObject, "initializer", "A method descriptor");
|
|
} else {
|
|
this.disallowProperty(
|
|
descriptor,
|
|
"get",
|
|
"The property descriptor of a field descriptor",
|
|
);
|
|
this.disallowProperty(
|
|
descriptor,
|
|
"set",
|
|
"The property descriptor of a field descriptor",
|
|
);
|
|
this.disallowProperty(
|
|
descriptor,
|
|
"value",
|
|
"The property descriptor of a field descriptor",
|
|
);
|
|
|
|
element.initializer = elementObject.initializer;
|
|
}
|
|
|
|
return element;
|
|
},
|
|
|
|
toElementFinisherExtras: function(
|
|
elementObject /*: ElementObject */,
|
|
) /*: ElementFinisherExtras */ {
|
|
var element /*: ElementDescriptor */ = this.toElementDescriptor(
|
|
elementObject,
|
|
);
|
|
var finisher /*: ClassFinisher */ = _optionalCallableProperty(
|
|
elementObject,
|
|
"finisher",
|
|
);
|
|
var extras /*: ElementDescriptors[] */ = this.toElementDescriptors(
|
|
elementObject.extras,
|
|
);
|
|
|
|
return { element: element, finisher: finisher, extras: extras };
|
|
},
|
|
|
|
// FromClassDescriptor
|
|
fromClassDescriptor: function(
|
|
elements /*: ElementDescriptor[] */,
|
|
) /*: ClassObject */ {
|
|
var obj = {
|
|
kind: "class",
|
|
elements: elements.map(this.fromElementDescriptor, this),
|
|
};
|
|
|
|
var desc = { value: "Descriptor", configurable: true };
|
|
Object.defineProperty(obj, Symbol.toStringTag, desc);
|
|
|
|
return obj;
|
|
},
|
|
|
|
// ToClassDescriptor
|
|
toClassDescriptor: function(
|
|
obj /*: ClassObject */,
|
|
) /*: ElementsFinisher */ {
|
|
var kind = String(obj.kind);
|
|
if (kind !== "class") {
|
|
throw new TypeError(
|
|
'A class descriptor\\'s .kind property must be "class", but a decorator' +
|
|
' created a class descriptor with .kind "' +
|
|
kind +
|
|
'"',
|
|
);
|
|
}
|
|
|
|
this.disallowProperty(obj, "key", "A class descriptor");
|
|
this.disallowProperty(obj, "placement", "A class descriptor");
|
|
this.disallowProperty(obj, "descriptor", "A class descriptor");
|
|
this.disallowProperty(obj, "initializer", "A class descriptor");
|
|
this.disallowProperty(obj, "extras", "A class descriptor");
|
|
|
|
var finisher = _optionalCallableProperty(obj, "finisher");
|
|
var elements = this.toElementDescriptors(obj.elements);
|
|
|
|
return { elements: elements, finisher: finisher };
|
|
},
|
|
|
|
// RunClassFinishers
|
|
runClassFinishers: function(
|
|
constructor /*: Class<*> */,
|
|
finishers /*: ClassFinisher[] */,
|
|
) /*: Class<*> */ {
|
|
for (var i = 0; i < finishers.length; i++) {
|
|
var newConstructor /*: ?Class<*> */ = (0, finishers[i])(constructor);
|
|
if (newConstructor !== undefined) {
|
|
// NOTE: This should check if IsConstructor(newConstructor) is false.
|
|
if (typeof newConstructor !== "function") {
|
|
throw new TypeError("Finishers must return a constructor.");
|
|
}
|
|
constructor = newConstructor;
|
|
}
|
|
}
|
|
return constructor;
|
|
},
|
|
|
|
disallowProperty: function(obj, name, objectType) {
|
|
if (obj[name] !== undefined) {
|
|
throw new TypeError(objectType + " can't have a ." + name + " property.");
|
|
}
|
|
}
|
|
};
|
|
|
|
return api;
|
|
}
|
|
|
|
// ClassElementEvaluation
|
|
function _createElementDescriptor(
|
|
def /*: ElementDefinition */,
|
|
) /*: ElementDescriptor */ {
|
|
var key = toPropertyKey(def.key);
|
|
|
|
var descriptor /*: PropertyDescriptor */;
|
|
if (def.kind === "method") {
|
|
descriptor = {
|
|
value: def.value,
|
|
writable: true,
|
|
configurable: true,
|
|
enumerable: false,
|
|
};
|
|
} else if (def.kind === "get") {
|
|
descriptor = { get: def.value, configurable: true, enumerable: false };
|
|
} else if (def.kind === "set") {
|
|
descriptor = { set: def.value, configurable: true, enumerable: false };
|
|
} else if (def.kind === "field") {
|
|
descriptor = { configurable: true, writable: true, enumerable: true };
|
|
}
|
|
|
|
var element /*: ElementDescriptor */ = {
|
|
kind: def.kind === "field" ? "field" : "method",
|
|
key: key,
|
|
placement: def.static
|
|
? "static"
|
|
: def.kind === "field"
|
|
? "own"
|
|
: "prototype",
|
|
descriptor: descriptor,
|
|
};
|
|
if (def.decorators) element.decorators = def.decorators;
|
|
if (def.kind === "field") element.initializer = def.value;
|
|
|
|
return element;
|
|
}
|
|
|
|
// CoalesceGetterSetter
|
|
function _coalesceGetterSetter(
|
|
element /*: ElementDescriptor */,
|
|
other /*: ElementDescriptor */,
|
|
) {
|
|
if (element.descriptor.get !== undefined) {
|
|
other.descriptor.get = element.descriptor.get;
|
|
} else {
|
|
other.descriptor.set = element.descriptor.set;
|
|
}
|
|
}
|
|
|
|
// CoalesceClassElements
|
|
function _coalesceClassElements(
|
|
elements /*: ElementDescriptor[] */,
|
|
) /*: ElementDescriptor[] */ {
|
|
var newElements /*: ElementDescriptor[] */ = [];
|
|
|
|
var isSameElement = function(
|
|
other /*: ElementDescriptor */,
|
|
) /*: boolean */ {
|
|
return (
|
|
other.kind === "method" &&
|
|
other.key === element.key &&
|
|
other.placement === element.placement
|
|
);
|
|
};
|
|
|
|
for (var i = 0; i < elements.length; i++) {
|
|
var element /*: ElementDescriptor */ = elements[i];
|
|
var other /*: ElementDescriptor */;
|
|
|
|
if (
|
|
element.kind === "method" &&
|
|
(other = newElements.find(isSameElement))
|
|
) {
|
|
if (
|
|
_isDataDescriptor(element.descriptor) ||
|
|
_isDataDescriptor(other.descriptor)
|
|
) {
|
|
if (_hasDecorators(element) || _hasDecorators(other)) {
|
|
throw new ReferenceError(
|
|
"Duplicated methods (" + element.key + ") can't be decorated.",
|
|
);
|
|
}
|
|
other.descriptor = element.descriptor;
|
|
} else {
|
|
if (_hasDecorators(element)) {
|
|
if (_hasDecorators(other)) {
|
|
throw new ReferenceError(
|
|
"Decorators can't be placed on different accessors with for " +
|
|
"the same property (" +
|
|
element.key +
|
|
").",
|
|
);
|
|
}
|
|
other.decorators = element.decorators;
|
|
}
|
|
_coalesceGetterSetter(element, other);
|
|
}
|
|
} else {
|
|
newElements.push(element);
|
|
}
|
|
}
|
|
|
|
return newElements;
|
|
}
|
|
|
|
function _hasDecorators(element /*: ElementDescriptor */) /*: boolean */ {
|
|
return element.decorators && element.decorators.length;
|
|
}
|
|
|
|
function _isDataDescriptor(desc /*: PropertyDescriptor */) /*: boolean */ {
|
|
return (
|
|
desc !== undefined &&
|
|
!(desc.value === undefined && desc.writable === undefined)
|
|
);
|
|
}
|
|
|
|
function _optionalCallableProperty /*::<T>*/(
|
|
obj /*: T */,
|
|
name /*: $Keys<T> */,
|
|
) /*: ?Function */ {
|
|
var value = obj[name];
|
|
if (value !== undefined && typeof value !== "function") {
|
|
throw new TypeError("Expected '" + name + "' to be a function");
|
|
}
|
|
return value;
|
|
}
|
|
|
|
`,d.classPrivateMethodGet=l("7.1.6")`
|
|
export default function _classPrivateMethodGet(receiver, privateSet, fn) {
|
|
if (!privateSet.has(receiver)) {
|
|
throw new TypeError("attempted to get private field on non-instance");
|
|
}
|
|
return fn;
|
|
}
|
|
`,d.checkPrivateRedeclaration=l("7.14.1")`
|
|
export default function _checkPrivateRedeclaration(obj, privateCollection) {
|
|
if (privateCollection.has(obj)) {
|
|
throw new TypeError("Cannot initialize the same private elements twice on an object");
|
|
}
|
|
}
|
|
`,d.classPrivateFieldInitSpec=l("7.14.1")`
|
|
import checkPrivateRedeclaration from "checkPrivateRedeclaration";
|
|
|
|
export default function _classPrivateFieldInitSpec(obj, privateMap, value) {
|
|
checkPrivateRedeclaration(obj, privateMap);
|
|
privateMap.set(obj, value);
|
|
}
|
|
`,d.classPrivateMethodInitSpec=l("7.14.1")`
|
|
import checkPrivateRedeclaration from "checkPrivateRedeclaration";
|
|
|
|
export default function _classPrivateMethodInitSpec(obj, privateSet) {
|
|
checkPrivateRedeclaration(obj, privateSet);
|
|
privateSet.add(obj);
|
|
}
|
|
`,d.classPrivateMethodSet=l("7.1.6")`
|
|
export default function _classPrivateMethodSet() {
|
|
throw new TypeError("attempted to reassign private method");
|
|
}
|
|
`,d.identity=l("7.17.0")`
|
|
export default function _identity(x) {
|
|
return x;
|
|
}
|
|
`},"./node_modules/.pnpm/@babel+helpers@7.22.15/node_modules/@babel/helpers/lib/index.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.ensure=function(C,P){b||(b=P),S(C)},r.get=w,r.getDependencies=function(C){return S(C).getDependencies()},r.list=void 0,r.minVersion=function(C){return S(C).minVersion};var a=u("./node_modules/.pnpm/@babel+traverse@7.22.15/node_modules/@babel/traverse/lib/index.js"),m=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/index.js"),d=u("./node_modules/.pnpm/@babel+helpers@7.22.15/node_modules/@babel/helpers/lib/helpers.js");let{assignmentExpression:s,cloneNode:l,expressionStatement:f,file:p,identifier:h}=m;function y(C){let P=[];for(;C.parentPath;C=C.parentPath)P.push(C.key),C.inList&&P.push(C.listKey);return P.reverse().join(".")}let b;function E(C){let P=new Set,D=new Set,L=new Map,I,j,M=[],R=[],z=[],Y={ImportDeclaration(G){let U=G.node.source.value;if(!d.default[U])throw G.buildCodeFrameError(`Unknown helper ${U}`);if(G.get("specifiers").length!==1||!G.get("specifiers.0").isImportDefaultSpecifier())throw G.buildCodeFrameError("Helpers can only import a default value");let B=G.node.specifiers[0].local;L.set(B,U),R.push(y(G))},ExportDefaultDeclaration(G){let U=G.get("declaration");if(!U.isFunctionDeclaration()||!U.node.id)throw U.buildCodeFrameError("Helpers can only export named function declarations");I=U.node.id.name,j=y(G)},ExportAllDeclaration(G){throw G.buildCodeFrameError("Helpers can only export default")},ExportNamedDeclaration(G){throw G.buildCodeFrameError("Helpers can only export default")},Statement(G){G.isImportDeclaration()||G.isExportDeclaration()||G.skip()}},$={Program(G){let U=G.scope.getAllBindings();Object.keys(U).forEach(B=>{B!==I&&(L.has(U[B].identifier)||D.add(B))})},ReferencedIdentifier(G){let U=G.node.name,B=G.scope.getBinding(U);B?L.has(B.identifier)&&z.push(y(G)):P.add(U)},AssignmentExpression(G){let U=G.get("left");if(!(I in U.getBindingIdentifiers()))return;if(!U.isIdentifier())throw U.buildCodeFrameError("Only simple assignments to exports are allowed in helpers");let B=G.scope.getBinding(I);B!=null&&B.scope.path.isProgram()&&M.push(y(G))}};if((0,a.default)(C.ast,Y,C.scope),(0,a.default)(C.ast,$,C.scope),!j)throw new Error("Helpers must have a default export.");return M.reverse(),{globals:Array.from(P),localBindingNames:Array.from(D),dependencies:L,exportBindingAssignments:M,exportPath:j,exportName:I,importBindingsReferences:z,importPaths:R}}let v=Object.create(null);function S(C){if(!v[C]){let P=d.default[C];if(!P)throw Object.assign(new ReferenceError(`Unknown helper ${C}`),{code:"BABEL_HELPER_UNKNOWN",helper:C});let D=()=>{if(!b){let I={ast:p(P.ast()),path:null};return(0,a.default)(I.ast,{Program:j=>(I.path=j).stop()}),I}return new b({filename:`babel-helper://${C}`},{ast:p(P.ast()),code:"[internal Babel helper code]",inputMap:null})},L=null;v[C]={minVersion:P.minVersion,build(I,j,M){let R=D();return L||(L=E(R)),function(z,Y,$,G,U){if(G&&!$)throw new Error("Unexpected local bindings for module-based helpers.");if(!$)return;let{localBindingNames:B,dependencies:N,exportBindingAssignments:X,exportPath:H,exportName:F,importBindingsReferences:W,importPaths:V}=Y,Q={};N.forEach((se,ye)=>{Q[ye.name]=typeof U=="function"&&U(se)||ye});let ne={},ue=new Set(G||[]);B.forEach(se=>{let ye=se;for(;ue.has(ye);)ye="_"+ye;ye!==se&&(ne[se]=ye)}),$.type==="Identifier"&&F!==$.name&&(ne[F]=$.name);let{path:de}=z,Ae=de.get(H),Oe=V.map(se=>de.get(se)),Me=W.map(se=>de.get(se)),ae=Ae.get("declaration");if($.type==="Identifier")Ae.replaceWith(ae);else{if($.type!=="MemberExpression")throw new Error("Unexpected helper format.");X.forEach(se=>{let ye=de.get(se);ye.replaceWith(s("=",$,ye.node))}),Ae.replaceWith(ae),de.pushContainer("body",f(s("=",$,h(F))))}Object.keys(ne).forEach(se=>{de.scope.rename(se,ne[se])});for(let se of Oe)se.remove();for(let se of Me){let ye=l(Q[se.node.name]);se.replaceWith(ye)}}(R,L,j,M,I),{nodes:R.ast.program.body,globals:L.globals}},getDependencies:()=>(L||(L=E(D())),Array.from(L.dependencies.values()))}}return v[C]}function w(C,P,D,L){return S(C).build(P,D,L)}let A=Object.keys(d.default).map(C=>C.replace(/^_/,""));r.list=A;var x=w;r.default=x},"./node_modules/.pnpm/@babel+parser@7.22.16/node_modules/@babel/parser/lib/index.js":(o,r)=>{"use strict";function u(te,c){if(te==null)return{};var g,_,O={},q=Object.keys(te);for(_=0;_<q.length;_++)g=q[_],c.indexOf(g)>=0||(O[g]=te[g]);return O}Object.defineProperty(r,"__esModule",{value:!0});class a{constructor(c,g,_){this.line=void 0,this.column=void 0,this.index=void 0,this.line=c,this.column=g,this.index=_}}class m{constructor(c,g){this.start=void 0,this.end=void 0,this.filename=void 0,this.identifierName=void 0,this.start=c,this.end=g}}function d(te,c){let{line:g,column:_,index:O}=te;return new a(g,_+c,O+c)}let s="BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED";var l={ImportMetaOutsideModule:{message:`import.meta may appear only with 'sourceType: "module"'`,code:s},ImportOutsideModule:{message:`'import' and 'export' may appear only with 'sourceType: "module"'`,code:s}};let f={ArrayPattern:"array destructuring pattern",AssignmentExpression:"assignment expression",AssignmentPattern:"assignment expression",ArrowFunctionExpression:"arrow function expression",ConditionalExpression:"conditional expression",CatchClause:"catch clause",ForOfStatement:"for-of statement",ForInStatement:"for-in statement",ForStatement:"for-loop",FormalParameters:"function parameter list",Identifier:"identifier",ImportSpecifier:"import specifier",ImportDefaultSpecifier:"import default specifier",ImportNamespaceSpecifier:"import namespace specifier",ObjectPattern:"object destructuring pattern",ParenthesizedExpression:"parenthesized expression",RestElement:"rest element",UpdateExpression:{true:"prefix operation",false:"postfix operation"},VariableDeclarator:"variable declaration",YieldExpression:"yield expression"},p=({type:te,prefix:c})=>te==="UpdateExpression"?f.UpdateExpression[String(c)]:f[te];var h={AccessorIsGenerator:({kind:te})=>`A ${te}ter cannot be a generator.`,ArgumentsInClass:"'arguments' is only allowed in functions and class methods.",AsyncFunctionInSingleStatementContext:"Async functions can only be declared at the top level or inside a block.",AwaitBindingIdentifier:"Can not use 'await' as identifier inside an async function.",AwaitBindingIdentifierInStaticBlock:"Can not use 'await' as identifier inside a static block.",AwaitExpressionFormalParameter:"'await' is not allowed in async function parameters.",AwaitUsingNotInAsyncContext:"'await using' is only allowed within async functions and at the top levels of modules.",AwaitNotInAsyncContext:"'await' is only allowed within async functions and at the top levels of modules.",AwaitNotInAsyncFunction:"'await' is only allowed within async functions.",BadGetterArity:"A 'get' accessor must not have any formal parameters.",BadSetterArity:"A 'set' accessor must have exactly one formal parameter.",BadSetterRestParameter:"A 'set' accessor function argument must not be a rest parameter.",ConstructorClassField:"Classes may not have a field named 'constructor'.",ConstructorClassPrivateField:"Classes may not have a private field named '#constructor'.",ConstructorIsAccessor:"Class constructor may not be an accessor.",ConstructorIsAsync:"Constructor can't be an async function.",ConstructorIsGenerator:"Constructor can't be a generator.",DeclarationMissingInitializer:({kind:te})=>`Missing initializer in ${te} declaration.`,DecoratorArgumentsOutsideParentheses:"Decorator arguments must be moved inside parentheses: use '@(decorator(args))' instead of '@(decorator)(args)'.",DecoratorBeforeExport:"Decorators must be placed *before* the 'export' keyword. Remove the 'decoratorsBeforeExport: true' option to use the 'export @decorator class {}' syntax.",DecoratorsBeforeAfterExport:"Decorators can be placed *either* before or after the 'export' keyword, but not in both locations at the same time.",DecoratorConstructor:"Decorators can't be used with a constructor. Did you mean '@dec class { ... }'?",DecoratorExportClass:"Decorators must be placed *after* the 'export' keyword. Remove the 'decoratorsBeforeExport: false' option to use the '@decorator export class {}' syntax.",DecoratorSemicolon:"Decorators must not be followed by a semicolon.",DecoratorStaticBlock:"Decorators can't be used with a static block.",DeletePrivateField:"Deleting a private field is not allowed.",DestructureNamedImport:"ES2015 named imports do not destructure. Use another statement for destructuring after the import.",DuplicateConstructor:"Duplicate constructor in the same class.",DuplicateDefaultExport:"Only one default export allowed per module.",DuplicateExport:({exportName:te})=>`\`${te}\` has already been exported. Exported identifiers must be unique.`,DuplicateProto:"Redefinition of __proto__ property.",DuplicateRegExpFlags:"Duplicate regular expression flag.",ElementAfterRest:"Rest element must be last element.",EscapedCharNotAnIdentifier:"Invalid Unicode escape.",ExportBindingIsString:({localName:te,exportName:c})=>`A string literal cannot be used as an exported binding without \`from\`.
|
|
- Did you mean \`export { '${te}' as '${c}' } from 'some-module'\`?`,ExportDefaultFromAsIdentifier:"'from' is not allowed as an identifier after 'export default'.",ForInOfLoopInitializer:({type:te})=>`'${te==="ForInStatement"?"for-in":"for-of"}' loop variable declaration may not have an initializer.`,ForInUsing:"For-in loop may not start with 'using' declaration.",ForOfAsync:"The left-hand side of a for-of loop may not be 'async'.",ForOfLet:"The left-hand side of a for-of loop may not start with 'let'.",GeneratorInSingleStatementContext:"Generators can only be declared at the top level or inside a block.",IllegalBreakContinue:({type:te})=>`Unsyntactic ${te==="BreakStatement"?"break":"continue"}.`,IllegalLanguageModeDirective:"Illegal 'use strict' directive in function with non-simple parameter list.",IllegalReturn:"'return' outside of function.",ImportAttributesUseAssert:"The `assert` keyword in import attributes is deprecated and it has been replaced by the `with` keyword. You can enable the `deprecatedAssertSyntax: true` option in the import attributes plugin to suppress this error.",ImportBindingIsString:({importName:te})=>`A string literal cannot be used as an imported binding.
|
|
- Did you mean \`import { "${te}" as foo }\`?`,ImportCallArgumentTrailingComma:"Trailing comma is disallowed inside import(...) arguments.",ImportCallArity:({maxArgumentCount:te})=>`\`import()\` requires exactly ${te===1?"one argument":"one or two arguments"}.`,ImportCallNotNewExpression:"Cannot use new with import(...).",ImportCallSpreadArgument:"`...` is not allowed in `import()`.",ImportJSONBindingNotDefault:"A JSON module can only be imported with `default`.",ImportReflectionHasAssertion:"`import module x` cannot have assertions.",ImportReflectionNotBinding:'Only `import module x from "./module"` is valid.',IncompatibleRegExpUVFlags:"The 'u' and 'v' regular expression flags cannot be enabled at the same time.",InvalidBigIntLiteral:"Invalid BigIntLiteral.",InvalidCodePoint:"Code point out of bounds.",InvalidCoverInitializedName:"Invalid shorthand property initializer.",InvalidDecimal:"Invalid decimal.",InvalidDigit:({radix:te})=>`Expected number in radix ${te}.`,InvalidEscapeSequence:"Bad character escape sequence.",InvalidEscapeSequenceTemplate:"Invalid escape sequence in template.",InvalidEscapedReservedWord:({reservedWord:te})=>`Escape sequence in keyword ${te}.`,InvalidIdentifier:({identifierName:te})=>`Invalid identifier ${te}.`,InvalidLhs:({ancestor:te})=>`Invalid left-hand side in ${p(te)}.`,InvalidLhsBinding:({ancestor:te})=>`Binding invalid left-hand side in ${p(te)}.`,InvalidNumber:"Invalid number.",InvalidOrMissingExponent:"Floating-point numbers require a valid exponent after the 'e'.",InvalidOrUnexpectedToken:({unexpected:te})=>`Unexpected character '${te}'.`,InvalidParenthesizedAssignment:"Invalid parenthesized assignment pattern.",InvalidPrivateFieldResolution:({identifierName:te})=>`Private name #${te} is not defined.`,InvalidPropertyBindingPattern:"Binding member expression.",InvalidRecordProperty:"Only properties and spread elements are allowed in record definitions.",InvalidRestAssignmentPattern:"Invalid rest operator's argument.",LabelRedeclaration:({labelName:te})=>`Label '${te}' is already declared.`,LetInLexicalBinding:"'let' is disallowed as a lexically bound name.",LineTerminatorBeforeArrow:"No line break is allowed before '=>'.",MalformedRegExpFlags:"Invalid regular expression flag.",MissingClassName:"A class name is required.",MissingEqInAssignment:"Only '=' operator can be used for specifying default value.",MissingSemicolon:"Missing semicolon.",MissingPlugin:({missingPlugin:te})=>`This experimental syntax requires enabling the parser plugin: ${te.map(c=>JSON.stringify(c)).join(", ")}.`,MissingOneOfPlugins:({missingPlugin:te})=>`This experimental syntax requires enabling one of the following parser plugin(s): ${te.map(c=>JSON.stringify(c)).join(", ")}.`,MissingUnicodeEscape:"Expecting Unicode escape sequence \\uXXXX.",MixingCoalesceWithLogical:"Nullish coalescing operator(??) requires parens when mixing with logical operators.",ModuleAttributeDifferentFromType:"The only accepted module attribute is `type`.",ModuleAttributeInvalidValue:"Only string literals are allowed as module attribute values.",ModuleAttributesWithDuplicateKeys:({key:te})=>`Duplicate key "${te}" is not allowed in module attributes.`,ModuleExportNameHasLoneSurrogate:({surrogateCharCode:te})=>`An export name cannot include a lone surrogate, found '\\u${te.toString(16)}'.`,ModuleExportUndefined:({localName:te})=>`Export '${te}' is not defined.`,MultipleDefaultsInSwitch:"Multiple default clauses.",NewlineAfterThrow:"Illegal newline after throw.",NoCatchOrFinally:"Missing catch or finally clause.",NumberIdentifier:"Identifier directly after number.",NumericSeparatorInEscapeSequence:"Numeric separators are not allowed inside unicode escape sequences or hex escape sequences.",ObsoleteAwaitStar:"'await*' has been removed from the async functions proposal. Use Promise.all() instead.",OptionalChainingNoNew:"Constructors in/after an Optional Chain are not allowed.",OptionalChainingNoTemplate:"Tagged Template Literals are not allowed in optionalChain.",OverrideOnConstructor:"'override' modifier cannot appear on a constructor declaration.",ParamDupe:"Argument name clash.",PatternHasAccessor:"Object pattern can't contain getter or setter.",PatternHasMethod:"Object pattern can't contain methods.",PrivateInExpectedIn:({identifierName:te})=>`Private names are only allowed in property accesses (\`obj.#${te}\`) or in \`in\` expressions (\`#${te} in obj\`).`,PrivateNameRedeclaration:({identifierName:te})=>`Duplicate private name #${te}.`,RecordExpressionBarIncorrectEndSyntaxType:"Record expressions ending with '|}' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",RecordExpressionBarIncorrectStartSyntaxType:"Record expressions starting with '{|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",RecordExpressionHashIncorrectStartSyntaxType:"Record expressions starting with '#{' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'.",RecordNoProto:"'__proto__' is not allowed in Record expressions.",RestTrailingComma:"Unexpected trailing comma after rest element.",SloppyFunction:"In non-strict mode code, functions can only be declared at top level or inside a block.",SloppyFunctionAnnexB:"In non-strict mode code, functions can only be declared at top level, inside a block, or as the body of an if statement.",StaticPrototype:"Classes may not have static property named prototype.",SuperNotAllowed:"`super()` is only valid inside a class constructor of a subclass. Maybe a typo in the method name ('constructor') or not extending another class?",SuperPrivateField:"Private fields can't be accessed on super.",TrailingDecorator:"Decorators must be attached to a class element.",TupleExpressionBarIncorrectEndSyntaxType:"Tuple expressions ending with '|]' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",TupleExpressionBarIncorrectStartSyntaxType:"Tuple expressions starting with '[|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",TupleExpressionHashIncorrectStartSyntaxType:"Tuple expressions starting with '#[' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'.",UnexpectedArgumentPlaceholder:"Unexpected argument placeholder.",UnexpectedAwaitAfterPipelineBody:'Unexpected "await" after pipeline body; await must have parentheses in minimal proposal.',UnexpectedDigitAfterHash:"Unexpected digit after hash token.",UnexpectedImportExport:"'import' and 'export' may only appear at the top level.",UnexpectedKeyword:({keyword:te})=>`Unexpected keyword '${te}'.`,UnexpectedLeadingDecorator:"Leading decorators must be attached to a class declaration.",UnexpectedLexicalDeclaration:"Lexical declaration cannot appear in a single-statement context.",UnexpectedNewTarget:"`new.target` can only be used in functions or class properties.",UnexpectedNumericSeparator:"A numeric separator is only allowed between two digits.",UnexpectedPrivateField:"Unexpected private name.",UnexpectedReservedWord:({reservedWord:te})=>`Unexpected reserved word '${te}'.`,UnexpectedSuper:"'super' is only allowed in object methods and classes.",UnexpectedToken:({expected:te,unexpected:c})=>`Unexpected token${c?` '${c}'.`:""}${te?`, expected "${te}"`:""}`,UnexpectedTokenUnaryExponentiation:"Illegal expression. Wrap left hand side or entire exponentiation in parentheses.",UnexpectedUsingDeclaration:"Using declaration cannot appear in the top level when source type is `script`.",UnsupportedBind:"Binding should be performed on object property.",UnsupportedDecoratorExport:"A decorated export must export a class declaration.",UnsupportedDefaultExport:"Only expressions, functions or classes are allowed as the `default` export.",UnsupportedImport:"`import` can only be used in `import()` or `import.meta`.",UnsupportedMetaProperty:({target:te,onlyValidPropertyName:c})=>`The only valid meta property for ${te} is ${te}.${c}.`,UnsupportedParameterDecorator:"Decorators cannot be used to decorate parameters.",UnsupportedPropertyDecorator:"Decorators cannot be used to decorate object literal properties.",UnsupportedSuper:"'super' can only be used with function calls (i.e. super()) or in property accesses (i.e. super.prop or super[prop]).",UnterminatedComment:"Unterminated comment.",UnterminatedRegExp:"Unterminated regular expression.",UnterminatedString:"Unterminated string constant.",UnterminatedTemplate:"Unterminated template.",UsingDeclarationHasBindingPattern:"Using declaration cannot have destructuring patterns.",VarRedeclaration:({identifierName:te})=>`Identifier '${te}' has already been declared.`,YieldBindingIdentifier:"Can not use 'yield' as identifier inside a generator.",YieldInParameter:"Yield expression is not allowed in formal parameters.",ZeroDigitNumericSeparator:"Numeric separator can not be used after leading 0."};let y=new Set(["ArrowFunctionExpression","AssignmentExpression","ConditionalExpression","YieldExpression"]);var b={PipeBodyIsTighter:"Unexpected yield after pipeline body; any yield expression acting as Hack-style pipe body must be parenthesized due to its loose operator precedence.",PipeTopicRequiresHackPipes:'Topic reference is used, but the pipelineOperator plugin was not passed a "proposal": "hack" or "smart" option.',PipeTopicUnbound:"Topic reference is unbound; it must be inside a pipe body.",PipeTopicUnconfiguredToken:({token:te})=>`Invalid topic token ${te}. In order to use ${te} as a topic reference, the pipelineOperator plugin must be configured with { "proposal": "hack", "topicToken": "${te}" }.`,PipeTopicUnused:"Hack-style pipe body does not contain a topic reference; Hack-style pipes must use topic at least once.",PipeUnparenthesizedBody:({type:te})=>`Hack-style pipe body cannot be an unparenthesized ${p({type:te})}; please wrap it in parentheses.`,PipelineBodyNoArrow:'Unexpected arrow "=>" after pipeline body; arrow function in pipeline body must be parenthesized.',PipelineBodySequenceExpression:"Pipeline body may not be a comma-separated sequence expression.",PipelineHeadSequenceExpression:"Pipeline head should not be a comma-separated sequence expression.",PipelineTopicUnused:"Pipeline is in topic style but does not use topic reference.",PrimaryTopicNotAllowed:"Topic reference was used in a lexical context without topic binding.",PrimaryTopicRequiresSmartPipeline:'Topic reference is used, but the pipelineOperator plugin was not passed a "proposal": "hack" or "smart" option.'};let E=["toMessage"],v=["message"];function S(te,c,g){Object.defineProperty(te,c,{enumerable:!1,configurable:!0,value:g})}function w(te){let{toMessage:c}=te,g=u(te,E);return function _({loc:O,details:q}){let ee=new SyntaxError;return Object.assign(ee,g,{loc:O,pos:O.index}),"missingPlugin"in q&&Object.assign(ee,{missingPlugin:q.missingPlugin}),S(ee,"clone",function(le={}){var fe;let{line:we,column:Re,index:at}=(fe=le.loc)!=null?fe:O;return _({loc:new a(we,Re,at),details:Object.assign({},q,le.details)})}),S(ee,"details",q),Object.defineProperty(ee,"message",{configurable:!0,get(){let le=`${c(q)} (${O.line}:${O.column})`;return this.message=le,le},set(le){Object.defineProperty(this,"message",{value:le,writable:!0})}}),ee}}function A(te,c){if(Array.isArray(te))return _=>A(_,te[0]);let g={};for(let _ of Object.keys(te)){let O=te[_],q=typeof O=="string"?{message:()=>O}:typeof O=="function"?{message:O}:O,{message:ee}=q,le=u(q,v),fe=typeof ee=="string"?()=>ee:ee;g[_]=w(Object.assign({code:"BABEL_PARSER_SYNTAX_ERROR",reasonCode:_,toMessage:fe},c?{syntaxPlugin:c}:{},le))}return g}let x=Object.assign({},A(l),A(h),A({StrictDelete:"Deleting local variable in strict mode.",StrictEvalArguments:({referenceName:te})=>`Assigning to '${te}' in strict mode.`,StrictEvalArgumentsBinding:({bindingName:te})=>`Binding '${te}' in strict mode.`,StrictFunction:"In strict mode code, functions can only be declared at top level or inside a block.",StrictNumericEscape:"The only valid numeric escape in strict mode is '\\0'.",StrictOctalLiteral:"Legacy octal literals are not allowed in strict mode.",StrictWith:"'with' in strict mode."}),A`pipelineOperator`(b)),{defineProperty:C}=Object,P=(te,c)=>C(te,c,{enumerable:!1,value:te[c]});function D(te){return te.loc.start&&P(te.loc.start,"index"),te.loc.end&&P(te.loc.end,"index"),te}class L{constructor(c,g){this.token=void 0,this.preserveSpace=void 0,this.token=c,this.preserveSpace=!!g}}let I={brace:new L("{"),j_oTag:new L("<tag"),j_cTag:new L("</tag"),j_expr:new L("<tag>...</tag>",!0)};I.template=new L("`",!0);class j{constructor(c,g={}){this.label=void 0,this.keyword=void 0,this.beforeExpr=void 0,this.startsExpr=void 0,this.rightAssociative=void 0,this.isLoop=void 0,this.isAssign=void 0,this.prefix=void 0,this.postfix=void 0,this.binop=void 0,this.label=c,this.keyword=g.keyword,this.beforeExpr=!!g.beforeExpr,this.startsExpr=!!g.startsExpr,this.rightAssociative=!!g.rightAssociative,this.isLoop=!!g.isLoop,this.isAssign=!!g.isAssign,this.prefix=!!g.prefix,this.postfix=!!g.postfix,this.binop=g.binop!=null?g.binop:null,this.updateContext=null}}let M=new Map;function R(te,c={}){c.keyword=te;let g=H(te,c);return M.set(te,g),g}function z(te,c){return H(te,{beforeExpr:!0,binop:c})}let Y=-1,$=[],G=[],U=[],B=[],N=[],X=[];function H(te,c={}){var g,_,O,q;return++Y,G.push(te),U.push((g=c.binop)!=null?g:-1),B.push((_=c.beforeExpr)!=null&&_),N.push((O=c.startsExpr)!=null&&O),X.push((q=c.prefix)!=null&&q),$.push(new j(te,c)),Y}function F(te,c={}){var g,_,O,q;return++Y,M.set(te,Y),G.push(te),U.push((g=c.binop)!=null?g:-1),B.push((_=c.beforeExpr)!=null&&_),N.push((O=c.startsExpr)!=null&&O),X.push((q=c.prefix)!=null&&q),$.push(new j("name",c)),Y}let W={bracketL:H("[",{beforeExpr:!0,startsExpr:!0}),bracketHashL:H("#[",{beforeExpr:!0,startsExpr:!0}),bracketBarL:H("[|",{beforeExpr:!0,startsExpr:!0}),bracketR:H("]"),bracketBarR:H("|]"),braceL:H("{",{beforeExpr:!0,startsExpr:!0}),braceBarL:H("{|",{beforeExpr:!0,startsExpr:!0}),braceHashL:H("#{",{beforeExpr:!0,startsExpr:!0}),braceR:H("}"),braceBarR:H("|}"),parenL:H("(",{beforeExpr:!0,startsExpr:!0}),parenR:H(")"),comma:H(",",{beforeExpr:!0}),semi:H(";",{beforeExpr:!0}),colon:H(":",{beforeExpr:!0}),doubleColon:H("::",{beforeExpr:!0}),dot:H("."),question:H("?",{beforeExpr:!0}),questionDot:H("?."),arrow:H("=>",{beforeExpr:!0}),template:H("template"),ellipsis:H("...",{beforeExpr:!0}),backQuote:H("`",{startsExpr:!0}),dollarBraceL:H("${",{beforeExpr:!0,startsExpr:!0}),templateTail:H("...`",{startsExpr:!0}),templateNonTail:H("...${",{beforeExpr:!0,startsExpr:!0}),at:H("@"),hash:H("#",{startsExpr:!0}),interpreterDirective:H("#!..."),eq:H("=",{beforeExpr:!0,isAssign:!0}),assign:H("_=",{beforeExpr:!0,isAssign:!0}),slashAssign:H("_=",{beforeExpr:!0,isAssign:!0}),xorAssign:H("_=",{beforeExpr:!0,isAssign:!0}),moduloAssign:H("_=",{beforeExpr:!0,isAssign:!0}),incDec:H("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),bang:H("!",{beforeExpr:!0,prefix:!0,startsExpr:!0}),tilde:H("~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),doubleCaret:H("^^",{startsExpr:!0}),doubleAt:H("@@",{startsExpr:!0}),pipeline:z("|>",0),nullishCoalescing:z("??",1),logicalOR:z("||",1),logicalAND:z("&&",2),bitwiseOR:z("|",3),bitwiseXOR:z("^",4),bitwiseAND:z("&",5),equality:z("==/!=/===/!==",6),lt:z("</>/<=/>=",7),gt:z("</>/<=/>=",7),relational:z("</>/<=/>=",7),bitShift:z("<</>>/>>>",8),bitShiftL:z("<</>>/>>>",8),bitShiftR:z("<</>>/>>>",8),plusMin:H("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:H("%",{binop:10,startsExpr:!0}),star:H("*",{binop:10}),slash:z("/",10),exponent:H("**",{beforeExpr:!0,binop:11,rightAssociative:!0}),_in:R("in",{beforeExpr:!0,binop:7}),_instanceof:R("instanceof",{beforeExpr:!0,binop:7}),_break:R("break"),_case:R("case",{beforeExpr:!0}),_catch:R("catch"),_continue:R("continue"),_debugger:R("debugger"),_default:R("default",{beforeExpr:!0}),_else:R("else",{beforeExpr:!0}),_finally:R("finally"),_function:R("function",{startsExpr:!0}),_if:R("if"),_return:R("return",{beforeExpr:!0}),_switch:R("switch"),_throw:R("throw",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_try:R("try"),_var:R("var"),_const:R("const"),_with:R("with"),_new:R("new",{beforeExpr:!0,startsExpr:!0}),_this:R("this",{startsExpr:!0}),_super:R("super",{startsExpr:!0}),_class:R("class",{startsExpr:!0}),_extends:R("extends",{beforeExpr:!0}),_export:R("export"),_import:R("import",{startsExpr:!0}),_null:R("null",{startsExpr:!0}),_true:R("true",{startsExpr:!0}),_false:R("false",{startsExpr:!0}),_typeof:R("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:R("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:R("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_do:R("do",{isLoop:!0,beforeExpr:!0}),_for:R("for",{isLoop:!0}),_while:R("while",{isLoop:!0}),_as:F("as",{startsExpr:!0}),_assert:F("assert",{startsExpr:!0}),_async:F("async",{startsExpr:!0}),_await:F("await",{startsExpr:!0}),_from:F("from",{startsExpr:!0}),_get:F("get",{startsExpr:!0}),_let:F("let",{startsExpr:!0}),_meta:F("meta",{startsExpr:!0}),_of:F("of",{startsExpr:!0}),_sent:F("sent",{startsExpr:!0}),_set:F("set",{startsExpr:!0}),_static:F("static",{startsExpr:!0}),_using:F("using",{startsExpr:!0}),_yield:F("yield",{startsExpr:!0}),_asserts:F("asserts",{startsExpr:!0}),_checks:F("checks",{startsExpr:!0}),_exports:F("exports",{startsExpr:!0}),_global:F("global",{startsExpr:!0}),_implements:F("implements",{startsExpr:!0}),_intrinsic:F("intrinsic",{startsExpr:!0}),_infer:F("infer",{startsExpr:!0}),_is:F("is",{startsExpr:!0}),_mixins:F("mixins",{startsExpr:!0}),_proto:F("proto",{startsExpr:!0}),_require:F("require",{startsExpr:!0}),_satisfies:F("satisfies",{startsExpr:!0}),_keyof:F("keyof",{startsExpr:!0}),_readonly:F("readonly",{startsExpr:!0}),_unique:F("unique",{startsExpr:!0}),_abstract:F("abstract",{startsExpr:!0}),_declare:F("declare",{startsExpr:!0}),_enum:F("enum",{startsExpr:!0}),_module:F("module",{startsExpr:!0}),_namespace:F("namespace",{startsExpr:!0}),_interface:F("interface",{startsExpr:!0}),_type:F("type",{startsExpr:!0}),_opaque:F("opaque",{startsExpr:!0}),name:H("name",{startsExpr:!0}),string:H("string",{startsExpr:!0}),num:H("num",{startsExpr:!0}),bigint:H("bigint",{startsExpr:!0}),decimal:H("decimal",{startsExpr:!0}),regexp:H("regexp",{startsExpr:!0}),privateName:H("#name",{startsExpr:!0}),eof:H("eof"),jsxName:H("jsxName"),jsxText:H("jsxText",{beforeExpr:!0}),jsxTagStart:H("jsxTagStart",{startsExpr:!0}),jsxTagEnd:H("jsxTagEnd"),placeholder:H("%%",{startsExpr:!0})};function V(te){return te>=93&&te<=130}function Q(te){return te>=58&&te<=130}function ne(te){return te>=58&&te<=134}function ue(te){return N[te]}function de(te){return te>=127&&te<=129}function Ae(te){return te>=58&&te<=92}function Oe(te){return G[te]}function Me(te){return U[te]}function ae(te){return te>=24&&te<=25}function se(te){return $[te]}$[8].updateContext=te=>{te.pop()},$[5].updateContext=$[7].updateContext=$[23].updateContext=te=>{te.push(I.brace)},$[22].updateContext=te=>{te[te.length-1]===I.template?te.pop():te.push(I.template)},$[140].updateContext=te=>{te.push(I.j_expr,I.j_oTag)};let ye="\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC",be="\u200C\u200D\xB7\u0300-\u036F\u0387\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u0669\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u06F0-\u06F9\u0711\u0730-\u074A\u07A6-\u07B0\u07C0-\u07C9\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0898-\u089F\u08CA-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0966-\u096F\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09E6-\u09EF\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A66-\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AE6-\u0AEF\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C00-\u0C04\u0C3C\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0CE6-\u0CEF\u0CF3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D66-\u0D6F\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0E50-\u0E59\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECE\u0ED0-\u0ED9\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1040-\u1049\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F-\u109D\u135D-\u135F\u1369-\u1371\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u180F-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19D0-\u19DA\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\u1ABF-\u1ACE\u1B00-\u1B04\u1B34-\u1B44\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BB0-\u1BB9\u1BE6-\u1BF3\u1C24-\u1C37\u1C40-\u1C49\u1C50-\u1C59\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DFF\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA620-\uA629\uA66F\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA82C\uA880\uA881\uA8B4-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F1\uA8FF-\uA909\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9D0-\uA9D9\uA9E5\uA9F0-\uA9F9\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA50-\uAA59\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uABF0-\uABF9\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFF10-\uFF19\uFF3F",Ee=new RegExp("["+ye+"]"),oe=new RegExp("["+ye+be+"]");ye=be=null;let J=[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,68,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,71,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,349,41,7,1,79,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,159,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,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,4026,582,8634,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8936,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,757,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,4153,7,221,3,5761,15,7472,3104,541,1507,4938,6,4191],De=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,81,2,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,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,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,406,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,330,3,10,1,2,0,49,6,4,4,14,9,5351,0,7,14,13835,9,87,9,39,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,4706,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,983,6,110,6,6,9,4759,9,787719,239];function Ke(te,c){let g=65536;for(let _=0,O=c.length;_<O;_+=2){if(g+=c[_],g>te)return!1;if(g+=c[_+1],g>=te)return!0}return!1}function ke(te){return te<65?te===36:te<=90||(te<97?te===95:te<=122||(te<=65535?te>=170&&Ee.test(String.fromCharCode(te)):Ke(te,J)))}function Qe(te){return te<48?te===36:te<58||!(te<65)&&(te<=90||(te<97?te===95:te<=122||(te<=65535?te>=170&&oe.test(String.fromCharCode(te)):Ke(te,J)||Ke(te,De))))}let pt=["implements","interface","let","package","private","protected","public","static","yield"],dt=["eval","arguments"],Ue=new Set(["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"]),ce=new Set(pt),xe=new Set(dt);function he(te,c){return c&&te==="await"||te==="enum"}function ve(te,c){return he(te,c)||ce.has(te)}function et(te){return xe.has(te)}function ut(te,c){return ve(te,c)||et(te)}let Kt=new Set(["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete","implements","interface","let","package","private","protected","public","static","yield","eval","arguments","enum","await"]);class zt{constructor(c){this.var=new Set,this.lexical=new Set,this.functions=new Set,this.flags=c}}class Zt{constructor(c,g){this.parser=void 0,this.scopeStack=[],this.inModule=void 0,this.undefinedExports=new Map,this.parser=c,this.inModule=g}get inTopLevel(){return(1&this.currentScope().flags)>0}get inFunction(){return(2&this.currentVarScopeFlags())>0}get allowSuper(){return(16&this.currentThisScopeFlags())>0}get allowDirectSuper(){return(32&this.currentThisScopeFlags())>0}get inClass(){return(64&this.currentThisScopeFlags())>0}get inClassAndNotInNonArrowFunction(){let c=this.currentThisScopeFlags();return(64&c)>0&&(2&c)==0}get inStaticBlock(){for(let c=this.scopeStack.length-1;;c--){let{flags:g}=this.scopeStack[c];if(128&g)return!0;if(451&g)return!1}}get inNonArrowFunction(){return(2&this.currentThisScopeFlags())>0}get treatFunctionsAsVar(){return this.treatFunctionsAsVarInScope(this.currentScope())}createScope(c){return new zt(c)}enter(c){this.scopeStack.push(this.createScope(c))}exit(){return this.scopeStack.pop().flags}treatFunctionsAsVarInScope(c){return!!(130&c.flags||!this.parser.inModule&&1&c.flags)}declareName(c,g,_){let O=this.currentScope();if(8&g||16&g)this.checkRedeclarationInScope(O,c,g,_),16&g?O.functions.add(c):O.lexical.add(c),8&g&&this.maybeExportDefined(O,c);else if(4&g)for(let q=this.scopeStack.length-1;q>=0&&(O=this.scopeStack[q],this.checkRedeclarationInScope(O,c,g,_),O.var.add(c),this.maybeExportDefined(O,c),!(387&O.flags));--q);this.parser.inModule&&1&O.flags&&this.undefinedExports.delete(c)}maybeExportDefined(c,g){this.parser.inModule&&1&c.flags&&this.undefinedExports.delete(g)}checkRedeclarationInScope(c,g,_,O){this.isRedeclaredInScope(c,g,_)&&this.parser.raise(x.VarRedeclaration,{at:O,identifierName:g})}isRedeclaredInScope(c,g,_){return!!(1&_)&&(8&_?c.lexical.has(g)||c.functions.has(g)||c.var.has(g):16&_?c.lexical.has(g)||!this.treatFunctionsAsVarInScope(c)&&c.var.has(g):c.lexical.has(g)&&!(8&c.flags&&c.lexical.values().next().value===g)||!this.treatFunctionsAsVarInScope(c)&&c.functions.has(g))}checkLocalExport(c){let{name:g}=c,_=this.scopeStack[0];_.lexical.has(g)||_.var.has(g)||_.functions.has(g)||this.undefinedExports.set(g,c.loc.start)}currentScope(){return this.scopeStack[this.scopeStack.length-1]}currentVarScopeFlags(){for(let c=this.scopeStack.length-1;;c--){let{flags:g}=this.scopeStack[c];if(387&g)return g}}currentThisScopeFlags(){for(let c=this.scopeStack.length-1;;c--){let{flags:g}=this.scopeStack[c];if(451&g&&!(4&g))return g}}}class Ar extends zt{constructor(...c){super(...c),this.declareFunctions=new Set}}class er extends Zt{createScope(c){return new Ar(c)}declareName(c,g,_){let O=this.currentScope();if(2048&g)return this.checkRedeclarationInScope(O,c,g,_),this.maybeExportDefined(O,c),void O.declareFunctions.add(c);super.declareName(c,g,_)}isRedeclaredInScope(c,g,_){return!!super.isRedeclaredInScope(c,g,_)||!!(2048&_)&&!c.declareFunctions.has(g)&&(c.lexical.has(g)||c.functions.has(g))}checkLocalExport(c){this.scopeStack[0].declareFunctions.has(c.name)||super.checkLocalExport(c)}}class nt{constructor(){this.sawUnambiguousESM=!1,this.ambiguousScriptDifferentAst=!1}hasPlugin(c){if(typeof c=="string")return this.plugins.has(c);{let[g,_]=c;if(!this.hasPlugin(g))return!1;let O=this.plugins.get(g);for(let q of Object.keys(_))if((O==null?void 0:O[q])!==_[q])return!1;return!0}}getPluginOption(c,g){var _;return(_=this.plugins.get(c))==null?void 0:_[g]}}function Ce(te,c){te.trailingComments===void 0?te.trailingComments=c:te.trailingComments.unshift(...c)}function re(te,c){te.innerComments===void 0?te.innerComments=c:te.innerComments.unshift(...c)}function ie(te,c,g){let _=null,O=c.length;for(;_===null&&O>0;)_=c[--O];_===null||_.start>g.start?re(te,g.comments):Ce(_,g.comments)}class Ne extends nt{addComment(c){this.filename&&(c.loc.filename=this.filename),this.state.comments.push(c)}processComment(c){let{commentStack:g}=this.state,_=g.length;if(_===0)return;let O=_-1,q=g[O];q.start===c.end&&(q.leadingNode=c,O--);let{start:ee}=c;for(;O>=0;O--){let le=g[O],fe=le.end;if(!(fe>ee)){fe===ee&&(le.trailingNode=c);break}le.containingNode=c,this.finalizeComment(le),g.splice(O,1)}}finalizeComment(c){let{comments:g}=c;if(c.leadingNode!==null||c.trailingNode!==null)c.leadingNode!==null&&Ce(c.leadingNode,g),c.trailingNode!==null&&function(_,O){_.leadingComments===void 0?_.leadingComments=O:_.leadingComments.unshift(...O)}(c.trailingNode,g);else{let{containingNode:_,start:O}=c;if(this.input.charCodeAt(O-1)===44)switch(_.type){case"ObjectExpression":case"ObjectPattern":case"RecordExpression":ie(_,_.properties,c);break;case"CallExpression":case"OptionalCallExpression":ie(_,_.arguments,c);break;case"FunctionDeclaration":case"FunctionExpression":case"ArrowFunctionExpression":case"ObjectMethod":case"ClassMethod":case"ClassPrivateMethod":ie(_,_.params,c);break;case"ArrayExpression":case"ArrayPattern":case"TupleExpression":ie(_,_.elements,c);break;case"ExportNamedDeclaration":case"ImportDeclaration":ie(_,_.specifiers,c);break;default:re(_,g)}else re(_,g)}}finalizeRemainingComments(){let{commentStack:c}=this.state;for(let g=c.length-1;g>=0;g--)this.finalizeComment(c[g]);this.state.commentStack=[]}resetPreviousNodeTrailingComments(c){let{commentStack:g}=this.state,{length:_}=g;if(_===0)return;let O=g[_-1];O.leadingNode===c&&(O.leadingNode=null)}resetPreviousIdentifierLeadingComments(c){let{commentStack:g}=this.state,{length:_}=g;_!==0&&(g[_-1].trailingNode===c?g[_-1].trailingNode=null:_>=2&&g[_-2].trailingNode===c&&(g[_-2].trailingNode=null))}takeSurroundingComments(c,g,_){let{commentStack:O}=this.state,q=O.length;if(q===0)return;let ee=q-1;for(;ee>=0;ee--){let le=O[ee],fe=le.end;if(le.start===_)le.leadingNode=c;else if(fe===g)le.trailingNode=c;else if(fe<g)break}}}let Be=/\r\n?|[\n\u2028\u2029]/,rt=new RegExp(Be.source,"g");function ot(te){switch(te){case 10:case 13:case 8232:case 8233:return!0;default:return!1}}let Ve=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,ft=/(?:[^\S\n\r\u2028\u2029]|\/\/.*|\/\*.*?\*\/)*/g,Pt=new RegExp("(?=("+ft.source+"))\\1"+/(?=[\n\r\u2028\u2029]|\/\*(?!.*?\*\/)|$)/.source,"y");function $t(te){switch(te){case 9:case 11:case 12:case 32:case 160:case 5760:case 8192:case 8193:case 8194:case 8195:case 8196:case 8197:case 8198:case 8199:case 8200:case 8201:case 8202:case 8239:case 8287:case 12288:case 65279:return!0;default:return!1}}class tt{constructor(){this.strict=void 0,this.curLine=void 0,this.lineStart=void 0,this.startLoc=void 0,this.endLoc=void 0,this.errors=[],this.potentialArrowAt=-1,this.noArrowAt=[],this.noArrowParamsConversionAt=[],this.maybeInArrowParameters=!1,this.inType=!1,this.noAnonFunctionType=!1,this.hasFlowComment=!1,this.isAmbientContext=!1,this.inAbstractClass=!1,this.inDisallowConditionalTypesContext=!1,this.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null},this.soloAwait=!1,this.inFSharpPipelineDirectBody=!1,this.labels=[],this.comments=[],this.commentStack=[],this.pos=0,this.type=137,this.value=null,this.start=0,this.end=0,this.lastTokEndLoc=null,this.lastTokStartLoc=null,this.lastTokStart=0,this.context=[I.brace],this.canStartJSXElement=!0,this.containsEsc=!1,this.firstInvalidTemplateEscapePos=null,this.strictErrors=new Map,this.tokensLength=0}init({strictMode:c,sourceType:g,startLine:_,startColumn:O}){this.strict=c!==!1&&(c===!0||g==="module"),this.curLine=_,this.lineStart=-O,this.startLoc=this.endLoc=new a(_,O,0)}curPosition(){return new a(this.curLine,this.pos-this.lineStart,this.pos)}clone(c){let g=new tt,_=Object.keys(this);for(let O=0,q=_.length;O<q;O++){let ee=_[O],le=this[ee];!c&&Array.isArray(le)&&(le=le.slice()),g[ee]=le}return g}}var Tt=function(te){return te>=48&&te<=57};let Et={decBinOct:new Set([46,66,69,79,95,98,101,111]),hex:new Set([46,88,95,120])},qt={bin:te=>te===48||te===49,oct:te=>te>=48&&te<=55,dec:te=>te>=48&&te<=57,hex:te=>te>=48&&te<=57||te>=65&&te<=70||te>=97&&te<=102};function Xt(te,c,g,_,O,q){let ee=g,le=_,fe=O,we="",Re=null,at=g,{length:Rt}=c;for(;;){if(g>=Rt){q.unterminated(ee,le,fe),we+=c.slice(at,g);break}let bt=c.charCodeAt(g);if(mr(te,bt,c,g)){we+=c.slice(at,g);break}if(bt===92){we+=c.slice(at,g);let Jt=ar(c,g,_,O,te==="template",q);Jt.ch!==null||Re?we+=Jt.ch:Re={pos:g,lineStart:_,curLine:O},{pos:g,lineStart:_,curLine:O}=Jt,at=g}else bt===8232||bt===8233?(++O,_=++g):bt===10||bt===13?te==="template"?(we+=c.slice(at,g)+`
|
|
`,++g,bt===13&&c.charCodeAt(g)===10&&++g,++O,at=_=g):q.unterminated(ee,le,fe):++g}return{pos:g,str:we,firstInvalidLoc:Re,lineStart:_,curLine:O,containsInvalid:!!Re}}function mr(te,c,g,_){return te==="template"?c===96||c===36&&g.charCodeAt(_+1)===123:c===(te==="double"?34:39)}function ar(te,c,g,_,O,q){let ee=!O;c++;let le=we=>({pos:c,ch:we,lineStart:g,curLine:_}),fe=te.charCodeAt(c++);switch(fe){case 110:return le(`
|
|
`);case 114:return le("\r");case 120:{let we;return{code:we,pos:c}=qr(te,c,g,_,2,!1,ee,q),le(we===null?null:String.fromCharCode(we))}case 117:{let we;return{code:we,pos:c}=yi(te,c,g,_,ee,q),le(we===null?null:String.fromCodePoint(we))}case 116:return le(" ");case 98:return le("\b");case 118:return le("\v");case 102:return le("\f");case 13:te.charCodeAt(c)===10&&++c;case 10:g=c,++_;case 8232:case 8233:return le("");case 56:case 57:if(O)return le(null);q.strictNumericEscape(c-1,g,_);default:if(fe>=48&&fe<=55){let we=c-1,Re=te.slice(we,c+2).match(/^[0-7]+/)[0],at=parseInt(Re,8);at>255&&(Re=Re.slice(0,-1),at=parseInt(Re,8)),c+=Re.length-1;let Rt=te.charCodeAt(c);if(Re!=="0"||Rt===56||Rt===57){if(O)return le(null);q.strictNumericEscape(we,g,_)}return le(String.fromCharCode(at))}return le(String.fromCharCode(fe))}}function qr(te,c,g,_,O,q,ee,le){let fe=c,we;return{n:we,pos:c}=Lt(te,c,g,_,16,O,q,!1,le,!ee),we===null&&(ee?le.invalidEscapeSequence(fe,g,_):c=fe-1),{code:we,pos:c}}function Lt(te,c,g,_,O,q,ee,le,fe,we){let Re=c,at=O===16?Et.hex:Et.decBinOct,Rt=O===16?qt.hex:O===10?qt.dec:O===8?qt.oct:qt.bin,bt=!1,Jt=0;for(let Hr=0,pr=q??1/0;Hr<pr;++Hr){let Ir=te.charCodeAt(c),wn;if(Ir!==95||le==="bail"){if(wn=Ir>=97?Ir-97+10:Ir>=65?Ir-65+10:Tt(Ir)?Ir-48:1/0,wn>=O){if(wn<=9&&we)return{n:null,pos:c};if(wn<=9&&fe.invalidDigit(c,g,_,O))wn=0;else{if(!ee)break;wn=0,bt=!0}}++c,Jt=Jt*O+wn}else{let Xf=te.charCodeAt(c-1),dl=te.charCodeAt(c+1);if(le){if(Number.isNaN(dl)||!Rt(dl)||at.has(Xf)||at.has(dl)){if(we)return{n:null,pos:c};fe.unexpectedNumericSeparator(c,g,_)}}else{if(we)return{n:null,pos:c};fe.numericSeparatorInEscapeSequence(c,g,_)}++c}}return c===Re||q!=null&&c-Re!==q||bt?{n:null,pos:c}:{n:Jt,pos:c}}function yi(te,c,g,_,O,q){let ee;if(te.charCodeAt(c)===123){if(++c,{code:ee,pos:c}=qr(te,c,g,_,te.indexOf("}",c)-c,!0,O,q),++c,ee!==null&&ee>1114111){if(!O)return{code:null,pos:c};q.invalidCodePoint(c,g,_)}}else({code:ee,pos:c}=qr(te,c,g,_,4,!1,O,q));return{code:ee,pos:c}}let ba=["at"],Gi=["at"];function xn(te,c,g){return new a(g,te-c,te)}let ga=new Set([103,109,115,105,121,117,100,118]);class Dn{constructor(c){this.type=c.type,this.value=c.value,this.start=c.start,this.end=c.end,this.loc=new m(c.startLoc,c.endLoc)}}class Ii extends Ne{constructor(c,g){super(),this.isLookahead=void 0,this.tokens=[],this.errorHandlers_readInt={invalidDigit:(_,O,q,ee)=>!!this.options.errorRecovery&&(this.raise(x.InvalidDigit,{at:xn(_,O,q),radix:ee}),!0),numericSeparatorInEscapeSequence:this.errorBuilder(x.NumericSeparatorInEscapeSequence),unexpectedNumericSeparator:this.errorBuilder(x.UnexpectedNumericSeparator)},this.errorHandlers_readCodePoint=Object.assign({},this.errorHandlers_readInt,{invalidEscapeSequence:this.errorBuilder(x.InvalidEscapeSequence),invalidCodePoint:this.errorBuilder(x.InvalidCodePoint)}),this.errorHandlers_readStringContents_string=Object.assign({},this.errorHandlers_readCodePoint,{strictNumericEscape:(_,O,q)=>{this.recordStrictModeErrors(x.StrictNumericEscape,{at:xn(_,O,q)})},unterminated:(_,O,q)=>{throw this.raise(x.UnterminatedString,{at:xn(_-1,O,q)})}}),this.errorHandlers_readStringContents_template=Object.assign({},this.errorHandlers_readCodePoint,{strictNumericEscape:this.errorBuilder(x.StrictNumericEscape),unterminated:(_,O,q)=>{throw this.raise(x.UnterminatedTemplate,{at:xn(_,O,q)})}}),this.state=new tt,this.state.init(c),this.input=g,this.length=g.length,this.isLookahead=!1}pushToken(c){this.tokens.length=this.state.tokensLength,this.tokens.push(c),++this.state.tokensLength}next(){this.checkKeywordEscapes(),this.options.tokens&&this.pushToken(new Dn(this.state)),this.state.lastTokStart=this.state.start,this.state.lastTokEndLoc=this.state.endLoc,this.state.lastTokStartLoc=this.state.startLoc,this.nextToken()}eat(c){return!!this.match(c)&&(this.next(),!0)}match(c){return this.state.type===c}createLookaheadState(c){return{pos:c.pos,value:null,type:c.type,start:c.start,end:c.end,context:[this.curContext()],inType:c.inType,startLoc:c.startLoc,lastTokEndLoc:c.lastTokEndLoc,curLine:c.curLine,lineStart:c.lineStart,curPosition:c.curPosition}}lookahead(){let c=this.state;this.state=this.createLookaheadState(c),this.isLookahead=!0,this.nextToken(),this.isLookahead=!1;let g=this.state;return this.state=c,g}nextTokenStart(){return this.nextTokenStartSince(this.state.pos)}nextTokenStartSince(c){return Ve.lastIndex=c,Ve.test(this.input)?Ve.lastIndex:c}lookaheadCharCode(){return this.input.charCodeAt(this.nextTokenStart())}nextTokenInLineStart(){return this.nextTokenInLineStartSince(this.state.pos)}nextTokenInLineStartSince(c){return ft.lastIndex=c,ft.test(this.input)?ft.lastIndex:c}lookaheadInLineCharCode(){return this.input.charCodeAt(this.nextTokenInLineStart())}codePointAtPos(c){let g=this.input.charCodeAt(c);if((64512&g)==55296&&++c<this.input.length){let _=this.input.charCodeAt(c);(64512&_)==56320&&(g=65536+((1023&g)<<10)+(1023&_))}return g}setStrict(c){this.state.strict=c,c&&(this.state.strictErrors.forEach(([g,_])=>this.raise(g,{at:_})),this.state.strictErrors.clear())}curContext(){return this.state.context[this.state.context.length-1]}nextToken(){this.skipSpace(),this.state.start=this.state.pos,this.isLookahead||(this.state.startLoc=this.state.curPosition()),this.state.pos>=this.length?this.finishToken(137):this.getTokenFromCode(this.codePointAtPos(this.state.pos))}skipBlockComment(c){let g;this.isLookahead||(g=this.state.curPosition());let _=this.state.pos,O=this.input.indexOf(c,_+2);if(O===-1)throw this.raise(x.UnterminatedComment,{at:this.state.curPosition()});for(this.state.pos=O+c.length,rt.lastIndex=_+2;rt.test(this.input)&&rt.lastIndex<=O;)++this.state.curLine,this.state.lineStart=rt.lastIndex;if(this.isLookahead)return;let q={type:"CommentBlock",value:this.input.slice(_+2,O),start:_,end:O+c.length,loc:new m(g,this.state.curPosition())};return this.options.tokens&&this.pushToken(q),q}skipLineComment(c){let g=this.state.pos,_;this.isLookahead||(_=this.state.curPosition());let O=this.input.charCodeAt(this.state.pos+=c);if(this.state.pos<this.length)for(;!ot(O)&&++this.state.pos<this.length;)O=this.input.charCodeAt(this.state.pos);if(this.isLookahead)return;let q=this.state.pos,ee={type:"CommentLine",value:this.input.slice(g+c,q),start:g,end:q,loc:new m(_,this.state.curPosition())};return this.options.tokens&&this.pushToken(ee),ee}skipSpace(){let c=this.state.pos,g=[];e:for(;this.state.pos<this.length;){let _=this.input.charCodeAt(this.state.pos);switch(_){case 32:case 160:case 9:++this.state.pos;break;case 13:this.input.charCodeAt(this.state.pos+1)===10&&++this.state.pos;case 10:case 8232:case 8233:++this.state.pos,++this.state.curLine,this.state.lineStart=this.state.pos;break;case 47:switch(this.input.charCodeAt(this.state.pos+1)){case 42:{let O=this.skipBlockComment("*/");O!==void 0&&(this.addComment(O),this.options.attachComment&&g.push(O));break}case 47:{let O=this.skipLineComment(2);O!==void 0&&(this.addComment(O),this.options.attachComment&&g.push(O));break}default:break e}break;default:if($t(_))++this.state.pos;else if(_===45&&!this.inModule&&this.options.annexB){let O=this.state.pos;if(this.input.charCodeAt(O+1)!==45||this.input.charCodeAt(O+2)!==62||!(c===0||this.state.lineStart>c))break e;{let q=this.skipLineComment(3);q!==void 0&&(this.addComment(q),this.options.attachComment&&g.push(q))}}else{if(_!==60||this.inModule||!this.options.annexB)break e;{let O=this.state.pos;if(this.input.charCodeAt(O+1)!==33||this.input.charCodeAt(O+2)!==45||this.input.charCodeAt(O+3)!==45)break e;{let q=this.skipLineComment(4);q!==void 0&&(this.addComment(q),this.options.attachComment&&g.push(q))}}}}}if(g.length>0){let _={start:c,end:this.state.pos,comments:g,leadingNode:null,trailingNode:null,containingNode:null};this.state.commentStack.push(_)}}finishToken(c,g){this.state.end=this.state.pos,this.state.endLoc=this.state.curPosition();let _=this.state.type;this.state.type=c,this.state.value=g,this.isLookahead||this.updateContext(_)}replaceToken(c){this.state.type=c,this.updateContext()}readToken_numberSign(){if(this.state.pos===0&&this.readToken_interpreter())return;let c=this.state.pos+1,g=this.codePointAtPos(c);if(g>=48&&g<=57)throw this.raise(x.UnexpectedDigitAfterHash,{at:this.state.curPosition()});if(g===123||g===91&&this.hasPlugin("recordAndTuple")){if(this.expectPlugin("recordAndTuple"),this.getPluginOption("recordAndTuple","syntaxType")==="bar")throw this.raise(g===123?x.RecordExpressionHashIncorrectStartSyntaxType:x.TupleExpressionHashIncorrectStartSyntaxType,{at:this.state.curPosition()});this.state.pos+=2,g===123?this.finishToken(7):this.finishToken(1)}else ke(g)?(++this.state.pos,this.finishToken(136,this.readWord1(g))):g===92?(++this.state.pos,this.finishToken(136,this.readWord1())):this.finishOp(27,1)}readToken_dot(){let c=this.input.charCodeAt(this.state.pos+1);c>=48&&c<=57?this.readNumber(!0):c===46&&this.input.charCodeAt(this.state.pos+2)===46?(this.state.pos+=3,this.finishToken(21)):(++this.state.pos,this.finishToken(16))}readToken_slash(){this.input.charCodeAt(this.state.pos+1)===61?this.finishOp(31,2):this.finishOp(56,1)}readToken_interpreter(){if(this.state.pos!==0||this.length<2)return!1;let c=this.input.charCodeAt(this.state.pos+1);if(c!==33)return!1;let g=this.state.pos;for(this.state.pos+=1;!ot(c)&&++this.state.pos<this.length;)c=this.input.charCodeAt(this.state.pos);let _=this.input.slice(g+2,this.state.pos);return this.finishToken(28,_),!0}readToken_mult_modulo(c){let g=c===42?55:54,_=1,O=this.input.charCodeAt(this.state.pos+1);c===42&&O===42&&(_++,O=this.input.charCodeAt(this.state.pos+2),g=57),O!==61||this.state.inType||(_++,g=c===37?33:30),this.finishOp(g,_)}readToken_pipe_amp(c){let g=this.input.charCodeAt(this.state.pos+1);if(g!==c){if(c===124){if(g===62)return void this.finishOp(39,2);if(this.hasPlugin("recordAndTuple")&&g===125){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(x.RecordExpressionBarIncorrectEndSyntaxType,{at:this.state.curPosition()});return this.state.pos+=2,void this.finishToken(9)}if(this.hasPlugin("recordAndTuple")&&g===93){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(x.TupleExpressionBarIncorrectEndSyntaxType,{at:this.state.curPosition()});return this.state.pos+=2,void this.finishToken(4)}}g!==61?this.finishOp(c===124?43:45,1):this.finishOp(30,2)}else this.input.charCodeAt(this.state.pos+2)===61?this.finishOp(30,3):this.finishOp(c===124?41:42,2)}readToken_caret(){let c=this.input.charCodeAt(this.state.pos+1);c!==61||this.state.inType?c===94&&this.hasPlugin(["pipelineOperator",{proposal:"hack",topicToken:"^^"}])?(this.finishOp(37,2),this.input.codePointAt(this.state.pos)===94&&this.unexpected()):this.finishOp(44,1):this.finishOp(32,2)}readToken_atSign(){this.input.charCodeAt(this.state.pos+1)===64&&this.hasPlugin(["pipelineOperator",{proposal:"hack",topicToken:"@@"}])?this.finishOp(38,2):this.finishOp(26,1)}readToken_plus_min(c){let g=this.input.charCodeAt(this.state.pos+1);g!==c?g===61?this.finishOp(30,2):this.finishOp(53,1):this.finishOp(34,2)}readToken_lt(){let{pos:c}=this.state,g=this.input.charCodeAt(c+1);if(g===60)return this.input.charCodeAt(c+2)===61?void this.finishOp(30,3):void this.finishOp(51,2);g!==61?this.finishOp(47,1):this.finishOp(49,2)}readToken_gt(){let{pos:c}=this.state,g=this.input.charCodeAt(c+1);if(g===62){let _=this.input.charCodeAt(c+2)===62?3:2;return this.input.charCodeAt(c+_)===61?void this.finishOp(30,_+1):void this.finishOp(52,_)}g!==61?this.finishOp(48,1):this.finishOp(49,2)}readToken_eq_excl(c){let g=this.input.charCodeAt(this.state.pos+1);if(g!==61)return c===61&&g===62?(this.state.pos+=2,void this.finishToken(19)):void this.finishOp(c===61?29:35,1);this.finishOp(46,this.input.charCodeAt(this.state.pos+2)===61?3:2)}readToken_question(){let c=this.input.charCodeAt(this.state.pos+1),g=this.input.charCodeAt(this.state.pos+2);c===63?g===61?this.finishOp(30,3):this.finishOp(40,2):c!==46||g>=48&&g<=57?(++this.state.pos,this.finishToken(17)):(this.state.pos+=2,this.finishToken(18))}getTokenFromCode(c){switch(c){case 46:return void this.readToken_dot();case 40:return++this.state.pos,void this.finishToken(10);case 41:return++this.state.pos,void this.finishToken(11);case 59:return++this.state.pos,void this.finishToken(13);case 44:return++this.state.pos,void this.finishToken(12);case 91:if(this.hasPlugin("recordAndTuple")&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(x.TupleExpressionBarIncorrectStartSyntaxType,{at:this.state.curPosition()});this.state.pos+=2,this.finishToken(2)}else++this.state.pos,this.finishToken(0);return;case 93:return++this.state.pos,void this.finishToken(3);case 123:if(this.hasPlugin("recordAndTuple")&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(x.RecordExpressionBarIncorrectStartSyntaxType,{at:this.state.curPosition()});this.state.pos+=2,this.finishToken(6)}else++this.state.pos,this.finishToken(5);return;case 125:return++this.state.pos,void this.finishToken(8);case 58:return void(this.hasPlugin("functionBind")&&this.input.charCodeAt(this.state.pos+1)===58?this.finishOp(15,2):(++this.state.pos,this.finishToken(14)));case 63:return void this.readToken_question();case 96:return void this.readTemplateToken();case 48:{let g=this.input.charCodeAt(this.state.pos+1);if(g===120||g===88)return void this.readRadixNumber(16);if(g===111||g===79)return void this.readRadixNumber(8);if(g===98||g===66)return void this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return void this.readNumber(!1);case 34:case 39:return void this.readString(c);case 47:return void this.readToken_slash();case 37:case 42:return void this.readToken_mult_modulo(c);case 124:case 38:return void this.readToken_pipe_amp(c);case 94:return void this.readToken_caret();case 43:case 45:return void this.readToken_plus_min(c);case 60:return void this.readToken_lt();case 62:return void this.readToken_gt();case 61:case 33:return void this.readToken_eq_excl(c);case 126:return void this.finishOp(36,1);case 64:return void this.readToken_atSign();case 35:return void this.readToken_numberSign();case 92:return void this.readWord();default:if(ke(c))return void this.readWord(c)}throw this.raise(x.InvalidOrUnexpectedToken,{at:this.state.curPosition(),unexpected:String.fromCodePoint(c)})}finishOp(c,g){let _=this.input.slice(this.state.pos,this.state.pos+g);this.state.pos+=g,this.finishToken(c,_)}readRegexp(){let c=this.state.startLoc,g=this.state.start+1,_,O,{pos:q}=this.state;for(;;++q){if(q>=this.length)throw this.raise(x.UnterminatedRegExp,{at:d(c,1)});let we=this.input.charCodeAt(q);if(ot(we))throw this.raise(x.UnterminatedRegExp,{at:d(c,1)});if(_)_=!1;else{if(we===91)O=!0;else if(we===93&&O)O=!1;else if(we===47&&!O)break;_=we===92}}let ee=this.input.slice(g,q);++q;let le="",fe=()=>d(c,q+2-g);for(;q<this.length;){let we=this.codePointAtPos(q),Re=String.fromCharCode(we);if(ga.has(we))we===118?le.includes("u")&&this.raise(x.IncompatibleRegExpUVFlags,{at:fe()}):we===117&&le.includes("v")&&this.raise(x.IncompatibleRegExpUVFlags,{at:fe()}),le.includes(Re)&&this.raise(x.DuplicateRegExpFlags,{at:fe()});else{if(!Qe(we)&&we!==92)break;this.raise(x.MalformedRegExpFlags,{at:fe()})}++q,le+=Re}this.state.pos=q,this.finishToken(135,{pattern:ee,flags:le})}readInt(c,g,_=!1,O=!0){let{n:q,pos:ee}=Lt(this.input,this.state.pos,this.state.lineStart,this.state.curLine,c,g,_,O,this.errorHandlers_readInt,!1);return this.state.pos=ee,q}readRadixNumber(c){let g=this.state.curPosition(),_=!1;this.state.pos+=2;let O=this.readInt(c);O==null&&this.raise(x.InvalidDigit,{at:d(g,2),radix:c});let q=this.input.charCodeAt(this.state.pos);if(q===110)++this.state.pos,_=!0;else if(q===109)throw this.raise(x.InvalidDecimal,{at:g});if(ke(this.codePointAtPos(this.state.pos)))throw this.raise(x.NumberIdentifier,{at:this.state.curPosition()});if(_){let ee=this.input.slice(g.index,this.state.pos).replace(/[_n]/g,"");this.finishToken(133,ee)}else this.finishToken(132,O)}readNumber(c){let g=this.state.pos,_=this.state.curPosition(),O=!1,q=!1,ee=!1,le=!1,fe=!1;c||this.readInt(10)!==null||this.raise(x.InvalidNumber,{at:this.state.curPosition()});let we=this.state.pos-g>=2&&this.input.charCodeAt(g)===48;if(we){let bt=this.input.slice(g,this.state.pos);if(this.recordStrictModeErrors(x.StrictOctalLiteral,{at:_}),!this.state.strict){let Jt=bt.indexOf("_");Jt>0&&this.raise(x.ZeroDigitNumericSeparator,{at:d(_,Jt)})}fe=we&&!/[89]/.test(bt)}let Re=this.input.charCodeAt(this.state.pos);if(Re!==46||fe||(++this.state.pos,this.readInt(10),O=!0,Re=this.input.charCodeAt(this.state.pos)),Re!==69&&Re!==101||fe||(Re=this.input.charCodeAt(++this.state.pos),Re!==43&&Re!==45||++this.state.pos,this.readInt(10)===null&&this.raise(x.InvalidOrMissingExponent,{at:_}),O=!0,le=!0,Re=this.input.charCodeAt(this.state.pos)),Re===110&&((O||we)&&this.raise(x.InvalidBigIntLiteral,{at:_}),++this.state.pos,q=!0),Re===109&&(this.expectPlugin("decimal",this.state.curPosition()),(le||we)&&this.raise(x.InvalidDecimal,{at:_}),++this.state.pos,ee=!0),ke(this.codePointAtPos(this.state.pos)))throw this.raise(x.NumberIdentifier,{at:this.state.curPosition()});let at=this.input.slice(g,this.state.pos).replace(/[_mn]/g,"");if(q)return void this.finishToken(133,at);if(ee)return void this.finishToken(134,at);let Rt=fe?parseInt(at,8):parseFloat(at);this.finishToken(132,Rt)}readCodePoint(c){let{code:g,pos:_}=yi(this.input,this.state.pos,this.state.lineStart,this.state.curLine,c,this.errorHandlers_readCodePoint);return this.state.pos=_,g}readString(c){let{str:g,pos:_,curLine:O,lineStart:q}=Xt(c===34?"double":"single",this.input,this.state.pos+1,this.state.lineStart,this.state.curLine,this.errorHandlers_readStringContents_string);this.state.pos=_+1,this.state.lineStart=q,this.state.curLine=O,this.finishToken(131,g)}readTemplateContinuation(){this.match(8)||this.unexpected(null,8),this.state.pos--,this.readTemplateToken()}readTemplateToken(){let c=this.input[this.state.pos],{str:g,firstInvalidLoc:_,pos:O,curLine:q,lineStart:ee}=Xt("template",this.input,this.state.pos+1,this.state.lineStart,this.state.curLine,this.errorHandlers_readStringContents_template);this.state.pos=O+1,this.state.lineStart=ee,this.state.curLine=q,_&&(this.state.firstInvalidTemplateEscapePos=new a(_.curLine,_.pos-_.lineStart,_.pos)),this.input.codePointAt(O)===96?this.finishToken(24,_?null:c+g+"`"):(this.state.pos++,this.finishToken(25,_?null:c+g+"${"))}recordStrictModeErrors(c,{at:g}){let _=g.index;this.state.strict&&!this.state.strictErrors.has(_)?this.raise(c,{at:g}):this.state.strictErrors.set(_,[c,g])}readWord1(c){this.state.containsEsc=!1;let g="",_=this.state.pos,O=this.state.pos;for(c!==void 0&&(this.state.pos+=c<=65535?1:2);this.state.pos<this.length;){let q=this.codePointAtPos(this.state.pos);if(Qe(q))this.state.pos+=q<=65535?1:2;else{if(q!==92)break;{this.state.containsEsc=!0,g+=this.input.slice(O,this.state.pos);let ee=this.state.curPosition(),le=this.state.pos===_?ke:Qe;if(this.input.charCodeAt(++this.state.pos)!==117){this.raise(x.MissingUnicodeEscape,{at:this.state.curPosition()}),O=this.state.pos-1;continue}++this.state.pos;let fe=this.readCodePoint(!0);fe!==null&&(le(fe)||this.raise(x.EscapedCharNotAnIdentifier,{at:ee}),g+=String.fromCodePoint(fe)),O=this.state.pos}}}return g+this.input.slice(O,this.state.pos)}readWord(c){let g=this.readWord1(c),_=M.get(g);_!==void 0?this.finishToken(_,Oe(_)):this.finishToken(130,g)}checkKeywordEscapes(){let{type:c}=this.state;Ae(c)&&this.state.containsEsc&&this.raise(x.InvalidEscapedReservedWord,{at:this.state.startLoc,reservedWord:Oe(c)})}raise(c,g){let{at:_}=g,O=u(g,ba),q=c({loc:_ instanceof a?_:_.loc.start,details:O});if(!this.options.errorRecovery)throw q;return this.isLookahead||this.state.errors.push(q),q}raiseOverwrite(c,g){let{at:_}=g,O=u(g,Gi),q=_ instanceof a?_:_.loc.start,ee=q.index,le=this.state.errors;for(let fe=le.length-1;fe>=0;fe--){let we=le[fe];if(we.loc.index===ee)return le[fe]=c({loc:q,details:O});if(we.loc.index<ee)break}return this.raise(c,g)}updateContext(c){}unexpected(c,g){throw this.raise(x.UnexpectedToken,{expected:g?Oe(g):null,at:c??this.state.startLoc})}expectPlugin(c,g){if(this.hasPlugin(c))return!0;throw this.raise(x.MissingPlugin,{at:g??this.state.startLoc,missingPlugin:[c]})}expectOnePlugin(c){if(!c.some(g=>this.hasPlugin(g)))throw this.raise(x.MissingOneOfPlugins,{at:this.state.startLoc,missingPlugin:c})}errorBuilder(c){return(g,_,O)=>{this.raise(c,{at:xn(g,_,O)})}}}class Ls{constructor(){this.privateNames=new Set,this.loneAccessors=new Map,this.undefinedPrivateNames=new Map}}class Ms{constructor(c){this.parser=void 0,this.stack=[],this.undefinedPrivateNames=new Map,this.parser=c}current(){return this.stack[this.stack.length-1]}enter(){this.stack.push(new Ls)}exit(){let c=this.stack.pop(),g=this.current();for(let[_,O]of Array.from(c.undefinedPrivateNames))g?g.undefinedPrivateNames.has(_)||g.undefinedPrivateNames.set(_,O):this.parser.raise(x.InvalidPrivateFieldResolution,{at:O,identifierName:_})}declarePrivateName(c,g,_){let{privateNames:O,loneAccessors:q,undefinedPrivateNames:ee}=this.current(),le=O.has(c);if(3&g){let fe=le&&q.get(c);fe?(le=(3&fe)===(3&g)||(4&fe)!==(4&g),le||q.delete(c)):le||q.set(c,g)}le&&this.parser.raise(x.PrivateNameRedeclaration,{at:_,identifierName:c}),O.add(c),ee.delete(c)}usePrivateName(c,g){let _;for(_ of this.stack)if(_.privateNames.has(c))return;_?_.undefinedPrivateNames.set(c,g):this.parser.raise(x.InvalidPrivateFieldResolution,{at:g,identifierName:c})}}class Hi{constructor(c=0){this.type=c}canBeArrowParameterDeclaration(){return this.type===2||this.type===1}isCertainlyParameterDeclaration(){return this.type===3}}class Rs extends Hi{constructor(c){super(c),this.declarationErrors=new Map}recordDeclarationError(c,{at:g}){let _=g.index;this.declarationErrors.set(_,[c,g])}clearDeclarationError(c){this.declarationErrors.delete(c)}iterateErrors(c){this.declarationErrors.forEach(c)}}class sl{constructor(c){this.parser=void 0,this.stack=[new Hi],this.parser=c}enter(c){this.stack.push(c)}exit(){this.stack.pop()}recordParameterInitializerError(c,{at:g}){let _={at:g.loc.start},{stack:O}=this,q=O.length-1,ee=O[q];for(;!ee.isCertainlyParameterDeclaration();){if(!ee.canBeArrowParameterDeclaration())return;ee.recordDeclarationError(c,_),ee=O[--q]}this.parser.raise(c,_)}recordArrowParameterBindingError(c,{at:g}){let{stack:_}=this,O=_[_.length-1],q={at:g.loc.start};if(O.isCertainlyParameterDeclaration())this.parser.raise(c,q);else{if(!O.canBeArrowParameterDeclaration())return;O.recordDeclarationError(c,q)}}recordAsyncArrowParametersError({at:c}){let{stack:g}=this,_=g.length-1,O=g[_];for(;O.canBeArrowParameterDeclaration();)O.type===2&&O.recordDeclarationError(x.AwaitBindingIdentifier,{at:c}),O=g[--_]}validateAsPattern(){let{stack:c}=this,g=c[c.length-1];g.canBeArrowParameterDeclaration()&&g.iterateErrors(([_,O])=>{this.parser.raise(_,{at:O});let q=c.length-2,ee=c[q];for(;ee.canBeArrowParameterDeclaration();)ee.clearDeclarationError(O.index),ee=c[--q]})}}function Ga(){return new Hi}class Ha{constructor(){this.stacks=[]}enter(c){this.stacks.push(c)}exit(){this.stacks.pop()}currentFlags(){return this.stacks[this.stacks.length-1]}get hasAwait(){return(2&this.currentFlags())>0}get hasYield(){return(1&this.currentFlags())>0}get hasReturn(){return(4&this.currentFlags())>0}get hasIn(){return(8&this.currentFlags())>0}}function hs(te,c){return(te?2:0)|(c?1:0)}class Xa extends Ii{addExtra(c,g,_,O=!0){if(!c)return;let q=c.extra=c.extra||{};O?q[g]=_:Object.defineProperty(q,g,{enumerable:O,value:_})}isContextual(c){return this.state.type===c&&!this.state.containsEsc}isUnparsedContextual(c,g){let _=c+g.length;if(this.input.slice(c,_)===g){let O=this.input.charCodeAt(_);return!(Qe(O)||(64512&O)==55296)}return!1}isLookaheadContextual(c){let g=this.nextTokenStart();return this.isUnparsedContextual(g,c)}eatContextual(c){return!!this.isContextual(c)&&(this.next(),!0)}expectContextual(c,g){if(!this.eatContextual(c)){if(g!=null)throw this.raise(g,{at:this.state.startLoc});this.unexpected(null,c)}}canInsertSemicolon(){return this.match(137)||this.match(8)||this.hasPrecedingLineBreak()}hasPrecedingLineBreak(){return Be.test(this.input.slice(this.state.lastTokEndLoc.index,this.state.start))}hasFollowingLineBreak(){return Pt.lastIndex=this.state.end,Pt.test(this.input)}isLineTerminator(){return this.eat(13)||this.canInsertSemicolon()}semicolon(c=!0){(c?this.isLineTerminator():this.eat(13))||this.raise(x.MissingSemicolon,{at:this.state.lastTokEndLoc})}expect(c,g){this.eat(c)||this.unexpected(g,c)}tryParse(c,g=this.state.clone()){let _={node:null};try{let O=c((q=null)=>{throw _.node=q,_});if(this.state.errors.length>g.errors.length){let q=this.state;return this.state=g,this.state.tokensLength=q.tokensLength,{node:O,error:q.errors[g.errors.length],thrown:!1,aborted:!1,failState:q}}return{node:O,error:null,thrown:!1,aborted:!1,failState:null}}catch(O){let q=this.state;if(this.state=g,O instanceof SyntaxError)return{node:null,error:O,thrown:!0,aborted:!1,failState:q};if(O===_)return{node:_.node,error:null,thrown:!1,aborted:!0,failState:q};throw O}}checkExpressionErrors(c,g){if(!c)return!1;let{shorthandAssignLoc:_,doubleProtoLoc:O,privateKeyLoc:q,optionalParametersLoc:ee}=c;if(!g)return!!(_||O||ee||q);_!=null&&this.raise(x.InvalidCoverInitializedName,{at:_}),O!=null&&this.raise(x.DuplicateProto,{at:O}),q!=null&&this.raise(x.UnexpectedPrivateField,{at:q}),ee!=null&&this.unexpected(ee)}isLiteralPropertyName(){return ne(this.state.type)}isPrivateName(c){return c.type==="PrivateName"}getPrivateNameSV(c){return c.id.name}hasPropertyAsPrivateName(c){return(c.type==="MemberExpression"||c.type==="OptionalMemberExpression")&&this.isPrivateName(c.property)}isObjectProperty(c){return c.type==="ObjectProperty"}isObjectMethod(c){return c.type==="ObjectMethod"}initializeScopes(c=this.options.sourceType==="module"){let g=this.state.labels;this.state.labels=[];let _=this.exportedIdentifiers;this.exportedIdentifiers=new Set;let O=this.inModule;this.inModule=c;let q=this.scope,ee=this.getScopeHandler();this.scope=new ee(this,c);let le=this.prodParam;this.prodParam=new Ha;let fe=this.classScope;this.classScope=new Ms(this);let we=this.expressionScope;return this.expressionScope=new sl(this),()=>{this.state.labels=g,this.exportedIdentifiers=_,this.inModule=O,this.scope=q,this.prodParam=le,this.classScope=fe,this.expressionScope=we}}enterInitialScopes(){let c=0;this.inModule&&(c|=2),this.scope.enter(1),this.prodParam.enter(c)}checkDestructuringPrivate(c){let{privateKeyLoc:g}=c;g!==null&&this.expectPlugin("destructuringPrivate",g)}}class ms{constructor(){this.shorthandAssignLoc=null,this.doubleProtoLoc=null,this.privateKeyLoc=null,this.optionalParametersLoc=null}}class ys{constructor(c,g,_){this.type="",this.start=g,this.end=0,this.loc=new m(_),c!=null&&c.options.ranges&&(this.range=[g,0]),c!=null&&c.filename&&(this.loc.filename=c.filename)}}let Bs=ys.prototype;function ni(te){let{type:c,start:g,end:_,loc:O,range:q,extra:ee,name:le}=te,fe=Object.create(Bs);return fe.type=c,fe.start=g,fe.end=_,fe.loc=O,fe.range=q,fe.extra=ee,fe.name=le,c==="Placeholder"&&(fe.expectedNode=te.expectedNode),fe}function Ja(te){let{type:c,start:g,end:_,loc:O,range:q,extra:ee}=te;if(c==="Placeholder")return function(fe){return ni(fe)}(te);let le=Object.create(Bs);return le.type=c,le.start=g,le.end=_,le.loc=O,le.range=q,te.raw!==void 0?le.raw=te.raw:le.extra=ee,le.value=te.value,le}Bs.__clone=function(){let te=new ys(void 0,this.start,this.loc.start),c=Object.keys(this);for(let g=0,_=c.length;g<_;g++){let O=c[g];O!=="leadingComments"&&O!=="trailingComments"&&O!=="innerComments"&&(te[O]=this[O])}return te};class al extends Xa{startNode(){return new ys(this,this.state.start,this.state.startLoc)}startNodeAt(c){return new ys(this,c.index,c)}startNodeAtNode(c){return this.startNodeAt(c.loc.start)}finishNode(c,g){return this.finishNodeAt(c,g,this.state.lastTokEndLoc)}finishNodeAt(c,g,_){return c.type=g,c.end=_.index,c.loc.end=_,this.options.ranges&&(c.range[1]=_.index),this.options.attachComment&&this.processComment(c),c}resetStartLocation(c,g){c.start=g.index,c.loc.start=g,this.options.ranges&&(c.range[0]=g.index)}resetEndLocation(c,g=this.state.lastTokEndLoc){c.end=g.index,c.loc.end=g,this.options.ranges&&(c.range[1]=g.index)}resetStartLocationFromNode(c,g){this.resetStartLocation(c,g.loc.start)}}let va=new Set(["_","any","bool","boolean","empty","extends","false","interface","mixed","null","number","static","string","true","typeof","void"]),Mt=A`flow`({AmbiguousConditionalArrow:"Ambiguous expression: wrap the arrow functions in parentheses to disambiguate.",AmbiguousDeclareModuleKind:"Found both `declare module.exports` and `declare export` in the same module. Modules can only have 1 since they are either an ES module or they are a CommonJS module.",AssignReservedType:({reservedType:te})=>`Cannot overwrite reserved type ${te}.`,DeclareClassElement:"The `declare` modifier can only appear on class fields.",DeclareClassFieldInitializer:"Initializers are not allowed in fields with the `declare` modifier.",DuplicateDeclareModuleExports:"Duplicate `declare module.exports` statement.",EnumBooleanMemberNotInitialized:({memberName:te,enumName:c})=>`Boolean enum members need to be initialized. Use either \`${te} = true,\` or \`${te} = false,\` in enum \`${c}\`.`,EnumDuplicateMemberName:({memberName:te,enumName:c})=>`Enum member names need to be unique, but the name \`${te}\` has already been used before in enum \`${c}\`.`,EnumInconsistentMemberValues:({enumName:te})=>`Enum \`${te}\` has inconsistent member initializers. Either use no initializers, or consistently use literals (either booleans, numbers, or strings) for all member initializers.`,EnumInvalidExplicitType:({invalidEnumType:te,enumName:c})=>`Enum type \`${te}\` is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${c}\`.`,EnumInvalidExplicitTypeUnknownSupplied:({enumName:te})=>`Supplied enum type is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${te}\`.`,EnumInvalidMemberInitializerPrimaryType:({enumName:te,memberName:c,explicitType:g})=>`Enum \`${te}\` has type \`${g}\`, so the initializer of \`${c}\` needs to be a ${g} literal.`,EnumInvalidMemberInitializerSymbolType:({enumName:te,memberName:c})=>`Symbol enum members cannot be initialized. Use \`${c},\` in enum \`${te}\`.`,EnumInvalidMemberInitializerUnknownType:({enumName:te,memberName:c})=>`The enum member initializer for \`${c}\` needs to be a literal (either a boolean, number, or string) in enum \`${te}\`.`,EnumInvalidMemberName:({enumName:te,memberName:c,suggestion:g})=>`Enum member names cannot start with lowercase 'a' through 'z'. Instead of using \`${c}\`, consider using \`${g}\`, in enum \`${te}\`.`,EnumNumberMemberNotInitialized:({enumName:te,memberName:c})=>`Number enum members need to be initialized, e.g. \`${c} = 1\` in enum \`${te}\`.`,EnumStringMemberInconsistentlyInitialized:({enumName:te})=>`String enum members need to consistently either all use initializers, or use no initializers, in enum \`${te}\`.`,GetterMayNotHaveThisParam:"A getter cannot have a `this` parameter.",ImportReflectionHasImportType:"An `import module` declaration can not use `type` or `typeof` keyword.",ImportTypeShorthandOnlyInPureImport:"The `type` and `typeof` keywords on named imports can only be used on regular `import` statements. It cannot be used with `import type` or `import typeof` statements.",InexactInsideExact:"Explicit inexact syntax cannot appear inside an explicit exact object type.",InexactInsideNonObject:"Explicit inexact syntax cannot appear in class or interface definitions.",InexactVariance:"Explicit inexact syntax cannot have variance.",InvalidNonTypeImportInDeclareModule:"Imports within a `declare module` body must always be `import type` or `import typeof`.",MissingTypeParamDefault:"Type parameter declaration needs a default, since a preceding type parameter declaration has a default.",NestedDeclareModule:"`declare module` cannot be used inside another `declare module`.",NestedFlowComment:"Cannot have a flow comment inside another flow comment.",PatternIsOptional:Object.assign({message:"A binding pattern parameter cannot be optional in an implementation signature."},{reasonCode:"OptionalBindingPattern"}),SetterMayNotHaveThisParam:"A setter cannot have a `this` parameter.",SpreadVariance:"Spread properties cannot have variance.",ThisParamAnnotationRequired:"A type annotation is required for the `this` parameter.",ThisParamBannedInConstructor:"Constructors cannot have a `this` parameter; constructors don't bind `this` like other functions.",ThisParamMayNotBeOptional:"The `this` parameter cannot be optional.",ThisParamMustBeFirst:"The `this` parameter must be the first function parameter.",ThisParamNoDefault:"The `this` parameter may not have a default value.",TypeBeforeInitializer:"Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`.",TypeCastInPattern:"The type cast expression is expected to be wrapped with parenthesis.",UnexpectedExplicitInexactInObject:"Explicit inexact syntax must appear at the end of an inexact object.",UnexpectedReservedType:({reservedType:te})=>`Unexpected reserved type ${te}.`,UnexpectedReservedUnderscore:"`_` is only allowed as a type argument to call or new.",UnexpectedSpaceBetweenModuloChecks:"Spaces between `%` and `checks` are not allowed here.",UnexpectedSpreadType:"Spread operator cannot appear in class or interface definitions.",UnexpectedSubtractionOperand:'Unexpected token, expected "number" or "bigint".',UnexpectedTokenAfterTypeParameter:"Expected an arrow function after this type parameter declaration.",UnexpectedTypeParameterBeforeAsyncArrowFunction:"Type parameters must come after the async keyword, e.g. instead of `<T> async () => {}`, use `async <T>() => {}`.",UnsupportedDeclareExportKind:({unsupportedExportKind:te,suggestion:c})=>`\`declare export ${te}\` is not supported. Use \`${c}\` instead.`,UnsupportedStatementInDeclareModule:"Only declares and type imports are allowed inside declare module.",UnterminatedFlowComment:"Unterminated flow-comment."});function xt(te){return te.importKind==="type"||te.importKind==="typeof"}let bi={const:"declare export var",let:"declare export var",type:"export type",interface:"export interface"},bc=/\*?\s*@((?:no)?flow)\b/,gc={__proto__:null,quot:'"',amp:"&",apos:"'",lt:"<",gt:">",nbsp:"\xA0",iexcl:"\xA1",cent:"\xA2",pound:"\xA3",curren:"\xA4",yen:"\xA5",brvbar:"\xA6",sect:"\xA7",uml:"\xA8",copy:"\xA9",ordf:"\xAA",laquo:"\xAB",not:"\xAC",shy:"\xAD",reg:"\xAE",macr:"\xAF",deg:"\xB0",plusmn:"\xB1",sup2:"\xB2",sup3:"\xB3",acute:"\xB4",micro:"\xB5",para:"\xB6",middot:"\xB7",cedil:"\xB8",sup1:"\xB9",ordm:"\xBA",raquo:"\xBB",frac14:"\xBC",frac12:"\xBD",frac34:"\xBE",iquest:"\xBF",Agrave:"\xC0",Aacute:"\xC1",Acirc:"\xC2",Atilde:"\xC3",Auml:"\xC4",Aring:"\xC5",AElig:"\xC6",Ccedil:"\xC7",Egrave:"\xC8",Eacute:"\xC9",Ecirc:"\xCA",Euml:"\xCB",Igrave:"\xCC",Iacute:"\xCD",Icirc:"\xCE",Iuml:"\xCF",ETH:"\xD0",Ntilde:"\xD1",Ograve:"\xD2",Oacute:"\xD3",Ocirc:"\xD4",Otilde:"\xD5",Ouml:"\xD6",times:"\xD7",Oslash:"\xD8",Ugrave:"\xD9",Uacute:"\xDA",Ucirc:"\xDB",Uuml:"\xDC",Yacute:"\xDD",THORN:"\xDE",szlig:"\xDF",agrave:"\xE0",aacute:"\xE1",acirc:"\xE2",atilde:"\xE3",auml:"\xE4",aring:"\xE5",aelig:"\xE6",ccedil:"\xE7",egrave:"\xE8",eacute:"\xE9",ecirc:"\xEA",euml:"\xEB",igrave:"\xEC",iacute:"\xED",icirc:"\xEE",iuml:"\xEF",eth:"\xF0",ntilde:"\xF1",ograve:"\xF2",oacute:"\xF3",ocirc:"\xF4",otilde:"\xF5",ouml:"\xF6",divide:"\xF7",oslash:"\xF8",ugrave:"\xF9",uacute:"\xFA",ucirc:"\xFB",uuml:"\xFC",yacute:"\xFD",thorn:"\xFE",yuml:"\xFF",OElig:"\u0152",oelig:"\u0153",Scaron:"\u0160",scaron:"\u0161",Yuml:"\u0178",fnof:"\u0192",circ:"\u02C6",tilde:"\u02DC",Alpha:"\u0391",Beta:"\u0392",Gamma:"\u0393",Delta:"\u0394",Epsilon:"\u0395",Zeta:"\u0396",Eta:"\u0397",Theta:"\u0398",Iota:"\u0399",Kappa:"\u039A",Lambda:"\u039B",Mu:"\u039C",Nu:"\u039D",Xi:"\u039E",Omicron:"\u039F",Pi:"\u03A0",Rho:"\u03A1",Sigma:"\u03A3",Tau:"\u03A4",Upsilon:"\u03A5",Phi:"\u03A6",Chi:"\u03A7",Psi:"\u03A8",Omega:"\u03A9",alpha:"\u03B1",beta:"\u03B2",gamma:"\u03B3",delta:"\u03B4",epsilon:"\u03B5",zeta:"\u03B6",eta:"\u03B7",theta:"\u03B8",iota:"\u03B9",kappa:"\u03BA",lambda:"\u03BB",mu:"\u03BC",nu:"\u03BD",xi:"\u03BE",omicron:"\u03BF",pi:"\u03C0",rho:"\u03C1",sigmaf:"\u03C2",sigma:"\u03C3",tau:"\u03C4",upsilon:"\u03C5",phi:"\u03C6",chi:"\u03C7",psi:"\u03C8",omega:"\u03C9",thetasym:"\u03D1",upsih:"\u03D2",piv:"\u03D6",ensp:"\u2002",emsp:"\u2003",thinsp:"\u2009",zwnj:"\u200C",zwj:"\u200D",lrm:"\u200E",rlm:"\u200F",ndash:"\u2013",mdash:"\u2014",lsquo:"\u2018",rsquo:"\u2019",sbquo:"\u201A",ldquo:"\u201C",rdquo:"\u201D",bdquo:"\u201E",dagger:"\u2020",Dagger:"\u2021",bull:"\u2022",hellip:"\u2026",permil:"\u2030",prime:"\u2032",Prime:"\u2033",lsaquo:"\u2039",rsaquo:"\u203A",oline:"\u203E",frasl:"\u2044",euro:"\u20AC",image:"\u2111",weierp:"\u2118",real:"\u211C",trade:"\u2122",alefsym:"\u2135",larr:"\u2190",uarr:"\u2191",rarr:"\u2192",darr:"\u2193",harr:"\u2194",crarr:"\u21B5",lArr:"\u21D0",uArr:"\u21D1",rArr:"\u21D2",dArr:"\u21D3",hArr:"\u21D4",forall:"\u2200",part:"\u2202",exist:"\u2203",empty:"\u2205",nabla:"\u2207",isin:"\u2208",notin:"\u2209",ni:"\u220B",prod:"\u220F",sum:"\u2211",minus:"\u2212",lowast:"\u2217",radic:"\u221A",prop:"\u221D",infin:"\u221E",ang:"\u2220",and:"\u2227",or:"\u2228",cap:"\u2229",cup:"\u222A",int:"\u222B",there4:"\u2234",sim:"\u223C",cong:"\u2245",asymp:"\u2248",ne:"\u2260",equiv:"\u2261",le:"\u2264",ge:"\u2265",sub:"\u2282",sup:"\u2283",nsub:"\u2284",sube:"\u2286",supe:"\u2287",oplus:"\u2295",otimes:"\u2297",perp:"\u22A5",sdot:"\u22C5",lceil:"\u2308",rceil:"\u2309",lfloor:"\u230A",rfloor:"\u230B",lang:"\u2329",rang:"\u232A",loz:"\u25CA",spades:"\u2660",clubs:"\u2663",hearts:"\u2665",diams:"\u2666"},Xi=A`jsx`({AttributeIsEmpty:"JSX attributes must only be assigned a non-empty expression.",MissingClosingTagElement:({openingTagName:te})=>`Expected corresponding JSX closing tag for <${te}>.`,MissingClosingTagFragment:"Expected corresponding JSX closing tag for <>.",UnexpectedSequenceExpression:"Sequence expressions cannot be directly nested inside JSX. Did you mean to wrap it in parentheses (...)?",UnexpectedToken:({unexpected:te,HTMLEntity:c})=>`Unexpected token \`${te}\`. Did you mean \`${c}\` or \`{'${te}'}\`?`,UnsupportedJsxValue:"JSX value should be either an expression or a quoted JSX text.",UnterminatedJsxContent:"Unterminated JSX contents.",UnwrappedAdjacentJSXElements:"Adjacent JSX elements must be wrapped in an enclosing tag. Did you want a JSX fragment <>...</>?"});function Ji(te){return!!te&&(te.type==="JSXOpeningFragment"||te.type==="JSXClosingFragment")}function Oi(te){if(te.type==="JSXIdentifier")return te.name;if(te.type==="JSXNamespacedName")return te.namespace.name+":"+te.name.name;if(te.type==="JSXMemberExpression")return Oi(te.object)+"."+Oi(te.property);throw new Error("Node had unexpected type: "+te.type)}class vc extends zt{constructor(...c){super(...c),this.types=new Set,this.enums=new Set,this.constEnums=new Set,this.classes=new Set,this.exportOnlyBindings=new Set}}class Tc extends Zt{constructor(...c){super(...c),this.importsStack=[]}createScope(c){return this.importsStack.push(new Set),new vc(c)}enter(c){c==256&&this.importsStack.push(new Set),super.enter(c)}exit(){let c=super.exit();return c==256&&this.importsStack.pop(),c}hasImport(c,g){let _=this.importsStack.length;if(this.importsStack[_-1].has(c))return!0;if(!g&&_>1){for(let O=0;O<_-1;O++)if(this.importsStack[O].has(c))return!0}return!1}declareName(c,g,_){if(4096&g)return this.hasImport(c,!0)&&this.parser.raise(x.VarRedeclaration,{at:_,identifierName:c}),void this.importsStack[this.importsStack.length-1].add(c);let O=this.currentScope();if(1024&g)return this.maybeExportDefined(O,c),void O.exportOnlyBindings.add(c);super.declareName(c,g,_),2&g&&(1&g||(this.checkRedeclarationInScope(O,c,g,_),this.maybeExportDefined(O,c)),O.types.add(c)),256&g&&O.enums.add(c),512&g&&O.constEnums.add(c),128&g&&O.classes.add(c)}isRedeclaredInScope(c,g,_){return c.enums.has(g)?256&_?!!(512&_)!==c.constEnums.has(g):!0:128&_&&c.classes.has(g)?!!c.lexical.has(g)&&!!(1&_):!!(2&_&&c.types.has(g))||super.isRedeclaredInScope(c,g,_)}checkLocalExport(c){let{name:g}=c;if(!this.hasImport(g)){for(let _=this.scopeStack.length-1;_>=0;_--){let O=this.scopeStack[_];if(O.types.has(g)||O.exportOnlyBindings.has(g))return}super.checkLocalExport(c)}}}let ol=te=>te.type==="ParenthesizedExpression"?ol(te.expression):te;class ll extends al{toAssignable(c,g=!1){var _,O;let q;switch((c.type==="ParenthesizedExpression"||(_=c.extra)!=null&&_.parenthesized)&&(q=ol(c),g?q.type==="Identifier"?this.expressionScope.recordArrowParameterBindingError(x.InvalidParenthesizedAssignment,{at:c}):q.type!=="MemberExpression"&&this.raise(x.InvalidParenthesizedAssignment,{at:c}):this.raise(x.InvalidParenthesizedAssignment,{at:c})),c.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":c.type="ObjectPattern";for(let le=0,fe=c.properties.length,we=fe-1;le<fe;le++){var ee;let Re=c.properties[le],at=le===we;this.toAssignableObjectExpressionProp(Re,at,g),at&&Re.type==="RestElement"&&(ee=c.extra)!=null&&ee.trailingCommaLoc&&this.raise(x.RestTrailingComma,{at:c.extra.trailingCommaLoc})}break;case"ObjectProperty":{let{key:le,value:fe}=c;this.isPrivateName(le)&&this.classScope.usePrivateName(this.getPrivateNameSV(le),le.loc.start),this.toAssignable(fe,g);break}case"SpreadElement":throw new Error("Internal @babel/parser error (this is a bug, please report it). SpreadElement should be converted by .toAssignable's caller.");case"ArrayExpression":c.type="ArrayPattern",this.toAssignableList(c.elements,(O=c.extra)==null?void 0:O.trailingCommaLoc,g);break;case"AssignmentExpression":c.operator!=="="&&this.raise(x.MissingEqInAssignment,{at:c.left.loc.end}),c.type="AssignmentPattern",delete c.operator,this.toAssignable(c.left,g);break;case"ParenthesizedExpression":this.toAssignable(q,g)}}toAssignableObjectExpressionProp(c,g,_){if(c.type==="ObjectMethod")this.raise(c.kind==="get"||c.kind==="set"?x.PatternHasAccessor:x.PatternHasMethod,{at:c.key});else if(c.type==="SpreadElement"){c.type="RestElement";let O=c.argument;this.checkToRestConversion(O,!1),this.toAssignable(O,_),g||this.raise(x.RestTrailingComma,{at:c})}else this.toAssignable(c,_)}toAssignableList(c,g,_){let O=c.length-1;for(let q=0;q<=O;q++){let ee=c[q];if(ee){if(ee.type==="SpreadElement"){ee.type="RestElement";let le=ee.argument;this.checkToRestConversion(le,!0),this.toAssignable(le,_)}else this.toAssignable(ee,_);ee.type==="RestElement"&&(q<O?this.raise(x.RestTrailingComma,{at:ee}):g&&this.raise(x.RestTrailingComma,{at:g}))}}}isAssignable(c,g){switch(c.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":return!0;case"ObjectExpression":{let _=c.properties.length-1;return c.properties.every((O,q)=>O.type!=="ObjectMethod"&&(q===_||O.type!=="SpreadElement")&&this.isAssignable(O))}case"ObjectProperty":return this.isAssignable(c.value);case"SpreadElement":return this.isAssignable(c.argument);case"ArrayExpression":return c.elements.every(_=>_===null||this.isAssignable(_));case"AssignmentExpression":return c.operator==="=";case"ParenthesizedExpression":return this.isAssignable(c.expression);case"MemberExpression":case"OptionalMemberExpression":return!g;default:return!1}}toReferencedList(c,g){return c}toReferencedListDeep(c,g){this.toReferencedList(c,g);for(let _ of c)(_==null?void 0:_.type)==="ArrayExpression"&&this.toReferencedListDeep(_.elements)}parseSpread(c){let g=this.startNode();return this.next(),g.argument=this.parseMaybeAssignAllowIn(c,void 0),this.finishNode(g,"SpreadElement")}parseRestBinding(){let c=this.startNode();return this.next(),c.argument=this.parseBindingAtom(),this.finishNode(c,"RestElement")}parseBindingAtom(){switch(this.state.type){case 0:{let c=this.startNode();return this.next(),c.elements=this.parseBindingList(3,93,1),this.finishNode(c,"ArrayPattern")}case 5:return this.parseObjectLike(8,!0)}return this.parseIdentifier()}parseBindingList(c,g,_){let O=1&_,q=[],ee=!0;for(;!this.eat(c);)if(ee?ee=!1:this.expect(12),O&&this.match(12))q.push(null);else{if(this.eat(c))break;if(this.match(21)){if(q.push(this.parseAssignableListItemTypes(this.parseRestBinding(),_)),!this.checkCommaAfterRest(g)){this.expect(c);break}}else{let le=[];for(this.match(26)&&this.hasPlugin("decorators")&&this.raise(x.UnsupportedParameterDecorator,{at:this.state.startLoc});this.match(26);)le.push(this.parseDecorator());q.push(this.parseAssignableListItem(_,le))}}return q}parseBindingRestProperty(c){return this.next(),c.argument=this.parseIdentifier(),this.checkCommaAfterRest(125),this.finishNode(c,"RestElement")}parseBindingProperty(){let c=this.startNode(),{type:g,startLoc:_}=this.state;return g===21?this.parseBindingRestProperty(c):(g===136?(this.expectPlugin("destructuringPrivate",_),this.classScope.usePrivateName(this.state.value,_),c.key=this.parsePrivateName()):this.parsePropertyName(c),c.method=!1,this.parseObjPropValue(c,_,!1,!1,!0,!1))}parseAssignableListItem(c,g){let _=this.parseMaybeDefault();this.parseAssignableListItemTypes(_,c);let O=this.parseMaybeDefault(_.loc.start,_);return g.length&&(_.decorators=g),O}parseAssignableListItemTypes(c,g){return c}parseMaybeDefault(c,g){var _;if(c!=null||(c=this.state.startLoc),g=(_=g)!=null?_:this.parseBindingAtom(),!this.eat(29))return g;let O=this.startNodeAt(c);return O.left=g,O.right=this.parseMaybeAssignAllowIn(),this.finishNode(O,"AssignmentPattern")}isValidLVal(c,g,_){return O={AssignmentPattern:"left",RestElement:"argument",ObjectProperty:"value",ParenthesizedExpression:"expression",ArrayPattern:"elements",ObjectPattern:"properties"},q=c,Object.hasOwnProperty.call(O,q)&&O[q];var O,q}checkLVal(c,{in:g,binding:_=64,checkClashes:O=!1,strictModeChanged:q=!1,hasParenthesizedAncestor:ee=!1}){var le;let fe=c.type;if(this.isObjectMethod(c))return;if(fe==="MemberExpression")return void(_!==64&&this.raise(x.InvalidPropertyBindingPattern,{at:c}));if(fe==="Identifier"){this.checkIdentifier(c,_,q);let{name:bt}=c;return void(O&&(O.has(bt)?this.raise(x.ParamDupe,{at:c}):O.add(bt)))}let we=this.isValidLVal(fe,!(ee||(le=c.extra)!=null&&le.parenthesized)&&g.type==="AssignmentExpression",_);if(we===!0)return;if(we===!1){let bt=_===64?x.InvalidLhs:x.InvalidLhsBinding;return void this.raise(bt,{at:c,ancestor:g})}let[Re,at]=Array.isArray(we)?we:[we,fe==="ParenthesizedExpression"],Rt=fe==="ArrayPattern"||fe==="ObjectPattern"||fe==="ParenthesizedExpression"?{type:fe}:g;for(let bt of[].concat(c[Re]))bt&&this.checkLVal(bt,{in:Rt,binding:_,checkClashes:O,strictModeChanged:q,hasParenthesizedAncestor:at})}checkIdentifier(c,g,_=!1){this.state.strict&&(_?ut(c.name,this.inModule):et(c.name))&&(g===64?this.raise(x.StrictEvalArguments,{at:c,referenceName:c.name}):this.raise(x.StrictEvalArgumentsBinding,{at:c,bindingName:c.name})),8192&g&&c.name==="let"&&this.raise(x.LetInLexicalBinding,{at:c}),64&g||this.declareNameFromIdentifier(c,g)}declareNameFromIdentifier(c,g){this.scope.declareName(c.name,g,c.loc.start)}checkToRestConversion(c,g){switch(c.type){case"ParenthesizedExpression":this.checkToRestConversion(c.expression,g);break;case"Identifier":case"MemberExpression":break;case"ArrayExpression":case"ObjectExpression":if(g)break;default:this.raise(x.InvalidRestAssignmentPattern,{at:c})}}checkCommaAfterRest(c){return!!this.match(12)&&(this.raise(this.lookaheadCharCode()===c?x.RestTrailingComma:x.ElementAfterRest,{at:this.state.startLoc}),!0)}}function rr(te){if(!te)throw new Error("Assert fail")}let _t=A`typescript`({AbstractMethodHasImplementation:({methodName:te})=>`Method '${te}' cannot have an implementation because it is marked abstract.`,AbstractPropertyHasInitializer:({propertyName:te})=>`Property '${te}' cannot have an initializer because it is marked abstract.`,AccesorCannotDeclareThisParameter:"'get' and 'set' accessors cannot declare 'this' parameters.",AccesorCannotHaveTypeParameters:"An accessor cannot have type parameters.",AccessorCannotBeOptional:"An 'accessor' property cannot be declared optional.",ClassMethodHasDeclare:"Class methods cannot have the 'declare' modifier.",ClassMethodHasReadonly:"Class methods cannot have the 'readonly' modifier.",ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference:"A 'const' initializer in an ambient context must be a string or numeric literal or literal enum reference.",ConstructorHasTypeParameters:"Type parameters cannot appear on a constructor declaration.",DeclareAccessor:({kind:te})=>`'declare' is not allowed in ${te}ters.`,DeclareClassFieldHasInitializer:"Initializers are not allowed in ambient contexts.",DeclareFunctionHasImplementation:"An implementation cannot be declared in ambient contexts.",DuplicateAccessibilityModifier:({modifier:te})=>"Accessibility modifier already seen.",DuplicateModifier:({modifier:te})=>`Duplicate modifier: '${te}'.`,EmptyHeritageClauseType:({token:te})=>`'${te}' list cannot be empty.`,EmptyTypeArguments:"Type argument list cannot be empty.",EmptyTypeParameters:"Type parameter list cannot be empty.",ExpectedAmbientAfterExportDeclare:"'export declare' must be followed by an ambient declaration.",ImportAliasHasImportType:"An import alias can not use 'import type'.",ImportReflectionHasImportType:"An `import module` declaration can not use `type` modifier",IncompatibleModifiers:({modifiers:te})=>`'${te[0]}' modifier cannot be used with '${te[1]}' modifier.`,IndexSignatureHasAbstract:"Index signatures cannot have the 'abstract' modifier.",IndexSignatureHasAccessibility:({modifier:te})=>`Index signatures cannot have an accessibility modifier ('${te}').`,IndexSignatureHasDeclare:"Index signatures cannot have the 'declare' modifier.",IndexSignatureHasOverride:"'override' modifier cannot appear on an index signature.",IndexSignatureHasStatic:"Index signatures cannot have the 'static' modifier.",InitializerNotAllowedInAmbientContext:"Initializers are not allowed in ambient contexts.",InvalidModifierOnTypeMember:({modifier:te})=>`'${te}' modifier cannot appear on a type member.`,InvalidModifierOnTypeParameter:({modifier:te})=>`'${te}' modifier cannot appear on a type parameter.`,InvalidModifierOnTypeParameterPositions:({modifier:te})=>`'${te}' modifier can only appear on a type parameter of a class, interface or type alias.`,InvalidModifiersOrder:({orderedModifiers:te})=>`'${te[0]}' modifier must precede '${te[1]}' modifier.`,InvalidPropertyAccessAfterInstantiationExpression:"Invalid property access after an instantiation expression. You can either wrap the instantiation expression in parentheses, or delete the type arguments.",InvalidTupleMemberLabel:"Tuple members must be labeled with a simple identifier.",MissingInterfaceName:"'interface' declarations must be followed by an identifier.",MixedLabeledAndUnlabeledElements:"Tuple members must all have names or all not have names.",NonAbstractClassHasAbstractMethod:"Abstract methods can only appear within an abstract class.",NonClassMethodPropertyHasAbstractModifer:"'abstract' modifier can only appear on a class, method, or property declaration.",OptionalTypeBeforeRequired:"A required element cannot follow an optional element.",OverrideNotInSubClass:"This member cannot have an 'override' modifier because its containing class does not extend another class.",PatternIsOptional:"A binding pattern parameter cannot be optional in an implementation signature.",PrivateElementHasAbstract:"Private elements cannot have the 'abstract' modifier.",PrivateElementHasAccessibility:({modifier:te})=>`Private elements cannot have an accessibility modifier ('${te}').`,ReadonlyForMethodSignature:"'readonly' modifier can only appear on a property declaration or index signature.",ReservedArrowTypeParam:"This syntax is reserved in files with the .mts or .cts extension. Add a trailing comma, as in `<T,>() => ...`.",ReservedTypeAssertion:"This syntax is reserved in files with the .mts or .cts extension. Use an `as` expression instead.",SetAccesorCannotHaveOptionalParameter:"A 'set' accessor cannot have an optional parameter.",SetAccesorCannotHaveRestParameter:"A 'set' accessor cannot have rest parameter.",SetAccesorCannotHaveReturnType:"A 'set' accessor cannot have a return type annotation.",SingleTypeParameterWithoutTrailingComma:({typeParameterName:te})=>`Single type parameter ${te} should have a trailing comma. Example usage: <${te},>.`,StaticBlockCannotHaveModifier:"Static class blocks cannot have any modifier.",TupleOptionalAfterType:"A labeled tuple optional element must be declared using a question mark after the name and before the colon (`name?: type`), rather than after the type (`name: type?`).",TypeAnnotationAfterAssign:"Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`.",TypeImportCannotSpecifyDefaultAndNamed:"A type-only import can specify a default import or named bindings, but not both.",TypeModifierIsUsedInTypeExports:"The 'type' modifier cannot be used on a named export when 'export type' is used on its export statement.",TypeModifierIsUsedInTypeImports:"The 'type' modifier cannot be used on a named import when 'import type' is used on its import statement.",UnexpectedParameterModifier:"A parameter property is only allowed in a constructor implementation.",UnexpectedReadonly:"'readonly' type modifier is only permitted on array and tuple literal types.",UnexpectedTypeAnnotation:"Did not expect a type annotation here.",UnexpectedTypeCastInParameter:"Unexpected type cast in parameter position.",UnsupportedImportTypeArgument:"Argument in a type import must be a string literal.",UnsupportedParameterPropertyKind:"A parameter property may not be declared using a binding pattern.",UnsupportedSignatureParameterKind:({type:te})=>`Name in a signature must be an Identifier, ObjectPattern or ArrayPattern, instead got ${te}.`});function ul(te){return te==="private"||te==="public"||te==="protected"}function Ec(te){return te==="in"||te==="out"}function Yi(te){if(te.type!=="MemberExpression")return!1;let{computed:c,property:g}=te;return(!c||g.type==="StringLiteral"||!(g.type!=="TemplateLiteral"||g.expressions.length>0))&&xc(te.object)}function jt(te,c){var g;let{type:_}=te;if((g=te.extra)!=null&&g.parenthesized)return!1;if(c){if(_==="Literal"){let{value:O}=te;if(typeof O=="string"||typeof O=="boolean")return!0}}else if(_==="StringLiteral"||_==="BooleanLiteral")return!0;return!(!Sc(te,c)&&!function(O,q){if(O.type==="UnaryExpression"){let{operator:ee,argument:le}=O;if(ee==="-"&&Sc(le,q))return!0}return!1}(te,c))||_==="TemplateLiteral"&&te.expressions.length===0||!!Yi(te)}function Sc(te,c){return c?te.type==="Literal"&&(typeof te.value=="number"||"bigint"in te):te.type==="NumericLiteral"||te.type==="BigIntLiteral"}function xc(te){return te.type==="Identifier"||te.type==="MemberExpression"&&!te.computed&&xc(te.object)}let _c=A`placeholders`({ClassNameIsRequired:"A class name is required.",UnexpectedSpace:"Unexpected space in placeholder."});function un(te,c){let[g,_]=typeof c=="string"?[c,{}]:c,O=Object.keys(_),q=O.length===0;return te.some(ee=>{if(typeof ee=="string")return q&&ee===g;{let[le,fe]=ee;if(le!==g)return!1;for(let we of O)if(fe[we]!==_[we])return!1;return!0}})}function bs(te,c,g){let _=te.find(O=>Array.isArray(O)?O[0]===c:O===c);return _&&Array.isArray(_)&&_.length>1?_[1][g]:null}let wc=["minimal","fsharp","hack","smart"],Ni=["^^","@@","^","%","#"],Us=["hash","bar"],Ta={estree:te=>class extends te{parse(){let c=D(super.parse());return this.options.tokens&&(c.tokens=c.tokens.map(D)),c}parseRegExpLiteral({pattern:c,flags:g}){let _=null;try{_=new RegExp(c,g)}catch{}let O=this.estreeParseLiteral(_);return O.regex={pattern:c,flags:g},O}parseBigIntLiteral(c){let g;try{g=BigInt(c)}catch{g=null}let _=this.estreeParseLiteral(g);return _.bigint=String(_.value||c),_}parseDecimalLiteral(c){let g=this.estreeParseLiteral(null);return g.decimal=String(g.value||c),g}estreeParseLiteral(c){return this.parseLiteral(c,"Literal")}parseStringLiteral(c){return this.estreeParseLiteral(c)}parseNumericLiteral(c){return this.estreeParseLiteral(c)}parseNullLiteral(){return this.estreeParseLiteral(null)}parseBooleanLiteral(c){return this.estreeParseLiteral(c)}directiveToStmt(c){let g=c.value;delete c.value,g.type="Literal",g.raw=g.extra.raw,g.value=g.extra.expressionValue;let _=c;return _.type="ExpressionStatement",_.expression=g,_.directive=g.extra.rawValue,delete g.extra,_}initFunction(c,g){super.initFunction(c,g),c.expression=!1}checkDeclaration(c){c!=null&&this.isObjectProperty(c)?this.checkDeclaration(c.value):super.checkDeclaration(c)}getObjectOrClassMethodParams(c){return c.value.params}isValidDirective(c){var g;return c.type==="ExpressionStatement"&&c.expression.type==="Literal"&&typeof c.expression.value=="string"&&!((g=c.expression.extra)!=null&&g.parenthesized)}parseBlockBody(c,g,_,O,q){super.parseBlockBody(c,g,_,O,q);let ee=c.directives.map(le=>this.directiveToStmt(le));c.body=ee.concat(c.body),delete c.directives}pushClassMethod(c,g,_,O,q,ee){this.parseMethod(g,_,O,q,ee,"ClassMethod",!0),g.typeParameters&&(g.value.typeParameters=g.typeParameters,delete g.typeParameters),c.body.push(g)}parsePrivateName(){let c=super.parsePrivateName();return this.getPluginOption("estree","classFeatures")?this.convertPrivateNameToPrivateIdentifier(c):c}convertPrivateNameToPrivateIdentifier(c){let g=super.getPrivateNameSV(c);return delete c.id,c.name=g,c.type="PrivateIdentifier",c}isPrivateName(c){return this.getPluginOption("estree","classFeatures")?c.type==="PrivateIdentifier":super.isPrivateName(c)}getPrivateNameSV(c){return this.getPluginOption("estree","classFeatures")?c.name:super.getPrivateNameSV(c)}parseLiteral(c,g){let _=super.parseLiteral(c,g);return _.raw=_.extra.raw,delete _.extra,_}parseFunctionBody(c,g,_=!1){super.parseFunctionBody(c,g,_),c.expression=c.body.type!=="BlockStatement"}parseMethod(c,g,_,O,q,ee,le=!1){let fe=this.startNode();return fe.kind=c.kind,fe=super.parseMethod(fe,g,_,O,q,ee,le),fe.type="FunctionExpression",delete fe.kind,c.value=fe,ee==="ClassPrivateMethod"&&(c.computed=!1),this.finishNode(c,"MethodDefinition")}parseClassProperty(...c){let g=super.parseClassProperty(...c);return this.getPluginOption("estree","classFeatures")&&(g.type="PropertyDefinition"),g}parseClassPrivateProperty(...c){let g=super.parseClassPrivateProperty(...c);return this.getPluginOption("estree","classFeatures")&&(g.type="PropertyDefinition",g.computed=!1),g}parseObjectMethod(c,g,_,O,q){let ee=super.parseObjectMethod(c,g,_,O,q);return ee&&(ee.type="Property",ee.kind==="method"&&(ee.kind="init"),ee.shorthand=!1),ee}parseObjectProperty(c,g,_,O){let q=super.parseObjectProperty(c,g,_,O);return q&&(q.kind="init",q.type="Property"),q}isValidLVal(c,g,_){return c==="Property"?"value":super.isValidLVal(c,g,_)}isAssignable(c,g){return c!=null&&this.isObjectProperty(c)?this.isAssignable(c.value,g):super.isAssignable(c,g)}toAssignable(c,g=!1){if(c!=null&&this.isObjectProperty(c)){let{key:_,value:O}=c;this.isPrivateName(_)&&this.classScope.usePrivateName(this.getPrivateNameSV(_),_.loc.start),this.toAssignable(O,g)}else super.toAssignable(c,g)}toAssignableObjectExpressionProp(c,g,_){c.kind==="get"||c.kind==="set"?this.raise(x.PatternHasAccessor,{at:c.key}):c.method?this.raise(x.PatternHasMethod,{at:c.key}):super.toAssignableObjectExpressionProp(c,g,_)}finishCallExpression(c,g){let _=super.finishCallExpression(c,g);if(_.callee.type==="Import"){var O;_.type="ImportExpression",_.source=_.arguments[0],(this.hasPlugin("importAttributes")||this.hasPlugin("importAssertions"))&&(_.attributes=(O=_.arguments[1])!=null?O:null),delete _.arguments,delete _.callee}return _}toReferencedArguments(c){c.type!=="ImportExpression"&&super.toReferencedArguments(c)}parseExport(c,g){let _=this.state.lastTokStartLoc,O=super.parseExport(c,g);switch(O.type){case"ExportAllDeclaration":O.exported=null;break;case"ExportNamedDeclaration":O.specifiers.length===1&&O.specifiers[0].type==="ExportNamespaceSpecifier"&&(O.type="ExportAllDeclaration",O.exported=O.specifiers[0].exported,delete O.specifiers);case"ExportDefaultDeclaration":{var q;let{declaration:ee}=O;(ee==null?void 0:ee.type)==="ClassDeclaration"&&((q=ee.decorators)==null?void 0:q.length)>0&&ee.start===O.start&&this.resetStartLocation(O,_)}}return O}parseSubscript(c,g,_,O){let q=super.parseSubscript(c,g,_,O);if(O.optionalChainMember){if(q.type!=="OptionalMemberExpression"&&q.type!=="OptionalCallExpression"||(q.type=q.type.substring(8)),O.stop){let ee=this.startNodeAtNode(q);return ee.expression=q,this.finishNode(ee,"ChainExpression")}}else q.type!=="MemberExpression"&&q.type!=="CallExpression"||(q.optional=!1);return q}hasPropertyAsPrivateName(c){return c.type==="ChainExpression"&&(c=c.expression),super.hasPropertyAsPrivateName(c)}isObjectProperty(c){return c.type==="Property"&&c.kind==="init"&&!c.method}isObjectMethod(c){return c.method||c.kind==="get"||c.kind==="set"}finishNodeAt(c,g,_){return D(super.finishNodeAt(c,g,_))}resetStartLocation(c,g){super.resetStartLocation(c,g),D(c)}resetEndLocation(c,g=this.state.lastTokEndLoc){super.resetEndLocation(c,g),D(c)}},jsx:te=>class extends te{jsxReadToken(){let c="",g=this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(Xi.UnterminatedJsxContent,{at:this.state.startLoc});let _=this.input.charCodeAt(this.state.pos);switch(_){case 60:case 123:return this.state.pos===this.state.start?void(_===60&&this.state.canStartJSXElement?(++this.state.pos,this.finishToken(140)):super.getTokenFromCode(_)):(c+=this.input.slice(g,this.state.pos),void this.finishToken(139,c));case 38:c+=this.input.slice(g,this.state.pos),c+=this.jsxReadEntity(),g=this.state.pos;break;default:ot(_)?(c+=this.input.slice(g,this.state.pos),c+=this.jsxReadNewLine(!0),g=this.state.pos):++this.state.pos}}}jsxReadNewLine(c){let g=this.input.charCodeAt(this.state.pos),_;return++this.state.pos,g===13&&this.input.charCodeAt(this.state.pos)===10?(++this.state.pos,_=c?`
|
|
`:`\r
|
|
`):_=String.fromCharCode(g),++this.state.curLine,this.state.lineStart=this.state.pos,_}jsxReadString(c){let g="",_=++this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(x.UnterminatedString,{at:this.state.startLoc});let O=this.input.charCodeAt(this.state.pos);if(O===c)break;O===38?(g+=this.input.slice(_,this.state.pos),g+=this.jsxReadEntity(),_=this.state.pos):ot(O)?(g+=this.input.slice(_,this.state.pos),g+=this.jsxReadNewLine(!1),_=this.state.pos):++this.state.pos}g+=this.input.slice(_,this.state.pos++),this.finishToken(131,g)}jsxReadEntity(){let c=++this.state.pos;if(this.codePointAtPos(this.state.pos)===35){++this.state.pos;let g=10;this.codePointAtPos(this.state.pos)===120&&(g=16,++this.state.pos);let _=this.readInt(g,void 0,!1,"bail");if(_!==null&&this.codePointAtPos(this.state.pos)===59)return++this.state.pos,String.fromCodePoint(_)}else{let g=0,_=!1;for(;g++<10&&this.state.pos<this.length&&!(_=this.codePointAtPos(this.state.pos)==59);)++this.state.pos;if(_){let O=this.input.slice(c,this.state.pos),q=gc[O];if(++this.state.pos,q)return q}}return this.state.pos=c,"&"}jsxReadWord(){let c,g=this.state.pos;do c=this.input.charCodeAt(++this.state.pos);while(Qe(c)||c===45);this.finishToken(138,this.input.slice(g,this.state.pos))}jsxParseIdentifier(){let c=this.startNode();return this.match(138)?c.name=this.state.value:Ae(this.state.type)?c.name=Oe(this.state.type):this.unexpected(),this.next(),this.finishNode(c,"JSXIdentifier")}jsxParseNamespacedName(){let c=this.state.startLoc,g=this.jsxParseIdentifier();if(!this.eat(14))return g;let _=this.startNodeAt(c);return _.namespace=g,_.name=this.jsxParseIdentifier(),this.finishNode(_,"JSXNamespacedName")}jsxParseElementName(){let c=this.state.startLoc,g=this.jsxParseNamespacedName();if(g.type==="JSXNamespacedName")return g;for(;this.eat(16);){let _=this.startNodeAt(c);_.object=g,_.property=this.jsxParseIdentifier(),g=this.finishNode(_,"JSXMemberExpression")}return g}jsxParseAttributeValue(){let c;switch(this.state.type){case 5:return c=this.startNode(),this.setContext(I.brace),this.next(),c=this.jsxParseExpressionContainer(c,I.j_oTag),c.expression.type==="JSXEmptyExpression"&&this.raise(Xi.AttributeIsEmpty,{at:c}),c;case 140:case 131:return this.parseExprAtom();default:throw this.raise(Xi.UnsupportedJsxValue,{at:this.state.startLoc})}}jsxParseEmptyExpression(){let c=this.startNodeAt(this.state.lastTokEndLoc);return this.finishNodeAt(c,"JSXEmptyExpression",this.state.startLoc)}jsxParseSpreadChild(c){return this.next(),c.expression=this.parseExpression(),this.setContext(I.j_expr),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(c,"JSXSpreadChild")}jsxParseExpressionContainer(c,g){if(this.match(8))c.expression=this.jsxParseEmptyExpression();else{let _=this.parseExpression();c.expression=_}return this.setContext(g),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(c,"JSXExpressionContainer")}jsxParseAttribute(){let c=this.startNode();return this.match(5)?(this.setContext(I.brace),this.next(),this.expect(21),c.argument=this.parseMaybeAssignAllowIn(),this.setContext(I.j_oTag),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(c,"JSXSpreadAttribute")):(c.name=this.jsxParseNamespacedName(),c.value=this.eat(29)?this.jsxParseAttributeValue():null,this.finishNode(c,"JSXAttribute"))}jsxParseOpeningElementAt(c){let g=this.startNodeAt(c);return this.eat(141)?this.finishNode(g,"JSXOpeningFragment"):(g.name=this.jsxParseElementName(),this.jsxParseOpeningElementAfterName(g))}jsxParseOpeningElementAfterName(c){let g=[];for(;!this.match(56)&&!this.match(141);)g.push(this.jsxParseAttribute());return c.attributes=g,c.selfClosing=this.eat(56),this.expect(141),this.finishNode(c,"JSXOpeningElement")}jsxParseClosingElementAt(c){let g=this.startNodeAt(c);return this.eat(141)?this.finishNode(g,"JSXClosingFragment"):(g.name=this.jsxParseElementName(),this.expect(141),this.finishNode(g,"JSXClosingElement"))}jsxParseElementAt(c){let g=this.startNodeAt(c),_=[],O=this.jsxParseOpeningElementAt(c),q=null;if(!O.selfClosing){e:for(;;)switch(this.state.type){case 140:if(c=this.state.startLoc,this.next(),this.eat(56)){q=this.jsxParseClosingElementAt(c);break e}_.push(this.jsxParseElementAt(c));break;case 139:_.push(this.parseExprAtom());break;case 5:{let ee=this.startNode();this.setContext(I.brace),this.next(),this.match(21)?_.push(this.jsxParseSpreadChild(ee)):_.push(this.jsxParseExpressionContainer(ee,I.j_expr));break}default:this.unexpected()}Ji(O)&&!Ji(q)&&q!==null?this.raise(Xi.MissingClosingTagFragment,{at:q}):!Ji(O)&&Ji(q)?this.raise(Xi.MissingClosingTagElement,{at:q,openingTagName:Oi(O.name)}):Ji(O)||Ji(q)||Oi(q.name)!==Oi(O.name)&&this.raise(Xi.MissingClosingTagElement,{at:q,openingTagName:Oi(O.name)})}if(Ji(O)?(g.openingFragment=O,g.closingFragment=q):(g.openingElement=O,g.closingElement=q),g.children=_,this.match(47))throw this.raise(Xi.UnwrappedAdjacentJSXElements,{at:this.state.startLoc});return Ji(O)?this.finishNode(g,"JSXFragment"):this.finishNode(g,"JSXElement")}jsxParseElement(){let c=this.state.startLoc;return this.next(),this.jsxParseElementAt(c)}setContext(c){let{context:g}=this.state;g[g.length-1]=c}parseExprAtom(c){return this.match(139)?this.parseLiteral(this.state.value,"JSXText"):this.match(140)?this.jsxParseElement():this.match(47)&&this.input.charCodeAt(this.state.pos)!==33?(this.replaceToken(140),this.jsxParseElement()):super.parseExprAtom(c)}skipSpace(){this.curContext().preserveSpace||super.skipSpace()}getTokenFromCode(c){let g=this.curContext();if(g!==I.j_expr){if(g===I.j_oTag||g===I.j_cTag){if(ke(c))return void this.jsxReadWord();if(c===62)return++this.state.pos,void this.finishToken(141);if((c===34||c===39)&&g===I.j_oTag)return void this.jsxReadString(c)}if(c===60&&this.state.canStartJSXElement&&this.input.charCodeAt(this.state.pos+1)!==33)return++this.state.pos,void this.finishToken(140);super.getTokenFromCode(c)}else this.jsxReadToken()}updateContext(c){let{context:g,type:_}=this.state;if(_===56&&c===140)g.splice(-2,2,I.j_cTag),this.state.canStartJSXElement=!1;else if(_===140)g.push(I.j_oTag);else if(_===141){let O=g[g.length-1];O===I.j_oTag&&c===56||O===I.j_cTag?(g.pop(),this.state.canStartJSXElement=g[g.length-1]===I.j_expr):(this.setContext(I.j_expr),this.state.canStartJSXElement=!0)}else this.state.canStartJSXElement=B[_]}},flow:te=>class extends te{constructor(...c){super(...c),this.flowPragma=void 0}getScopeHandler(){return er}shouldParseTypes(){return this.getPluginOption("flow","all")||this.flowPragma==="flow"}shouldParseEnums(){return!!this.getPluginOption("flow","enums")}finishToken(c,g){c!==131&&c!==13&&c!==28&&this.flowPragma===void 0&&(this.flowPragma=null),super.finishToken(c,g)}addComment(c){if(this.flowPragma===void 0){let g=bc.exec(c.value);if(g)if(g[1]==="flow")this.flowPragma="flow";else{if(g[1]!=="noflow")throw new Error("Unexpected flow pragma");this.flowPragma="noflow"}}super.addComment(c)}flowParseTypeInitialiser(c){let g=this.state.inType;this.state.inType=!0,this.expect(c||14);let _=this.flowParseType();return this.state.inType=g,_}flowParsePredicate(){let c=this.startNode(),g=this.state.startLoc;return this.next(),this.expectContextual(108),this.state.lastTokStart>g.index+1&&this.raise(Mt.UnexpectedSpaceBetweenModuloChecks,{at:g}),this.eat(10)?(c.value=super.parseExpression(),this.expect(11),this.finishNode(c,"DeclaredPredicate")):this.finishNode(c,"InferredPredicate")}flowParseTypeAndPredicateInitialiser(){let c=this.state.inType;this.state.inType=!0,this.expect(14);let g=null,_=null;return this.match(54)?(this.state.inType=c,_=this.flowParsePredicate()):(g=this.flowParseType(),this.state.inType=c,this.match(54)&&(_=this.flowParsePredicate())),[g,_]}flowParseDeclareClass(c){return this.next(),this.flowParseInterfaceish(c,!0),this.finishNode(c,"DeclareClass")}flowParseDeclareFunction(c){this.next();let g=c.id=this.parseIdentifier(),_=this.startNode(),O=this.startNode();this.match(47)?_.typeParameters=this.flowParseTypeParameterDeclaration():_.typeParameters=null,this.expect(10);let q=this.flowParseFunctionTypeParams();return _.params=q.params,_.rest=q.rest,_.this=q._this,this.expect(11),[_.returnType,c.predicate]=this.flowParseTypeAndPredicateInitialiser(),O.typeAnnotation=this.finishNode(_,"FunctionTypeAnnotation"),g.typeAnnotation=this.finishNode(O,"TypeAnnotation"),this.resetEndLocation(g),this.semicolon(),this.scope.declareName(c.id.name,2048,c.id.loc.start),this.finishNode(c,"DeclareFunction")}flowParseDeclare(c,g){return this.match(80)?this.flowParseDeclareClass(c):this.match(68)?this.flowParseDeclareFunction(c):this.match(74)?this.flowParseDeclareVariable(c):this.eatContextual(125)?this.match(16)?this.flowParseDeclareModuleExports(c):(g&&this.raise(Mt.NestedDeclareModule,{at:this.state.lastTokStartLoc}),this.flowParseDeclareModule(c)):this.isContextual(128)?this.flowParseDeclareTypeAlias(c):this.isContextual(129)?this.flowParseDeclareOpaqueType(c):this.isContextual(127)?this.flowParseDeclareInterface(c):this.match(82)?this.flowParseDeclareExportDeclaration(c,g):void this.unexpected()}flowParseDeclareVariable(c){return this.next(),c.id=this.flowParseTypeAnnotatableIdentifier(!0),this.scope.declareName(c.id.name,5,c.id.loc.start),this.semicolon(),this.finishNode(c,"DeclareVariable")}flowParseDeclareModule(c){this.scope.enter(0),this.match(131)?c.id=super.parseExprAtom():c.id=this.parseIdentifier();let g=c.body=this.startNode(),_=g.body=[];for(this.expect(5);!this.match(8);){let ee=this.startNode();this.match(83)?(this.next(),this.isContextual(128)||this.match(87)||this.raise(Mt.InvalidNonTypeImportInDeclareModule,{at:this.state.lastTokStartLoc}),super.parseImport(ee)):(this.expectContextual(123,Mt.UnsupportedStatementInDeclareModule),ee=this.flowParseDeclare(ee,!0)),_.push(ee)}this.scope.exit(),this.expect(8),this.finishNode(g,"BlockStatement");let O=null,q=!1;return _.forEach(ee=>{(function(le){return le.type==="DeclareExportAllDeclaration"||le.type==="DeclareExportDeclaration"&&(!le.declaration||le.declaration.type!=="TypeAlias"&&le.declaration.type!=="InterfaceDeclaration")})(ee)?(O==="CommonJS"&&this.raise(Mt.AmbiguousDeclareModuleKind,{at:ee}),O="ES"):ee.type==="DeclareModuleExports"&&(q&&this.raise(Mt.DuplicateDeclareModuleExports,{at:ee}),O==="ES"&&this.raise(Mt.AmbiguousDeclareModuleKind,{at:ee}),O="CommonJS",q=!0)}),c.kind=O||"CommonJS",this.finishNode(c,"DeclareModule")}flowParseDeclareExportDeclaration(c,g){if(this.expect(82),this.eat(65))return this.match(68)||this.match(80)?c.declaration=this.flowParseDeclare(this.startNode()):(c.declaration=this.flowParseType(),this.semicolon()),c.default=!0,this.finishNode(c,"DeclareExportDeclaration");if(this.match(75)||this.isLet()||(this.isContextual(128)||this.isContextual(127))&&!g){let _=this.state.value;throw this.raise(Mt.UnsupportedDeclareExportKind,{at:this.state.startLoc,unsupportedExportKind:_,suggestion:bi[_]})}return this.match(74)||this.match(68)||this.match(80)||this.isContextual(129)?(c.declaration=this.flowParseDeclare(this.startNode()),c.default=!1,this.finishNode(c,"DeclareExportDeclaration")):this.match(55)||this.match(5)||this.isContextual(127)||this.isContextual(128)||this.isContextual(129)?((c=this.parseExport(c,null)).type==="ExportNamedDeclaration"&&(c.type="ExportDeclaration",c.default=!1,delete c.exportKind),c.type="Declare"+c.type,c):void this.unexpected()}flowParseDeclareModuleExports(c){return this.next(),this.expectContextual(109),c.typeAnnotation=this.flowParseTypeAnnotation(),this.semicolon(),this.finishNode(c,"DeclareModuleExports")}flowParseDeclareTypeAlias(c){this.next();let g=this.flowParseTypeAlias(c);return g.type="DeclareTypeAlias",g}flowParseDeclareOpaqueType(c){this.next();let g=this.flowParseOpaqueType(c,!0);return g.type="DeclareOpaqueType",g}flowParseDeclareInterface(c){return this.next(),this.flowParseInterfaceish(c,!1),this.finishNode(c,"DeclareInterface")}flowParseInterfaceish(c,g){if(c.id=this.flowParseRestrictedIdentifier(!g,!0),this.scope.declareName(c.id.name,g?17:8201,c.id.loc.start),this.match(47)?c.typeParameters=this.flowParseTypeParameterDeclaration():c.typeParameters=null,c.extends=[],this.eat(81))do c.extends.push(this.flowParseInterfaceExtends());while(!g&&this.eat(12));if(g){if(c.implements=[],c.mixins=[],this.eatContextual(115))do c.mixins.push(this.flowParseInterfaceExtends());while(this.eat(12));if(this.eatContextual(111))do c.implements.push(this.flowParseInterfaceExtends());while(this.eat(12))}c.body=this.flowParseObjectType({allowStatic:g,allowExact:!1,allowSpread:!1,allowProto:g,allowInexact:!1})}flowParseInterfaceExtends(){let c=this.startNode();return c.id=this.flowParseQualifiedTypeIdentifier(),this.match(47)?c.typeParameters=this.flowParseTypeParameterInstantiation():c.typeParameters=null,this.finishNode(c,"InterfaceExtends")}flowParseInterface(c){return this.flowParseInterfaceish(c,!1),this.finishNode(c,"InterfaceDeclaration")}checkNotUnderscore(c){c==="_"&&this.raise(Mt.UnexpectedReservedUnderscore,{at:this.state.startLoc})}checkReservedType(c,g,_){va.has(c)&&this.raise(_?Mt.AssignReservedType:Mt.UnexpectedReservedType,{at:g,reservedType:c})}flowParseRestrictedIdentifier(c,g){return this.checkReservedType(this.state.value,this.state.startLoc,g),this.parseIdentifier(c)}flowParseTypeAlias(c){return c.id=this.flowParseRestrictedIdentifier(!1,!0),this.scope.declareName(c.id.name,8201,c.id.loc.start),this.match(47)?c.typeParameters=this.flowParseTypeParameterDeclaration():c.typeParameters=null,c.right=this.flowParseTypeInitialiser(29),this.semicolon(),this.finishNode(c,"TypeAlias")}flowParseOpaqueType(c,g){return this.expectContextual(128),c.id=this.flowParseRestrictedIdentifier(!0,!0),this.scope.declareName(c.id.name,8201,c.id.loc.start),this.match(47)?c.typeParameters=this.flowParseTypeParameterDeclaration():c.typeParameters=null,c.supertype=null,this.match(14)&&(c.supertype=this.flowParseTypeInitialiser(14)),c.impltype=null,g||(c.impltype=this.flowParseTypeInitialiser(29)),this.semicolon(),this.finishNode(c,"OpaqueType")}flowParseTypeParameter(c=!1){let g=this.state.startLoc,_=this.startNode(),O=this.flowParseVariance(),q=this.flowParseTypeAnnotatableIdentifier();return _.name=q.name,_.variance=O,_.bound=q.typeAnnotation,this.match(29)?(this.eat(29),_.default=this.flowParseType()):c&&this.raise(Mt.MissingTypeParamDefault,{at:g}),this.finishNode(_,"TypeParameter")}flowParseTypeParameterDeclaration(){let c=this.state.inType,g=this.startNode();g.params=[],this.state.inType=!0,this.match(47)||this.match(140)?this.next():this.unexpected();let _=!1;do{let O=this.flowParseTypeParameter(_);g.params.push(O),O.default&&(_=!0),this.match(48)||this.expect(12)}while(!this.match(48));return this.expect(48),this.state.inType=c,this.finishNode(g,"TypeParameterDeclaration")}flowParseTypeParameterInstantiation(){let c=this.startNode(),g=this.state.inType;c.params=[],this.state.inType=!0,this.expect(47);let _=this.state.noAnonFunctionType;for(this.state.noAnonFunctionType=!1;!this.match(48);)c.params.push(this.flowParseType()),this.match(48)||this.expect(12);return this.state.noAnonFunctionType=_,this.expect(48),this.state.inType=g,this.finishNode(c,"TypeParameterInstantiation")}flowParseTypeParameterInstantiationCallOrNew(){let c=this.startNode(),g=this.state.inType;for(c.params=[],this.state.inType=!0,this.expect(47);!this.match(48);)c.params.push(this.flowParseTypeOrImplicitInstantiation()),this.match(48)||this.expect(12);return this.expect(48),this.state.inType=g,this.finishNode(c,"TypeParameterInstantiation")}flowParseInterfaceType(){let c=this.startNode();if(this.expectContextual(127),c.extends=[],this.eat(81))do c.extends.push(this.flowParseInterfaceExtends());while(this.eat(12));return c.body=this.flowParseObjectType({allowStatic:!1,allowExact:!1,allowSpread:!1,allowProto:!1,allowInexact:!1}),this.finishNode(c,"InterfaceTypeAnnotation")}flowParseObjectPropertyKey(){return this.match(132)||this.match(131)?super.parseExprAtom():this.parseIdentifier(!0)}flowParseObjectTypeIndexer(c,g,_){return c.static=g,this.lookahead().type===14?(c.id=this.flowParseObjectPropertyKey(),c.key=this.flowParseTypeInitialiser()):(c.id=null,c.key=this.flowParseType()),this.expect(3),c.value=this.flowParseTypeInitialiser(),c.variance=_,this.finishNode(c,"ObjectTypeIndexer")}flowParseObjectTypeInternalSlot(c,g){return c.static=g,c.id=this.flowParseObjectPropertyKey(),this.expect(3),this.expect(3),this.match(47)||this.match(10)?(c.method=!0,c.optional=!1,c.value=this.flowParseObjectTypeMethodish(this.startNodeAt(c.loc.start))):(c.method=!1,this.eat(17)&&(c.optional=!0),c.value=this.flowParseTypeInitialiser()),this.finishNode(c,"ObjectTypeInternalSlot")}flowParseObjectTypeMethodish(c){for(c.params=[],c.rest=null,c.typeParameters=null,c.this=null,this.match(47)&&(c.typeParameters=this.flowParseTypeParameterDeclaration()),this.expect(10),this.match(78)&&(c.this=this.flowParseFunctionTypeParam(!0),c.this.name=null,this.match(11)||this.expect(12));!this.match(11)&&!this.match(21);)c.params.push(this.flowParseFunctionTypeParam(!1)),this.match(11)||this.expect(12);return this.eat(21)&&(c.rest=this.flowParseFunctionTypeParam(!1)),this.expect(11),c.returnType=this.flowParseTypeInitialiser(),this.finishNode(c,"FunctionTypeAnnotation")}flowParseObjectTypeCallProperty(c,g){let _=this.startNode();return c.static=g,c.value=this.flowParseObjectTypeMethodish(_),this.finishNode(c,"ObjectTypeCallProperty")}flowParseObjectType({allowStatic:c,allowExact:g,allowSpread:_,allowProto:O,allowInexact:q}){let ee=this.state.inType;this.state.inType=!0;let le=this.startNode(),fe,we;le.callProperties=[],le.properties=[],le.indexers=[],le.internalSlots=[];let Re=!1;for(g&&this.match(6)?(this.expect(6),fe=9,we=!0):(this.expect(5),fe=8,we=!1),le.exact=we;!this.match(fe);){let Rt=!1,bt=null,Jt=null,Hr=this.startNode();if(O&&this.isContextual(116)){let Ir=this.lookahead();Ir.type!==14&&Ir.type!==17&&(this.next(),bt=this.state.startLoc,c=!1)}if(c&&this.isContextual(104)){let Ir=this.lookahead();Ir.type!==14&&Ir.type!==17&&(this.next(),Rt=!0)}let pr=this.flowParseVariance();if(this.eat(0))bt!=null&&this.unexpected(bt),this.eat(0)?(pr&&this.unexpected(pr.loc.start),le.internalSlots.push(this.flowParseObjectTypeInternalSlot(Hr,Rt))):le.indexers.push(this.flowParseObjectTypeIndexer(Hr,Rt,pr));else if(this.match(10)||this.match(47))bt!=null&&this.unexpected(bt),pr&&this.unexpected(pr.loc.start),le.callProperties.push(this.flowParseObjectTypeCallProperty(Hr,Rt));else{let Ir="init";(this.isContextual(98)||this.isContextual(103))&&ne(this.lookahead().type)&&(Ir=this.state.value,this.next());let wn=this.flowParseObjectTypeProperty(Hr,Rt,bt,pr,Ir,_,q??!we);wn===null?(Re=!0,Jt=this.state.lastTokStartLoc):le.properties.push(wn)}this.flowObjectTypeSemicolon(),!Jt||this.match(8)||this.match(9)||this.raise(Mt.UnexpectedExplicitInexactInObject,{at:Jt})}this.expect(fe),_&&(le.inexact=Re);let at=this.finishNode(le,"ObjectTypeAnnotation");return this.state.inType=ee,at}flowParseObjectTypeProperty(c,g,_,O,q,ee,le){if(this.eat(21))return this.match(12)||this.match(13)||this.match(8)||this.match(9)?(ee?le||this.raise(Mt.InexactInsideExact,{at:this.state.lastTokStartLoc}):this.raise(Mt.InexactInsideNonObject,{at:this.state.lastTokStartLoc}),O&&this.raise(Mt.InexactVariance,{at:O}),null):(ee||this.raise(Mt.UnexpectedSpreadType,{at:this.state.lastTokStartLoc}),_!=null&&this.unexpected(_),O&&this.raise(Mt.SpreadVariance,{at:O}),c.argument=this.flowParseType(),this.finishNode(c,"ObjectTypeSpreadProperty"));{c.key=this.flowParseObjectPropertyKey(),c.static=g,c.proto=_!=null,c.kind=q;let fe=!1;return this.match(47)||this.match(10)?(c.method=!0,_!=null&&this.unexpected(_),O&&this.unexpected(O.loc.start),c.value=this.flowParseObjectTypeMethodish(this.startNodeAt(c.loc.start)),q!=="get"&&q!=="set"||this.flowCheckGetterSetterParams(c),!ee&&c.key.name==="constructor"&&c.value.this&&this.raise(Mt.ThisParamBannedInConstructor,{at:c.value.this})):(q!=="init"&&this.unexpected(),c.method=!1,this.eat(17)&&(fe=!0),c.value=this.flowParseTypeInitialiser(),c.variance=O),c.optional=fe,this.finishNode(c,"ObjectTypeProperty")}}flowCheckGetterSetterParams(c){let g=c.kind==="get"?0:1,_=c.value.params.length+(c.value.rest?1:0);c.value.this&&this.raise(c.kind==="get"?Mt.GetterMayNotHaveThisParam:Mt.SetterMayNotHaveThisParam,{at:c.value.this}),_!==g&&this.raise(c.kind==="get"?x.BadGetterArity:x.BadSetterArity,{at:c}),c.kind==="set"&&c.value.rest&&this.raise(x.BadSetterRestParameter,{at:c})}flowObjectTypeSemicolon(){this.eat(13)||this.eat(12)||this.match(8)||this.match(9)||this.unexpected()}flowParseQualifiedTypeIdentifier(c,g){c!=null||(c=this.state.startLoc);let _=g||this.flowParseRestrictedIdentifier(!0);for(;this.eat(16);){let O=this.startNodeAt(c);O.qualification=_,O.id=this.flowParseRestrictedIdentifier(!0),_=this.finishNode(O,"QualifiedTypeIdentifier")}return _}flowParseGenericType(c,g){let _=this.startNodeAt(c);return _.typeParameters=null,_.id=this.flowParseQualifiedTypeIdentifier(c,g),this.match(47)&&(_.typeParameters=this.flowParseTypeParameterInstantiation()),this.finishNode(_,"GenericTypeAnnotation")}flowParseTypeofType(){let c=this.startNode();return this.expect(87),c.argument=this.flowParsePrimaryType(),this.finishNode(c,"TypeofTypeAnnotation")}flowParseTupleType(){let c=this.startNode();for(c.types=[],this.expect(0);this.state.pos<this.length&&!this.match(3)&&(c.types.push(this.flowParseType()),!this.match(3));)this.expect(12);return this.expect(3),this.finishNode(c,"TupleTypeAnnotation")}flowParseFunctionTypeParam(c){let g=null,_=!1,O=null,q=this.startNode(),ee=this.lookahead(),le=this.state.type===78;return ee.type===14||ee.type===17?(le&&!c&&this.raise(Mt.ThisParamMustBeFirst,{at:q}),g=this.parseIdentifier(le),this.eat(17)&&(_=!0,le&&this.raise(Mt.ThisParamMayNotBeOptional,{at:q})),O=this.flowParseTypeInitialiser()):O=this.flowParseType(),q.name=g,q.optional=_,q.typeAnnotation=O,this.finishNode(q,"FunctionTypeParam")}reinterpretTypeAsFunctionTypeParam(c){let g=this.startNodeAt(c.loc.start);return g.name=null,g.optional=!1,g.typeAnnotation=c,this.finishNode(g,"FunctionTypeParam")}flowParseFunctionTypeParams(c=[]){let g=null,_=null;for(this.match(78)&&(_=this.flowParseFunctionTypeParam(!0),_.name=null,this.match(11)||this.expect(12));!this.match(11)&&!this.match(21);)c.push(this.flowParseFunctionTypeParam(!1)),this.match(11)||this.expect(12);return this.eat(21)&&(g=this.flowParseFunctionTypeParam(!1)),{params:c,rest:g,_this:_}}flowIdentToTypeAnnotation(c,g,_){switch(_.name){case"any":return this.finishNode(g,"AnyTypeAnnotation");case"bool":case"boolean":return this.finishNode(g,"BooleanTypeAnnotation");case"mixed":return this.finishNode(g,"MixedTypeAnnotation");case"empty":return this.finishNode(g,"EmptyTypeAnnotation");case"number":return this.finishNode(g,"NumberTypeAnnotation");case"string":return this.finishNode(g,"StringTypeAnnotation");case"symbol":return this.finishNode(g,"SymbolTypeAnnotation");default:return this.checkNotUnderscore(_.name),this.flowParseGenericType(c,_)}}flowParsePrimaryType(){let c=this.state.startLoc,g=this.startNode(),_,O,q=!1,ee=this.state.noAnonFunctionType;switch(this.state.type){case 5:return this.flowParseObjectType({allowStatic:!1,allowExact:!1,allowSpread:!0,allowProto:!1,allowInexact:!0});case 6:return this.flowParseObjectType({allowStatic:!1,allowExact:!0,allowSpread:!0,allowProto:!1,allowInexact:!1});case 0:return this.state.noAnonFunctionType=!1,O=this.flowParseTupleType(),this.state.noAnonFunctionType=ee,O;case 47:return g.typeParameters=this.flowParseTypeParameterDeclaration(),this.expect(10),_=this.flowParseFunctionTypeParams(),g.params=_.params,g.rest=_.rest,g.this=_._this,this.expect(11),this.expect(19),g.returnType=this.flowParseType(),this.finishNode(g,"FunctionTypeAnnotation");case 10:if(this.next(),!this.match(11)&&!this.match(21))if(V(this.state.type)||this.match(78)){let le=this.lookahead().type;q=le!==17&&le!==14}else q=!0;if(q){if(this.state.noAnonFunctionType=!1,O=this.flowParseType(),this.state.noAnonFunctionType=ee,this.state.noAnonFunctionType||!(this.match(12)||this.match(11)&&this.lookahead().type===19))return this.expect(11),O;this.eat(12)}return _=O?this.flowParseFunctionTypeParams([this.reinterpretTypeAsFunctionTypeParam(O)]):this.flowParseFunctionTypeParams(),g.params=_.params,g.rest=_.rest,g.this=_._this,this.expect(11),this.expect(19),g.returnType=this.flowParseType(),g.typeParameters=null,this.finishNode(g,"FunctionTypeAnnotation");case 131:return this.parseLiteral(this.state.value,"StringLiteralTypeAnnotation");case 85:case 86:return g.value=this.match(85),this.next(),this.finishNode(g,"BooleanLiteralTypeAnnotation");case 53:if(this.state.value==="-"){if(this.next(),this.match(132))return this.parseLiteralAtNode(-this.state.value,"NumberLiteralTypeAnnotation",g);if(this.match(133))return this.parseLiteralAtNode(-this.state.value,"BigIntLiteralTypeAnnotation",g);throw this.raise(Mt.UnexpectedSubtractionOperand,{at:this.state.startLoc})}return void this.unexpected();case 132:return this.parseLiteral(this.state.value,"NumberLiteralTypeAnnotation");case 133:return this.parseLiteral(this.state.value,"BigIntLiteralTypeAnnotation");case 88:return this.next(),this.finishNode(g,"VoidTypeAnnotation");case 84:return this.next(),this.finishNode(g,"NullLiteralTypeAnnotation");case 78:return this.next(),this.finishNode(g,"ThisTypeAnnotation");case 55:return this.next(),this.finishNode(g,"ExistsTypeAnnotation");case 87:return this.flowParseTypeofType();default:if(Ae(this.state.type)){let le=Oe(this.state.type);return this.next(),super.createIdentifier(g,le)}if(V(this.state.type))return this.isContextual(127)?this.flowParseInterfaceType():this.flowIdentToTypeAnnotation(c,g,this.parseIdentifier())}this.unexpected()}flowParsePostfixType(){let c=this.state.startLoc,g=this.flowParsePrimaryType(),_=!1;for(;(this.match(0)||this.match(18))&&!this.canInsertSemicolon();){let O=this.startNodeAt(c),q=this.eat(18);_=_||q,this.expect(0),!q&&this.match(3)?(O.elementType=g,this.next(),g=this.finishNode(O,"ArrayTypeAnnotation")):(O.objectType=g,O.indexType=this.flowParseType(),this.expect(3),_?(O.optional=q,g=this.finishNode(O,"OptionalIndexedAccessType")):g=this.finishNode(O,"IndexedAccessType"))}return g}flowParsePrefixType(){let c=this.startNode();return this.eat(17)?(c.typeAnnotation=this.flowParsePrefixType(),this.finishNode(c,"NullableTypeAnnotation")):this.flowParsePostfixType()}flowParseAnonFunctionWithoutParens(){let c=this.flowParsePrefixType();if(!this.state.noAnonFunctionType&&this.eat(19)){let g=this.startNodeAt(c.loc.start);return g.params=[this.reinterpretTypeAsFunctionTypeParam(c)],g.rest=null,g.this=null,g.returnType=this.flowParseType(),g.typeParameters=null,this.finishNode(g,"FunctionTypeAnnotation")}return c}flowParseIntersectionType(){let c=this.startNode();this.eat(45);let g=this.flowParseAnonFunctionWithoutParens();for(c.types=[g];this.eat(45);)c.types.push(this.flowParseAnonFunctionWithoutParens());return c.types.length===1?g:this.finishNode(c,"IntersectionTypeAnnotation")}flowParseUnionType(){let c=this.startNode();this.eat(43);let g=this.flowParseIntersectionType();for(c.types=[g];this.eat(43);)c.types.push(this.flowParseIntersectionType());return c.types.length===1?g:this.finishNode(c,"UnionTypeAnnotation")}flowParseType(){let c=this.state.inType;this.state.inType=!0;let g=this.flowParseUnionType();return this.state.inType=c,g}flowParseTypeOrImplicitInstantiation(){if(this.state.type===130&&this.state.value==="_"){let c=this.state.startLoc,g=this.parseIdentifier();return this.flowParseGenericType(c,g)}return this.flowParseType()}flowParseTypeAnnotation(){let c=this.startNode();return c.typeAnnotation=this.flowParseTypeInitialiser(),this.finishNode(c,"TypeAnnotation")}flowParseTypeAnnotatableIdentifier(c){let g=c?this.parseIdentifier():this.flowParseRestrictedIdentifier();return this.match(14)&&(g.typeAnnotation=this.flowParseTypeAnnotation(),this.resetEndLocation(g)),g}typeCastToParameter(c){return c.expression.typeAnnotation=c.typeAnnotation,this.resetEndLocation(c.expression,c.typeAnnotation.loc.end),c.expression}flowParseVariance(){let c=null;return this.match(53)?(c=this.startNode(),this.state.value==="+"?c.kind="plus":c.kind="minus",this.next(),this.finishNode(c,"Variance")):c}parseFunctionBody(c,g,_=!1){g?this.forwardNoArrowParamsConversionAt(c,()=>super.parseFunctionBody(c,!0,_)):super.parseFunctionBody(c,!1,_)}parseFunctionBodyAndFinish(c,g,_=!1){if(this.match(14)){let O=this.startNode();[O.typeAnnotation,c.predicate]=this.flowParseTypeAndPredicateInitialiser(),c.returnType=O.typeAnnotation?this.finishNode(O,"TypeAnnotation"):null}return super.parseFunctionBodyAndFinish(c,g,_)}parseStatementLike(c){if(this.state.strict&&this.isContextual(127)){if(Q(this.lookahead().type)){let _=this.startNode();return this.next(),this.flowParseInterface(_)}}else if(this.shouldParseEnums()&&this.isContextual(124)){let _=this.startNode();return this.next(),this.flowParseEnumDeclaration(_)}let g=super.parseStatementLike(c);return this.flowPragma!==void 0||this.isValidDirective(g)||(this.flowPragma=null),g}parseExpressionStatement(c,g,_){if(g.type==="Identifier"){if(g.name==="declare"){if(this.match(80)||V(this.state.type)||this.match(68)||this.match(74)||this.match(82))return this.flowParseDeclare(c)}else if(V(this.state.type)){if(g.name==="interface")return this.flowParseInterface(c);if(g.name==="type")return this.flowParseTypeAlias(c);if(g.name==="opaque")return this.flowParseOpaqueType(c,!1)}}return super.parseExpressionStatement(c,g,_)}shouldParseExportDeclaration(){let{type:c}=this.state;return de(c)||this.shouldParseEnums()&&c===124?!this.state.containsEsc:super.shouldParseExportDeclaration()}isExportDefaultSpecifier(){let{type:c}=this.state;return de(c)||this.shouldParseEnums()&&c===124?this.state.containsEsc:super.isExportDefaultSpecifier()}parseExportDefaultExpression(){if(this.shouldParseEnums()&&this.isContextual(124)){let c=this.startNode();return this.next(),this.flowParseEnumDeclaration(c)}return super.parseExportDefaultExpression()}parseConditional(c,g,_){if(!this.match(17))return c;if(this.state.maybeInArrowParameters){let at=this.lookaheadCharCode();if(at===44||at===61||at===58||at===41)return this.setOptionalParametersError(_),c}this.expect(17);let O=this.state.clone(),q=this.state.noArrowAt,ee=this.startNodeAt(g),{consequent:le,failed:fe}=this.tryParseConditionalConsequent(),[we,Re]=this.getArrowLikeExpressions(le);if(fe||Re.length>0){let at=[...q];if(Re.length>0){this.state=O,this.state.noArrowAt=at;for(let Rt=0;Rt<Re.length;Rt++)at.push(Re[Rt].start);({consequent:le,failed:fe}=this.tryParseConditionalConsequent()),[we,Re]=this.getArrowLikeExpressions(le)}fe&&we.length>1&&this.raise(Mt.AmbiguousConditionalArrow,{at:O.startLoc}),fe&&we.length===1&&(this.state=O,at.push(we[0].start),this.state.noArrowAt=at,{consequent:le,failed:fe}=this.tryParseConditionalConsequent())}return this.getArrowLikeExpressions(le,!0),this.state.noArrowAt=q,this.expect(14),ee.test=c,ee.consequent=le,ee.alternate=this.forwardNoArrowParamsConversionAt(ee,()=>this.parseMaybeAssign(void 0,void 0)),this.finishNode(ee,"ConditionalExpression")}tryParseConditionalConsequent(){this.state.noArrowParamsConversionAt.push(this.state.start);let c=this.parseMaybeAssignAllowIn(),g=!this.match(14);return this.state.noArrowParamsConversionAt.pop(),{consequent:c,failed:g}}getArrowLikeExpressions(c,g){let _=[c],O=[];for(;_.length!==0;){let q=_.pop();q.type==="ArrowFunctionExpression"?(q.typeParameters||!q.returnType?this.finishArrowValidation(q):O.push(q),_.push(q.body)):q.type==="ConditionalExpression"&&(_.push(q.consequent),_.push(q.alternate))}return g?(O.forEach(q=>this.finishArrowValidation(q)),[O,[]]):function(q,ee){let le=[],fe=[];for(let we=0;we<q.length;we++)(ee(q[we],we,q)?le:fe).push(q[we]);return[le,fe]}(O,q=>q.params.every(ee=>this.isAssignable(ee,!0)))}finishArrowValidation(c){var g;this.toAssignableList(c.params,(g=c.extra)==null?void 0:g.trailingCommaLoc,!1),this.scope.enter(6),super.checkParams(c,!1,!0),this.scope.exit()}forwardNoArrowParamsConversionAt(c,g){let _;return this.state.noArrowParamsConversionAt.indexOf(c.start)!==-1?(this.state.noArrowParamsConversionAt.push(this.state.start),_=g(),this.state.noArrowParamsConversionAt.pop()):_=g(),_}parseParenItem(c,g){if(c=super.parseParenItem(c,g),this.eat(17)&&(c.optional=!0,this.resetEndLocation(c)),this.match(14)){let _=this.startNodeAt(g);return _.expression=c,_.typeAnnotation=this.flowParseTypeAnnotation(),this.finishNode(_,"TypeCastExpression")}return c}assertModuleNodeAllowed(c){c.type==="ImportDeclaration"&&(c.importKind==="type"||c.importKind==="typeof")||c.type==="ExportNamedDeclaration"&&c.exportKind==="type"||c.type==="ExportAllDeclaration"&&c.exportKind==="type"||super.assertModuleNodeAllowed(c)}parseExportDeclaration(c){if(this.isContextual(128)){c.exportKind="type";let g=this.startNode();return this.next(),this.match(5)?(c.specifiers=this.parseExportSpecifiers(!0),super.parseExportFrom(c),null):this.flowParseTypeAlias(g)}if(this.isContextual(129)){c.exportKind="type";let g=this.startNode();return this.next(),this.flowParseOpaqueType(g,!1)}if(this.isContextual(127)){c.exportKind="type";let g=this.startNode();return this.next(),this.flowParseInterface(g)}if(this.shouldParseEnums()&&this.isContextual(124)){c.exportKind="value";let g=this.startNode();return this.next(),this.flowParseEnumDeclaration(g)}return super.parseExportDeclaration(c)}eatExportStar(c){return!!super.eatExportStar(c)||!(!this.isContextual(128)||this.lookahead().type!==55)&&(c.exportKind="type",this.next(),this.next(),!0)}maybeParseExportNamespaceSpecifier(c){let{startLoc:g}=this.state,_=super.maybeParseExportNamespaceSpecifier(c);return _&&c.exportKind==="type"&&this.unexpected(g),_}parseClassId(c,g,_){super.parseClassId(c,g,_),this.match(47)&&(c.typeParameters=this.flowParseTypeParameterDeclaration())}parseClassMember(c,g,_){let{startLoc:O}=this.state;if(this.isContextual(123)){if(super.parseClassMemberFromModifier(c,g))return;g.declare=!0}super.parseClassMember(c,g,_),g.declare&&(g.type!=="ClassProperty"&&g.type!=="ClassPrivateProperty"&&g.type!=="PropertyDefinition"?this.raise(Mt.DeclareClassElement,{at:O}):g.value&&this.raise(Mt.DeclareClassFieldInitializer,{at:g.value}))}isIterator(c){return c==="iterator"||c==="asyncIterator"}readIterator(){let c=super.readWord1(),g="@@"+c;this.isIterator(c)&&this.state.inType||this.raise(x.InvalidIdentifier,{at:this.state.curPosition(),identifierName:g}),this.finishToken(130,g)}getTokenFromCode(c){let g=this.input.charCodeAt(this.state.pos+1);c===123&&g===124?this.finishOp(6,2):!this.state.inType||c!==62&&c!==60?this.state.inType&&c===63?g===46?this.finishOp(18,2):this.finishOp(17,1):function(_,O,q){return _===64&&O===64&&ke(q)}(c,g,this.input.charCodeAt(this.state.pos+2))?(this.state.pos+=2,this.readIterator()):super.getTokenFromCode(c):this.finishOp(c===62?48:47,1)}isAssignable(c,g){return c.type==="TypeCastExpression"?this.isAssignable(c.expression,g):super.isAssignable(c,g)}toAssignable(c,g=!1){g||c.type!=="AssignmentExpression"||c.left.type!=="TypeCastExpression"||(c.left=this.typeCastToParameter(c.left)),super.toAssignable(c,g)}toAssignableList(c,g,_){for(let O=0;O<c.length;O++){let q=c[O];(q==null?void 0:q.type)==="TypeCastExpression"&&(c[O]=this.typeCastToParameter(q))}super.toAssignableList(c,g,_)}toReferencedList(c,g){for(let O=0;O<c.length;O++){var _;let q=c[O];!q||q.type!=="TypeCastExpression"||(_=q.extra)!=null&&_.parenthesized||!(c.length>1)&&g||this.raise(Mt.TypeCastInPattern,{at:q.typeAnnotation})}return c}parseArrayLike(c,g,_,O){let q=super.parseArrayLike(c,g,_,O);return g&&!this.state.maybeInArrowParameters&&this.toReferencedList(q.elements),q}isValidLVal(c,g,_){return c==="TypeCastExpression"||super.isValidLVal(c,g,_)}parseClassProperty(c){return this.match(14)&&(c.typeAnnotation=this.flowParseTypeAnnotation()),super.parseClassProperty(c)}parseClassPrivateProperty(c){return this.match(14)&&(c.typeAnnotation=this.flowParseTypeAnnotation()),super.parseClassPrivateProperty(c)}isClassMethod(){return this.match(47)||super.isClassMethod()}isClassProperty(){return this.match(14)||super.isClassProperty()}isNonstaticConstructor(c){return!this.match(14)&&super.isNonstaticConstructor(c)}pushClassMethod(c,g,_,O,q,ee){if(g.variance&&this.unexpected(g.variance.loc.start),delete g.variance,this.match(47)&&(g.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassMethod(c,g,_,O,q,ee),g.params&&q){let le=g.params;le.length>0&&this.isThisParam(le[0])&&this.raise(Mt.ThisParamBannedInConstructor,{at:g})}else if(g.type==="MethodDefinition"&&q&&g.value.params){let le=g.value.params;le.length>0&&this.isThisParam(le[0])&&this.raise(Mt.ThisParamBannedInConstructor,{at:g})}}pushClassPrivateMethod(c,g,_,O){g.variance&&this.unexpected(g.variance.loc.start),delete g.variance,this.match(47)&&(g.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassPrivateMethod(c,g,_,O)}parseClassSuper(c){if(super.parseClassSuper(c),c.superClass&&this.match(47)&&(c.superTypeParameters=this.flowParseTypeParameterInstantiation()),this.isContextual(111)){this.next();let g=c.implements=[];do{let _=this.startNode();_.id=this.flowParseRestrictedIdentifier(!0),this.match(47)?_.typeParameters=this.flowParseTypeParameterInstantiation():_.typeParameters=null,g.push(this.finishNode(_,"ClassImplements"))}while(this.eat(12))}}checkGetterSetterParams(c){super.checkGetterSetterParams(c);let g=this.getObjectOrClassMethodParams(c);if(g.length>0){let _=g[0];this.isThisParam(_)&&c.kind==="get"?this.raise(Mt.GetterMayNotHaveThisParam,{at:_}):this.isThisParam(_)&&this.raise(Mt.SetterMayNotHaveThisParam,{at:_})}}parsePropertyNamePrefixOperator(c){c.variance=this.flowParseVariance()}parseObjPropValue(c,g,_,O,q,ee,le){let fe;c.variance&&this.unexpected(c.variance.loc.start),delete c.variance,this.match(47)&&!ee&&(fe=this.flowParseTypeParameterDeclaration(),this.match(10)||this.unexpected());let we=super.parseObjPropValue(c,g,_,O,q,ee,le);return fe&&((we.value||we).typeParameters=fe),we}parseAssignableListItemTypes(c){return this.eat(17)&&(c.type!=="Identifier"&&this.raise(Mt.PatternIsOptional,{at:c}),this.isThisParam(c)&&this.raise(Mt.ThisParamMayNotBeOptional,{at:c}),c.optional=!0),this.match(14)?c.typeAnnotation=this.flowParseTypeAnnotation():this.isThisParam(c)&&this.raise(Mt.ThisParamAnnotationRequired,{at:c}),this.match(29)&&this.isThisParam(c)&&this.raise(Mt.ThisParamNoDefault,{at:c}),this.resetEndLocation(c),c}parseMaybeDefault(c,g){let _=super.parseMaybeDefault(c,g);return _.type==="AssignmentPattern"&&_.typeAnnotation&&_.right.start<_.typeAnnotation.start&&this.raise(Mt.TypeBeforeInitializer,{at:_.typeAnnotation}),_}checkImportReflection(c){super.checkImportReflection(c),c.module&&c.importKind!=="value"&&this.raise(Mt.ImportReflectionHasImportType,{at:c.specifiers[0].loc.start})}parseImportSpecifierLocal(c,g,_){g.local=xt(c)?this.flowParseRestrictedIdentifier(!0,!0):this.parseIdentifier(),c.specifiers.push(this.finishImportSpecifier(g,_))}isPotentialImportPhase(c){if(super.isPotentialImportPhase(c))return!0;if(this.isContextual(128)){if(!c)return!0;let g=this.lookaheadCharCode();return g===123||g===42}return!c&&this.isContextual(87)}applyImportPhase(c,g,_,O){if(super.applyImportPhase(c,g,_,O),g){if(!_&&this.match(65))return;c.exportKind=_==="type"?_:"value"}else _==="type"&&this.match(55)&&this.unexpected(),c.importKind=_==="type"||_==="typeof"?_:"value"}parseImportSpecifier(c,g,_,O,q){let ee=c.imported,le=null;ee.type==="Identifier"&&(ee.name==="type"?le="type":ee.name==="typeof"&&(le="typeof"));let fe=!1;if(this.isContextual(93)&&!this.isLookaheadContextual("as")){let Re=this.parseIdentifier(!0);le===null||Q(this.state.type)?(c.imported=ee,c.importKind=null,c.local=this.parseIdentifier()):(c.imported=Re,c.importKind=le,c.local=ni(Re))}else{if(le!==null&&Q(this.state.type))c.imported=this.parseIdentifier(!0),c.importKind=le;else{if(g)throw this.raise(x.ImportBindingIsString,{at:c,importName:ee.value});c.imported=ee,c.importKind=null}this.eatContextual(93)?c.local=this.parseIdentifier():(fe=!0,c.local=ni(c.imported))}let we=xt(c);return _&&we&&this.raise(Mt.ImportTypeShorthandOnlyInPureImport,{at:c}),(_||we)&&this.checkReservedType(c.local.name,c.local.loc.start,!0),!fe||_||we||this.checkReservedWord(c.local.name,c.loc.start,!0,!0),this.finishImportSpecifier(c,"ImportSpecifier")}parseBindingAtom(){return this.state.type===78?this.parseIdentifier(!0):super.parseBindingAtom()}parseFunctionParams(c,g){let _=c.kind;_!=="get"&&_!=="set"&&this.match(47)&&(c.typeParameters=this.flowParseTypeParameterDeclaration()),super.parseFunctionParams(c,g)}parseVarId(c,g){super.parseVarId(c,g),this.match(14)&&(c.id.typeAnnotation=this.flowParseTypeAnnotation(),this.resetEndLocation(c.id))}parseAsyncArrowFromCallExpression(c,g){if(this.match(14)){let _=this.state.noAnonFunctionType;this.state.noAnonFunctionType=!0,c.returnType=this.flowParseTypeAnnotation(),this.state.noAnonFunctionType=_}return super.parseAsyncArrowFromCallExpression(c,g)}shouldParseAsyncArrow(){return this.match(14)||super.shouldParseAsyncArrow()}parseMaybeAssign(c,g){var _;let O,q=null;if(this.hasPlugin("jsx")&&(this.match(140)||this.match(47))){if(q=this.state.clone(),O=this.tryParse(()=>super.parseMaybeAssign(c,g),q),!O.error)return O.node;let{context:fe}=this.state,we=fe[fe.length-1];we!==I.j_oTag&&we!==I.j_expr||fe.pop()}if((_=O)!=null&&_.error||this.match(47)){var ee,le;let fe;q=q||this.state.clone();let we=this.tryParse(at=>{var Rt;fe=this.flowParseTypeParameterDeclaration();let bt=this.forwardNoArrowParamsConversionAt(fe,()=>{let Hr=super.parseMaybeAssign(c,g);return this.resetStartLocationFromNode(Hr,fe),Hr});(Rt=bt.extra)!=null&&Rt.parenthesized&&at();let Jt=this.maybeUnwrapTypeCastExpression(bt);return Jt.type!=="ArrowFunctionExpression"&&at(),Jt.typeParameters=fe,this.resetStartLocationFromNode(Jt,fe),bt},q),Re=null;if(we.node&&this.maybeUnwrapTypeCastExpression(we.node).type==="ArrowFunctionExpression"){if(!we.error&&!we.aborted)return we.node.async&&this.raise(Mt.UnexpectedTypeParameterBeforeAsyncArrowFunction,{at:fe}),we.node;Re=we.node}if((ee=O)!=null&&ee.node)return this.state=O.failState,O.node;if(Re)return this.state=we.failState,Re;throw(le=O)!=null&&le.thrown?O.error:we.thrown?we.error:this.raise(Mt.UnexpectedTokenAfterTypeParameter,{at:fe})}return super.parseMaybeAssign(c,g)}parseArrow(c){if(this.match(14)){let g=this.tryParse(()=>{let _=this.state.noAnonFunctionType;this.state.noAnonFunctionType=!0;let O=this.startNode();return[O.typeAnnotation,c.predicate]=this.flowParseTypeAndPredicateInitialiser(),this.state.noAnonFunctionType=_,this.canInsertSemicolon()&&this.unexpected(),this.match(19)||this.unexpected(),O});if(g.thrown)return null;g.error&&(this.state=g.failState),c.returnType=g.node.typeAnnotation?this.finishNode(g.node,"TypeAnnotation"):null}return super.parseArrow(c)}shouldParseArrow(c){return this.match(14)||super.shouldParseArrow(c)}setArrowFunctionParameters(c,g){this.state.noArrowParamsConversionAt.indexOf(c.start)!==-1?c.params=g:super.setArrowFunctionParameters(c,g)}checkParams(c,g,_,O=!0){if(!_||this.state.noArrowParamsConversionAt.indexOf(c.start)===-1){for(let q=0;q<c.params.length;q++)this.isThisParam(c.params[q])&&q>0&&this.raise(Mt.ThisParamMustBeFirst,{at:c.params[q]});super.checkParams(c,g,_,O)}}parseParenAndDistinguishExpression(c){return super.parseParenAndDistinguishExpression(c&&this.state.noArrowAt.indexOf(this.state.start)===-1)}parseSubscripts(c,g,_){if(c.type==="Identifier"&&c.name==="async"&&this.state.noArrowAt.indexOf(g.index)!==-1){this.next();let O=this.startNodeAt(g);O.callee=c,O.arguments=super.parseCallExpressionArguments(11,!1),c=this.finishNode(O,"CallExpression")}else if(c.type==="Identifier"&&c.name==="async"&&this.match(47)){let O=this.state.clone(),q=this.tryParse(le=>this.parseAsyncArrowWithTypeParameters(g)||le(),O);if(!q.error&&!q.aborted)return q.node;let ee=this.tryParse(()=>super.parseSubscripts(c,g,_),O);if(ee.node&&!ee.error)return ee.node;if(q.node)return this.state=q.failState,q.node;if(ee.node)return this.state=ee.failState,ee.node;throw q.error||ee.error}return super.parseSubscripts(c,g,_)}parseSubscript(c,g,_,O){if(this.match(18)&&this.isLookaheadToken_lt()){if(O.optionalChainMember=!0,_)return O.stop=!0,c;this.next();let q=this.startNodeAt(g);return q.callee=c,q.typeArguments=this.flowParseTypeParameterInstantiation(),this.expect(10),q.arguments=this.parseCallExpressionArguments(11,!1),q.optional=!0,this.finishCallExpression(q,!0)}if(!_&&this.shouldParseTypes()&&this.match(47)){let q=this.startNodeAt(g);q.callee=c;let ee=this.tryParse(()=>(q.typeArguments=this.flowParseTypeParameterInstantiationCallOrNew(),this.expect(10),q.arguments=super.parseCallExpressionArguments(11,!1),O.optionalChainMember&&(q.optional=!1),this.finishCallExpression(q,O.optionalChainMember)));if(ee.node)return ee.error&&(this.state=ee.failState),ee.node}return super.parseSubscript(c,g,_,O)}parseNewCallee(c){super.parseNewCallee(c);let g=null;this.shouldParseTypes()&&this.match(47)&&(g=this.tryParse(()=>this.flowParseTypeParameterInstantiationCallOrNew()).node),c.typeArguments=g}parseAsyncArrowWithTypeParameters(c){let g=this.startNodeAt(c);if(this.parseFunctionParams(g,!1),this.parseArrow(g))return super.parseArrowExpression(g,void 0,!0)}readToken_mult_modulo(c){let g=this.input.charCodeAt(this.state.pos+1);if(c===42&&g===47&&this.state.hasFlowComment)return this.state.hasFlowComment=!1,this.state.pos+=2,void this.nextToken();super.readToken_mult_modulo(c)}readToken_pipe_amp(c){let g=this.input.charCodeAt(this.state.pos+1);c!==124||g!==125?super.readToken_pipe_amp(c):this.finishOp(9,2)}parseTopLevel(c,g){let _=super.parseTopLevel(c,g);return this.state.hasFlowComment&&this.raise(Mt.UnterminatedFlowComment,{at:this.state.curPosition()}),_}skipBlockComment(){if(!this.hasPlugin("flowComments")||!this.skipFlowComment())return super.skipBlockComment(this.state.hasFlowComment?"*-/":"*/");{if(this.state.hasFlowComment)throw this.raise(Mt.NestedFlowComment,{at:this.state.startLoc});this.hasFlowCommentCompletion();let c=this.skipFlowComment();c&&(this.state.pos+=c,this.state.hasFlowComment=!0)}}skipFlowComment(){let{pos:c}=this.state,g=2;for(;[32,9].includes(this.input.charCodeAt(c+g));)g++;let _=this.input.charCodeAt(g+c),O=this.input.charCodeAt(g+c+1);return _===58&&O===58?g+2:this.input.slice(g+c,g+c+12)==="flow-include"?g+12:_===58&&O!==58&&g}hasFlowCommentCompletion(){if(this.input.indexOf("*/",this.state.pos)===-1)throw this.raise(x.UnterminatedComment,{at:this.state.curPosition()})}flowEnumErrorBooleanMemberNotInitialized(c,{enumName:g,memberName:_}){this.raise(Mt.EnumBooleanMemberNotInitialized,{at:c,memberName:_,enumName:g})}flowEnumErrorInvalidMemberInitializer(c,g){return this.raise(g.explicitType?g.explicitType==="symbol"?Mt.EnumInvalidMemberInitializerSymbolType:Mt.EnumInvalidMemberInitializerPrimaryType:Mt.EnumInvalidMemberInitializerUnknownType,Object.assign({at:c},g))}flowEnumErrorNumberMemberNotInitialized(c,{enumName:g,memberName:_}){this.raise(Mt.EnumNumberMemberNotInitialized,{at:c,enumName:g,memberName:_})}flowEnumErrorStringMemberInconsistentlyInitialized(c,{enumName:g}){this.raise(Mt.EnumStringMemberInconsistentlyInitialized,{at:c,enumName:g})}flowEnumMemberInit(){let c=this.state.startLoc,g=()=>this.match(12)||this.match(8);switch(this.state.type){case 132:{let _=this.parseNumericLiteral(this.state.value);return g()?{type:"number",loc:_.loc.start,value:_}:{type:"invalid",loc:c}}case 131:{let _=this.parseStringLiteral(this.state.value);return g()?{type:"string",loc:_.loc.start,value:_}:{type:"invalid",loc:c}}case 85:case 86:{let _=this.parseBooleanLiteral(this.match(85));return g()?{type:"boolean",loc:_.loc.start,value:_}:{type:"invalid",loc:c}}default:return{type:"invalid",loc:c}}}flowEnumMemberRaw(){let c=this.state.startLoc;return{id:this.parseIdentifier(!0),init:this.eat(29)?this.flowEnumMemberInit():{type:"none",loc:c}}}flowEnumCheckExplicitTypeMismatch(c,g,_){let{explicitType:O}=g;O!==null&&O!==_&&this.flowEnumErrorInvalidMemberInitializer(c,g)}flowEnumMembers({enumName:c,explicitType:g}){let _=new Set,O={booleanMembers:[],numberMembers:[],stringMembers:[],defaultedMembers:[]},q=!1;for(;!this.match(8);){if(this.eat(21)){q=!0;break}let ee=this.startNode(),{id:le,init:fe}=this.flowEnumMemberRaw(),we=le.name;if(we==="")continue;/^[a-z]/.test(we)&&this.raise(Mt.EnumInvalidMemberName,{at:le,memberName:we,suggestion:we[0].toUpperCase()+we.slice(1),enumName:c}),_.has(we)&&this.raise(Mt.EnumDuplicateMemberName,{at:le,memberName:we,enumName:c}),_.add(we);let Re={enumName:c,explicitType:g,memberName:we};switch(ee.id=le,fe.type){case"boolean":this.flowEnumCheckExplicitTypeMismatch(fe.loc,Re,"boolean"),ee.init=fe.value,O.booleanMembers.push(this.finishNode(ee,"EnumBooleanMember"));break;case"number":this.flowEnumCheckExplicitTypeMismatch(fe.loc,Re,"number"),ee.init=fe.value,O.numberMembers.push(this.finishNode(ee,"EnumNumberMember"));break;case"string":this.flowEnumCheckExplicitTypeMismatch(fe.loc,Re,"string"),ee.init=fe.value,O.stringMembers.push(this.finishNode(ee,"EnumStringMember"));break;case"invalid":throw this.flowEnumErrorInvalidMemberInitializer(fe.loc,Re);case"none":switch(g){case"boolean":this.flowEnumErrorBooleanMemberNotInitialized(fe.loc,Re);break;case"number":this.flowEnumErrorNumberMemberNotInitialized(fe.loc,Re);break;default:O.defaultedMembers.push(this.finishNode(ee,"EnumDefaultedMember"))}}this.match(8)||this.expect(12)}return{members:O,hasUnknownMembers:q}}flowEnumStringMembers(c,g,{enumName:_}){if(c.length===0)return g;if(g.length===0)return c;if(g.length>c.length){for(let O of c)this.flowEnumErrorStringMemberInconsistentlyInitialized(O,{enumName:_});return g}for(let O of g)this.flowEnumErrorStringMemberInconsistentlyInitialized(O,{enumName:_});return c}flowEnumParseExplicitType({enumName:c}){if(!this.eatContextual(101))return null;if(!V(this.state.type))throw this.raise(Mt.EnumInvalidExplicitTypeUnknownSupplied,{at:this.state.startLoc,enumName:c});let{value:g}=this.state;return this.next(),g!=="boolean"&&g!=="number"&&g!=="string"&&g!=="symbol"&&this.raise(Mt.EnumInvalidExplicitType,{at:this.state.startLoc,enumName:c,invalidEnumType:g}),g}flowEnumBody(c,g){let _=g.name,O=g.loc.start,q=this.flowEnumParseExplicitType({enumName:_});this.expect(5);let{members:ee,hasUnknownMembers:le}=this.flowEnumMembers({enumName:_,explicitType:q});switch(c.hasUnknownMembers=le,q){case"boolean":return c.explicitType=!0,c.members=ee.booleanMembers,this.expect(8),this.finishNode(c,"EnumBooleanBody");case"number":return c.explicitType=!0,c.members=ee.numberMembers,this.expect(8),this.finishNode(c,"EnumNumberBody");case"string":return c.explicitType=!0,c.members=this.flowEnumStringMembers(ee.stringMembers,ee.defaultedMembers,{enumName:_}),this.expect(8),this.finishNode(c,"EnumStringBody");case"symbol":return c.members=ee.defaultedMembers,this.expect(8),this.finishNode(c,"EnumSymbolBody");default:{let fe=()=>(c.members=[],this.expect(8),this.finishNode(c,"EnumStringBody"));c.explicitType=!1;let we=ee.booleanMembers.length,Re=ee.numberMembers.length,at=ee.stringMembers.length,Rt=ee.defaultedMembers.length;if(we||Re||at||Rt){if(we||Re){if(!Re&&!at&&we>=Rt){for(let bt of ee.defaultedMembers)this.flowEnumErrorBooleanMemberNotInitialized(bt.loc.start,{enumName:_,memberName:bt.id.name});return c.members=ee.booleanMembers,this.expect(8),this.finishNode(c,"EnumBooleanBody")}if(!we&&!at&&Re>=Rt){for(let bt of ee.defaultedMembers)this.flowEnumErrorNumberMemberNotInitialized(bt.loc.start,{enumName:_,memberName:bt.id.name});return c.members=ee.numberMembers,this.expect(8),this.finishNode(c,"EnumNumberBody")}return this.raise(Mt.EnumInconsistentMemberValues,{at:O,enumName:_}),fe()}return c.members=this.flowEnumStringMembers(ee.stringMembers,ee.defaultedMembers,{enumName:_}),this.expect(8),this.finishNode(c,"EnumStringBody")}return fe()}}}flowParseEnumDeclaration(c){let g=this.parseIdentifier();return c.id=g,c.body=this.flowEnumBody(this.startNode(),g),this.finishNode(c,"EnumDeclaration")}isLookaheadToken_lt(){let c=this.nextTokenStart();if(this.input.charCodeAt(c)===60){let g=this.input.charCodeAt(c+1);return g!==60&&g!==61}return!1}maybeUnwrapTypeCastExpression(c){return c.type==="TypeCastExpression"?c.expression:c}},typescript:te=>class extends te{constructor(...c){super(...c),this.tsParseInOutModifiers=this.tsParseModifiers.bind(this,{allowedModifiers:["in","out"],disallowedModifiers:["const","public","private","protected","readonly","declare","abstract","override"],errorTemplate:_t.InvalidModifierOnTypeParameter}),this.tsParseConstModifier=this.tsParseModifiers.bind(this,{allowedModifiers:["const"],disallowedModifiers:["in","out"],errorTemplate:_t.InvalidModifierOnTypeParameterPositions}),this.tsParseInOutConstModifiers=this.tsParseModifiers.bind(this,{allowedModifiers:["in","out","const"],disallowedModifiers:["public","private","protected","readonly","declare","abstract","override"],errorTemplate:_t.InvalidModifierOnTypeParameter})}getScopeHandler(){return Tc}tsIsIdentifier(){return V(this.state.type)}tsTokenCanFollowModifier(){return(this.match(0)||this.match(5)||this.match(55)||this.match(21)||this.match(136)||this.isLiteralPropertyName())&&!this.hasPrecedingLineBreak()}tsNextTokenCanFollowModifier(){return this.next(),this.tsTokenCanFollowModifier()}tsParseModifier(c,g){if(!V(this.state.type)&&this.state.type!==58&&this.state.type!==75)return;let _=this.state.value;if(c.indexOf(_)!==-1){if(g&&this.tsIsStartOfStaticBlocks())return;if(this.tsTryParse(this.tsNextTokenCanFollowModifier.bind(this)))return _}}tsParseModifiers({allowedModifiers:c,disallowedModifiers:g,stopOnStartOfClassStaticBlock:_,errorTemplate:O=_t.InvalidModifierOnTypeMember},q){let ee=(fe,we,Re,at)=>{we===Re&&q[at]&&this.raise(_t.InvalidModifiersOrder,{at:fe,orderedModifiers:[Re,at]})},le=(fe,we,Re,at)=>{(q[Re]&&we===at||q[at]&&we===Re)&&this.raise(_t.IncompatibleModifiers,{at:fe,modifiers:[Re,at]})};for(;;){let{startLoc:fe}=this.state,we=this.tsParseModifier(c.concat(g??[]),_);if(!we)break;ul(we)?q.accessibility?this.raise(_t.DuplicateAccessibilityModifier,{at:fe,modifier:we}):(ee(fe,we,we,"override"),ee(fe,we,we,"static"),ee(fe,we,we,"readonly"),q.accessibility=we):Ec(we)?(q[we]&&this.raise(_t.DuplicateModifier,{at:fe,modifier:we}),q[we]=!0,ee(fe,we,"in","out")):(Object.hasOwnProperty.call(q,we)?this.raise(_t.DuplicateModifier,{at:fe,modifier:we}):(ee(fe,we,"static","readonly"),ee(fe,we,"static","override"),ee(fe,we,"override","readonly"),ee(fe,we,"abstract","override"),le(fe,we,"declare","override"),le(fe,we,"static","abstract")),q[we]=!0),g!=null&&g.includes(we)&&this.raise(O,{at:fe,modifier:we})}}tsIsListTerminator(c){switch(c){case"EnumMembers":case"TypeMembers":return this.match(8);case"HeritageClauseElement":return this.match(5);case"TupleElementTypes":return this.match(3);case"TypeParametersOrArguments":return this.match(48)}}tsParseList(c,g){let _=[];for(;!this.tsIsListTerminator(c);)_.push(g());return _}tsParseDelimitedList(c,g,_){return function(O){if(O==null)throw new Error(`Unexpected ${O} value.`);return O}(this.tsParseDelimitedListWorker(c,g,!0,_))}tsParseDelimitedListWorker(c,g,_,O){let q=[],ee=-1;for(;!this.tsIsListTerminator(c);){ee=-1;let le=g();if(le==null)return;if(q.push(le),!this.eat(12)){if(this.tsIsListTerminator(c))break;return void(_&&this.expect(12))}ee=this.state.lastTokStart}return O&&(O.value=ee),q}tsParseBracketedList(c,g,_,O,q){O||(_?this.expect(0):this.expect(47));let ee=this.tsParseDelimitedList(c,g,q);return _?this.expect(3):this.expect(48),ee}tsParseImportType(){let c=this.startNode();return this.expect(83),this.expect(10),this.match(131)||this.raise(_t.UnsupportedImportTypeArgument,{at:this.state.startLoc}),c.argument=super.parseExprAtom(),this.expect(11),this.eat(16)&&(c.qualifier=this.tsParseEntityName()),this.match(47)&&(c.typeParameters=this.tsParseTypeArguments()),this.finishNode(c,"TSImportType")}tsParseEntityName(c=!0){let g=this.parseIdentifier(c);for(;this.eat(16);){let _=this.startNodeAtNode(g);_.left=g,_.right=this.parseIdentifier(c),g=this.finishNode(_,"TSQualifiedName")}return g}tsParseTypeReference(){let c=this.startNode();return c.typeName=this.tsParseEntityName(),!this.hasPrecedingLineBreak()&&this.match(47)&&(c.typeParameters=this.tsParseTypeArguments()),this.finishNode(c,"TSTypeReference")}tsParseThisTypePredicate(c){this.next();let g=this.startNodeAtNode(c);return g.parameterName=c,g.typeAnnotation=this.tsParseTypeAnnotation(!1),g.asserts=!1,this.finishNode(g,"TSTypePredicate")}tsParseThisTypeNode(){let c=this.startNode();return this.next(),this.finishNode(c,"TSThisType")}tsParseTypeQuery(){let c=this.startNode();return this.expect(87),this.match(83)?c.exprName=this.tsParseImportType():c.exprName=this.tsParseEntityName(),!this.hasPrecedingLineBreak()&&this.match(47)&&(c.typeParameters=this.tsParseTypeArguments()),this.finishNode(c,"TSTypeQuery")}tsParseTypeParameter(c){let g=this.startNode();return c(g),g.name=this.tsParseTypeParameterName(),g.constraint=this.tsEatThenParseType(81),g.default=this.tsEatThenParseType(29),this.finishNode(g,"TSTypeParameter")}tsTryParseTypeParameters(c){if(this.match(47))return this.tsParseTypeParameters(c)}tsParseTypeParameters(c){let g=this.startNode();this.match(47)||this.match(140)?this.next():this.unexpected();let _={value:-1};return g.params=this.tsParseBracketedList("TypeParametersOrArguments",this.tsParseTypeParameter.bind(this,c),!1,!0,_),g.params.length===0&&this.raise(_t.EmptyTypeParameters,{at:g}),_.value!==-1&&this.addExtra(g,"trailingComma",_.value),this.finishNode(g,"TSTypeParameterDeclaration")}tsFillSignature(c,g){let _=c===19;g.typeParameters=this.tsTryParseTypeParameters(this.tsParseConstModifier),this.expect(10),g.parameters=this.tsParseBindingListForSignature(),(_||this.match(c))&&(g.typeAnnotation=this.tsParseTypeOrTypePredicateAnnotation(c))}tsParseBindingListForSignature(){let c=super.parseBindingList(11,41,2);for(let g of c){let{type:_}=g;_!=="AssignmentPattern"&&_!=="TSParameterProperty"||this.raise(_t.UnsupportedSignatureParameterKind,{at:g,type:_})}return c}tsParseTypeMemberSemicolon(){this.eat(12)||this.isLineTerminator()||this.expect(13)}tsParseSignatureMember(c,g){return this.tsFillSignature(14,g),this.tsParseTypeMemberSemicolon(),this.finishNode(g,c)}tsIsUnambiguouslyIndexSignature(){return this.next(),!!V(this.state.type)&&(this.next(),this.match(14))}tsTryParseIndexSignature(c){if(!this.match(0)||!this.tsLookAhead(this.tsIsUnambiguouslyIndexSignature.bind(this)))return;this.expect(0);let g=this.parseIdentifier();g.typeAnnotation=this.tsParseTypeAnnotation(),this.resetEndLocation(g),this.expect(3),c.parameters=[g];let _=this.tsTryParseTypeAnnotation();return _&&(c.typeAnnotation=_),this.tsParseTypeMemberSemicolon(),this.finishNode(c,"TSIndexSignature")}tsParsePropertyOrMethodSignature(c,g){this.eat(17)&&(c.optional=!0);let _=c;if(this.match(10)||this.match(47)){g&&this.raise(_t.ReadonlyForMethodSignature,{at:c});let O=_;O.kind&&this.match(47)&&this.raise(_t.AccesorCannotHaveTypeParameters,{at:this.state.curPosition()}),this.tsFillSignature(14,O),this.tsParseTypeMemberSemicolon();let q="parameters",ee="typeAnnotation";if(O.kind==="get")O[q].length>0&&(this.raise(x.BadGetterArity,{at:this.state.curPosition()}),this.isThisParam(O[q][0])&&this.raise(_t.AccesorCannotDeclareThisParameter,{at:this.state.curPosition()}));else if(O.kind==="set"){if(O[q].length!==1)this.raise(x.BadSetterArity,{at:this.state.curPosition()});else{let le=O[q][0];this.isThisParam(le)&&this.raise(_t.AccesorCannotDeclareThisParameter,{at:this.state.curPosition()}),le.type==="Identifier"&&le.optional&&this.raise(_t.SetAccesorCannotHaveOptionalParameter,{at:this.state.curPosition()}),le.type==="RestElement"&&this.raise(_t.SetAccesorCannotHaveRestParameter,{at:this.state.curPosition()})}O[ee]&&this.raise(_t.SetAccesorCannotHaveReturnType,{at:O[ee]})}else O.kind="method";return this.finishNode(O,"TSMethodSignature")}{let O=_;g&&(O.readonly=!0);let q=this.tsTryParseTypeAnnotation();return q&&(O.typeAnnotation=q),this.tsParseTypeMemberSemicolon(),this.finishNode(O,"TSPropertySignature")}}tsParseTypeMember(){let c=this.startNode();if(this.match(10)||this.match(47))return this.tsParseSignatureMember("TSCallSignatureDeclaration",c);if(this.match(77)){let _=this.startNode();return this.next(),this.match(10)||this.match(47)?this.tsParseSignatureMember("TSConstructSignatureDeclaration",c):(c.key=this.createIdentifier(_,"new"),this.tsParsePropertyOrMethodSignature(c,!1))}return this.tsParseModifiers({allowedModifiers:["readonly"],disallowedModifiers:["declare","abstract","private","protected","public","static","override"]},c),this.tsTryParseIndexSignature(c)||(super.parsePropertyName(c),c.computed||c.key.type!=="Identifier"||c.key.name!=="get"&&c.key.name!=="set"||!this.tsTokenCanFollowModifier()||(c.kind=c.key.name,super.parsePropertyName(c)),this.tsParsePropertyOrMethodSignature(c,!!c.readonly))}tsParseTypeLiteral(){let c=this.startNode();return c.members=this.tsParseObjectTypeMembers(),this.finishNode(c,"TSTypeLiteral")}tsParseObjectTypeMembers(){this.expect(5);let c=this.tsParseList("TypeMembers",this.tsParseTypeMember.bind(this));return this.expect(8),c}tsIsStartOfMappedType(){return this.next(),this.eat(53)?this.isContextual(120):(this.isContextual(120)&&this.next(),!!this.match(0)&&(this.next(),!!this.tsIsIdentifier()&&(this.next(),this.match(58))))}tsParseMappedTypeParameter(){let c=this.startNode();return c.name=this.tsParseTypeParameterName(),c.constraint=this.tsExpectThenParseType(58),this.finishNode(c,"TSTypeParameter")}tsParseMappedType(){let c=this.startNode();return this.expect(5),this.match(53)?(c.readonly=this.state.value,this.next(),this.expectContextual(120)):this.eatContextual(120)&&(c.readonly=!0),this.expect(0),c.typeParameter=this.tsParseMappedTypeParameter(),c.nameType=this.eatContextual(93)?this.tsParseType():null,this.expect(3),this.match(53)?(c.optional=this.state.value,this.next(),this.expect(17)):this.eat(17)&&(c.optional=!0),c.typeAnnotation=this.tsTryParseType(),this.semicolon(),this.expect(8),this.finishNode(c,"TSMappedType")}tsParseTupleType(){let c=this.startNode();c.elementTypes=this.tsParseBracketedList("TupleElementTypes",this.tsParseTupleElementType.bind(this),!0,!1);let g=!1,_=null;return c.elementTypes.forEach(O=>{let{type:q}=O;!g||q==="TSRestType"||q==="TSOptionalType"||q==="TSNamedTupleMember"&&O.optional||this.raise(_t.OptionalTypeBeforeRequired,{at:O}),g||(g=q==="TSNamedTupleMember"&&O.optional||q==="TSOptionalType");let ee=q;q==="TSRestType"&&(ee=(O=O.typeAnnotation).type);let le=ee==="TSNamedTupleMember";_!=null||(_=le),_!==le&&this.raise(_t.MixedLabeledAndUnlabeledElements,{at:O})}),this.finishNode(c,"TSTupleType")}tsParseTupleElementType(){let{startLoc:c}=this.state,g=this.eat(21),_,O,q,ee,le=Q(this.state.type)?this.lookaheadCharCode():null;if(le===58)_=!0,q=!1,O=this.parseIdentifier(!0),this.expect(14),ee=this.tsParseType();else if(le===63){q=!0;let fe=this.state.startLoc,we=this.state.value,Re=this.tsParseNonArrayType();this.lookaheadCharCode()===58?(_=!0,O=this.createIdentifier(this.startNodeAt(fe),we),this.expect(17),this.expect(14),ee=this.tsParseType()):(_=!1,ee=Re,this.expect(17))}else ee=this.tsParseType(),q=this.eat(17),_=this.eat(14);if(_){let fe;O?(fe=this.startNodeAtNode(O),fe.optional=q,fe.label=O,fe.elementType=ee,this.eat(17)&&(fe.optional=!0,this.raise(_t.TupleOptionalAfterType,{at:this.state.lastTokStartLoc}))):(fe=this.startNodeAtNode(ee),fe.optional=q,this.raise(_t.InvalidTupleMemberLabel,{at:ee}),fe.label=ee,fe.elementType=this.tsParseType()),ee=this.finishNode(fe,"TSNamedTupleMember")}else if(q){let fe=this.startNodeAtNode(ee);fe.typeAnnotation=ee,ee=this.finishNode(fe,"TSOptionalType")}if(g){let fe=this.startNodeAt(c);fe.typeAnnotation=ee,ee=this.finishNode(fe,"TSRestType")}return ee}tsParseParenthesizedType(){let c=this.startNode();return this.expect(10),c.typeAnnotation=this.tsParseType(),this.expect(11),this.finishNode(c,"TSParenthesizedType")}tsParseFunctionOrConstructorType(c,g){let _=this.startNode();return c==="TSConstructorType"&&(_.abstract=!!g,g&&this.next(),this.next()),this.tsInAllowConditionalTypesContext(()=>this.tsFillSignature(19,_)),this.finishNode(_,c)}tsParseLiteralTypeNode(){let c=this.startNode();switch(this.state.type){case 132:case 133:case 131:case 85:case 86:c.literal=super.parseExprAtom();break;default:this.unexpected()}return this.finishNode(c,"TSLiteralType")}tsParseTemplateLiteralType(){let c=this.startNode();return c.literal=super.parseTemplate(!1),this.finishNode(c,"TSLiteralType")}parseTemplateSubstitution(){return this.state.inType?this.tsParseType():super.parseTemplateSubstitution()}tsParseThisTypeOrThisTypePredicate(){let c=this.tsParseThisTypeNode();return this.isContextual(114)&&!this.hasPrecedingLineBreak()?this.tsParseThisTypePredicate(c):c}tsParseNonArrayType(){switch(this.state.type){case 131:case 132:case 133:case 85:case 86:return this.tsParseLiteralTypeNode();case 53:if(this.state.value==="-"){let c=this.startNode(),g=this.lookahead();return g.type!==132&&g.type!==133&&this.unexpected(),c.literal=this.parseMaybeUnary(),this.finishNode(c,"TSLiteralType")}break;case 78:return this.tsParseThisTypeOrThisTypePredicate();case 87:return this.tsParseTypeQuery();case 83:return this.tsParseImportType();case 5:return this.tsLookAhead(this.tsIsStartOfMappedType.bind(this))?this.tsParseMappedType():this.tsParseTypeLiteral();case 0:return this.tsParseTupleType();case 10:return this.tsParseParenthesizedType();case 25:case 24:return this.tsParseTemplateLiteralType();default:{let{type:c}=this.state;if(V(c)||c===88||c===84){let g=c===88?"TSVoidKeyword":c===84?"TSNullKeyword":function(_){switch(_){case"any":return"TSAnyKeyword";case"boolean":return"TSBooleanKeyword";case"bigint":return"TSBigIntKeyword";case"never":return"TSNeverKeyword";case"number":return"TSNumberKeyword";case"object":return"TSObjectKeyword";case"string":return"TSStringKeyword";case"symbol":return"TSSymbolKeyword";case"undefined":return"TSUndefinedKeyword";case"unknown":return"TSUnknownKeyword";default:return}}(this.state.value);if(g!==void 0&&this.lookaheadCharCode()!==46){let _=this.startNode();return this.next(),this.finishNode(_,g)}return this.tsParseTypeReference()}}}this.unexpected()}tsParseArrayTypeOrHigher(){let c=this.tsParseNonArrayType();for(;!this.hasPrecedingLineBreak()&&this.eat(0);)if(this.match(3)){let g=this.startNodeAtNode(c);g.elementType=c,this.expect(3),c=this.finishNode(g,"TSArrayType")}else{let g=this.startNodeAtNode(c);g.objectType=c,g.indexType=this.tsParseType(),this.expect(3),c=this.finishNode(g,"TSIndexedAccessType")}return c}tsParseTypeOperator(){let c=this.startNode(),g=this.state.value;return this.next(),c.operator=g,c.typeAnnotation=this.tsParseTypeOperatorOrHigher(),g==="readonly"&&this.tsCheckTypeAnnotationForReadOnly(c),this.finishNode(c,"TSTypeOperator")}tsCheckTypeAnnotationForReadOnly(c){switch(c.typeAnnotation.type){case"TSTupleType":case"TSArrayType":return;default:this.raise(_t.UnexpectedReadonly,{at:c})}}tsParseInferType(){let c=this.startNode();this.expectContextual(113);let g=this.startNode();return g.name=this.tsParseTypeParameterName(),g.constraint=this.tsTryParse(()=>this.tsParseConstraintForInferType()),c.typeParameter=this.finishNode(g,"TSTypeParameter"),this.finishNode(c,"TSInferType")}tsParseConstraintForInferType(){if(this.eat(81)){let c=this.tsInDisallowConditionalTypesContext(()=>this.tsParseType());if(this.state.inDisallowConditionalTypesContext||!this.match(17))return c}}tsParseTypeOperatorOrHigher(){var c;return(c=this.state.type)>=119&&c<=121&&!this.state.containsEsc?this.tsParseTypeOperator():this.isContextual(113)?this.tsParseInferType():this.tsInAllowConditionalTypesContext(()=>this.tsParseArrayTypeOrHigher())}tsParseUnionOrIntersectionType(c,g,_){let O=this.startNode(),q=this.eat(_),ee=[];do ee.push(g());while(this.eat(_));return ee.length!==1||q?(O.types=ee,this.finishNode(O,c)):ee[0]}tsParseIntersectionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSIntersectionType",this.tsParseTypeOperatorOrHigher.bind(this),45)}tsParseUnionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSUnionType",this.tsParseIntersectionTypeOrHigher.bind(this),43)}tsIsStartOfFunctionType(){return!!this.match(47)||this.match(10)&&this.tsLookAhead(this.tsIsUnambiguouslyStartOfFunctionType.bind(this))}tsSkipParameterStart(){if(V(this.state.type)||this.match(78))return this.next(),!0;if(this.match(5)){let{errors:c}=this.state,g=c.length;try{return this.parseObjectLike(8,!0),c.length===g}catch{return!1}}if(this.match(0)){this.next();let{errors:c}=this.state,g=c.length;try{return super.parseBindingList(3,93,1),c.length===g}catch{return!1}}return!1}tsIsUnambiguouslyStartOfFunctionType(){return this.next(),!!(this.match(11)||this.match(21)||this.tsSkipParameterStart()&&(this.match(14)||this.match(12)||this.match(17)||this.match(29)||this.match(11)&&(this.next(),this.match(19))))}tsParseTypeOrTypePredicateAnnotation(c){return this.tsInType(()=>{let g=this.startNode();this.expect(c);let _=this.startNode(),O=!!this.tsTryParse(this.tsParseTypePredicateAsserts.bind(this));if(O&&this.match(78)){let le=this.tsParseThisTypeOrThisTypePredicate();return le.type==="TSThisType"?(_.parameterName=le,_.asserts=!0,_.typeAnnotation=null,le=this.finishNode(_,"TSTypePredicate")):(this.resetStartLocationFromNode(le,_),le.asserts=!0),g.typeAnnotation=le,this.finishNode(g,"TSTypeAnnotation")}let q=this.tsIsIdentifier()&&this.tsTryParse(this.tsParseTypePredicatePrefix.bind(this));if(!q)return O?(_.parameterName=this.parseIdentifier(),_.asserts=O,_.typeAnnotation=null,g.typeAnnotation=this.finishNode(_,"TSTypePredicate"),this.finishNode(g,"TSTypeAnnotation")):this.tsParseTypeAnnotation(!1,g);let ee=this.tsParseTypeAnnotation(!1);return _.parameterName=q,_.typeAnnotation=ee,_.asserts=O,g.typeAnnotation=this.finishNode(_,"TSTypePredicate"),this.finishNode(g,"TSTypeAnnotation")})}tsTryParseTypeOrTypePredicateAnnotation(){if(this.match(14))return this.tsParseTypeOrTypePredicateAnnotation(14)}tsTryParseTypeAnnotation(){if(this.match(14))return this.tsParseTypeAnnotation()}tsTryParseType(){return this.tsEatThenParseType(14)}tsParseTypePredicatePrefix(){let c=this.parseIdentifier();if(this.isContextual(114)&&!this.hasPrecedingLineBreak())return this.next(),c}tsParseTypePredicateAsserts(){if(this.state.type!==107)return!1;let c=this.state.containsEsc;return this.next(),!(!V(this.state.type)&&!this.match(78))&&(c&&this.raise(x.InvalidEscapedReservedWord,{at:this.state.lastTokStartLoc,reservedWord:"asserts"}),!0)}tsParseTypeAnnotation(c=!0,g=this.startNode()){return this.tsInType(()=>{c&&this.expect(14),g.typeAnnotation=this.tsParseType()}),this.finishNode(g,"TSTypeAnnotation")}tsParseType(){rr(this.state.inType);let c=this.tsParseNonConditionalType();if(this.state.inDisallowConditionalTypesContext||this.hasPrecedingLineBreak()||!this.eat(81))return c;let g=this.startNodeAtNode(c);return g.checkType=c,g.extendsType=this.tsInDisallowConditionalTypesContext(()=>this.tsParseNonConditionalType()),this.expect(17),g.trueType=this.tsInAllowConditionalTypesContext(()=>this.tsParseType()),this.expect(14),g.falseType=this.tsInAllowConditionalTypesContext(()=>this.tsParseType()),this.finishNode(g,"TSConditionalType")}isAbstractConstructorSignature(){return this.isContextual(122)&&this.lookahead().type===77}tsParseNonConditionalType(){return this.tsIsStartOfFunctionType()?this.tsParseFunctionOrConstructorType("TSFunctionType"):this.match(77)?this.tsParseFunctionOrConstructorType("TSConstructorType"):this.isAbstractConstructorSignature()?this.tsParseFunctionOrConstructorType("TSConstructorType",!0):this.tsParseUnionTypeOrHigher()}tsParseTypeAssertion(){this.getPluginOption("typescript","disallowAmbiguousJSXLike")&&this.raise(_t.ReservedTypeAssertion,{at:this.state.startLoc});let c=this.startNode();return c.typeAnnotation=this.tsInType(()=>(this.next(),this.match(75)?this.tsParseTypeReference():this.tsParseType())),this.expect(48),c.expression=this.parseMaybeUnary(),this.finishNode(c,"TSTypeAssertion")}tsParseHeritageClause(c){let g=this.state.startLoc,_=this.tsParseDelimitedList("HeritageClauseElement",()=>{let O=this.startNode();return O.expression=this.tsParseEntityName(),this.match(47)&&(O.typeParameters=this.tsParseTypeArguments()),this.finishNode(O,"TSExpressionWithTypeArguments")});return _.length||this.raise(_t.EmptyHeritageClauseType,{at:g,token:c}),_}tsParseInterfaceDeclaration(c,g={}){if(this.hasFollowingLineBreak())return null;this.expectContextual(127),g.declare&&(c.declare=!0),V(this.state.type)?(c.id=this.parseIdentifier(),this.checkIdentifier(c.id,130)):(c.id=null,this.raise(_t.MissingInterfaceName,{at:this.state.startLoc})),c.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutConstModifiers),this.eat(81)&&(c.extends=this.tsParseHeritageClause("extends"));let _=this.startNode();return _.body=this.tsInType(this.tsParseObjectTypeMembers.bind(this)),c.body=this.finishNode(_,"TSInterfaceBody"),this.finishNode(c,"TSInterfaceDeclaration")}tsParseTypeAliasDeclaration(c){return c.id=this.parseIdentifier(),this.checkIdentifier(c.id,2),c.typeAnnotation=this.tsInType(()=>{if(c.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutModifiers),this.expect(29),this.isContextual(112)&&this.lookahead().type!==16){let g=this.startNode();return this.next(),this.finishNode(g,"TSIntrinsicKeyword")}return this.tsParseType()}),this.semicolon(),this.finishNode(c,"TSTypeAliasDeclaration")}tsInNoContext(c){let g=this.state.context;this.state.context=[g[0]];try{return c()}finally{this.state.context=g}}tsInType(c){let g=this.state.inType;this.state.inType=!0;try{return c()}finally{this.state.inType=g}}tsInDisallowConditionalTypesContext(c){let g=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!0;try{return c()}finally{this.state.inDisallowConditionalTypesContext=g}}tsInAllowConditionalTypesContext(c){let g=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!1;try{return c()}finally{this.state.inDisallowConditionalTypesContext=g}}tsEatThenParseType(c){if(this.match(c))return this.tsNextThenParseType()}tsExpectThenParseType(c){return this.tsInType(()=>(this.expect(c),this.tsParseType()))}tsNextThenParseType(){return this.tsInType(()=>(this.next(),this.tsParseType()))}tsParseEnumMember(){let c=this.startNode();return c.id=this.match(131)?super.parseStringLiteral(this.state.value):this.parseIdentifier(!0),this.eat(29)&&(c.initializer=super.parseMaybeAssignAllowIn()),this.finishNode(c,"TSEnumMember")}tsParseEnumDeclaration(c,g={}){return g.const&&(c.const=!0),g.declare&&(c.declare=!0),this.expectContextual(124),c.id=this.parseIdentifier(),this.checkIdentifier(c.id,c.const?8971:8459),this.expect(5),c.members=this.tsParseDelimitedList("EnumMembers",this.tsParseEnumMember.bind(this)),this.expect(8),this.finishNode(c,"TSEnumDeclaration")}tsParseModuleBlock(){let c=this.startNode();return this.scope.enter(0),this.expect(5),super.parseBlockOrModuleBlockBody(c.body=[],void 0,!0,8),this.scope.exit(),this.finishNode(c,"TSModuleBlock")}tsParseModuleOrNamespaceDeclaration(c,g=!1){if(c.id=this.parseIdentifier(),g||this.checkIdentifier(c.id,1024),this.eat(16)){let _=this.startNode();this.tsParseModuleOrNamespaceDeclaration(_,!0),c.body=_}else this.scope.enter(256),this.prodParam.enter(0),c.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit();return this.finishNode(c,"TSModuleDeclaration")}tsParseAmbientExternalModuleDeclaration(c){return this.isContextual(110)?(c.global=!0,c.id=this.parseIdentifier()):this.match(131)?c.id=super.parseStringLiteral(this.state.value):this.unexpected(),this.match(5)?(this.scope.enter(256),this.prodParam.enter(0),c.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit()):this.semicolon(),this.finishNode(c,"TSModuleDeclaration")}tsParseImportEqualsDeclaration(c,g,_){c.isExport=_||!1,c.id=g||this.parseIdentifier(),this.checkIdentifier(c.id,4096),this.expect(29);let O=this.tsParseModuleReference();return c.importKind==="type"&&O.type!=="TSExternalModuleReference"&&this.raise(_t.ImportAliasHasImportType,{at:O}),c.moduleReference=O,this.semicolon(),this.finishNode(c,"TSImportEqualsDeclaration")}tsIsExternalModuleReference(){return this.isContextual(117)&&this.lookaheadCharCode()===40}tsParseModuleReference(){return this.tsIsExternalModuleReference()?this.tsParseExternalModuleReference():this.tsParseEntityName(!1)}tsParseExternalModuleReference(){let c=this.startNode();return this.expectContextual(117),this.expect(10),this.match(131)||this.unexpected(),c.expression=super.parseExprAtom(),this.expect(11),this.sawUnambiguousESM=!0,this.finishNode(c,"TSExternalModuleReference")}tsLookAhead(c){let g=this.state.clone(),_=c();return this.state=g,_}tsTryParseAndCatch(c){let g=this.tryParse(_=>c()||_());if(!g.aborted&&g.node)return g.error&&(this.state=g.failState),g.node}tsTryParse(c){let g=this.state.clone(),_=c();if(_!==void 0&&_!==!1)return _;this.state=g}tsTryParseDeclare(c){if(this.isLineTerminator())return;let g,_=this.state.type;return this.isContextual(99)&&(_=74,g="let"),this.tsInAmbientContext(()=>{switch(_){case 68:return c.declare=!0,super.parseFunctionStatement(c,!1,!1);case 80:return c.declare=!0,this.parseClass(c,!0,!1);case 124:return this.tsParseEnumDeclaration(c,{declare:!0});case 110:return this.tsParseAmbientExternalModuleDeclaration(c);case 75:case 74:return this.match(75)&&this.isLookaheadContextual("enum")?(this.expect(75),this.tsParseEnumDeclaration(c,{const:!0,declare:!0})):(c.declare=!0,this.parseVarStatement(c,g||this.state.value,!0));case 127:{let O=this.tsParseInterfaceDeclaration(c,{declare:!0});if(O)return O}default:if(V(_))return this.tsParseDeclaration(c,this.state.value,!0,null)}})}tsTryParseExportDeclaration(){return this.tsParseDeclaration(this.startNode(),this.state.value,!0,null)}tsParseExpressionStatement(c,g,_){switch(g.name){case"declare":{let O=this.tsTryParseDeclare(c);return O&&(O.declare=!0),O}case"global":if(this.match(5)){this.scope.enter(256),this.prodParam.enter(0);let O=c;return O.global=!0,O.id=g,O.body=this.tsParseModuleBlock(),this.scope.exit(),this.prodParam.exit(),this.finishNode(O,"TSModuleDeclaration")}break;default:return this.tsParseDeclaration(c,g.name,!1,_)}}tsParseDeclaration(c,g,_,O){switch(g){case"abstract":if(this.tsCheckLineTerminator(_)&&(this.match(80)||V(this.state.type)))return this.tsParseAbstractDeclaration(c,O);break;case"module":if(this.tsCheckLineTerminator(_)){if(this.match(131))return this.tsParseAmbientExternalModuleDeclaration(c);if(V(this.state.type))return this.tsParseModuleOrNamespaceDeclaration(c)}break;case"namespace":if(this.tsCheckLineTerminator(_)&&V(this.state.type))return this.tsParseModuleOrNamespaceDeclaration(c);break;case"type":if(this.tsCheckLineTerminator(_)&&V(this.state.type))return this.tsParseTypeAliasDeclaration(c)}}tsCheckLineTerminator(c){return c?!this.hasFollowingLineBreak()&&(this.next(),!0):!this.isLineTerminator()}tsTryParseGenericAsyncArrowFunction(c){if(!this.match(47))return;let g=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=!0;let _=this.tsTryParseAndCatch(()=>{let O=this.startNodeAt(c);return O.typeParameters=this.tsParseTypeParameters(this.tsParseConstModifier),super.parseFunctionParams(O),O.returnType=this.tsTryParseTypeOrTypePredicateAnnotation(),this.expect(19),O});return this.state.maybeInArrowParameters=g,_?super.parseArrowExpression(_,null,!0):void 0}tsParseTypeArgumentsInExpression(){if(this.reScan_lt()===47)return this.tsParseTypeArguments()}tsParseTypeArguments(){let c=this.startNode();return c.params=this.tsInType(()=>this.tsInNoContext(()=>(this.expect(47),this.tsParseDelimitedList("TypeParametersOrArguments",this.tsParseType.bind(this))))),c.params.length===0?this.raise(_t.EmptyTypeArguments,{at:c}):this.state.inType||this.curContext()!==I.brace||this.reScan_lt_gt(),this.expect(48),this.finishNode(c,"TSTypeParameterInstantiation")}tsIsDeclarationStart(){return(c=this.state.type)>=122&&c<=128;var c}isExportDefaultSpecifier(){return!this.tsIsDeclarationStart()&&super.isExportDefaultSpecifier()}parseAssignableListItem(c,g){let _=this.state.startLoc,O={};this.tsParseModifiers({allowedModifiers:["public","private","protected","override","readonly"]},O);let q=O.accessibility,ee=O.override,le=O.readonly;4&c||!(q||le||ee)||this.raise(_t.UnexpectedParameterModifier,{at:_});let fe=this.parseMaybeDefault();this.parseAssignableListItemTypes(fe,c);let we=this.parseMaybeDefault(fe.loc.start,fe);if(q||le||ee){let Re=this.startNodeAt(_);return g.length&&(Re.decorators=g),q&&(Re.accessibility=q),le&&(Re.readonly=le),ee&&(Re.override=ee),we.type!=="Identifier"&&we.type!=="AssignmentPattern"&&this.raise(_t.UnsupportedParameterPropertyKind,{at:Re}),Re.parameter=we,this.finishNode(Re,"TSParameterProperty")}return g.length&&(fe.decorators=g),we}isSimpleParameter(c){return c.type==="TSParameterProperty"&&super.isSimpleParameter(c.parameter)||super.isSimpleParameter(c)}tsDisallowOptionalPattern(c){for(let g of c.params)g.type!=="Identifier"&&g.optional&&!this.state.isAmbientContext&&this.raise(_t.PatternIsOptional,{at:g})}setArrowFunctionParameters(c,g,_){super.setArrowFunctionParameters(c,g,_),this.tsDisallowOptionalPattern(c)}parseFunctionBodyAndFinish(c,g,_=!1){this.match(14)&&(c.returnType=this.tsParseTypeOrTypePredicateAnnotation(14));let O=g==="FunctionDeclaration"?"TSDeclareFunction":g==="ClassMethod"||g==="ClassPrivateMethod"?"TSDeclareMethod":void 0;return O&&!this.match(5)&&this.isLineTerminator()?this.finishNode(c,O):O==="TSDeclareFunction"&&this.state.isAmbientContext&&(this.raise(_t.DeclareFunctionHasImplementation,{at:c}),c.declare)?super.parseFunctionBodyAndFinish(c,O,_):(this.tsDisallowOptionalPattern(c),super.parseFunctionBodyAndFinish(c,g,_))}registerFunctionStatementId(c){!c.body&&c.id?this.checkIdentifier(c.id,1024):super.registerFunctionStatementId(c)}tsCheckForInvalidTypeCasts(c){c.forEach(g=>{(g==null?void 0:g.type)==="TSTypeCastExpression"&&this.raise(_t.UnexpectedTypeAnnotation,{at:g.typeAnnotation})})}toReferencedList(c,g){return this.tsCheckForInvalidTypeCasts(c),c}parseArrayLike(c,g,_,O){let q=super.parseArrayLike(c,g,_,O);return q.type==="ArrayExpression"&&this.tsCheckForInvalidTypeCasts(q.elements),q}parseSubscript(c,g,_,O){if(!this.hasPrecedingLineBreak()&&this.match(35)){this.state.canStartJSXElement=!1,this.next();let ee=this.startNodeAt(g);return ee.expression=c,this.finishNode(ee,"TSNonNullExpression")}let q=!1;if(this.match(18)&&this.lookaheadCharCode()===60){if(_)return O.stop=!0,c;O.optionalChainMember=q=!0,this.next()}if(this.match(47)||this.match(51)){let ee,le=this.tsTryParseAndCatch(()=>{if(!_&&this.atPossibleAsyncArrow(c)){let at=this.tsTryParseGenericAsyncArrowFunction(g);if(at)return at}let fe=this.tsParseTypeArgumentsInExpression();if(!fe)return;if(q&&!this.match(10))return void(ee=this.state.curPosition());if(ae(this.state.type)){let at=super.parseTaggedTemplateExpression(c,g,O);return at.typeParameters=fe,at}if(!_&&this.eat(10)){let at=this.startNodeAt(g);return at.callee=c,at.arguments=this.parseCallExpressionArguments(11,!1),this.tsCheckForInvalidTypeCasts(at.arguments),at.typeParameters=fe,O.optionalChainMember&&(at.optional=q),this.finishCallExpression(at,O.optionalChainMember)}let we=this.state.type;if(we===48||we===52||we!==10&&ue(we)&&!this.hasPrecedingLineBreak())return;let Re=this.startNodeAt(g);return Re.expression=c,Re.typeParameters=fe,this.finishNode(Re,"TSInstantiationExpression")});if(ee&&this.unexpected(ee,10),le)return le.type==="TSInstantiationExpression"&&(this.match(16)||this.match(18)&&this.lookaheadCharCode()!==40)&&this.raise(_t.InvalidPropertyAccessAfterInstantiationExpression,{at:this.state.startLoc}),le}return super.parseSubscript(c,g,_,O)}parseNewCallee(c){var g;super.parseNewCallee(c);let{callee:_}=c;_.type!=="TSInstantiationExpression"||(g=_.extra)!=null&&g.parenthesized||(c.typeParameters=_.typeParameters,c.callee=_.expression)}parseExprOp(c,g,_){let O;if(Me(58)>_&&!this.hasPrecedingLineBreak()&&(this.isContextual(93)||(O=this.isContextual(118)))){let q=this.startNodeAt(g);return q.expression=c,q.typeAnnotation=this.tsInType(()=>(this.next(),this.match(75)?(O&&this.raise(x.UnexpectedKeyword,{at:this.state.startLoc,keyword:"const"}),this.tsParseTypeReference()):this.tsParseType())),this.finishNode(q,O?"TSSatisfiesExpression":"TSAsExpression"),this.reScan_lt_gt(),this.parseExprOp(q,g,_)}return super.parseExprOp(c,g,_)}checkReservedWord(c,g,_,O){this.state.isAmbientContext||super.checkReservedWord(c,g,_,O)}checkImportReflection(c){super.checkImportReflection(c),c.module&&c.importKind!=="value"&&this.raise(_t.ImportReflectionHasImportType,{at:c.specifiers[0].loc.start})}checkDuplicateExports(){}isPotentialImportPhase(c){if(super.isPotentialImportPhase(c))return!0;if(this.isContextual(128)){let g=this.lookaheadCharCode();return c?g===123||g===42:g!==61}return!c&&this.isContextual(87)}applyImportPhase(c,g,_,O){super.applyImportPhase(c,g,_,O),g?c.exportKind=_==="type"?"type":"value":c.importKind=_==="type"||_==="typeof"?_:"value"}parseImport(c){if(this.match(131))return c.importKind="value",super.parseImport(c);let g;if(V(this.state.type)&&this.lookaheadCharCode()===61)return c.importKind="value",this.tsParseImportEqualsDeclaration(c);if(this.isContextual(128)){let _=this.parseMaybeImportPhase(c,!1);if(this.lookaheadCharCode()===61)return this.tsParseImportEqualsDeclaration(c,_);g=super.parseImportSpecifiersAndAfter(c,_)}else g=super.parseImport(c);return g.importKind==="type"&&g.specifiers.length>1&&g.specifiers[0].type==="ImportDefaultSpecifier"&&this.raise(_t.TypeImportCannotSpecifyDefaultAndNamed,{at:g}),g}parseExport(c,g){if(this.match(83)){this.next();let _=null;return this.isContextual(128)&&this.isPotentialImportPhase(!1)?_=this.parseMaybeImportPhase(c,!1):c.importKind="value",this.tsParseImportEqualsDeclaration(c,_,!0)}if(this.eat(29)){let _=c;return _.expression=super.parseExpression(),this.semicolon(),this.sawUnambiguousESM=!0,this.finishNode(_,"TSExportAssignment")}if(this.eatContextual(93)){let _=c;return this.expectContextual(126),_.id=this.parseIdentifier(),this.semicolon(),this.finishNode(_,"TSNamespaceExportDeclaration")}return super.parseExport(c,g)}isAbstractClass(){return this.isContextual(122)&&this.lookahead().type===80}parseExportDefaultExpression(){if(this.isAbstractClass()){let c=this.startNode();return this.next(),c.abstract=!0,this.parseClass(c,!0,!0)}if(this.match(127)){let c=this.tsParseInterfaceDeclaration(this.startNode());if(c)return c}return super.parseExportDefaultExpression()}parseVarStatement(c,g,_=!1){let{isAmbientContext:O}=this.state,q=super.parseVarStatement(c,g,_||O);if(!O)return q;for(let{id:ee,init:le}of q.declarations)le&&(g!=="const"||ee.typeAnnotation?this.raise(_t.InitializerNotAllowedInAmbientContext,{at:le}):jt(le,this.hasPlugin("estree"))||this.raise(_t.ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference,{at:le}));return q}parseStatementContent(c,g){if(this.match(75)&&this.isLookaheadContextual("enum")){let _=this.startNode();return this.expect(75),this.tsParseEnumDeclaration(_,{const:!0})}if(this.isContextual(124))return this.tsParseEnumDeclaration(this.startNode());if(this.isContextual(127)){let _=this.tsParseInterfaceDeclaration(this.startNode());if(_)return _}return super.parseStatementContent(c,g)}parseAccessModifier(){return this.tsParseModifier(["public","protected","private"])}tsHasSomeModifiers(c,g){return g.some(_=>ul(_)?c.accessibility===_:!!c[_])}tsIsStartOfStaticBlocks(){return this.isContextual(104)&&this.lookaheadCharCode()===123}parseClassMember(c,g,_){let O=["declare","private","public","protected","override","abstract","readonly","static"];this.tsParseModifiers({allowedModifiers:O,disallowedModifiers:["in","out"],stopOnStartOfClassStaticBlock:!0,errorTemplate:_t.InvalidModifierOnTypeParameterPositions},g);let q=()=>{this.tsIsStartOfStaticBlocks()?(this.next(),this.next(),this.tsHasSomeModifiers(g,O)&&this.raise(_t.StaticBlockCannotHaveModifier,{at:this.state.curPosition()}),super.parseClassStaticBlock(c,g)):this.parseClassMemberWithIsStatic(c,g,_,!!g.static)};g.declare?this.tsInAmbientContext(q):q()}parseClassMemberWithIsStatic(c,g,_,O){let q=this.tsTryParseIndexSignature(g);if(q)return c.body.push(q),g.abstract&&this.raise(_t.IndexSignatureHasAbstract,{at:g}),g.accessibility&&this.raise(_t.IndexSignatureHasAccessibility,{at:g,modifier:g.accessibility}),g.declare&&this.raise(_t.IndexSignatureHasDeclare,{at:g}),void(g.override&&this.raise(_t.IndexSignatureHasOverride,{at:g}));!this.state.inAbstractClass&&g.abstract&&this.raise(_t.NonAbstractClassHasAbstractMethod,{at:g}),g.override&&(_.hadSuperClass||this.raise(_t.OverrideNotInSubClass,{at:g})),super.parseClassMemberWithIsStatic(c,g,_,O)}parsePostMemberNameModifiers(c){this.eat(17)&&(c.optional=!0),c.readonly&&this.match(10)&&this.raise(_t.ClassMethodHasReadonly,{at:c}),c.declare&&this.match(10)&&this.raise(_t.ClassMethodHasDeclare,{at:c})}parseExpressionStatement(c,g,_){return(g.type==="Identifier"?this.tsParseExpressionStatement(c,g,_):void 0)||super.parseExpressionStatement(c,g,_)}shouldParseExportDeclaration(){return!!this.tsIsDeclarationStart()||super.shouldParseExportDeclaration()}parseConditional(c,g,_){if(!this.state.maybeInArrowParameters||!this.match(17))return super.parseConditional(c,g,_);let O=this.tryParse(()=>super.parseConditional(c,g));return O.node?(O.error&&(this.state=O.failState),O.node):(O.error&&super.setOptionalParametersError(_,O.error),c)}parseParenItem(c,g){if(c=super.parseParenItem(c,g),this.eat(17)&&(c.optional=!0,this.resetEndLocation(c)),this.match(14)){let _=this.startNodeAt(g);return _.expression=c,_.typeAnnotation=this.tsParseTypeAnnotation(),this.finishNode(_,"TSTypeCastExpression")}return c}parseExportDeclaration(c){if(!this.state.isAmbientContext&&this.isContextual(123))return this.tsInAmbientContext(()=>this.parseExportDeclaration(c));let g=this.state.startLoc,_=this.eatContextual(123);if(_&&(this.isContextual(123)||!this.shouldParseExportDeclaration()))throw this.raise(_t.ExpectedAmbientAfterExportDeclare,{at:this.state.startLoc});let O=V(this.state.type)&&this.tsTryParseExportDeclaration()||super.parseExportDeclaration(c);return O?((O.type==="TSInterfaceDeclaration"||O.type==="TSTypeAliasDeclaration"||_)&&(c.exportKind="type"),_&&(this.resetStartLocation(O,g),O.declare=!0),O):null}parseClassId(c,g,_,O){if((!g||_)&&this.isContextual(111))return;super.parseClassId(c,g,_,c.declare?1024:8331);let q=this.tsTryParseTypeParameters(this.tsParseInOutConstModifiers);q&&(c.typeParameters=q)}parseClassPropertyAnnotation(c){c.optional||(this.eat(35)?c.definite=!0:this.eat(17)&&(c.optional=!0));let g=this.tsTryParseTypeAnnotation();g&&(c.typeAnnotation=g)}parseClassProperty(c){if(this.parseClassPropertyAnnotation(c),this.state.isAmbientContext&&(!c.readonly||c.typeAnnotation)&&this.match(29)&&this.raise(_t.DeclareClassFieldHasInitializer,{at:this.state.startLoc}),c.abstract&&this.match(29)){let{key:g}=c;this.raise(_t.AbstractPropertyHasInitializer,{at:this.state.startLoc,propertyName:g.type!=="Identifier"||c.computed?`[${this.input.slice(g.start,g.end)}]`:g.name})}return super.parseClassProperty(c)}parseClassPrivateProperty(c){return c.abstract&&this.raise(_t.PrivateElementHasAbstract,{at:c}),c.accessibility&&this.raise(_t.PrivateElementHasAccessibility,{at:c,modifier:c.accessibility}),this.parseClassPropertyAnnotation(c),super.parseClassPrivateProperty(c)}parseClassAccessorProperty(c){return this.parseClassPropertyAnnotation(c),c.optional&&this.raise(_t.AccessorCannotBeOptional,{at:c}),super.parseClassAccessorProperty(c)}pushClassMethod(c,g,_,O,q,ee){let le=this.tsTryParseTypeParameters(this.tsParseConstModifier);le&&q&&this.raise(_t.ConstructorHasTypeParameters,{at:le});let{declare:fe=!1,kind:we}=g;!fe||we!=="get"&&we!=="set"||this.raise(_t.DeclareAccessor,{at:g,kind:we}),le&&(g.typeParameters=le),super.pushClassMethod(c,g,_,O,q,ee)}pushClassPrivateMethod(c,g,_,O){let q=this.tsTryParseTypeParameters(this.tsParseConstModifier);q&&(g.typeParameters=q),super.pushClassPrivateMethod(c,g,_,O)}declareClassPrivateMethodInScope(c,g){c.type!=="TSDeclareMethod"&&(c.type!=="MethodDefinition"||c.value.body)&&super.declareClassPrivateMethodInScope(c,g)}parseClassSuper(c){super.parseClassSuper(c),c.superClass&&(this.match(47)||this.match(51))&&(c.superTypeParameters=this.tsParseTypeArgumentsInExpression()),this.eatContextual(111)&&(c.implements=this.tsParseHeritageClause("implements"))}parseObjPropValue(c,g,_,O,q,ee,le){let fe=this.tsTryParseTypeParameters(this.tsParseConstModifier);return fe&&(c.typeParameters=fe),super.parseObjPropValue(c,g,_,O,q,ee,le)}parseFunctionParams(c,g){let _=this.tsTryParseTypeParameters(this.tsParseConstModifier);_&&(c.typeParameters=_),super.parseFunctionParams(c,g)}parseVarId(c,g){super.parseVarId(c,g),c.id.type==="Identifier"&&!this.hasPrecedingLineBreak()&&this.eat(35)&&(c.definite=!0);let _=this.tsTryParseTypeAnnotation();_&&(c.id.typeAnnotation=_,this.resetEndLocation(c.id))}parseAsyncArrowFromCallExpression(c,g){return this.match(14)&&(c.returnType=this.tsParseTypeAnnotation()),super.parseAsyncArrowFromCallExpression(c,g)}parseMaybeAssign(c,g){var _,O,q,ee,le;let fe,we,Re,at;if(this.hasPlugin("jsx")&&(this.match(140)||this.match(47))){if(fe=this.state.clone(),we=this.tryParse(()=>super.parseMaybeAssign(c,g),fe),!we.error)return we.node;let{context:bt}=this.state,Jt=bt[bt.length-1];Jt!==I.j_oTag&&Jt!==I.j_expr||bt.pop()}if(!((_=we)!=null&&_.error||this.match(47)))return super.parseMaybeAssign(c,g);fe&&fe!==this.state||(fe=this.state.clone());let Rt=this.tryParse(bt=>{var Jt,Hr;at=this.tsParseTypeParameters(this.tsParseConstModifier);let pr=super.parseMaybeAssign(c,g);return(pr.type!=="ArrowFunctionExpression"||(Jt=pr.extra)!=null&&Jt.parenthesized)&&bt(),((Hr=at)==null?void 0:Hr.params.length)!==0&&this.resetStartLocationFromNode(pr,at),pr.typeParameters=at,pr},fe);if(!Rt.error&&!Rt.aborted)return at&&this.reportReservedArrowTypeParam(at),Rt.node;if(!we&&(rr(!this.hasPlugin("jsx")),Re=this.tryParse(()=>super.parseMaybeAssign(c,g),fe),!Re.error))return Re.node;if((O=we)!=null&&O.node)return this.state=we.failState,we.node;if(Rt.node)return this.state=Rt.failState,at&&this.reportReservedArrowTypeParam(at),Rt.node;if((q=Re)!=null&&q.node)return this.state=Re.failState,Re.node;throw((ee=we)==null?void 0:ee.error)||Rt.error||((le=Re)==null?void 0:le.error)}reportReservedArrowTypeParam(c){var g;c.params.length!==1||c.params[0].constraint||(g=c.extra)!=null&&g.trailingComma||!this.getPluginOption("typescript","disallowAmbiguousJSXLike")||this.raise(_t.ReservedArrowTypeParam,{at:c})}parseMaybeUnary(c,g){return!this.hasPlugin("jsx")&&this.match(47)?this.tsParseTypeAssertion():super.parseMaybeUnary(c,g)}parseArrow(c){if(this.match(14)){let g=this.tryParse(_=>{let O=this.tsParseTypeOrTypePredicateAnnotation(14);return!this.canInsertSemicolon()&&this.match(19)||_(),O});if(g.aborted)return;g.thrown||(g.error&&(this.state=g.failState),c.returnType=g.node)}return super.parseArrow(c)}parseAssignableListItemTypes(c,g){if(!(2&g))return c;this.eat(17)&&(c.optional=!0);let _=this.tsTryParseTypeAnnotation();return _&&(c.typeAnnotation=_),this.resetEndLocation(c),c}isAssignable(c,g){switch(c.type){case"TSTypeCastExpression":return this.isAssignable(c.expression,g);case"TSParameterProperty":return!0;default:return super.isAssignable(c,g)}}toAssignable(c,g=!1){switch(c.type){case"ParenthesizedExpression":this.toAssignableParenthesizedExpression(c,g);break;case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"TSTypeAssertion":g?this.expressionScope.recordArrowParameterBindingError(_t.UnexpectedTypeCastInParameter,{at:c}):this.raise(_t.UnexpectedTypeCastInParameter,{at:c}),this.toAssignable(c.expression,g);break;case"AssignmentExpression":g||c.left.type!=="TSTypeCastExpression"||(c.left=this.typeCastToParameter(c.left));default:super.toAssignable(c,g)}}toAssignableParenthesizedExpression(c,g){switch(c.expression.type){case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"TSTypeAssertion":case"ParenthesizedExpression":this.toAssignable(c.expression,g);break;default:super.toAssignable(c,g)}}checkToRestConversion(c,g){switch(c.type){case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSNonNullExpression":this.checkToRestConversion(c.expression,!1);break;default:super.checkToRestConversion(c,g)}}isValidLVal(c,g,_){return O={TSTypeCastExpression:!0,TSParameterProperty:"parameter",TSNonNullExpression:"expression",TSAsExpression:(_!==64||!g)&&["expression",!0],TSSatisfiesExpression:(_!==64||!g)&&["expression",!0],TSTypeAssertion:(_!==64||!g)&&["expression",!0]},q=c,Object.hasOwnProperty.call(O,q)&&O[q]||super.isValidLVal(c,g,_);var O,q}parseBindingAtom(){return this.state.type===78?this.parseIdentifier(!0):super.parseBindingAtom()}parseMaybeDecoratorArguments(c){if(this.match(47)||this.match(51)){let g=this.tsParseTypeArgumentsInExpression();if(this.match(10)){let _=super.parseMaybeDecoratorArguments(c);return _.typeParameters=g,_}this.unexpected(null,10)}return super.parseMaybeDecoratorArguments(c)}checkCommaAfterRest(c){return this.state.isAmbientContext&&this.match(12)&&this.lookaheadCharCode()===c?(this.next(),!1):super.checkCommaAfterRest(c)}isClassMethod(){return this.match(47)||super.isClassMethod()}isClassProperty(){return this.match(35)||this.match(14)||super.isClassProperty()}parseMaybeDefault(c,g){let _=super.parseMaybeDefault(c,g);return _.type==="AssignmentPattern"&&_.typeAnnotation&&_.right.start<_.typeAnnotation.start&&this.raise(_t.TypeAnnotationAfterAssign,{at:_.typeAnnotation}),_}getTokenFromCode(c){if(this.state.inType){if(c===62)return void this.finishOp(48,1);if(c===60)return void this.finishOp(47,1)}super.getTokenFromCode(c)}reScan_lt_gt(){let{type:c}=this.state;c===47?(this.state.pos-=1,this.readToken_lt()):c===48&&(this.state.pos-=1,this.readToken_gt())}reScan_lt(){let{type:c}=this.state;return c===51?(this.state.pos-=2,this.finishOp(47,1),47):c}toAssignableList(c,g,_){for(let O=0;O<c.length;O++){let q=c[O];(q==null?void 0:q.type)==="TSTypeCastExpression"&&(c[O]=this.typeCastToParameter(q))}super.toAssignableList(c,g,_)}typeCastToParameter(c){return c.expression.typeAnnotation=c.typeAnnotation,this.resetEndLocation(c.expression,c.typeAnnotation.loc.end),c.expression}shouldParseArrow(c){return this.match(14)?c.every(g=>this.isAssignable(g,!0)):super.shouldParseArrow(c)}shouldParseAsyncArrow(){return this.match(14)||super.shouldParseAsyncArrow()}canHaveLeadingDecorator(){return super.canHaveLeadingDecorator()||this.isAbstractClass()}jsxParseOpeningElementAfterName(c){if(this.match(47)||this.match(51)){let g=this.tsTryParseAndCatch(()=>this.tsParseTypeArgumentsInExpression());g&&(c.typeParameters=g)}return super.jsxParseOpeningElementAfterName(c)}getGetterSetterExpectedParamCount(c){let g=super.getGetterSetterExpectedParamCount(c),_=this.getObjectOrClassMethodParams(c)[0];return _&&this.isThisParam(_)?g+1:g}parseCatchClauseParam(){let c=super.parseCatchClauseParam(),g=this.tsTryParseTypeAnnotation();return g&&(c.typeAnnotation=g,this.resetEndLocation(c)),c}tsInAmbientContext(c){let g=this.state.isAmbientContext;this.state.isAmbientContext=!0;try{return c()}finally{this.state.isAmbientContext=g}}parseClass(c,g,_){let O=this.state.inAbstractClass;this.state.inAbstractClass=!!c.abstract;try{return super.parseClass(c,g,_)}finally{this.state.inAbstractClass=O}}tsParseAbstractDeclaration(c,g){if(this.match(80))return c.abstract=!0,this.maybeTakeDecorators(g,this.parseClass(c,!0,!1));if(this.isContextual(127)){if(!this.hasFollowingLineBreak())return c.abstract=!0,this.raise(_t.NonClassMethodPropertyHasAbstractModifer,{at:c}),this.tsParseInterfaceDeclaration(c)}else this.unexpected(null,80)}parseMethod(c,g,_,O,q,ee,le){let fe=super.parseMethod(c,g,_,O,q,ee,le);if(fe.abstract&&(this.hasPlugin("estree")?fe.value.body:fe.body)){let{key:we}=fe;this.raise(_t.AbstractMethodHasImplementation,{at:fe,methodName:we.type!=="Identifier"||fe.computed?`[${this.input.slice(we.start,we.end)}]`:we.name})}return fe}tsParseTypeParameterName(){return this.parseIdentifier().name}shouldParseAsAmbientContext(){return!!this.getPluginOption("typescript","dts")}parse(){return this.shouldParseAsAmbientContext()&&(this.state.isAmbientContext=!0),super.parse()}getExpression(){return this.shouldParseAsAmbientContext()&&(this.state.isAmbientContext=!0),super.getExpression()}parseExportSpecifier(c,g,_,O){return!g&&O?(this.parseTypeOnlyImportExportSpecifier(c,!1,_),this.finishNode(c,"ExportSpecifier")):(c.exportKind="value",super.parseExportSpecifier(c,g,_,O))}parseImportSpecifier(c,g,_,O,q){return!g&&O?(this.parseTypeOnlyImportExportSpecifier(c,!0,_),this.finishNode(c,"ImportSpecifier")):(c.importKind="value",super.parseImportSpecifier(c,g,_,O,_?4098:4096))}parseTypeOnlyImportExportSpecifier(c,g,_){let O=g?"imported":"local",q=g?"local":"exported",ee,le=c[O],fe=!1,we=!0,Re=le.loc.start;if(this.isContextual(93)){let at=this.parseIdentifier();if(this.isContextual(93)){let Rt=this.parseIdentifier();Q(this.state.type)?(fe=!0,le=at,ee=g?this.parseIdentifier():this.parseModuleExportName(),we=!1):(ee=Rt,we=!1)}else Q(this.state.type)?(we=!1,ee=g?this.parseIdentifier():this.parseModuleExportName()):(fe=!0,le=at)}else Q(this.state.type)&&(fe=!0,g?(le=this.parseIdentifier(!0),this.isContextual(93)||this.checkReservedWord(le.name,le.loc.start,!0,!0)):le=this.parseModuleExportName());fe&&_&&this.raise(g?_t.TypeModifierIsUsedInTypeImports:_t.TypeModifierIsUsedInTypeExports,{at:Re}),c[O]=le,c[q]=ee,c[g?"importKind":"exportKind"]=fe?"type":"value",we&&this.eatContextual(93)&&(c[q]=g?this.parseIdentifier():this.parseModuleExportName()),c[q]||(c[q]=ni(c[O])),g&&this.checkIdentifier(c[q],fe?4098:4096)}},v8intrinsic:te=>class extends te{parseV8Intrinsic(){if(this.match(54)){let c=this.state.startLoc,g=this.startNode();if(this.next(),V(this.state.type)){let _=this.parseIdentifierName(),O=this.createIdentifier(g,_);if(O.type="V8IntrinsicIdentifier",this.match(10))return O}this.unexpected(c)}}parseExprAtom(c){return this.parseV8Intrinsic()||super.parseExprAtom(c)}},placeholders:te=>class extends te{parsePlaceholder(c){if(this.match(142)){let g=this.startNode();return this.next(),this.assertNoSpace(),g.name=super.parseIdentifier(!0),this.assertNoSpace(),this.expect(142),this.finishPlaceholder(g,c)}}finishPlaceholder(c,g){let _=!(!c.expectedNode||c.type!=="Placeholder");return c.expectedNode=g,_?c:this.finishNode(c,"Placeholder")}getTokenFromCode(c){c===37&&this.input.charCodeAt(this.state.pos+1)===37?this.finishOp(142,2):super.getTokenFromCode(c)}parseExprAtom(c){return this.parsePlaceholder("Expression")||super.parseExprAtom(c)}parseIdentifier(c){return this.parsePlaceholder("Identifier")||super.parseIdentifier(c)}checkReservedWord(c,g,_,O){c!==void 0&&super.checkReservedWord(c,g,_,O)}parseBindingAtom(){return this.parsePlaceholder("Pattern")||super.parseBindingAtom()}isValidLVal(c,g,_){return c==="Placeholder"||super.isValidLVal(c,g,_)}toAssignable(c,g){c&&c.type==="Placeholder"&&c.expectedNode==="Expression"?c.expectedNode="Pattern":super.toAssignable(c,g)}chStartsBindingIdentifier(c,g){return super.chStartsBindingIdentifier(c,g)?!0:this.lookahead().type===142}verifyBreakContinue(c,g){c.label&&c.label.type==="Placeholder"||super.verifyBreakContinue(c,g)}parseExpressionStatement(c,g){var _;if(g.type!=="Placeholder"||(_=g.extra)!=null&&_.parenthesized)return super.parseExpressionStatement(c,g);if(this.match(14)){let O=c;return O.label=this.finishPlaceholder(g,"Identifier"),this.next(),O.body=super.parseStatementOrSloppyAnnexBFunctionDeclaration(),this.finishNode(O,"LabeledStatement")}return this.semicolon(),c.name=g.name,this.finishPlaceholder(c,"Statement")}parseBlock(c,g,_){return this.parsePlaceholder("BlockStatement")||super.parseBlock(c,g,_)}parseFunctionId(c){return this.parsePlaceholder("Identifier")||super.parseFunctionId(c)}parseClass(c,g,_){let O=g?"ClassDeclaration":"ClassExpression";this.next();let q=this.state.strict,ee=this.parsePlaceholder("Identifier");if(ee){if(!(this.match(81)||this.match(142)||this.match(5))){if(_||!g)return c.id=null,c.body=this.finishPlaceholder(ee,"ClassBody"),this.finishNode(c,O);throw this.raise(_c.ClassNameIsRequired,{at:this.state.startLoc})}c.id=ee}else this.parseClassId(c,g,_);return super.parseClassSuper(c),c.body=this.parsePlaceholder("ClassBody")||super.parseClassBody(!!c.superClass,q),this.finishNode(c,O)}parseExport(c,g){let _=this.parsePlaceholder("Identifier");if(!_)return super.parseExport(c,g);if(!this.isContextual(97)&&!this.match(12))return c.specifiers=[],c.source=null,c.declaration=this.finishPlaceholder(_,"Declaration"),this.finishNode(c,"ExportNamedDeclaration");this.expectPlugin("exportDefaultFrom");let O=this.startNode();return O.exported=_,c.specifiers=[this.finishNode(O,"ExportDefaultSpecifier")],super.parseExport(c,g)}isExportDefaultSpecifier(){if(this.match(65)){let c=this.nextTokenStart();if(this.isUnparsedContextual(c,"from")&&this.input.startsWith(Oe(142),this.nextTokenStartSince(c+4)))return!0}return super.isExportDefaultSpecifier()}maybeParseExportDefaultSpecifier(c,g){var _;return!((_=c.specifiers)==null||!_.length)||super.maybeParseExportDefaultSpecifier(c,g)}checkExport(c){let{specifiers:g}=c;g!=null&&g.length&&(c.specifiers=g.filter(_=>_.exported.type==="Placeholder")),super.checkExport(c),c.specifiers=g}parseImport(c){let g=this.parsePlaceholder("Identifier");if(!g)return super.parseImport(c);if(c.specifiers=[],!this.isContextual(97)&&!this.match(12))return c.source=this.finishPlaceholder(g,"StringLiteral"),this.semicolon(),this.finishNode(c,"ImportDeclaration");let _=this.startNodeAtNode(g);return _.local=g,c.specifiers.push(this.finishNode(_,"ImportDefaultSpecifier")),this.eat(12)&&(this.maybeParseStarImportSpecifier(c)||this.parseNamedImportSpecifiers(c)),this.expectContextual(97),c.source=this.parseImportSource(),this.semicolon(),this.finishNode(c,"ImportDeclaration")}parseImportSource(){return this.parsePlaceholder("StringLiteral")||super.parseImportSource()}assertNoSpace(){this.state.start>this.state.lastTokEndLoc.index&&this.raise(_c.UnexpectedSpace,{at:this.state.lastTokEndLoc})}}},Kf=Object.keys(Ta),$s={sourceType:"script",sourceFilename:void 0,startColumn:0,startLine:1,allowAwaitOutsideFunction:!1,allowReturnOutsideFunction:!1,allowNewTargetOutsideFunction:!1,allowImportExportEverywhere:!1,allowSuperOutsideMethod:!1,allowUndeclaredExports:!1,plugins:[],strictMode:null,ranges:!1,tokens:!1,createParenthesizedExpressions:!1,errorRecovery:!1,attachComment:!0,annexB:!0};class Cc extends ll{checkProto(c,g,_,O){if(c.type==="SpreadElement"||this.isObjectMethod(c)||c.computed||c.shorthand)return;let q=c.key;if((q.type==="Identifier"?q.name:q.value)==="__proto__"){if(g)return void this.raise(x.RecordNoProto,{at:q});_.used&&(O?O.doubleProtoLoc===null&&(O.doubleProtoLoc=q.loc.start):this.raise(x.DuplicateProto,{at:q})),_.used=!0}}shouldExitDescending(c,g){return c.type==="ArrowFunctionExpression"&&c.start===g}getExpression(){this.enterInitialScopes(),this.nextToken();let c=this.parseExpression();return this.match(137)||this.unexpected(),this.finalizeRemainingComments(),c.comments=this.state.comments,c.errors=this.state.errors,this.options.tokens&&(c.tokens=this.tokens),c}parseExpression(c,g){return c?this.disallowInAnd(()=>this.parseExpressionBase(g)):this.allowInAnd(()=>this.parseExpressionBase(g))}parseExpressionBase(c){let g=this.state.startLoc,_=this.parseMaybeAssign(c);if(this.match(12)){let O=this.startNodeAt(g);for(O.expressions=[_];this.eat(12);)O.expressions.push(this.parseMaybeAssign(c));return this.toReferencedList(O.expressions),this.finishNode(O,"SequenceExpression")}return _}parseMaybeAssignDisallowIn(c,g){return this.disallowInAnd(()=>this.parseMaybeAssign(c,g))}parseMaybeAssignAllowIn(c,g){return this.allowInAnd(()=>this.parseMaybeAssign(c,g))}setOptionalParametersError(c,g){var _;c.optionalParametersLoc=(_=g==null?void 0:g.loc)!=null?_:this.state.startLoc}parseMaybeAssign(c,g){let _=this.state.startLoc;if(this.isContextual(106)&&this.prodParam.hasYield){let fe=this.parseYield();return g&&(fe=g.call(this,fe,_)),fe}let O;c?O=!1:(c=new ms,O=!0);let{type:q}=this.state;(q===10||V(q))&&(this.state.potentialArrowAt=this.state.start);let ee=this.parseMaybeConditional(c);if(g&&(ee=g.call(this,ee,_)),(le=this.state.type)>=29&&le<=33){let fe=this.startNodeAt(_),we=this.state.value;if(fe.operator=we,this.match(29)){this.toAssignable(ee,!0),fe.left=ee;let Re=_.index;c.doubleProtoLoc!=null&&c.doubleProtoLoc.index>=Re&&(c.doubleProtoLoc=null),c.shorthandAssignLoc!=null&&c.shorthandAssignLoc.index>=Re&&(c.shorthandAssignLoc=null),c.privateKeyLoc!=null&&c.privateKeyLoc.index>=Re&&(this.checkDestructuringPrivate(c),c.privateKeyLoc=null)}else fe.left=ee;return this.next(),fe.right=this.parseMaybeAssign(),this.checkLVal(ee,{in:this.finishNode(fe,"AssignmentExpression")}),fe}var le;return O&&this.checkExpressionErrors(c,!0),ee}parseMaybeConditional(c){let g=this.state.startLoc,_=this.state.potentialArrowAt,O=this.parseExprOps(c);return this.shouldExitDescending(O,_)?O:this.parseConditional(O,g,c)}parseConditional(c,g,_){if(this.eat(17)){let O=this.startNodeAt(g);return O.test=c,O.consequent=this.parseMaybeAssignAllowIn(),this.expect(14),O.alternate=this.parseMaybeAssign(),this.finishNode(O,"ConditionalExpression")}return c}parseMaybeUnaryOrPrivate(c){return this.match(136)?this.parsePrivateName():this.parseMaybeUnary(c)}parseExprOps(c){let g=this.state.startLoc,_=this.state.potentialArrowAt,O=this.parseMaybeUnaryOrPrivate(c);return this.shouldExitDescending(O,_)?O:this.parseExprOp(O,g,-1)}parseExprOp(c,g,_){if(this.isPrivateName(c)){let ee=this.getPrivateNameSV(c);(_>=Me(58)||!this.prodParam.hasIn||!this.match(58))&&this.raise(x.PrivateInExpectedIn,{at:c,identifierName:ee}),this.classScope.usePrivateName(ee,c.loc.start)}let O=this.state.type;if((q=O)>=39&&q<=59&&(this.prodParam.hasIn||!this.match(58))){let ee=Me(O);if(ee>_){if(O===39){if(this.expectPlugin("pipelineOperator"),this.state.inFSharpPipelineDirectBody)return c;this.checkPipelineAtInfixOperator(c,g)}let le=this.startNodeAt(g);le.left=c,le.operator=this.state.value;let fe=O===41||O===42,we=O===40;if(we&&(ee=Me(42)),this.next(),O===39&&this.hasPlugin(["pipelineOperator",{proposal:"minimal"}])&&this.state.type===96&&this.prodParam.hasAwait)throw this.raise(x.UnexpectedAwaitAfterPipelineBody,{at:this.state.startLoc});le.right=this.parseExprOpRightExpr(O,ee);let Re=this.finishNode(le,fe||we?"LogicalExpression":"BinaryExpression"),at=this.state.type;if(we&&(at===41||at===42)||fe&&at===40)throw this.raise(x.MixingCoalesceWithLogical,{at:this.state.startLoc});return this.parseExprOp(Re,g,_)}}var q;return c}parseExprOpRightExpr(c,g){let _=this.state.startLoc;if(c===39)switch(this.getPluginOption("pipelineOperator","proposal")){case"hack":return this.withTopicBindingContext(()=>this.parseHackPipeBody());case"smart":return this.withTopicBindingContext(()=>{if(this.prodParam.hasYield&&this.isContextual(106))throw this.raise(x.PipeBodyIsTighter,{at:this.state.startLoc});return this.parseSmartPipelineBodyInStyle(this.parseExprOpBaseRightExpr(c,g),_)});case"fsharp":return this.withSoloAwaitPermittingContext(()=>this.parseFSharpPipelineBody(g))}return this.parseExprOpBaseRightExpr(c,g)}parseExprOpBaseRightExpr(c,g){let _=this.state.startLoc;return this.parseExprOp(this.parseMaybeUnaryOrPrivate(),_,c===57?g-1:g)}parseHackPipeBody(){var c;let{startLoc:g}=this.state,_=this.parseMaybeAssign();return!y.has(_.type)||(c=_.extra)!=null&&c.parenthesized||this.raise(x.PipeUnparenthesizedBody,{at:g,type:_.type}),this.topicReferenceWasUsedInCurrentContext()||this.raise(x.PipeTopicUnused,{at:g}),_}checkExponentialAfterUnary(c){this.match(57)&&this.raise(x.UnexpectedTokenUnaryExponentiation,{at:c.argument})}parseMaybeUnary(c,g){let _=this.state.startLoc,O=this.isContextual(96);if(O&&this.isAwaitAllowed()){this.next();let we=this.parseAwait(_);return g||this.checkExponentialAfterUnary(we),we}let q=this.match(34),ee=this.startNode();if(le=this.state.type,X[le]){ee.operator=this.state.value,ee.prefix=!0,this.match(72)&&this.expectPlugin("throwExpressions");let we=this.match(89);if(this.next(),ee.argument=this.parseMaybeUnary(null,!0),this.checkExpressionErrors(c,!0),this.state.strict&&we){let Re=ee.argument;Re.type==="Identifier"?this.raise(x.StrictDelete,{at:ee}):this.hasPropertyAsPrivateName(Re)&&this.raise(x.DeletePrivateField,{at:ee})}if(!q)return g||this.checkExponentialAfterUnary(ee),this.finishNode(ee,"UnaryExpression")}var le;let fe=this.parseUpdate(ee,q,c);if(O){let{type:we}=this.state;if((this.hasPlugin("v8intrinsic")?ue(we):ue(we)&&!this.match(54))&&!this.isAmbiguousAwait())return this.raiseOverwrite(x.AwaitNotInAsyncContext,{at:_}),this.parseAwait(_)}return fe}parseUpdate(c,g,_){if(g){let ee=c;return this.checkLVal(ee.argument,{in:this.finishNode(ee,"UpdateExpression")}),c}let O=this.state.startLoc,q=this.parseExprSubscripts(_);if(this.checkExpressionErrors(_,!1))return q;for(;this.state.type===34&&!this.canInsertSemicolon();){let ee=this.startNodeAt(O);ee.operator=this.state.value,ee.prefix=!1,ee.argument=q,this.next(),this.checkLVal(q,{in:q=this.finishNode(ee,"UpdateExpression")})}return q}parseExprSubscripts(c){let g=this.state.startLoc,_=this.state.potentialArrowAt,O=this.parseExprAtom(c);return this.shouldExitDescending(O,_)?O:this.parseSubscripts(O,g)}parseSubscripts(c,g,_){let O={optionalChainMember:!1,maybeAsyncArrow:this.atPossibleAsyncArrow(c),stop:!1};do c=this.parseSubscript(c,g,_,O),O.maybeAsyncArrow=!1;while(!O.stop);return c}parseSubscript(c,g,_,O){let{type:q}=this.state;if(!_&&q===15)return this.parseBind(c,g,_,O);if(ae(q))return this.parseTaggedTemplateExpression(c,g,O);let ee=!1;if(q===18){if(_&&(this.raise(x.OptionalChainingNoNew,{at:this.state.startLoc}),this.lookaheadCharCode()===40))return O.stop=!0,c;O.optionalChainMember=ee=!0,this.next()}if(!_&&this.match(10))return this.parseCoverCallAndAsyncArrowHead(c,g,O,ee);{let le=this.eat(0);return le||ee||this.eat(16)?this.parseMember(c,g,O,le,ee):(O.stop=!0,c)}}parseMember(c,g,_,O,q){let ee=this.startNodeAt(g);return ee.object=c,ee.computed=O,O?(ee.property=this.parseExpression(),this.expect(3)):this.match(136)?(c.type==="Super"&&this.raise(x.SuperPrivateField,{at:g}),this.classScope.usePrivateName(this.state.value,this.state.startLoc),ee.property=this.parsePrivateName()):ee.property=this.parseIdentifier(!0),_.optionalChainMember?(ee.optional=q,this.finishNode(ee,"OptionalMemberExpression")):this.finishNode(ee,"MemberExpression")}parseBind(c,g,_,O){let q=this.startNodeAt(g);return q.object=c,this.next(),q.callee=this.parseNoCallExpr(),O.stop=!0,this.parseSubscripts(this.finishNode(q,"BindExpression"),g,_)}parseCoverCallAndAsyncArrowHead(c,g,_,O){let q=this.state.maybeInArrowParameters,ee=null;this.state.maybeInArrowParameters=!0,this.next();let le=this.startNodeAt(g);le.callee=c;let{maybeAsyncArrow:fe,optionalChainMember:we}=_;fe&&(this.expressionScope.enter(new Rs(2)),ee=new ms),we&&(le.optional=O),le.arguments=O?this.parseCallExpressionArguments(11):this.parseCallExpressionArguments(11,c.type==="Import",c.type!=="Super",le,ee);let Re=this.finishCallExpression(le,we);return fe&&this.shouldParseAsyncArrow()&&!O?(_.stop=!0,this.checkDestructuringPrivate(ee),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),Re=this.parseAsyncArrowFromCallExpression(this.startNodeAt(g),Re)):(fe&&(this.checkExpressionErrors(ee,!0),this.expressionScope.exit()),this.toReferencedArguments(Re)),this.state.maybeInArrowParameters=q,Re}toReferencedArguments(c,g){this.toReferencedListDeep(c.arguments,g)}parseTaggedTemplateExpression(c,g,_){let O=this.startNodeAt(g);return O.tag=c,O.quasi=this.parseTemplate(!0),_.optionalChainMember&&this.raise(x.OptionalChainingNoTemplate,{at:g}),this.finishNode(O,"TaggedTemplateExpression")}atPossibleAsyncArrow(c){return c.type==="Identifier"&&c.name==="async"&&this.state.lastTokEndLoc.index===c.end&&!this.canInsertSemicolon()&&c.end-c.start==5&&c.start===this.state.potentialArrowAt}expectImportAttributesPlugin(){this.hasPlugin("importAssertions")||this.expectPlugin("importAttributes")}finishCallExpression(c,g){if(c.callee.type==="Import")if(c.arguments.length===2&&(this.hasPlugin("moduleAttributes")||this.expectImportAttributesPlugin()),c.arguments.length===0||c.arguments.length>2)this.raise(x.ImportCallArity,{at:c,maxArgumentCount:this.hasPlugin("importAttributes")||this.hasPlugin("importAssertions")||this.hasPlugin("moduleAttributes")?2:1});else for(let _ of c.arguments)_.type==="SpreadElement"&&this.raise(x.ImportCallSpreadArgument,{at:_});return this.finishNode(c,g?"OptionalCallExpression":"CallExpression")}parseCallExpressionArguments(c,g,_,O,q){let ee=[],le=!0,fe=this.state.inFSharpPipelineDirectBody;for(this.state.inFSharpPipelineDirectBody=!1;!this.eat(c);){if(le)le=!1;else if(this.expect(12),this.match(c)){!g||this.hasPlugin("importAttributes")||this.hasPlugin("importAssertions")||this.hasPlugin("moduleAttributes")||this.raise(x.ImportCallArgumentTrailingComma,{at:this.state.lastTokStartLoc}),O&&this.addTrailingCommaExtraToNode(O),this.next();break}ee.push(this.parseExprListItem(!1,q,_))}return this.state.inFSharpPipelineDirectBody=fe,ee}shouldParseAsyncArrow(){return this.match(19)&&!this.canInsertSemicolon()}parseAsyncArrowFromCallExpression(c,g){var _;return this.resetPreviousNodeTrailingComments(g),this.expect(19),this.parseArrowExpression(c,g.arguments,!0,(_=g.extra)==null?void 0:_.trailingCommaLoc),g.innerComments&&re(c,g.innerComments),g.callee.trailingComments&&re(c,g.callee.trailingComments),c}parseNoCallExpr(){let c=this.state.startLoc;return this.parseSubscripts(this.parseExprAtom(),c,!0)}parseExprAtom(c){let g,_=null,{type:O}=this.state;switch(O){case 79:return this.parseSuper();case 83:return g=this.startNode(),this.next(),this.match(16)?this.parseImportMetaProperty(g):(this.match(10)||this.raise(x.UnsupportedImport,{at:this.state.lastTokStartLoc}),this.finishNode(g,"Import"));case 78:return g=this.startNode(),this.next(),this.finishNode(g,"ThisExpression");case 90:return this.parseDo(this.startNode(),!1);case 56:case 31:return this.readRegexp(),this.parseRegExpLiteral(this.state.value);case 132:return this.parseNumericLiteral(this.state.value);case 133:return this.parseBigIntLiteral(this.state.value);case 134:return this.parseDecimalLiteral(this.state.value);case 131:return this.parseStringLiteral(this.state.value);case 84:return this.parseNullLiteral();case 85:return this.parseBooleanLiteral(!0);case 86:return this.parseBooleanLiteral(!1);case 10:{let q=this.state.potentialArrowAt===this.state.start;return this.parseParenAndDistinguishExpression(q)}case 2:case 1:return this.parseArrayLike(this.state.type===2?4:3,!1,!0);case 0:return this.parseArrayLike(3,!0,!1,c);case 6:case 7:return this.parseObjectLike(this.state.type===6?9:8,!1,!0);case 5:return this.parseObjectLike(8,!1,!1,c);case 68:return this.parseFunctionOrFunctionSent();case 26:_=this.parseDecorators();case 80:return this.parseClass(this.maybeTakeDecorators(_,this.startNode()),!1);case 77:return this.parseNewOrNewTarget();case 25:case 24:return this.parseTemplate(!1);case 15:{g=this.startNode(),this.next(),g.object=null;let q=g.callee=this.parseNoCallExpr();if(q.type==="MemberExpression")return this.finishNode(g,"BindExpression");throw this.raise(x.UnsupportedBind,{at:q})}case 136:return this.raise(x.PrivateInExpectedIn,{at:this.state.startLoc,identifierName:this.state.value}),this.parsePrivateName();case 33:return this.parseTopicReferenceThenEqualsSign(54,"%");case 32:return this.parseTopicReferenceThenEqualsSign(44,"^");case 37:case 38:return this.parseTopicReference("hack");case 44:case 54:case 27:{let q=this.getPluginOption("pipelineOperator","proposal");if(q)return this.parseTopicReference(q);this.unexpected();break}case 47:{let q=this.input.codePointAt(this.nextTokenStart());ke(q)||q===62?this.expectOnePlugin(["jsx","flow","typescript"]):this.unexpected();break}default:if(V(O)){if(this.isContextual(125)&&this.lookaheadInLineCharCode()===123)return this.parseModuleExpression();let q=this.state.potentialArrowAt===this.state.start,ee=this.state.containsEsc,le=this.parseIdentifier();if(!ee&&le.name==="async"&&!this.canInsertSemicolon()){let{type:fe}=this.state;if(fe===68)return this.resetPreviousNodeTrailingComments(le),this.next(),this.parseAsyncFunctionExpression(this.startNodeAtNode(le));if(V(fe))return this.lookaheadCharCode()===61?this.parseAsyncArrowUnaryFunction(this.startNodeAtNode(le)):le;if(fe===90)return this.resetPreviousNodeTrailingComments(le),this.parseDo(this.startNodeAtNode(le),!0)}return q&&this.match(19)&&!this.canInsertSemicolon()?(this.next(),this.parseArrowExpression(this.startNodeAtNode(le),[le],!1)):le}this.unexpected()}}parseTopicReferenceThenEqualsSign(c,g){let _=this.getPluginOption("pipelineOperator","proposal");if(_)return this.state.type=c,this.state.value=g,this.state.pos--,this.state.end--,this.state.endLoc=d(this.state.endLoc,-1),this.parseTopicReference(_);this.unexpected()}parseTopicReference(c){let g=this.startNode(),_=this.state.startLoc,O=this.state.type;return this.next(),this.finishTopicReference(g,_,c,O)}finishTopicReference(c,g,_,O){if(this.testTopicReferenceConfiguration(_,g,O)){let q=_==="smart"?"PipelinePrimaryTopicReference":"TopicReference";return this.topicReferenceIsAllowedInCurrentContext()||this.raise(_==="smart"?x.PrimaryTopicNotAllowed:x.PipeTopicUnbound,{at:g}),this.registerTopicReference(),this.finishNode(c,q)}throw this.raise(x.PipeTopicUnconfiguredToken,{at:g,token:Oe(O)})}testTopicReferenceConfiguration(c,g,_){switch(c){case"hack":return this.hasPlugin(["pipelineOperator",{topicToken:Oe(_)}]);case"smart":return _===27;default:throw this.raise(x.PipeTopicRequiresHackPipes,{at:g})}}parseAsyncArrowUnaryFunction(c){this.prodParam.enter(hs(!0,this.prodParam.hasYield));let g=[this.parseIdentifier()];return this.prodParam.exit(),this.hasPrecedingLineBreak()&&this.raise(x.LineTerminatorBeforeArrow,{at:this.state.curPosition()}),this.expect(19),this.parseArrowExpression(c,g,!0)}parseDo(c,g){this.expectPlugin("doExpressions"),g&&this.expectPlugin("asyncDoExpressions"),c.async=g,this.next();let _=this.state.labels;return this.state.labels=[],g?(this.prodParam.enter(2),c.body=this.parseBlock(),this.prodParam.exit()):c.body=this.parseBlock(),this.state.labels=_,this.finishNode(c,"DoExpression")}parseSuper(){let c=this.startNode();return this.next(),!this.match(10)||this.scope.allowDirectSuper||this.options.allowSuperOutsideMethod?this.scope.allowSuper||this.options.allowSuperOutsideMethod||this.raise(x.UnexpectedSuper,{at:c}):this.raise(x.SuperNotAllowed,{at:c}),this.match(10)||this.match(0)||this.match(16)||this.raise(x.UnsupportedSuper,{at:c}),this.finishNode(c,"Super")}parsePrivateName(){let c=this.startNode(),g=this.startNodeAt(d(this.state.startLoc,1)),_=this.state.value;return this.next(),c.id=this.createIdentifier(g,_),this.finishNode(c,"PrivateName")}parseFunctionOrFunctionSent(){let c=this.startNode();if(this.next(),this.prodParam.hasYield&&this.match(16)){let g=this.createIdentifier(this.startNodeAtNode(c),"function");return this.next(),this.match(102)?this.expectPlugin("functionSent"):this.hasPlugin("functionSent")||this.unexpected(),this.parseMetaProperty(c,g,"sent")}return this.parseFunction(c)}parseMetaProperty(c,g,_){c.meta=g;let O=this.state.containsEsc;return c.property=this.parseIdentifier(!0),(c.property.name!==_||O)&&this.raise(x.UnsupportedMetaProperty,{at:c.property,target:g.name,onlyValidPropertyName:_}),this.finishNode(c,"MetaProperty")}parseImportMetaProperty(c){let g=this.createIdentifier(this.startNodeAtNode(c),"import");return this.next(),this.isContextual(100)&&(this.inModule||this.raise(x.ImportMetaOutsideModule,{at:g}),this.sawUnambiguousESM=!0),this.parseMetaProperty(c,g,"meta")}parseLiteralAtNode(c,g,_){return this.addExtra(_,"rawValue",c),this.addExtra(_,"raw",this.input.slice(_.start,this.state.end)),_.value=c,this.next(),this.finishNode(_,g)}parseLiteral(c,g){let _=this.startNode();return this.parseLiteralAtNode(c,g,_)}parseStringLiteral(c){return this.parseLiteral(c,"StringLiteral")}parseNumericLiteral(c){return this.parseLiteral(c,"NumericLiteral")}parseBigIntLiteral(c){return this.parseLiteral(c,"BigIntLiteral")}parseDecimalLiteral(c){return this.parseLiteral(c,"DecimalLiteral")}parseRegExpLiteral(c){let g=this.parseLiteral(c.value,"RegExpLiteral");return g.pattern=c.pattern,g.flags=c.flags,g}parseBooleanLiteral(c){let g=this.startNode();return g.value=c,this.next(),this.finishNode(g,"BooleanLiteral")}parseNullLiteral(){let c=this.startNode();return this.next(),this.finishNode(c,"NullLiteral")}parseParenAndDistinguishExpression(c){let g=this.state.startLoc,_;this.next(),this.expressionScope.enter(new Rs(1));let O=this.state.maybeInArrowParameters,q=this.state.inFSharpPipelineDirectBody;this.state.maybeInArrowParameters=!0,this.state.inFSharpPipelineDirectBody=!1;let ee=this.state.startLoc,le=[],fe=new ms,we,Re,at=!0;for(;!this.match(11);){if(at)at=!1;else if(this.expect(12,fe.optionalParametersLoc===null?null:fe.optionalParametersLoc),this.match(11)){Re=this.state.startLoc;break}if(this.match(21)){let Jt=this.state.startLoc;if(we=this.state.startLoc,le.push(this.parseParenItem(this.parseRestBinding(),Jt)),!this.checkCommaAfterRest(41))break}else le.push(this.parseMaybeAssignAllowIn(fe,this.parseParenItem))}let Rt=this.state.lastTokEndLoc;this.expect(11),this.state.maybeInArrowParameters=O,this.state.inFSharpPipelineDirectBody=q;let bt=this.startNodeAt(g);return c&&this.shouldParseArrow(le)&&(bt=this.parseArrow(bt))?(this.checkDestructuringPrivate(fe),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),this.parseArrowExpression(bt,le,!1),bt):(this.expressionScope.exit(),le.length||this.unexpected(this.state.lastTokStartLoc),Re&&this.unexpected(Re),we&&this.unexpected(we),this.checkExpressionErrors(fe,!0),this.toReferencedListDeep(le,!0),le.length>1?(_=this.startNodeAt(ee),_.expressions=le,this.finishNode(_,"SequenceExpression"),this.resetEndLocation(_,Rt)):_=le[0],this.wrapParenthesis(g,_))}wrapParenthesis(c,g){if(!this.options.createParenthesizedExpressions)return this.addExtra(g,"parenthesized",!0),this.addExtra(g,"parenStart",c.index),this.takeSurroundingComments(g,c.index,this.state.lastTokEndLoc.index),g;let _=this.startNodeAt(c);return _.expression=g,this.finishNode(_,"ParenthesizedExpression")}shouldParseArrow(c){return!this.canInsertSemicolon()}parseArrow(c){if(this.eat(19))return c}parseParenItem(c,g){return c}parseNewOrNewTarget(){let c=this.startNode();if(this.next(),this.match(16)){let g=this.createIdentifier(this.startNodeAtNode(c),"new");this.next();let _=this.parseMetaProperty(c,g,"target");return this.scope.inNonArrowFunction||this.scope.inClass||this.options.allowNewTargetOutsideFunction||this.raise(x.UnexpectedNewTarget,{at:_}),_}return this.parseNew(c)}parseNew(c){if(this.parseNewCallee(c),this.eat(10)){let g=this.parseExprList(11);this.toReferencedList(g),c.arguments=g}else c.arguments=[];return this.finishNode(c,"NewExpression")}parseNewCallee(c){c.callee=this.parseNoCallExpr(),c.callee.type==="Import"&&this.raise(x.ImportCallNotNewExpression,{at:c.callee})}parseTemplateElement(c){let{start:g,startLoc:_,end:O,value:q}=this.state,ee=g+1,le=this.startNodeAt(d(_,1));q===null&&(c||this.raise(x.InvalidEscapeSequenceTemplate,{at:d(this.state.firstInvalidTemplateEscapePos,1)}));let fe=this.match(24),we=fe?-1:-2,Re=O+we;le.value={raw:this.input.slice(ee,Re).replace(/\r\n?/g,`
|
|
`),cooked:q===null?null:q.slice(1,we)},le.tail=fe,this.next();let at=this.finishNode(le,"TemplateElement");return this.resetEndLocation(at,d(this.state.lastTokEndLoc,we)),at}parseTemplate(c){let g=this.startNode();g.expressions=[];let _=this.parseTemplateElement(c);for(g.quasis=[_];!_.tail;)g.expressions.push(this.parseTemplateSubstitution()),this.readTemplateContinuation(),g.quasis.push(_=this.parseTemplateElement(c));return this.finishNode(g,"TemplateLiteral")}parseTemplateSubstitution(){return this.parseExpression()}parseObjectLike(c,g,_,O){_&&this.expectPlugin("recordAndTuple");let q=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;let ee=Object.create(null),le=!0,fe=this.startNode();for(fe.properties=[],this.next();!this.match(c);){if(le)le=!1;else if(this.expect(12),this.match(c)){this.addTrailingCommaExtraToNode(fe);break}let Re;g?Re=this.parseBindingProperty():(Re=this.parsePropertyDefinition(O),this.checkProto(Re,_,ee,O)),_&&!this.isObjectProperty(Re)&&Re.type!=="SpreadElement"&&this.raise(x.InvalidRecordProperty,{at:Re}),Re.shorthand&&this.addExtra(Re,"shorthand",!0),fe.properties.push(Re)}this.next(),this.state.inFSharpPipelineDirectBody=q;let we="ObjectExpression";return g?we="ObjectPattern":_&&(we="RecordExpression"),this.finishNode(fe,we)}addTrailingCommaExtraToNode(c){this.addExtra(c,"trailingComma",this.state.lastTokStart),this.addExtra(c,"trailingCommaLoc",this.state.lastTokStartLoc,!1)}maybeAsyncOrAccessorProp(c){return!c.computed&&c.key.type==="Identifier"&&(this.isLiteralPropertyName()||this.match(0)||this.match(55))}parsePropertyDefinition(c){let g=[];if(this.match(26))for(this.hasPlugin("decorators")&&this.raise(x.UnsupportedPropertyDecorator,{at:this.state.startLoc});this.match(26);)g.push(this.parseDecorator());let _=this.startNode(),O,q=!1,ee=!1;if(this.match(21))return g.length&&this.unexpected(),this.parseSpread();g.length&&(_.decorators=g,g=[]),_.method=!1,c&&(O=this.state.startLoc);let le=this.eat(55);this.parsePropertyNamePrefixOperator(_);let fe=this.state.containsEsc,we=this.parsePropertyName(_,c);if(!le&&!fe&&this.maybeAsyncOrAccessorProp(_)){let Re=we.name;Re!=="async"||this.hasPrecedingLineBreak()||(q=!0,this.resetPreviousNodeTrailingComments(we),le=this.eat(55),this.parsePropertyName(_)),Re!=="get"&&Re!=="set"||(ee=!0,this.resetPreviousNodeTrailingComments(we),_.kind=Re,this.match(55)&&(le=!0,this.raise(x.AccessorIsGenerator,{at:this.state.curPosition(),kind:Re}),this.next()),this.parsePropertyName(_))}return this.parseObjPropValue(_,O,le,q,!1,ee,c)}getGetterSetterExpectedParamCount(c){return c.kind==="get"?0:1}getObjectOrClassMethodParams(c){return c.params}checkGetterSetterParams(c){var g;let _=this.getGetterSetterExpectedParamCount(c),O=this.getObjectOrClassMethodParams(c);O.length!==_&&this.raise(c.kind==="get"?x.BadGetterArity:x.BadSetterArity,{at:c}),c.kind==="set"&&((g=O[O.length-1])==null?void 0:g.type)==="RestElement"&&this.raise(x.BadSetterRestParameter,{at:c})}parseObjectMethod(c,g,_,O,q){if(q){let ee=this.parseMethod(c,g,!1,!1,!1,"ObjectMethod");return this.checkGetterSetterParams(ee),ee}if(_||g||this.match(10))return O&&this.unexpected(),c.kind="method",c.method=!0,this.parseMethod(c,g,_,!1,!1,"ObjectMethod")}parseObjectProperty(c,g,_,O){if(c.shorthand=!1,this.eat(14))return c.value=_?this.parseMaybeDefault(this.state.startLoc):this.parseMaybeAssignAllowIn(O),this.finishNode(c,"ObjectProperty");if(!c.computed&&c.key.type==="Identifier"){if(this.checkReservedWord(c.key.name,c.key.loc.start,!0,!1),_)c.value=this.parseMaybeDefault(g,ni(c.key));else if(this.match(29)){let q=this.state.startLoc;O!=null?O.shorthandAssignLoc===null&&(O.shorthandAssignLoc=q):this.raise(x.InvalidCoverInitializedName,{at:q}),c.value=this.parseMaybeDefault(g,ni(c.key))}else c.value=ni(c.key);return c.shorthand=!0,this.finishNode(c,"ObjectProperty")}}parseObjPropValue(c,g,_,O,q,ee,le){let fe=this.parseObjectMethod(c,_,O,q,ee)||this.parseObjectProperty(c,g,q,le);return fe||this.unexpected(),fe}parsePropertyName(c,g){if(this.eat(0))c.computed=!0,c.key=this.parseMaybeAssignAllowIn(),this.expect(3);else{let{type:_,value:O}=this.state,q;if(Q(_))q=this.parseIdentifier(!0);else switch(_){case 132:q=this.parseNumericLiteral(O);break;case 131:q=this.parseStringLiteral(O);break;case 133:q=this.parseBigIntLiteral(O);break;case 134:q=this.parseDecimalLiteral(O);break;case 136:{let ee=this.state.startLoc;g!=null?g.privateKeyLoc===null&&(g.privateKeyLoc=ee):this.raise(x.UnexpectedPrivateField,{at:ee}),q=this.parsePrivateName();break}default:this.unexpected()}c.key=q,_!==136&&(c.computed=!1)}return c.key}initFunction(c,g){c.id=null,c.generator=!1,c.async=g}parseMethod(c,g,_,O,q,ee,le=!1){this.initFunction(c,_),c.generator=g,this.scope.enter(18|(le?64:0)|(q?32:0)),this.prodParam.enter(hs(_,c.generator)),this.parseFunctionParams(c,O);let fe=this.parseFunctionBodyAndFinish(c,ee,!0);return this.prodParam.exit(),this.scope.exit(),fe}parseArrayLike(c,g,_,O){_&&this.expectPlugin("recordAndTuple");let q=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;let ee=this.startNode();return this.next(),ee.elements=this.parseExprList(c,!_,O,ee),this.state.inFSharpPipelineDirectBody=q,this.finishNode(ee,_?"TupleExpression":"ArrayExpression")}parseArrowExpression(c,g,_,O){this.scope.enter(6);let q=hs(_,!1);!this.match(5)&&this.prodParam.hasIn&&(q|=8),this.prodParam.enter(q),this.initFunction(c,_);let ee=this.state.maybeInArrowParameters;return g&&(this.state.maybeInArrowParameters=!0,this.setArrowFunctionParameters(c,g,O)),this.state.maybeInArrowParameters=!1,this.parseFunctionBody(c,!0),this.prodParam.exit(),this.scope.exit(),this.state.maybeInArrowParameters=ee,this.finishNode(c,"ArrowFunctionExpression")}setArrowFunctionParameters(c,g,_){this.toAssignableList(g,_,!1),c.params=g}parseFunctionBodyAndFinish(c,g,_=!1){return this.parseFunctionBody(c,!1,_),this.finishNode(c,g)}parseFunctionBody(c,g,_=!1){let O=g&&!this.match(5);if(this.expressionScope.enter(Ga()),O)c.body=this.parseMaybeAssign(),this.checkParams(c,!1,g,!1);else{let q=this.state.strict,ee=this.state.labels;this.state.labels=[],this.prodParam.enter(4|this.prodParam.currentFlags()),c.body=this.parseBlock(!0,!1,le=>{let fe=!this.isSimpleParamList(c.params);le&&fe&&this.raise(x.IllegalLanguageModeDirective,{at:c.kind!=="method"&&c.kind!=="constructor"||!c.key?c:c.key.loc.end});let we=!q&&this.state.strict;this.checkParams(c,!(this.state.strict||g||_||fe),g,we),this.state.strict&&c.id&&this.checkIdentifier(c.id,65,we)}),this.prodParam.exit(),this.state.labels=ee}this.expressionScope.exit()}isSimpleParameter(c){return c.type==="Identifier"}isSimpleParamList(c){for(let g=0,_=c.length;g<_;g++)if(!this.isSimpleParameter(c[g]))return!1;return!0}checkParams(c,g,_,O=!0){let q=!g&&new Set,ee={type:"FormalParameters"};for(let le of c.params)this.checkLVal(le,{in:ee,binding:5,checkClashes:q,strictModeChanged:O})}parseExprList(c,g,_,O){let q=[],ee=!0;for(;!this.eat(c);){if(ee)ee=!1;else if(this.expect(12),this.match(c)){O&&this.addTrailingCommaExtraToNode(O),this.next();break}q.push(this.parseExprListItem(g,_))}return q}parseExprListItem(c,g,_){let O;if(this.match(12))c||this.raise(x.UnexpectedToken,{at:this.state.curPosition(),unexpected:","}),O=null;else if(this.match(21)){let q=this.state.startLoc;O=this.parseParenItem(this.parseSpread(g),q)}else if(this.match(17)){this.expectPlugin("partialApplication"),_||this.raise(x.UnexpectedArgumentPlaceholder,{at:this.state.startLoc});let q=this.startNode();this.next(),O=this.finishNode(q,"ArgumentPlaceholder")}else O=this.parseMaybeAssignAllowIn(g,this.parseParenItem);return O}parseIdentifier(c){let g=this.startNode(),_=this.parseIdentifierName(c);return this.createIdentifier(g,_)}createIdentifier(c,g){return c.name=g,c.loc.identifierName=g,this.finishNode(c,"Identifier")}parseIdentifierName(c){let g,{startLoc:_,type:O}=this.state;Q(O)?g=this.state.value:this.unexpected();let q=O<=92;return c?q&&this.replaceToken(130):this.checkReservedWord(g,_,q,!1),this.next(),g}checkReservedWord(c,g,_,O){if(!(c.length>10)&&function(q){return Kt.has(q)}(c)){if(_&&function(q){return Ue.has(q)}(c))return void this.raise(x.UnexpectedKeyword,{at:g,keyword:c});if((this.state.strict?O?ut:ve:he)(c,this.inModule))this.raise(x.UnexpectedReservedWord,{at:g,reservedWord:c});else if(c==="yield"){if(this.prodParam.hasYield)return void this.raise(x.YieldBindingIdentifier,{at:g})}else if(c==="await"){if(this.prodParam.hasAwait)return void this.raise(x.AwaitBindingIdentifier,{at:g});if(this.scope.inStaticBlock)return void this.raise(x.AwaitBindingIdentifierInStaticBlock,{at:g});this.expressionScope.recordAsyncArrowParametersError({at:g})}else if(c==="arguments"&&this.scope.inClassAndNotInNonArrowFunction)return void this.raise(x.ArgumentsInClass,{at:g})}}isAwaitAllowed(){return!!this.prodParam.hasAwait||!(!this.options.allowAwaitOutsideFunction||this.scope.inFunction)}parseAwait(c){let g=this.startNodeAt(c);return this.expressionScope.recordParameterInitializerError(x.AwaitExpressionFormalParameter,{at:g}),this.eat(55)&&this.raise(x.ObsoleteAwaitStar,{at:g}),this.scope.inFunction||this.options.allowAwaitOutsideFunction||(this.isAmbiguousAwait()?this.ambiguousScriptDifferentAst=!0:this.sawUnambiguousESM=!0),this.state.soloAwait||(g.argument=this.parseMaybeUnary(null,!0)),this.finishNode(g,"AwaitExpression")}isAmbiguousAwait(){if(this.hasPrecedingLineBreak())return!0;let{type:c}=this.state;return c===53||c===10||c===0||ae(c)||c===101&&!this.state.containsEsc||c===135||c===56||this.hasPlugin("v8intrinsic")&&c===54}parseYield(){let c=this.startNode();this.expressionScope.recordParameterInitializerError(x.YieldInParameter,{at:c}),this.next();let g=!1,_=null;if(!this.hasPrecedingLineBreak())switch(g=this.eat(55),this.state.type){case 13:case 137:case 8:case 11:case 3:case 9:case 14:case 12:if(!g)break;default:_=this.parseMaybeAssign()}return c.delegate=g,c.argument=_,this.finishNode(c,"YieldExpression")}checkPipelineAtInfixOperator(c,g){this.hasPlugin(["pipelineOperator",{proposal:"smart"}])&&c.type==="SequenceExpression"&&this.raise(x.PipelineHeadSequenceExpression,{at:g})}parseSmartPipelineBodyInStyle(c,g){if(this.isSimpleReference(c)){let _=this.startNodeAt(g);return _.callee=c,this.finishNode(_,"PipelineBareFunction")}{let _=this.startNodeAt(g);return this.checkSmartPipeTopicBodyEarlyErrors(g),_.expression=c,this.finishNode(_,"PipelineTopicExpression")}}isSimpleReference(c){switch(c.type){case"MemberExpression":return!c.computed&&this.isSimpleReference(c.object);case"Identifier":return!0;default:return!1}}checkSmartPipeTopicBodyEarlyErrors(c){if(this.match(19))throw this.raise(x.PipelineBodyNoArrow,{at:this.state.startLoc});this.topicReferenceWasUsedInCurrentContext()||this.raise(x.PipelineTopicUnused,{at:c})}withTopicBindingContext(c){let g=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:1,maxTopicIndex:null};try{return c()}finally{this.state.topicContext=g}}withSmartMixTopicForbiddingContext(c){if(!this.hasPlugin(["pipelineOperator",{proposal:"smart"}]))return c();{let g=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null};try{return c()}finally{this.state.topicContext=g}}}withSoloAwaitPermittingContext(c){let g=this.state.soloAwait;this.state.soloAwait=!0;try{return c()}finally{this.state.soloAwait=g}}allowInAnd(c){let g=this.prodParam.currentFlags();if(8&~g){this.prodParam.enter(8|g);try{return c()}finally{this.prodParam.exit()}}return c()}disallowInAnd(c){let g=this.prodParam.currentFlags();if(8&g){this.prodParam.enter(-9&g);try{return c()}finally{this.prodParam.exit()}}return c()}registerTopicReference(){this.state.topicContext.maxTopicIndex=0}topicReferenceIsAllowedInCurrentContext(){return this.state.topicContext.maxNumOfResolvableTopics>=1}topicReferenceWasUsedInCurrentContext(){return this.state.topicContext.maxTopicIndex!=null&&this.state.topicContext.maxTopicIndex>=0}parseFSharpPipelineBody(c){let g=this.state.startLoc;this.state.potentialArrowAt=this.state.start;let _=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!0;let O=this.parseExprOp(this.parseMaybeUnaryOrPrivate(),g,c);return this.state.inFSharpPipelineDirectBody=_,O}parseModuleExpression(){this.expectPlugin("moduleBlocks");let c=this.startNode();this.next(),this.match(5)||this.unexpected(null,5);let g=this.startNodeAt(this.state.endLoc);this.next();let _=this.initializeScopes(!0);this.enterInitialScopes();try{c.body=this.parseProgram(g,8,"module")}finally{_()}return this.finishNode(c,"ModuleExpression")}parsePropertyNamePrefixOperator(c){}}let Ea={kind:"loop"},zf={kind:"switch"},Gf=/[\uD800-\uDFFF]/u,cl=/in(?:stanceof)?/y;class Hf extends Cc{parseTopLevel(c,g){return c.program=this.parseProgram(g),c.comments=this.state.comments,this.options.tokens&&(c.tokens=function(_,O){for(let q=0;q<_.length;q++){let ee=_[q],{type:le}=ee;if(typeof le=="number"){if(le===136){let{loc:fe,start:we,value:Re,end:at}=ee,Rt=we+1,bt=d(fe.start,1);_.splice(q,1,new Dn({type:se(27),value:"#",start:we,end:Rt,startLoc:fe.start,endLoc:bt}),new Dn({type:se(130),value:Re,start:Rt,end:at,startLoc:bt,endLoc:fe.end})),q++;continue}if(ae(le)){let{loc:fe,start:we,value:Re,end:at}=ee,Rt=we+1,bt=d(fe.start,1),Jt,Hr,pr,Ir,wn;Jt=O.charCodeAt(we)===96?new Dn({type:se(22),value:"`",start:we,end:Rt,startLoc:fe.start,endLoc:bt}):new Dn({type:se(8),value:"}",start:we,end:Rt,startLoc:fe.start,endLoc:bt}),le===24?(pr=at-1,Ir=d(fe.end,-1),Hr=Re===null?null:Re.slice(1,-1),wn=new Dn({type:se(22),value:"`",start:pr,end:at,startLoc:Ir,endLoc:fe.end})):(pr=at-2,Ir=d(fe.end,-2),Hr=Re===null?null:Re.slice(1,-2),wn=new Dn({type:se(23),value:"${",start:pr,end:at,startLoc:Ir,endLoc:fe.end})),_.splice(q,1,Jt,new Dn({type:se(20),value:Hr,start:Rt,end:pr,startLoc:bt,endLoc:Ir}),wn),q+=2;continue}ee.type=se(le)}}return _}(this.tokens,this.input)),this.finishNode(c,"File")}parseProgram(c,g=137,_=this.options.sourceType){if(c.sourceType=_,c.interpreter=this.parseInterpreterDirective(),this.parseBlockBody(c,!0,!0,g),this.inModule&&!this.options.allowUndeclaredExports&&this.scope.undefinedExports.size>0)for(let[q,ee]of Array.from(this.scope.undefinedExports))this.raise(x.ModuleExportUndefined,{at:ee,localName:q});let O;return O=g===137?this.finishNode(c,"Program"):this.finishNodeAt(c,"Program",d(this.state.startLoc,-1)),O}stmtToDirective(c){let g=c;g.type="Directive",g.value=g.expression,delete g.expression;let _=g.value,O=_.value,q=this.input.slice(_.start,_.end),ee=_.value=q.slice(1,-1);return this.addExtra(_,"raw",q),this.addExtra(_,"rawValue",ee),this.addExtra(_,"expressionValue",O),_.type="DirectiveLiteral",g}parseInterpreterDirective(){if(!this.match(28))return null;let c=this.startNode();return c.value=this.state.value,this.next(),this.finishNode(c,"InterpreterDirective")}isLet(){return!!this.isContextual(99)&&this.hasFollowingBindingAtom()}chStartsBindingIdentifier(c,g){if(ke(c)){if(cl.lastIndex=g,cl.test(this.input)){let _=this.codePointAtPos(cl.lastIndex);if(!Qe(_)&&_!==92)return!1}return!0}return c===92}chStartsBindingPattern(c){return c===91||c===123}hasFollowingBindingAtom(){let c=this.nextTokenStart(),g=this.codePointAtPos(c);return this.chStartsBindingPattern(g)||this.chStartsBindingIdentifier(g,c)}hasInLineFollowingBindingIdentifier(){let c=this.nextTokenInLineStart(),g=this.codePointAtPos(c);return this.chStartsBindingIdentifier(g,c)}startsUsingForOf(){let{type:c,containsEsc:g}=this.lookahead();return!(c===101&&!g)&&(V(c)&&!this.hasFollowingLineBreak()?(this.expectPlugin("explicitResourceManagement"),!0):void 0)}startsAwaitUsing(){let c=this.nextTokenInLineStart();if(this.isUnparsedContextual(c,"using")){c=this.nextTokenInLineStartSince(c+5);let g=this.codePointAtPos(c);if(this.chStartsBindingIdentifier(g,c))return this.expectPlugin("explicitResourceManagement"),!0}return!1}parseModuleItem(){return this.parseStatementLike(15)}parseStatementListItem(){return this.parseStatementLike(6|(!this.options.annexB||this.state.strict?0:8))}parseStatementOrSloppyAnnexBFunctionDeclaration(c=!1){let g=0;return this.options.annexB&&!this.state.strict&&(g|=4,c&&(g|=8)),this.parseStatementLike(g)}parseStatement(){return this.parseStatementLike(0)}parseStatementLike(c){let g=null;return this.match(26)&&(g=this.parseDecorators(!0)),this.parseStatementContent(c,g)}parseStatementContent(c,g){let _=this.state.type,O=this.startNode(),q=!!(2&c),ee=!!(4&c),le=1&c;switch(_){case 60:return this.parseBreakContinueStatement(O,!0);case 63:return this.parseBreakContinueStatement(O,!1);case 64:return this.parseDebuggerStatement(O);case 90:return this.parseDoWhileStatement(O);case 91:return this.parseForStatement(O);case 68:if(this.lookaheadCharCode()===46)break;return ee||this.raise(this.state.strict?x.StrictFunction:this.options.annexB?x.SloppyFunctionAnnexB:x.SloppyFunction,{at:this.state.startLoc}),this.parseFunctionStatement(O,!1,!q&&ee);case 80:return q||this.unexpected(),this.parseClass(this.maybeTakeDecorators(g,O),!0);case 69:return this.parseIfStatement(O);case 70:return this.parseReturnStatement(O);case 71:return this.parseSwitchStatement(O);case 72:return this.parseThrowStatement(O);case 73:return this.parseTryStatement(O);case 96:if(!this.state.containsEsc&&this.startsAwaitUsing())return this.isAwaitAllowed()?q||this.raise(x.UnexpectedLexicalDeclaration,{at:O}):this.raise(x.AwaitUsingNotInAsyncContext,{at:O}),this.next(),this.parseVarStatement(O,"await using");break;case 105:if(this.state.containsEsc||!this.hasInLineFollowingBindingIdentifier())break;return this.expectPlugin("explicitResourceManagement"),!this.scope.inModule&&this.scope.inTopLevel?this.raise(x.UnexpectedUsingDeclaration,{at:this.state.startLoc}):q||this.raise(x.UnexpectedLexicalDeclaration,{at:this.state.startLoc}),this.parseVarStatement(O,"using");case 99:{if(this.state.containsEsc)break;let Re=this.nextTokenStart(),at=this.codePointAtPos(Re);if(at!==91&&(!q&&this.hasFollowingLineBreak()||!this.chStartsBindingIdentifier(at,Re)&&at!==123))break}case 75:q||this.raise(x.UnexpectedLexicalDeclaration,{at:this.state.startLoc});case 74:{let Re=this.state.value;return this.parseVarStatement(O,Re)}case 92:return this.parseWhileStatement(O);case 76:return this.parseWithStatement(O);case 5:return this.parseBlock();case 13:return this.parseEmptyStatement(O);case 83:{let Re=this.lookaheadCharCode();if(Re===40||Re===46)break}case 82:{let Re;return this.options.allowImportExportEverywhere||le||this.raise(x.UnexpectedImportExport,{at:this.state.startLoc}),this.next(),_===83?(Re=this.parseImport(O),Re.type!=="ImportDeclaration"||Re.importKind&&Re.importKind!=="value"||(this.sawUnambiguousESM=!0)):(Re=this.parseExport(O,g),(Re.type!=="ExportNamedDeclaration"||Re.exportKind&&Re.exportKind!=="value")&&(Re.type!=="ExportAllDeclaration"||Re.exportKind&&Re.exportKind!=="value")&&Re.type!=="ExportDefaultDeclaration"||(this.sawUnambiguousESM=!0)),this.assertModuleNodeAllowed(Re),Re}default:if(this.isAsyncFunction())return q||this.raise(x.AsyncFunctionInSingleStatementContext,{at:this.state.startLoc}),this.next(),this.parseFunctionStatement(O,!0,!q&&ee)}let fe=this.state.value,we=this.parseExpression();return V(_)&&we.type==="Identifier"&&this.eat(14)?this.parseLabeledStatement(O,fe,we,c):this.parseExpressionStatement(O,we,g)}assertModuleNodeAllowed(c){this.options.allowImportExportEverywhere||this.inModule||this.raise(x.ImportOutsideModule,{at:c})}decoratorsEnabledBeforeExport(){return!!this.hasPlugin("decorators-legacy")||this.hasPlugin("decorators")&&this.getPluginOption("decorators","decoratorsBeforeExport")!==!1}maybeTakeDecorators(c,g,_){return c&&(g.decorators&&g.decorators.length>0?(typeof this.getPluginOption("decorators","decoratorsBeforeExport")!="boolean"&&this.raise(x.DecoratorsBeforeAfterExport,{at:g.decorators[0]}),g.decorators.unshift(...c)):g.decorators=c,this.resetStartLocationFromNode(g,c[0]),_&&this.resetStartLocationFromNode(_,g)),g}canHaveLeadingDecorator(){return this.match(80)}parseDecorators(c){let g=[];do g.push(this.parseDecorator());while(this.match(26));if(this.match(82))c||this.unexpected(),this.decoratorsEnabledBeforeExport()||this.raise(x.DecoratorExportClass,{at:this.state.startLoc});else if(!this.canHaveLeadingDecorator())throw this.raise(x.UnexpectedLeadingDecorator,{at:this.state.startLoc});return g}parseDecorator(){this.expectOnePlugin(["decorators","decorators-legacy"]);let c=this.startNode();if(this.next(),this.hasPlugin("decorators")){let g=this.state.startLoc,_;if(this.match(10)){let O=this.state.startLoc;this.next(),_=this.parseExpression(),this.expect(11),_=this.wrapParenthesis(O,_);let q=this.state.startLoc;c.expression=this.parseMaybeDecoratorArguments(_),this.getPluginOption("decorators","allowCallParenthesized")===!1&&c.expression!==_&&this.raise(x.DecoratorArgumentsOutsideParentheses,{at:q})}else{for(_=this.parseIdentifier(!1);this.eat(16);){let O=this.startNodeAt(g);O.object=_,this.match(136)?(this.classScope.usePrivateName(this.state.value,this.state.startLoc),O.property=this.parsePrivateName()):O.property=this.parseIdentifier(!0),O.computed=!1,_=this.finishNode(O,"MemberExpression")}c.expression=this.parseMaybeDecoratorArguments(_)}}else c.expression=this.parseExprSubscripts();return this.finishNode(c,"Decorator")}parseMaybeDecoratorArguments(c){if(this.eat(10)){let g=this.startNodeAtNode(c);return g.callee=c,g.arguments=this.parseCallExpressionArguments(11,!1),this.toReferencedList(g.arguments),this.finishNode(g,"CallExpression")}return c}parseBreakContinueStatement(c,g){return this.next(),this.isLineTerminator()?c.label=null:(c.label=this.parseIdentifier(),this.semicolon()),this.verifyBreakContinue(c,g),this.finishNode(c,g?"BreakStatement":"ContinueStatement")}verifyBreakContinue(c,g){let _;for(_=0;_<this.state.labels.length;++_){let O=this.state.labels[_];if((c.label==null||O.name===c.label.name)&&(O.kind!=null&&(g||O.kind==="loop")||c.label&&g))break}if(_===this.state.labels.length){let O=g?"BreakStatement":"ContinueStatement";this.raise(x.IllegalBreakContinue,{at:c,type:O})}}parseDebuggerStatement(c){return this.next(),this.semicolon(),this.finishNode(c,"DebuggerStatement")}parseHeaderExpression(){this.expect(10);let c=this.parseExpression();return this.expect(11),c}parseDoWhileStatement(c){return this.next(),this.state.labels.push(Ea),c.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.state.labels.pop(),this.expect(92),c.test=this.parseHeaderExpression(),this.eat(13),this.finishNode(c,"DoWhileStatement")}parseForStatement(c){this.next(),this.state.labels.push(Ea);let g=null;if(this.isAwaitAllowed()&&this.eatContextual(96)&&(g=this.state.lastTokStartLoc),this.scope.enter(0),this.expect(10),this.match(13))return g!==null&&this.unexpected(g),this.parseFor(c,null);let _=this.isContextual(99);{let fe=this.isContextual(96)&&this.startsAwaitUsing(),we=fe||this.isContextual(105)&&this.startsUsingForOf(),Re=_&&this.hasFollowingBindingAtom()||we;if(this.match(74)||this.match(75)||Re){let at=this.startNode(),Rt;fe?(Rt="await using",this.isAwaitAllowed()||this.raise(x.AwaitUsingNotInAsyncContext,{at:this.state.startLoc}),this.next()):Rt=this.state.value,this.next(),this.parseVar(at,!0,Rt);let bt=this.finishNode(at,"VariableDeclaration"),Jt=this.match(58);return Jt&&we&&this.raise(x.ForInUsing,{at:bt}),(Jt||this.isContextual(101))&&bt.declarations.length===1?this.parseForIn(c,bt,g):(g!==null&&this.unexpected(g),this.parseFor(c,bt))}}let O=this.isContextual(95),q=new ms,ee=this.parseExpression(!0,q),le=this.isContextual(101);if(le&&(_&&this.raise(x.ForOfLet,{at:ee}),g===null&&O&&ee.type==="Identifier"&&this.raise(x.ForOfAsync,{at:ee})),le||this.match(58)){this.checkDestructuringPrivate(q),this.toAssignable(ee,!0);let fe=le?"ForOfStatement":"ForInStatement";return this.checkLVal(ee,{in:{type:fe}}),this.parseForIn(c,ee,g)}return this.checkExpressionErrors(q,!0),g!==null&&this.unexpected(g),this.parseFor(c,ee)}parseFunctionStatement(c,g,_){return this.next(),this.parseFunction(c,1|(_?2:0)|(g?8:0))}parseIfStatement(c){return this.next(),c.test=this.parseHeaderExpression(),c.consequent=this.parseStatementOrSloppyAnnexBFunctionDeclaration(),c.alternate=this.eat(66)?this.parseStatementOrSloppyAnnexBFunctionDeclaration():null,this.finishNode(c,"IfStatement")}parseReturnStatement(c){return this.prodParam.hasReturn||this.options.allowReturnOutsideFunction||this.raise(x.IllegalReturn,{at:this.state.startLoc}),this.next(),this.isLineTerminator()?c.argument=null:(c.argument=this.parseExpression(),this.semicolon()),this.finishNode(c,"ReturnStatement")}parseSwitchStatement(c){this.next(),c.discriminant=this.parseHeaderExpression();let g=c.cases=[],_;this.expect(5),this.state.labels.push(zf),this.scope.enter(0);for(let O;!this.match(8);)if(this.match(61)||this.match(65)){let q=this.match(61);_&&this.finishNode(_,"SwitchCase"),g.push(_=this.startNode()),_.consequent=[],this.next(),q?_.test=this.parseExpression():(O&&this.raise(x.MultipleDefaultsInSwitch,{at:this.state.lastTokStartLoc}),O=!0,_.test=null),this.expect(14)}else _?_.consequent.push(this.parseStatementListItem()):this.unexpected();return this.scope.exit(),_&&this.finishNode(_,"SwitchCase"),this.next(),this.state.labels.pop(),this.finishNode(c,"SwitchStatement")}parseThrowStatement(c){return this.next(),this.hasPrecedingLineBreak()&&this.raise(x.NewlineAfterThrow,{at:this.state.lastTokEndLoc}),c.argument=this.parseExpression(),this.semicolon(),this.finishNode(c,"ThrowStatement")}parseCatchClauseParam(){let c=this.parseBindingAtom();return this.scope.enter(this.options.annexB&&c.type==="Identifier"?8:0),this.checkLVal(c,{in:{type:"CatchClause"},binding:9}),c}parseTryStatement(c){if(this.next(),c.block=this.parseBlock(),c.handler=null,this.match(62)){let g=this.startNode();this.next(),this.match(10)?(this.expect(10),g.param=this.parseCatchClauseParam(),this.expect(11)):(g.param=null,this.scope.enter(0)),g.body=this.withSmartMixTopicForbiddingContext(()=>this.parseBlock(!1,!1)),this.scope.exit(),c.handler=this.finishNode(g,"CatchClause")}return c.finalizer=this.eat(67)?this.parseBlock():null,c.handler||c.finalizer||this.raise(x.NoCatchOrFinally,{at:c}),this.finishNode(c,"TryStatement")}parseVarStatement(c,g,_=!1){return this.next(),this.parseVar(c,!1,g,_),this.semicolon(),this.finishNode(c,"VariableDeclaration")}parseWhileStatement(c){return this.next(),c.test=this.parseHeaderExpression(),this.state.labels.push(Ea),c.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.state.labels.pop(),this.finishNode(c,"WhileStatement")}parseWithStatement(c){return this.state.strict&&this.raise(x.StrictWith,{at:this.state.startLoc}),this.next(),c.object=this.parseHeaderExpression(),c.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.finishNode(c,"WithStatement")}parseEmptyStatement(c){return this.next(),this.finishNode(c,"EmptyStatement")}parseLabeledStatement(c,g,_,O){for(let le of this.state.labels)le.name===g&&this.raise(x.LabelRedeclaration,{at:_,labelName:g});let q=(ee=this.state.type)>=90&&ee<=92?"loop":this.match(71)?"switch":null;var ee;for(let le=this.state.labels.length-1;le>=0;le--){let fe=this.state.labels[le];if(fe.statementStart!==c.start)break;fe.statementStart=this.state.start,fe.kind=q}return this.state.labels.push({name:g,kind:q,statementStart:this.state.start}),c.body=8&O?this.parseStatementOrSloppyAnnexBFunctionDeclaration(!0):this.parseStatement(),this.state.labels.pop(),c.label=_,this.finishNode(c,"LabeledStatement")}parseExpressionStatement(c,g,_){return c.expression=g,this.semicolon(),this.finishNode(c,"ExpressionStatement")}parseBlock(c=!1,g=!0,_){let O=this.startNode();return c&&this.state.strictErrors.clear(),this.expect(5),g&&this.scope.enter(0),this.parseBlockBody(O,c,!1,8,_),g&&this.scope.exit(),this.finishNode(O,"BlockStatement")}isValidDirective(c){return c.type==="ExpressionStatement"&&c.expression.type==="StringLiteral"&&!c.expression.extra.parenthesized}parseBlockBody(c,g,_,O,q){let ee=c.body=[],le=c.directives=[];this.parseBlockOrModuleBlockBody(ee,g?le:void 0,_,O,q)}parseBlockOrModuleBlockBody(c,g,_,O,q){let ee=this.state.strict,le=!1,fe=!1;for(;!this.match(O);){let we=_?this.parseModuleItem():this.parseStatementListItem();if(g&&!fe){if(this.isValidDirective(we)){let Re=this.stmtToDirective(we);g.push(Re),le||Re.value.value!=="use strict"||(le=!0,this.setStrict(!0));continue}fe=!0,this.state.strictErrors.clear()}c.push(we)}q==null||q.call(this,le),ee||this.setStrict(!1),this.next()}parseFor(c,g){return c.init=g,this.semicolon(!1),c.test=this.match(13)?null:this.parseExpression(),this.semicolon(!1),c.update=this.match(11)?null:this.parseExpression(),this.expect(11),c.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.scope.exit(),this.state.labels.pop(),this.finishNode(c,"ForStatement")}parseForIn(c,g,_){let O=this.match(58);return this.next(),O?_!==null&&this.unexpected(_):c.await=_!==null,g.type!=="VariableDeclaration"||g.declarations[0].init==null||O&&this.options.annexB&&!this.state.strict&&g.kind==="var"&&g.declarations[0].id.type==="Identifier"||this.raise(x.ForInOfLoopInitializer,{at:g,type:O?"ForInStatement":"ForOfStatement"}),g.type==="AssignmentPattern"&&this.raise(x.InvalidLhs,{at:g,ancestor:{type:"ForStatement"}}),c.left=g,c.right=O?this.parseExpression():this.parseMaybeAssignAllowIn(),this.expect(11),c.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.scope.exit(),this.state.labels.pop(),this.finishNode(c,O?"ForInStatement":"ForOfStatement")}parseVar(c,g,_,O=!1){let q=c.declarations=[];for(c.kind=_;;){let ee=this.startNode();if(this.parseVarId(ee,_),ee.init=this.eat(29)?g?this.parseMaybeAssignDisallowIn():this.parseMaybeAssignAllowIn():null,ee.init!==null||O||(ee.id.type==="Identifier"||g&&(this.match(58)||this.isContextual(101))?_!=="const"||this.match(58)||this.isContextual(101)||this.raise(x.DeclarationMissingInitializer,{at:this.state.lastTokEndLoc,kind:"const"}):this.raise(x.DeclarationMissingInitializer,{at:this.state.lastTokEndLoc,kind:"destructuring"})),q.push(this.finishNode(ee,"VariableDeclarator")),!this.eat(12))break}return c}parseVarId(c,g){let _=this.parseBindingAtom();this.checkLVal(_,{in:{type:"VariableDeclarator"},binding:g==="var"?5:8201}),c.id=_}parseAsyncFunctionExpression(c){return this.parseFunction(c,8)}parseFunction(c,g=0){let _=2&g,O=!!(1&g),q=O&&!(4&g),ee=!!(8&g);this.initFunction(c,ee),this.match(55)&&(_&&this.raise(x.GeneratorInSingleStatementContext,{at:this.state.startLoc}),this.next(),c.generator=!0),O&&(c.id=this.parseFunctionId(q));let le=this.state.maybeInArrowParameters;return this.state.maybeInArrowParameters=!1,this.scope.enter(2),this.prodParam.enter(hs(ee,c.generator)),O||(c.id=this.parseFunctionId()),this.parseFunctionParams(c,!1),this.withSmartMixTopicForbiddingContext(()=>{this.parseFunctionBodyAndFinish(c,O?"FunctionDeclaration":"FunctionExpression")}),this.prodParam.exit(),this.scope.exit(),O&&!_&&this.registerFunctionStatementId(c),this.state.maybeInArrowParameters=le,c}parseFunctionId(c){return c||V(this.state.type)?this.parseIdentifier():null}parseFunctionParams(c,g){this.expect(10),this.expressionScope.enter(new Hi(3)),c.params=this.parseBindingList(11,41,2|(g?4:0)),this.expressionScope.exit()}registerFunctionStatementId(c){c.id&&this.scope.declareName(c.id.name,!this.options.annexB||this.state.strict||c.generator||c.async?this.scope.treatFunctionsAsVar?5:8201:17,c.id.loc.start)}parseClass(c,g,_){this.next();let O=this.state.strict;return this.state.strict=!0,this.parseClassId(c,g,_),this.parseClassSuper(c),c.body=this.parseClassBody(!!c.superClass,O),this.finishNode(c,g?"ClassDeclaration":"ClassExpression")}isClassProperty(){return this.match(29)||this.match(13)||this.match(8)}isClassMethod(){return this.match(10)}isNonstaticConstructor(c){return!(c.computed||c.static||c.key.name!=="constructor"&&c.key.value!=="constructor")}parseClassBody(c,g){this.classScope.enter();let _={hadConstructor:!1,hadSuperClass:c},O=[],q=this.startNode();if(q.body=[],this.expect(5),this.withSmartMixTopicForbiddingContext(()=>{for(;!this.match(8);){if(this.eat(13)){if(O.length>0)throw this.raise(x.DecoratorSemicolon,{at:this.state.lastTokEndLoc});continue}if(this.match(26)){O.push(this.parseDecorator());continue}let ee=this.startNode();O.length&&(ee.decorators=O,this.resetStartLocationFromNode(ee,O[0]),O=[]),this.parseClassMember(q,ee,_),ee.kind==="constructor"&&ee.decorators&&ee.decorators.length>0&&this.raise(x.DecoratorConstructor,{at:ee})}}),this.state.strict=g,this.next(),O.length)throw this.raise(x.TrailingDecorator,{at:this.state.startLoc});return this.classScope.exit(),this.finishNode(q,"ClassBody")}parseClassMemberFromModifier(c,g){let _=this.parseIdentifier(!0);if(this.isClassMethod()){let O=g;return O.kind="method",O.computed=!1,O.key=_,O.static=!1,this.pushClassMethod(c,O,!1,!1,!1,!1),!0}if(this.isClassProperty()){let O=g;return O.computed=!1,O.key=_,O.static=!1,c.body.push(this.parseClassProperty(O)),!0}return this.resetPreviousNodeTrailingComments(_),!1}parseClassMember(c,g,_){let O=this.isContextual(104);if(O){if(this.parseClassMemberFromModifier(c,g))return;if(this.eat(5))return void this.parseClassStaticBlock(c,g)}this.parseClassMemberWithIsStatic(c,g,_,O)}parseClassMemberWithIsStatic(c,g,_,O){let q=g,ee=g,le=g,fe=g,we=g,Re=q,at=q;if(g.static=O,this.parsePropertyNamePrefixOperator(g),this.eat(55)){Re.kind="method";let pr=this.match(136);return this.parseClassElementName(Re),pr?void this.pushClassPrivateMethod(c,ee,!0,!1):(this.isNonstaticConstructor(q)&&this.raise(x.ConstructorIsGenerator,{at:q.key}),void this.pushClassMethod(c,q,!0,!1,!1,!1))}let Rt=V(this.state.type)&&!this.state.containsEsc,bt=this.match(136),Jt=this.parseClassElementName(g),Hr=this.state.startLoc;if(this.parsePostMemberNameModifiers(at),this.isClassMethod()){if(Re.kind="method",bt)return void this.pushClassPrivateMethod(c,ee,!1,!1);let pr=this.isNonstaticConstructor(q),Ir=!1;pr&&(q.kind="constructor",_.hadConstructor&&!this.hasPlugin("typescript")&&this.raise(x.DuplicateConstructor,{at:Jt}),pr&&this.hasPlugin("typescript")&&g.override&&this.raise(x.OverrideOnConstructor,{at:Jt}),_.hadConstructor=!0,Ir=_.hadSuperClass),this.pushClassMethod(c,q,!1,!1,pr,Ir)}else if(this.isClassProperty())bt?this.pushClassPrivateProperty(c,fe):this.pushClassProperty(c,le);else if(Rt&&Jt.name==="async"&&!this.isLineTerminator()){this.resetPreviousNodeTrailingComments(Jt);let pr=this.eat(55);at.optional&&this.unexpected(Hr),Re.kind="method";let Ir=this.match(136);this.parseClassElementName(Re),this.parsePostMemberNameModifiers(at),Ir?this.pushClassPrivateMethod(c,ee,pr,!0):(this.isNonstaticConstructor(q)&&this.raise(x.ConstructorIsAsync,{at:q.key}),this.pushClassMethod(c,q,pr,!0,!1,!1))}else if(!Rt||Jt.name!=="get"&&Jt.name!=="set"||this.match(55)&&this.isLineTerminator())if(Rt&&Jt.name==="accessor"&&!this.isLineTerminator()){this.expectPlugin("decoratorAutoAccessors"),this.resetPreviousNodeTrailingComments(Jt);let pr=this.match(136);this.parseClassElementName(le),this.pushClassAccessorProperty(c,we,pr)}else this.isLineTerminator()?bt?this.pushClassPrivateProperty(c,fe):this.pushClassProperty(c,le):this.unexpected();else{this.resetPreviousNodeTrailingComments(Jt),Re.kind=Jt.name;let pr=this.match(136);this.parseClassElementName(q),pr?this.pushClassPrivateMethod(c,ee,!1,!1):(this.isNonstaticConstructor(q)&&this.raise(x.ConstructorIsAccessor,{at:q.key}),this.pushClassMethod(c,q,!1,!1,!1,!1)),this.checkGetterSetterParams(q)}}parseClassElementName(c){let{type:g,value:_}=this.state;if(g!==130&&g!==131||!c.static||_!=="prototype"||this.raise(x.StaticPrototype,{at:this.state.startLoc}),g===136){_==="constructor"&&this.raise(x.ConstructorClassPrivateField,{at:this.state.startLoc});let O=this.parsePrivateName();return c.key=O,O}return this.parsePropertyName(c)}parseClassStaticBlock(c,g){var _;this.scope.enter(208);let O=this.state.labels;this.state.labels=[],this.prodParam.enter(0);let q=g.body=[];this.parseBlockOrModuleBlockBody(q,void 0,!1,8),this.prodParam.exit(),this.scope.exit(),this.state.labels=O,c.body.push(this.finishNode(g,"StaticBlock")),(_=g.decorators)!=null&&_.length&&this.raise(x.DecoratorStaticBlock,{at:g})}pushClassProperty(c,g){g.computed||g.key.name!=="constructor"&&g.key.value!=="constructor"||this.raise(x.ConstructorClassField,{at:g.key}),c.body.push(this.parseClassProperty(g))}pushClassPrivateProperty(c,g){let _=this.parseClassPrivateProperty(g);c.body.push(_),this.classScope.declarePrivateName(this.getPrivateNameSV(_.key),0,_.key.loc.start)}pushClassAccessorProperty(c,g,_){if(!_&&!g.computed){let q=g.key;q.name!=="constructor"&&q.value!=="constructor"||this.raise(x.ConstructorClassField,{at:q})}let O=this.parseClassAccessorProperty(g);c.body.push(O),_&&this.classScope.declarePrivateName(this.getPrivateNameSV(O.key),0,O.key.loc.start)}pushClassMethod(c,g,_,O,q,ee){c.body.push(this.parseMethod(g,_,O,q,ee,"ClassMethod",!0))}pushClassPrivateMethod(c,g,_,O){let q=this.parseMethod(g,_,O,!1,!1,"ClassPrivateMethod",!0);c.body.push(q);let ee=q.kind==="get"?q.static?6:2:q.kind==="set"?q.static?5:1:0;this.declareClassPrivateMethodInScope(q,ee)}declareClassPrivateMethodInScope(c,g){this.classScope.declarePrivateName(this.getPrivateNameSV(c.key),g,c.key.loc.start)}parsePostMemberNameModifiers(c){}parseClassPrivateProperty(c){return this.parseInitializer(c),this.semicolon(),this.finishNode(c,"ClassPrivateProperty")}parseClassProperty(c){return this.parseInitializer(c),this.semicolon(),this.finishNode(c,"ClassProperty")}parseClassAccessorProperty(c){return this.parseInitializer(c),this.semicolon(),this.finishNode(c,"ClassAccessorProperty")}parseInitializer(c){this.scope.enter(80),this.expressionScope.enter(Ga()),this.prodParam.enter(0),c.value=this.eat(29)?this.parseMaybeAssignAllowIn():null,this.expressionScope.exit(),this.prodParam.exit(),this.scope.exit()}parseClassId(c,g,_,O=8331){if(V(this.state.type))c.id=this.parseIdentifier(),g&&this.declareNameFromIdentifier(c.id,O);else{if(!_&&g)throw this.raise(x.MissingClassName,{at:this.state.startLoc});c.id=null}}parseClassSuper(c){c.superClass=this.eat(81)?this.parseExprSubscripts():null}parseExport(c,g){let _=this.parseMaybeImportPhase(c,!0),O=this.maybeParseExportDefaultSpecifier(c,_),q=!O||this.eat(12),ee=q&&this.eatExportStar(c),le=ee&&this.maybeParseExportNamespaceSpecifier(c),fe=q&&(!le||this.eat(12)),we=O||ee;if(ee&&!le){if(O&&this.unexpected(),g)throw this.raise(x.UnsupportedDecoratorExport,{at:c});return this.parseExportFrom(c,!0),this.finishNode(c,"ExportAllDeclaration")}let Re=this.maybeParseExportNamedSpecifiers(c),at;if(O&&q&&!ee&&!Re&&this.unexpected(null,5),le&&fe&&this.unexpected(null,97),we||Re){if(at=!1,g)throw this.raise(x.UnsupportedDecoratorExport,{at:c});this.parseExportFrom(c,we)}else at=this.maybeParseExportDeclaration(c);if(we||Re||at){var Rt;let bt=c;if(this.checkExport(bt,!0,!1,!!bt.source),((Rt=bt.declaration)==null?void 0:Rt.type)==="ClassDeclaration")this.maybeTakeDecorators(g,bt.declaration,bt);else if(g)throw this.raise(x.UnsupportedDecoratorExport,{at:c});return this.finishNode(bt,"ExportNamedDeclaration")}if(this.eat(65)){let bt=c,Jt=this.parseExportDefaultExpression();if(bt.declaration=Jt,Jt.type==="ClassDeclaration")this.maybeTakeDecorators(g,Jt,bt);else if(g)throw this.raise(x.UnsupportedDecoratorExport,{at:c});return this.checkExport(bt,!0,!0),this.finishNode(bt,"ExportDefaultDeclaration")}this.unexpected(null,5)}eatExportStar(c){return this.eat(55)}maybeParseExportDefaultSpecifier(c,g){if(g||this.isExportDefaultSpecifier()){this.expectPlugin("exportDefaultFrom",g==null?void 0:g.loc.start);let _=g||this.parseIdentifier(!0),O=this.startNodeAtNode(_);return O.exported=_,c.specifiers=[this.finishNode(O,"ExportDefaultSpecifier")],!0}return!1}maybeParseExportNamespaceSpecifier(c){if(this.isContextual(93)){c.specifiers||(c.specifiers=[]);let g=this.startNodeAt(this.state.lastTokStartLoc);return this.next(),g.exported=this.parseModuleExportName(),c.specifiers.push(this.finishNode(g,"ExportNamespaceSpecifier")),!0}return!1}maybeParseExportNamedSpecifiers(c){if(this.match(5)){c.specifiers||(c.specifiers=[]);let g=c.exportKind==="type";return c.specifiers.push(...this.parseExportSpecifiers(g)),c.source=null,c.declaration=null,this.hasPlugin("importAssertions")&&(c.assertions=[]),!0}return!1}maybeParseExportDeclaration(c){return!!this.shouldParseExportDeclaration()&&(c.specifiers=[],c.source=null,this.hasPlugin("importAssertions")&&(c.assertions=[]),c.declaration=this.parseExportDeclaration(c),!0)}isAsyncFunction(){if(!this.isContextual(95))return!1;let c=this.nextTokenInLineStart();return this.isUnparsedContextual(c,"function")}parseExportDefaultExpression(){let c=this.startNode();if(this.match(68))return this.next(),this.parseFunction(c,5);if(this.isAsyncFunction())return this.next(),this.next(),this.parseFunction(c,13);if(this.match(80))return this.parseClass(c,!0,!0);if(this.match(26))return this.hasPlugin("decorators")&&this.getPluginOption("decorators","decoratorsBeforeExport")===!0&&this.raise(x.DecoratorBeforeExport,{at:this.state.startLoc}),this.parseClass(this.maybeTakeDecorators(this.parseDecorators(!1),this.startNode()),!0,!0);if(this.match(75)||this.match(74)||this.isLet())throw this.raise(x.UnsupportedDefaultExport,{at:this.state.startLoc});let g=this.parseMaybeAssignAllowIn();return this.semicolon(),g}parseExportDeclaration(c){return this.match(80)?this.parseClass(this.startNode(),!0,!1):this.parseStatementListItem()}isExportDefaultSpecifier(){let{type:c}=this.state;if(V(c)){if(c===95&&!this.state.containsEsc||c===99)return!1;if((c===128||c===127)&&!this.state.containsEsc){let{type:O}=this.lookahead();if(V(O)&&O!==97||O===5)return this.expectOnePlugin(["flow","typescript"]),!1}}else if(!this.match(65))return!1;let g=this.nextTokenStart(),_=this.isUnparsedContextual(g,"from");if(this.input.charCodeAt(g)===44||V(this.state.type)&&_)return!0;if(this.match(65)&&_){let O=this.input.charCodeAt(this.nextTokenStartSince(g+4));return O===34||O===39}return!1}parseExportFrom(c,g){this.eatContextual(97)?(c.source=this.parseImportSource(),this.checkExport(c),this.maybeParseImportAttributes(c),this.checkJSONModuleImport(c)):g&&this.unexpected(),this.semicolon()}shouldParseExportDeclaration(){let{type:c}=this.state;return c===26&&(this.expectOnePlugin(["decorators","decorators-legacy"]),this.hasPlugin("decorators"))?(this.getPluginOption("decorators","decoratorsBeforeExport")===!0&&this.raise(x.DecoratorBeforeExport,{at:this.state.startLoc}),!0):c===74||c===75||c===68||c===80||this.isLet()||this.isAsyncFunction()}checkExport(c,g,_,O){var q;if(g){if(_){if(this.checkDuplicateExports(c,"default"),this.hasPlugin("exportDefaultFrom")){var ee;let le=c.declaration;le.type!=="Identifier"||le.name!=="from"||le.end-le.start!=4||(ee=le.extra)!=null&&ee.parenthesized||this.raise(x.ExportDefaultFromAsIdentifier,{at:le})}}else if((q=c.specifiers)!=null&&q.length)for(let le of c.specifiers){let{exported:fe}=le,we=fe.type==="Identifier"?fe.name:fe.value;if(this.checkDuplicateExports(le,we),!O&&le.local){let{local:Re}=le;Re.type!=="Identifier"?this.raise(x.ExportBindingIsString,{at:le,localName:Re.value,exportName:we}):(this.checkReservedWord(Re.name,Re.loc.start,!0,!1),this.scope.checkLocalExport(Re))}}else if(c.declaration){if(c.declaration.type==="FunctionDeclaration"||c.declaration.type==="ClassDeclaration"){let le=c.declaration.id;if(!le)throw new Error("Assertion failure");this.checkDuplicateExports(c,le.name)}else if(c.declaration.type==="VariableDeclaration")for(let le of c.declaration.declarations)this.checkDeclaration(le.id)}}}checkDeclaration(c){if(c.type==="Identifier")this.checkDuplicateExports(c,c.name);else if(c.type==="ObjectPattern")for(let g of c.properties)this.checkDeclaration(g);else if(c.type==="ArrayPattern")for(let g of c.elements)g&&this.checkDeclaration(g);else c.type==="ObjectProperty"?this.checkDeclaration(c.value):c.type==="RestElement"?this.checkDeclaration(c.argument):c.type==="AssignmentPattern"&&this.checkDeclaration(c.left)}checkDuplicateExports(c,g){this.exportedIdentifiers.has(g)&&(g==="default"?this.raise(x.DuplicateDefaultExport,{at:c}):this.raise(x.DuplicateExport,{at:c,exportName:g})),this.exportedIdentifiers.add(g)}parseExportSpecifiers(c){let g=[],_=!0;for(this.expect(5);!this.eat(8);){if(_)_=!1;else if(this.expect(12),this.eat(8))break;let O=this.isContextual(128),q=this.match(131),ee=this.startNode();ee.local=this.parseModuleExportName(),g.push(this.parseExportSpecifier(ee,q,c,O))}return g}parseExportSpecifier(c,g,_,O){return this.eatContextual(93)?c.exported=this.parseModuleExportName():g?c.exported=Ja(c.local):c.exported||(c.exported=ni(c.local)),this.finishNode(c,"ExportSpecifier")}parseModuleExportName(){if(this.match(131)){let c=this.parseStringLiteral(this.state.value),g=c.value.match(Gf);return g&&this.raise(x.ModuleExportNameHasLoneSurrogate,{at:c,surrogateCharCode:g[0].charCodeAt(0)}),c}return this.parseIdentifier(!0)}isJSONModuleImport(c){return c.assertions!=null&&c.assertions.some(({key:g,value:_})=>_.value==="json"&&(g.type==="Identifier"?g.name==="type":g.value==="type"))}checkImportReflection(c){var g;c.module&&(c.specifiers.length===1&&c.specifiers[0].type==="ImportDefaultSpecifier"||this.raise(x.ImportReflectionNotBinding,{at:c.specifiers[0].loc.start}),((g=c.assertions)==null?void 0:g.length)>0&&this.raise(x.ImportReflectionHasAssertion,{at:c.specifiers[0].loc.start}))}checkJSONModuleImport(c){if(this.isJSONModuleImport(c)&&c.type!=="ExportAllDeclaration"){let{specifiers:g}=c;if(g!=null){let _=g.find(O=>{let q;if(O.type==="ExportSpecifier"?q=O.local:O.type==="ImportSpecifier"&&(q=O.imported),q!==void 0)return q.type==="Identifier"?q.name!=="default":q.value!=="default"});_!==void 0&&this.raise(x.ImportJSONBindingNotDefault,{at:_.loc.start})}}}isPotentialImportPhase(c){return!c&&this.isContextual(125)}applyImportPhase(c,g,_,O){g||(_==="module"?(this.expectPlugin("importReflection",O),c.module=!0):this.hasPlugin("importReflection")&&(c.module=!1))}parseMaybeImportPhase(c,g){if(!this.isPotentialImportPhase(g))return this.applyImportPhase(c,g,null),null;let _=this.parseIdentifier(!0),{type:O}=this.state;return(Q(O)?O!==97||this.lookaheadCharCode()===102:O!==12)?(this.resetPreviousIdentifierLeadingComments(_),this.applyImportPhase(c,g,_.name,_.loc.start),null):(this.applyImportPhase(c,g,null),_)}isPrecedingIdImportPhase(c){let{type:g}=this.state;return V(g)?g!==97||this.lookaheadCharCode()===102:g!==12}parseImport(c){return this.match(131)?this.parseImportSourceAndAttributes(c):this.parseImportSpecifiersAndAfter(c,this.parseMaybeImportPhase(c,!1))}parseImportSpecifiersAndAfter(c,g){c.specifiers=[];let _=!this.maybeParseDefaultImportSpecifier(c,g)||this.eat(12),O=_&&this.maybeParseStarImportSpecifier(c);return _&&!O&&this.parseNamedImportSpecifiers(c),this.expectContextual(97),this.parseImportSourceAndAttributes(c)}parseImportSourceAndAttributes(c){return c.specifiers!=null||(c.specifiers=[]),c.source=this.parseImportSource(),this.maybeParseImportAttributes(c),this.checkImportReflection(c),this.checkJSONModuleImport(c),this.semicolon(),this.finishNode(c,"ImportDeclaration")}parseImportSource(){return this.match(131)||this.unexpected(),this.parseExprAtom()}parseImportSpecifierLocal(c,g,_){g.local=this.parseIdentifier(),c.specifiers.push(this.finishImportSpecifier(g,_))}finishImportSpecifier(c,g,_=8201){return this.checkLVal(c.local,{in:{type:g},binding:_}),this.finishNode(c,g)}parseImportAttributes(){this.expect(5);let c=[],g=new Set;do{if(this.match(8))break;let _=this.startNode(),O=this.state.value;if(g.has(O)&&this.raise(x.ModuleAttributesWithDuplicateKeys,{at:this.state.startLoc,key:O}),g.add(O),this.match(131)?_.key=this.parseStringLiteral(O):_.key=this.parseIdentifier(!0),this.expect(14),!this.match(131))throw this.raise(x.ModuleAttributeInvalidValue,{at:this.state.startLoc});_.value=this.parseStringLiteral(this.state.value),c.push(this.finishNode(_,"ImportAttribute"))}while(this.eat(12));return this.expect(8),c}parseModuleAttributes(){let c=[],g=new Set;do{let _=this.startNode();if(_.key=this.parseIdentifier(!0),_.key.name!=="type"&&this.raise(x.ModuleAttributeDifferentFromType,{at:_.key}),g.has(_.key.name)&&this.raise(x.ModuleAttributesWithDuplicateKeys,{at:_.key,key:_.key.name}),g.add(_.key.name),this.expect(14),!this.match(131))throw this.raise(x.ModuleAttributeInvalidValue,{at:this.state.startLoc});_.value=this.parseStringLiteral(this.state.value),c.push(this.finishNode(_,"ImportAttribute"))}while(this.eat(12));return c}maybeParseImportAttributes(c){let g,_=!1;if(this.match(76)){if(this.hasPrecedingLineBreak()&&this.lookaheadCharCode()===40)return;this.next(),this.hasPlugin("moduleAttributes")?g=this.parseModuleAttributes():(this.expectImportAttributesPlugin(),g=this.parseImportAttributes()),_=!0}else if(this.isContextual(94)&&!this.hasPrecedingLineBreak())this.hasPlugin("importAttributes")?(this.getPluginOption("importAttributes","deprecatedAssertSyntax")!==!0&&this.raise(x.ImportAttributesUseAssert,{at:this.state.startLoc}),this.addExtra(c,"deprecatedAssertSyntax",!0)):this.expectOnePlugin(["importAttributes","importAssertions"]),this.next(),g=this.parseImportAttributes();else if(this.hasPlugin("importAttributes")||this.hasPlugin("importAssertions"))g=[];else{if(!this.hasPlugin("moduleAttributes"))return;g=[]}!_&&this.hasPlugin("importAssertions")?c.assertions=g:c.attributes=g}maybeParseDefaultImportSpecifier(c,g){if(g){let _=this.startNodeAtNode(g);return _.local=g,c.specifiers.push(this.finishImportSpecifier(_,"ImportDefaultSpecifier")),!0}return!!Q(this.state.type)&&(this.parseImportSpecifierLocal(c,this.startNode(),"ImportDefaultSpecifier"),!0)}maybeParseStarImportSpecifier(c){if(this.match(55)){let g=this.startNode();return this.next(),this.expectContextual(93),this.parseImportSpecifierLocal(c,g,"ImportNamespaceSpecifier"),!0}return!1}parseNamedImportSpecifiers(c){let g=!0;for(this.expect(5);!this.eat(8);){if(g)g=!1;else{if(this.eat(14))throw this.raise(x.DestructureNamedImport,{at:this.state.startLoc});if(this.expect(12),this.eat(8))break}let _=this.startNode(),O=this.match(131),q=this.isContextual(128);_.imported=this.parseModuleExportName();let ee=this.parseImportSpecifier(_,O,c.importKind==="type"||c.importKind==="typeof",q,void 0);c.specifiers.push(ee)}}parseImportSpecifier(c,g,_,O,q){if(this.eatContextual(93))c.local=this.parseIdentifier();else{let{imported:ee}=c;if(g)throw this.raise(x.ImportBindingIsString,{at:c,importName:ee.value});this.checkReservedWord(ee.name,c.loc.start,!0,!0),c.local||(c.local=ni(ee))}return this.finishImportSpecifier(c,"ImportSpecifier",q)}isThisParam(c){return c.type==="Identifier"&&c.name==="this"}}class _n extends Hf{constructor(c,g){super(c=function(_){if(_==null)return Object.assign({},$s);if(_.annexB!=null&&_.annexB!==!1)throw new Error("The `annexB` option can only be set to `false`.");let O={};for(let ee of Object.keys($s)){var q;O[ee]=(q=_[ee])!=null?q:$s[ee]}return O}(c),g),this.options=c,this.initializeScopes(),this.plugins=function(_){let O=new Map;for(let q of _){let[ee,le]=Array.isArray(q)?q:[q,{}];O.has(ee)||O.set(ee,le||{})}return O}(this.options.plugins),this.filename=c.sourceFilename}getScopeHandler(){return Zt}parse(){this.enterInitialScopes();let c=this.startNode(),g=this.startNode();return this.nextToken(),c.errors=null,this.parseTopLevel(c,g),c.errors=this.state.errors,c}}let Ya=function(te){let c={};for(let g of Object.keys(te))c[g]=se(te[g]);return c}(W);function Vs(te,c){let g=_n;return te!=null&&te.plugins&&(function(_){if(un(_,"decorators")){if(un(_,"decorators-legacy"))throw new Error("Cannot use the decorators and decorators-legacy plugin together");let O=bs(_,"decorators","decoratorsBeforeExport");if(O!=null&&typeof O!="boolean")throw new Error("'decoratorsBeforeExport' must be a boolean, if specified.");let q=bs(_,"decorators","allowCallParenthesized");if(q!=null&&typeof q!="boolean")throw new Error("'allowCallParenthesized' must be a boolean.")}if(un(_,"flow")&&un(_,"typescript"))throw new Error("Cannot combine flow and typescript plugins.");if(un(_,"placeholders")&&un(_,"v8intrinsic"))throw new Error("Cannot combine placeholders and v8intrinsic plugins.");if(un(_,"pipelineOperator")){let O=bs(_,"pipelineOperator","proposal");if(!wc.includes(O)){let ee=wc.map(le=>`"${le}"`).join(", ");throw new Error(`"pipelineOperator" requires "proposal" option whose value must be one of: ${ee}.`)}let q=un(_,["recordAndTuple",{syntaxType:"hash"}]);if(O==="hack"){if(un(_,"placeholders"))throw new Error("Cannot combine placeholders plugin and Hack-style pipes.");if(un(_,"v8intrinsic"))throw new Error("Cannot combine v8intrinsic plugin and Hack-style pipes.");let ee=bs(_,"pipelineOperator","topicToken");if(!Ni.includes(ee)){let le=Ni.map(fe=>`"${fe}"`).join(", ");throw new Error(`"pipelineOperator" in "proposal": "hack" mode also requires a "topicToken" option whose value must be one of: ${le}.`)}if(ee==="#"&&q)throw new Error('Plugin conflict between `["pipelineOperator", { proposal: "hack", topicToken: "#" }]` and `["recordAndtuple", { syntaxType: "hash"}]`.')}else if(O==="smart"&&q)throw new Error('Plugin conflict between `["pipelineOperator", { proposal: "smart" }]` and `["recordAndtuple", { syntaxType: "hash"}]`.')}if(un(_,"moduleAttributes")){if(un(_,"importAssertions")||un(_,"importAttributes"))throw new Error("Cannot combine importAssertions, importAttributes and moduleAttributes plugins.");if(bs(_,"moduleAttributes","version")!=="may-2020")throw new Error("The 'moduleAttributes' plugin requires a 'version' option, representing the last proposal update. Currently, the only supported value is 'may-2020'.")}if(un(_,"importAssertions")&&un(_,"importAttributes"))throw new Error("Cannot combine importAssertions and importAttributes plugins.");if(un(_,"recordAndTuple")&&bs(_,"recordAndTuple","syntaxType")!=null&&!Us.includes(bs(_,"recordAndTuple","syntaxType")))throw new Error("The 'syntaxType' option of the 'recordAndTuple' plugin must be one of: "+Us.map(O=>`'${O}'`).join(", "));if(un(_,"asyncDoExpressions")&&!un(_,"doExpressions")){let O=new Error("'asyncDoExpressions' requires 'doExpressions', please add 'doExpressions' to parser plugins.");throw O.missingPlugins="doExpressions",O}}(te.plugins),g=function(_){let O=Kf.filter(le=>un(_,le)),q=O.join("/"),ee=pl[q];if(!ee){ee=_n;for(let le of O)ee=Ta[le](ee);pl[q]=ee}return ee}(te.plugins)),new g(te,c)}let pl={};r.parse=function(te,c){var g;if(((g=c)==null?void 0:g.sourceType)!=="unambiguous")return Vs(c,te).parse();c=Object.assign({},c);try{c.sourceType="module";let _=Vs(c,te),O=_.parse();if(_.sawUnambiguousESM)return O;if(_.ambiguousScriptDifferentAst)try{return c.sourceType="script",Vs(c,te).parse()}catch{}else O.program.sourceType="script";return O}catch(_){try{return c.sourceType="script",Vs(c,te).parse()}catch{}throw _}},r.parseExpression=function(te,c){let g=Vs(c,te);return g.options.strictMode&&(g.state.strict=!0),g.getExpression()},r.tokTypes=Ya},"./node_modules/.pnpm/@babel+plugin-proposal-decorators@7.22.15_@babel+core@7.22.15/node_modules/@babel/plugin-proposal-decorators/lib/index.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var a=u("./node_modules/.pnpm/@babel+helper-plugin-utils@7.22.5/node_modules/@babel/helper-plugin-utils/lib/index.js"),m=u("./node_modules/.pnpm/@babel+plugin-syntax-decorators@7.22.10_@babel+core@7.22.15/node_modules/@babel/plugin-syntax-decorators/lib/index.js"),d=u("./node_modules/.pnpm/@babel+helper-create-class-features-plugin@7.22.15_@babel+core@7.22.15/node_modules/@babel/helper-create-class-features-plugin/lib/index.js"),s=u("./node_modules/.pnpm/@babel+plugin-proposal-decorators@7.22.15_@babel+core@7.22.15/node_modules/@babel/plugin-proposal-decorators/lib/transformer-legacy.js"),l=u("./node_modules/.pnpm/@babel+plugin-proposal-decorators@7.22.15_@babel+core@7.22.15/node_modules/@babel/plugin-proposal-decorators/lib/transformer-2023-05.js"),f=(0,a.declare)((p,h)=>{p.assertVersion(7);var{legacy:y}=h;let{version:b}=h;return y||b==="legacy"?{name:"proposal-decorators",inherits:m.default,visitor:s.default}:b==="2021-12"||b==="2022-03"||b==="2023-01"||b==="2023-05"?(0,l.default)(p,h,b):(p.assertVersion("^7.0.2"),(0,d.createClassFeaturePlugin)({name:"proposal-decorators",api:p,feature:d.FEATURES.decorators,inherits:m.default}))});r.default=f},"./node_modules/.pnpm/@babel+plugin-proposal-decorators@7.22.15_@babel+core@7.22.15/node_modules/@babel/plugin-proposal-decorators/lib/transformer-2023-05.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function({assertVersion:$,assumption:G},{loose:U},B){var N;$(B==="2023-05"||B==="2023-01"?"^7.21.0":B==="2021-12"?"^7.16.0":"^7.19.0");let X=new WeakSet,H=(N=G("constantSuper"))!=null?N:U;return{name:"proposal-decorators",inherits:m.default,visitor:{"ExportNamedDeclaration|ExportDefaultDeclaration"(F){var W;let{declaration:V}=F.node;(V==null?void 0:V.type)==="ClassDeclaration"&&((W=V.decorators)==null?void 0:W.length)>0&&(0,s.default)(F)},Class(F,W){if(X.has(F))return;let V=function(Q,ne,ue,de){let Ae=Q.get("body.body"),Oe=Q.node.decorators,Me=!1,ae=function(Ce){let re;return()=>(re||(re=function(ie){let Ne=[],Be=new Set;return ie.traverse({PrivateName(rt){Be.add(rt.node.id.name)}}),()=>{let rt;do l(Ne),rt=String.fromCharCode(...Ne);while(Be.has(rt));return a.types.privateName(a.types.identifier(rt))}}(Ce)),re())}(Q);for(let Ce of Ae)if(R(Ce)){if(Ce.node.decorators&&Ce.node.decorators.length>0)Me=!0;else if(Ce.node.type==="ClassAccessorProperty"){let{key:re,value:ie,static:Ne,computed:Be}=Ce.node,rt=ae(),ot=f(rt,ie?a.types.cloneNode(ie):void 0,Ne),[Ve]=Ce.replaceWith(ot);p(Q.node.id,Ve,re,rt,de,Be)}}if(!Oe&&!Me)return;let se=[],ye,be,Ee=!1,oe=!1,J=new Set,De,Ke,ke,Qe,pt=[],dt=Q.scope.parent,Ue=(Ce,re)=>{let ie=dt.generateDeclaredUidIdentifier(re);return pt.push(a.types.assignmentExpression("=",ie,Ce)),a.types.cloneNode(ie)},ce=new Map,xe=Ce=>{let{expression:re}=Ce;if(de==="2023-05"&&a.types.isMemberExpression(re)){let ie;a.types.isSuper(re.object)||a.types.isThisExpression(re.object)?ie=Ue(a.types.thisExpression(),"obj"):dt.isStatic(re.object)?ie=re.object:(ie=Ue(re.object,"obj"),re.object=ie),ce.set(Ce,a.types.cloneNode(ie))}dt.isStatic(re)||(Ce.expression=Ue(re,"dec"))};if(Oe){ke=dt.generateDeclaredUidIdentifier("initClass");let[Ce,re]=function(ie){if(ie.type==="ClassDeclaration"){let Ne=ie.scope.generateUidIdentifierBasedOnNode(ie.node.id),Be=a.types.identifier(ie.node.id.name);return ie.scope.rename(Be.name,Ne.name),ie.insertBefore(a.types.variableDeclaration("let",[a.types.variableDeclarator(Ne)])),ie.get("id").replaceWith(Be),[a.types.cloneNode(Ne),ie]}{let Ne,Be;ie.node.id?(Ne=ie.node.id.name,Be=ie.scope.parent.generateDeclaredUidIdentifier(Ne),ie.scope.rename(Ne,Be.name)):ie.parentPath.node.type==="VariableDeclarator"&&ie.parentPath.node.id.type==="Identifier"?(Ne=ie.parentPath.node.id.name,Be=ie.scope.parent.generateDeclaredUidIdentifier(Ne)):Be=ie.scope.parent.generateDeclaredUidIdentifier("decorated_class");let rt=a.types.classExpression(Ne&&a.types.identifier(Ne),ie.node.superClass,ie.node.body),[ot]=ie.replaceWith(a.types.sequenceExpression([rt,Be]));return[a.types.cloneNode(Be),ot.get("expressions.0")]}}(Q);Qe=Ce,(Q=re).node.decorators=null;for(let ie of Oe)xe(ie)}else Q.node.id||(Q.node.id=Q.scope.generateUidIdentifier("Class")),Qe=a.types.cloneNode(Q.node.id);let he,ve=!1;if(Me)for(let Ce of Ae){if(!R(Ce))continue;let{node:re}=Ce,ie=Ce.get("decorators"),Ne=Array.isArray(ie)&&ie.length>0;if(Ne)for(let $t of ie)xe($t.node);let Be="computed"in Ce.node&&Ce.node.computed===!0;Be&&(dt.isStatic(re.key)||(re.key=Ue(re.key,"computedKey")));let rt=C(Ce),{key:ot}=re,Ve=ot.type==="PrivateName",ft=!!Ce.node.static,Pt="computedKey";if(Ve?Pt=ot.id.name:Be||ot.type!=="Identifier"||(Pt=ot.name),Ve&&!ft&&(Ne&&(ve=!0),!a.types.isClassPrivateProperty(re)&&he||(he=ot)),Ce.isClassMethod({kind:"constructor"})&&(be=Ce),Ne){let $t,tt,Tt;if(rt===b){let{value:Et}=Ce.node,qt=[a.types.thisExpression()];Et&&qt.push(a.types.cloneNode(Et));let Xt=ae(),mr=Ce.scope.parent.generateDeclaredUidIdentifier(`init_${Pt}`),ar=f(Xt,a.types.callExpression(a.types.cloneNode(mr),qt),ft),[qr]=Ce.replaceWith(ar);if(Ve){tt=h(Xt,de);let Lt=qr.scope.parent.generateDeclaredUidIdentifier(`get_${Pt}`),yi=qr.scope.parent.generateDeclaredUidIdentifier(`set_${Pt}`);I(qr,ot,Lt,yi),$t=[mr,Lt,yi]}else p(Q.node.id,qr,ot,Xt,de,Be),$t=mr}else if(rt===y){let Et=Ce.scope.parent.generateDeclaredUidIdentifier(`init_${Pt}`),qt=Ce.get("value");qt.replaceWith(a.types.callExpression(a.types.cloneNode(Et),[a.types.thisExpression(),qt.node].filter(Xt=>Xt))),$t=Et,Ve&&(tt=h(ot,de))}else if(Ve){$t=Ce.scope.parent.generateDeclaredUidIdentifier(`call_${Pt}`),new d.default({constantSuper:ue,methodPath:Ce,objectRef:Qe,superRef:Q.node.superClass,file:ne.file,refToPreserve:Qe}).replace();let{params:Et,body:qt,async:Xt}=Ce.node;if(tt=[a.types.functionExpression(void 0,Et.filter(j),qt,Xt)],rt===v||rt===S)M(Ce,a.types.cloneNode(ot),a.types.cloneNode($t),ft);else{let mr=Ce.node;Q.node.body.body.unshift(a.types.classPrivateProperty(ot,a.types.cloneNode($t),[],mr.static)),J.add(ot.id.name),Ce.remove()}}Tt=Be?a.types.cloneNode(ot):ot.type==="PrivateName"?a.types.stringLiteral(ot.id.name):ot.type==="Identifier"?a.types.stringLiteral(ot.name):a.types.cloneNode(ot),se.push({kind:rt,decorators:ie.map(Et=>Et.node.expression),decoratorsThis:ie.map(Et=>ce.get(Et.node)),name:Tt,isStatic:ft,privateMethods:tt,locals:$t}),rt!==y&&(ft?oe=!0:Ee=!0),Ce.node&&(Ce.node.decorators=null),ye||ft||rt!==y&&rt!==b||(ye=Ce)}}let et=function(Ce,re){return a.types.arrayExpression(D(Ce).map(ie=>{let{decs:Ne,hasThis:Be}=L(ie.decorators,ie.decoratorsThis,re),rt=ie.kind;return ie.isStatic&&(rt+=re==="2023-05"?A:w),Be&&(rt+=x),a.types.arrayExpression([Ne.length===1?Ne[0]:a.types.arrayExpression(Ne),a.types.numericLiteral(rt),ie.name,...ie.privateMethods||[]])}))}(se,de),ut=0,Kt=[];if(Oe){let{hasThis:Ce,decs:re}=L(Oe.map(ie=>ie.expression),Oe.map(ie=>ce.get(ie)),de);ut=Ce?1:0,Kt=re}let zt=function(Ce){let re=[];for(let ie of D(Ce)){let{locals:Ne}=ie;Array.isArray(Ne)?re.push(...Ne):Ne!==void 0&&re.push(Ne)}return re}(se);if(Ee){De=dt.generateDeclaredUidIdentifier("initProto"),zt.push(De);let Ce=a.types.callExpression(a.types.cloneNode(De),[a.types.thisExpression()]);if(ye){let re=ye.get("value"),ie=[Ce];re.node&&ie.push(re.node),re.replaceWith(a.types.sequenceExpression(ie))}else if(be)Q.node.superClass?Q.traverse({CallExpression:{exit(re){re.get("callee").isSuper()&&(re.replaceWith(a.types.callExpression(a.types.cloneNode(De),[re.node])),re.skip())}}}):be.node.body.body.unshift(a.types.expressionStatement(Ce));else{let re=[a.types.expressionStatement(Ce)];Q.node.superClass&&re.unshift(a.types.expressionStatement(a.types.callExpression(a.types.super(),[a.types.spreadElement(a.types.identifier("args"))]))),Q.node.body.body.unshift(a.types.classMethod("constructor",a.types.identifier("constructor"),[a.types.restElement(a.types.identifier("args"))],a.types.blockStatement(re)))}}oe&&(Ke=dt.generateDeclaredUidIdentifier("initStatic"),zt.push(Ke)),J.size>0&&Q.traverse({PrivateName(Ce){if(!J.has(Ce.node.id.name))return;let re=Ce.parentPath,ie=re.parentPath;if(ie.node.type==="AssignmentExpression"&&ie.node.left===re.node||ie.node.type==="UpdateExpression"||ie.node.type==="RestElement"||ie.node.type==="ArrayPattern"||ie.node.type==="ObjectProperty"&&ie.node.value===re.node&&ie.parentPath.type==="ObjectPattern"||ie.node.type==="ForOfStatement"&&ie.node.left===re.node)throw Ce.buildCodeFrameError(`Decorated private methods are not updatable, but "#${Ce.node.id.name}" is updated via this expression.`)}});let Zt=[],Ar=!1,er=ke&&a.types.callExpression(a.types.cloneNode(ke),[]),nt=Q.node;if(Oe){Zt.push(Qe,ke);let Ce=[],re=[];if(Q.get("body.body").forEach(ie=>{if(ie.isStaticBlock())return re.push(ie.node),void ie.remove();let Ne=ie.isClassProperty()||ie.isClassPrivateProperty();if((Ne||ie.isClassPrivateMethod())&&ie.node.static){if(Ne&&re.length>0){let rt=re.map(z);ie.node.value&&rt.push(ie.node.value),ie.node.value=(Be=rt).length===0?a.types.unaryExpression("void",a.types.numericLiteral(0)):Be.length===1?Be[0]:a.types.sequenceExpression(Be),re=[]}ie.node.static=!1,Ce.push(ie.node),ie.remove()}var Be}),Ce.length>0||re.length>0){let ie=a.template.expression.ast`
|
|
class extends ${ne.addHelper("identity")} {}
|
|
`;ie.body.body=[a.types.staticBlock([a.types.toStatement(nt,!0)||a.types.expressionStatement(nt)]),...Ce];let Ne=[],Be=a.types.newExpression(ie,[]);re.length>0&&Ne.push(...re.map(z)),er&&(Ar=!0,Ne.push(er)),Ne.length>0?(Ne.unshift(a.types.callExpression(a.types.super(),[a.types.cloneNode(Qe)])),ie.body.body.push(a.types.classMethod("constructor",a.types.identifier("constructor"),[],a.types.blockStatement([a.types.expressionStatement(a.types.sequenceExpression(Ne))])))):Be.arguments.push(a.types.cloneNode(Qe)),Q.replaceWith(Be)}}return!Ar&&er&&Q.node.body.body.push(a.types.staticBlock([a.types.expressionStatement(er)])),nt.body.body.unshift(a.types.staticBlock([a.types.expressionStatement(Y(zt,Zt,et,a.types.arrayExpression(Kt),a.types.numericLiteral(ut),ve?he:null,ne,de)),oe&&a.types.expressionStatement(a.types.callExpression(a.types.cloneNode(Ke),[a.types.thisExpression()]))].filter(Boolean))),Q.insertBefore(pt.map(Ce=>a.types.expressionStatement(Ce))),Q.scope.crawl(),Q}(F,W,H,B);V&&X.add(V)}}}};var a=u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/index.js"),m=u("./node_modules/.pnpm/@babel+plugin-syntax-decorators@7.22.10_@babel+core@7.22.15/node_modules/@babel/plugin-syntax-decorators/lib/index.js"),d=u("./node_modules/.pnpm/@babel+helper-replace-supers@7.22.9_@babel+core@7.22.15/node_modules/@babel/helper-replace-supers/lib/index.js"),s=u("./node_modules/.pnpm/@babel+helper-split-export-declaration@7.22.6/node_modules/@babel/helper-split-export-declaration/lib/index.js");function l($,G=$.length-1){if(G===-1)return void $.unshift(65);let U=$[G];U===90?$[G]=97:U===122?($[G]=65,l($,G-1)):$[G]=U+1}function f($,G,U){return $.type==="PrivateName"?a.types.classPrivateProperty($,G,void 0,U):a.types.classProperty($,G,void 0,void 0,U)}function p($,G,U,B,N,X=!1){let{static:H}=G.node,F=N==="2023-05"&&H?$:a.types.thisExpression(),W=a.types.blockStatement([a.types.returnStatement(a.types.memberExpression(a.types.cloneNode(F),a.types.cloneNode(B)))]),V=a.types.blockStatement([a.types.expressionStatement(a.types.assignmentExpression("=",a.types.memberExpression(a.types.cloneNode(F),a.types.cloneNode(B)),a.types.identifier("v")))]),Q,ne;U.type==="PrivateName"?(Q=a.types.classPrivateMethod("get",a.types.cloneNode(U),[],W,H),ne=a.types.classPrivateMethod("set",a.types.cloneNode(U),[a.types.identifier("v")],V,H)):(Q=a.types.classMethod("get",a.types.cloneNode(U),[],W,X,H),ne=a.types.classMethod("set",a.types.cloneNode(U),[a.types.identifier("v")],V,X,H)),G.insertAfter(ne),G.insertAfter(Q)}function h($,G){return G!=="2023-05"&&G!=="2023-01"?[a.template.expression.ast`
|
|
function () {
|
|
return this.${a.types.cloneNode($)};
|
|
}
|
|
`,a.template.expression.ast`
|
|
function (value) {
|
|
this.${a.types.cloneNode($)} = value;
|
|
}
|
|
`]:[a.template.expression.ast`
|
|
o => o.${a.types.cloneNode($)}
|
|
`,a.template.expression.ast`
|
|
(o, v) => o.${a.types.cloneNode($)} = v
|
|
`]}let y=0,b=1,E=2,v=3,S=4,w=5,A=8,x=16;function C($){switch($.node.type){case"ClassProperty":case"ClassPrivateProperty":return y;case"ClassAccessorProperty":return b;case"ClassMethod":case"ClassPrivateMethod":return $.node.kind==="get"?v:$.node.kind==="set"?S:E}}function P($){return"decorators"in $}function D($){let G=$.filter(P);return[...G.filter(U=>U.isStatic&&U.kind>=b&&U.kind<=S),...G.filter(U=>!U.isStatic&&U.kind>=b&&U.kind<=S),...G.filter(U=>U.isStatic&&U.kind===y),...G.filter(U=>!U.isStatic&&U.kind===y)]}function L($,G,U){let B=$.length,N=G.some(Boolean),X=[];for(let H=0;H<B;H++)U==="2023-05"&&N&&X.push(G[H]||a.types.unaryExpression("void",a.types.numericLiteral(0))),X.push($[H]);return{hasThis:N,decs:X}}function I($,G,U,B){$.insertAfter(a.types.classPrivateMethod("get",a.types.cloneNode(G),[],a.types.blockStatement([a.types.returnStatement(a.types.callExpression(a.types.cloneNode(U),[a.types.thisExpression()]))]))),$.insertAfter(a.types.classPrivateMethod("set",a.types.cloneNode(G),[a.types.identifier("v")],a.types.blockStatement([a.types.expressionStatement(a.types.callExpression(a.types.cloneNode(B),[a.types.thisExpression(),a.types.identifier("v")]))])))}function j($){return $.type!=="TSParameterProperty"}function M($,G,U,B){let N,X;$.node.kind==="set"?(N=[a.types.identifier("v")],X=[a.types.expressionStatement(a.types.callExpression(U,[a.types.thisExpression(),a.types.identifier("v")]))]):(N=[],X=[a.types.returnStatement(a.types.callExpression(U,[a.types.thisExpression()]))]),$.replaceWith(a.types.classPrivateMethod($.node.kind,a.types.cloneNode(G),N,a.types.blockStatement(X),B))}function R($){let{type:G}=$;return G!=="TSDeclareMethod"&&G!=="TSIndexSignature"&&G!=="StaticBlock"}function z($){return a.types.callExpression(a.types.arrowFunctionExpression([],a.types.blockStatement($.body)),[])}function Y($,G,U,B,N,X,H,F){let W,V,Q=[a.types.thisExpression(),U,B];if(F==="2021-12"||F==="2022-03"&&!H.availableHelper("applyDecs2203R")){let ne=a.types.arrayPattern([...$,...G]),ue=a.types.callExpression(H.addHelper(F==="2021-12"?"applyDecs":"applyDecs2203"),Q);return a.types.assignmentExpression("=",ne,ue)}return F==="2023-05"?((X||N.value!==0)&&Q.push(N),X&&Q.push(a.template.expression.ast`
|
|
_ => ${a.types.cloneNode(X)} in _
|
|
`),V=a.types.callExpression(H.addHelper("applyDecs2305"),Q)):F==="2023-01"?(X&&Q.push(a.template.expression.ast`
|
|
_ => ${a.types.cloneNode(X)} in _
|
|
`),V=a.types.callExpression(H.addHelper("applyDecs2301"),Q)):V=a.types.callExpression(H.addHelper("applyDecs2203R"),Q),$.length>0?G.length>0?W=a.types.objectPattern([a.types.objectProperty(a.types.identifier("e"),a.types.arrayPattern($)),a.types.objectProperty(a.types.identifier("c"),a.types.arrayPattern(G))]):(W=a.types.arrayPattern($),V=a.types.memberExpression(V,a.types.identifier("e"),!1,!1)):(W=a.types.arrayPattern(G),V=a.types.memberExpression(V,a.types.identifier("c"),!1,!1)),a.types.assignmentExpression("=",W,V)}},"./node_modules/.pnpm/@babel+plugin-proposal-decorators@7.22.15_@babel+core@7.22.15/node_modules/@babel/plugin-proposal-decorators/lib/transformer-legacy.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var a=u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/index.js");let m=a.template.statement(`
|
|
DECORATOR(CLASS_REF = INNER) || CLASS_REF;
|
|
`),d=(0,a.template)(`
|
|
CLASS_REF.prototype;
|
|
`),s=(0,a.template)(`
|
|
Object.getOwnPropertyDescriptor(TARGET, PROPERTY);
|
|
`),l=(0,a.template)(`
|
|
(TEMP = Object.getOwnPropertyDescriptor(TARGET, PROPERTY), (TEMP = TEMP ? TEMP.value : undefined), {
|
|
enumerable: true,
|
|
configurable: true,
|
|
writable: true,
|
|
initializer: function(){
|
|
return TEMP;
|
|
}
|
|
})
|
|
`),f=new WeakSet;function p(S){let w=(S.isClass()?[S,...S.get("body.body")]:S.get("properties")).reduce((A,x)=>A.concat(x.node.decorators||[]),[]).filter(A=>!a.types.isIdentifier(A.expression));if(w.length!==0)return a.types.sequenceExpression(w.map(A=>{let x=A.expression,C=A.expression=S.scope.generateDeclaredUidIdentifier("dec");return a.types.assignmentExpression("=",C,x)}).concat([S.node]))}function h(S){var w;return!((w=S.decorators)==null||!w.length)}function y(S){return S.some(w=>{var A;return(A=w.decorators)==null?void 0:A.length})}function b(S,w,A){let x=S.scope.generateDeclaredUidIdentifier(S.isClass()?"class":"obj"),C=A.reduce(function(P,D){let L=[];if(D.decorators!=null&&(L=D.decorators,D.decorators=null),L.length===0)return P;if(D.computed)throw S.buildCodeFrameError("Computed method/property decorators are not yet supported.");let I=a.types.isLiteral(D.key)?D.key:a.types.stringLiteral(D.key.name),j=S.isClass()&&!D.static?d({CLASS_REF:x}).expression:x;if(a.types.isClassProperty(D,{static:!1})){let M=S.scope.generateDeclaredUidIdentifier("descriptor"),R=D.value?a.types.functionExpression(null,[],a.types.blockStatement([a.types.returnStatement(D.value)])):a.types.nullLiteral();D.value=a.types.callExpression(w.addHelper("initializerWarningHelper"),[M,a.types.thisExpression()]),f.add(D.value),P.push(a.types.assignmentExpression("=",a.types.cloneNode(M),a.types.callExpression(w.addHelper("applyDecoratedDescriptor"),[a.types.cloneNode(j),a.types.cloneNode(I),a.types.arrayExpression(L.map(z=>a.types.cloneNode(z.expression))),a.types.objectExpression([a.types.objectProperty(a.types.identifier("configurable"),a.types.booleanLiteral(!0)),a.types.objectProperty(a.types.identifier("enumerable"),a.types.booleanLiteral(!0)),a.types.objectProperty(a.types.identifier("writable"),a.types.booleanLiteral(!0)),a.types.objectProperty(a.types.identifier("initializer"),R)])])))}else P.push(a.types.callExpression(w.addHelper("applyDecoratedDescriptor"),[a.types.cloneNode(j),a.types.cloneNode(I),a.types.arrayExpression(L.map(M=>a.types.cloneNode(M.expression))),a.types.isObjectProperty(D)||a.types.isClassProperty(D,{static:!0})?l({TEMP:S.scope.generateDeclaredUidIdentifier("init"),TARGET:a.types.cloneNode(j),PROPERTY:a.types.cloneNode(I)}).expression:s({TARGET:a.types.cloneNode(j),PROPERTY:a.types.cloneNode(I)}).expression,a.types.cloneNode(j)]));return P},[]);return a.types.sequenceExpression([a.types.assignmentExpression("=",a.types.cloneNode(x),S.node),a.types.sequenceExpression(C),a.types.cloneNode(x)])}function E({node:S,scope:w}){if(!h(S)&&!y(S.body.body))return;let A=S.id?a.types.cloneNode(S.id):w.generateUidIdentifier("class");return a.types.variableDeclaration("let",[a.types.variableDeclarator(A,a.types.toExpression(S))])}var v={ExportDefaultDeclaration(S){let w=S.get("declaration");if(!w.isClassDeclaration())return;let A=E(w);if(A){let[x]=S.replaceWithMultiple([A,a.types.exportNamedDeclaration(null,[a.types.exportSpecifier(a.types.cloneNode(A.declarations[0].id),a.types.identifier("default"))])]);w.node.id||S.scope.registerDeclaration(x)}},ClassDeclaration(S){let w=E(S);if(w){let[A]=S.replaceWith(w),x=A.get("declarations.0"),C=x.node.id,P=S.scope.getOwnBinding(C.name);P.identifier=C,P.path=x}},ClassExpression(S,w){let A=p(S)||function(x){if(!h(x.node))return;let C=x.node.decorators||[];x.node.decorators=null;let P=x.scope.generateDeclaredUidIdentifier("class");return C.map(D=>D.expression).reverse().reduce(function(D,L){return m({CLASS_REF:a.types.cloneNode(P),DECORATOR:a.types.cloneNode(L),INNER:D}).expression},x.node)}(S)||function(x,C){if(y(x.node.body.body))return b(x,C,x.node.body.body)}(S,w);A&&S.replaceWith(A)},ObjectExpression(S,w){let A=p(S)||function(x,C){if(y(x.node.properties))return b(x,C,x.node.properties.filter(P=>P.type!=="SpreadElement"))}(S,w);A&&S.replaceWith(A)},AssignmentExpression(S,w){f.has(S.node.right)&&S.replaceWith(a.types.callExpression(w.addHelper("initializerDefineProperty"),[a.types.cloneNode(S.get("left.object").node),a.types.stringLiteral(S.get("left.property").node.name||S.get("left.property").node.value),a.types.cloneNode(S.get("right.arguments")[0].node),a.types.cloneNode(S.get("right.arguments")[1].node)]))},CallExpression(S,w){S.node.arguments.length===3&&f.has(S.node.arguments[2])&&S.node.callee.name===w.addHelper("defineProperty").name&&S.replaceWith(a.types.callExpression(w.addHelper("initializerDefineProperty"),[a.types.cloneNode(S.get("arguments")[0].node),a.types.cloneNode(S.get("arguments")[1].node),a.types.cloneNode(S.get("arguments.2.arguments")[0].node),a.types.cloneNode(S.get("arguments.2.arguments")[1].node)]))}};r.default=v},"./node_modules/.pnpm/@babel+plugin-syntax-decorators@7.22.10_@babel+core@7.22.15/node_modules/@babel/plugin-syntax-decorators/lib/index.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var a=(0,u("./node_modules/.pnpm/@babel+helper-plugin-utils@7.22.5/node_modules/@babel/helper-plugin-utils/lib/index.js").declare)((m,d)=>{m.assertVersion(7);let{version:s}=d;{let{legacy:f}=d;if(f!==void 0){if(typeof f!="boolean")throw new Error(".legacy must be a boolean.");if(s!==void 0)throw new Error("You can either use the .legacy or the .version option, not both.")}if(s===void 0)s=f?"legacy":"2018-09";else if(s!=="2023-05"&&s!=="2023-01"&&s!=="2022-03"&&s!=="2021-12"&&s!=="2018-09"&&s!=="legacy")throw new Error("Unsupported decorators version: "+s);var{decoratorsBeforeExport:l}=d;if(l===void 0){if(s==="2021-12"||s==="2022-03")l=!1;else if(s==="2018-09")throw new Error("The decorators plugin, when .version is '2018-09' or not specified, requires a 'decoratorsBeforeExport' option, whose value must be a boolean.")}else{if(s==="legacy"||s==="2022-03"||s==="2023-01")throw new Error(`'decoratorsBeforeExport' can't be used with ${s} decorators.`);if(typeof l!="boolean")throw new Error("'decoratorsBeforeExport' must be a boolean.")}}return{name:"syntax-decorators",manipulateOptions({generatorOpts:f},p){s==="legacy"?p.plugins.push("decorators-legacy"):s==="2023-01"||s==="2023-05"?p.plugins.push(["decorators",{allowCallParenthesized:!1}],"decoratorAutoAccessors"):s==="2022-03"?p.plugins.push(["decorators",{decoratorsBeforeExport:!1,allowCallParenthesized:!1}],"decoratorAutoAccessors"):s==="2021-12"?(p.plugins.push(["decorators",{decoratorsBeforeExport:l}],"decoratorAutoAccessors"),f.decoratorsBeforeExport=l):s==="2018-09"&&(p.plugins.push(["decorators",{decoratorsBeforeExport:l}]),f.decoratorsBeforeExport=l)}}});r.default=a},"./node_modules/.pnpm/@babel+plugin-syntax-import-assertions@7.22.5_@babel+core@7.22.15/node_modules/@babel/plugin-syntax-import-assertions/lib/index.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var a=(0,u("./node_modules/.pnpm/@babel+helper-plugin-utils@7.22.5/node_modules/@babel/helper-plugin-utils/lib/index.js").declare)(m=>(m.assertVersion(7),{name:"syntax-import-assertions",manipulateOptions(d,s){s.plugins.push("importAssertions")}}));r.default=a},"./node_modules/.pnpm/@babel+plugin-syntax-jsx@7.22.5_@babel+core@7.22.15/node_modules/@babel/plugin-syntax-jsx/lib/index.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var a=(0,u("./node_modules/.pnpm/@babel+helper-plugin-utils@7.22.5/node_modules/@babel/helper-plugin-utils/lib/index.js").declare)(m=>(m.assertVersion(7),{name:"syntax-jsx",manipulateOptions(d,s){s.plugins.some(l=>(Array.isArray(l)?l[0]:l)==="typescript")||s.plugins.push("jsx")}}));r.default=a},"./node_modules/.pnpm/@babel+plugin-syntax-typescript@7.22.5_@babel+core@7.22.15/node_modules/@babel/plugin-syntax-typescript/lib/index.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var a=u("./node_modules/.pnpm/@babel+helper-plugin-utils@7.22.5/node_modules/@babel/helper-plugin-utils/lib/index.js"),m=function(s,l){let f=[];s.forEach((p,h)=>{(Array.isArray(p)?p[0]:p)===l&&f.unshift(h)});for(let p of f)s.splice(p,1)},d=(0,a.declare)((s,l)=>{s.assertVersion(7);let{disallowAmbiguousJSXLike:f,dts:p}=l;var{isTSX:h}=l;return{name:"syntax-typescript",manipulateOptions(y,b){{let{plugins:E}=b;m(E,"flow"),m(E,"jsx"),E.push("objectRestSpread","classProperties"),h&&E.push("jsx")}b.plugins.push(["typescript",{disallowAmbiguousJSXLike:f,dts:p}])}}});r.default=d},"./node_modules/.pnpm/@babel+plugin-transform-export-namespace-from@7.22.11_@babel+core@7.22.15/node_modules/@babel/plugin-transform-export-namespace-from/lib/index.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var a=u("./node_modules/.pnpm/@babel+helper-plugin-utils@7.22.5/node_modules/@babel/helper-plugin-utils/lib/index.js"),m=u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/index.js"),d=(0,a.declare)(s=>(s.assertVersion(7),{name:"transform-export-namespace-from",inherits:u("./node_modules/.pnpm/@babel+plugin-syntax-export-namespace-from@7.8.3_@babel+core@7.22.15/node_modules/@babel/plugin-syntax-export-namespace-from/lib/index.js").Z,visitor:{ExportNamedDeclaration(l){var f;let{node:p,scope:h}=l,{specifiers:y}=p,b=m.types.isExportDefaultSpecifier(y[0])?1:0;if(!m.types.isExportNamespaceSpecifier(y[b]))return;let E=[];b===1&&E.push(m.types.exportNamedDeclaration(null,[y.shift()],p.source));let v=y.shift(),{exported:S}=v,w=h.generateUidIdentifier((f=S.name)!=null?f:S.value);E.push(m.types.importDeclaration([m.types.importNamespaceSpecifier(w)],m.types.cloneNode(p.source)),m.types.exportNamedDeclaration(null,[m.types.exportSpecifier(m.types.cloneNode(w),S)])),p.specifiers.length>=1&&E.push(p);let[A]=l.replaceWithMultiple(E);l.scope.registerDeclaration(A)}}}));r.default=d},"./node_modules/.pnpm/@babel+plugin-transform-modules-commonjs@7.22.15_@babel+core@7.22.15/node_modules/@babel/plugin-transform-modules-commonjs/lib/dynamic-import.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.transformDynamicImport=function(l,f,p){let h=f?d:s;l.replaceWith((0,m.buildDynamicImport)(l.node,!0,!1,y=>h(y,p)))};var a=u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/index.js"),m=u("./node_modules/.pnpm/@babel+helper-module-transforms@7.22.15_@babel+core@7.22.15/node_modules/@babel/helper-module-transforms/lib/index.js");let d=l=>a.template.expression.ast`require(${l})`,s=(l,f)=>a.types.callExpression(f.addHelper("interopRequireWildcard"),[d(l)])},"./node_modules/.pnpm/@babel+plugin-transform-modules-commonjs@7.22.15_@babel+core@7.22.15/node_modules/@babel/plugin-transform-modules-commonjs/lib/index.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var a=u("./node_modules/.pnpm/@babel+helper-plugin-utils@7.22.5/node_modules/@babel/helper-plugin-utils/lib/index.js"),m=u("./node_modules/.pnpm/@babel+helper-module-transforms@7.22.15_@babel+core@7.22.15/node_modules/@babel/helper-module-transforms/lib/index.js"),d=u("./node_modules/.pnpm/@babel+helper-simple-access@7.22.5/node_modules/@babel/helper-simple-access/lib/index.js"),s=u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/index.js"),l=u("./node_modules/.pnpm/@babel+plugin-transform-modules-commonjs@7.22.15_@babel+core@7.22.15/node_modules/@babel/plugin-transform-modules-commonjs/lib/dynamic-import.js"),f=(0,a.declare)((p,h)=>{var y,b,E;p.assertVersion(7);let{strictNamespace:v=!1,mjsStrictNamespace:S=v,allowTopLevelThis:w,strict:A,strictMode:x,noInterop:C,importInterop:P,lazy:D=!1,allowCommonJSExports:L=!0,loose:I=!1}=h,j=(y=p.assumption("constantReexports"))!=null?y:I,M=(b=p.assumption("enumerableModuleMeta"))!=null?b:I,R=(E=p.assumption("noIncompleteNsImportDetection"))!=null&&E;if(!(typeof D=="boolean"||typeof D=="function"||Array.isArray(D)&&D.every($=>typeof $=="string")))throw new Error(".lazy must be a boolean, array of strings, or a function");if(typeof v!="boolean")throw new Error(".strictNamespace must be a boolean, or undefined");if(typeof S!="boolean")throw new Error(".mjsStrictNamespace must be a boolean, or undefined");let z=$=>s.template.expression.ast`
|
|
(function(){
|
|
throw new Error(
|
|
"The CommonJS '" + "${$}" + "' variable is not available in ES6 modules." +
|
|
"Consider setting setting sourceType:script or sourceType:unambiguous in your " +
|
|
"Babel config for this file.");
|
|
})()
|
|
`,Y={ReferencedIdentifier($){let G=$.node.name;if(G!=="module"&&G!=="exports")return;let U=$.scope.getBinding(G);this.scope.getBinding(G)!==U||$.parentPath.isObjectProperty({value:$.node})&&$.parentPath.parentPath.isObjectPattern()||$.parentPath.isAssignmentExpression({left:$.node})||$.isAssignmentExpression({left:$.node})||$.replaceWith(z(G))},UpdateExpression($){let G=$.get("argument");if(!G.isIdentifier())return;let U=G.node.name;if(U!=="module"&&U!=="exports")return;let B=$.scope.getBinding(U);this.scope.getBinding(U)===B&&$.replaceWith(s.types.assignmentExpression($.node.operator[0]+"=",G.node,z(U)))},AssignmentExpression($){let G=$.get("left");if(G.isIdentifier()){let U=G.node.name;if(U!=="module"&&U!=="exports")return;let B=$.scope.getBinding(U);if(this.scope.getBinding(U)!==B)return;let N=$.get("right");N.replaceWith(s.types.sequenceExpression([N.node,z(U)]))}else if(G.isPattern()){let U=G.getOuterBindingIdentifiers(),B=Object.keys(U).filter(N=>(N==="module"||N==="exports")&&this.scope.getBinding(N)===$.scope.getBinding(N))[0];if(B){let N=$.get("right");N.replaceWith(s.types.sequenceExpression([N.node,z(B)]))}}}};return{name:"transform-modules-commonjs",pre(){this.file.set("@babel/plugin-transform-modules-*","commonjs")},visitor:{CallExpression($){if(!this.file.has("@babel/plugin-proposal-dynamic-import")||!s.types.isImport($.node.callee))return;let{scope:G}=$;do G.rename("require");while(G=G.parent);(0,l.transformDynamicImport)($,C,this.file)},Program:{exit($,G){if(!(0,m.isModule)($))return;$.scope.rename("exports"),$.scope.rename("module"),$.scope.rename("require"),$.scope.rename("__filename"),$.scope.rename("__dirname"),L||((0,d.default)($,new Set(["module","exports"]),!1),$.traverse(Y,{scope:$.scope}));let U=(0,m.getModuleName)(this.file.opts,h);U&&(U=s.types.stringLiteral(U));let{meta:B,headers:N}=(0,m.rewriteModuleStatementsAndPrepareHeader)($,{exportName:"exports",constantReexports:j,enumerableModuleMeta:M,strict:A,strictMode:x,allowTopLevelThis:w,noInterop:C,importInterop:P,lazy:D,esNamespaceOnly:typeof G.filename=="string"&&/\.mjs$/.test(G.filename)?S:v,noIncompleteNsImportDetection:R,filename:this.file.opts.filename});for(let[X,H]of B.source){let F=s.types.callExpression(s.types.identifier("require"),[s.types.stringLiteral(X)]),W;if((0,m.isSideEffectImport)(H)){if(H.lazy)throw new Error("Assertion failure");W=s.types.expressionStatement(F)}else{if(H.lazy&&!H.referenced)continue;let V=(0,m.wrapInterop)($,F,H.interop)||F;W=H.lazy?s.template.statement.ast`
|
|
function ${H.name}() {
|
|
const data = ${V};
|
|
${H.name} = function(){ return data; };
|
|
return data;
|
|
}
|
|
`:s.template.statement.ast`
|
|
var ${H.name} = ${V};
|
|
`}W.loc=H.loc,N.push(W),N.push(...(0,m.buildNamespaceInitStatements)(B,H,j))}(0,m.ensureStatementsHoisted)(N),$.unshiftContainer("body",N),$.get("body").forEach(X=>{N.indexOf(X.node)!==-1&&X.isVariableDeclaration()&&X.scope.registerDeclaration(X)})}}}}});r.default=f},"./node_modules/.pnpm/@babel+plugin-transform-nullish-coalescing-operator@7.22.11_@babel+core@7.22.15/node_modules/@babel/plugin-transform-nullish-coalescing-operator/lib/index.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var a=u("./node_modules/.pnpm/@babel+helper-plugin-utils@7.22.5/node_modules/@babel/helper-plugin-utils/lib/index.js"),m=u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/index.js"),d=(0,a.declare)((s,{loose:l=!1})=>{var f;s.assertVersion(7);let p=(f=s.assumption("noDocumentAll"))!=null?f:l;return{name:"transform-nullish-coalescing-operator",inherits:u("./node_modules/.pnpm/@babel+plugin-syntax-nullish-coalescing-operator@7.8.3_@babel+core@7.22.15/node_modules/@babel/plugin-syntax-nullish-coalescing-operator/lib/index.js").Z,visitor:{LogicalExpression(h){let{node:y,scope:b}=h;if(y.operator!=="??")return;let E,v;if(b.isStatic(y.left))E=y.left,v=m.types.cloneNode(y.left);else{if(b.path.isPattern())return void h.replaceWith(m.template.statement.ast`(() => ${h.node})()`);E=b.generateUidIdentifierBasedOnNode(y.left),b.push({id:m.types.cloneNode(E)}),v=m.types.assignmentExpression("=",E,y.left)}h.replaceWith(m.types.conditionalExpression(p?m.types.binaryExpression("!=",v,m.types.nullLiteral()):m.types.logicalExpression("&&",m.types.binaryExpression("!==",v,m.types.nullLiteral()),m.types.binaryExpression("!==",m.types.cloneNode(E),b.buildUndefinedNode())),m.types.cloneNode(E),y.right))}}}});r.default=d},"./node_modules/.pnpm/@babel+plugin-transform-optional-chaining@7.22.15_@babel+core@7.22.15/node_modules/@babel/plugin-transform-optional-chaining/lib/index.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var a=u("./node_modules/.pnpm/@babel+helper-plugin-utils@7.22.5/node_modules/@babel/helper-plugin-utils/lib/index.js"),m=u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/index.js"),d=u("./node_modules/.pnpm/@babel+helper-skip-transparent-expression-wrappers@7.22.5/node_modules/@babel/helper-skip-transparent-expression-wrappers/lib/index.js");function s(A){let x=l(A),{node:C,parentPath:P}=x;if(P.isLogicalExpression()){let{operator:D,right:L}=P.node;if(D==="&&"||D==="||"||D==="??"&&C===L)return s(P)}if(P.isSequenceExpression()){let{expressions:D}=P.node;return D[D.length-1]!==C||s(P)}return P.isConditional({test:C})||P.isUnaryExpression({operator:"!"})||P.isLoop({test:C})}function l(A){let x=A;return A.findParent(C=>{if(!d.isTransparentExprWrapper(C.node))return!0;x=C}),x}let f=A=>A[A.length-1];function p(A){return A=d.skipTransparentExprWrapperNodes(A),m.types.isIdentifier(A)||m.types.isSuper(A)||m.types.isMemberExpression(A)&&!A.computed&&p(A.object)}let h=m.template.expression("%%check%% === null || %%ref%% === void 0"),y=m.template.expression("%%check%% == null"),b=m.template.expression("%%check%% !== null && %%ref%% !== void 0"),E=m.template.expression("%%check%% != null");function v(A,{pureGetters:x,noDocumentAll:C},P,D,L){let{scope:I}=A;if(I.path.isPattern()&&function(F){let W=F,{scope:V}=F;for(;W.isOptionalMemberExpression()||W.isOptionalCallExpression();){let{node:Q}=W,ne=d.skipTransparentExprWrappers(W.isOptionalMemberExpression()?W.get("object"):W.get("callee"));if(Q.optional)return!V.isStatic(ne.node);W=ne}}(A))return void P.replaceWith(m.template.expression.ast`(() => ${P.node})()`);let j=[],M=A;for(;M.isOptionalMemberExpression()||M.isOptionalCallExpression();){let{node:F}=M;F.optional&&j.push(F),M.isOptionalMemberExpression()?(M.node.type="MemberExpression",M=d.skipTransparentExprWrappers(M.get("object"))):M.isOptionalCallExpression()&&(M.node.type="CallExpression",M=d.skipTransparentExprWrappers(M.get("callee")))}if(j.length===0)return;let R=[],z;for(let F=j.length-1;F>=0;F--){let W=j[F],V=m.types.isCallExpression(W),Q=V?W.callee:W.object,ne=d.skipTransparentExprWrapperNodes(Q),ue,de;if(V&&m.types.isIdentifier(ne,{name:"eval"})?(de=ue=ne,W.callee=m.types.sequenceExpression([m.types.numericLiteral(0),ue])):x&&V&&p(ne)?de=ue=W.callee:I.isStatic(ne)?de=ue=Q:(z&&!V||(z=I.generateUidIdentifierBasedOnNode(ne),I.push({id:m.types.cloneNode(z)})),ue=z,de=m.types.assignmentExpression("=",m.types.cloneNode(z),Q),V?W.callee=ue:W.object=ue),V&&m.types.isMemberExpression(ne))if(x&&p(ne))W.callee=Q;else{let{object:Oe}=ne,Me;if(m.types.isSuper(Oe))Me=m.types.thisExpression();else{let ae=I.maybeGenerateMemoised(Oe);ae?(Me=ae,ne.object=m.types.assignmentExpression("=",ae,Oe)):Me=Oe}W.arguments.unshift(m.types.cloneNode(Me)),W.callee=m.types.memberExpression(W.callee,m.types.identifier("call"))}let Ae={check:m.types.cloneNode(de),ref:m.types.cloneNode(ue)};Object.defineProperty(Ae,"ref",{enumerable:!1}),R.push(Ae)}let Y=P.node;L&&(Y=L(Y));let $=m.types.isBooleanLiteral(D),G=$&&D.value===!1,U=!$&&m.types.isUnaryExpression(D,{operator:"void"}),B=m.types.isExpressionStatement(P.parent)&&!P.isCompletionRecord()||m.types.isSequenceExpression(P.parent)&&f(P.parent.expressions)!==P.node,N=G?C?E:b:C?y:h,X=G?"&&":"||",H=R.map(N).reduce((F,W)=>m.types.logicalExpression(X,F,W));P.replaceWith($||U&&B?m.types.logicalExpression(X,H,Y):m.types.conditionalExpression(H,D,Y))}function S(A,x){let{scope:C}=A,P=l(A),{parentPath:D}=P;if(D.isUnaryExpression({operator:"delete"}))v(A,x,D,m.types.booleanLiteral(!0));else{let L;D.isCallExpression({callee:P.node})&&A.isOptionalMemberExpression()&&(L=I=>{var j;let M=d.skipTransparentExprWrapperNodes(I.object),R;return x.pureGetters&&p(M)||(R=C.maybeGenerateMemoised(M),R&&(I.object=m.types.assignmentExpression("=",R,M))),m.types.callExpression(m.types.memberExpression(I,m.types.identifier("bind")),[m.types.cloneNode((j=R)!=null?j:M)])}),v(A,x,A,s(P)?m.types.booleanLiteral(!1):C.buildUndefinedNode(),L)}}var w=a.declare((A,x)=>{var C,P;A.assertVersion(7);let{loose:D=!1}=x,L=(C=A.assumption("noDocumentAll"))!=null?C:D,I=(P=A.assumption("pureGetters"))!=null?P:D;return{name:"transform-optional-chaining",inherits:u("./node_modules/.pnpm/@babel+plugin-syntax-optional-chaining@7.8.3_@babel+core@7.22.15/node_modules/@babel/plugin-syntax-optional-chaining/lib/index.js").Z,visitor:{"OptionalCallExpression|OptionalMemberExpression"(j){S(j,{noDocumentAll:L,pureGetters:I})}}}});r.default=w,r.transform=S},"./node_modules/.pnpm/@babel+plugin-transform-typescript@7.22.15_@babel+core@7.22.15/node_modules/@babel/plugin-transform-typescript/lib/const-enum.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(m,d){let{name:s}=m.node.id,l=m.parentPath.isExportNamedDeclaration(),f=l;!f&&d.isProgram(m.parent)&&(f=m.parent.body.some(y=>d.isExportNamedDeclaration(y)&&y.exportKind!=="type"&&!y.source&&y.specifiers.some(b=>d.isExportSpecifier(b)&&b.exportKind!=="type"&&b.local.name===s)));let{enumValues:p}=(0,a.translateEnumValues)(m,d);if(f){let y=d.objectExpression(p.map(([b,E])=>d.objectProperty(d.isValidIdentifier(b)?d.identifier(b):d.stringLiteral(b),E)));return void(m.scope.hasOwnBinding(s)?(l?m.parentPath:m).replaceWith(d.expressionStatement(d.callExpression(d.memberExpression(d.identifier("Object"),d.identifier("assign")),[m.node.id,y]))):(m.replaceWith(d.variableDeclaration("var",[d.variableDeclarator(m.node.id,y)])),m.scope.registerDeclaration(m)))}let h=new Map(p);m.scope.path.traverse({Scope(y){y.scope.hasOwnBinding(s)&&y.skip()},MemberExpression(y){if(!d.isIdentifier(y.node.object,{name:s}))return;let b;if(y.node.computed){if(!d.isStringLiteral(y.node.property))return;b=y.node.property.value}else{if(!d.isIdentifier(y.node.property))return;b=y.node.property.name}h.has(b)&&y.replaceWith(d.cloneNode(h.get(b)))}}),m.remove()};var a=u("./node_modules/.pnpm/@babel+plugin-transform-typescript@7.22.15_@babel+core@7.22.15/node_modules/@babel/plugin-transform-typescript/lib/enum.js")},"./node_modules/.pnpm/@babel+plugin-transform-typescript@7.22.15_@babel+core@7.22.15/node_modules/@babel/plugin-transform-typescript/lib/enum.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(S,w){let{node:A,parentPath:x}=S;if(A.declare)return void S.remove();let C=A.id.name,{fill:P,data:D,isPure:L}=function(I,j,M){let{enumValues:R,data:z,isPure:Y}=E(I,j),$=R.map(([G,U])=>h(j.isStringLiteral(U),{ENUM:j.cloneNode(M),NAME:G,VALUE:U}));return{fill:{ID:j.cloneNode(M),ASSIGNMENTS:$},data:z,isPure:Y}}(S,w,A.id);switch(x.type){case"BlockStatement":case"ExportNamedDeclaration":case"Program":{let I=w.isProgram(S.parent),j=function z(Y){return Y.isExportDeclaration()?z(Y.parentPath):!!Y.getData(C)||(Y.setData(C,!0),!1)}(x),M=w.objectExpression([]);(j||I)&&(M=w.logicalExpression("||",w.cloneNode(P.ID),M));let R=l(Object.assign({},P,{INIT:M}));L&&(0,d.default)(R),j?(x.isExportDeclaration()?x:S).replaceWith(w.expressionStatement(w.assignmentExpression("=",w.cloneNode(A.id),R))):S.scope.registerDeclaration(S.replaceWith(w.variableDeclaration(I?"var":"let",[w.variableDeclarator(A.id,R)]))[0]),s.set(S.scope.getBindingIdentifier(C),D);break}default:throw new Error(`Unexpected enum parent '${S.parent.type}`)}},r.translateEnumValues=E;var a=u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/index.js"),m=u("assert"),d=u("./node_modules/.pnpm/@babel+helper-annotate-as-pure@7.22.5/node_modules/@babel/helper-annotate-as-pure/lib/index.js");let s=new WeakMap,l=a.template.expression(`
|
|
(function (ID) {
|
|
ASSIGNMENTS;
|
|
return ID;
|
|
})(INIT)
|
|
`),f=(0,a.template)(`
|
|
ENUM["NAME"] = VALUE;
|
|
`),p=(0,a.template)(`
|
|
ENUM[ENUM["NAME"] = VALUE] = "NAME";
|
|
`),h=(S,w)=>(S?f:p)(w);function y(S,w){let{seen:A,path:x,t:C}=w,P=S.node.name;A.has(P)&&!S.scope.hasOwnBinding(P)&&(S.replaceWith(C.memberExpression(C.cloneNode(x.node.id),C.cloneNode(S.node))),S.skip())}let b={ReferencedIdentifier:y};function E(S,w){let A=new Map,x,C=-1,P=!0,D=S.get("members").map(L=>{let I=L.node,j=w.isIdentifier(I.id)?I.id.name:I.id.value,M=L.get("initializer"),R;if(I.initializer)C=v(M,A),C!==void 0?(A.set(j,C),m(typeof C=="number"||typeof C=="string"),R=C===1/0||Number.isNaN(C)?w.identifier(String(C)):C===-1/0?w.unaryExpression("-",w.identifier("Infinity")):w.valueToNode(C)):(P&&(P=M.isPure()),M.isReferencedIdentifier()?y(M,{t:w,seen:A,path:S}):M.traverse(b,{t:w,seen:A,path:S}),R=M.node,A.set(j,void 0));else if(typeof C=="number")C+=1,R=w.numericLiteral(C),A.set(j,C);else{if(typeof C=="string")throw S.buildCodeFrameError("Enum member must have initializer.");{let z=w.memberExpression(w.cloneNode(S.node.id),w.stringLiteral(x),!0);R=w.binaryExpression("+",w.numericLiteral(1),z),A.set(j,void 0)}}return x=j,[j,R]});return{isPure:P,data:A,enumValues:D}}function v(S,w,A=new Set){return x(S);function x(P){let D=P.node;switch(D.type){case"MemberExpression":case"Identifier":return C(P,w,A);case"StringLiteral":case"NumericLiteral":return D.value;case"UnaryExpression":return function(L){let I=x(L.get("argument"));if(I!==void 0)switch(L.node.operator){case"+":return I;case"-":return-I;case"~":return~I;default:return}}(P);case"BinaryExpression":return function(L){let I=x(L.get("left"));if(I===void 0)return;let j=x(L.get("right"));if(j!==void 0)switch(L.node.operator){case"|":return I|j;case"&":return I&j;case">>":return I>>j;case">>>":return I>>>j;case"<<":return I<<j;case"^":return I^j;case"*":return I*j;case"/":return I/j;case"+":return I+j;case"-":return I-j;case"%":return I%j;case"**":return Math.pow(I,j);default:return}}(P);case"ParenthesizedExpression":return x(P.get("expression"));case"TemplateLiteral":{if(D.quasis.length===1)return D.quasis[0].value.cooked;let L=P.get("expressions"),I=D.quasis,j="";for(let M=0;M<I.length;M++)if(j+=I[M].value.cooked,M+1<I.length){let R=C(L[M],w,A);if(R===void 0)return;j+=R}return j}default:return}}function C(P,D,L){if(P.isMemberExpression()){let I=P.node,j=I.object,M=I.property;if(!a.types.isIdentifier(j)||(I.computed?!a.types.isStringLiteral(M):!a.types.isIdentifier(M)))return;let R=P.scope.getBindingIdentifier(j.name),z=s.get(R);return z?z.get(M.computed?M.value:M.name):void 0}if(P.isIdentifier()){let I=P.node.name;if(["Infinity","NaN"].includes(I))return Number(I);let j=D==null?void 0:D.get(I);if(j!==void 0)return j;if(L.has(P.node))return;let M=P.resolve();if(M)return L.add(P.node),j=v(M,void 0,L),D==null||D.set(I,j),j}}}},"./node_modules/.pnpm/@babel+plugin-transform-typescript@7.22.15_@babel+core@7.22.15/node_modules/@babel/plugin-transform-typescript/lib/index.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var a=u("./node_modules/.pnpm/@babel+helper-plugin-utils@7.22.5/node_modules/@babel/helper-plugin-utils/lib/index.js"),m=u("./node_modules/.pnpm/@babel+plugin-syntax-typescript@7.22.5_@babel+core@7.22.15/node_modules/@babel/plugin-syntax-typescript/lib/index.js"),d=u("./node_modules/.pnpm/@babel+helper-create-class-features-plugin@7.22.15_@babel+core@7.22.15/node_modules/@babel/helper-create-class-features-plugin/lib/index.js"),s=u("./node_modules/.pnpm/@babel+plugin-transform-typescript@7.22.15_@babel+core@7.22.15/node_modules/@babel/plugin-transform-typescript/lib/const-enum.js"),l=u("./node_modules/.pnpm/@babel+plugin-transform-typescript@7.22.15_@babel+core@7.22.15/node_modules/@babel/plugin-transform-typescript/lib/enum.js"),f=u("./node_modules/.pnpm/@babel+plugin-transform-typescript@7.22.15_@babel+core@7.22.15/node_modules/@babel/plugin-transform-typescript/lib/namespace.js");function p(x){switch(x.parent.type){case"TSTypeReference":case"TSExpressionWithTypeArguments":case"TSTypeQuery":return!0;case"TSQualifiedName":return x.parentPath.findParent(C=>C.type!=="TSQualifiedName").type!=="TSImportEqualsDeclaration";case"ExportSpecifier":return x.parent.exportKind==="type"||x.parentPath.parent.exportKind==="type";default:return!1}}let h=new WeakMap,y=new WeakMap,b=new WeakSet;function E({scope:x},C){return!x.hasBinding(C)&&(!!h.get(x).has(C)||(console.warn(`The exported identifier "${C}" is not declared in Babel's scope tracker
|
|
as a JavaScript value binding, and "@babel/plugin-transform-typescript"
|
|
never encountered it as a TypeScript type declaration.
|
|
It will be treated as a JavaScript value.
|
|
|
|
This problem is likely caused by another plugin injecting
|
|
"${C}" without registering it in the scope tracker. If you are the author
|
|
of that plugin, please use "scope.registerDeclaration(declarationPath)".`),!1))}function v(x,C){h.get(x).add(C)}function S(x){let C=x.getBindingIdentifiers();for(let P of Object.keys(C)){let D=x.scope.getBinding(P);D&&D.identifier===C[P]&&D.scope.removeBinding(P)}x.opts.noScope=!0,x.remove(),x.opts.noScope=!1}function w(x,C,P,D,L=""){if(C.file.get("@babel/plugin-transform-modules-*")!=="commonjs")throw x.buildCodeFrameError(`\`${P}\` is only supported when compiling modules to CommonJS.
|
|
Please consider using \`${D}\`${L}, or add @babel/plugin-transform-modules-commonjs to your Babel config.`)}var A=(0,a.declare)((x,C)=>{let{types:P,template:D}=x;x.assertVersion(7);let L=/\*?\s*@jsx((?:Frag)?)\s+([^\s]+)/,{allowNamespaces:I=!0,jsxPragma:j="React.createElement",jsxPragmaFrag:M="React.Fragment",onlyRemoveTypeImports:R=!1,optimizeConstEnums:z=!1}=C;var{allowDeclareFields:Y=!1}=C;let $={field(N){let{node:X}=N;if(!Y&&X.declare)throw N.buildCodeFrameError("The 'declare' modifier is only allowed when the 'allowDeclareFields' option of @babel/plugin-transform-typescript or @babel/preset-typescript is enabled.");if(X.declare){if(X.value)throw N.buildCodeFrameError("Fields with the 'declare' modifier cannot be initialized here, but only in the constructor");X.decorators||N.remove()}else if(X.definite){if(X.value)throw N.buildCodeFrameError("Definitely assigned fields cannot be initialized here, but only in the constructor");Y||X.decorators||P.isClassPrivateProperty(X)||N.remove()}else X.abstract?N.remove():Y||X.value||X.decorators||P.isClassPrivateProperty(X)||N.remove();X.accessibility&&(X.accessibility=null),X.abstract&&(X.abstract=null),X.readonly&&(X.readonly=null),X.optional&&(X.optional=null),X.typeAnnotation&&(X.typeAnnotation=null),X.definite&&(X.definite=null),X.declare&&(X.declare=null),X.override&&(X.override=null)},method({node:N}){N.accessibility&&(N.accessibility=null),N.abstract&&(N.abstract=null),N.optional&&(N.optional=null),N.override&&(N.override=null)},constructor(N,X){N.node.accessibility&&(N.node.accessibility=null);let H=[],{scope:F}=N;for(let W of N.get("params")){let V=W.node;if(V.type==="TSParameterProperty"){let Q=V.parameter;if(b.has(Q))continue;let ne;if(b.add(Q),P.isIdentifier(Q))ne=Q;else{if(!P.isAssignmentPattern(Q)||!P.isIdentifier(Q.left))throw W.buildCodeFrameError("Parameter properties can not be destructuring patterns.");ne=Q.left}H.push(D.statement.ast`
|
|
this.${P.cloneNode(ne)} = ${P.cloneNode(ne)}`),W.replaceWith(W.get("parameter")),F.registerBinding("param",W)}}(0,d.injectInitialization)(X,N,H)}};return{name:"transform-typescript",inherits:m.default,visitor:{Pattern:U,Identifier:U,RestElement:U,Program:{enter(N,X){let{file:H}=X,F=null,W=null,V=N.scope;if(h.has(V)||h.set(V,new Set),H.ast.comments)for(let ue of H.ast.comments){let de=L.exec(ue.value);de&&(de[1]?W=de[2]:F=de[2])}let Q=F||j;Q&&([Q]=Q.split("."));let ne=W||M;ne&&([ne]=ne.split("."));for(let ue of N.get("body"))if(ue.isImportDeclaration()){if(y.has(X.file.ast.program)||y.set(X.file.ast.program,!0),ue.node.importKind==="type"){for(let Me of ue.node.specifiers)v(V,Me.local.name);ue.remove();continue}let de=new Set,Ae=ue.node.specifiers.length,Oe=()=>Ae>0&&Ae===de.size;for(let Me of ue.node.specifiers)if(Me.type==="ImportSpecifier"&&Me.importKind==="type"){v(V,Me.local.name);let ae=ue.scope.getBinding(Me.local.name);ae&&de.add(ae.path)}if(R)y.set(N.node,!1);else{if(ue.node.specifiers.length===0){y.set(N.node,!1);continue}for(let Me of ue.node.specifiers){let ae=ue.scope.getBinding(Me.local.name);ae&&!de.has(ae.path)&&(B({binding:ae,programPath:N,pragmaImportName:Q,pragmaFragImportName:ne})?de.add(ae.path):y.set(N.node,!1))}}if(Oe()&&!R)ue.remove();else for(let Me of de)Me.remove()}else if(ue.isExportDeclaration()&&(ue=ue.get("declaration")),ue.isVariableDeclaration({declare:!0}))for(let de of Object.keys(ue.getBindingIdentifiers()))v(V,de);else(ue.isTSTypeAliasDeclaration()||ue.isTSDeclareFunction()&&ue.get("id").isIdentifier()||ue.isTSInterfaceDeclaration()||ue.isClassDeclaration({declare:!0})||ue.isTSEnumDeclaration({declare:!0})||ue.isTSModuleDeclaration({declare:!0})&&ue.get("id").isIdentifier())&&v(V,ue.node.id.name)},exit(N){N.node.sourceType==="module"&&y.get(N.node)&&N.pushContainer("body",P.exportNamedDeclaration())}},ExportNamedDeclaration(N,X){if(y.has(X.file.ast.program)||y.set(X.file.ast.program,!0),N.node.exportKind!=="type")if(N.node.source&&N.node.specifiers.length>0&&N.node.specifiers.every(H=>H.type==="ExportSpecifier"&&H.exportKind==="type"))N.remove();else if(!N.node.source&&N.node.specifiers.length>0&&N.node.specifiers.every(H=>P.isExportSpecifier(H)&&E(N,H.local.name)))N.remove();else{if(P.isTSModuleDeclaration(N.node.declaration)){let H=N.node.declaration,{id:F}=H;if(P.isIdentifier(F))if(N.scope.hasOwnBinding(F.name))N.replaceWith(H);else{let[W]=N.replaceWithMultiple([P.exportNamedDeclaration(P.variableDeclaration("let",[P.variableDeclarator(P.cloneNode(F))])),H]);N.scope.registerDeclaration(W)}}y.set(X.file.ast.program,!1)}else N.remove()},ExportAllDeclaration(N){N.node.exportKind==="type"&&N.remove()},ExportSpecifier(N){(!N.parent.source&&E(N,N.node.local.name)||N.node.exportKind==="type")&&N.remove()},ExportDefaultDeclaration(N,X){y.has(X.file.ast.program)||y.set(X.file.ast.program,!0),P.isIdentifier(N.node.declaration)&&E(N,N.node.declaration.name)?N.remove():y.set(X.file.ast.program,!1)},TSDeclareFunction(N){S(N)},TSDeclareMethod(N){S(N)},VariableDeclaration(N){N.node.declare&&S(N)},VariableDeclarator({node:N}){N.definite&&(N.definite=null)},TSIndexSignature(N){N.remove()},ClassDeclaration(N){let{node:X}=N;X.declare&&S(N)},Class(N){let{node:X}=N;X.typeParameters&&(X.typeParameters=null),X.superTypeParameters&&(X.superTypeParameters=null),X.implements&&(X.implements=null),X.abstract&&(X.abstract=null),N.get("body.body").forEach(H=>{H.isClassMethod()||H.isClassPrivateMethod()?H.node.kind==="constructor"?$.constructor(H,N):$.method(H):(H.isClassProperty()||H.isClassPrivateProperty()||H.isClassAccessorProperty())&&$.field(H)})},Function(N){let{node:X}=N;X.typeParameters&&(X.typeParameters=null),X.returnType&&(X.returnType=null);let H=X.params;H.length>0&&P.isIdentifier(H[0],{name:"this"})&&H.shift()},TSModuleDeclaration(N){(0,f.default)(N,I)},TSInterfaceDeclaration(N){N.remove()},TSTypeAliasDeclaration(N){N.remove()},TSEnumDeclaration(N){z&&N.node.const?(0,s.default)(N,P):(0,l.default)(N,P)},TSImportEqualsDeclaration(N,X){let{id:H,moduleReference:F}=N.node,W,V;P.isTSExternalModuleReference(F)?(w(N,X,`import ${H.name} = require(...);`,`import ${H.name} from '...';`," alongside Typescript's --allowSyntheticDefaultImports option"),W=P.callExpression(P.identifier("require"),[F.expression]),V="const"):(W=G(F),V="var"),N.replaceWith(P.variableDeclaration(V,[P.variableDeclarator(H,W)])),N.scope.registerDeclaration(N)},TSExportAssignment(N,X){w(N,X,"export = <value>;","export default <value>;"),N.replaceWith(D.statement.ast`module.exports = ${N.node.expression}`)},TSTypeAssertion(N){N.replaceWith(N.node.expression)},["TSAsExpression"+(P.tsSatisfiesExpression?"|TSSatisfiesExpression":"")](N){let{node:X}=N;do X=X.expression;while(P.isTSAsExpression(X)||P.isTSSatisfiesExpression!=null&&P.isTSSatisfiesExpression(X));N.replaceWith(X)},[x.types.tsInstantiationExpression?"TSNonNullExpression|TSInstantiationExpression":"TSNonNullExpression"](N){N.replaceWith(N.node.expression)},CallExpression(N){N.node.typeParameters=null},OptionalCallExpression(N){N.node.typeParameters=null},NewExpression(N){N.node.typeParameters=null},JSXOpeningElement(N){N.node.typeParameters=null},TaggedTemplateExpression(N){N.node.typeParameters=null}}};function G(N){return P.isTSQualifiedName(N)?P.memberExpression(G(N.left),N.right):N}function U({node:N}){N.typeAnnotation&&(N.typeAnnotation=null),P.isIdentifier(N)&&N.optional&&(N.optional=null)}function B({binding:N,programPath:X,pragmaImportName:H,pragmaFragImportName:F}){for(let V of N.referencePaths)if(!p(V))return!1;if(N.identifier.name!==H&&N.identifier.name!==F)return!0;let W=!1;return X.traverse({"JSXElement|JSXFragment"(V){W=!0,V.stop()}}),!W}});r.default=A},"./node_modules/.pnpm/@babel+plugin-transform-typescript@7.22.15_@babel+core@7.22.15/node_modules/@babel/plugin-transform-typescript/lib/namespace.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(p,h){if(p.node.declare||p.node.id.type==="StringLiteral")return void p.remove();if(!h)throw p.get("id").buildCodeFrameError("Namespace not marked type-only declare. Non-declarative namespaces are only supported experimentally in Babel. To enable and review caveats see: https://babeljs.io/docs/en/babel-plugin-transform-typescript");let y=p.node.id.name,b=f(p,a.types.cloneNode(p.node,!0));b===null?p.remove():p.scope.hasOwnBinding(y)?p.replaceWith(b):p.scope.registerDeclaration(p.replaceWithMultiple([m(y),b])[0])};var a=u("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/index.js");function m(p){return a.types.variableDeclaration("let",[a.types.variableDeclarator(a.types.identifier(p))])}function d(p,h){return a.types.memberExpression(a.types.identifier(p),a.types.identifier(h))}function s(p,h,y){if(p.kind!=="const")throw y.file.buildCodeFrameError(p,"Namespaces exporting non-const are not supported by Babel. Change to const or see: https://babeljs.io/docs/en/babel-plugin-transform-typescript");let{declarations:b}=p;if(b.every(S=>a.types.isIdentifier(S.id))){for(let S of b)S.init=a.types.assignmentExpression("=",d(h,S.id.name),S.init);return[p]}let E=a.types.getBindingIdentifiers(p),v=[];for(let S in E)v.push(a.types.assignmentExpression("=",d(h,S),a.types.cloneNode(E[S])));return[p,a.types.expressionStatement(a.types.sequenceExpression(v))]}function l(p,h){return p.hub.buildError(h,"Ambient modules cannot be nested in other modules or namespaces.",Error)}function f(p,h,y){let b=new Set,E=h.id;a.types.assertIdentifier(E);let v=p.scope.generateUid(E.name),S=a.types.isTSModuleBlock(h.body)?h.body.body:[a.types.exportNamedDeclaration(h.body)],w=!0;for(let x=0;x<S.length;x++){let C=S[x];switch(C.type){case"TSModuleDeclaration":{if(!a.types.isIdentifier(C.id))throw l(p,C);let P=f(p,C);if(P!==null){w=!1;let D=C.id.name;b.has(D)?S[x]=P:(b.add(D),S.splice(x++,1,m(D),P))}continue}case"TSEnumDeclaration":case"FunctionDeclaration":case"ClassDeclaration":w=!1,b.add(C.id.name);continue;case"VariableDeclaration":w=!1;for(let P in a.types.getBindingIdentifiers(C))b.add(P);continue;default:w&&(w=a.types.isTypeScript(C));continue;case"ExportNamedDeclaration":}if(!("declare"in C.declaration)||!C.declaration.declare)switch(C.declaration.type){case"TSEnumDeclaration":case"FunctionDeclaration":case"ClassDeclaration":{w=!1;let P=C.declaration.id.name;b.add(P),S.splice(x++,1,C.declaration,a.types.expressionStatement(a.types.assignmentExpression("=",d(v,P),a.types.identifier(P))));break}case"VariableDeclaration":{w=!1;let P=s(C.declaration,v,p.hub);S.splice(x,P.length,...P),x+=P.length-1;break}case"TSModuleDeclaration":{if(!a.types.isIdentifier(C.declaration.id))throw l(p,C.declaration);let P=f(p,C.declaration,a.types.identifier(v));if(P!==null){w=!1;let D=C.declaration.id.name;b.has(D)?S[x]=P:(b.add(D),S.splice(x++,1,m(D),P))}else S.splice(x,1),x--}}}if(w)return null;let A=a.types.objectExpression([]);if(y){let x=a.types.memberExpression(y,E);A=a.template.expression.ast`
|
|
${a.types.cloneNode(x)} ||
|
|
(${a.types.cloneNode(x)} = ${A})
|
|
`}return a.template.statement.ast`
|
|
(function (${a.types.identifier(v)}) {
|
|
${S}
|
|
})(${E} || (${a.types.cloneNode(E)} = ${A}));
|
|
`}},"./node_modules/.pnpm/@babel+preset-typescript@7.22.15_@babel+core@7.22.15/node_modules/@babel/preset-typescript/lib/index.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var a=u("./node_modules/.pnpm/@babel+helper-plugin-utils@7.22.5/node_modules/@babel/helper-plugin-utils/lib/index.js"),m=u("./node_modules/.pnpm/@babel+plugin-transform-typescript@7.22.15_@babel+core@7.22.15/node_modules/@babel/plugin-transform-typescript/lib/index.js");u("./node_modules/.pnpm/@babel+plugin-syntax-jsx@7.22.5_@babel+core@7.22.15/node_modules/@babel/plugin-syntax-jsx/lib/index.js");var d=u("./node_modules/.pnpm/@babel+plugin-transform-modules-commonjs@7.22.15_@babel+core@7.22.15/node_modules/@babel/plugin-transform-modules-commonjs/lib/index.js"),s=u("./node_modules/.pnpm/@babel+helper-validator-option@7.22.15/node_modules/@babel/helper-validator-option/lib/index.js");function l(b){return b&&b.__esModule?b:{default:b}}var f=l(m),p=l(d);let h=new s.OptionValidator("@babel/preset-typescript");var y=a.declarePreset((b,E)=>{b.assertVersion(7);let{allExtensions:v,ignoreExtensions:S,allowNamespaces:w,disallowAmbiguousJSXLike:A,isTSX:x,jsxPragma:C,jsxPragmaFrag:P,onlyRemoveTypeImports:D,optimizeConstEnums:L}=function(M={}){let{allowNamespaces:R=!0,jsxPragma:z,onlyRemoveTypeImports:Y}=M,$="ignoreExtensions",G="disallowAmbiguousJSXLike",U="jsxPragmaFrag",B="optimizeConstEnums",N="allExtensions",X="isTSX",H=h.validateStringOption(U,M.jsxPragmaFrag,"React.Fragment");var F=h.validateBooleanOption(N,M.allExtensions,!1),W=h.validateBooleanOption(X,M.isTSX,!1);W&&h.invariant(F,"isTSX:true requires allExtensions:true");let V=h.validateBooleanOption($,M.ignoreExtensions,!1),Q=h.validateBooleanOption(G,M.disallowAmbiguousJSXLike,!1);Q&&h.invariant(F,"disallowAmbiguousJSXLike:true requires allExtensions:true");let ne={ignoreExtensions:V,allowNamespaces:R,disallowAmbiguousJSXLike:Q,jsxPragma:z,jsxPragmaFrag:H,onlyRemoveTypeImports:Y,optimizeConstEnums:h.validateBooleanOption(B,M.optimizeConstEnums,!1)};return ne.allExtensions=F,ne.isTSX=W,ne}(E),I=M=>({allowDeclareFields:E.allowDeclareFields,allowNamespaces:w,disallowAmbiguousJSXLike:M,jsxPragma:C,jsxPragmaFrag:P,onlyRemoveTypeImports:D,optimizeConstEnums:L}),j=(M,R)=>[[f.default,Object.assign({isTSX:M},I(R))]];return{overrides:v||S?[{plugins:j(x,A)}]:[{test:/\.ts$/,plugins:j(!1,!1)},{test:/\.mts$/,sourceType:"module",plugins:j(!1,!0)},{test:/\.cts$/,sourceType:"unambiguous",plugins:[[p.default,{allowTopLevelThis:!0}],[f.default,I(!0)]]},{test:/\.tsx$/,plugins:j(!0,!1)}]}});r.default=y},"./node_modules/.pnpm/@babel+template@7.22.15/node_modules/@babel/template/lib/builder.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function f(p,h){let y=new WeakMap,b=new WeakMap,E=h||(0,a.validate)(null);return Object.assign((v,...S)=>{if(typeof v=="string"){if(S.length>1)throw new Error("Unexpected extra params.");return l((0,m.default)(p,v,(0,a.merge)(E,(0,a.validate)(S[0]))))}if(Array.isArray(v)){let w=y.get(v);return w||(w=(0,d.default)(p,v,E),y.set(v,w)),l(w(S))}if(typeof v=="object"&&v){if(S.length>0)throw new Error("Unexpected extra params.");return f(p,(0,a.merge)(E,(0,a.validate)(v)))}throw new Error("Unexpected template param "+typeof v)},{ast:(v,...S)=>{if(typeof v=="string"){if(S.length>1)throw new Error("Unexpected extra params.");return(0,m.default)(p,v,(0,a.merge)((0,a.merge)(E,(0,a.validate)(S[0])),s))()}if(Array.isArray(v)){let w=b.get(v);return w||(w=(0,d.default)(p,v,(0,a.merge)(E,s)),b.set(v,w)),w(S)()}throw new Error("Unexpected template param "+typeof v)}})};var a=u("./node_modules/.pnpm/@babel+template@7.22.15/node_modules/@babel/template/lib/options.js"),m=u("./node_modules/.pnpm/@babel+template@7.22.15/node_modules/@babel/template/lib/string.js"),d=u("./node_modules/.pnpm/@babel+template@7.22.15/node_modules/@babel/template/lib/literal.js");let s=(0,a.validate)({placeholderPattern:!1});function l(f){let p="";try{throw new Error}catch(h){h.stack&&(p=h.stack.split(`
|
|
`).slice(3).join(`
|
|
`))}return h=>{try{return f(h)}catch(y){throw y.stack+=`
|
|
=============
|
|
${p}`,y}}}},"./node_modules/.pnpm/@babel+template@7.22.15/node_modules/@babel/template/lib/formatters.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.statements=r.statement=r.smart=r.program=r.expression=void 0;var a=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/index.js");let{assertExpressionStatement:m}=a;function d(h){return{code:y=>`/* @babel/template */;
|
|
${y}`,validate:()=>{},unwrap:y=>h(y.program.body.slice(1))}}let s=d(h=>h.length>1?h:h[0]);r.smart=s;let l=d(h=>h);r.statements=l;let f=d(h=>{if(h.length===0)throw new Error("Found nothing to return.");if(h.length>1)throw new Error("Found multiple statements but wanted one");return h[0]});r.statement=f;let p={code:h=>`(
|
|
${h}
|
|
)`,validate:h=>{if(h.program.body.length>1)throw new Error("Found multiple statements but wanted one");if(p.unwrap(h).start===0)throw new Error("Parse result included parens.")},unwrap:({program:h})=>{let[y]=h.body;return m(y),y.expression}};r.expression=p,r.program={code:h=>h,validate:()=>{},unwrap:h=>h.program}},"./node_modules/.pnpm/@babel+template@7.22.15/node_modules/@babel/template/lib/index.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.statements=r.statement=r.smart=r.program=r.expression=r.default=void 0;var a=u("./node_modules/.pnpm/@babel+template@7.22.15/node_modules/@babel/template/lib/formatters.js"),m=u("./node_modules/.pnpm/@babel+template@7.22.15/node_modules/@babel/template/lib/builder.js");let d=(0,m.default)(a.smart);r.smart=d;let s=(0,m.default)(a.statement);r.statement=s;let l=(0,m.default)(a.statements);r.statements=l;let f=(0,m.default)(a.expression);r.expression=f;let p=(0,m.default)(a.program);r.program=p;var h=Object.assign(d.bind(void 0),{smart:d,statement:s,statements:l,expression:f,program:p,ast:d.ast});r.default=h},"./node_modules/.pnpm/@babel+template@7.22.15/node_modules/@babel/template/lib/literal.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(s,l,f){let{metadata:p,names:h}=function(y,b,E){let v="BABEL_TPL$",S=b.join("");do v="$$"+v;while(S.includes(v));let{names:w,code:A}=function(C,P){let D=[],L=C[0];for(let I=1;I<C.length;I++){let j=`${P}${I-1}`;D.push(j),L+=j+C[I]}return{names:D,code:L}}(b,v);return{metadata:(0,m.default)(y,y.code(A),{parser:E.parser,placeholderWhitelist:new Set(w.concat(E.placeholderWhitelist?Array.from(E.placeholderWhitelist):[])),placeholderPattern:E.placeholderPattern,preserveComments:E.preserveComments,syntacticPlaceholders:E.syntacticPlaceholders}),names:w}}(s,l,f);return y=>{let b={};return y.forEach((E,v)=>{b[h[v]]=E}),E=>{let v=(0,a.normalizeReplacements)(E);return v&&Object.keys(v).forEach(S=>{if(Object.prototype.hasOwnProperty.call(b,S))throw new Error("Unexpected replacement overlap.")}),s.unwrap((0,d.default)(p,v?Object.assign(v,b):b))}}};var a=u("./node_modules/.pnpm/@babel+template@7.22.15/node_modules/@babel/template/lib/options.js"),m=u("./node_modules/.pnpm/@babel+template@7.22.15/node_modules/@babel/template/lib/parse.js"),d=u("./node_modules/.pnpm/@babel+template@7.22.15/node_modules/@babel/template/lib/populate.js")},"./node_modules/.pnpm/@babel+template@7.22.15/node_modules/@babel/template/lib/options.js":(o,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.merge=function(a,m){let{placeholderWhitelist:d=a.placeholderWhitelist,placeholderPattern:s=a.placeholderPattern,preserveComments:l=a.preserveComments,syntacticPlaceholders:f=a.syntacticPlaceholders}=m;return{parser:Object.assign({},a.parser,m.parser),placeholderWhitelist:d,placeholderPattern:s,preserveComments:l,syntacticPlaceholders:f}},r.normalizeReplacements=function(a){if(Array.isArray(a))return a.reduce((m,d,s)=>(m["$"+s]=d,m),{});if(typeof a=="object"||a==null)return a||void 0;throw new Error("Template replacements must be an array, object, null, or undefined")},r.validate=function(a){if(a!=null&&typeof a!="object")throw new Error("Unknown template options.");let m=a||{},{placeholderWhitelist:d,placeholderPattern:s,preserveComments:l,syntacticPlaceholders:f}=m,p=function(h,y){if(h==null)return{};var b,E,v={},S=Object.keys(h);for(E=0;E<S.length;E++)b=S[E],y.indexOf(b)>=0||(v[b]=h[b]);return v}(m,u);if(d!=null&&!(d instanceof Set))throw new Error("'.placeholderWhitelist' must be a Set, null, or undefined");if(s!=null&&!(s instanceof RegExp)&&s!==!1)throw new Error("'.placeholderPattern' must be a RegExp, false, null, or undefined");if(l!=null&&typeof l!="boolean")throw new Error("'.preserveComments' must be a boolean, null, or undefined");if(f!=null&&typeof f!="boolean")throw new Error("'.syntacticPlaceholders' must be a boolean, null, or undefined");if(f===!0&&(d!=null||s!=null))throw new Error("'.placeholderWhitelist' and '.placeholderPattern' aren't compatible with '.syntacticPlaceholders: true'");return{parser:p,placeholderWhitelist:d||void 0,placeholderPattern:s??void 0,preserveComments:l??void 0,syntacticPlaceholders:f??void 0}};let u=["placeholderWhitelist","placeholderPattern","preserveComments","syntacticPlaceholders"]},"./node_modules/.pnpm/@babel+template@7.22.15/node_modules/@babel/template/lib/parse.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(C,P,D){let{placeholderWhitelist:L,placeholderPattern:I,preserveComments:j,syntacticPlaceholders:M}=D,R=function(Y,$,G){let U=($.plugins||[]).slice();G!==!1&&U.push("placeholders"),$=Object.assign({allowReturnOutsideFunction:!0,allowSuperOutsideMethod:!0,sourceType:"module"},$,{plugins:U});try{return(0,m.parse)(Y,$)}catch(B){let N=B.loc;throw N&&(B.message+=`
|
|
`+(0,d.codeFrameColumns)(Y,{start:N}),B.code="BABEL_TEMPLATE_PARSE_ERROR"),B}}(P,D.parser,M);S(R,{preserveComments:j}),C.validate(R);let z={syntactic:{placeholders:[],placeholderNames:new Set},legacy:{placeholders:[],placeholderNames:new Set},placeholderWhitelist:L,placeholderPattern:I,syntacticPlaceholders:M};return w(R,x,z),Object.assign({ast:R},z.syntactic.placeholders.length?z.syntactic:z.legacy)};var a=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/index.js"),m=u("./node_modules/.pnpm/@babel+parser@7.22.16/node_modules/@babel/parser/lib/index.js"),d=u("./stubs/babel-codeframe.js");let{isCallExpression:s,isExpressionStatement:l,isFunction:f,isIdentifier:p,isJSXIdentifier:h,isNewExpression:y,isPlaceholder:b,isStatement:E,isStringLiteral:v,removePropertiesDeep:S,traverse:w}=a,A=/^[_$A-Z0-9]+$/;function x(C,P,D){var L;let I,j=D.syntactic.placeholders.length>0;if(b(C)){if(D.syntacticPlaceholders===!1)throw new Error("%%foo%%-style placeholders can't be used when '.syntacticPlaceholders' is false.");I=C.name.name,j=!0}else{if(j||D.syntacticPlaceholders)return;if(p(C)||h(C))I=C.name;else{if(!v(C))return;I=C.value}}if(j&&(D.placeholderPattern!=null||D.placeholderWhitelist!=null))throw new Error("'.placeholderWhitelist' and '.placeholderPattern' aren't compatible with '.syntacticPlaceholders: true'");if(!(j||D.placeholderPattern!==!1&&(D.placeholderPattern||A).test(I)||(L=D.placeholderWhitelist)!=null&&L.has(I)))return;P=P.slice();let{node:M,key:R}=P[P.length-1],z;v(C)||b(C,{expectedNode:"StringLiteral"})?z="string":y(M)&&R==="arguments"||s(M)&&R==="arguments"||f(M)&&R==="params"?z="param":l(M)&&!b(C)?(z="statement",P=P.slice(0,-1)):z=E(C)&&b(C)?"statement":"other";let{placeholders:Y,placeholderNames:$}=j?D.syntactic:D.legacy;Y.push({name:I,type:z,resolve:G=>function(U,B){let N=U;for(let F=0;F<B.length-1;F++){let{key:W,index:V}=B[F];N=V===void 0?N[W]:N[W][V]}let{key:X,index:H}=B[B.length-1];return{parent:N,key:X,index:H}}(G,P),isDuplicate:$.has(I)}),$.add(I)}},"./node_modules/.pnpm/@babel+template@7.22.15/node_modules/@babel/template/lib/populate.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(E,v){let S=d(E.ast);return v&&(E.placeholders.forEach(w=>{if(!Object.prototype.hasOwnProperty.call(v,w.name)){let A=w.name;throw new Error(`Error: No substitution given for "${A}". If this is not meant to be a
|
|
placeholder you may want to consider passing one of the following options to @babel/template:
|
|
- { placeholderPattern: false, placeholderWhitelist: new Set(['${A}'])}
|
|
- { placeholderPattern: /^${A}$/ }`)}}),Object.keys(v).forEach(w=>{if(!E.placeholderNames.has(w))throw new Error(`Unknown substitution "${w}" given`)})),E.placeholders.slice().reverse().forEach(w=>{try{(function(A,x,C){A.isDuplicate&&(Array.isArray(C)?C=C.map(I=>d(I)):typeof C=="object"&&(C=d(C)));let{parent:P,key:D,index:L}=A.resolve(x);if(A.type==="string"){if(typeof C=="string"&&(C=y(C)),!C||!h(C))throw new Error("Expected string substitution")}else if(A.type==="statement")L===void 0?C?Array.isArray(C)?C=m(C):typeof C=="string"?C=l(f(C)):p(C)||(C=l(C)):C=s():C&&!Array.isArray(C)&&(typeof C=="string"&&(C=f(C)),p(C)||(C=l(C)));else if(A.type==="param"){if(typeof C=="string"&&(C=f(C)),L===void 0)throw new Error("Assertion failure.")}else if(typeof C=="string"&&(C=f(C)),Array.isArray(C))throw new Error("Cannot replace single expression with an array.");if(L===void 0)b(P,D,C),P[D]=C;else{let I=P[D].slice();A.type==="statement"||A.type==="param"?C==null?I.splice(L,1):Array.isArray(C)?I.splice(L,1,...C):I[L]=C:I[L]=C,b(P,D,I),P[D]=I}})(w,S,v&&v[w.name]||null)}catch(A){throw A.message=`@babel/template placeholder "${w.name}": ${A.message}`,A}}),S};var a=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/index.js");let{blockStatement:m,cloneNode:d,emptyStatement:s,expressionStatement:l,identifier:f,isStatement:p,isStringLiteral:h,stringLiteral:y,validate:b}=a},"./node_modules/.pnpm/@babel+template@7.22.15/node_modules/@babel/template/lib/string.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(s,l,f){let p;return l=s.code(l),h=>{let y=(0,a.normalizeReplacements)(h);return p||(p=(0,m.default)(s,l,f)),s.unwrap((0,d.default)(p,y))}};var a=u("./node_modules/.pnpm/@babel+template@7.22.15/node_modules/@babel/template/lib/options.js"),m=u("./node_modules/.pnpm/@babel+template@7.22.15/node_modules/@babel/template/lib/parse.js"),d=u("./node_modules/.pnpm/@babel+template@7.22.15/node_modules/@babel/template/lib/populate.js")},"./node_modules/.pnpm/@babel+traverse@7.22.15/node_modules/@babel/traverse/lib/cache.js":(o,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.clear=function(){m(),d()},r.clearPath=m,r.clearScope=d,r.getCachedPaths=function(l,f){var p;return(p=u.get(s))==null?void 0:p.get(f)},r.getOrCreateCachedPaths=function(l,f){let p=u.get(s);p||u.set(s,p=new WeakMap);let h=p.get(f);return h||p.set(f,h=new Map),h},r.scope=r.path=void 0;let u=new WeakMap;r.path=u;let a=new WeakMap;function m(){r.path=u=new WeakMap}function d(){r.scope=a=new WeakMap}r.scope=a;let s=Object.freeze({})},"./node_modules/.pnpm/@babel+traverse@7.22.15/node_modules/@babel/traverse/lib/context.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var a=u("./node_modules/.pnpm/@babel+traverse@7.22.15/node_modules/@babel/traverse/lib/path/index.js"),m=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/index.js");let{VISITOR_KEYS:d}=m;r.default=class{constructor(s,l,f,p){this.queue=null,this.priorityQueue=null,this.parentPath=p,this.scope=s,this.state=f,this.opts=l}shouldVisit(s){let l=this.opts;if(l.enter||l.exit||l[s.type])return!0;let f=d[s.type];if(f==null||!f.length)return!1;for(let p of f)if(s[p])return!0;return!1}create(s,l,f,p){return a.default.get({parentPath:this.parentPath,parent:s,container:l,key:f,listKey:p})}maybeQueue(s,l){this.queue&&(l?this.queue.push(s):this.priorityQueue.push(s))}visitMultiple(s,l,f){if(s.length===0)return!1;let p=[];for(let h=0;h<s.length;h++){let y=s[h];y&&this.shouldVisit(y)&&p.push(this.create(l,s,h,f))}return this.visitQueue(p)}visitSingle(s,l){return!!this.shouldVisit(s[l])&&this.visitQueue([this.create(s,s,l)])}visitQueue(s){this.queue=s,this.priorityQueue=[];let l=new WeakSet,f=!1;for(let p of s){if(p.resync(),p.contexts.length!==0&&p.contexts[p.contexts.length-1]===this||p.pushContext(this),p.key===null)continue;let{node:h}=p;if(!l.has(h)){if(h&&l.add(h),p.visit()){f=!0;break}if(this.priorityQueue.length&&(f=this.visitQueue(this.priorityQueue),this.priorityQueue=[],this.queue=s,f))break}}for(let p of s)p.popContext();return this.queue=null,f}visit(s,l){let f=s[l];return!!f&&(Array.isArray(f)?this.visitMultiple(f,s,l):this.visitSingle(s,l))}}},"./node_modules/.pnpm/@babel+traverse@7.22.15/node_modules/@babel/traverse/lib/hub.js":(o,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default=class{getCode(){}getScope(){}addHelper(){throw new Error("Helpers are not supported by the default hub.")}buildError(u,a,m=TypeError){return new m(a)}}},"./node_modules/.pnpm/@babel+traverse@7.22.15/node_modules/@babel/traverse/lib/index.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"Hub",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(r,"NodePath",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(r,"Scope",{enumerable:!0,get:function(){return f.default}}),r.visitors=r.default=void 0;var a=u("./node_modules/.pnpm/@babel+traverse@7.22.15/node_modules/@babel/traverse/lib/visitors.js");r.visitors=a;var m=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/index.js"),d=u("./node_modules/.pnpm/@babel+traverse@7.22.15/node_modules/@babel/traverse/lib/cache.js"),s=u("./node_modules/.pnpm/@babel+traverse@7.22.15/node_modules/@babel/traverse/lib/traverse-node.js"),l=u("./node_modules/.pnpm/@babel+traverse@7.22.15/node_modules/@babel/traverse/lib/path/index.js"),f=u("./node_modules/.pnpm/@babel+traverse@7.22.15/node_modules/@babel/traverse/lib/scope/index.js"),p=u("./node_modules/.pnpm/@babel+traverse@7.22.15/node_modules/@babel/traverse/lib/hub.js");let{VISITOR_KEYS:h,removeProperties:y,traverseFast:b}=m;function E(w,A={},x,C,P,D){if(w){if(!A.noScope&&!x&&w.type!=="Program"&&w.type!=="File")throw new Error(`You must pass a scope and parentPath unless traversing a Program/File. Instead of that you tried to traverse a ${w.type} node without passing scope and parentPath.`);if(!P&&D)throw new Error("visitSelf can only be used when providing a NodePath.");h[w.type]&&(a.explode(A),(0,s.traverseNode)(w,A,x,C,P,null,D))}}var v=E;function S(w,A){w.node.type===A.type&&(A.has=!0,w.stop())}r.default=v,E.visitors=a,E.verify=a.verify,E.explode=a.explode,E.cheap=function(w,A){b(w,A)},E.node=function(w,A,x,C,P,D){(0,s.traverseNode)(w,A,x,C,P,D)},E.clearNode=function(w,A){y(w,A)},E.removeProperties=function(w,A){return b(w,E.clearNode,A),w},E.hasType=function(w,A,x){if(x!=null&&x.includes(w.type))return!1;if(w.type===A)return!0;let C={has:!1,type:A};return E(w,{noScope:!0,denylist:x,enter:S},null,C),C.has},E.cache=d},"./node_modules/.pnpm/@babel+traverse@7.22.15/node_modules/@babel/traverse/lib/path/ancestry.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.find=function(d){let s=this;do if(d(s))return s;while(s=s.parentPath);return null},r.findParent=function(d){let s=this;for(;s=s.parentPath;)if(d(s))return s;return null},r.getAncestry=function(){let d=this,s=[];do s.push(d);while(d=d.parentPath);return s},r.getDeepestCommonAncestorFrom=function(d,s){if(!d.length)return this;if(d.length===1)return d[0];let l,f,p=1/0,h=d.map(b=>{let E=[];do E.unshift(b);while((b=b.parentPath)&&b!==this);return E.length<p&&(p=E.length),E}),y=h[0];e:for(let b=0;b<p;b++){let E=y[b];for(let v of h)if(v[b]!==E)break e;l=b,f=E}if(f)return s?s(f,l,h):f;throw new Error("Couldn't find intersection")},r.getEarliestCommonAncestorFrom=function(d){return this.getDeepestCommonAncestorFrom(d,function(s,l,f){let p,h=m[s.type];for(let y of f){let b=y[l+1];if(!p){p=b;continue}if(b.listKey&&p.listKey===b.listKey&&b.key<p.key){p=b;continue}h.indexOf(p.parentKey)>h.indexOf(b.parentKey)&&(p=b)}return p})},r.getFunctionParent=function(){return this.findParent(d=>d.isFunction())},r.getStatementParent=function(){let d=this;do{if(!d.parentPath||Array.isArray(d.container)&&d.isStatement())break;d=d.parentPath}while(d);if(d&&(d.isProgram()||d.isFile()))throw new Error("File/Program node, we can't possibly find a statement parent to this");return d},r.inType=function(...d){let s=this;for(;s;){for(let l of d)if(s.node.type===l)return!0;s=s.parentPath}return!1},r.isAncestor=function(d){return d.isDescendant(this)},r.isDescendant=function(d){return!!this.findParent(s=>s===d)};var a=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/index.js");let{VISITOR_KEYS:m}=a},"./node_modules/.pnpm/@babel+traverse@7.22.15/node_modules/@babel/traverse/lib/path/comments.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.addComment=function(l,f,p){m(this.node,l,f,p)},r.addComments=function(l,f){d(this.node,l,f)},r.shareCommentsWithSiblings=function(){if(typeof this.key=="string")return;let l=this.node;if(!l)return;let f=l.trailingComments,p=l.leadingComments;if(!f&&!p)return;let h=this.getSibling(this.key-1),y=this.getSibling(this.key+1),b=!!h.node,E=!!y.node;b&&(p&&h.addComments("trailing",s(p,h.node.trailingComments)),f&&!E&&h.addComments("trailing",f)),E&&(f&&y.addComments("leading",s(f,y.node.leadingComments)),p&&!b&&y.addComments("leading",p))};var a=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/index.js");let{addComment:m,addComments:d}=a;function s(l,f){if(!f)return l;let p=-1;return l.filter(h=>{let y=f.indexOf(h,p);if(y===-1)return!0;p=y})}},"./node_modules/.pnpm/@babel+traverse@7.22.15/node_modules/@babel/traverse/lib/path/context.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r._call=function(s){if(!s)return!1;for(let l of s){if(!l)continue;let f=this.node;if(!f)return!0;let p=l.call(this.state,this,this.state);if(p&&typeof p=="object"&&typeof p.then=="function")throw new Error("You appear to be using a plugin with an async traversal visitor, which your current version of Babel does not support. If you're using a published plugin, you may need to upgrade your @babel/core version.");if(p)throw new Error(`Unexpected return value from visitor method ${l}`);if(this.node!==f||this._traverseFlags>0)return!0}return!1},r._getQueueContexts=function(){let s=this,l=this.contexts;for(;!l.length&&(s=s.parentPath,s);)l=s.contexts;return l},r._resyncKey=function(){if(this.container&&this.node!==this.container[this.key]){if(Array.isArray(this.container)){for(let s=0;s<this.container.length;s++)if(this.container[s]===this.node)return void this.setKey(s)}else for(let s of Object.keys(this.container))if(this.container[s]===this.node)return void this.setKey(s);this.key=null}},r._resyncList=function(){if(!this.parent||!this.inList)return;let s=this.parent[this.listKey];this.container!==s&&(this.container=s||null)},r._resyncParent=function(){this.parentPath&&(this.parent=this.parentPath.node)},r._resyncRemoved=function(){this.key!=null&&this.container&&this.container[this.key]===this.node||this._markRemoved()},r.call=function(s){let l=this.opts;if(this.debug(s),this.node&&this._call(l[s]))return!0;var f;return!!this.node&&this._call((f=l[this.node.type])==null?void 0:f[s])},r.isBlacklisted=r.isDenylisted=function(){var s;let l=(s=this.opts.denylist)!=null?s:this.opts.blacklist;return l&&l.indexOf(this.node.type)>-1},r.popContext=function(){this.contexts.pop(),this.contexts.length>0?this.setContext(this.contexts[this.contexts.length-1]):this.setContext(void 0)},r.pushContext=function(s){this.contexts.push(s),this.setContext(s)},r.requeue=function(s=this){if(s.removed)return;let l=this.contexts;for(let f of l)f.maybeQueue(s)},r.resync=function(){this.removed||(this._resyncParent(),this._resyncList(),this._resyncKey())},r.setContext=function(s){return this.skipKeys!=null&&(this.skipKeys={}),this._traverseFlags=0,s&&(this.context=s,this.state=s.state,this.opts=s.opts),this.setScope(),this},r.setKey=function(s){var l;this.key=s,this.node=this.container[this.key],this.type=(l=this.node)==null?void 0:l.type},r.setScope=function(){var s,l;if((s=this.opts)!=null&&s.noScope)return;let f,p=this.parentPath;for(((this.key==="key"||this.listKey==="decorators")&&p.isMethod()||this.key==="discriminant"&&p.isSwitchStatement())&&(p=p.parentPath);p&&!f;){var h;if((h=p.opts)!=null&&h.noScope)return;f=p.scope,p=p.parentPath}this.scope=this.getScope(f),(l=this.scope)==null||l.init()},r.setup=function(s,l,f,p){this.listKey=f,this.container=l,this.parentPath=s||this.parentPath,this.setKey(p)},r.skip=function(){this.shouldSkip=!0},r.skipKey=function(s){this.skipKeys==null&&(this.skipKeys={}),this.skipKeys[s]=!0},r.stop=function(){this._traverseFlags|=m.SHOULD_SKIP|m.SHOULD_STOP},r.visit=function(){var s,l;if(!this.node||this.isDenylisted()||(s=(l=this.opts).shouldSkip)!=null&&s.call(l,this))return!1;let f=this.context;return this.shouldSkip||this.call("enter")?(this.debug("Skip..."),this.shouldStop):(d(this,f),this.debug("Recursing into..."),this.shouldStop=(0,a.traverseNode)(this.node,this.opts,this.scope,this.state,this,this.skipKeys),d(this,f),this.call("exit"),this.shouldStop)};var a=u("./node_modules/.pnpm/@babel+traverse@7.22.15/node_modules/@babel/traverse/lib/traverse-node.js"),m=u("./node_modules/.pnpm/@babel+traverse@7.22.15/node_modules/@babel/traverse/lib/path/index.js");function d(s,l){s.context!==l&&(s.context=l,s.state=l.state,s.opts=l.opts)}},"./node_modules/.pnpm/@babel+traverse@7.22.15/node_modules/@babel/traverse/lib/path/conversion.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.arrowFunctionToExpression=function({allowInsertArrow:V=!0,allowInsertArrowWithRest:Q=V,noNewArrows:ne=!(ue=>(ue=arguments[0])==null?void 0:ue.specCompliant)()}={}){if(!this.isArrowFunctionExpression())throw this.buildCodeFrameError("Cannot convert non-arrow function to a function expression.");let{thisBinding:ue,fnPath:de}=N(this,ne,V,Q);if(de.ensureBlock(),function(Ae,Oe){Ae.node.type=Oe}(de,"FunctionExpression"),!ne){let Ae=ue?null:de.scope.generateUidIdentifier("arrowCheckId");return Ae&&de.parentPath.scope.push({id:Ae,init:L([])}),de.get("body").unshiftContainer("body",E(y(this.hub.addHelper("newArrowCheck"),[$(),v(Ae?Ae.name:ue)]))),de.replaceWith(y(C((0,d.default)(this,!0)||de.node,v("bind")),[Ae?v(Ae.name):$()])),de.get("callee.object")}return de},r.ensureBlock=function(){let V=this.get("body"),Q=V.node;if(Array.isArray(V))throw new Error("Can't convert array path to a block statement");if(!Q)throw new Error("Can't convert node without a body");if(V.isBlockStatement())return Q;let ne=[],ue,de,Ae="body";V.isStatement()?(de="body",ue=0,ne.push(V.node)):(Ae+=".body.0",this.isFunction()?(ue="argument",ne.push(j(V.node))):(ue="expression",ne.push(E(V.node)))),this.node.body=h(ne);let Oe=this.get(Ae);return V.setup(Oe,de?Oe.node[de]:Oe.node,de,ue),this.node},r.toComputedKey=function(){let V;if(this.isMemberExpression())V=this.node.property;else{if(!this.isProperty()&&!this.isMethod())throw new ReferenceError("todo");V=this.node.key}return this.node.computed||S(V)&&(V=z(V.name)),V},r.unwrapFunctionEnvironment=function(){if(!this.isArrowFunctionExpression()&&!this.isFunctionExpression()&&!this.isFunctionDeclaration())throw this.buildCodeFrameError("Can only unwrap the environment of a function.");N(this)};var a=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/index.js"),m=u("./node_modules/.pnpm/@babel+helper-environment-visitor@7.22.5/node_modules/@babel/helper-environment-visitor/lib/index.js"),d=u("./node_modules/.pnpm/@babel+helper-function-name@7.22.5/node_modules/@babel/helper-function-name/lib/index.js"),s=u("./node_modules/.pnpm/@babel+traverse@7.22.15/node_modules/@babel/traverse/lib/visitors.js");let{arrowFunctionExpression:l,assignmentExpression:f,binaryExpression:p,blockStatement:h,callExpression:y,conditionalExpression:b,expressionStatement:E,identifier:v,isIdentifier:S,jsxIdentifier:w,logicalExpression:A,LOGICAL_OPERATORS:x,memberExpression:C,metaProperty:P,numericLiteral:D,objectExpression:L,restElement:I,returnStatement:j,sequenceExpression:M,spreadElement:R,stringLiteral:z,super:Y,thisExpression:$,toExpression:G,unaryExpression:U}=a;r.arrowFunctionToShadowed=function(){this.isArrowFunctionExpression()&&this.arrowFunctionToExpression()};let B=(0,s.merge)([{CallExpression(V,{allSuperCalls:Q}){V.get("callee").isSuper()&&Q.push(V)}},m.default]);function N(V,Q=!0,ne=!0,ue=!0){let de,Ae=V.findParent(oe=>oe.isArrowFunctionExpression()?(de!=null||(de=oe),!1):oe.isFunction()||oe.isProgram()||oe.isClassProperty({static:!1})||oe.isClassPrivateProperty({static:!1})),Oe=Ae.isClassMethod({kind:"constructor"});if(Ae.isClassProperty()||Ae.isClassPrivateProperty())if(de)Ae=de;else{if(!ne)throw V.buildCodeFrameError("Unable to transform arrow inside class property");V.replaceWith(y(l([],G(V.node)),[])),Ae=V.get("callee"),V=Ae.get("body")}let{thisPaths:Me,argumentsPaths:ae,newTargetPaths:se,superProps:ye,superCalls:be}=function(oe){let J=[],De=[],Ke=[],ke=[],Qe=[];return oe.traverse(W,{thisPaths:J,argumentsPaths:De,newTargetPaths:Ke,superProps:ke,superCalls:Qe}),{thisPaths:J,argumentsPaths:De,newTargetPaths:Ke,superProps:ke,superCalls:Qe}}(V);if(Oe&&be.length>0){if(!ne)throw be[0].buildCodeFrameError("When using '@babel/plugin-transform-arrow-functions', it's not possible to compile `super()` in an arrow function without compiling classes.\nPlease add '@babel/plugin-transform-classes' to your Babel configuration.");if(!ue)throw be[0].buildCodeFrameError("When using '@babel/plugin-transform-parameters', it's not possible to compile `super()` in an arrow function with default or rest parameters without compiling classes.\nPlease add '@babel/plugin-transform-classes' to your Babel configuration.");let oe=[];Ae.traverse(B,{allSuperCalls:oe});let J=function(De){return F(De,"supercall",()=>{let Ke=De.scope.generateUidIdentifier("args");return l([I(Ke)],y(Y(),[R(v(Ke.name))]))})}(Ae);oe.forEach(De=>{let Ke=v(J);Ke.loc=De.node.callee.loc,De.get("callee").replaceWith(Ke)})}if(ae.length>0){let oe=F(Ae,"arguments",()=>{let J=()=>v("arguments");return Ae.scope.path.isProgram()?b(p("===",U("typeof",J()),z("undefined")),Ae.scope.buildUndefinedNode(),J()):J()});ae.forEach(J=>{let De=v(oe);De.loc=J.node.loc,J.replaceWith(De)})}if(se.length>0){let oe=F(Ae,"newtarget",()=>P(v("new"),v("target")));se.forEach(J=>{let De=v(oe);De.loc=J.node.loc,J.replaceWith(De)})}if(ye.length>0){if(!ne)throw ye[0].buildCodeFrameError("When using '@babel/plugin-transform-arrow-functions', it's not possible to compile `super.prop` in an arrow function without compiling classes.\nPlease add '@babel/plugin-transform-classes' to your Babel configuration.");ye.reduce((oe,J)=>oe.concat(function(De){if(De.parentPath.isAssignmentExpression()&&De.parentPath.node.operator!=="="){let ke=De.parentPath,Qe=ke.node.operator.slice(0,-1),pt=ke.node.right,dt=function(Ue){return x.includes(Ue)}(Qe);if(De.node.computed){let Ue=De.scope.generateDeclaredUidIdentifier("tmp"),ce=De.node.object,xe=De.node.property;ke.get("left").replaceWith(C(ce,f("=",Ue,xe),!0)),ke.get("right").replaceWith(Ke(dt?"=":Qe,C(ce,v(Ue.name),!0),pt))}else{let Ue=De.node.object,ce=De.node.property;ke.get("left").replaceWith(C(Ue,ce)),ke.get("right").replaceWith(Ke(dt?"=":Qe,C(Ue,v(ce.name)),pt))}return dt?ke.replaceWith(A(Qe,ke.node.left,ke.node.right)):ke.node.operator="=",[ke.get("left"),ke.get("right").get("left")]}if(De.parentPath.isUpdateExpression()){let ke=De.parentPath,Qe=De.scope.generateDeclaredUidIdentifier("tmp"),pt=De.node.computed?De.scope.generateDeclaredUidIdentifier("prop"):null,dt=[f("=",Qe,C(De.node.object,pt?f("=",pt,De.node.property):De.node.property,De.node.computed)),f("=",C(De.node.object,pt?v(pt.name):De.node.property,De.node.computed),p(De.parentPath.node.operator[0],v(Qe.name),D(1)))];return De.parentPath.node.prefix||dt.push(v(Qe.name)),ke.replaceWith(M(dt)),[ke.get("expressions.0.right"),ke.get("expressions.1.left")]}return[De];function Ke(ke,Qe,pt){return ke==="="?f("=",Qe,pt):p(ke,Qe,pt)}}(J)),[]).forEach(oe=>{let J=oe.node.computed?"":oe.get("property").node.name,De=oe.parentPath,Ke=De.isAssignmentExpression({left:oe.node}),ke=De.isCallExpression({callee:oe.node}),Qe=De.isTaggedTemplateExpression({tag:oe.node}),pt=function(ce,xe,he){return F(ce,`superprop_${xe?"set":"get"}:${he||""}`,()=>{let et=[],ut;if(he)ut=C(Y(),v(he));else{let Kt=ce.scope.generateUidIdentifier("prop");et.unshift(Kt),ut=C(Y(),v(Kt.name),!0)}if(xe){let Kt=ce.scope.generateUidIdentifier("value");et.push(Kt),ut=f("=",ut,v(Kt.name))}return l(et,ut)})}(Ae,Ke,J),dt=[];if(oe.node.computed&&dt.push(oe.get("property").node),Ke){let ce=De.node.right;dt.push(ce)}let Ue=y(v(pt),dt);ke?(De.unshiftContainer("arguments",$()),oe.replaceWith(C(Ue,v("call"))),Me.push(De.get("arguments.0"))):Ke?De.replaceWith(Ue):Qe?(oe.replaceWith(y(C(Ue,v("bind"),!1),[$()])),Me.push(oe.get("arguments.0"))):oe.replaceWith(Ue)})}let Ee;return(Me.length>0||!Q)&&(Ee=function(oe,J){return F(oe,"this",De=>{if(!J||!X(oe))return $();oe.traverse(H,{supers:new WeakSet,thisBinding:De})})}(Ae,Oe),(Q||Oe&&X(Ae))&&(Me.forEach(oe=>{let J=oe.isJSX()?w(Ee):v(Ee);J.loc=oe.node.loc,oe.replaceWith(J)}),Q||(Ee=null))),{thisBinding:Ee,fnPath:V}}function X(V){return V.isClassMethod()&&!!V.parentPath.parentPath.node.superClass}let H=(0,s.merge)([{CallExpression(V,{supers:Q,thisBinding:ne}){V.get("callee").isSuper()&&(Q.has(V.node)||(Q.add(V.node),V.replaceWithMultiple([V.node,f("=",v(ne),v("this"))])))}},m.default]);function F(V,Q,ne){let ue="binding:"+Q,de=V.getData(ue);if(!de){let Ae=V.scope.generateUidIdentifier(Q);de=Ae.name,V.setData(ue,de),V.scope.push({id:Ae,init:ne(de)})}return de}let W=(0,s.merge)([{ThisExpression(V,{thisPaths:Q}){Q.push(V)},JSXIdentifier(V,{thisPaths:Q}){V.node.name==="this"&&(V.parentPath.isJSXMemberExpression({object:V.node})||V.parentPath.isJSXOpeningElement({name:V.node}))&&Q.push(V)},CallExpression(V,{superCalls:Q}){V.get("callee").isSuper()&&Q.push(V)},MemberExpression(V,{superProps:Q}){V.get("object").isSuper()&&Q.push(V)},Identifier(V,{argumentsPaths:Q}){if(!V.isReferencedIdentifier({name:"arguments"}))return;let ne=V.scope;do{if(ne.hasOwnBinding("arguments"))return void ne.rename("arguments");if(ne.path.isFunction()&&!ne.path.isArrowFunctionExpression())break}while(ne=ne.parent);Q.push(V)},MetaProperty(V,{newTargetPaths:Q}){V.get("meta").isIdentifier({name:"new"})&&V.get("property").isIdentifier({name:"target"})&&Q.push(V)}},m.default])},"./node_modules/.pnpm/@babel+traverse@7.22.15/node_modules/@babel/traverse/lib/path/evaluation.js":(o,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.evaluate=function(){let p={confident:!0,deoptPath:null,seen:new Map},h=l(this,p);return p.confident||(h=void 0),{confident:p.confident,deopt:p.deoptPath,value:h}},r.evaluateTruthy=function(){let p=this.evaluate();if(p.confident)return!!p.value};let u=["String","Number","Math"],a=["random"];function m(p){return u.includes(p)}function d(p,h){h.confident&&(h.deoptPath=p,h.confident=!1)}let s=new Map([["undefined",void 0],["Infinity",1/0],["NaN",NaN]]);function l(p,h){let{node:y}=p,{seen:b}=h;if(b.has(y)){let E=b.get(y);return E.resolved?E.value:void d(p,h)}{let E={resolved:!1};b.set(y,E);let v=function(S,w){if(w.confident){if(S.isSequenceExpression()){let A=S.get("expressions");return l(A[A.length-1],w)}if(S.isStringLiteral()||S.isNumericLiteral()||S.isBooleanLiteral())return S.node.value;if(S.isNullLiteral())return null;if(S.isTemplateLiteral())return f(S,S.node.quasis,w);if(S.isTaggedTemplateExpression()&&S.get("tag").isMemberExpression()){let A=S.get("tag.object"),{node:{name:x}}=A,C=S.get("tag.property");if(A.isIdentifier()&&x==="String"&&!S.scope.getBinding(x)&&C.isIdentifier()&&C.node.name==="raw")return f(S,S.node.quasi.quasis,w,!0)}if(S.isConditionalExpression()){let A=l(S.get("test"),w);return w.confident?l(A?S.get("consequent"):S.get("alternate"),w):void 0}if(S.isExpressionWrapper())return l(S.get("expression"),w);if(S.isMemberExpression()&&!S.parentPath.isCallExpression({callee:S.node})){let A=S.get("property"),x=S.get("object");if(x.isLiteral()){let C=x.node.value,P=typeof C,D=null;if(S.node.computed){if(D=l(A,w),!w.confident)return}else A.isIdentifier()&&(D=A.node.name);if(!(P!=="number"&&P!=="string"||D==null||typeof D!="number"&&typeof D!="string"))return C[D]}}if(S.isReferencedIdentifier()){let A=S.scope.getBinding(S.node.name);if(A){if(A.constantViolations.length>0||S.node.start<A.path.node.end)return void d(A.path,w);if(A.hasValue)return A.value}let x=S.node.name;if(s.has(x))return A?void d(A.path,w):s.get(x);let C=S.resolve();return C===S?void d(S,w):l(C,w)}if(S.isUnaryExpression({prefix:!0})){if(S.node.operator==="void")return;let A=S.get("argument");if(S.node.operator==="typeof"&&(A.isFunction()||A.isClass()))return"function";let x=l(A,w);if(!w.confident)return;switch(S.node.operator){case"!":return!x;case"+":return+x;case"-":return-x;case"~":return~x;case"typeof":return typeof x}}if(S.isArrayExpression()){let A=[],x=S.get("elements");for(let C of x){let P=C.evaluate();if(!P.confident)return void d(P.deopt,w);A.push(P.value)}return A}if(S.isObjectExpression()){let A={},x=S.get("properties");for(let C of x){if(C.isObjectMethod()||C.isSpreadElement())return void d(C,w);let P=C.get("key"),D;if(C.node.computed){if(D=P.evaluate(),!D.confident)return void d(D.deopt,w);D=D.value}else D=P.isIdentifier()?P.node.name:P.node.value;let L=C.get("value").evaluate();if(!L.confident)return void d(L.deopt,w);L=L.value,A[D]=L}return A}if(S.isLogicalExpression()){let A=w.confident,x=l(S.get("left"),w),C=w.confident;w.confident=A;let P=l(S.get("right"),w),D=w.confident;switch(S.node.operator){case"||":return w.confident=C&&(!!x||D),w.confident?x||P:void 0;case"&&":return w.confident=C&&(!x||D),w.confident?x&&P:void 0;case"??":return w.confident=C&&(x!=null||D),w.confident?x??P:void 0}}if(S.isBinaryExpression()){let A=l(S.get("left"),w);if(!w.confident)return;let x=l(S.get("right"),w);if(!w.confident)return;switch(S.node.operator){case"-":return A-x;case"+":return A+x;case"/":return A/x;case"*":return A*x;case"%":return A%x;case"**":return Math.pow(A,x);case"<":return A<x;case">":return A>x;case"<=":return A<=x;case">=":return A>=x;case"==":return A==x;case"!=":return A!=x;case"===":return A===x;case"!==":return A!==x;case"|":return A|x;case"&":return A&x;case"^":return A^x;case"<<":return A<<x;case">>":return A>>x;case">>>":return A>>>x}}if(S.isCallExpression()){let A=S.get("callee"),x,C;if(A.isIdentifier()&&!S.scope.getBinding(A.node.name)&&m(A.node.name)&&(C=global[A.node.name]),A.isMemberExpression()){let P=A.get("object"),D=A.get("property");if(P.isIdentifier()&&D.isIdentifier()&&m(P.node.name)&&!function(L){return a.includes(L)}(D.node.name)&&(x=global[P.node.name],C=x[D.node.name]),P.isLiteral()&&D.isIdentifier()){let L=typeof P.node.value;L!=="string"&&L!=="number"||(x=P.node.value,C=x[D.node.name])}}if(C){let P=S.get("arguments").map(D=>l(D,w));return w.confident?C.apply(x,P):void 0}}d(S,w)}}(p,h);return h.confident&&(E.resolved=!0,E.value=v),v}}function f(p,h,y,b=!1){let E="",v=0,S=p.isTemplateLiteral()?p.get("expressions"):p.get("quasi.expressions");for(let w of h){if(!y.confident)break;E+=b?w.value.raw:w.value.cooked;let A=S[v++];A&&(E+=String(l(A,y)))}if(y.confident)return E}},"./node_modules/.pnpm/@babel+traverse@7.22.15/node_modules/@babel/traverse/lib/path/family.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r._getKey=function(A,x){let C=this.node,P=C[A];return Array.isArray(P)?P.map((D,L)=>a.default.get({listKey:A,parentPath:this,parent:C,container:P,key:L}).setContext(x)):a.default.get({parentPath:this,parent:C,container:C,key:A}).setContext(x)},r._getPattern=function(A,x){let C=this;for(let P of A)C=P==="."?C.parentPath:Array.isArray(C)?C[P]:C.get(P,x);return C},r.get=function(A,x=!0){x===!0&&(x=this.context);let C=A.split(".");return C.length===1?this._getKey(A,x):this._getPattern(C,x)},r.getAllNextSiblings=function(){let A=this.key,x=this.getSibling(++A),C=[];for(;x.node;)C.push(x),x=this.getSibling(++A);return C},r.getAllPrevSiblings=function(){let A=this.key,x=this.getSibling(--A),C=[];for(;x.node;)C.push(x),x=this.getSibling(--A);return C},r.getBindingIdentifierPaths=function(A=!1,x=!1){let C=[this],P=Object.create(null);for(;C.length;){let D=C.shift();if(!D||!D.node)continue;let L=d.keys[D.node.type];if(D.isIdentifier())A?(P[D.node.name]=P[D.node.name]||[]).push(D):P[D.node.name]=D;else if(D.isExportDeclaration()){let I=D.get("declaration");l(I)&&C.push(I)}else{if(x){if(D.isFunctionDeclaration()){C.push(D.get("id"));continue}if(D.isFunctionExpression())continue}if(L)for(let I=0;I<L.length;I++){let j=L[I],M=D.get(j);Array.isArray(M)?C.push(...M):M.node&&C.push(M)}}}return P},r.getBindingIdentifiers=function(A){return d(this.node,A)},r.getCompletionRecords=function(){return w(this,{canHaveBreak:!1,shouldPopulateBreak:!1,inCaseClause:!1}).map(A=>A.path)},r.getNextSibling=function(){return this.getSibling(this.key+1)},r.getOpposite=function(){return this.key==="left"?this.getSibling("right"):this.key==="right"?this.getSibling("left"):null},r.getOuterBindingIdentifierPaths=function(A=!1){return this.getBindingIdentifierPaths(A,!0)},r.getOuterBindingIdentifiers=function(A){return s(this.node,A)},r.getPrevSibling=function(){return this.getSibling(this.key-1)},r.getSibling=function(A){return a.default.get({parentPath:this.parentPath,parent:this.parent,container:this.container,listKey:this.listKey,key:A}).setContext(this.context)};var a=u("./node_modules/.pnpm/@babel+traverse@7.22.15/node_modules/@babel/traverse/lib/path/index.js"),m=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/index.js");let{getBindingIdentifiers:d,getOuterBindingIdentifiers:s,isDeclaration:l,numericLiteral:f,unaryExpression:p}=m,h=0,y=1;function b(A,x,C){return A&&x.push(...w(A,C)),x}function E(A){A.forEach(x=>{x.type=y})}function v(A,x){A.forEach(C=>{C.path.isBreakStatement({label:null})&&(x?C.path.replaceWith(p("void",f(0))):C.path.remove())})}function S(A,x){let C=[];if(x.canHaveBreak){let P=[];for(let D=0;D<A.length;D++){let L=A[D],I=Object.assign({},x,{inCaseClause:!1});L.isBlockStatement()&&(x.inCaseClause||x.shouldPopulateBreak)?I.shouldPopulateBreak=!0:I.shouldPopulateBreak=!1;let j=w(L,I);if(j.length>0&&j.every(M=>M.type===y)){P.length>0&&j.every(M=>M.path.isBreakStatement({label:null}))?(E(P),C.push(...P),P.some(M=>M.path.isDeclaration())&&(C.push(...j),v(j,!0)),v(j,!1)):(C.push(...j),x.shouldPopulateBreak||v(j,!0));break}if(D===A.length-1)C.push(...j);else{P=[];for(let M=0;M<j.length;M++){let R=j[M];R.type===y&&C.push(R),R.type===h&&P.push(R)}}}}else if(A.length)for(let P=A.length-1;P>=0;P--){let D=w(A[P],x);if(D.length>1||D.length===1&&!D[0].path.isVariableDeclaration()){C.push(...D);break}}return C}function w(A,x){let C=[];if(A.isIfStatement())C=b(A.get("consequent"),C,x),C=b(A.get("alternate"),C,x);else{if(A.isDoExpression()||A.isFor()||A.isWhile()||A.isLabeledStatement())return b(A.get("body"),C,x);if(A.isProgram()||A.isBlockStatement())return S(A.get("body"),x);if(A.isFunction())return w(A.get("body"),x);if(A.isTryStatement())C=b(A.get("block"),C,x),C=b(A.get("handler"),C,x);else{if(A.isCatchClause())return b(A.get("body"),C,x);if(A.isSwitchStatement())return function(P,D,L){let I=[];for(let j=0;j<P.length;j++){let M=w(P[j],L),R=[],z=[];for(let Y of M)Y.type===h&&R.push(Y),Y.type===y&&z.push(Y);R.length&&(I=R),D.push(...z)}return D.push(...I),D}(A.get("cases"),C,x);if(A.isSwitchCase())return S(A.get("consequent"),{canHaveBreak:!0,shouldPopulateBreak:!1,inCaseClause:!0});A.isBreakStatement()?C.push(function(P){return{type:y,path:P}}(A)):C.push(function(P){return{type:h,path:P}}(A))}}return C}},"./node_modules/.pnpm/@babel+traverse@7.22.15/node_modules/@babel/traverse/lib/path/index.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=r.SHOULD_STOP=r.SHOULD_SKIP=r.REMOVED=void 0;var a=u("./node_modules/.pnpm/@babel+traverse@7.22.15/node_modules/@babel/traverse/lib/path/lib/virtual-types.js"),m=u("./node_modules/.pnpm/debug@4.3.4/node_modules/debug/src/index.js"),d=u("./node_modules/.pnpm/@babel+traverse@7.22.15/node_modules/@babel/traverse/lib/index.js"),s=u("./node_modules/.pnpm/@babel+traverse@7.22.15/node_modules/@babel/traverse/lib/scope/index.js"),l=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/index.js"),f=l,p=u("./node_modules/.pnpm/@babel+traverse@7.22.15/node_modules/@babel/traverse/lib/cache.js"),h=u("./node_modules/.pnpm/@babel+generator@7.22.15/node_modules/@babel/generator/lib/index.js"),y=u("./node_modules/.pnpm/@babel+traverse@7.22.15/node_modules/@babel/traverse/lib/path/ancestry.js"),b=u("./node_modules/.pnpm/@babel+traverse@7.22.15/node_modules/@babel/traverse/lib/path/inference/index.js"),E=u("./node_modules/.pnpm/@babel+traverse@7.22.15/node_modules/@babel/traverse/lib/path/replacement.js"),v=u("./node_modules/.pnpm/@babel+traverse@7.22.15/node_modules/@babel/traverse/lib/path/evaluation.js"),S=u("./node_modules/.pnpm/@babel+traverse@7.22.15/node_modules/@babel/traverse/lib/path/conversion.js"),w=u("./node_modules/.pnpm/@babel+traverse@7.22.15/node_modules/@babel/traverse/lib/path/introspection.js"),A=u("./node_modules/.pnpm/@babel+traverse@7.22.15/node_modules/@babel/traverse/lib/path/context.js"),x=u("./node_modules/.pnpm/@babel+traverse@7.22.15/node_modules/@babel/traverse/lib/path/removal.js"),C=u("./node_modules/.pnpm/@babel+traverse@7.22.15/node_modules/@babel/traverse/lib/path/modification.js"),P=u("./node_modules/.pnpm/@babel+traverse@7.22.15/node_modules/@babel/traverse/lib/path/family.js"),D=u("./node_modules/.pnpm/@babel+traverse@7.22.15/node_modules/@babel/traverse/lib/path/comments.js"),L=u("./node_modules/.pnpm/@babel+traverse@7.22.15/node_modules/@babel/traverse/lib/path/lib/virtual-types-validator.js");let{validate:I}=l,j=m("babel");r.REMOVED=1,r.SHOULD_STOP=2,r.SHOULD_SKIP=4;class M{constructor(Y,$){this.contexts=[],this.state=null,this.opts=null,this._traverseFlags=0,this.skipKeys=null,this.parentPath=null,this.container=null,this.listKey=null,this.key=null,this.node=null,this.type=null,this.parent=$,this.hub=Y,this.data=null,this.context=null,this.scope=null}static get({hub:Y,parentPath:$,parent:G,container:U,listKey:B,key:N}){if(!Y&&$&&(Y=$.hub),!G)throw new Error("To get a node path the parent needs to exist");let X=U[N],H=p.getOrCreateCachedPaths(Y,G),F=H.get(X);return F||(F=new M(Y,G),X&&H.set(X,F)),F.setup($,U,B,N),F}getScope(Y){return this.isScope()?new s.default(this):Y}setData(Y,$){return this.data==null&&(this.data=Object.create(null)),this.data[Y]=$}getData(Y,$){this.data==null&&(this.data=Object.create(null));let G=this.data[Y];return G===void 0&&$!==void 0&&(G=this.data[Y]=$),G}hasNode(){return this.node!=null}buildCodeFrameError(Y,$=SyntaxError){return this.hub.buildError(this.node,Y,$)}traverse(Y,$){(0,d.default)(this.node,Y,this.scope,$,this)}set(Y,$){I(this.node,Y,$),this.node[Y]=$}getPathLocation(){let Y=[],$=this;do{let G=$.key;$.inList&&(G=`${$.listKey}[${G}]`),Y.unshift(G)}while($=$.parentPath);return Y.join(".")}debug(Y){j.enabled&&j(`${this.getPathLocation()} ${this.type}: ${Y}`)}toString(){return(0,h.default)(this.node).code}get inList(){return!!this.listKey}set inList(Y){Y||(this.listKey=null)}get parentKey(){return this.listKey||this.key}get shouldSkip(){return!!(4&this._traverseFlags)}set shouldSkip(Y){Y?this._traverseFlags|=4:this._traverseFlags&=-5}get shouldStop(){return!!(2&this._traverseFlags)}set shouldStop(Y){Y?this._traverseFlags|=2:this._traverseFlags&=-3}get removed(){return!!(1&this._traverseFlags)}set removed(Y){Y?this._traverseFlags|=1:this._traverseFlags&=-2}}Object.assign(M.prototype,y,b,E,v,S,w,A,x,C,P,D),M.prototype._guessExecutionStatusRelativeToDifferentFunctions=w._guessExecutionStatusRelativeTo;for(let z of f.TYPES){let Y=`is${z}`,$=f[Y];M.prototype[Y]=function(G){return $(this.node,G)},M.prototype[`assert${z}`]=function(G){if(!$(this.node,G))throw new TypeError(`Expected node path of type ${z}`)}}Object.assign(M.prototype,L);for(let z of Object.keys(a))z[0]!=="_"&&(f.TYPES.includes(z)||f.TYPES.push(z));var R=M;r.default=R},"./node_modules/.pnpm/@babel+traverse@7.22.15/node_modules/@babel/traverse/lib/path/inference/index.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r._getTypeAnnotation=function(){let z=this.node;if(!z){if(this.key==="init"&&this.parentPath.isVariableDeclarator()){let $=this.parentPath.parentPath,G=$.parentPath;return $.key==="left"&&G.isForInStatement()?I():$.key==="left"&&G.isForOfStatement()?d():j()}return}if(z.typeAnnotation)return z.typeAnnotation;if(!M.has(z)){M.add(z);try{var Y;let $=a[z.type];if($)return $.call(this,z);if($=a[this.parentPath.type],(Y=$)!=null&&Y.validParent)return this.parentPath.getTypeAnnotation()}finally{M.delete(z)}}},r.baseTypeStrictlyMatches=function(z){let Y=this.getTypeAnnotation(),$=z.getTypeAnnotation();return!s(Y)&&h(Y)?$.type===Y.type:!1},r.couldBeBaseType=function(z){let Y=this.getTypeAnnotation();if(s(Y))return!0;if(D(Y)){for(let $ of Y.types)if(s($)||R(z,$,!0))return!0;return!1}return R(z,Y,!0)},r.getTypeAnnotation=function(){let z=this.getData("typeAnnotation");return z??(z=this._getTypeAnnotation()||d(),(P(z)||A(z))&&(z=z.typeAnnotation),this.setData("typeAnnotation",z),z)},r.isBaseType=function(z,Y){return R(z,this.getTypeAnnotation(),Y)},r.isGenericType=function(z){let Y=this.getTypeAnnotation();return z==="Array"&&(w(Y)||l(Y)||C(Y))?!0:y(Y)&&b(Y.id,{name:z})||x(Y)&&b(Y.typeName,{name:z})};var a=u("./node_modules/.pnpm/@babel+traverse@7.22.15/node_modules/@babel/traverse/lib/path/inference/inferers.js"),m=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/index.js");let{anyTypeAnnotation:d,isAnyTypeAnnotation:s,isArrayTypeAnnotation:l,isBooleanTypeAnnotation:f,isEmptyTypeAnnotation:p,isFlowBaseAnnotation:h,isGenericTypeAnnotation:y,isIdentifier:b,isMixedTypeAnnotation:E,isNumberTypeAnnotation:v,isStringTypeAnnotation:S,isTSArrayType:w,isTSTypeAnnotation:A,isTSTypeReference:x,isTupleTypeAnnotation:C,isTypeAnnotation:P,isUnionTypeAnnotation:D,isVoidTypeAnnotation:L,stringTypeAnnotation:I,voidTypeAnnotation:j}=m,M=new WeakSet;function R(z,Y,$){if(z==="string")return S(Y);if(z==="number")return v(Y);if(z==="boolean")return f(Y);if(z==="any")return s(Y);if(z==="mixed")return E(Y);if(z==="empty")return p(Y);if(z==="void")return L(Y);if($)return!1;throw new Error(`Unknown base type ${z}`)}},"./node_modules/.pnpm/@babel+traverse@7.22.15/node_modules/@babel/traverse/lib/path/inference/inferer-reference.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(b){if(!this.isReferenced())return;let E=this.scope.getBinding(b.name);if(E)return E.identifier.typeAnnotation?E.identifier.typeAnnotation:function(v,S,w){let A=[],x=[],C=p(v,S,x),P=y(v,S,w);if(P){let D=p(v,P.ifStatement);C=C.filter(L=>D.indexOf(L)<0),A.push(P.typeAnnotation)}if(C.length){C.push(...x);for(let D of C)A.push(D.getTypeAnnotation())}if(A.length)return(0,m.createUnionType)(A)}(E,this,b.name);if(b.name==="undefined")return f();if(b.name==="NaN"||b.name==="Infinity")return l();b.name};var a=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/index.js"),m=u("./node_modules/.pnpm/@babel+traverse@7.22.15/node_modules/@babel/traverse/lib/path/inference/util.js");let{BOOLEAN_NUMBER_BINARY_OPERATORS:d,createTypeAnnotationBasedOnTypeof:s,numberTypeAnnotation:l,voidTypeAnnotation:f}=a;function p(b,E,v){let S=b.constantViolations.slice();return S.unshift(b.path),S.filter(w=>{let A=(w=w.resolve())._guessExecutionStatusRelativeTo(E);return v&&A==="unknown"&&v.push(w),A==="before"})}function h(b,E){let v=E.node.operator,S=E.get("right").resolve(),w=E.get("left").resolve(),A,x,C;if(w.isIdentifier({name:b})?A=S:S.isIdentifier({name:b})&&(A=w),A)return v==="==="?A.getTypeAnnotation():d.indexOf(v)>=0?l():void 0;if(v!=="==="&&v!=="=="||(w.isUnaryExpression({operator:"typeof"})?(x=w,C=S):S.isUnaryExpression({operator:"typeof"})&&(x=S,C=w),!x)||!x.get("argument").isIdentifier({name:b})||(C=C.resolve(),!C.isLiteral()))return;let P=C.node.value;return typeof P=="string"?s(P):void 0}function y(b,E,v){let S=function(x,C,P){let D;for(;D=C.parentPath;){if(D.isIfStatement()||D.isConditionalExpression())return C.key==="test"?void 0:D;if(D.isFunction()&&D.parentPath.scope.getBinding(P)!==x)return;C=D}}(b,E,v);if(!S)return;let w=[S.get("test")],A=[];for(let x=0;x<w.length;x++){let C=w[x];if(C.isLogicalExpression())C.node.operator==="&&"&&(w.push(C.get("left")),w.push(C.get("right")));else if(C.isBinaryExpression()){let P=h(v,C);P&&A.push(P)}}return A.length?{typeAnnotation:(0,m.createUnionType)(A),ifStatement:S}:y(b,S,v)}},"./node_modules/.pnpm/@babel+traverse@7.22.15/node_modules/@babel/traverse/lib/path/inference/inferers.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.ArrayExpression=R,r.AssignmentExpression=function(){return this.get("right").getTypeAnnotation()},r.BinaryExpression=function(N){let X=N.operator;if(f.indexOf(X)>=0)return x();if(s.indexOf(X)>=0)return E();if(X==="+"){let H=this.get("right"),F=this.get("left");return F.isBaseType("number")&&H.isBaseType("number")?x():F.isBaseType("string")||H.isBaseType("string")?C():D([C(),x()])}},r.BooleanLiteral=function(){return E()},r.CallExpression=function(){let{callee:N}=this.node;return $(N)?b(C()):Y(N)||G(N)||I(N,{name:"Array"})?b(y()):U(N)?b(P([C(),y()])):B(this.get("callee"))},r.ConditionalExpression=function(){let N=[this.get("consequent").getTypeAnnotation(),this.get("alternate").getTypeAnnotation()];return(0,d.createUnionType)(N)},r.ClassDeclaration=r.ClassExpression=r.FunctionDeclaration=r.ArrowFunctionExpression=r.FunctionExpression=function(){return S(w("Function"))},Object.defineProperty(r,"Identifier",{enumerable:!0,get:function(){return m.default}}),r.LogicalExpression=function(){let N=[this.get("left").getTypeAnnotation(),this.get("right").getTypeAnnotation()];return(0,d.createUnionType)(N)},r.NewExpression=function(N){if(N.callee.type==="Identifier")return S(N.callee)},r.NullLiteral=function(){return A()},r.NumericLiteral=function(){return x()},r.ObjectExpression=function(){return S(w("Object"))},r.ParenthesizedExpression=function(){return this.get("expression").getTypeAnnotation()},r.RegExpLiteral=function(){return S(w("RegExp"))},r.RestElement=z,r.SequenceExpression=function(){return this.get("expressions").pop().getTypeAnnotation()},r.StringLiteral=function(){return C()},r.TSAsExpression=M,r.TSNonNullExpression=function(){return this.get("expression").getTypeAnnotation()},r.TaggedTemplateExpression=function(){return B(this.get("tag"))},r.TemplateLiteral=function(){return C()},r.TypeCastExpression=j,r.UnaryExpression=function(N){let X=N.operator;if(X==="void")return L();if(p.indexOf(X)>=0)return x();if(h.indexOf(X)>=0)return C();if(l.indexOf(X)>=0)return E()},r.UpdateExpression=function(N){let X=N.operator;if(X==="++"||X==="--")return x()},r.VariableDeclarator=function(){if(this.get("id").isIdentifier())return this.get("init").getTypeAnnotation()};var a=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/index.js"),m=u("./node_modules/.pnpm/@babel+traverse@7.22.15/node_modules/@babel/traverse/lib/path/inference/inferer-reference.js"),d=u("./node_modules/.pnpm/@babel+traverse@7.22.15/node_modules/@babel/traverse/lib/path/inference/util.js");let{BOOLEAN_BINARY_OPERATORS:s,BOOLEAN_UNARY_OPERATORS:l,NUMBER_BINARY_OPERATORS:f,NUMBER_UNARY_OPERATORS:p,STRING_UNARY_OPERATORS:h,anyTypeAnnotation:y,arrayTypeAnnotation:b,booleanTypeAnnotation:E,buildMatchMemberExpression:v,genericTypeAnnotation:S,identifier:w,nullLiteralTypeAnnotation:A,numberTypeAnnotation:x,stringTypeAnnotation:C,tupleTypeAnnotation:P,unionTypeAnnotation:D,voidTypeAnnotation:L,isIdentifier:I}=a;function j(N){return N.typeAnnotation}function M(N){return N.typeAnnotation}function R(){return S(w("Array"))}function z(){return R()}j.validParent=!0,M.validParent=!0,z.validParent=!0;let Y=v("Array.from"),$=v("Object.keys"),G=v("Object.values"),U=v("Object.entries");function B(N){if((N=N.resolve()).isFunction()){let{node:X}=N;if(X.async)return X.generator?S(w("AsyncIterator")):S(w("Promise"));if(X.generator)return S(w("Iterator"));if(N.node.returnType)return N.node.returnType}}},"./node_modules/.pnpm/@babel+traverse@7.22.15/node_modules/@babel/traverse/lib/path/inference/util.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.createUnionType=function(p){if(l(p[0]))return m?m(p):s(p);if(d)return d(p)};var a=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/index.js");let{createFlowUnionType:m,createTSUnionType:d,createUnionTypeAnnotation:s,isFlowType:l,isTSType:f}=a},"./node_modules/.pnpm/@babel+traverse@7.22.15/node_modules/@babel/traverse/lib/path/introspection.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r._guessExecutionStatusRelativeTo=function(P){return C(this,P,new Map)},r._resolve=function(P,D){if(!(D&&D.indexOf(this)>=0))if((D=D||[]).push(this),this.isVariableDeclarator()){if(this.get("id").isIdentifier())return this.get("init").resolve(P,D)}else if(this.isReferencedIdentifier()){let L=this.scope.getBinding(this.node.name);if(!L||!L.constant||L.kind==="module")return;if(L.path!==this){let I=L.path.resolve(P,D);return this.find(j=>j.node===I.node)?void 0:I}}else{if(this.isTypeCastExpression())return this.get("expression").resolve(P,D);if(P&&this.isMemberExpression()){let L=this.toComputedKey();if(!p(L))return;let I=L.value,j=this.get("object").resolve(P,D);if(j.isObjectExpression()){let M=j.get("properties");for(let R of M){if(!R.isProperty())continue;let z=R.get("key"),Y=R.isnt("computed")&&z.isIdentifier({name:I});if(Y=Y||z.isLiteral({value:I}),Y)return R.get("value").resolve(P,D)}}else if(j.isArrayExpression()&&!isNaN(+I)){let M=j.get("elements")[I];if(M)return M.resolve(P,D)}}}},r.canHaveVariableDeclarationOrExpression=function(){return(this.key==="init"||this.key==="left")&&this.parentPath.isFor()},r.canSwapBetweenExpressionAndStatement=function(P){return this.key!=="body"||!this.parentPath.isArrowFunctionExpression()?!1:this.isExpression()?s(P):this.isBlockStatement()?l(P):!1},r.equals=function(P,D){return this.node[P]===D},r.getSource=function(){let P=this.node;if(P.end){let D=this.hub.getCode();if(D)return D.slice(P.start,P.end)}return""},r.has=E,r.is=void 0,r.isCompletionRecord=function(P){let D=this,L=!0;do{let{type:I,container:j}=D;if(!L&&(D.isFunction()||I==="StaticBlock"))return!!P;if(L=!1,Array.isArray(j)&&D.key!==j.length-1)return!1}while((D=D.parentPath)&&!D.isProgram()&&!D.isDoExpression());return!0},r.isConstantExpression=function(){if(this.isIdentifier()){let P=this.scope.getBinding(this.node.name);return!!P&&P.constant}if(this.isLiteral())return!this.isRegExpLiteral()&&(!this.isTemplateLiteral()||this.get("expressions").every(P=>P.isConstantExpression()));if(this.isUnaryExpression())return this.node.operator==="void"&&this.get("argument").isConstantExpression();if(this.isBinaryExpression()){let{operator:P}=this.node;return P!=="in"&&P!=="instanceof"&&this.get("left").isConstantExpression()&&this.get("right").isConstantExpression()}return!1},r.isInStrictMode=function(){return!!(this.isProgram()?this:this.parentPath).find(D=>{if(D.isProgram({sourceType:"module"})||D.isClass())return!0;if(D.isArrowFunctionExpression()&&!D.get("body").isBlockStatement())return!1;let L;if(D.isFunction())L=D.node.body;else{if(!D.isProgram())return!1;L=D.node}for(let I of L.directives)if(I.value.value==="use strict")return!0})},r.isNodeType=function(P){return y(this.type,P)},r.isStatementOrBlock=function(){return!this.parentPath.isLabeledStatement()&&!s(this.container)&&m.includes(this.key)},r.isStatic=function(){return this.scope.isStatic(this.node)},r.isnt=function(P){return!this.has(P)},r.matchesPattern=function(P,D){return b(this.node,P,D)},r.referencesImport=function(P,D){if(!this.isReferencedIdentifier()){if(this.isJSXMemberExpression()&&this.node.property.name===D||(this.isMemberExpression()||this.isOptionalMemberExpression())&&(this.node.computed?h(this.node.property,{value:D}):this.node.property.name===D)){let M=this.get("object");return M.isReferencedIdentifier()&&M.referencesImport(P,"*")}return!1}let L=this.scope.getBinding(this.node.name);if(!L||L.kind!=="module")return!1;let I=L.path,j=I.parentPath;return!j.isImportDeclaration()||j.node.source.value!==P?!1:!!(!D||I.isImportDefaultSpecifier()&&D==="default"||I.isImportNamespaceSpecifier()&&D==="*"||I.isImportSpecifier()&&f(I.node.imported,{name:D}))},r.resolve=function(P,D){return this._resolve(P,D)||this},r.willIMaybeExecuteBefore=function(P){return this._guessExecutionStatusRelativeTo(P)!=="after"};var a=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/index.js");let{STATEMENT_OR_BLOCK_KEYS:m,VISITOR_KEYS:d,isBlockStatement:s,isExpression:l,isIdentifier:f,isLiteral:p,isStringLiteral:h,isType:y,matchesPattern:b}=a;function E(P){let D=this.node&&this.node[P];return D&&Array.isArray(D)?!!D.length:!!D}let v=E;function S(P){return P.isProgram()?P:(P.parentPath.scope.getFunctionParent()||P.parentPath.scope.getProgramParent()).path}function w(P,D){switch(P){case"LogicalExpression":case"AssignmentPattern":return D==="right";case"ConditionalExpression":case"IfStatement":return D==="consequent"||D==="alternate";case"WhileStatement":case"DoWhileStatement":case"ForInStatement":case"ForOfStatement":return D==="body";case"ForStatement":return D==="body"||D==="update";case"SwitchStatement":return D==="cases";case"TryStatement":return D==="handler";case"OptionalMemberExpression":return D==="property";case"OptionalCallExpression":return D==="arguments";default:return!1}}function A(P,D){for(let L=0;L<D;L++){let I=P[L];if(w(I.parent.type,I.parentKey))return!0}return!1}r.is=v;let x=Symbol();function C(P,D,L){let I={this:S(P),target:S(D)};if(I.target.node!==I.this.node)return function(G,U,B){let N,X=B.get(G.node);if(X){if(N=X.get(U.node))return N===x?"unknown":N}else B.set(G.node,X=new Map);X.set(U.node,x);let H=function(F,W,V){if(!W.isFunctionDeclaration())return C(F,W,V)==="before"?"before":"unknown";if(W.parentPath.isExportDeclaration())return"unknown";let Q=W.scope.getBinding(W.node.id.name);if(!Q.references)return"before";let ne=Q.referencePaths,ue;for(let de of ne){if(de.find(Oe=>Oe.node===W.node))continue;if(de.key!=="callee"||!de.parentPath.isCallExpression())return"unknown";let Ae=C(F,de,V);if(ue&&ue!==Ae)return"unknown";ue=Ae}return ue}(G,U,B);return X.set(U.node,H),H}(P,I.target,L);let j={target:D.getAncestry(),this:P.getAncestry()};if(j.target.indexOf(P)>=0)return"after";if(j.this.indexOf(D)>=0)return"before";let M,R={target:0,this:0};for(;!M&&R.this<j.this.length;){let G=j.this[R.this];R.target=j.target.indexOf(G),R.target>=0?M=G:R.this++}if(!M)throw new Error("Internal Babel error - The two compared nodes don't appear to belong to the same program.");if(A(j.this,R.this-1)||A(j.target,R.target-1))return"unknown";let z={this:j.this[R.this-1],target:j.target[R.target-1]};if(z.target.listKey&&z.this.listKey&&z.target.container===z.this.container)return z.target.key>z.this.key?"before":"after";let Y=d[M.type],$=Y.indexOf(z.this.parentKey);return Y.indexOf(z.target.parentKey)>$?"before":"after"}},"./node_modules/.pnpm/@babel+traverse@7.22.15/node_modules/@babel/traverse/lib/path/lib/hoister.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var a=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/index.js"),m=a;let{react:d}=a,{cloneNode:s,jsxExpressionContainer:l,variableDeclaration:f,variableDeclarator:p}=m,h={ReferencedIdentifier(y,b){if(y.isJSXIdentifier()&&d.isCompatTag(y.node.name)&&!y.parentPath.isJSXMemberExpression())return;if(y.node.name==="this"){let v=y.scope;do if(v.path.isFunction()&&!v.path.isArrowFunctionExpression())break;while(v=v.parent);v&&b.breakOnScopePaths.push(v.path)}let E=y.scope.getBinding(y.node.name);if(E){for(let v of E.constantViolations)if(v.scope!==E.path.scope)return b.mutableBinding=!0,void y.stop();E===b.scope.getBinding(y.node.name)&&(b.bindings[y.node.name]=E)}}};r.default=class{constructor(y,b){this.breakOnScopePaths=void 0,this.bindings=void 0,this.mutableBinding=void 0,this.scopes=void 0,this.scope=void 0,this.path=void 0,this.attachAfter=void 0,this.breakOnScopePaths=[],this.bindings={},this.mutableBinding=!1,this.scopes=[],this.scope=b,this.path=y,this.attachAfter=!1}isCompatibleScope(y){for(let b of Object.keys(this.bindings)){let E=this.bindings[b];if(!y.bindingIdentifierEquals(b,E.identifier))return!1}return!0}getCompatibleScopes(){let y=this.path.scope;do if(!this.isCompatibleScope(y)||(this.scopes.push(y),this.breakOnScopePaths.indexOf(y.path)>=0))break;while(y=y.parent)}getAttachmentPath(){let y=this._getAttachmentPath();if(!y)return;let b=y.scope;if(b.path===y&&(b=y.scope.parent),b.path.isProgram()||b.path.isFunction())for(let E of Object.keys(this.bindings)){if(!b.hasOwnBinding(E))continue;let v=this.bindings[E];if(!(v.kind==="param"||v.path.parentKey==="params")&&this.getAttachmentParentForPath(v.path).key>=y.key){this.attachAfter=!0,y=v.path;for(let S of v.constantViolations)this.getAttachmentParentForPath(S).key>y.key&&(y=S)}}return y}_getAttachmentPath(){let y=this.scopes.pop();if(y){if(y.path.isFunction()){if(!this.hasOwnParamBindings(y))return this.getNextScopeAttachmentParent();{if(this.scope===y)return;let b=y.path.get("body").get("body");for(let E=0;E<b.length;E++)if(!b[E].node._blockHoist)return b[E]}}else if(y.path.isProgram())return this.getNextScopeAttachmentParent()}}getNextScopeAttachmentParent(){let y=this.scopes.pop();if(y)return this.getAttachmentParentForPath(y.path)}getAttachmentParentForPath(y){do if(!y.parentPath||Array.isArray(y.container)&&y.isStatement())return y;while(y=y.parentPath)}hasOwnParamBindings(y){for(let b of Object.keys(this.bindings)){if(!y.hasOwnBinding(b))continue;let E=this.bindings[b];if(E.kind==="param"&&E.constant)return!0}return!1}run(){if(this.path.traverse(h,this),this.mutableBinding)return;this.getCompatibleScopes();let y=this.getAttachmentPath();if(!y||y.getFunctionParent()===this.path.getFunctionParent())return;let b=y.scope.generateUidIdentifier("ref"),E=p(b,this.path.node),v=this.attachAfter?"insertAfter":"insertBefore",[S]=y[v]([y.isVariableDeclarator()?E:f("var",[E])]),w=this.path.parentPath;return w.isJSXElement()&&this.path.container===w.node.children&&(b=l(b)),this.path.replaceWith(s(b)),y.isVariableDeclarator()?S.get("init"):S.get("declarations.0.init")}}},"./node_modules/.pnpm/@babel+traverse@7.22.15/node_modules/@babel/traverse/lib/path/lib/removal-hooks.js":(o,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.hooks=void 0,r.hooks=[function(u,a){if(u.key==="test"&&(a.isWhile()||a.isSwitchCase())||u.key==="declaration"&&a.isExportDeclaration()||u.key==="body"&&a.isLabeledStatement()||u.listKey==="declarations"&&a.isVariableDeclaration()&&a.node.declarations.length===1||u.key==="expression"&&a.isExpressionStatement())return a.remove(),!0},function(u,a){if(a.isSequenceExpression()&&a.node.expressions.length===1)return a.replaceWith(a.node.expressions[0]),!0},function(u,a){if(a.isBinary())return u.key==="left"?a.replaceWith(a.node.right):a.replaceWith(a.node.left),!0},function(u,a){if(a.isIfStatement()&&u.key==="consequent"||u.key==="body"&&(a.isLoop()||a.isArrowFunctionExpression()))return u.replaceWith({type:"BlockStatement",body:[]}),!0}]},"./node_modules/.pnpm/@babel+traverse@7.22.15/node_modules/@babel/traverse/lib/path/lib/virtual-types-validator.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.isBindingIdentifier=function(){let{node:R,parent:z}=this,Y=this.parentPath.parent;return y(R)&&m(R,z,Y)},r.isBlockScoped=function(){return d(this.node)},r.isExpression=function(){return this.isIdentifier()?this.isReferencedIdentifier():l(this.node)},r.isFlow=function(){let{node:R}=this;return!!f(R)||(b(R)?R.importKind==="type"||R.importKind==="typeof":s(R)?R.exportKind==="type":!!E(R)&&(R.importKind==="type"||R.importKind==="typeof"))},r.isForAwaitStatement=function(){return j(this.node,{await:!0})},r.isGenerated=function(){return!this.isUser()},r.isPure=function(R){return this.scope.isPure(this.node,R)},r.isReferenced=function(){return x(this.node,this.parent)},r.isReferencedIdentifier=function(R){let{node:z,parent:Y}=this;return!y(z,R)&&!S(Y,R)&&(!v(z,R)||M(z.name))?!1:x(z,Y,this.parentPath.parent)},r.isReferencedMemberExpression=function(){let{node:R,parent:z}=this;return w(R)&&x(R,z)},r.isRestProperty=function(){return A(this.node)&&this.parentPath&&this.parentPath.isObjectPattern()},r.isScope=function(){return C(this.node,this.parent)},r.isSpreadProperty=function(){return A(this.node)&&this.parentPath&&this.parentPath.isObjectExpression()},r.isStatement=function(){let{node:R,parent:z}=this;return P(R)?!(L(R)&&(h(z,{left:R})||p(z,{init:R}))):!1},r.isUser=function(){return this.node&&!!this.node.loc},r.isVar=function(){return D(this.node)};var a=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/index.js");let{isBinding:m,isBlockScoped:d,isExportDeclaration:s,isExpression:l,isFlow:f,isForStatement:p,isForXStatement:h,isIdentifier:y,isImportDeclaration:b,isImportSpecifier:E,isJSXIdentifier:v,isJSXMemberExpression:S,isMemberExpression:w,isRestElement:A,isReferenced:x,isScope:C,isStatement:P,isVar:D,isVariableDeclaration:L,react:I,isForOfStatement:j}=a,{isCompatTag:M}=I;r.isExistentialTypeParam=function(){throw new Error("`path.isExistentialTypeParam` has been renamed to `path.isExistsTypeAnnotation()` in Babel 7.")},r.isNumericLiteralTypeAnnotation=function(){throw new Error("`path.isNumericLiteralTypeAnnotation()` has been renamed to `path.isNumberLiteralTypeAnnotation()` in Babel 7.")}},"./node_modules/.pnpm/@babel+traverse@7.22.15/node_modules/@babel/traverse/lib/path/lib/virtual-types.js":(o,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.Var=r.User=r.Statement=r.SpreadProperty=r.Scope=r.RestProperty=r.ReferencedMemberExpression=r.ReferencedIdentifier=r.Referenced=r.Pure=r.NumericLiteralTypeAnnotation=r.Generated=r.ForAwaitStatement=r.Flow=r.Expression=r.ExistentialTypeParam=r.BlockScoped=r.BindingIdentifier=void 0,r.ReferencedIdentifier=["Identifier","JSXIdentifier"],r.ReferencedMemberExpression=["MemberExpression"],r.BindingIdentifier=["Identifier"],r.Statement=["Statement"],r.Expression=["Expression"],r.Scope=["Scopable","Pattern"],r.Referenced=null,r.BlockScoped=null,r.Var=["VariableDeclaration"],r.User=null,r.Generated=null,r.Pure=null,r.Flow=["Flow","ImportDeclaration","ExportDeclaration","ImportSpecifier"],r.RestProperty=["RestElement"],r.SpreadProperty=["RestElement"],r.ExistentialTypeParam=["ExistsTypeAnnotation"],r.NumericLiteralTypeAnnotation=["NumberLiteralTypeAnnotation"],r.ForAwaitStatement=["ForOfStatement"]},"./node_modules/.pnpm/@babel+traverse@7.22.15/node_modules/@babel/traverse/lib/path/modification.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r._containerInsert=function(j,M){this.updateSiblingKeys(j,M.length);let R=[];this.container.splice(j,0,...M);for(let $=0;$<M.length;$++){var z;let G=j+$,U=this.getSibling(G);R.push(U),(z=this.context)!=null&&z.queue&&U.pushContext(this.context)}let Y=this._getQueueContexts();for(let $ of R){$.setScope(),$.debug("Inserted.");for(let G of Y)G.maybeQueue($,!0)}return R},r._containerInsertAfter=function(j){return this._containerInsert(this.key+1,j)},r._containerInsertBefore=function(j){return this._containerInsert(this.key,j)},r._verifyNodeList=function(j){if(!j)return[];Array.isArray(j)||(j=[j]);for(let M=0;M<j.length;M++){let R=j[M],z;if(R?typeof R!="object"?z="contains a non-object node":R.type?R instanceof d.default&&(z="has a NodePath when it expected a raw object"):z="without a type":z="has falsy node",z){let Y=Array.isArray(R)?"array":typeof R;throw new Error(`Node list ${z} with the index of ${M} and type of ${Y}`)}}return j},r.hoist=function(j=this.scope){return new m.default(this,j).run()},r.insertAfter=function(j){if(this._assertUnremoved(),this.isSequenceExpression())return L(this.get("expressions")).insertAfter(j);let M=this._verifyNodeList(j),{parentPath:R,parent:z}=this;if(R.isExpressionStatement()||R.isLabeledStatement()||w(z)||R.isExportDefaultDeclaration()&&this.isDeclaration())return R.insertAfter(M.map(Y=>A(Y)?E(Y):Y));if(this.isNodeType("Expression")&&!this.isJSXElement()&&!R.isJSXElement()||R.isForStatement()&&this.key==="init"){if(this.node){let Y=this.node,{scope:$}=this;if($.path.isPattern())return f(Y),this.replaceWith(y(l([],Y),[])),this.get("callee.body").insertAfter(M),[this];if(I(this))M.unshift(Y);else if(S(Y)&&P(Y.callee))M.unshift(Y),M.push(D());else if(function(G,U){if(!v(G)||!x(G.left))return!1;let B=U.getBlockParent();return B.hasOwnBinding(G.left.name)&&B.getOwnBinding(G.left.name).constantViolations.length<=1}(Y,$))M.unshift(Y),M.push(b(Y.left));else if($.isPure(Y,!0))M.push(Y);else{R.isMethod({computed:!0,key:Y})&&($=$.parent);let G=$.generateDeclaredUidIdentifier();M.unshift(E(p("=",b(G),Y))),M.push(E(b(G)))}}return this.replaceExpressionWithStatements(M)}if(Array.isArray(this.container))return this._containerInsertAfter(M);if(this.isStatementOrBlock()){let Y=this.node,$=Y&&(!this.isExpressionStatement()||Y.expression!=null);return this.replaceWith(h($?[Y]:[])),this.pushContainer("body",M)}throw new Error("We don't know what to do with this node type. We were previously a Statement but we can't fit in here?")},r.insertBefore=function(j){this._assertUnremoved();let M=this._verifyNodeList(j),{parentPath:R,parent:z}=this;if(R.isExpressionStatement()||R.isLabeledStatement()||w(z)||R.isExportDefaultDeclaration()&&this.isDeclaration())return R.insertBefore(M);if(this.isNodeType("Expression")&&!this.isJSXElement()||R.isForStatement()&&this.key==="init")return this.node&&M.push(this.node),this.replaceExpressionWithStatements(M);if(Array.isArray(this.container))return this._containerInsertBefore(M);if(this.isStatementOrBlock()){let Y=this.node,$=Y&&(!this.isExpressionStatement()||Y.expression!=null);return this.replaceWith(h($?[Y]:[])),this.unshiftContainer("body",M)}throw new Error("We don't know what to do with this node type. We were previously a Statement but we can't fit in here?")},r.pushContainer=function(j,M){this._assertUnremoved();let R=this._verifyNodeList(M),z=this.node[j];return d.default.get({parentPath:this,parent:this.node,container:z,listKey:j,key:z.length}).setContext(this.context).replaceWithMultiple(R)},r.unshiftContainer=function(j,M){return this._assertUnremoved(),M=this._verifyNodeList(M),d.default.get({parentPath:this,parent:this.node,container:this.node[j],listKey:j,key:0}).setContext(this.context)._containerInsertBefore(M)},r.updateSiblingKeys=function(j,M){if(!this.parent)return;let R=(0,a.getCachedPaths)(this.hub,this.parent)||[];for(let[,z]of R)typeof z.key=="number"&&z.key>=j&&(z.key+=M)};var a=u("./node_modules/.pnpm/@babel+traverse@7.22.15/node_modules/@babel/traverse/lib/cache.js"),m=u("./node_modules/.pnpm/@babel+traverse@7.22.15/node_modules/@babel/traverse/lib/path/lib/hoister.js"),d=u("./node_modules/.pnpm/@babel+traverse@7.22.15/node_modules/@babel/traverse/lib/path/index.js"),s=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/index.js");let{arrowFunctionExpression:l,assertExpression:f,assignmentExpression:p,blockStatement:h,callExpression:y,cloneNode:b,expressionStatement:E,isAssignmentExpression:v,isCallExpression:S,isExportNamedDeclaration:w,isExpression:A,isIdentifier:x,isSequenceExpression:C,isSuper:P,thisExpression:D}=s,L=j=>j[j.length-1];function I(j){return C(j.parent)&&(L(j.parent.expressions)!==j.node||I(j.parentPath))}},"./node_modules/.pnpm/@babel+traverse@7.22.15/node_modules/@babel/traverse/lib/path/removal.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r._assertUnremoved=function(){if(this.removed)throw this.buildCodeFrameError("NodePath has been removed so is read-only.")},r._callRemovalHooks=function(){for(let s of a.hooks)if(s(this,this.parentPath))return!0},r._markRemoved=function(){this._traverseFlags|=d.SHOULD_SKIP|d.REMOVED,this.parent&&(0,m.getCachedPaths)(this.hub,this.parent).delete(this.node),this.node=null},r._remove=function(){Array.isArray(this.container)?(this.container.splice(this.key,1),this.updateSiblingKeys(this.key,-1)):this._replaceWith(null)},r._removeFromScope=function(){let s=this.getBindingIdentifiers();Object.keys(s).forEach(l=>this.scope.removeBinding(l))},r.remove=function(){var s;if(this._assertUnremoved(),this.resync(),(s=this.opts)!=null&&s.noScope||this._removeFromScope(),this._callRemovalHooks())return void this._markRemoved();this.shareCommentsWithSiblings(),this._remove(),this._markRemoved()};var a=u("./node_modules/.pnpm/@babel+traverse@7.22.15/node_modules/@babel/traverse/lib/path/lib/removal-hooks.js"),m=u("./node_modules/.pnpm/@babel+traverse@7.22.15/node_modules/@babel/traverse/lib/cache.js"),d=u("./node_modules/.pnpm/@babel+traverse@7.22.15/node_modules/@babel/traverse/lib/path/index.js")},"./node_modules/.pnpm/@babel+traverse@7.22.15/node_modules/@babel/traverse/lib/path/replacement.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r._replaceWith=function(G){var U;if(!this.container)throw new ReferenceError("Container is falsy");this.inList?Y(this.parent,this.key,[G]):Y(this.parent,this.key,G),this.debug(`Replace with ${G==null?void 0:G.type}`),(U=(0,s.getCachedPaths)(this.hub,this.parent))==null||U.set(G,this).delete(this.node),this.node=this.container[this.key]=G},r.replaceExpressionWithStatements=function(G){this.resync();let U=z(G,this.scope);if(U)return this.replaceWith(U)[0].get("expressions");let B=this.getFunctionParent(),N=B==null?void 0:B.is("async"),X=B==null?void 0:B.is("generator"),H=y([],v(G));this.replaceWith(S(H,[]));let F=this.get("callee");(0,p.default)(F.get("body"),ue=>{this.scope.push({id:ue})},"var");let W=this.get("callee").getCompletionRecords();for(let ue of W){if(!ue.isExpressionStatement())continue;let de=ue.findParent(Ae=>Ae.isLoop());if(de){let Ae=de.getData("expressionReplacementReturnUid");Ae?Ae=x(Ae.name):(Ae=F.scope.generateDeclaredUidIdentifier("ret"),F.get("body").pushContainer("body",R(w(Ae))),de.setData("expressionReplacementReturnUid",Ae)),ue.get("expression").replaceWith(b("=",w(Ae),ue.node.expression))}else ue.replaceWith(R(ue.node.expression))}F.arrowFunctionToExpression();let V=F,Q=N&&m.default.hasType(this.get("callee.body").node,"AwaitExpression",h),ne=X&&m.default.hasType(this.get("callee.body").node,"YieldExpression",h);return Q&&(V.set("async",!0),ne||this.replaceWith(E(this.node))),ne&&(V.set("generator",!0),this.replaceWith($(this.node,!0))),V.get("body.body")},r.replaceInline=function(G){if(this.resync(),Array.isArray(G)){if(Array.isArray(this.container)){G=this._verifyNodeList(G);let U=this._containerInsertAfter(G);return this.remove(),U}return this.replaceWithMultiple(G)}return this.replaceWith(G)},r.replaceWith=function(G){if(this.resync(),this.removed)throw new Error("You can't replace this node, we've already removed it");let U=G instanceof d.default?G.node:G;if(!U)throw new Error("You passed `path.replaceWith()` a falsy node, use `path.remove()` instead");if(this.node===U)return[this];if(this.isProgram()&&!I(U))throw new Error("You can only replace a Program root node with another Program node");if(Array.isArray(U))throw new Error("Don't use `path.replaceWith()` with an array of nodes, use `path.replaceWithMultiple()`");if(typeof U=="string")throw new Error("Don't use `path.replaceWith()` with a source string, use `path.replaceWithSourceString()`");let B="";if(this.isNodeType("Statement")&&L(U)&&(this.canHaveVariableDeclarationOrExpression()||this.canSwapBetweenExpressionAndStatement(U)||this.parentPath.isExportDefaultDeclaration()||(U=A(U),B="expression")),this.isNodeType("Expression")&&j(U)&&!this.canHaveVariableDeclarationOrExpression()&&!this.canSwapBetweenExpressionAndStatement(U))return this.replaceExpressionWithStatements([U]);let N=this.node;return N&&(D(U,N),M(N)),this._replaceWith(U),this.type=U.type,this.setScope(),this.requeue(),[B?this.get(B):this]},r.replaceWithMultiple=function(G){var U;this.resync(),G=this._verifyNodeList(G),C(G[0],this.node),P(G[G.length-1],this.node),(U=(0,s.getCachedPaths)(this.hub,this.parent))==null||U.delete(this.node),this.node=this.container[this.key]=null;let B=this.insertAfter(G);return this.node?this.requeue():this.remove(),B},r.replaceWithSourceString=function(G){let U;this.resync();try{G=`(${G})`,U=(0,l.parse)(G)}catch(N){let X=N.loc;throw X&&(N.message+=` - make sure this is an expression.
|
|
`+(0,a.codeFrameColumns)(G,{start:{line:X.line,column:X.column+1}}),N.code="BABEL_REPLACE_SOURCE_ERROR"),N}let B=U.program.body[0].expression;return m.default.removeProperties(B),this.replaceWith(B)};var a=u("./stubs/babel-codeframe.js"),m=u("./node_modules/.pnpm/@babel+traverse@7.22.15/node_modules/@babel/traverse/lib/index.js"),d=u("./node_modules/.pnpm/@babel+traverse@7.22.15/node_modules/@babel/traverse/lib/path/index.js"),s=u("./node_modules/.pnpm/@babel+traverse@7.22.15/node_modules/@babel/traverse/lib/cache.js"),l=u("./node_modules/.pnpm/@babel+parser@7.22.16/node_modules/@babel/parser/lib/index.js"),f=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/index.js"),p=u("./node_modules/.pnpm/@babel+helper-hoist-variables@7.22.5/node_modules/@babel/helper-hoist-variables/lib/index.js");let{FUNCTION_TYPES:h,arrowFunctionExpression:y,assignmentExpression:b,awaitExpression:E,blockStatement:v,callExpression:S,cloneNode:w,expressionStatement:A,identifier:x,inheritLeadingComments:C,inheritTrailingComments:P,inheritsComments:D,isExpression:L,isProgram:I,isStatement:j,removeComments:M,returnStatement:R,toSequenceExpression:z,validate:Y,yieldExpression:$}=f},"./node_modules/.pnpm/@babel+traverse@7.22.15/node_modules/@babel/traverse/lib/scope/binding.js":(o,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default=class{constructor({identifier:u,scope:a,path:m,kind:d}){this.identifier=void 0,this.scope=void 0,this.path=void 0,this.kind=void 0,this.constantViolations=[],this.constant=!0,this.referencePaths=[],this.referenced=!1,this.references=0,this.identifier=u,this.scope=a,this.path=m,this.kind=d,d!=="var"&&d!=="hoisted"||!function(s){for(let{parentPath:l,key:f}=s;l;{parentPath:l,key:f}=l){if(l.isFunctionParent())return!1;if(l.isWhile()||l.isForXStatement()||l.isForStatement()&&f==="body")return!0}return!1}(m)||this.reassign(m),this.clearValue()}deoptValue(){this.clearValue(),this.hasDeoptedValue=!0}setValue(u){this.hasDeoptedValue||(this.hasValue=!0,this.value=u)}clearValue(){this.hasDeoptedValue=!1,this.hasValue=!1,this.value=null}reassign(u){this.constant=!1,this.constantViolations.indexOf(u)===-1&&this.constantViolations.push(u)}reference(u){this.referencePaths.indexOf(u)===-1&&(this.referenced=!0,this.references++,this.referencePaths.push(u))}dereference(){this.references--,this.referenced=!!this.references}}},"./node_modules/.pnpm/@babel+traverse@7.22.15/node_modules/@babel/traverse/lib/scope/index.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var a=u("./node_modules/.pnpm/@babel+traverse@7.22.15/node_modules/@babel/traverse/lib/scope/lib/renamer.js"),m=u("./node_modules/.pnpm/@babel+traverse@7.22.15/node_modules/@babel/traverse/lib/index.js"),d=u("./node_modules/.pnpm/@babel+traverse@7.22.15/node_modules/@babel/traverse/lib/scope/binding.js"),s=u("./node_modules/.pnpm/globals@11.12.0/node_modules/globals/index.js"),l=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/index.js"),f=l,p=u("./node_modules/.pnpm/@babel+traverse@7.22.15/node_modules/@babel/traverse/lib/cache.js"),h=u("./node_modules/.pnpm/@babel+traverse@7.22.15/node_modules/@babel/traverse/lib/visitors.js");let{NOT_LOCAL_BINDING:y,callExpression:b,cloneNode:E,getBindingIdentifiers:v,identifier:S,isArrayExpression:w,isBinary:A,isClass:x,isClassBody:C,isClassDeclaration:P,isExportAllDeclaration:D,isExportDefaultDeclaration:L,isExportNamedDeclaration:I,isFunctionDeclaration:j,isIdentifier:M,isImportDeclaration:R,isLiteral:z,isMethod:Y,isModuleSpecifier:$,isNullLiteral:G,isObjectExpression:U,isProperty:B,isPureish:N,isRegExpLiteral:X,isSuper:H,isTaggedTemplateExpression:F,isTemplateLiteral:W,isThisExpression:V,isUnaryExpression:Q,isVariableDeclaration:ne,matchesPattern:ue,memberExpression:de,numericLiteral:Ae,toIdentifier:Oe,unaryExpression:Me,variableDeclaration:ae,variableDeclarator:se,isRecordExpression:ye,isTupleExpression:be,isObjectProperty:Ee,isTopicReference:oe,isMetaProperty:J,isPrivateName:De,isExportDeclaration:Ke}=l;function ke(Ue,ce){switch(Ue==null?void 0:Ue.type){default:var xe;if(R(Ue)||Ke(Ue))if((D(Ue)||I(Ue)||R(Ue))&&Ue.source)ke(Ue.source,ce);else if((I(Ue)||R(Ue))&&(xe=Ue.specifiers)!=null&&xe.length)for(let he of Ue.specifiers)ke(he,ce);else(L(Ue)||I(Ue))&&Ue.declaration&&ke(Ue.declaration,ce);else $(Ue)?ke(Ue.local,ce):!z(Ue)||G(Ue)||X(Ue)||W(Ue)||ce.push(Ue.value);break;case"MemberExpression":case"OptionalMemberExpression":case"JSXMemberExpression":ke(Ue.object,ce),ke(Ue.property,ce);break;case"Identifier":case"JSXIdentifier":ce.push(Ue.name);break;case"CallExpression":case"OptionalCallExpression":case"NewExpression":ke(Ue.callee,ce);break;case"ObjectExpression":case"ObjectPattern":for(let he of Ue.properties)ke(he,ce);break;case"SpreadElement":case"RestElement":case"UnaryExpression":case"UpdateExpression":ke(Ue.argument,ce);break;case"ObjectProperty":case"ObjectMethod":case"ClassProperty":case"ClassMethod":case"ClassPrivateProperty":case"ClassPrivateMethod":ke(Ue.key,ce);break;case"ThisExpression":ce.push("this");break;case"Super":ce.push("super");break;case"Import":ce.push("import");break;case"DoExpression":ce.push("do");break;case"YieldExpression":ce.push("yield"),ke(Ue.argument,ce);break;case"AwaitExpression":ce.push("await"),ke(Ue.argument,ce);break;case"AssignmentExpression":ke(Ue.left,ce);break;case"VariableDeclarator":case"FunctionExpression":case"FunctionDeclaration":case"ClassExpression":case"ClassDeclaration":case"PrivateName":ke(Ue.id,ce);break;case"ParenthesizedExpression":ke(Ue.expression,ce);break;case"MetaProperty":ke(Ue.meta,ce),ke(Ue.property,ce);break;case"JSXElement":ke(Ue.openingElement,ce);break;case"JSXOpeningElement":ke(Ue.name,ce);break;case"JSXFragment":ke(Ue.openingFragment,ce);break;case"JSXOpeningFragment":ce.push("Fragment");break;case"JSXNamespacedName":ke(Ue.namespace,ce),ke(Ue.name,ce)}}let Qe={ForStatement(Ue){let ce=Ue.get("init");if(ce.isVar()){let{scope:xe}=Ue;(xe.getFunctionParent()||xe.getProgramParent()).registerBinding("var",ce)}},Declaration(Ue){Ue.isBlockScoped()||Ue.isImportDeclaration()||Ue.isExportDeclaration()||(Ue.scope.getFunctionParent()||Ue.scope.getProgramParent()).registerDeclaration(Ue)},ImportDeclaration(Ue){Ue.scope.getBlockParent().registerDeclaration(Ue)},ReferencedIdentifier(Ue,ce){ce.references.push(Ue)},ForXStatement(Ue,ce){let xe=Ue.get("left");if(xe.isPattern()||xe.isIdentifier())ce.constantViolations.push(Ue);else if(xe.isVar()){let{scope:he}=Ue;(he.getFunctionParent()||he.getProgramParent()).registerBinding("var",xe)}},ExportDeclaration:{exit(Ue){let{node:ce,scope:xe}=Ue;if(D(ce))return;let he=ce.declaration;if(P(he)||j(he)){let ve=he.id;if(!ve)return;let et=xe.getBinding(ve.name);et==null||et.reference(Ue)}else if(ne(he))for(let ve of he.declarations)for(let et of Object.keys(v(ve))){let ut=xe.getBinding(et);ut==null||ut.reference(Ue)}}},LabeledStatement(Ue){Ue.scope.getBlockParent().registerDeclaration(Ue)},AssignmentExpression(Ue,ce){ce.assignments.push(Ue)},UpdateExpression(Ue,ce){ce.constantViolations.push(Ue)},UnaryExpression(Ue,ce){Ue.node.operator==="delete"&&ce.constantViolations.push(Ue)},BlockScoped(Ue){let ce=Ue.scope;if(ce.path===Ue&&(ce=ce.parent),ce.getBlockParent().registerDeclaration(Ue),Ue.isClassDeclaration()&&Ue.node.id){let xe=Ue.node.id.name;Ue.scope.bindings[xe]=Ue.scope.parent.getBinding(xe)}},CatchClause(Ue){Ue.scope.registerBinding("let",Ue)},Function(Ue){let ce=Ue.get("params");for(let xe of ce)Ue.scope.registerBinding("param",xe);Ue.isFunctionExpression()&&Ue.has("id")&&!Ue.get("id").node[y]&&Ue.scope.registerBinding("local",Ue.get("id"),Ue)},ClassExpression(Ue){Ue.has("id")&&!Ue.get("id").node[y]&&Ue.scope.registerBinding("local",Ue)}},pt=0;class dt{constructor(ce){this.uid=void 0,this.path=void 0,this.block=void 0,this.labels=void 0,this.inited=void 0,this.bindings=void 0,this.references=void 0,this.globals=void 0,this.uids=void 0,this.data=void 0,this.crawling=void 0;let{node:xe}=ce,he=p.scope.get(xe);if((he==null?void 0:he.path)===ce)return he;p.scope.set(xe,this),this.uid=pt++,this.block=xe,this.path=ce,this.labels=new Map,this.inited=!1}get parent(){var ce;let xe,he=this.path;do{let ve=he.key==="key"||he.listKey==="decorators";he=he.parentPath,ve&&he.isMethod()&&(he=he.parentPath),he&&he.isScope()&&(xe=he)}while(he&&!xe);return(ce=xe)==null?void 0:ce.scope}get parentBlock(){return this.path.parent}get hub(){return this.path.hub}traverse(ce,xe,he){(0,m.default)(ce,xe,this,he,this.path)}generateDeclaredUidIdentifier(ce){let xe=this.generateUidIdentifier(ce);return this.push({id:xe}),E(xe)}generateUidIdentifier(ce){return S(this.generateUid(ce))}generateUid(ce="temp"){let xe;ce=Oe(ce).replace(/^_+/,"").replace(/[0-9]+$/g,"");let he=1;do xe=this._generateUid(ce,he),he++;while(this.hasLabel(xe)||this.hasBinding(xe)||this.hasGlobal(xe)||this.hasReference(xe));let ve=this.getProgramParent();return ve.references[xe]=!0,ve.uids[xe]=!0,xe}_generateUid(ce,xe){let he=ce;return xe>1&&(he+=xe),`_${he}`}generateUidBasedOnNode(ce,xe){let he=[];ke(ce,he);let ve=he.join("$");return ve=ve.replace(/^_/,"")||xe||"ref",this.generateUid(ve.slice(0,20))}generateUidIdentifierBasedOnNode(ce,xe){return S(this.generateUidBasedOnNode(ce,xe))}isStatic(ce){if(V(ce)||H(ce)||oe(ce))return!0;if(M(ce)){let xe=this.getBinding(ce.name);return xe?xe.constant:this.hasBinding(ce.name)}return!1}maybeGenerateMemoised(ce,xe){if(this.isStatic(ce))return null;{let he=this.generateUidIdentifierBasedOnNode(ce);return xe?he:(this.push({id:he}),E(he))}}checkBlockScopedCollisions(ce,xe,he,ve){if(xe!=="param"&&ce.kind!=="local"&&(xe==="let"||ce.kind==="let"||ce.kind==="const"||ce.kind==="module"||ce.kind==="param"&&xe==="const"))throw this.hub.buildError(ve,`Duplicate declaration "${he}"`,TypeError)}rename(ce,xe){let he=this.getBinding(ce);he&&(xe||(xe=this.generateUidIdentifier(ce).name),new a.default(he,ce,xe).rename(arguments[2]))}_renameFromMap(ce,xe,he,ve){ce[xe]&&(ce[he]=ve,ce[xe]=null)}dump(){let ce="-".repeat(60);console.log(ce);let xe=this;do{console.log("#",xe.block.type);for(let he of Object.keys(xe.bindings)){let ve=xe.bindings[he];console.log(" -",he,{constant:ve.constant,references:ve.references,violations:ve.constantViolations.length,kind:ve.kind})}}while(xe=xe.parent);console.log(ce)}toArray(ce,xe,he){if(M(ce)){let ut=this.getBinding(ce.name);if(ut!=null&&ut.constant&&ut.path.isGenericType("Array"))return ce}if(w(ce))return ce;if(M(ce,{name:"arguments"}))return b(de(de(de(S("Array"),S("prototype")),S("slice")),S("call")),[ce]);let ve,et=[ce];return xe===!0?ve="toConsumableArray":typeof xe=="number"?(et.push(Ae(xe)),ve="slicedToArray"):ve="toArray",he&&(et.unshift(this.hub.addHelper(ve)),ve="maybeArrayLike"),b(this.hub.addHelper(ve),et)}hasLabel(ce){return!!this.getLabel(ce)}getLabel(ce){return this.labels.get(ce)}registerLabel(ce){this.labels.set(ce.node.label.name,ce)}registerDeclaration(ce){if(ce.isLabeledStatement())this.registerLabel(ce);else if(ce.isFunctionDeclaration())this.registerBinding("hoisted",ce.get("id"),ce);else if(ce.isVariableDeclaration()){let xe=ce.get("declarations"),{kind:he}=ce.node;for(let ve of xe)this.registerBinding(he==="using"||he==="await using"?"const":he,ve)}else if(ce.isClassDeclaration()){if(ce.node.declare)return;this.registerBinding("let",ce)}else if(ce.isImportDeclaration()){let xe=ce.node.importKind==="type"||ce.node.importKind==="typeof",he=ce.get("specifiers");for(let ve of he){let et=xe||ve.isImportSpecifier()&&(ve.node.importKind==="type"||ve.node.importKind==="typeof");this.registerBinding(et?"unknown":"module",ve)}}else if(ce.isExportDeclaration()){let xe=ce.get("declaration");(xe.isClassDeclaration()||xe.isFunctionDeclaration()||xe.isVariableDeclaration())&&this.registerDeclaration(xe)}else this.registerBinding("unknown",ce)}buildUndefinedNode(){return Me("void",Ae(0),!0)}registerConstantViolation(ce){let xe=ce.getBindingIdentifiers();for(let ve of Object.keys(xe)){var he;(he=this.getBinding(ve))==null||he.reassign(ce)}}registerBinding(ce,xe,he=xe){if(!ce)throw new ReferenceError("no `kind`");if(xe.isVariableDeclaration()){let ut=xe.get("declarations");for(let Kt of ut)this.registerBinding(ce,Kt);return}let ve=this.getProgramParent(),et=xe.getOuterBindingIdentifiers(!0);for(let ut of Object.keys(et)){ve.references[ut]=!0;for(let Kt of et[ut]){let zt=this.getOwnBinding(ut);if(zt){if(zt.identifier===Kt)continue;this.checkBlockScopedCollisions(zt,ce,ut,Kt)}zt?this.registerConstantViolation(he):this.bindings[ut]=new d.default({identifier:Kt,scope:this,path:he,kind:ce})}}}addGlobal(ce){this.globals[ce.name]=ce}hasUid(ce){let xe=this;do if(xe.uids[ce])return!0;while(xe=xe.parent);return!1}hasGlobal(ce){let xe=this;do if(xe.globals[ce])return!0;while(xe=xe.parent);return!1}hasReference(ce){return!!this.getProgramParent().references[ce]}isPure(ce,xe){if(M(ce)){let ut=this.getBinding(ce.name);return!!ut&&(!xe||ut.constant)}if(V(ce)||J(ce)||oe(ce)||De(ce))return!0;var he,ve,et;if(x(ce))return!(ce.superClass&&!this.isPure(ce.superClass,xe))&&!(((he=ce.decorators)==null?void 0:he.length)>0)&&this.isPure(ce.body,xe);if(C(ce)){for(let ut of ce.body)if(!this.isPure(ut,xe))return!1;return!0}if(A(ce))return this.isPure(ce.left,xe)&&this.isPure(ce.right,xe);if(w(ce)||be(ce)){for(let ut of ce.elements)if(ut!==null&&!this.isPure(ut,xe))return!1;return!0}if(U(ce)||ye(ce)){for(let ut of ce.properties)if(!this.isPure(ut,xe))return!1;return!0}if(Y(ce))return!(ce.computed&&!this.isPure(ce.key,xe))&&!(((ve=ce.decorators)==null?void 0:ve.length)>0);if(B(ce))return!(ce.computed&&!this.isPure(ce.key,xe))&&!(((et=ce.decorators)==null?void 0:et.length)>0)&&!((Ee(ce)||ce.static)&&ce.value!==null&&!this.isPure(ce.value,xe));if(Q(ce))return this.isPure(ce.argument,xe);if(F(ce))return ue(ce.tag,"String.raw")&&!this.hasBinding("String",!0)&&this.isPure(ce.quasi,xe);if(W(ce)){for(let ut of ce.expressions)if(!this.isPure(ut,xe))return!1;return!0}return N(ce)}setData(ce,xe){return this.data[ce]=xe}getData(ce){let xe=this;do{let he=xe.data[ce];if(he!=null)return he}while(xe=xe.parent)}removeData(ce){let xe=this;do xe.data[ce]!=null&&(xe.data[ce]=null);while(xe=xe.parent)}init(){this.inited||(this.inited=!0,this.crawl())}crawl(){let ce=this.path;this.references=Object.create(null),this.bindings=Object.create(null),this.globals=Object.create(null),this.uids=Object.create(null),this.data=Object.create(null);let xe=this.getProgramParent();if(xe.crawling)return;let he={references:[],constantViolations:[],assignments:[]};if(this.crawling=!0,ce.type!=="Program"&&(0,h.isExplodedVisitor)(Qe)){for(let et of Qe.enter)et.call(he,ce,he);let ve=Qe[ce.type];if(ve)for(let et of ve.enter)et.call(he,ce,he)}ce.traverse(Qe,he),this.crawling=!1;for(let ve of he.assignments){let et=ve.getBindingIdentifiers();for(let ut of Object.keys(et))ve.scope.getBinding(ut)||xe.addGlobal(et[ut]);ve.scope.registerConstantViolation(ve)}for(let ve of he.references){let et=ve.scope.getBinding(ve.node.name);et?et.reference(ve):xe.addGlobal(ve.node)}for(let ve of he.constantViolations)ve.scope.registerConstantViolation(ve)}push(ce){let xe=this.path;xe.isPattern()?xe=this.getPatternParent().path:xe.isBlockStatement()||xe.isProgram()||(xe=this.getBlockParent().path),xe.isSwitchStatement()&&(xe=(this.getFunctionParent()||this.getProgramParent()).path);let{init:he,unique:ve,kind:et="var",id:ut}=ce;if(!he&&!ve&&(et==="var"||et==="let")&&xe.isFunction()&&!xe.node.name&&f.isCallExpression(xe.parent,{callee:xe.node})&&xe.parent.arguments.length<=xe.node.params.length&&f.isIdentifier(ut))return xe.pushContainer("params",ut),void xe.scope.registerBinding("param",xe.get("params")[xe.node.params.length-1]);(xe.isLoop()||xe.isCatchClause()||xe.isFunction())&&(xe.ensureBlock(),xe=xe.get("body"));let Kt=ce._blockHoist==null?2:ce._blockHoist,zt=`declaration:${et}:${Kt}`,Zt=!ve&&xe.getData(zt);if(!Zt){let nt=ae(et,[]);nt._blockHoist=Kt,[Zt]=xe.unshiftContainer("body",[nt]),ve||xe.setData(zt,Zt)}let Ar=se(ut,he),er=Zt.node.declarations.push(Ar);xe.scope.registerBinding(et,Zt.get("declarations")[er-1])}getProgramParent(){let ce=this;do if(ce.path.isProgram())return ce;while(ce=ce.parent);throw new Error("Couldn't find a Program")}getFunctionParent(){let ce=this;do if(ce.path.isFunctionParent())return ce;while(ce=ce.parent);return null}getBlockParent(){let ce=this;do if(ce.path.isBlockParent())return ce;while(ce=ce.parent);throw new Error("We couldn't find a BlockStatement, For, Switch, Function, Loop or Program...")}getPatternParent(){let ce=this;do if(!ce.path.isPattern())return ce.getBlockParent();while(ce=ce.parent.parent);throw new Error("We couldn't find a BlockStatement, For, Switch, Function, Loop or Program...")}getAllBindings(){let ce=Object.create(null),xe=this;do{for(let he of Object.keys(xe.bindings))!(he in ce)&&(ce[he]=xe.bindings[he]);xe=xe.parent}while(xe);return ce}getAllBindingsOfKind(...ce){let xe=Object.create(null);for(let he of ce){let ve=this;do{for(let et of Object.keys(ve.bindings)){let ut=ve.bindings[et];ut.kind===he&&(xe[et]=ut)}ve=ve.parent}while(ve)}return xe}bindingIdentifierEquals(ce,xe){return this.getBindingIdentifier(ce)===xe}getBinding(ce){let xe,he=this;do{let et=he.getOwnBinding(ce);var ve;if(et){if((ve=xe)==null||!ve.isPattern()||et.kind==="param"||et.kind==="local")return et}else if(!et&&ce==="arguments"&&he.path.isFunction()&&!he.path.isArrowFunctionExpression())break;xe=he.path}while(he=he.parent)}getOwnBinding(ce){return this.bindings[ce]}getBindingIdentifier(ce){var xe;return(xe=this.getBinding(ce))==null?void 0:xe.identifier}getOwnBindingIdentifier(ce){let xe=this.bindings[ce];return xe==null?void 0:xe.identifier}hasOwnBinding(ce){return!!this.getOwnBinding(ce)}hasBinding(ce,xe){var he,ve,et;return!!ce&&(!!this.hasOwnBinding(ce)||(typeof xe=="boolean"&&(xe={noGlobals:xe}),!!this.parentHasBinding(ce,xe)||!((he=xe)!=null&&he.noUids||!this.hasUid(ce))||!((ve=xe)!=null&&ve.noGlobals||!dt.globals.includes(ce))||!((et=xe)!=null&&et.noGlobals||!dt.contextVariables.includes(ce))))}parentHasBinding(ce,xe){var he;return(he=this.parent)==null?void 0:he.hasBinding(ce,xe)}moveBindingTo(ce,xe){let he=this.getBinding(ce);he&&(he.scope.removeOwnBinding(ce),he.scope=xe,xe.bindings[ce]=he)}removeOwnBinding(ce){delete this.bindings[ce]}removeBinding(ce){var xe;(xe=this.getBinding(ce))==null||xe.scope.removeOwnBinding(ce);let he=this;do he.uids[ce]&&(he.uids[ce]=!1);while(he=he.parent)}}r.default=dt,dt.globals=Object.keys(s.builtin),dt.contextVariables=["arguments","undefined","Infinity","NaN"]},"./node_modules/.pnpm/@babel+traverse@7.22.15/node_modules/@babel/traverse/lib/scope/lib/renamer.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var a=u("./node_modules/.pnpm/@babel+helper-split-export-declaration@7.22.6/node_modules/@babel/helper-split-export-declaration/lib/index.js"),m=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/index.js"),d=u("./node_modules/.pnpm/@babel+helper-environment-visitor@7.22.5/node_modules/@babel/helper-environment-visitor/lib/index.js"),s=u("./node_modules/.pnpm/@babel+traverse@7.22.15/node_modules/@babel/traverse/lib/traverse-node.js"),l=u("./node_modules/.pnpm/@babel+traverse@7.22.15/node_modules/@babel/traverse/lib/visitors.js");let f={ReferencedIdentifier({node:p},h){p.name===h.oldName&&(p.name=h.newName)},Scope(p,h){p.scope.bindingIdentifierEquals(h.oldName,h.binding.identifier)||(p.skip(),p.isMethod()&&(0,d.requeueComputedKeyAndDecorators)(p))},ObjectProperty({node:p,scope:h},y){let{name:b}=p.key;var E;!p.shorthand||b!==y.oldName&&b!==y.newName||h.getBindingIdentifier(b)!==y.binding.identifier||(p.shorthand=!1,(E=p.extra)!=null&&E.shorthand&&(p.extra.shorthand=!1))},"AssignmentExpression|Declaration|VariableDeclarator"(p,h){if(p.isVariableDeclaration())return;let y=p.getOuterBindingIdentifiers();for(let b in y)b===h.oldName&&(y[b].name=h.newName)}};r.default=class{constructor(p,h,y){this.newName=y,this.oldName=h,this.binding=p}maybeConvertFromExportDeclaration(p){let h=p.parentPath;if(h.isExportDeclaration()){if(h.isExportDefaultDeclaration()){let{declaration:y}=h.node;if(m.isDeclaration(y)&&!y.id)return}h.isExportAllDeclaration()||(0,a.default)(h)}}maybeConvertFromClassFunctionDeclaration(p){return p}maybeConvertFromClassFunctionExpression(p){return p}rename(){let{binding:p,oldName:h,newName:y}=this,{scope:b,path:E}=p,v=E.find(w=>w.isDeclaration()||w.isFunctionExpression()||w.isClassExpression());v&&v.getOuterBindingIdentifiers()[h]===p.identifier&&this.maybeConvertFromExportDeclaration(v);let S=arguments[0]||b.block;(0,s.traverseNode)(S,(0,l.explode)(f),b,this,b.path,{discriminant:!0}),arguments[0]||(b.removeOwnBinding(h),b.bindings[y]=p,this.binding.identifier.name=y),v&&(this.maybeConvertFromClassFunctionDeclaration(E),this.maybeConvertFromClassFunctionExpression(E))}}},"./node_modules/.pnpm/@babel+traverse@7.22.15/node_modules/@babel/traverse/lib/traverse-node.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.traverseNode=function(s,l,f,p,h,y,b){let E=d[s.type];if(!E)return!1;let v=new a.default(f,l,p,h);if(b)return(y==null||!y[h.parentKey])&&v.visitQueue([h]);for(let S of E)if((y==null||!y[S])&&v.visit(s,S))return!0;return!1};var a=u("./node_modules/.pnpm/@babel+traverse@7.22.15/node_modules/@babel/traverse/lib/context.js"),m=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/index.js");let{VISITOR_KEYS:d}=m},"./node_modules/.pnpm/@babel+traverse@7.22.15/node_modules/@babel/traverse/lib/visitors.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.explode=y,r.isExplodedVisitor=h,r.merge=function(C,P=[],D){let L={};for(let I=0;I<C.length;I++){let j=y(C[I]),M=P[I],R=j;(M||D)&&(R=v(R,M,D)),x(L,R);for(let z of Object.keys(j)){if(A(z))continue;let Y=j[z];(M||D)&&(Y=v(Y,M,D)),x(L[z]||(L[z]={}),Y)}}return L},r.verify=b;var a=u("./node_modules/.pnpm/@babel+traverse@7.22.15/node_modules/@babel/traverse/lib/path/lib/virtual-types.js"),m=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/index.js");let{DEPRECATED_KEYS:d,DEPRECATED_ALIASES:s,FLIPPED_ALIAS_KEYS:l,TYPES:f,__internal__deprecationWarning:p}=m;function h(C){return C==null?void 0:C._exploded}function y(C){if(h(C))return C;C._exploded=!0;for(let P of Object.keys(C)){if(A(P))continue;let D=P.split("|");if(D.length===1)continue;let L=C[P];delete C[P];for(let I of D)C[I]=L}b(C),delete C.__esModule,function(P){for(let D of Object.keys(P)){if(A(D))continue;let L=P[D];typeof L=="function"&&(P[D]={enter:L})}}(C),S(C);for(let P of Object.keys(C)){if(A(P)||!(P in a))continue;let D=C[P];for(let I of Object.keys(D))D[I]=w(P,D[I]);delete C[P];let L=a[P];if(L!==null)for(let I of L)C[I]?x(C[I],D):C[I]=D;else x(C,D)}for(let P of Object.keys(C)){if(A(P))continue;let D=l[P];if(P in d){let I=d[P];p(P,I,"Visitor "),D=[I]}else if(P in s){let I=s[P];p(P,I,"Visitor "),D=l[I]}if(!D)continue;let L=C[P];delete C[P];for(let I of D){let j=C[I];j?x(j,L):C[I]=Object.assign({},L)}}for(let P of Object.keys(C))A(P)||S(C[P]);return C}function b(C){if(!C._verified){if(typeof C=="function")throw new Error("You passed `traverse()` a function when it expected a visitor object, are you sure you didn't mean `{ enter: Function }`?");for(let P of Object.keys(C)){if(P!=="enter"&&P!=="exit"||E(P,C[P]),A(P))continue;if(f.indexOf(P)<0)throw new Error(`You gave us a visitor for the node type ${P} but it's not a valid type`);let D=C[P];if(typeof D=="object")for(let L of Object.keys(D)){if(L!=="enter"&&L!=="exit")throw new Error(`You passed \`traverse()\` a visitor object with the property ${P} that has the invalid property ${L}`);E(`${P}.${L}`,D[L])}}C._verified=!0}}function E(C,P){let D=[].concat(P);for(let L of D)if(typeof L!="function")throw new TypeError(`Non-function found defined in ${C} with type ${typeof L}`)}function v(C,P,D){let L={};for(let I of["enter","exit"]){let j=C[I];Array.isArray(j)&&(j=j.map(function(M){let R=M;return P&&(R=function(z){M.call(P,z,P)}),D&&(R=D(P==null?void 0:P.key,I,R)),R!==M&&(R.toString=()=>M.toString()),R}),L[I]=j)}return L}function S(C){C.enter&&!Array.isArray(C.enter)&&(C.enter=[C.enter]),C.exit&&!Array.isArray(C.exit)&&(C.exit=[C.exit])}function w(C,P){let D=function(L){if(L[`is${C}`]())return P.apply(this,arguments)};return D.toString=()=>P.toString(),D}function A(C){return C[0]==="_"||C==="enter"||C==="exit"||C==="shouldSkip"||C==="denylist"||C==="noScope"||C==="skipKeys"||C==="blacklist"}function x(C,P){for(let D of["enter","exit"])P[D]&&(C[D]=[].concat(C[D]||[],P[D]))}},"./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/asserts/assertNode.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(m){if(!(0,a.default)(m)){var d;let s=(d=m==null?void 0:m.type)!=null?d:JSON.stringify(m);throw new TypeError(`Not a valid node of type "${s}"`)}};var a=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/validators/isNode.js")},"./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/asserts/generated/index.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.assertAccessor=function(s,l){d("Accessor",s,l)},r.assertAnyTypeAnnotation=function(s,l){d("AnyTypeAnnotation",s,l)},r.assertArgumentPlaceholder=function(s,l){d("ArgumentPlaceholder",s,l)},r.assertArrayExpression=function(s,l){d("ArrayExpression",s,l)},r.assertArrayPattern=function(s,l){d("ArrayPattern",s,l)},r.assertArrayTypeAnnotation=function(s,l){d("ArrayTypeAnnotation",s,l)},r.assertArrowFunctionExpression=function(s,l){d("ArrowFunctionExpression",s,l)},r.assertAssignmentExpression=function(s,l){d("AssignmentExpression",s,l)},r.assertAssignmentPattern=function(s,l){d("AssignmentPattern",s,l)},r.assertAwaitExpression=function(s,l){d("AwaitExpression",s,l)},r.assertBigIntLiteral=function(s,l){d("BigIntLiteral",s,l)},r.assertBinary=function(s,l){d("Binary",s,l)},r.assertBinaryExpression=function(s,l){d("BinaryExpression",s,l)},r.assertBindExpression=function(s,l){d("BindExpression",s,l)},r.assertBlock=function(s,l){d("Block",s,l)},r.assertBlockParent=function(s,l){d("BlockParent",s,l)},r.assertBlockStatement=function(s,l){d("BlockStatement",s,l)},r.assertBooleanLiteral=function(s,l){d("BooleanLiteral",s,l)},r.assertBooleanLiteralTypeAnnotation=function(s,l){d("BooleanLiteralTypeAnnotation",s,l)},r.assertBooleanTypeAnnotation=function(s,l){d("BooleanTypeAnnotation",s,l)},r.assertBreakStatement=function(s,l){d("BreakStatement",s,l)},r.assertCallExpression=function(s,l){d("CallExpression",s,l)},r.assertCatchClause=function(s,l){d("CatchClause",s,l)},r.assertClass=function(s,l){d("Class",s,l)},r.assertClassAccessorProperty=function(s,l){d("ClassAccessorProperty",s,l)},r.assertClassBody=function(s,l){d("ClassBody",s,l)},r.assertClassDeclaration=function(s,l){d("ClassDeclaration",s,l)},r.assertClassExpression=function(s,l){d("ClassExpression",s,l)},r.assertClassImplements=function(s,l){d("ClassImplements",s,l)},r.assertClassMethod=function(s,l){d("ClassMethod",s,l)},r.assertClassPrivateMethod=function(s,l){d("ClassPrivateMethod",s,l)},r.assertClassPrivateProperty=function(s,l){d("ClassPrivateProperty",s,l)},r.assertClassProperty=function(s,l){d("ClassProperty",s,l)},r.assertCompletionStatement=function(s,l){d("CompletionStatement",s,l)},r.assertConditional=function(s,l){d("Conditional",s,l)},r.assertConditionalExpression=function(s,l){d("ConditionalExpression",s,l)},r.assertContinueStatement=function(s,l){d("ContinueStatement",s,l)},r.assertDebuggerStatement=function(s,l){d("DebuggerStatement",s,l)},r.assertDecimalLiteral=function(s,l){d("DecimalLiteral",s,l)},r.assertDeclaration=function(s,l){d("Declaration",s,l)},r.assertDeclareClass=function(s,l){d("DeclareClass",s,l)},r.assertDeclareExportAllDeclaration=function(s,l){d("DeclareExportAllDeclaration",s,l)},r.assertDeclareExportDeclaration=function(s,l){d("DeclareExportDeclaration",s,l)},r.assertDeclareFunction=function(s,l){d("DeclareFunction",s,l)},r.assertDeclareInterface=function(s,l){d("DeclareInterface",s,l)},r.assertDeclareModule=function(s,l){d("DeclareModule",s,l)},r.assertDeclareModuleExports=function(s,l){d("DeclareModuleExports",s,l)},r.assertDeclareOpaqueType=function(s,l){d("DeclareOpaqueType",s,l)},r.assertDeclareTypeAlias=function(s,l){d("DeclareTypeAlias",s,l)},r.assertDeclareVariable=function(s,l){d("DeclareVariable",s,l)},r.assertDeclaredPredicate=function(s,l){d("DeclaredPredicate",s,l)},r.assertDecorator=function(s,l){d("Decorator",s,l)},r.assertDirective=function(s,l){d("Directive",s,l)},r.assertDirectiveLiteral=function(s,l){d("DirectiveLiteral",s,l)},r.assertDoExpression=function(s,l){d("DoExpression",s,l)},r.assertDoWhileStatement=function(s,l){d("DoWhileStatement",s,l)},r.assertEmptyStatement=function(s,l){d("EmptyStatement",s,l)},r.assertEmptyTypeAnnotation=function(s,l){d("EmptyTypeAnnotation",s,l)},r.assertEnumBody=function(s,l){d("EnumBody",s,l)},r.assertEnumBooleanBody=function(s,l){d("EnumBooleanBody",s,l)},r.assertEnumBooleanMember=function(s,l){d("EnumBooleanMember",s,l)},r.assertEnumDeclaration=function(s,l){d("EnumDeclaration",s,l)},r.assertEnumDefaultedMember=function(s,l){d("EnumDefaultedMember",s,l)},r.assertEnumMember=function(s,l){d("EnumMember",s,l)},r.assertEnumNumberBody=function(s,l){d("EnumNumberBody",s,l)},r.assertEnumNumberMember=function(s,l){d("EnumNumberMember",s,l)},r.assertEnumStringBody=function(s,l){d("EnumStringBody",s,l)},r.assertEnumStringMember=function(s,l){d("EnumStringMember",s,l)},r.assertEnumSymbolBody=function(s,l){d("EnumSymbolBody",s,l)},r.assertExistsTypeAnnotation=function(s,l){d("ExistsTypeAnnotation",s,l)},r.assertExportAllDeclaration=function(s,l){d("ExportAllDeclaration",s,l)},r.assertExportDeclaration=function(s,l){d("ExportDeclaration",s,l)},r.assertExportDefaultDeclaration=function(s,l){d("ExportDefaultDeclaration",s,l)},r.assertExportDefaultSpecifier=function(s,l){d("ExportDefaultSpecifier",s,l)},r.assertExportNamedDeclaration=function(s,l){d("ExportNamedDeclaration",s,l)},r.assertExportNamespaceSpecifier=function(s,l){d("ExportNamespaceSpecifier",s,l)},r.assertExportSpecifier=function(s,l){d("ExportSpecifier",s,l)},r.assertExpression=function(s,l){d("Expression",s,l)},r.assertExpressionStatement=function(s,l){d("ExpressionStatement",s,l)},r.assertExpressionWrapper=function(s,l){d("ExpressionWrapper",s,l)},r.assertFile=function(s,l){d("File",s,l)},r.assertFlow=function(s,l){d("Flow",s,l)},r.assertFlowBaseAnnotation=function(s,l){d("FlowBaseAnnotation",s,l)},r.assertFlowDeclaration=function(s,l){d("FlowDeclaration",s,l)},r.assertFlowPredicate=function(s,l){d("FlowPredicate",s,l)},r.assertFlowType=function(s,l){d("FlowType",s,l)},r.assertFor=function(s,l){d("For",s,l)},r.assertForInStatement=function(s,l){d("ForInStatement",s,l)},r.assertForOfStatement=function(s,l){d("ForOfStatement",s,l)},r.assertForStatement=function(s,l){d("ForStatement",s,l)},r.assertForXStatement=function(s,l){d("ForXStatement",s,l)},r.assertFunction=function(s,l){d("Function",s,l)},r.assertFunctionDeclaration=function(s,l){d("FunctionDeclaration",s,l)},r.assertFunctionExpression=function(s,l){d("FunctionExpression",s,l)},r.assertFunctionParent=function(s,l){d("FunctionParent",s,l)},r.assertFunctionTypeAnnotation=function(s,l){d("FunctionTypeAnnotation",s,l)},r.assertFunctionTypeParam=function(s,l){d("FunctionTypeParam",s,l)},r.assertGenericTypeAnnotation=function(s,l){d("GenericTypeAnnotation",s,l)},r.assertIdentifier=function(s,l){d("Identifier",s,l)},r.assertIfStatement=function(s,l){d("IfStatement",s,l)},r.assertImmutable=function(s,l){d("Immutable",s,l)},r.assertImport=function(s,l){d("Import",s,l)},r.assertImportAttribute=function(s,l){d("ImportAttribute",s,l)},r.assertImportDeclaration=function(s,l){d("ImportDeclaration",s,l)},r.assertImportDefaultSpecifier=function(s,l){d("ImportDefaultSpecifier",s,l)},r.assertImportNamespaceSpecifier=function(s,l){d("ImportNamespaceSpecifier",s,l)},r.assertImportOrExportDeclaration=function(s,l){d("ImportOrExportDeclaration",s,l)},r.assertImportSpecifier=function(s,l){d("ImportSpecifier",s,l)},r.assertIndexedAccessType=function(s,l){d("IndexedAccessType",s,l)},r.assertInferredPredicate=function(s,l){d("InferredPredicate",s,l)},r.assertInterfaceDeclaration=function(s,l){d("InterfaceDeclaration",s,l)},r.assertInterfaceExtends=function(s,l){d("InterfaceExtends",s,l)},r.assertInterfaceTypeAnnotation=function(s,l){d("InterfaceTypeAnnotation",s,l)},r.assertInterpreterDirective=function(s,l){d("InterpreterDirective",s,l)},r.assertIntersectionTypeAnnotation=function(s,l){d("IntersectionTypeAnnotation",s,l)},r.assertJSX=function(s,l){d("JSX",s,l)},r.assertJSXAttribute=function(s,l){d("JSXAttribute",s,l)},r.assertJSXClosingElement=function(s,l){d("JSXClosingElement",s,l)},r.assertJSXClosingFragment=function(s,l){d("JSXClosingFragment",s,l)},r.assertJSXElement=function(s,l){d("JSXElement",s,l)},r.assertJSXEmptyExpression=function(s,l){d("JSXEmptyExpression",s,l)},r.assertJSXExpressionContainer=function(s,l){d("JSXExpressionContainer",s,l)},r.assertJSXFragment=function(s,l){d("JSXFragment",s,l)},r.assertJSXIdentifier=function(s,l){d("JSXIdentifier",s,l)},r.assertJSXMemberExpression=function(s,l){d("JSXMemberExpression",s,l)},r.assertJSXNamespacedName=function(s,l){d("JSXNamespacedName",s,l)},r.assertJSXOpeningElement=function(s,l){d("JSXOpeningElement",s,l)},r.assertJSXOpeningFragment=function(s,l){d("JSXOpeningFragment",s,l)},r.assertJSXSpreadAttribute=function(s,l){d("JSXSpreadAttribute",s,l)},r.assertJSXSpreadChild=function(s,l){d("JSXSpreadChild",s,l)},r.assertJSXText=function(s,l){d("JSXText",s,l)},r.assertLVal=function(s,l){d("LVal",s,l)},r.assertLabeledStatement=function(s,l){d("LabeledStatement",s,l)},r.assertLiteral=function(s,l){d("Literal",s,l)},r.assertLogicalExpression=function(s,l){d("LogicalExpression",s,l)},r.assertLoop=function(s,l){d("Loop",s,l)},r.assertMemberExpression=function(s,l){d("MemberExpression",s,l)},r.assertMetaProperty=function(s,l){d("MetaProperty",s,l)},r.assertMethod=function(s,l){d("Method",s,l)},r.assertMiscellaneous=function(s,l){d("Miscellaneous",s,l)},r.assertMixedTypeAnnotation=function(s,l){d("MixedTypeAnnotation",s,l)},r.assertModuleDeclaration=function(s,l){(0,m.default)("assertModuleDeclaration","assertImportOrExportDeclaration"),d("ModuleDeclaration",s,l)},r.assertModuleExpression=function(s,l){d("ModuleExpression",s,l)},r.assertModuleSpecifier=function(s,l){d("ModuleSpecifier",s,l)},r.assertNewExpression=function(s,l){d("NewExpression",s,l)},r.assertNoop=function(s,l){d("Noop",s,l)},r.assertNullLiteral=function(s,l){d("NullLiteral",s,l)},r.assertNullLiteralTypeAnnotation=function(s,l){d("NullLiteralTypeAnnotation",s,l)},r.assertNullableTypeAnnotation=function(s,l){d("NullableTypeAnnotation",s,l)},r.assertNumberLiteral=function(s,l){(0,m.default)("assertNumberLiteral","assertNumericLiteral"),d("NumberLiteral",s,l)},r.assertNumberLiteralTypeAnnotation=function(s,l){d("NumberLiteralTypeAnnotation",s,l)},r.assertNumberTypeAnnotation=function(s,l){d("NumberTypeAnnotation",s,l)},r.assertNumericLiteral=function(s,l){d("NumericLiteral",s,l)},r.assertObjectExpression=function(s,l){d("ObjectExpression",s,l)},r.assertObjectMember=function(s,l){d("ObjectMember",s,l)},r.assertObjectMethod=function(s,l){d("ObjectMethod",s,l)},r.assertObjectPattern=function(s,l){d("ObjectPattern",s,l)},r.assertObjectProperty=function(s,l){d("ObjectProperty",s,l)},r.assertObjectTypeAnnotation=function(s,l){d("ObjectTypeAnnotation",s,l)},r.assertObjectTypeCallProperty=function(s,l){d("ObjectTypeCallProperty",s,l)},r.assertObjectTypeIndexer=function(s,l){d("ObjectTypeIndexer",s,l)},r.assertObjectTypeInternalSlot=function(s,l){d("ObjectTypeInternalSlot",s,l)},r.assertObjectTypeProperty=function(s,l){d("ObjectTypeProperty",s,l)},r.assertObjectTypeSpreadProperty=function(s,l){d("ObjectTypeSpreadProperty",s,l)},r.assertOpaqueType=function(s,l){d("OpaqueType",s,l)},r.assertOptionalCallExpression=function(s,l){d("OptionalCallExpression",s,l)},r.assertOptionalIndexedAccessType=function(s,l){d("OptionalIndexedAccessType",s,l)},r.assertOptionalMemberExpression=function(s,l){d("OptionalMemberExpression",s,l)},r.assertParenthesizedExpression=function(s,l){d("ParenthesizedExpression",s,l)},r.assertPattern=function(s,l){d("Pattern",s,l)},r.assertPatternLike=function(s,l){d("PatternLike",s,l)},r.assertPipelineBareFunction=function(s,l){d("PipelineBareFunction",s,l)},r.assertPipelinePrimaryTopicReference=function(s,l){d("PipelinePrimaryTopicReference",s,l)},r.assertPipelineTopicExpression=function(s,l){d("PipelineTopicExpression",s,l)},r.assertPlaceholder=function(s,l){d("Placeholder",s,l)},r.assertPrivate=function(s,l){d("Private",s,l)},r.assertPrivateName=function(s,l){d("PrivateName",s,l)},r.assertProgram=function(s,l){d("Program",s,l)},r.assertProperty=function(s,l){d("Property",s,l)},r.assertPureish=function(s,l){d("Pureish",s,l)},r.assertQualifiedTypeIdentifier=function(s,l){d("QualifiedTypeIdentifier",s,l)},r.assertRecordExpression=function(s,l){d("RecordExpression",s,l)},r.assertRegExpLiteral=function(s,l){d("RegExpLiteral",s,l)},r.assertRegexLiteral=function(s,l){(0,m.default)("assertRegexLiteral","assertRegExpLiteral"),d("RegexLiteral",s,l)},r.assertRestElement=function(s,l){d("RestElement",s,l)},r.assertRestProperty=function(s,l){(0,m.default)("assertRestProperty","assertRestElement"),d("RestProperty",s,l)},r.assertReturnStatement=function(s,l){d("ReturnStatement",s,l)},r.assertScopable=function(s,l){d("Scopable",s,l)},r.assertSequenceExpression=function(s,l){d("SequenceExpression",s,l)},r.assertSpreadElement=function(s,l){d("SpreadElement",s,l)},r.assertSpreadProperty=function(s,l){(0,m.default)("assertSpreadProperty","assertSpreadElement"),d("SpreadProperty",s,l)},r.assertStandardized=function(s,l){d("Standardized",s,l)},r.assertStatement=function(s,l){d("Statement",s,l)},r.assertStaticBlock=function(s,l){d("StaticBlock",s,l)},r.assertStringLiteral=function(s,l){d("StringLiteral",s,l)},r.assertStringLiteralTypeAnnotation=function(s,l){d("StringLiteralTypeAnnotation",s,l)},r.assertStringTypeAnnotation=function(s,l){d("StringTypeAnnotation",s,l)},r.assertSuper=function(s,l){d("Super",s,l)},r.assertSwitchCase=function(s,l){d("SwitchCase",s,l)},r.assertSwitchStatement=function(s,l){d("SwitchStatement",s,l)},r.assertSymbolTypeAnnotation=function(s,l){d("SymbolTypeAnnotation",s,l)},r.assertTSAnyKeyword=function(s,l){d("TSAnyKeyword",s,l)},r.assertTSArrayType=function(s,l){d("TSArrayType",s,l)},r.assertTSAsExpression=function(s,l){d("TSAsExpression",s,l)},r.assertTSBaseType=function(s,l){d("TSBaseType",s,l)},r.assertTSBigIntKeyword=function(s,l){d("TSBigIntKeyword",s,l)},r.assertTSBooleanKeyword=function(s,l){d("TSBooleanKeyword",s,l)},r.assertTSCallSignatureDeclaration=function(s,l){d("TSCallSignatureDeclaration",s,l)},r.assertTSConditionalType=function(s,l){d("TSConditionalType",s,l)},r.assertTSConstructSignatureDeclaration=function(s,l){d("TSConstructSignatureDeclaration",s,l)},r.assertTSConstructorType=function(s,l){d("TSConstructorType",s,l)},r.assertTSDeclareFunction=function(s,l){d("TSDeclareFunction",s,l)},r.assertTSDeclareMethod=function(s,l){d("TSDeclareMethod",s,l)},r.assertTSEntityName=function(s,l){d("TSEntityName",s,l)},r.assertTSEnumDeclaration=function(s,l){d("TSEnumDeclaration",s,l)},r.assertTSEnumMember=function(s,l){d("TSEnumMember",s,l)},r.assertTSExportAssignment=function(s,l){d("TSExportAssignment",s,l)},r.assertTSExpressionWithTypeArguments=function(s,l){d("TSExpressionWithTypeArguments",s,l)},r.assertTSExternalModuleReference=function(s,l){d("TSExternalModuleReference",s,l)},r.assertTSFunctionType=function(s,l){d("TSFunctionType",s,l)},r.assertTSImportEqualsDeclaration=function(s,l){d("TSImportEqualsDeclaration",s,l)},r.assertTSImportType=function(s,l){d("TSImportType",s,l)},r.assertTSIndexSignature=function(s,l){d("TSIndexSignature",s,l)},r.assertTSIndexedAccessType=function(s,l){d("TSIndexedAccessType",s,l)},r.assertTSInferType=function(s,l){d("TSInferType",s,l)},r.assertTSInstantiationExpression=function(s,l){d("TSInstantiationExpression",s,l)},r.assertTSInterfaceBody=function(s,l){d("TSInterfaceBody",s,l)},r.assertTSInterfaceDeclaration=function(s,l){d("TSInterfaceDeclaration",s,l)},r.assertTSIntersectionType=function(s,l){d("TSIntersectionType",s,l)},r.assertTSIntrinsicKeyword=function(s,l){d("TSIntrinsicKeyword",s,l)},r.assertTSLiteralType=function(s,l){d("TSLiteralType",s,l)},r.assertTSMappedType=function(s,l){d("TSMappedType",s,l)},r.assertTSMethodSignature=function(s,l){d("TSMethodSignature",s,l)},r.assertTSModuleBlock=function(s,l){d("TSModuleBlock",s,l)},r.assertTSModuleDeclaration=function(s,l){d("TSModuleDeclaration",s,l)},r.assertTSNamedTupleMember=function(s,l){d("TSNamedTupleMember",s,l)},r.assertTSNamespaceExportDeclaration=function(s,l){d("TSNamespaceExportDeclaration",s,l)},r.assertTSNeverKeyword=function(s,l){d("TSNeverKeyword",s,l)},r.assertTSNonNullExpression=function(s,l){d("TSNonNullExpression",s,l)},r.assertTSNullKeyword=function(s,l){d("TSNullKeyword",s,l)},r.assertTSNumberKeyword=function(s,l){d("TSNumberKeyword",s,l)},r.assertTSObjectKeyword=function(s,l){d("TSObjectKeyword",s,l)},r.assertTSOptionalType=function(s,l){d("TSOptionalType",s,l)},r.assertTSParameterProperty=function(s,l){d("TSParameterProperty",s,l)},r.assertTSParenthesizedType=function(s,l){d("TSParenthesizedType",s,l)},r.assertTSPropertySignature=function(s,l){d("TSPropertySignature",s,l)},r.assertTSQualifiedName=function(s,l){d("TSQualifiedName",s,l)},r.assertTSRestType=function(s,l){d("TSRestType",s,l)},r.assertTSSatisfiesExpression=function(s,l){d("TSSatisfiesExpression",s,l)},r.assertTSStringKeyword=function(s,l){d("TSStringKeyword",s,l)},r.assertTSSymbolKeyword=function(s,l){d("TSSymbolKeyword",s,l)},r.assertTSThisType=function(s,l){d("TSThisType",s,l)},r.assertTSTupleType=function(s,l){d("TSTupleType",s,l)},r.assertTSType=function(s,l){d("TSType",s,l)},r.assertTSTypeAliasDeclaration=function(s,l){d("TSTypeAliasDeclaration",s,l)},r.assertTSTypeAnnotation=function(s,l){d("TSTypeAnnotation",s,l)},r.assertTSTypeAssertion=function(s,l){d("TSTypeAssertion",s,l)},r.assertTSTypeElement=function(s,l){d("TSTypeElement",s,l)},r.assertTSTypeLiteral=function(s,l){d("TSTypeLiteral",s,l)},r.assertTSTypeOperator=function(s,l){d("TSTypeOperator",s,l)},r.assertTSTypeParameter=function(s,l){d("TSTypeParameter",s,l)},r.assertTSTypeParameterDeclaration=function(s,l){d("TSTypeParameterDeclaration",s,l)},r.assertTSTypeParameterInstantiation=function(s,l){d("TSTypeParameterInstantiation",s,l)},r.assertTSTypePredicate=function(s,l){d("TSTypePredicate",s,l)},r.assertTSTypeQuery=function(s,l){d("TSTypeQuery",s,l)},r.assertTSTypeReference=function(s,l){d("TSTypeReference",s,l)},r.assertTSUndefinedKeyword=function(s,l){d("TSUndefinedKeyword",s,l)},r.assertTSUnionType=function(s,l){d("TSUnionType",s,l)},r.assertTSUnknownKeyword=function(s,l){d("TSUnknownKeyword",s,l)},r.assertTSVoidKeyword=function(s,l){d("TSVoidKeyword",s,l)},r.assertTaggedTemplateExpression=function(s,l){d("TaggedTemplateExpression",s,l)},r.assertTemplateElement=function(s,l){d("TemplateElement",s,l)},r.assertTemplateLiteral=function(s,l){d("TemplateLiteral",s,l)},r.assertTerminatorless=function(s,l){d("Terminatorless",s,l)},r.assertThisExpression=function(s,l){d("ThisExpression",s,l)},r.assertThisTypeAnnotation=function(s,l){d("ThisTypeAnnotation",s,l)},r.assertThrowStatement=function(s,l){d("ThrowStatement",s,l)},r.assertTopicReference=function(s,l){d("TopicReference",s,l)},r.assertTryStatement=function(s,l){d("TryStatement",s,l)},r.assertTupleExpression=function(s,l){d("TupleExpression",s,l)},r.assertTupleTypeAnnotation=function(s,l){d("TupleTypeAnnotation",s,l)},r.assertTypeAlias=function(s,l){d("TypeAlias",s,l)},r.assertTypeAnnotation=function(s,l){d("TypeAnnotation",s,l)},r.assertTypeCastExpression=function(s,l){d("TypeCastExpression",s,l)},r.assertTypeParameter=function(s,l){d("TypeParameter",s,l)},r.assertTypeParameterDeclaration=function(s,l){d("TypeParameterDeclaration",s,l)},r.assertTypeParameterInstantiation=function(s,l){d("TypeParameterInstantiation",s,l)},r.assertTypeScript=function(s,l){d("TypeScript",s,l)},r.assertTypeofTypeAnnotation=function(s,l){d("TypeofTypeAnnotation",s,l)},r.assertUnaryExpression=function(s,l){d("UnaryExpression",s,l)},r.assertUnaryLike=function(s,l){d("UnaryLike",s,l)},r.assertUnionTypeAnnotation=function(s,l){d("UnionTypeAnnotation",s,l)},r.assertUpdateExpression=function(s,l){d("UpdateExpression",s,l)},r.assertUserWhitespacable=function(s,l){d("UserWhitespacable",s,l)},r.assertV8IntrinsicIdentifier=function(s,l){d("V8IntrinsicIdentifier",s,l)},r.assertVariableDeclaration=function(s,l){d("VariableDeclaration",s,l)},r.assertVariableDeclarator=function(s,l){d("VariableDeclarator",s,l)},r.assertVariance=function(s,l){d("Variance",s,l)},r.assertVoidTypeAnnotation=function(s,l){d("VoidTypeAnnotation",s,l)},r.assertWhile=function(s,l){d("While",s,l)},r.assertWhileStatement=function(s,l){d("WhileStatement",s,l)},r.assertWithStatement=function(s,l){d("WithStatement",s,l)},r.assertYieldExpression=function(s,l){d("YieldExpression",s,l)};var a=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/validators/is.js"),m=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/utils/deprecationWarning.js");function d(s,l,f){if(!(0,a.default)(s,l,f))throw new Error(`Expected type "${s}" with option ${JSON.stringify(f)}, but instead got "${l.type}".`)}},"./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/builders/flow/createFlowUnionType.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(d){let s=(0,m.default)(d);return s.length===1?s[0]:(0,a.unionTypeAnnotation)(s)};var a=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/builders/generated/index.js"),m=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/modifications/flow/removeTypeDuplicates.js")},"./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/builders/flow/createTypeAnnotationBasedOnTypeof.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var a=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/builders/generated/index.js"),m=function(d){switch(d){case"string":return(0,a.stringTypeAnnotation)();case"number":return(0,a.numberTypeAnnotation)();case"undefined":return(0,a.voidTypeAnnotation)();case"boolean":return(0,a.booleanTypeAnnotation)();case"function":return(0,a.genericTypeAnnotation)((0,a.identifier)("Function"));case"object":return(0,a.genericTypeAnnotation)((0,a.identifier)("Object"));case"symbol":return(0,a.genericTypeAnnotation)((0,a.identifier)("Symbol"));case"bigint":return(0,a.anyTypeAnnotation)()}throw new Error("Invalid typeof value: "+d)};r.default=m},"./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/builders/generated/index.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.anyTypeAnnotation=function(){return{type:"AnyTypeAnnotation"}},r.argumentPlaceholder=function(){return{type:"ArgumentPlaceholder"}},r.arrayExpression=function(p=[]){return(0,a.default)({type:"ArrayExpression",elements:p})},r.arrayPattern=function(p){return(0,a.default)({type:"ArrayPattern",elements:p})},r.arrayTypeAnnotation=function(p){return(0,a.default)({type:"ArrayTypeAnnotation",elementType:p})},r.arrowFunctionExpression=function(p,h,y=!1){return(0,a.default)({type:"ArrowFunctionExpression",params:p,body:h,async:y,expression:null})},r.assignmentExpression=function(p,h,y){return(0,a.default)({type:"AssignmentExpression",operator:p,left:h,right:y})},r.assignmentPattern=function(p,h){return(0,a.default)({type:"AssignmentPattern",left:p,right:h})},r.awaitExpression=function(p){return(0,a.default)({type:"AwaitExpression",argument:p})},r.bigIntLiteral=function(p){return(0,a.default)({type:"BigIntLiteral",value:p})},r.binaryExpression=function(p,h,y){return(0,a.default)({type:"BinaryExpression",operator:p,left:h,right:y})},r.bindExpression=function(p,h){return(0,a.default)({type:"BindExpression",object:p,callee:h})},r.blockStatement=function(p,h=[]){return(0,a.default)({type:"BlockStatement",body:p,directives:h})},r.booleanLiteral=function(p){return(0,a.default)({type:"BooleanLiteral",value:p})},r.booleanLiteralTypeAnnotation=function(p){return(0,a.default)({type:"BooleanLiteralTypeAnnotation",value:p})},r.booleanTypeAnnotation=function(){return{type:"BooleanTypeAnnotation"}},r.breakStatement=function(p=null){return(0,a.default)({type:"BreakStatement",label:p})},r.callExpression=function(p,h){return(0,a.default)({type:"CallExpression",callee:p,arguments:h})},r.catchClause=function(p=null,h){return(0,a.default)({type:"CatchClause",param:p,body:h})},r.classAccessorProperty=function(p,h=null,y=null,b=null,E=!1,v=!1){return(0,a.default)({type:"ClassAccessorProperty",key:p,value:h,typeAnnotation:y,decorators:b,computed:E,static:v})},r.classBody=function(p){return(0,a.default)({type:"ClassBody",body:p})},r.classDeclaration=function(p,h=null,y,b=null){return(0,a.default)({type:"ClassDeclaration",id:p,superClass:h,body:y,decorators:b})},r.classExpression=function(p=null,h=null,y,b=null){return(0,a.default)({type:"ClassExpression",id:p,superClass:h,body:y,decorators:b})},r.classImplements=function(p,h=null){return(0,a.default)({type:"ClassImplements",id:p,typeParameters:h})},r.classMethod=function(p="method",h,y,b,E=!1,v=!1,S=!1,w=!1){return(0,a.default)({type:"ClassMethod",kind:p,key:h,params:y,body:b,computed:E,static:v,generator:S,async:w})},r.classPrivateMethod=function(p="method",h,y,b,E=!1){return(0,a.default)({type:"ClassPrivateMethod",kind:p,key:h,params:y,body:b,static:E})},r.classPrivateProperty=function(p,h=null,y=null,b=!1){return(0,a.default)({type:"ClassPrivateProperty",key:p,value:h,decorators:y,static:b})},r.classProperty=function(p,h=null,y=null,b=null,E=!1,v=!1){return(0,a.default)({type:"ClassProperty",key:p,value:h,typeAnnotation:y,decorators:b,computed:E,static:v})},r.conditionalExpression=function(p,h,y){return(0,a.default)({type:"ConditionalExpression",test:p,consequent:h,alternate:y})},r.continueStatement=function(p=null){return(0,a.default)({type:"ContinueStatement",label:p})},r.debuggerStatement=function(){return{type:"DebuggerStatement"}},r.decimalLiteral=function(p){return(0,a.default)({type:"DecimalLiteral",value:p})},r.declareClass=function(p,h=null,y=null,b){return(0,a.default)({type:"DeclareClass",id:p,typeParameters:h,extends:y,body:b})},r.declareExportAllDeclaration=function(p){return(0,a.default)({type:"DeclareExportAllDeclaration",source:p})},r.declareExportDeclaration=function(p=null,h=null,y=null){return(0,a.default)({type:"DeclareExportDeclaration",declaration:p,specifiers:h,source:y})},r.declareFunction=function(p){return(0,a.default)({type:"DeclareFunction",id:p})},r.declareInterface=function(p,h=null,y=null,b){return(0,a.default)({type:"DeclareInterface",id:p,typeParameters:h,extends:y,body:b})},r.declareModule=function(p,h,y=null){return(0,a.default)({type:"DeclareModule",id:p,body:h,kind:y})},r.declareModuleExports=function(p){return(0,a.default)({type:"DeclareModuleExports",typeAnnotation:p})},r.declareOpaqueType=function(p,h=null,y=null){return(0,a.default)({type:"DeclareOpaqueType",id:p,typeParameters:h,supertype:y})},r.declareTypeAlias=function(p,h=null,y){return(0,a.default)({type:"DeclareTypeAlias",id:p,typeParameters:h,right:y})},r.declareVariable=function(p){return(0,a.default)({type:"DeclareVariable",id:p})},r.declaredPredicate=function(p){return(0,a.default)({type:"DeclaredPredicate",value:p})},r.decorator=function(p){return(0,a.default)({type:"Decorator",expression:p})},r.directive=function(p){return(0,a.default)({type:"Directive",value:p})},r.directiveLiteral=function(p){return(0,a.default)({type:"DirectiveLiteral",value:p})},r.doExpression=function(p,h=!1){return(0,a.default)({type:"DoExpression",body:p,async:h})},r.doWhileStatement=function(p,h){return(0,a.default)({type:"DoWhileStatement",test:p,body:h})},r.emptyStatement=function(){return{type:"EmptyStatement"}},r.emptyTypeAnnotation=function(){return{type:"EmptyTypeAnnotation"}},r.enumBooleanBody=function(p){return(0,a.default)({type:"EnumBooleanBody",members:p,explicitType:null,hasUnknownMembers:null})},r.enumBooleanMember=function(p){return(0,a.default)({type:"EnumBooleanMember",id:p,init:null})},r.enumDeclaration=function(p,h){return(0,a.default)({type:"EnumDeclaration",id:p,body:h})},r.enumDefaultedMember=function(p){return(0,a.default)({type:"EnumDefaultedMember",id:p})},r.enumNumberBody=function(p){return(0,a.default)({type:"EnumNumberBody",members:p,explicitType:null,hasUnknownMembers:null})},r.enumNumberMember=function(p,h){return(0,a.default)({type:"EnumNumberMember",id:p,init:h})},r.enumStringBody=function(p){return(0,a.default)({type:"EnumStringBody",members:p,explicitType:null,hasUnknownMembers:null})},r.enumStringMember=function(p,h){return(0,a.default)({type:"EnumStringMember",id:p,init:h})},r.enumSymbolBody=function(p){return(0,a.default)({type:"EnumSymbolBody",members:p,hasUnknownMembers:null})},r.existsTypeAnnotation=function(){return{type:"ExistsTypeAnnotation"}},r.exportAllDeclaration=function(p){return(0,a.default)({type:"ExportAllDeclaration",source:p})},r.exportDefaultDeclaration=function(p){return(0,a.default)({type:"ExportDefaultDeclaration",declaration:p})},r.exportDefaultSpecifier=function(p){return(0,a.default)({type:"ExportDefaultSpecifier",exported:p})},r.exportNamedDeclaration=function(p=null,h=[],y=null){return(0,a.default)({type:"ExportNamedDeclaration",declaration:p,specifiers:h,source:y})},r.exportNamespaceSpecifier=function(p){return(0,a.default)({type:"ExportNamespaceSpecifier",exported:p})},r.exportSpecifier=function(p,h){return(0,a.default)({type:"ExportSpecifier",local:p,exported:h})},r.expressionStatement=function(p){return(0,a.default)({type:"ExpressionStatement",expression:p})},r.file=function(p,h=null,y=null){return(0,a.default)({type:"File",program:p,comments:h,tokens:y})},r.forInStatement=function(p,h,y){return(0,a.default)({type:"ForInStatement",left:p,right:h,body:y})},r.forOfStatement=function(p,h,y,b=!1){return(0,a.default)({type:"ForOfStatement",left:p,right:h,body:y,await:b})},r.forStatement=function(p=null,h=null,y=null,b){return(0,a.default)({type:"ForStatement",init:p,test:h,update:y,body:b})},r.functionDeclaration=function(p=null,h,y,b=!1,E=!1){return(0,a.default)({type:"FunctionDeclaration",id:p,params:h,body:y,generator:b,async:E})},r.functionExpression=function(p=null,h,y,b=!1,E=!1){return(0,a.default)({type:"FunctionExpression",id:p,params:h,body:y,generator:b,async:E})},r.functionTypeAnnotation=function(p=null,h,y=null,b){return(0,a.default)({type:"FunctionTypeAnnotation",typeParameters:p,params:h,rest:y,returnType:b})},r.functionTypeParam=function(p=null,h){return(0,a.default)({type:"FunctionTypeParam",name:p,typeAnnotation:h})},r.genericTypeAnnotation=function(p,h=null){return(0,a.default)({type:"GenericTypeAnnotation",id:p,typeParameters:h})},r.identifier=function(p){return(0,a.default)({type:"Identifier",name:p})},r.ifStatement=function(p,h,y=null){return(0,a.default)({type:"IfStatement",test:p,consequent:h,alternate:y})},r.import=function(){return{type:"Import"}},r.importAttribute=function(p,h){return(0,a.default)({type:"ImportAttribute",key:p,value:h})},r.importDeclaration=function(p,h){return(0,a.default)({type:"ImportDeclaration",specifiers:p,source:h})},r.importDefaultSpecifier=function(p){return(0,a.default)({type:"ImportDefaultSpecifier",local:p})},r.importNamespaceSpecifier=function(p){return(0,a.default)({type:"ImportNamespaceSpecifier",local:p})},r.importSpecifier=function(p,h){return(0,a.default)({type:"ImportSpecifier",local:p,imported:h})},r.indexedAccessType=function(p,h){return(0,a.default)({type:"IndexedAccessType",objectType:p,indexType:h})},r.inferredPredicate=function(){return{type:"InferredPredicate"}},r.interfaceDeclaration=function(p,h=null,y=null,b){return(0,a.default)({type:"InterfaceDeclaration",id:p,typeParameters:h,extends:y,body:b})},r.interfaceExtends=function(p,h=null){return(0,a.default)({type:"InterfaceExtends",id:p,typeParameters:h})},r.interfaceTypeAnnotation=function(p=null,h){return(0,a.default)({type:"InterfaceTypeAnnotation",extends:p,body:h})},r.interpreterDirective=function(p){return(0,a.default)({type:"InterpreterDirective",value:p})},r.intersectionTypeAnnotation=function(p){return(0,a.default)({type:"IntersectionTypeAnnotation",types:p})},r.jSXAttribute=r.jsxAttribute=function(p,h=null){return(0,a.default)({type:"JSXAttribute",name:p,value:h})},r.jSXClosingElement=r.jsxClosingElement=function(p){return(0,a.default)({type:"JSXClosingElement",name:p})},r.jSXClosingFragment=r.jsxClosingFragment=function(){return{type:"JSXClosingFragment"}},r.jSXElement=r.jsxElement=function(p,h=null,y,b=null){return(0,a.default)({type:"JSXElement",openingElement:p,closingElement:h,children:y,selfClosing:b})},r.jSXEmptyExpression=r.jsxEmptyExpression=function(){return{type:"JSXEmptyExpression"}},r.jSXExpressionContainer=r.jsxExpressionContainer=function(p){return(0,a.default)({type:"JSXExpressionContainer",expression:p})},r.jSXFragment=r.jsxFragment=function(p,h,y){return(0,a.default)({type:"JSXFragment",openingFragment:p,closingFragment:h,children:y})},r.jSXIdentifier=r.jsxIdentifier=function(p){return(0,a.default)({type:"JSXIdentifier",name:p})},r.jSXMemberExpression=r.jsxMemberExpression=function(p,h){return(0,a.default)({type:"JSXMemberExpression",object:p,property:h})},r.jSXNamespacedName=r.jsxNamespacedName=function(p,h){return(0,a.default)({type:"JSXNamespacedName",namespace:p,name:h})},r.jSXOpeningElement=r.jsxOpeningElement=function(p,h,y=!1){return(0,a.default)({type:"JSXOpeningElement",name:p,attributes:h,selfClosing:y})},r.jSXOpeningFragment=r.jsxOpeningFragment=function(){return{type:"JSXOpeningFragment"}},r.jSXSpreadAttribute=r.jsxSpreadAttribute=function(p){return(0,a.default)({type:"JSXSpreadAttribute",argument:p})},r.jSXSpreadChild=r.jsxSpreadChild=function(p){return(0,a.default)({type:"JSXSpreadChild",expression:p})},r.jSXText=r.jsxText=function(p){return(0,a.default)({type:"JSXText",value:p})},r.labeledStatement=function(p,h){return(0,a.default)({type:"LabeledStatement",label:p,body:h})},r.logicalExpression=function(p,h,y){return(0,a.default)({type:"LogicalExpression",operator:p,left:h,right:y})},r.memberExpression=function(p,h,y=!1,b=null){return(0,a.default)({type:"MemberExpression",object:p,property:h,computed:y,optional:b})},r.metaProperty=function(p,h){return(0,a.default)({type:"MetaProperty",meta:p,property:h})},r.mixedTypeAnnotation=function(){return{type:"MixedTypeAnnotation"}},r.moduleExpression=function(p){return(0,a.default)({type:"ModuleExpression",body:p})},r.newExpression=function(p,h){return(0,a.default)({type:"NewExpression",callee:p,arguments:h})},r.noop=function(){return{type:"Noop"}},r.nullLiteral=function(){return{type:"NullLiteral"}},r.nullLiteralTypeAnnotation=function(){return{type:"NullLiteralTypeAnnotation"}},r.nullableTypeAnnotation=function(p){return(0,a.default)({type:"NullableTypeAnnotation",typeAnnotation:p})},r.numberLiteral=function(p){return(0,m.default)("NumberLiteral","NumericLiteral","The node type "),d(p)},r.numberLiteralTypeAnnotation=function(p){return(0,a.default)({type:"NumberLiteralTypeAnnotation",value:p})},r.numberTypeAnnotation=function(){return{type:"NumberTypeAnnotation"}},r.numericLiteral=d,r.objectExpression=function(p){return(0,a.default)({type:"ObjectExpression",properties:p})},r.objectMethod=function(p="method",h,y,b,E=!1,v=!1,S=!1){return(0,a.default)({type:"ObjectMethod",kind:p,key:h,params:y,body:b,computed:E,generator:v,async:S})},r.objectPattern=function(p){return(0,a.default)({type:"ObjectPattern",properties:p})},r.objectProperty=function(p,h,y=!1,b=!1,E=null){return(0,a.default)({type:"ObjectProperty",key:p,value:h,computed:y,shorthand:b,decorators:E})},r.objectTypeAnnotation=function(p,h=[],y=[],b=[],E=!1){return(0,a.default)({type:"ObjectTypeAnnotation",properties:p,indexers:h,callProperties:y,internalSlots:b,exact:E})},r.objectTypeCallProperty=function(p){return(0,a.default)({type:"ObjectTypeCallProperty",value:p,static:null})},r.objectTypeIndexer=function(p=null,h,y,b=null){return(0,a.default)({type:"ObjectTypeIndexer",id:p,key:h,value:y,variance:b,static:null})},r.objectTypeInternalSlot=function(p,h,y,b,E){return(0,a.default)({type:"ObjectTypeInternalSlot",id:p,value:h,optional:y,static:b,method:E})},r.objectTypeProperty=function(p,h,y=null){return(0,a.default)({type:"ObjectTypeProperty",key:p,value:h,variance:y,kind:null,method:null,optional:null,proto:null,static:null})},r.objectTypeSpreadProperty=function(p){return(0,a.default)({type:"ObjectTypeSpreadProperty",argument:p})},r.opaqueType=function(p,h=null,y=null,b){return(0,a.default)({type:"OpaqueType",id:p,typeParameters:h,supertype:y,impltype:b})},r.optionalCallExpression=function(p,h,y){return(0,a.default)({type:"OptionalCallExpression",callee:p,arguments:h,optional:y})},r.optionalIndexedAccessType=function(p,h){return(0,a.default)({type:"OptionalIndexedAccessType",objectType:p,indexType:h,optional:null})},r.optionalMemberExpression=function(p,h,y=!1,b){return(0,a.default)({type:"OptionalMemberExpression",object:p,property:h,computed:y,optional:b})},r.parenthesizedExpression=function(p){return(0,a.default)({type:"ParenthesizedExpression",expression:p})},r.pipelineBareFunction=function(p){return(0,a.default)({type:"PipelineBareFunction",callee:p})},r.pipelinePrimaryTopicReference=function(){return{type:"PipelinePrimaryTopicReference"}},r.pipelineTopicExpression=function(p){return(0,a.default)({type:"PipelineTopicExpression",expression:p})},r.placeholder=function(p,h){return(0,a.default)({type:"Placeholder",expectedNode:p,name:h})},r.privateName=function(p){return(0,a.default)({type:"PrivateName",id:p})},r.program=function(p,h=[],y="script",b=null){return(0,a.default)({type:"Program",body:p,directives:h,sourceType:y,interpreter:b,sourceFile:null})},r.qualifiedTypeIdentifier=function(p,h){return(0,a.default)({type:"QualifiedTypeIdentifier",id:p,qualification:h})},r.recordExpression=function(p){return(0,a.default)({type:"RecordExpression",properties:p})},r.regExpLiteral=s,r.regexLiteral=function(p,h=""){return(0,m.default)("RegexLiteral","RegExpLiteral","The node type "),s(p,h)},r.restElement=l,r.restProperty=function(p){return(0,m.default)("RestProperty","RestElement","The node type "),l(p)},r.returnStatement=function(p=null){return(0,a.default)({type:"ReturnStatement",argument:p})},r.sequenceExpression=function(p){return(0,a.default)({type:"SequenceExpression",expressions:p})},r.spreadElement=f,r.spreadProperty=function(p){return(0,m.default)("SpreadProperty","SpreadElement","The node type "),f(p)},r.staticBlock=function(p){return(0,a.default)({type:"StaticBlock",body:p})},r.stringLiteral=function(p){return(0,a.default)({type:"StringLiteral",value:p})},r.stringLiteralTypeAnnotation=function(p){return(0,a.default)({type:"StringLiteralTypeAnnotation",value:p})},r.stringTypeAnnotation=function(){return{type:"StringTypeAnnotation"}},r.super=function(){return{type:"Super"}},r.switchCase=function(p=null,h){return(0,a.default)({type:"SwitchCase",test:p,consequent:h})},r.switchStatement=function(p,h){return(0,a.default)({type:"SwitchStatement",discriminant:p,cases:h})},r.symbolTypeAnnotation=function(){return{type:"SymbolTypeAnnotation"}},r.taggedTemplateExpression=function(p,h){return(0,a.default)({type:"TaggedTemplateExpression",tag:p,quasi:h})},r.templateElement=function(p,h=!1){return(0,a.default)({type:"TemplateElement",value:p,tail:h})},r.templateLiteral=function(p,h){return(0,a.default)({type:"TemplateLiteral",quasis:p,expressions:h})},r.thisExpression=function(){return{type:"ThisExpression"}},r.thisTypeAnnotation=function(){return{type:"ThisTypeAnnotation"}},r.throwStatement=function(p){return(0,a.default)({type:"ThrowStatement",argument:p})},r.topicReference=function(){return{type:"TopicReference"}},r.tryStatement=function(p,h=null,y=null){return(0,a.default)({type:"TryStatement",block:p,handler:h,finalizer:y})},r.tSAnyKeyword=r.tsAnyKeyword=function(){return{type:"TSAnyKeyword"}},r.tSArrayType=r.tsArrayType=function(p){return(0,a.default)({type:"TSArrayType",elementType:p})},r.tSAsExpression=r.tsAsExpression=function(p,h){return(0,a.default)({type:"TSAsExpression",expression:p,typeAnnotation:h})},r.tSBigIntKeyword=r.tsBigIntKeyword=function(){return{type:"TSBigIntKeyword"}},r.tSBooleanKeyword=r.tsBooleanKeyword=function(){return{type:"TSBooleanKeyword"}},r.tSCallSignatureDeclaration=r.tsCallSignatureDeclaration=function(p=null,h,y=null){return(0,a.default)({type:"TSCallSignatureDeclaration",typeParameters:p,parameters:h,typeAnnotation:y})},r.tSConditionalType=r.tsConditionalType=function(p,h,y,b){return(0,a.default)({type:"TSConditionalType",checkType:p,extendsType:h,trueType:y,falseType:b})},r.tSConstructSignatureDeclaration=r.tsConstructSignatureDeclaration=function(p=null,h,y=null){return(0,a.default)({type:"TSConstructSignatureDeclaration",typeParameters:p,parameters:h,typeAnnotation:y})},r.tSConstructorType=r.tsConstructorType=function(p=null,h,y=null){return(0,a.default)({type:"TSConstructorType",typeParameters:p,parameters:h,typeAnnotation:y})},r.tSDeclareFunction=r.tsDeclareFunction=function(p=null,h=null,y,b=null){return(0,a.default)({type:"TSDeclareFunction",id:p,typeParameters:h,params:y,returnType:b})},r.tSDeclareMethod=r.tsDeclareMethod=function(p=null,h,y=null,b,E=null){return(0,a.default)({type:"TSDeclareMethod",decorators:p,key:h,typeParameters:y,params:b,returnType:E})},r.tSEnumDeclaration=r.tsEnumDeclaration=function(p,h){return(0,a.default)({type:"TSEnumDeclaration",id:p,members:h})},r.tSEnumMember=r.tsEnumMember=function(p,h=null){return(0,a.default)({type:"TSEnumMember",id:p,initializer:h})},r.tSExportAssignment=r.tsExportAssignment=function(p){return(0,a.default)({type:"TSExportAssignment",expression:p})},r.tSExpressionWithTypeArguments=r.tsExpressionWithTypeArguments=function(p,h=null){return(0,a.default)({type:"TSExpressionWithTypeArguments",expression:p,typeParameters:h})},r.tSExternalModuleReference=r.tsExternalModuleReference=function(p){return(0,a.default)({type:"TSExternalModuleReference",expression:p})},r.tSFunctionType=r.tsFunctionType=function(p=null,h,y=null){return(0,a.default)({type:"TSFunctionType",typeParameters:p,parameters:h,typeAnnotation:y})},r.tSImportEqualsDeclaration=r.tsImportEqualsDeclaration=function(p,h){return(0,a.default)({type:"TSImportEqualsDeclaration",id:p,moduleReference:h,isExport:null})},r.tSImportType=r.tsImportType=function(p,h=null,y=null){return(0,a.default)({type:"TSImportType",argument:p,qualifier:h,typeParameters:y})},r.tSIndexSignature=r.tsIndexSignature=function(p,h=null){return(0,a.default)({type:"TSIndexSignature",parameters:p,typeAnnotation:h})},r.tSIndexedAccessType=r.tsIndexedAccessType=function(p,h){return(0,a.default)({type:"TSIndexedAccessType",objectType:p,indexType:h})},r.tSInferType=r.tsInferType=function(p){return(0,a.default)({type:"TSInferType",typeParameter:p})},r.tSInstantiationExpression=r.tsInstantiationExpression=function(p,h=null){return(0,a.default)({type:"TSInstantiationExpression",expression:p,typeParameters:h})},r.tSInterfaceBody=r.tsInterfaceBody=function(p){return(0,a.default)({type:"TSInterfaceBody",body:p})},r.tSInterfaceDeclaration=r.tsInterfaceDeclaration=function(p,h=null,y=null,b){return(0,a.default)({type:"TSInterfaceDeclaration",id:p,typeParameters:h,extends:y,body:b})},r.tSIntersectionType=r.tsIntersectionType=function(p){return(0,a.default)({type:"TSIntersectionType",types:p})},r.tSIntrinsicKeyword=r.tsIntrinsicKeyword=function(){return{type:"TSIntrinsicKeyword"}},r.tSLiteralType=r.tsLiteralType=function(p){return(0,a.default)({type:"TSLiteralType",literal:p})},r.tSMappedType=r.tsMappedType=function(p,h=null,y=null){return(0,a.default)({type:"TSMappedType",typeParameter:p,typeAnnotation:h,nameType:y})},r.tSMethodSignature=r.tsMethodSignature=function(p,h=null,y,b=null){return(0,a.default)({type:"TSMethodSignature",key:p,typeParameters:h,parameters:y,typeAnnotation:b,kind:null})},r.tSModuleBlock=r.tsModuleBlock=function(p){return(0,a.default)({type:"TSModuleBlock",body:p})},r.tSModuleDeclaration=r.tsModuleDeclaration=function(p,h){return(0,a.default)({type:"TSModuleDeclaration",id:p,body:h})},r.tSNamedTupleMember=r.tsNamedTupleMember=function(p,h,y=!1){return(0,a.default)({type:"TSNamedTupleMember",label:p,elementType:h,optional:y})},r.tSNamespaceExportDeclaration=r.tsNamespaceExportDeclaration=function(p){return(0,a.default)({type:"TSNamespaceExportDeclaration",id:p})},r.tSNeverKeyword=r.tsNeverKeyword=function(){return{type:"TSNeverKeyword"}},r.tSNonNullExpression=r.tsNonNullExpression=function(p){return(0,a.default)({type:"TSNonNullExpression",expression:p})},r.tSNullKeyword=r.tsNullKeyword=function(){return{type:"TSNullKeyword"}},r.tSNumberKeyword=r.tsNumberKeyword=function(){return{type:"TSNumberKeyword"}},r.tSObjectKeyword=r.tsObjectKeyword=function(){return{type:"TSObjectKeyword"}},r.tSOptionalType=r.tsOptionalType=function(p){return(0,a.default)({type:"TSOptionalType",typeAnnotation:p})},r.tSParameterProperty=r.tsParameterProperty=function(p){return(0,a.default)({type:"TSParameterProperty",parameter:p})},r.tSParenthesizedType=r.tsParenthesizedType=function(p){return(0,a.default)({type:"TSParenthesizedType",typeAnnotation:p})},r.tSPropertySignature=r.tsPropertySignature=function(p,h=null,y=null){return(0,a.default)({type:"TSPropertySignature",key:p,typeAnnotation:h,initializer:y,kind:null})},r.tSQualifiedName=r.tsQualifiedName=function(p,h){return(0,a.default)({type:"TSQualifiedName",left:p,right:h})},r.tSRestType=r.tsRestType=function(p){return(0,a.default)({type:"TSRestType",typeAnnotation:p})},r.tSSatisfiesExpression=r.tsSatisfiesExpression=function(p,h){return(0,a.default)({type:"TSSatisfiesExpression",expression:p,typeAnnotation:h})},r.tSStringKeyword=r.tsStringKeyword=function(){return{type:"TSStringKeyword"}},r.tSSymbolKeyword=r.tsSymbolKeyword=function(){return{type:"TSSymbolKeyword"}},r.tSThisType=r.tsThisType=function(){return{type:"TSThisType"}},r.tSTupleType=r.tsTupleType=function(p){return(0,a.default)({type:"TSTupleType",elementTypes:p})},r.tSTypeAliasDeclaration=r.tsTypeAliasDeclaration=function(p,h=null,y){return(0,a.default)({type:"TSTypeAliasDeclaration",id:p,typeParameters:h,typeAnnotation:y})},r.tSTypeAnnotation=r.tsTypeAnnotation=function(p){return(0,a.default)({type:"TSTypeAnnotation",typeAnnotation:p})},r.tSTypeAssertion=r.tsTypeAssertion=function(p,h){return(0,a.default)({type:"TSTypeAssertion",typeAnnotation:p,expression:h})},r.tSTypeLiteral=r.tsTypeLiteral=function(p){return(0,a.default)({type:"TSTypeLiteral",members:p})},r.tSTypeOperator=r.tsTypeOperator=function(p){return(0,a.default)({type:"TSTypeOperator",typeAnnotation:p,operator:null})},r.tSTypeParameter=r.tsTypeParameter=function(p=null,h=null,y){return(0,a.default)({type:"TSTypeParameter",constraint:p,default:h,name:y})},r.tSTypeParameterDeclaration=r.tsTypeParameterDeclaration=function(p){return(0,a.default)({type:"TSTypeParameterDeclaration",params:p})},r.tSTypeParameterInstantiation=r.tsTypeParameterInstantiation=function(p){return(0,a.default)({type:"TSTypeParameterInstantiation",params:p})},r.tSTypePredicate=r.tsTypePredicate=function(p,h=null,y=null){return(0,a.default)({type:"TSTypePredicate",parameterName:p,typeAnnotation:h,asserts:y})},r.tSTypeQuery=r.tsTypeQuery=function(p,h=null){return(0,a.default)({type:"TSTypeQuery",exprName:p,typeParameters:h})},r.tSTypeReference=r.tsTypeReference=function(p,h=null){return(0,a.default)({type:"TSTypeReference",typeName:p,typeParameters:h})},r.tSUndefinedKeyword=r.tsUndefinedKeyword=function(){return{type:"TSUndefinedKeyword"}},r.tSUnionType=r.tsUnionType=function(p){return(0,a.default)({type:"TSUnionType",types:p})},r.tSUnknownKeyword=r.tsUnknownKeyword=function(){return{type:"TSUnknownKeyword"}},r.tSVoidKeyword=r.tsVoidKeyword=function(){return{type:"TSVoidKeyword"}},r.tupleExpression=function(p=[]){return(0,a.default)({type:"TupleExpression",elements:p})},r.tupleTypeAnnotation=function(p){return(0,a.default)({type:"TupleTypeAnnotation",types:p})},r.typeAlias=function(p,h=null,y){return(0,a.default)({type:"TypeAlias",id:p,typeParameters:h,right:y})},r.typeAnnotation=function(p){return(0,a.default)({type:"TypeAnnotation",typeAnnotation:p})},r.typeCastExpression=function(p,h){return(0,a.default)({type:"TypeCastExpression",expression:p,typeAnnotation:h})},r.typeParameter=function(p=null,h=null,y=null){return(0,a.default)({type:"TypeParameter",bound:p,default:h,variance:y,name:null})},r.typeParameterDeclaration=function(p){return(0,a.default)({type:"TypeParameterDeclaration",params:p})},r.typeParameterInstantiation=function(p){return(0,a.default)({type:"TypeParameterInstantiation",params:p})},r.typeofTypeAnnotation=function(p){return(0,a.default)({type:"TypeofTypeAnnotation",argument:p})},r.unaryExpression=function(p,h,y=!0){return(0,a.default)({type:"UnaryExpression",operator:p,argument:h,prefix:y})},r.unionTypeAnnotation=function(p){return(0,a.default)({type:"UnionTypeAnnotation",types:p})},r.updateExpression=function(p,h,y=!1){return(0,a.default)({type:"UpdateExpression",operator:p,argument:h,prefix:y})},r.v8IntrinsicIdentifier=function(p){return(0,a.default)({type:"V8IntrinsicIdentifier",name:p})},r.variableDeclaration=function(p,h){return(0,a.default)({type:"VariableDeclaration",kind:p,declarations:h})},r.variableDeclarator=function(p,h=null){return(0,a.default)({type:"VariableDeclarator",id:p,init:h})},r.variance=function(p){return(0,a.default)({type:"Variance",kind:p})},r.voidTypeAnnotation=function(){return{type:"VoidTypeAnnotation"}},r.whileStatement=function(p,h){return(0,a.default)({type:"WhileStatement",test:p,body:h})},r.withStatement=function(p,h){return(0,a.default)({type:"WithStatement",object:p,body:h})},r.yieldExpression=function(p=null,h=!1){return(0,a.default)({type:"YieldExpression",argument:p,delegate:h})};var a=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/builders/validateNode.js"),m=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/utils/deprecationWarning.js");function d(p){return(0,a.default)({type:"NumericLiteral",value:p})}function s(p,h=""){return(0,a.default)({type:"RegExpLiteral",pattern:p,flags:h})}function l(p){return(0,a.default)({type:"RestElement",argument:p})}function f(p){return(0,a.default)({type:"SpreadElement",argument:p})}},"./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/builders/generated/uppercase.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"AnyTypeAnnotation",{enumerable:!0,get:function(){return a.anyTypeAnnotation}}),Object.defineProperty(r,"ArgumentPlaceholder",{enumerable:!0,get:function(){return a.argumentPlaceholder}}),Object.defineProperty(r,"ArrayExpression",{enumerable:!0,get:function(){return a.arrayExpression}}),Object.defineProperty(r,"ArrayPattern",{enumerable:!0,get:function(){return a.arrayPattern}}),Object.defineProperty(r,"ArrayTypeAnnotation",{enumerable:!0,get:function(){return a.arrayTypeAnnotation}}),Object.defineProperty(r,"ArrowFunctionExpression",{enumerable:!0,get:function(){return a.arrowFunctionExpression}}),Object.defineProperty(r,"AssignmentExpression",{enumerable:!0,get:function(){return a.assignmentExpression}}),Object.defineProperty(r,"AssignmentPattern",{enumerable:!0,get:function(){return a.assignmentPattern}}),Object.defineProperty(r,"AwaitExpression",{enumerable:!0,get:function(){return a.awaitExpression}}),Object.defineProperty(r,"BigIntLiteral",{enumerable:!0,get:function(){return a.bigIntLiteral}}),Object.defineProperty(r,"BinaryExpression",{enumerable:!0,get:function(){return a.binaryExpression}}),Object.defineProperty(r,"BindExpression",{enumerable:!0,get:function(){return a.bindExpression}}),Object.defineProperty(r,"BlockStatement",{enumerable:!0,get:function(){return a.blockStatement}}),Object.defineProperty(r,"BooleanLiteral",{enumerable:!0,get:function(){return a.booleanLiteral}}),Object.defineProperty(r,"BooleanLiteralTypeAnnotation",{enumerable:!0,get:function(){return a.booleanLiteralTypeAnnotation}}),Object.defineProperty(r,"BooleanTypeAnnotation",{enumerable:!0,get:function(){return a.booleanTypeAnnotation}}),Object.defineProperty(r,"BreakStatement",{enumerable:!0,get:function(){return a.breakStatement}}),Object.defineProperty(r,"CallExpression",{enumerable:!0,get:function(){return a.callExpression}}),Object.defineProperty(r,"CatchClause",{enumerable:!0,get:function(){return a.catchClause}}),Object.defineProperty(r,"ClassAccessorProperty",{enumerable:!0,get:function(){return a.classAccessorProperty}}),Object.defineProperty(r,"ClassBody",{enumerable:!0,get:function(){return a.classBody}}),Object.defineProperty(r,"ClassDeclaration",{enumerable:!0,get:function(){return a.classDeclaration}}),Object.defineProperty(r,"ClassExpression",{enumerable:!0,get:function(){return a.classExpression}}),Object.defineProperty(r,"ClassImplements",{enumerable:!0,get:function(){return a.classImplements}}),Object.defineProperty(r,"ClassMethod",{enumerable:!0,get:function(){return a.classMethod}}),Object.defineProperty(r,"ClassPrivateMethod",{enumerable:!0,get:function(){return a.classPrivateMethod}}),Object.defineProperty(r,"ClassPrivateProperty",{enumerable:!0,get:function(){return a.classPrivateProperty}}),Object.defineProperty(r,"ClassProperty",{enumerable:!0,get:function(){return a.classProperty}}),Object.defineProperty(r,"ConditionalExpression",{enumerable:!0,get:function(){return a.conditionalExpression}}),Object.defineProperty(r,"ContinueStatement",{enumerable:!0,get:function(){return a.continueStatement}}),Object.defineProperty(r,"DebuggerStatement",{enumerable:!0,get:function(){return a.debuggerStatement}}),Object.defineProperty(r,"DecimalLiteral",{enumerable:!0,get:function(){return a.decimalLiteral}}),Object.defineProperty(r,"DeclareClass",{enumerable:!0,get:function(){return a.declareClass}}),Object.defineProperty(r,"DeclareExportAllDeclaration",{enumerable:!0,get:function(){return a.declareExportAllDeclaration}}),Object.defineProperty(r,"DeclareExportDeclaration",{enumerable:!0,get:function(){return a.declareExportDeclaration}}),Object.defineProperty(r,"DeclareFunction",{enumerable:!0,get:function(){return a.declareFunction}}),Object.defineProperty(r,"DeclareInterface",{enumerable:!0,get:function(){return a.declareInterface}}),Object.defineProperty(r,"DeclareModule",{enumerable:!0,get:function(){return a.declareModule}}),Object.defineProperty(r,"DeclareModuleExports",{enumerable:!0,get:function(){return a.declareModuleExports}}),Object.defineProperty(r,"DeclareOpaqueType",{enumerable:!0,get:function(){return a.declareOpaqueType}}),Object.defineProperty(r,"DeclareTypeAlias",{enumerable:!0,get:function(){return a.declareTypeAlias}}),Object.defineProperty(r,"DeclareVariable",{enumerable:!0,get:function(){return a.declareVariable}}),Object.defineProperty(r,"DeclaredPredicate",{enumerable:!0,get:function(){return a.declaredPredicate}}),Object.defineProperty(r,"Decorator",{enumerable:!0,get:function(){return a.decorator}}),Object.defineProperty(r,"Directive",{enumerable:!0,get:function(){return a.directive}}),Object.defineProperty(r,"DirectiveLiteral",{enumerable:!0,get:function(){return a.directiveLiteral}}),Object.defineProperty(r,"DoExpression",{enumerable:!0,get:function(){return a.doExpression}}),Object.defineProperty(r,"DoWhileStatement",{enumerable:!0,get:function(){return a.doWhileStatement}}),Object.defineProperty(r,"EmptyStatement",{enumerable:!0,get:function(){return a.emptyStatement}}),Object.defineProperty(r,"EmptyTypeAnnotation",{enumerable:!0,get:function(){return a.emptyTypeAnnotation}}),Object.defineProperty(r,"EnumBooleanBody",{enumerable:!0,get:function(){return a.enumBooleanBody}}),Object.defineProperty(r,"EnumBooleanMember",{enumerable:!0,get:function(){return a.enumBooleanMember}}),Object.defineProperty(r,"EnumDeclaration",{enumerable:!0,get:function(){return a.enumDeclaration}}),Object.defineProperty(r,"EnumDefaultedMember",{enumerable:!0,get:function(){return a.enumDefaultedMember}}),Object.defineProperty(r,"EnumNumberBody",{enumerable:!0,get:function(){return a.enumNumberBody}}),Object.defineProperty(r,"EnumNumberMember",{enumerable:!0,get:function(){return a.enumNumberMember}}),Object.defineProperty(r,"EnumStringBody",{enumerable:!0,get:function(){return a.enumStringBody}}),Object.defineProperty(r,"EnumStringMember",{enumerable:!0,get:function(){return a.enumStringMember}}),Object.defineProperty(r,"EnumSymbolBody",{enumerable:!0,get:function(){return a.enumSymbolBody}}),Object.defineProperty(r,"ExistsTypeAnnotation",{enumerable:!0,get:function(){return a.existsTypeAnnotation}}),Object.defineProperty(r,"ExportAllDeclaration",{enumerable:!0,get:function(){return a.exportAllDeclaration}}),Object.defineProperty(r,"ExportDefaultDeclaration",{enumerable:!0,get:function(){return a.exportDefaultDeclaration}}),Object.defineProperty(r,"ExportDefaultSpecifier",{enumerable:!0,get:function(){return a.exportDefaultSpecifier}}),Object.defineProperty(r,"ExportNamedDeclaration",{enumerable:!0,get:function(){return a.exportNamedDeclaration}}),Object.defineProperty(r,"ExportNamespaceSpecifier",{enumerable:!0,get:function(){return a.exportNamespaceSpecifier}}),Object.defineProperty(r,"ExportSpecifier",{enumerable:!0,get:function(){return a.exportSpecifier}}),Object.defineProperty(r,"ExpressionStatement",{enumerable:!0,get:function(){return a.expressionStatement}}),Object.defineProperty(r,"File",{enumerable:!0,get:function(){return a.file}}),Object.defineProperty(r,"ForInStatement",{enumerable:!0,get:function(){return a.forInStatement}}),Object.defineProperty(r,"ForOfStatement",{enumerable:!0,get:function(){return a.forOfStatement}}),Object.defineProperty(r,"ForStatement",{enumerable:!0,get:function(){return a.forStatement}}),Object.defineProperty(r,"FunctionDeclaration",{enumerable:!0,get:function(){return a.functionDeclaration}}),Object.defineProperty(r,"FunctionExpression",{enumerable:!0,get:function(){return a.functionExpression}}),Object.defineProperty(r,"FunctionTypeAnnotation",{enumerable:!0,get:function(){return a.functionTypeAnnotation}}),Object.defineProperty(r,"FunctionTypeParam",{enumerable:!0,get:function(){return a.functionTypeParam}}),Object.defineProperty(r,"GenericTypeAnnotation",{enumerable:!0,get:function(){return a.genericTypeAnnotation}}),Object.defineProperty(r,"Identifier",{enumerable:!0,get:function(){return a.identifier}}),Object.defineProperty(r,"IfStatement",{enumerable:!0,get:function(){return a.ifStatement}}),Object.defineProperty(r,"Import",{enumerable:!0,get:function(){return a.import}}),Object.defineProperty(r,"ImportAttribute",{enumerable:!0,get:function(){return a.importAttribute}}),Object.defineProperty(r,"ImportDeclaration",{enumerable:!0,get:function(){return a.importDeclaration}}),Object.defineProperty(r,"ImportDefaultSpecifier",{enumerable:!0,get:function(){return a.importDefaultSpecifier}}),Object.defineProperty(r,"ImportNamespaceSpecifier",{enumerable:!0,get:function(){return a.importNamespaceSpecifier}}),Object.defineProperty(r,"ImportSpecifier",{enumerable:!0,get:function(){return a.importSpecifier}}),Object.defineProperty(r,"IndexedAccessType",{enumerable:!0,get:function(){return a.indexedAccessType}}),Object.defineProperty(r,"InferredPredicate",{enumerable:!0,get:function(){return a.inferredPredicate}}),Object.defineProperty(r,"InterfaceDeclaration",{enumerable:!0,get:function(){return a.interfaceDeclaration}}),Object.defineProperty(r,"InterfaceExtends",{enumerable:!0,get:function(){return a.interfaceExtends}}),Object.defineProperty(r,"InterfaceTypeAnnotation",{enumerable:!0,get:function(){return a.interfaceTypeAnnotation}}),Object.defineProperty(r,"InterpreterDirective",{enumerable:!0,get:function(){return a.interpreterDirective}}),Object.defineProperty(r,"IntersectionTypeAnnotation",{enumerable:!0,get:function(){return a.intersectionTypeAnnotation}}),Object.defineProperty(r,"JSXAttribute",{enumerable:!0,get:function(){return a.jsxAttribute}}),Object.defineProperty(r,"JSXClosingElement",{enumerable:!0,get:function(){return a.jsxClosingElement}}),Object.defineProperty(r,"JSXClosingFragment",{enumerable:!0,get:function(){return a.jsxClosingFragment}}),Object.defineProperty(r,"JSXElement",{enumerable:!0,get:function(){return a.jsxElement}}),Object.defineProperty(r,"JSXEmptyExpression",{enumerable:!0,get:function(){return a.jsxEmptyExpression}}),Object.defineProperty(r,"JSXExpressionContainer",{enumerable:!0,get:function(){return a.jsxExpressionContainer}}),Object.defineProperty(r,"JSXFragment",{enumerable:!0,get:function(){return a.jsxFragment}}),Object.defineProperty(r,"JSXIdentifier",{enumerable:!0,get:function(){return a.jsxIdentifier}}),Object.defineProperty(r,"JSXMemberExpression",{enumerable:!0,get:function(){return a.jsxMemberExpression}}),Object.defineProperty(r,"JSXNamespacedName",{enumerable:!0,get:function(){return a.jsxNamespacedName}}),Object.defineProperty(r,"JSXOpeningElement",{enumerable:!0,get:function(){return a.jsxOpeningElement}}),Object.defineProperty(r,"JSXOpeningFragment",{enumerable:!0,get:function(){return a.jsxOpeningFragment}}),Object.defineProperty(r,"JSXSpreadAttribute",{enumerable:!0,get:function(){return a.jsxSpreadAttribute}}),Object.defineProperty(r,"JSXSpreadChild",{enumerable:!0,get:function(){return a.jsxSpreadChild}}),Object.defineProperty(r,"JSXText",{enumerable:!0,get:function(){return a.jsxText}}),Object.defineProperty(r,"LabeledStatement",{enumerable:!0,get:function(){return a.labeledStatement}}),Object.defineProperty(r,"LogicalExpression",{enumerable:!0,get:function(){return a.logicalExpression}}),Object.defineProperty(r,"MemberExpression",{enumerable:!0,get:function(){return a.memberExpression}}),Object.defineProperty(r,"MetaProperty",{enumerable:!0,get:function(){return a.metaProperty}}),Object.defineProperty(r,"MixedTypeAnnotation",{enumerable:!0,get:function(){return a.mixedTypeAnnotation}}),Object.defineProperty(r,"ModuleExpression",{enumerable:!0,get:function(){return a.moduleExpression}}),Object.defineProperty(r,"NewExpression",{enumerable:!0,get:function(){return a.newExpression}}),Object.defineProperty(r,"Noop",{enumerable:!0,get:function(){return a.noop}}),Object.defineProperty(r,"NullLiteral",{enumerable:!0,get:function(){return a.nullLiteral}}),Object.defineProperty(r,"NullLiteralTypeAnnotation",{enumerable:!0,get:function(){return a.nullLiteralTypeAnnotation}}),Object.defineProperty(r,"NullableTypeAnnotation",{enumerable:!0,get:function(){return a.nullableTypeAnnotation}}),Object.defineProperty(r,"NumberLiteral",{enumerable:!0,get:function(){return a.numberLiteral}}),Object.defineProperty(r,"NumberLiteralTypeAnnotation",{enumerable:!0,get:function(){return a.numberLiteralTypeAnnotation}}),Object.defineProperty(r,"NumberTypeAnnotation",{enumerable:!0,get:function(){return a.numberTypeAnnotation}}),Object.defineProperty(r,"NumericLiteral",{enumerable:!0,get:function(){return a.numericLiteral}}),Object.defineProperty(r,"ObjectExpression",{enumerable:!0,get:function(){return a.objectExpression}}),Object.defineProperty(r,"ObjectMethod",{enumerable:!0,get:function(){return a.objectMethod}}),Object.defineProperty(r,"ObjectPattern",{enumerable:!0,get:function(){return a.objectPattern}}),Object.defineProperty(r,"ObjectProperty",{enumerable:!0,get:function(){return a.objectProperty}}),Object.defineProperty(r,"ObjectTypeAnnotation",{enumerable:!0,get:function(){return a.objectTypeAnnotation}}),Object.defineProperty(r,"ObjectTypeCallProperty",{enumerable:!0,get:function(){return a.objectTypeCallProperty}}),Object.defineProperty(r,"ObjectTypeIndexer",{enumerable:!0,get:function(){return a.objectTypeIndexer}}),Object.defineProperty(r,"ObjectTypeInternalSlot",{enumerable:!0,get:function(){return a.objectTypeInternalSlot}}),Object.defineProperty(r,"ObjectTypeProperty",{enumerable:!0,get:function(){return a.objectTypeProperty}}),Object.defineProperty(r,"ObjectTypeSpreadProperty",{enumerable:!0,get:function(){return a.objectTypeSpreadProperty}}),Object.defineProperty(r,"OpaqueType",{enumerable:!0,get:function(){return a.opaqueType}}),Object.defineProperty(r,"OptionalCallExpression",{enumerable:!0,get:function(){return a.optionalCallExpression}}),Object.defineProperty(r,"OptionalIndexedAccessType",{enumerable:!0,get:function(){return a.optionalIndexedAccessType}}),Object.defineProperty(r,"OptionalMemberExpression",{enumerable:!0,get:function(){return a.optionalMemberExpression}}),Object.defineProperty(r,"ParenthesizedExpression",{enumerable:!0,get:function(){return a.parenthesizedExpression}}),Object.defineProperty(r,"PipelineBareFunction",{enumerable:!0,get:function(){return a.pipelineBareFunction}}),Object.defineProperty(r,"PipelinePrimaryTopicReference",{enumerable:!0,get:function(){return a.pipelinePrimaryTopicReference}}),Object.defineProperty(r,"PipelineTopicExpression",{enumerable:!0,get:function(){return a.pipelineTopicExpression}}),Object.defineProperty(r,"Placeholder",{enumerable:!0,get:function(){return a.placeholder}}),Object.defineProperty(r,"PrivateName",{enumerable:!0,get:function(){return a.privateName}}),Object.defineProperty(r,"Program",{enumerable:!0,get:function(){return a.program}}),Object.defineProperty(r,"QualifiedTypeIdentifier",{enumerable:!0,get:function(){return a.qualifiedTypeIdentifier}}),Object.defineProperty(r,"RecordExpression",{enumerable:!0,get:function(){return a.recordExpression}}),Object.defineProperty(r,"RegExpLiteral",{enumerable:!0,get:function(){return a.regExpLiteral}}),Object.defineProperty(r,"RegexLiteral",{enumerable:!0,get:function(){return a.regexLiteral}}),Object.defineProperty(r,"RestElement",{enumerable:!0,get:function(){return a.restElement}}),Object.defineProperty(r,"RestProperty",{enumerable:!0,get:function(){return a.restProperty}}),Object.defineProperty(r,"ReturnStatement",{enumerable:!0,get:function(){return a.returnStatement}}),Object.defineProperty(r,"SequenceExpression",{enumerable:!0,get:function(){return a.sequenceExpression}}),Object.defineProperty(r,"SpreadElement",{enumerable:!0,get:function(){return a.spreadElement}}),Object.defineProperty(r,"SpreadProperty",{enumerable:!0,get:function(){return a.spreadProperty}}),Object.defineProperty(r,"StaticBlock",{enumerable:!0,get:function(){return a.staticBlock}}),Object.defineProperty(r,"StringLiteral",{enumerable:!0,get:function(){return a.stringLiteral}}),Object.defineProperty(r,"StringLiteralTypeAnnotation",{enumerable:!0,get:function(){return a.stringLiteralTypeAnnotation}}),Object.defineProperty(r,"StringTypeAnnotation",{enumerable:!0,get:function(){return a.stringTypeAnnotation}}),Object.defineProperty(r,"Super",{enumerable:!0,get:function(){return a.super}}),Object.defineProperty(r,"SwitchCase",{enumerable:!0,get:function(){return a.switchCase}}),Object.defineProperty(r,"SwitchStatement",{enumerable:!0,get:function(){return a.switchStatement}}),Object.defineProperty(r,"SymbolTypeAnnotation",{enumerable:!0,get:function(){return a.symbolTypeAnnotation}}),Object.defineProperty(r,"TSAnyKeyword",{enumerable:!0,get:function(){return a.tsAnyKeyword}}),Object.defineProperty(r,"TSArrayType",{enumerable:!0,get:function(){return a.tsArrayType}}),Object.defineProperty(r,"TSAsExpression",{enumerable:!0,get:function(){return a.tsAsExpression}}),Object.defineProperty(r,"TSBigIntKeyword",{enumerable:!0,get:function(){return a.tsBigIntKeyword}}),Object.defineProperty(r,"TSBooleanKeyword",{enumerable:!0,get:function(){return a.tsBooleanKeyword}}),Object.defineProperty(r,"TSCallSignatureDeclaration",{enumerable:!0,get:function(){return a.tsCallSignatureDeclaration}}),Object.defineProperty(r,"TSConditionalType",{enumerable:!0,get:function(){return a.tsConditionalType}}),Object.defineProperty(r,"TSConstructSignatureDeclaration",{enumerable:!0,get:function(){return a.tsConstructSignatureDeclaration}}),Object.defineProperty(r,"TSConstructorType",{enumerable:!0,get:function(){return a.tsConstructorType}}),Object.defineProperty(r,"TSDeclareFunction",{enumerable:!0,get:function(){return a.tsDeclareFunction}}),Object.defineProperty(r,"TSDeclareMethod",{enumerable:!0,get:function(){return a.tsDeclareMethod}}),Object.defineProperty(r,"TSEnumDeclaration",{enumerable:!0,get:function(){return a.tsEnumDeclaration}}),Object.defineProperty(r,"TSEnumMember",{enumerable:!0,get:function(){return a.tsEnumMember}}),Object.defineProperty(r,"TSExportAssignment",{enumerable:!0,get:function(){return a.tsExportAssignment}}),Object.defineProperty(r,"TSExpressionWithTypeArguments",{enumerable:!0,get:function(){return a.tsExpressionWithTypeArguments}}),Object.defineProperty(r,"TSExternalModuleReference",{enumerable:!0,get:function(){return a.tsExternalModuleReference}}),Object.defineProperty(r,"TSFunctionType",{enumerable:!0,get:function(){return a.tsFunctionType}}),Object.defineProperty(r,"TSImportEqualsDeclaration",{enumerable:!0,get:function(){return a.tsImportEqualsDeclaration}}),Object.defineProperty(r,"TSImportType",{enumerable:!0,get:function(){return a.tsImportType}}),Object.defineProperty(r,"TSIndexSignature",{enumerable:!0,get:function(){return a.tsIndexSignature}}),Object.defineProperty(r,"TSIndexedAccessType",{enumerable:!0,get:function(){return a.tsIndexedAccessType}}),Object.defineProperty(r,"TSInferType",{enumerable:!0,get:function(){return a.tsInferType}}),Object.defineProperty(r,"TSInstantiationExpression",{enumerable:!0,get:function(){return a.tsInstantiationExpression}}),Object.defineProperty(r,"TSInterfaceBody",{enumerable:!0,get:function(){return a.tsInterfaceBody}}),Object.defineProperty(r,"TSInterfaceDeclaration",{enumerable:!0,get:function(){return a.tsInterfaceDeclaration}}),Object.defineProperty(r,"TSIntersectionType",{enumerable:!0,get:function(){return a.tsIntersectionType}}),Object.defineProperty(r,"TSIntrinsicKeyword",{enumerable:!0,get:function(){return a.tsIntrinsicKeyword}}),Object.defineProperty(r,"TSLiteralType",{enumerable:!0,get:function(){return a.tsLiteralType}}),Object.defineProperty(r,"TSMappedType",{enumerable:!0,get:function(){return a.tsMappedType}}),Object.defineProperty(r,"TSMethodSignature",{enumerable:!0,get:function(){return a.tsMethodSignature}}),Object.defineProperty(r,"TSModuleBlock",{enumerable:!0,get:function(){return a.tsModuleBlock}}),Object.defineProperty(r,"TSModuleDeclaration",{enumerable:!0,get:function(){return a.tsModuleDeclaration}}),Object.defineProperty(r,"TSNamedTupleMember",{enumerable:!0,get:function(){return a.tsNamedTupleMember}}),Object.defineProperty(r,"TSNamespaceExportDeclaration",{enumerable:!0,get:function(){return a.tsNamespaceExportDeclaration}}),Object.defineProperty(r,"TSNeverKeyword",{enumerable:!0,get:function(){return a.tsNeverKeyword}}),Object.defineProperty(r,"TSNonNullExpression",{enumerable:!0,get:function(){return a.tsNonNullExpression}}),Object.defineProperty(r,"TSNullKeyword",{enumerable:!0,get:function(){return a.tsNullKeyword}}),Object.defineProperty(r,"TSNumberKeyword",{enumerable:!0,get:function(){return a.tsNumberKeyword}}),Object.defineProperty(r,"TSObjectKeyword",{enumerable:!0,get:function(){return a.tsObjectKeyword}}),Object.defineProperty(r,"TSOptionalType",{enumerable:!0,get:function(){return a.tsOptionalType}}),Object.defineProperty(r,"TSParameterProperty",{enumerable:!0,get:function(){return a.tsParameterProperty}}),Object.defineProperty(r,"TSParenthesizedType",{enumerable:!0,get:function(){return a.tsParenthesizedType}}),Object.defineProperty(r,"TSPropertySignature",{enumerable:!0,get:function(){return a.tsPropertySignature}}),Object.defineProperty(r,"TSQualifiedName",{enumerable:!0,get:function(){return a.tsQualifiedName}}),Object.defineProperty(r,"TSRestType",{enumerable:!0,get:function(){return a.tsRestType}}),Object.defineProperty(r,"TSSatisfiesExpression",{enumerable:!0,get:function(){return a.tsSatisfiesExpression}}),Object.defineProperty(r,"TSStringKeyword",{enumerable:!0,get:function(){return a.tsStringKeyword}}),Object.defineProperty(r,"TSSymbolKeyword",{enumerable:!0,get:function(){return a.tsSymbolKeyword}}),Object.defineProperty(r,"TSThisType",{enumerable:!0,get:function(){return a.tsThisType}}),Object.defineProperty(r,"TSTupleType",{enumerable:!0,get:function(){return a.tsTupleType}}),Object.defineProperty(r,"TSTypeAliasDeclaration",{enumerable:!0,get:function(){return a.tsTypeAliasDeclaration}}),Object.defineProperty(r,"TSTypeAnnotation",{enumerable:!0,get:function(){return a.tsTypeAnnotation}}),Object.defineProperty(r,"TSTypeAssertion",{enumerable:!0,get:function(){return a.tsTypeAssertion}}),Object.defineProperty(r,"TSTypeLiteral",{enumerable:!0,get:function(){return a.tsTypeLiteral}}),Object.defineProperty(r,"TSTypeOperator",{enumerable:!0,get:function(){return a.tsTypeOperator}}),Object.defineProperty(r,"TSTypeParameter",{enumerable:!0,get:function(){return a.tsTypeParameter}}),Object.defineProperty(r,"TSTypeParameterDeclaration",{enumerable:!0,get:function(){return a.tsTypeParameterDeclaration}}),Object.defineProperty(r,"TSTypeParameterInstantiation",{enumerable:!0,get:function(){return a.tsTypeParameterInstantiation}}),Object.defineProperty(r,"TSTypePredicate",{enumerable:!0,get:function(){return a.tsTypePredicate}}),Object.defineProperty(r,"TSTypeQuery",{enumerable:!0,get:function(){return a.tsTypeQuery}}),Object.defineProperty(r,"TSTypeReference",{enumerable:!0,get:function(){return a.tsTypeReference}}),Object.defineProperty(r,"TSUndefinedKeyword",{enumerable:!0,get:function(){return a.tsUndefinedKeyword}}),Object.defineProperty(r,"TSUnionType",{enumerable:!0,get:function(){return a.tsUnionType}}),Object.defineProperty(r,"TSUnknownKeyword",{enumerable:!0,get:function(){return a.tsUnknownKeyword}}),Object.defineProperty(r,"TSVoidKeyword",{enumerable:!0,get:function(){return a.tsVoidKeyword}}),Object.defineProperty(r,"TaggedTemplateExpression",{enumerable:!0,get:function(){return a.taggedTemplateExpression}}),Object.defineProperty(r,"TemplateElement",{enumerable:!0,get:function(){return a.templateElement}}),Object.defineProperty(r,"TemplateLiteral",{enumerable:!0,get:function(){return a.templateLiteral}}),Object.defineProperty(r,"ThisExpression",{enumerable:!0,get:function(){return a.thisExpression}}),Object.defineProperty(r,"ThisTypeAnnotation",{enumerable:!0,get:function(){return a.thisTypeAnnotation}}),Object.defineProperty(r,"ThrowStatement",{enumerable:!0,get:function(){return a.throwStatement}}),Object.defineProperty(r,"TopicReference",{enumerable:!0,get:function(){return a.topicReference}}),Object.defineProperty(r,"TryStatement",{enumerable:!0,get:function(){return a.tryStatement}}),Object.defineProperty(r,"TupleExpression",{enumerable:!0,get:function(){return a.tupleExpression}}),Object.defineProperty(r,"TupleTypeAnnotation",{enumerable:!0,get:function(){return a.tupleTypeAnnotation}}),Object.defineProperty(r,"TypeAlias",{enumerable:!0,get:function(){return a.typeAlias}}),Object.defineProperty(r,"TypeAnnotation",{enumerable:!0,get:function(){return a.typeAnnotation}}),Object.defineProperty(r,"TypeCastExpression",{enumerable:!0,get:function(){return a.typeCastExpression}}),Object.defineProperty(r,"TypeParameter",{enumerable:!0,get:function(){return a.typeParameter}}),Object.defineProperty(r,"TypeParameterDeclaration",{enumerable:!0,get:function(){return a.typeParameterDeclaration}}),Object.defineProperty(r,"TypeParameterInstantiation",{enumerable:!0,get:function(){return a.typeParameterInstantiation}}),Object.defineProperty(r,"TypeofTypeAnnotation",{enumerable:!0,get:function(){return a.typeofTypeAnnotation}}),Object.defineProperty(r,"UnaryExpression",{enumerable:!0,get:function(){return a.unaryExpression}}),Object.defineProperty(r,"UnionTypeAnnotation",{enumerable:!0,get:function(){return a.unionTypeAnnotation}}),Object.defineProperty(r,"UpdateExpression",{enumerable:!0,get:function(){return a.updateExpression}}),Object.defineProperty(r,"V8IntrinsicIdentifier",{enumerable:!0,get:function(){return a.v8IntrinsicIdentifier}}),Object.defineProperty(r,"VariableDeclaration",{enumerable:!0,get:function(){return a.variableDeclaration}}),Object.defineProperty(r,"VariableDeclarator",{enumerable:!0,get:function(){return a.variableDeclarator}}),Object.defineProperty(r,"Variance",{enumerable:!0,get:function(){return a.variance}}),Object.defineProperty(r,"VoidTypeAnnotation",{enumerable:!0,get:function(){return a.voidTypeAnnotation}}),Object.defineProperty(r,"WhileStatement",{enumerable:!0,get:function(){return a.whileStatement}}),Object.defineProperty(r,"WithStatement",{enumerable:!0,get:function(){return a.withStatement}}),Object.defineProperty(r,"YieldExpression",{enumerable:!0,get:function(){return a.yieldExpression}});var a=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/builders/generated/index.js")},"./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/builders/react/buildChildren.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(d){let s=[];for(let l=0;l<d.children.length;l++){let f=d.children[l];(0,a.isJSXText)(f)?(0,m.default)(f,s):((0,a.isJSXExpressionContainer)(f)&&(f=f.expression),(0,a.isJSXEmptyExpression)(f)||s.push(f))}return s};var a=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/validators/generated/index.js"),m=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/utils/react/cleanJSXElementLiteralChild.js")},"./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/builders/typescript/createTSUnionType.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(s){let l=s.map(p=>(0,d.isTSTypeAnnotation)(p)?p.typeAnnotation:p),f=(0,m.default)(l);return f.length===1?f[0]:(0,a.tsUnionType)(f)};var a=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/builders/generated/index.js"),m=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/modifications/typescript/removeTypeDuplicates.js"),d=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/validators/generated/index.js")},"./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/builders/validateNode.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(d){let s=m.BUILDER_KEYS[d.type];for(let l of s)(0,a.default)(d,l,d[l]);return d};var a=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/validators/validate.js"),m=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/index.js")},"./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/clone/clone.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(m){return(0,a.default)(m,!1)};var a=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/clone/cloneNode.js")},"./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/clone/cloneDeep.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(m){return(0,a.default)(m)};var a=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/clone/cloneNode.js")},"./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/clone/cloneDeepWithoutLoc.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(m){return(0,a.default)(m,!0,!0)};var a=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/clone/cloneNode.js")},"./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/clone/cloneNode.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(h,y=!0,b=!1){return f(h,y,b,new Map)};var a=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/definitions/index.js"),m=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/validators/generated/index.js");let d=Function.call.bind(Object.prototype.hasOwnProperty);function s(h,y,b,E){return h&&typeof h.type=="string"?f(h,y,b,E):h}function l(h,y,b,E){return Array.isArray(h)?h.map(v=>s(v,y,b,E)):s(h,y,b,E)}function f(h,y=!0,b=!1,E){if(!h)return h;let{type:v}=h,S={type:h.type};if((0,m.isIdentifier)(h))S.name=h.name,d(h,"optional")&&typeof h.optional=="boolean"&&(S.optional=h.optional),d(h,"typeAnnotation")&&(S.typeAnnotation=y?l(h.typeAnnotation,!0,b,E):h.typeAnnotation);else{if(!d(a.NODE_FIELDS,v))throw new Error(`Unknown node type: "${v}"`);for(let w of Object.keys(a.NODE_FIELDS[v]))d(h,w)&&(S[w]=y?(0,m.isFile)(h)&&w==="comments"?p(h.comments,y,b,E):l(h[w],!0,b,E):h[w])}return d(h,"loc")&&(S.loc=b?null:h.loc),d(h,"leadingComments")&&(S.leadingComments=p(h.leadingComments,y,b,E)),d(h,"innerComments")&&(S.innerComments=p(h.innerComments,y,b,E)),d(h,"trailingComments")&&(S.trailingComments=p(h.trailingComments,y,b,E)),d(h,"extra")&&(S.extra=Object.assign({},h.extra)),S}function p(h,y,b,E){return h&&y?h.map(v=>{let S=E.get(v);if(S)return S;let{type:w,value:A,loc:x}=v,C={type:w,value:A,loc:x};return b&&(C.loc=null),E.set(v,C),C}):h}},"./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/clone/cloneWithoutLoc.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(m){return(0,a.default)(m,!1,!0)};var a=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/clone/cloneNode.js")},"./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/comments/addComment.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(m,d,s,l){return(0,a.default)(m,d,[{type:l?"CommentLine":"CommentBlock",value:s}])};var a=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/comments/addComments.js")},"./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/comments/addComments.js":(o,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(u,a,m){if(!m||!u)return u;let d=`${a}Comments`;return u[d]?a==="leading"?u[d]=m.concat(u[d]):u[d].push(...m):u[d]=m,u}},"./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/comments/inheritInnerComments.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(m,d){(0,a.default)("innerComments",m,d)};var a=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/utils/inherit.js")},"./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/comments/inheritLeadingComments.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(m,d){(0,a.default)("leadingComments",m,d)};var a=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/utils/inherit.js")},"./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/comments/inheritTrailingComments.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(m,d){(0,a.default)("trailingComments",m,d)};var a=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/utils/inherit.js")},"./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/comments/inheritsComments.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(s,l){return(0,a.default)(s,l),(0,m.default)(s,l),(0,d.default)(s,l),s};var a=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/comments/inheritTrailingComments.js"),m=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/comments/inheritLeadingComments.js"),d=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/comments/inheritInnerComments.js")},"./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/comments/removeComments.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(m){return a.COMMENT_KEYS.forEach(d=>{m[d]=null}),m};var a=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/constants/index.js")},"./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/constants/generated/index.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.WHILE_TYPES=r.USERWHITESPACABLE_TYPES=r.UNARYLIKE_TYPES=r.TYPESCRIPT_TYPES=r.TSTYPE_TYPES=r.TSTYPEELEMENT_TYPES=r.TSENTITYNAME_TYPES=r.TSBASETYPE_TYPES=r.TERMINATORLESS_TYPES=r.STATEMENT_TYPES=r.STANDARDIZED_TYPES=r.SCOPABLE_TYPES=r.PUREISH_TYPES=r.PROPERTY_TYPES=r.PRIVATE_TYPES=r.PATTERN_TYPES=r.PATTERNLIKE_TYPES=r.OBJECTMEMBER_TYPES=r.MODULESPECIFIER_TYPES=r.MODULEDECLARATION_TYPES=r.MISCELLANEOUS_TYPES=r.METHOD_TYPES=r.LVAL_TYPES=r.LOOP_TYPES=r.LITERAL_TYPES=r.JSX_TYPES=r.IMPORTOREXPORTDECLARATION_TYPES=r.IMMUTABLE_TYPES=r.FUNCTION_TYPES=r.FUNCTIONPARENT_TYPES=r.FOR_TYPES=r.FORXSTATEMENT_TYPES=r.FLOW_TYPES=r.FLOWTYPE_TYPES=r.FLOWPREDICATE_TYPES=r.FLOWDECLARATION_TYPES=r.FLOWBASEANNOTATION_TYPES=r.EXPRESSION_TYPES=r.EXPRESSIONWRAPPER_TYPES=r.EXPORTDECLARATION_TYPES=r.ENUMMEMBER_TYPES=r.ENUMBODY_TYPES=r.DECLARATION_TYPES=r.CONDITIONAL_TYPES=r.COMPLETIONSTATEMENT_TYPES=r.CLASS_TYPES=r.BLOCK_TYPES=r.BLOCKPARENT_TYPES=r.BINARY_TYPES=r.ACCESSOR_TYPES=void 0;var a=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/definitions/index.js");let m=a.FLIPPED_ALIAS_KEYS.Standardized;r.STANDARDIZED_TYPES=m;let d=a.FLIPPED_ALIAS_KEYS.Expression;r.EXPRESSION_TYPES=d;let s=a.FLIPPED_ALIAS_KEYS.Binary;r.BINARY_TYPES=s;let l=a.FLIPPED_ALIAS_KEYS.Scopable;r.SCOPABLE_TYPES=l;let f=a.FLIPPED_ALIAS_KEYS.BlockParent;r.BLOCKPARENT_TYPES=f;let p=a.FLIPPED_ALIAS_KEYS.Block;r.BLOCK_TYPES=p;let h=a.FLIPPED_ALIAS_KEYS.Statement;r.STATEMENT_TYPES=h;let y=a.FLIPPED_ALIAS_KEYS.Terminatorless;r.TERMINATORLESS_TYPES=y;let b=a.FLIPPED_ALIAS_KEYS.CompletionStatement;r.COMPLETIONSTATEMENT_TYPES=b;let E=a.FLIPPED_ALIAS_KEYS.Conditional;r.CONDITIONAL_TYPES=E;let v=a.FLIPPED_ALIAS_KEYS.Loop;r.LOOP_TYPES=v;let S=a.FLIPPED_ALIAS_KEYS.While;r.WHILE_TYPES=S;let w=a.FLIPPED_ALIAS_KEYS.ExpressionWrapper;r.EXPRESSIONWRAPPER_TYPES=w;let A=a.FLIPPED_ALIAS_KEYS.For;r.FOR_TYPES=A;let x=a.FLIPPED_ALIAS_KEYS.ForXStatement;r.FORXSTATEMENT_TYPES=x;let C=a.FLIPPED_ALIAS_KEYS.Function;r.FUNCTION_TYPES=C;let P=a.FLIPPED_ALIAS_KEYS.FunctionParent;r.FUNCTIONPARENT_TYPES=P;let D=a.FLIPPED_ALIAS_KEYS.Pureish;r.PUREISH_TYPES=D;let L=a.FLIPPED_ALIAS_KEYS.Declaration;r.DECLARATION_TYPES=L;let I=a.FLIPPED_ALIAS_KEYS.PatternLike;r.PATTERNLIKE_TYPES=I;let j=a.FLIPPED_ALIAS_KEYS.LVal;r.LVAL_TYPES=j;let M=a.FLIPPED_ALIAS_KEYS.TSEntityName;r.TSENTITYNAME_TYPES=M;let R=a.FLIPPED_ALIAS_KEYS.Literal;r.LITERAL_TYPES=R;let z=a.FLIPPED_ALIAS_KEYS.Immutable;r.IMMUTABLE_TYPES=z;let Y=a.FLIPPED_ALIAS_KEYS.UserWhitespacable;r.USERWHITESPACABLE_TYPES=Y;let $=a.FLIPPED_ALIAS_KEYS.Method;r.METHOD_TYPES=$;let G=a.FLIPPED_ALIAS_KEYS.ObjectMember;r.OBJECTMEMBER_TYPES=G;let U=a.FLIPPED_ALIAS_KEYS.Property;r.PROPERTY_TYPES=U;let B=a.FLIPPED_ALIAS_KEYS.UnaryLike;r.UNARYLIKE_TYPES=B;let N=a.FLIPPED_ALIAS_KEYS.Pattern;r.PATTERN_TYPES=N;let X=a.FLIPPED_ALIAS_KEYS.Class;r.CLASS_TYPES=X;let H=a.FLIPPED_ALIAS_KEYS.ImportOrExportDeclaration;r.IMPORTOREXPORTDECLARATION_TYPES=H;let F=a.FLIPPED_ALIAS_KEYS.ExportDeclaration;r.EXPORTDECLARATION_TYPES=F;let W=a.FLIPPED_ALIAS_KEYS.ModuleSpecifier;r.MODULESPECIFIER_TYPES=W;let V=a.FLIPPED_ALIAS_KEYS.Accessor;r.ACCESSOR_TYPES=V;let Q=a.FLIPPED_ALIAS_KEYS.Private;r.PRIVATE_TYPES=Q;let ne=a.FLIPPED_ALIAS_KEYS.Flow;r.FLOW_TYPES=ne;let ue=a.FLIPPED_ALIAS_KEYS.FlowType;r.FLOWTYPE_TYPES=ue;let de=a.FLIPPED_ALIAS_KEYS.FlowBaseAnnotation;r.FLOWBASEANNOTATION_TYPES=de;let Ae=a.FLIPPED_ALIAS_KEYS.FlowDeclaration;r.FLOWDECLARATION_TYPES=Ae;let Oe=a.FLIPPED_ALIAS_KEYS.FlowPredicate;r.FLOWPREDICATE_TYPES=Oe;let Me=a.FLIPPED_ALIAS_KEYS.EnumBody;r.ENUMBODY_TYPES=Me;let ae=a.FLIPPED_ALIAS_KEYS.EnumMember;r.ENUMMEMBER_TYPES=ae;let se=a.FLIPPED_ALIAS_KEYS.JSX;r.JSX_TYPES=se;let ye=a.FLIPPED_ALIAS_KEYS.Miscellaneous;r.MISCELLANEOUS_TYPES=ye;let be=a.FLIPPED_ALIAS_KEYS.TypeScript;r.TYPESCRIPT_TYPES=be;let Ee=a.FLIPPED_ALIAS_KEYS.TSTypeElement;r.TSTYPEELEMENT_TYPES=Ee;let oe=a.FLIPPED_ALIAS_KEYS.TSType;r.TSTYPE_TYPES=oe;let J=a.FLIPPED_ALIAS_KEYS.TSBaseType;r.TSBASETYPE_TYPES=J;let De=H;r.MODULEDECLARATION_TYPES=De},"./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/constants/index.js":(o,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.UPDATE_OPERATORS=r.UNARY_OPERATORS=r.STRING_UNARY_OPERATORS=r.STATEMENT_OR_BLOCK_KEYS=r.NUMBER_UNARY_OPERATORS=r.NUMBER_BINARY_OPERATORS=r.NOT_LOCAL_BINDING=r.LOGICAL_OPERATORS=r.INHERIT_KEYS=r.FOR_INIT_KEYS=r.FLATTENABLE_KEYS=r.EQUALITY_BINARY_OPERATORS=r.COMPARISON_BINARY_OPERATORS=r.COMMENT_KEYS=r.BOOLEAN_UNARY_OPERATORS=r.BOOLEAN_NUMBER_BINARY_OPERATORS=r.BOOLEAN_BINARY_OPERATORS=r.BLOCK_SCOPED_SYMBOL=r.BINARY_OPERATORS=r.ASSIGNMENT_OPERATORS=void 0,r.STATEMENT_OR_BLOCK_KEYS=["consequent","body","alternate"],r.FLATTENABLE_KEYS=["body","expressions"],r.FOR_INIT_KEYS=["left","init"],r.COMMENT_KEYS=["leadingComments","trailingComments","innerComments"];let u=["||","&&","??"];r.LOGICAL_OPERATORS=u,r.UPDATE_OPERATORS=["++","--"];let a=[">","<",">=","<="];r.BOOLEAN_NUMBER_BINARY_OPERATORS=a;let m=["==","===","!=","!=="];r.EQUALITY_BINARY_OPERATORS=m;let d=[...m,"in","instanceof"];r.COMPARISON_BINARY_OPERATORS=d;let s=[...d,...a];r.BOOLEAN_BINARY_OPERATORS=s;let l=["-","/","%","*","**","&","|",">>",">>>","<<","^"];r.NUMBER_BINARY_OPERATORS=l;let f=["+",...l,...s,"|>"];r.BINARY_OPERATORS=f;let p=["=","+=",...l.map(w=>w+"="),...u.map(w=>w+"=")];r.ASSIGNMENT_OPERATORS=p;let h=["delete","!"];r.BOOLEAN_UNARY_OPERATORS=h;let y=["+","-","~"];r.NUMBER_UNARY_OPERATORS=y;let b=["typeof"];r.STRING_UNARY_OPERATORS=b;let E=["void","throw",...h,...y,...b];r.UNARY_OPERATORS=E,r.INHERIT_KEYS={optional:["typeAnnotation","typeParameters","returnType"],force:["start","loc","end"]};let v=Symbol.for("var used to be block scoped");r.BLOCK_SCOPED_SYMBOL=v;let S=Symbol.for("should not be considered a local binding");r.NOT_LOCAL_BINDING=S},"./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/converters/ensureBlock.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(m,d="body"){let s=(0,a.default)(m[d],m);return m[d]=s,s};var a=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/converters/toBlock.js")},"./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/converters/gatherSequenceExpressions.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function l(f,p,h){let y=[],b=!0;for(let E of f)if((0,m.isEmptyStatement)(E)||(b=!1),(0,m.isExpression)(E))y.push(E);else if((0,m.isExpressionStatement)(E))y.push(E.expression);else if((0,m.isVariableDeclaration)(E)){if(E.kind!=="var")return;for(let v of E.declarations){let S=(0,a.default)(v);for(let w of Object.keys(S))h.push({kind:E.kind,id:(0,s.default)(S[w])});v.init&&y.push((0,d.assignmentExpression)("=",v.id,v.init))}b=!0}else if((0,m.isIfStatement)(E)){let v=E.consequent?l([E.consequent],p,h):p.buildUndefinedNode(),S=E.alternate?l([E.alternate],p,h):p.buildUndefinedNode();if(!v||!S)return;y.push((0,d.conditionalExpression)(E.test,v,S))}else if((0,m.isBlockStatement)(E)){let v=l(E.body,p,h);if(!v)return;y.push(v)}else{if(!(0,m.isEmptyStatement)(E))return;f.indexOf(E)===0&&(b=!0)}return b&&y.push(p.buildUndefinedNode()),y.length===1?y[0]:(0,d.sequenceExpression)(y)};var a=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/retrievers/getBindingIdentifiers.js"),m=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/validators/generated/index.js"),d=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/builders/generated/index.js"),s=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/clone/cloneNode.js")},"./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/converters/toBindingIdentifierName.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(m){return(m=(0,a.default)(m))!=="eval"&&m!=="arguments"||(m="_"+m),m};var a=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/converters/toIdentifier.js")},"./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/converters/toBlock.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(d,s){if((0,a.isBlockStatement)(d))return d;let l=[];return(0,a.isEmptyStatement)(d)?l=[]:((0,a.isStatement)(d)||(d=(0,a.isFunction)(s)?(0,m.returnStatement)(d):(0,m.expressionStatement)(d)),l=[d]),(0,m.blockStatement)(l)};var a=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/validators/generated/index.js"),m=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/builders/generated/index.js")},"./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/converters/toComputedKey.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(d,s=d.key||d.property){return!d.computed&&(0,a.isIdentifier)(s)&&(s=(0,m.stringLiteral)(s.name)),s};var a=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/validators/generated/index.js"),m=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/builders/generated/index.js")},"./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/converters/toExpression.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var a=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/validators/generated/index.js"),m=function(d){if((0,a.isExpressionStatement)(d)&&(d=d.expression),(0,a.isExpression)(d))return d;if((0,a.isClass)(d)?d.type="ClassExpression":(0,a.isFunction)(d)&&(d.type="FunctionExpression"),!(0,a.isExpression)(d))throw new Error(`cannot turn ${d.type} to an expression`);return d};r.default=m},"./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/converters/toIdentifier.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(d){d+="";let s="";for(let l of d)s+=(0,m.isIdentifierChar)(l.codePointAt(0))?l:"-";return s=s.replace(/^[-0-9]+/,""),s=s.replace(/[-\s]+(.)?/g,function(l,f){return f?f.toUpperCase():""}),(0,a.default)(s)||(s=`_${s}`),s||"_"};var a=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/validators/isValidIdentifier.js"),m=u("./node_modules/.pnpm/@babel+helper-validator-identifier@7.22.15/node_modules/@babel/helper-validator-identifier/lib/index.js")},"./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/converters/toKeyAlias.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=s;var a=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/validators/generated/index.js"),m=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/clone/cloneNode.js"),d=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/modifications/removePropertiesDeep.js");function s(l,f=l.key){let p;return l.kind==="method"?s.increment()+"":(p=(0,a.isIdentifier)(f)?f.name:(0,a.isStringLiteral)(f)?JSON.stringify(f.value):JSON.stringify((0,d.default)((0,m.default)(f))),l.computed&&(p=`[${p}]`),l.static&&(p=`static:${p}`),p)}s.uid=0,s.increment=function(){return s.uid>=Number.MAX_SAFE_INTEGER?s.uid=0:s.uid++}},"./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/converters/toSequenceExpression.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(m,d){if(m==null||!m.length)return;let s=[],l=(0,a.default)(m,d,s);if(l){for(let f of s)d.push(f);return l}};var a=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/converters/gatherSequenceExpressions.js")},"./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/converters/toStatement.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var a=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/validators/generated/index.js"),m=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/builders/generated/index.js"),d=function(s,l){if((0,a.isStatement)(s))return s;let f,p=!1;if((0,a.isClass)(s))p=!0,f="ClassDeclaration";else if((0,a.isFunction)(s))p=!0,f="FunctionDeclaration";else if((0,a.isAssignmentExpression)(s))return(0,m.expressionStatement)(s);if(p&&!s.id&&(f=!1),!f){if(l)return!1;throw new Error(`cannot turn ${s.type} to a statement`)}return s.type=f,s};r.default=d},"./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/converters/valueToNode.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var a=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/validators/isValidIdentifier.js"),m=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/builders/generated/index.js"),d=function l(f){if(f===void 0)return(0,m.identifier)("undefined");if(f===!0||f===!1)return(0,m.booleanLiteral)(f);if(f===null)return(0,m.nullLiteral)();if(typeof f=="string")return(0,m.stringLiteral)(f);if(typeof f=="number"){let p;if(Number.isFinite(f))p=(0,m.numericLiteral)(Math.abs(f));else{let h;h=Number.isNaN(f)?(0,m.numericLiteral)(0):(0,m.numericLiteral)(1),p=(0,m.binaryExpression)("/",h,(0,m.numericLiteral)(0))}return(f<0||Object.is(f,-0))&&(p=(0,m.unaryExpression)("-",p)),p}if(function(p){return s(p)==="[object RegExp]"}(f)){let p=f.source,h=f.toString().match(/\/([a-z]+|)$/)[1];return(0,m.regExpLiteral)(p,h)}if(Array.isArray(f))return(0,m.arrayExpression)(f.map(l));if(function(p){if(typeof p!="object"||p===null||Object.prototype.toString.call(p)!=="[object Object]")return!1;let h=Object.getPrototypeOf(p);return h===null||Object.getPrototypeOf(h)===null}(f)){let p=[];for(let h of Object.keys(f)){let y;y=(0,a.default)(h)?(0,m.identifier)(h):(0,m.stringLiteral)(h),p.push((0,m.objectProperty)(y,l(f[h])))}return(0,m.objectExpression)(p)}throw new Error("don't know how to turn this value into a node")};r.default=d;let s=Function.call.bind(Object.prototype.toString)},"./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/definitions/core.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.patternLikeCommon=r.functionTypeAnnotationCommon=r.functionDeclarationCommon=r.functionCommon=r.classMethodOrPropertyCommon=r.classMethodOrDeclareMethodCommon=void 0;var a=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/validators/is.js"),m=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/validators/isValidIdentifier.js"),d=u("./node_modules/.pnpm/@babel+helper-validator-identifier@7.22.15/node_modules/@babel/helper-validator-identifier/lib/index.js"),s=u("./node_modules/.pnpm/@babel+helper-string-parser@7.22.5/node_modules/@babel/helper-string-parser/lib/index.js"),l=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/constants/index.js"),f=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/definitions/utils.js");let p=(0,f.defineAliasedType)("Standardized");p("ArrayExpression",{fields:{elements:{validate:(0,f.chain)((0,f.assertValueType)("array"),(0,f.assertEach)((0,f.assertNodeOrValueType)("null","Expression","SpreadElement"))),default:process.env.BABEL_TYPES_8_BREAKING?void 0:[]}},visitor:["elements"],aliases:["Expression"]}),p("AssignmentExpression",{fields:{operator:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING)return(0,f.assertValueType)("string");let w=(0,f.assertOneOf)(...l.ASSIGNMENT_OPERATORS),A=(0,f.assertOneOf)("=");return function(x,C,P){((0,a.default)("Pattern",x.left)?A:w)(x,C,P)}}()},left:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,f.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression"):(0,f.assertNodeType)("LVal")},right:{validate:(0,f.assertNodeType)("Expression")}},builder:["operator","left","right"],visitor:["left","right"],aliases:["Expression"]}),p("BinaryExpression",{builder:["operator","left","right"],fields:{operator:{validate:(0,f.assertOneOf)(...l.BINARY_OPERATORS)},left:{validate:function(){let w=(0,f.assertNodeType)("Expression"),A=(0,f.assertNodeType)("Expression","PrivateName");return Object.assign(function(x,C,P){(x.operator==="in"?A:w)(x,C,P)},{oneOfNodeTypes:["Expression","PrivateName"]})}()},right:{validate:(0,f.assertNodeType)("Expression")}},visitor:["left","right"],aliases:["Binary","Expression"]}),p("InterpreterDirective",{builder:["value"],fields:{value:{validate:(0,f.assertValueType)("string")}}}),p("Directive",{visitor:["value"],fields:{value:{validate:(0,f.assertNodeType)("DirectiveLiteral")}}}),p("DirectiveLiteral",{builder:["value"],fields:{value:{validate:(0,f.assertValueType)("string")}}}),p("BlockStatement",{builder:["body","directives"],visitor:["directives","body"],fields:{directives:{validate:(0,f.chain)((0,f.assertValueType)("array"),(0,f.assertEach)((0,f.assertNodeType)("Directive"))),default:[]},body:{validate:(0,f.chain)((0,f.assertValueType)("array"),(0,f.assertEach)((0,f.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block","Statement"]}),p("BreakStatement",{visitor:["label"],fields:{label:{validate:(0,f.assertNodeType)("Identifier"),optional:!0}},aliases:["Statement","Terminatorless","CompletionStatement"]}),p("CallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments"],aliases:["Expression"],fields:Object.assign({callee:{validate:(0,f.assertNodeType)("Expression","Super","V8IntrinsicIdentifier")},arguments:{validate:(0,f.chain)((0,f.assertValueType)("array"),(0,f.assertEach)((0,f.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))}},process.env.BABEL_TYPES_8_BREAKING?{}:{optional:{validate:(0,f.assertOneOf)(!0,!1),optional:!0}},{typeArguments:{validate:(0,f.assertNodeType)("TypeParameterInstantiation"),optional:!0},typeParameters:{validate:(0,f.assertNodeType)("TSTypeParameterInstantiation"),optional:!0}})}),p("CatchClause",{visitor:["param","body"],fields:{param:{validate:(0,f.assertNodeType)("Identifier","ArrayPattern","ObjectPattern"),optional:!0},body:{validate:(0,f.assertNodeType)("BlockStatement")}},aliases:["Scopable","BlockParent"]}),p("ConditionalExpression",{visitor:["test","consequent","alternate"],fields:{test:{validate:(0,f.assertNodeType)("Expression")},consequent:{validate:(0,f.assertNodeType)("Expression")},alternate:{validate:(0,f.assertNodeType)("Expression")}},aliases:["Expression","Conditional"]}),p("ContinueStatement",{visitor:["label"],fields:{label:{validate:(0,f.assertNodeType)("Identifier"),optional:!0}},aliases:["Statement","Terminatorless","CompletionStatement"]}),p("DebuggerStatement",{aliases:["Statement"]}),p("DoWhileStatement",{visitor:["test","body"],fields:{test:{validate:(0,f.assertNodeType)("Expression")},body:{validate:(0,f.assertNodeType)("Statement")}},aliases:["Statement","BlockParent","Loop","While","Scopable"]}),p("EmptyStatement",{aliases:["Statement"]}),p("ExpressionStatement",{visitor:["expression"],fields:{expression:{validate:(0,f.assertNodeType)("Expression")}},aliases:["Statement","ExpressionWrapper"]}),p("File",{builder:["program","comments","tokens"],visitor:["program"],fields:{program:{validate:(0,f.assertNodeType)("Program")},comments:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,f.assertEach)((0,f.assertNodeType)("CommentBlock","CommentLine")):Object.assign(()=>{},{each:{oneOfNodeTypes:["CommentBlock","CommentLine"]}}),optional:!0},tokens:{validate:(0,f.assertEach)(Object.assign(()=>{},{type:"any"})),optional:!0}}}),p("ForInStatement",{visitor:["left","right","body"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,f.assertNodeType)("VariableDeclaration","Identifier","MemberExpression","ArrayPattern","ObjectPattern","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression"):(0,f.assertNodeType)("VariableDeclaration","LVal")},right:{validate:(0,f.assertNodeType)("Expression")},body:{validate:(0,f.assertNodeType)("Statement")}}}),p("ForStatement",{visitor:["init","test","update","body"],aliases:["Scopable","Statement","For","BlockParent","Loop"],fields:{init:{validate:(0,f.assertNodeType)("VariableDeclaration","Expression"),optional:!0},test:{validate:(0,f.assertNodeType)("Expression"),optional:!0},update:{validate:(0,f.assertNodeType)("Expression"),optional:!0},body:{validate:(0,f.assertNodeType)("Statement")}}});let h=()=>({params:{validate:(0,f.chain)((0,f.assertValueType)("array"),(0,f.assertEach)((0,f.assertNodeType)("Identifier","Pattern","RestElement")))},generator:{default:!1},async:{default:!1}});r.functionCommon=h;let y=()=>({returnType:{validate:(0,f.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},typeParameters:{validate:(0,f.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:!0}});r.functionTypeAnnotationCommon=y;let b=()=>Object.assign({},h(),{declare:{validate:(0,f.assertValueType)("boolean"),optional:!0},id:{validate:(0,f.assertNodeType)("Identifier"),optional:!0}});r.functionDeclarationCommon=b,p("FunctionDeclaration",{builder:["id","params","body","generator","async"],visitor:["id","params","body","returnType","typeParameters"],fields:Object.assign({},b(),y(),{body:{validate:(0,f.assertNodeType)("BlockStatement")},predicate:{validate:(0,f.assertNodeType)("DeclaredPredicate","InferredPredicate"),optional:!0}}),aliases:["Scopable","Function","BlockParent","FunctionParent","Statement","Pureish","Declaration"],validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING)return()=>{};let w=(0,f.assertNodeType)("Identifier");return function(A,x,C){(0,a.default)("ExportDefaultDeclaration",A)||w(C,"id",C.id)}}()}),p("FunctionExpression",{inherits:"FunctionDeclaration",aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},h(),y(),{id:{validate:(0,f.assertNodeType)("Identifier"),optional:!0},body:{validate:(0,f.assertNodeType)("BlockStatement")},predicate:{validate:(0,f.assertNodeType)("DeclaredPredicate","InferredPredicate"),optional:!0}})});let E=()=>({typeAnnotation:{validate:(0,f.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},optional:{validate:(0,f.assertValueType)("boolean"),optional:!0},decorators:{validate:(0,f.chain)((0,f.assertValueType)("array"),(0,f.assertEach)((0,f.assertNodeType)("Decorator"))),optional:!0}});r.patternLikeCommon=E,p("Identifier",{builder:["name"],visitor:["typeAnnotation","decorators"],aliases:["Expression","PatternLike","LVal","TSEntityName"],fields:Object.assign({},E(),{name:{validate:(0,f.chain)((0,f.assertValueType)("string"),Object.assign(function(w,A,x){if(process.env.BABEL_TYPES_8_BREAKING&&!(0,m.default)(x,!1))throw new TypeError(`"${x}" is not a valid identifier name`)},{type:"string"}))}}),validate(w,A,x){if(!process.env.BABEL_TYPES_8_BREAKING)return;let C=/\.(\w+)$/.exec(A);if(!C)return;let[,P]=C,D={computed:!1};if(P==="property"){if((0,a.default)("MemberExpression",w,D)||(0,a.default)("OptionalMemberExpression",w,D))return}else if(P==="key"){if((0,a.default)("Property",w,D)||(0,a.default)("Method",w,D))return}else if(P==="exported"){if((0,a.default)("ExportSpecifier",w))return}else if(P==="imported"){if((0,a.default)("ImportSpecifier",w,{imported:x}))return}else if(P==="meta"&&(0,a.default)("MetaProperty",w,{meta:x}))return;if(((0,d.isKeyword)(x.name)||(0,d.isReservedWord)(x.name,!1))&&x.name!=="this")throw new TypeError(`"${x.name}" is not a valid identifier`)}}),p("IfStatement",{visitor:["test","consequent","alternate"],aliases:["Statement","Conditional"],fields:{test:{validate:(0,f.assertNodeType)("Expression")},consequent:{validate:(0,f.assertNodeType)("Statement")},alternate:{optional:!0,validate:(0,f.assertNodeType)("Statement")}}}),p("LabeledStatement",{visitor:["label","body"],aliases:["Statement"],fields:{label:{validate:(0,f.assertNodeType)("Identifier")},body:{validate:(0,f.assertNodeType)("Statement")}}}),p("StringLiteral",{builder:["value"],fields:{value:{validate:(0,f.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]}),p("NumericLiteral",{builder:["value"],deprecatedAlias:"NumberLiteral",fields:{value:{validate:(0,f.chain)((0,f.assertValueType)("number"),Object.assign(function(w,A,x){(1/x<0||!Number.isFinite(x))&&new Error(`NumericLiterals must be non-negative finite numbers. You can use t.valueToNode(${x}) instead.`)},{type:"number"}))}},aliases:["Expression","Pureish","Literal","Immutable"]}),p("NullLiteral",{aliases:["Expression","Pureish","Literal","Immutable"]}),p("BooleanLiteral",{builder:["value"],fields:{value:{validate:(0,f.assertValueType)("boolean")}},aliases:["Expression","Pureish","Literal","Immutable"]}),p("RegExpLiteral",{builder:["pattern","flags"],deprecatedAlias:"RegexLiteral",aliases:["Expression","Pureish","Literal"],fields:{pattern:{validate:(0,f.assertValueType)("string")},flags:{validate:(0,f.chain)((0,f.assertValueType)("string"),Object.assign(function(w,A,x){if(!process.env.BABEL_TYPES_8_BREAKING)return;let C=/[^gimsuy]/.exec(x);if(C)throw new TypeError(`"${C[0]}" is not a valid RegExp flag`)},{type:"string"})),default:""}}}),p("LogicalExpression",{builder:["operator","left","right"],visitor:["left","right"],aliases:["Binary","Expression"],fields:{operator:{validate:(0,f.assertOneOf)(...l.LOGICAL_OPERATORS)},left:{validate:(0,f.assertNodeType)("Expression")},right:{validate:(0,f.assertNodeType)("Expression")}}}),p("MemberExpression",{builder:["object","property","computed",...process.env.BABEL_TYPES_8_BREAKING?[]:["optional"]],visitor:["object","property"],aliases:["Expression","LVal"],fields:Object.assign({object:{validate:(0,f.assertNodeType)("Expression","Super")},property:{validate:function(){let w=(0,f.assertNodeType)("Identifier","PrivateName"),A=(0,f.assertNodeType)("Expression"),x=function(C,P,D){(C.computed?A:w)(C,P,D)};return x.oneOfNodeTypes=["Expression","Identifier","PrivateName"],x}()},computed:{default:!1}},process.env.BABEL_TYPES_8_BREAKING?{}:{optional:{validate:(0,f.assertOneOf)(!0,!1),optional:!0}})}),p("NewExpression",{inherits:"CallExpression"}),p("Program",{visitor:["directives","body"],builder:["body","directives","sourceType","interpreter"],fields:{sourceFile:{validate:(0,f.assertValueType)("string")},sourceType:{validate:(0,f.assertOneOf)("script","module"),default:"script"},interpreter:{validate:(0,f.assertNodeType)("InterpreterDirective"),default:null,optional:!0},directives:{validate:(0,f.chain)((0,f.assertValueType)("array"),(0,f.assertEach)((0,f.assertNodeType)("Directive"))),default:[]},body:{validate:(0,f.chain)((0,f.assertValueType)("array"),(0,f.assertEach)((0,f.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block"]}),p("ObjectExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,f.chain)((0,f.assertValueType)("array"),(0,f.assertEach)((0,f.assertNodeType)("ObjectMethod","ObjectProperty","SpreadElement")))}}}),p("ObjectMethod",{builder:["kind","key","params","body","computed","generator","async"],fields:Object.assign({},h(),y(),{kind:Object.assign({validate:(0,f.assertOneOf)("method","get","set")},process.env.BABEL_TYPES_8_BREAKING?{}:{default:"method"}),computed:{default:!1},key:{validate:function(){let w=(0,f.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral"),A=(0,f.assertNodeType)("Expression"),x=function(C,P,D){(C.computed?A:w)(C,P,D)};return x.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral","BigIntLiteral"],x}()},decorators:{validate:(0,f.chain)((0,f.assertValueType)("array"),(0,f.assertEach)((0,f.assertNodeType)("Decorator"))),optional:!0},body:{validate:(0,f.assertNodeType)("BlockStatement")}}),visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["UserWhitespacable","Function","Scopable","BlockParent","FunctionParent","Method","ObjectMember"]}),p("ObjectProperty",{builder:["key","value","computed","shorthand",...process.env.BABEL_TYPES_8_BREAKING?[]:["decorators"]],fields:{computed:{default:!1},key:{validate:function(){let w=(0,f.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","DecimalLiteral","PrivateName"),A=(0,f.assertNodeType)("Expression");return Object.assign(function(x,C,P){(x.computed?A:w)(x,C,P)},{oneOfNodeTypes:["Expression","Identifier","StringLiteral","NumericLiteral","BigIntLiteral","DecimalLiteral","PrivateName"]})}()},value:{validate:(0,f.assertNodeType)("Expression","PatternLike")},shorthand:{validate:(0,f.chain)((0,f.assertValueType)("boolean"),Object.assign(function(w,A,x){if(process.env.BABEL_TYPES_8_BREAKING&&x&&w.computed)throw new TypeError("Property shorthand of ObjectProperty cannot be true if computed is true")},{type:"boolean"}),function(w,A,x){if(process.env.BABEL_TYPES_8_BREAKING&&x&&!(0,a.default)("Identifier",w.key))throw new TypeError("Property shorthand of ObjectProperty cannot be true if key is not an Identifier")}),default:!1},decorators:{validate:(0,f.chain)((0,f.assertValueType)("array"),(0,f.assertEach)((0,f.assertNodeType)("Decorator"))),optional:!0}},visitor:["key","value","decorators"],aliases:["UserWhitespacable","Property","ObjectMember"],validate:function(){let w=(0,f.assertNodeType)("Identifier","Pattern","TSAsExpression","TSSatisfiesExpression","TSNonNullExpression","TSTypeAssertion"),A=(0,f.assertNodeType)("Expression");return function(x,C,P){process.env.BABEL_TYPES_8_BREAKING&&((0,a.default)("ObjectPattern",x)?w:A)(P,"value",P.value)}}()}),p("RestElement",{visitor:["argument","typeAnnotation"],builder:["argument"],aliases:["LVal","PatternLike"],deprecatedAlias:"RestProperty",fields:Object.assign({},E(),{argument:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,f.assertNodeType)("Identifier","ArrayPattern","ObjectPattern","MemberExpression","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression"):(0,f.assertNodeType)("LVal")}}),validate(w,A){if(!process.env.BABEL_TYPES_8_BREAKING)return;let x=/(\w+)\[(\d+)\]/.exec(A);if(!x)throw new Error("Internal Babel error: malformed key.");let[,C,P]=x;if(w[C].length>+P+1)throw new TypeError(`RestElement must be last element of ${C}`)}}),p("ReturnStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,f.assertNodeType)("Expression"),optional:!0}}}),p("SequenceExpression",{visitor:["expressions"],fields:{expressions:{validate:(0,f.chain)((0,f.assertValueType)("array"),(0,f.assertEach)((0,f.assertNodeType)("Expression")))}},aliases:["Expression"]}),p("ParenthesizedExpression",{visitor:["expression"],aliases:["Expression","ExpressionWrapper"],fields:{expression:{validate:(0,f.assertNodeType)("Expression")}}}),p("SwitchCase",{visitor:["test","consequent"],fields:{test:{validate:(0,f.assertNodeType)("Expression"),optional:!0},consequent:{validate:(0,f.chain)((0,f.assertValueType)("array"),(0,f.assertEach)((0,f.assertNodeType)("Statement")))}}}),p("SwitchStatement",{visitor:["discriminant","cases"],aliases:["Statement","BlockParent","Scopable"],fields:{discriminant:{validate:(0,f.assertNodeType)("Expression")},cases:{validate:(0,f.chain)((0,f.assertValueType)("array"),(0,f.assertEach)((0,f.assertNodeType)("SwitchCase")))}}}),p("ThisExpression",{aliases:["Expression"]}),p("ThrowStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,f.assertNodeType)("Expression")}}}),p("TryStatement",{visitor:["block","handler","finalizer"],aliases:["Statement"],fields:{block:{validate:(0,f.chain)((0,f.assertNodeType)("BlockStatement"),Object.assign(function(w){if(process.env.BABEL_TYPES_8_BREAKING&&!w.handler&&!w.finalizer)throw new TypeError("TryStatement expects either a handler or finalizer, or both")},{oneOfNodeTypes:["BlockStatement"]}))},handler:{optional:!0,validate:(0,f.assertNodeType)("CatchClause")},finalizer:{optional:!0,validate:(0,f.assertNodeType)("BlockStatement")}}}),p("UnaryExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:!0},argument:{validate:(0,f.assertNodeType)("Expression")},operator:{validate:(0,f.assertOneOf)(...l.UNARY_OPERATORS)}},visitor:["argument"],aliases:["UnaryLike","Expression"]}),p("UpdateExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:!1},argument:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,f.assertNodeType)("Identifier","MemberExpression"):(0,f.assertNodeType)("Expression")},operator:{validate:(0,f.assertOneOf)(...l.UPDATE_OPERATORS)}},visitor:["argument"],aliases:["Expression"]}),p("VariableDeclaration",{builder:["kind","declarations"],visitor:["declarations"],aliases:["Statement","Declaration"],fields:{declare:{validate:(0,f.assertValueType)("boolean"),optional:!0},kind:{validate:(0,f.assertOneOf)("var","let","const","using","await using")},declarations:{validate:(0,f.chain)((0,f.assertValueType)("array"),(0,f.assertEach)((0,f.assertNodeType)("VariableDeclarator")))}},validate(w,A,x){if(process.env.BABEL_TYPES_8_BREAKING&&(0,a.default)("ForXStatement",w,{left:x})&&x.declarations.length!==1)throw new TypeError(`Exactly one VariableDeclarator is required in the VariableDeclaration of a ${w.type}`)}}),p("VariableDeclarator",{visitor:["id","init"],fields:{id:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING)return(0,f.assertNodeType)("LVal");let w=(0,f.assertNodeType)("Identifier","ArrayPattern","ObjectPattern"),A=(0,f.assertNodeType)("Identifier");return function(x,C,P){(x.init?w:A)(x,C,P)}}()},definite:{optional:!0,validate:(0,f.assertValueType)("boolean")},init:{optional:!0,validate:(0,f.assertNodeType)("Expression")}}}),p("WhileStatement",{visitor:["test","body"],aliases:["Statement","BlockParent","Loop","While","Scopable"],fields:{test:{validate:(0,f.assertNodeType)("Expression")},body:{validate:(0,f.assertNodeType)("Statement")}}}),p("WithStatement",{visitor:["object","body"],aliases:["Statement"],fields:{object:{validate:(0,f.assertNodeType)("Expression")},body:{validate:(0,f.assertNodeType)("Statement")}}}),p("AssignmentPattern",{visitor:["left","right","decorators"],builder:["left","right"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},E(),{left:{validate:(0,f.assertNodeType)("Identifier","ObjectPattern","ArrayPattern","MemberExpression","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression")},right:{validate:(0,f.assertNodeType)("Expression")},decorators:{validate:(0,f.chain)((0,f.assertValueType)("array"),(0,f.assertEach)((0,f.assertNodeType)("Decorator"))),optional:!0}})}),p("ArrayPattern",{visitor:["elements","typeAnnotation"],builder:["elements"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},E(),{elements:{validate:(0,f.chain)((0,f.assertValueType)("array"),(0,f.assertEach)((0,f.assertNodeOrValueType)("null","PatternLike","LVal")))}})}),p("ArrowFunctionExpression",{builder:["params","body","async"],visitor:["params","body","returnType","typeParameters"],aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},h(),y(),{expression:{validate:(0,f.assertValueType)("boolean")},body:{validate:(0,f.assertNodeType)("BlockStatement","Expression")},predicate:{validate:(0,f.assertNodeType)("DeclaredPredicate","InferredPredicate"),optional:!0}})}),p("ClassBody",{visitor:["body"],fields:{body:{validate:(0,f.chain)((0,f.assertValueType)("array"),(0,f.assertEach)((0,f.assertNodeType)("ClassMethod","ClassPrivateMethod","ClassProperty","ClassPrivateProperty","ClassAccessorProperty","TSDeclareMethod","TSIndexSignature","StaticBlock")))}}}),p("ClassExpression",{builder:["id","superClass","body","decorators"],visitor:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators"],aliases:["Scopable","Class","Expression"],fields:{id:{validate:(0,f.assertNodeType)("Identifier"),optional:!0},typeParameters:{validate:(0,f.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:!0},body:{validate:(0,f.assertNodeType)("ClassBody")},superClass:{optional:!0,validate:(0,f.assertNodeType)("Expression")},superTypeParameters:{validate:(0,f.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0},implements:{validate:(0,f.chain)((0,f.assertValueType)("array"),(0,f.assertEach)((0,f.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:!0},decorators:{validate:(0,f.chain)((0,f.assertValueType)("array"),(0,f.assertEach)((0,f.assertNodeType)("Decorator"))),optional:!0},mixins:{validate:(0,f.assertNodeType)("InterfaceExtends"),optional:!0}}}),p("ClassDeclaration",{inherits:"ClassExpression",aliases:["Scopable","Class","Statement","Declaration"],fields:{id:{validate:(0,f.assertNodeType)("Identifier")},typeParameters:{validate:(0,f.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:!0},body:{validate:(0,f.assertNodeType)("ClassBody")},superClass:{optional:!0,validate:(0,f.assertNodeType)("Expression")},superTypeParameters:{validate:(0,f.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0},implements:{validate:(0,f.chain)((0,f.assertValueType)("array"),(0,f.assertEach)((0,f.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:!0},decorators:{validate:(0,f.chain)((0,f.assertValueType)("array"),(0,f.assertEach)((0,f.assertNodeType)("Decorator"))),optional:!0},mixins:{validate:(0,f.assertNodeType)("InterfaceExtends"),optional:!0},declare:{validate:(0,f.assertValueType)("boolean"),optional:!0},abstract:{validate:(0,f.assertValueType)("boolean"),optional:!0}},validate:function(){let w=(0,f.assertNodeType)("Identifier");return function(A,x,C){process.env.BABEL_TYPES_8_BREAKING&&((0,a.default)("ExportDefaultDeclaration",A)||w(C,"id",C.id))}}()}),p("ExportAllDeclaration",{builder:["source"],visitor:["source","attributes","assertions"],aliases:["Statement","Declaration","ImportOrExportDeclaration","ExportDeclaration"],fields:{source:{validate:(0,f.assertNodeType)("StringLiteral")},exportKind:(0,f.validateOptional)((0,f.assertOneOf)("type","value")),attributes:{optional:!0,validate:(0,f.chain)((0,f.assertValueType)("array"),(0,f.assertEach)((0,f.assertNodeType)("ImportAttribute")))},assertions:{optional:!0,validate:(0,f.chain)((0,f.assertValueType)("array"),(0,f.assertEach)((0,f.assertNodeType)("ImportAttribute")))}}}),p("ExportDefaultDeclaration",{visitor:["declaration"],aliases:["Statement","Declaration","ImportOrExportDeclaration","ExportDeclaration"],fields:{declaration:{validate:(0,f.assertNodeType)("TSDeclareFunction","FunctionDeclaration","ClassDeclaration","Expression")},exportKind:(0,f.validateOptional)((0,f.assertOneOf)("value"))}}),p("ExportNamedDeclaration",{builder:["declaration","specifiers","source"],visitor:["declaration","specifiers","source","attributes","assertions"],aliases:["Statement","Declaration","ImportOrExportDeclaration","ExportDeclaration"],fields:{declaration:{optional:!0,validate:(0,f.chain)((0,f.assertNodeType)("Declaration"),Object.assign(function(w,A,x){if(process.env.BABEL_TYPES_8_BREAKING&&x&&w.specifiers.length)throw new TypeError("Only declaration or specifiers is allowed on ExportNamedDeclaration")},{oneOfNodeTypes:["Declaration"]}),function(w,A,x){if(process.env.BABEL_TYPES_8_BREAKING&&x&&w.source)throw new TypeError("Cannot export a declaration from a source")})},attributes:{optional:!0,validate:(0,f.chain)((0,f.assertValueType)("array"),(0,f.assertEach)((0,f.assertNodeType)("ImportAttribute")))},assertions:{optional:!0,validate:(0,f.chain)((0,f.assertValueType)("array"),(0,f.assertEach)((0,f.assertNodeType)("ImportAttribute")))},specifiers:{default:[],validate:(0,f.chain)((0,f.assertValueType)("array"),(0,f.assertEach)(function(){let w=(0,f.assertNodeType)("ExportSpecifier","ExportDefaultSpecifier","ExportNamespaceSpecifier"),A=(0,f.assertNodeType)("ExportSpecifier");return process.env.BABEL_TYPES_8_BREAKING?function(x,C,P){(x.source?w:A)(x,C,P)}:w}()))},source:{validate:(0,f.assertNodeType)("StringLiteral"),optional:!0},exportKind:(0,f.validateOptional)((0,f.assertOneOf)("type","value"))}}),p("ExportSpecifier",{visitor:["local","exported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,f.assertNodeType)("Identifier")},exported:{validate:(0,f.assertNodeType)("Identifier","StringLiteral")},exportKind:{validate:(0,f.assertOneOf)("type","value"),optional:!0}}}),p("ForOfStatement",{visitor:["left","right","body"],builder:["left","right","body","await"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING)return(0,f.assertNodeType)("VariableDeclaration","LVal");let w=(0,f.assertNodeType)("VariableDeclaration"),A=(0,f.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression");return function(x,C,P){(0,a.default)("VariableDeclaration",P)?w(x,C,P):A(x,C,P)}}()},right:{validate:(0,f.assertNodeType)("Expression")},body:{validate:(0,f.assertNodeType)("Statement")},await:{default:!1}}}),p("ImportDeclaration",{builder:["specifiers","source"],visitor:["specifiers","source","attributes","assertions"],aliases:["Statement","Declaration","ImportOrExportDeclaration"],fields:{attributes:{optional:!0,validate:(0,f.chain)((0,f.assertValueType)("array"),(0,f.assertEach)((0,f.assertNodeType)("ImportAttribute")))},assertions:{optional:!0,validate:(0,f.chain)((0,f.assertValueType)("array"),(0,f.assertEach)((0,f.assertNodeType)("ImportAttribute")))},module:{optional:!0,validate:(0,f.assertValueType)("boolean")},specifiers:{validate:(0,f.chain)((0,f.assertValueType)("array"),(0,f.assertEach)((0,f.assertNodeType)("ImportSpecifier","ImportDefaultSpecifier","ImportNamespaceSpecifier")))},source:{validate:(0,f.assertNodeType)("StringLiteral")},importKind:{validate:(0,f.assertOneOf)("type","typeof","value"),optional:!0}}}),p("ImportDefaultSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,f.assertNodeType)("Identifier")}}}),p("ImportNamespaceSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,f.assertNodeType)("Identifier")}}}),p("ImportSpecifier",{visitor:["local","imported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,f.assertNodeType)("Identifier")},imported:{validate:(0,f.assertNodeType)("Identifier","StringLiteral")},importKind:{validate:(0,f.assertOneOf)("type","typeof","value"),optional:!0}}}),p("MetaProperty",{visitor:["meta","property"],aliases:["Expression"],fields:{meta:{validate:(0,f.chain)((0,f.assertNodeType)("Identifier"),Object.assign(function(w,A,x){if(!process.env.BABEL_TYPES_8_BREAKING)return;let C;switch(x.name){case"function":C="sent";break;case"new":C="target";break;case"import":C="meta"}if(!(0,a.default)("Identifier",w.property,{name:C}))throw new TypeError("Unrecognised MetaProperty")},{oneOfNodeTypes:["Identifier"]}))},property:{validate:(0,f.assertNodeType)("Identifier")}}});let v=()=>({abstract:{validate:(0,f.assertValueType)("boolean"),optional:!0},accessibility:{validate:(0,f.assertOneOf)("public","private","protected"),optional:!0},static:{default:!1},override:{default:!1},computed:{default:!1},optional:{validate:(0,f.assertValueType)("boolean"),optional:!0},key:{validate:(0,f.chain)(function(){let w=(0,f.assertNodeType)("Identifier","StringLiteral","NumericLiteral"),A=(0,f.assertNodeType)("Expression");return function(x,C,P){(x.computed?A:w)(x,C,P)}}(),(0,f.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","Expression"))}});r.classMethodOrPropertyCommon=v;let S=()=>Object.assign({},h(),v(),{params:{validate:(0,f.chain)((0,f.assertValueType)("array"),(0,f.assertEach)((0,f.assertNodeType)("Identifier","Pattern","RestElement","TSParameterProperty")))},kind:{validate:(0,f.assertOneOf)("get","set","method","constructor"),default:"method"},access:{validate:(0,f.chain)((0,f.assertValueType)("string"),(0,f.assertOneOf)("public","private","protected")),optional:!0},decorators:{validate:(0,f.chain)((0,f.assertValueType)("array"),(0,f.assertEach)((0,f.assertNodeType)("Decorator"))),optional:!0}});r.classMethodOrDeclareMethodCommon=S,p("ClassMethod",{aliases:["Function","Scopable","BlockParent","FunctionParent","Method"],builder:["kind","key","params","body","computed","static","generator","async"],visitor:["key","params","body","decorators","returnType","typeParameters"],fields:Object.assign({},S(),y(),{body:{validate:(0,f.assertNodeType)("BlockStatement")}})}),p("ObjectPattern",{visitor:["properties","typeAnnotation","decorators"],builder:["properties"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},E(),{properties:{validate:(0,f.chain)((0,f.assertValueType)("array"),(0,f.assertEach)((0,f.assertNodeType)("RestElement","ObjectProperty")))}})}),p("SpreadElement",{visitor:["argument"],aliases:["UnaryLike"],deprecatedAlias:"SpreadProperty",fields:{argument:{validate:(0,f.assertNodeType)("Expression")}}}),p("Super",{aliases:["Expression"]}),p("TaggedTemplateExpression",{visitor:["tag","quasi","typeParameters"],builder:["tag","quasi"],aliases:["Expression"],fields:{tag:{validate:(0,f.assertNodeType)("Expression")},quasi:{validate:(0,f.assertNodeType)("TemplateLiteral")},typeParameters:{validate:(0,f.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0}}}),p("TemplateElement",{builder:["value","tail"],fields:{value:{validate:(0,f.chain)((0,f.assertShape)({raw:{validate:(0,f.assertValueType)("string")},cooked:{validate:(0,f.assertValueType)("string"),optional:!0}}),function(w){let A=w.value.raw,x=!1,C=()=>{throw new Error("Internal @babel/types error.")},{str:P,firstInvalidLoc:D}=(0,s.readStringContents)("template",A,0,0,0,{unterminated(){x=!0},strictNumericEscape:C,invalidEscapeSequence:C,numericSeparatorInEscapeSequence:C,unexpectedNumericSeparator:C,invalidDigit:C,invalidCodePoint:C});if(!x)throw new Error("Invalid raw");w.value.cooked=D?null:P})},tail:{default:!1}}}),p("TemplateLiteral",{visitor:["quasis","expressions"],aliases:["Expression","Literal"],fields:{quasis:{validate:(0,f.chain)((0,f.assertValueType)("array"),(0,f.assertEach)((0,f.assertNodeType)("TemplateElement")))},expressions:{validate:(0,f.chain)((0,f.assertValueType)("array"),(0,f.assertEach)((0,f.assertNodeType)("Expression","TSType")),function(w,A,x){if(w.quasis.length!==x.length+1)throw new TypeError(`Number of ${w.type} quasis should be exactly one more than the number of expressions.
|
|
Expected ${x.length+1} quasis but got ${w.quasis.length}`)})}}}),p("YieldExpression",{builder:["argument","delegate"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{delegate:{validate:(0,f.chain)((0,f.assertValueType)("boolean"),Object.assign(function(w,A,x){if(process.env.BABEL_TYPES_8_BREAKING&&x&&!w.argument)throw new TypeError("Property delegate of YieldExpression cannot be true if there is no argument")},{type:"boolean"})),default:!1},argument:{optional:!0,validate:(0,f.assertNodeType)("Expression")}}}),p("AwaitExpression",{builder:["argument"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{argument:{validate:(0,f.assertNodeType)("Expression")}}}),p("Import",{aliases:["Expression"]}),p("BigIntLiteral",{builder:["value"],fields:{value:{validate:(0,f.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]}),p("ExportNamespaceSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,f.assertNodeType)("Identifier")}}}),p("OptionalMemberExpression",{builder:["object","property","computed","optional"],visitor:["object","property"],aliases:["Expression"],fields:{object:{validate:(0,f.assertNodeType)("Expression")},property:{validate:function(){let w=(0,f.assertNodeType)("Identifier"),A=(0,f.assertNodeType)("Expression");return Object.assign(function(x,C,P){(x.computed?A:w)(x,C,P)},{oneOfNodeTypes:["Expression","Identifier"]})}()},computed:{default:!1},optional:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,f.chain)((0,f.assertValueType)("boolean"),(0,f.assertOptionalChainStart)()):(0,f.assertValueType)("boolean")}}}),p("OptionalCallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments","optional"],aliases:["Expression"],fields:{callee:{validate:(0,f.assertNodeType)("Expression")},arguments:{validate:(0,f.chain)((0,f.assertValueType)("array"),(0,f.assertEach)((0,f.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))},optional:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,f.chain)((0,f.assertValueType)("boolean"),(0,f.assertOptionalChainStart)()):(0,f.assertValueType)("boolean")},typeArguments:{validate:(0,f.assertNodeType)("TypeParameterInstantiation"),optional:!0},typeParameters:{validate:(0,f.assertNodeType)("TSTypeParameterInstantiation"),optional:!0}}}),p("ClassProperty",{visitor:["key","value","typeAnnotation","decorators"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property"],fields:Object.assign({},v(),{value:{validate:(0,f.assertNodeType)("Expression"),optional:!0},definite:{validate:(0,f.assertValueType)("boolean"),optional:!0},typeAnnotation:{validate:(0,f.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},decorators:{validate:(0,f.chain)((0,f.assertValueType)("array"),(0,f.assertEach)((0,f.assertNodeType)("Decorator"))),optional:!0},readonly:{validate:(0,f.assertValueType)("boolean"),optional:!0},declare:{validate:(0,f.assertValueType)("boolean"),optional:!0},variance:{validate:(0,f.assertNodeType)("Variance"),optional:!0}})}),p("ClassAccessorProperty",{visitor:["key","value","typeAnnotation","decorators"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property","Accessor"],fields:Object.assign({},v(),{key:{validate:(0,f.chain)(function(){let w=(0,f.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","PrivateName"),A=(0,f.assertNodeType)("Expression");return function(x,C,P){(x.computed?A:w)(x,C,P)}}(),(0,f.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","Expression","PrivateName"))},value:{validate:(0,f.assertNodeType)("Expression"),optional:!0},definite:{validate:(0,f.assertValueType)("boolean"),optional:!0},typeAnnotation:{validate:(0,f.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},decorators:{validate:(0,f.chain)((0,f.assertValueType)("array"),(0,f.assertEach)((0,f.assertNodeType)("Decorator"))),optional:!0},readonly:{validate:(0,f.assertValueType)("boolean"),optional:!0},declare:{validate:(0,f.assertValueType)("boolean"),optional:!0},variance:{validate:(0,f.assertNodeType)("Variance"),optional:!0}})}),p("ClassPrivateProperty",{visitor:["key","value","decorators","typeAnnotation"],builder:["key","value","decorators","static"],aliases:["Property","Private"],fields:{key:{validate:(0,f.assertNodeType)("PrivateName")},value:{validate:(0,f.assertNodeType)("Expression"),optional:!0},typeAnnotation:{validate:(0,f.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},decorators:{validate:(0,f.chain)((0,f.assertValueType)("array"),(0,f.assertEach)((0,f.assertNodeType)("Decorator"))),optional:!0},static:{validate:(0,f.assertValueType)("boolean"),default:!1},readonly:{validate:(0,f.assertValueType)("boolean"),optional:!0},definite:{validate:(0,f.assertValueType)("boolean"),optional:!0},variance:{validate:(0,f.assertNodeType)("Variance"),optional:!0}}}),p("ClassPrivateMethod",{builder:["kind","key","params","body","static"],visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["Function","Scopable","BlockParent","FunctionParent","Method","Private"],fields:Object.assign({},S(),y(),{kind:{validate:(0,f.assertOneOf)("get","set","method"),default:"method"},key:{validate:(0,f.assertNodeType)("PrivateName")},body:{validate:(0,f.assertNodeType)("BlockStatement")}})}),p("PrivateName",{visitor:["id"],aliases:["Private"],fields:{id:{validate:(0,f.assertNodeType)("Identifier")}}}),p("StaticBlock",{visitor:["body"],fields:{body:{validate:(0,f.chain)((0,f.assertValueType)("array"),(0,f.assertEach)((0,f.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","FunctionParent"]})},"./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/definitions/deprecated-aliases.js":(o,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.DEPRECATED_ALIASES=void 0,r.DEPRECATED_ALIASES={ModuleDeclaration:"ImportOrExportDeclaration"}},"./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/definitions/experimental.js":(o,r,u)=>{"use strict";var a=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/definitions/utils.js");(0,a.default)("ArgumentPlaceholder",{}),(0,a.default)("BindExpression",{visitor:["object","callee"],aliases:["Expression"],fields:process.env.BABEL_TYPES_8_BREAKING?{object:{validate:(0,a.assertNodeType)("Expression")},callee:{validate:(0,a.assertNodeType)("Expression")}}:{object:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})},callee:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})}}}),(0,a.default)("ImportAttribute",{visitor:["key","value"],fields:{key:{validate:(0,a.assertNodeType)("Identifier","StringLiteral")},value:{validate:(0,a.assertNodeType)("StringLiteral")}}}),(0,a.default)("Decorator",{visitor:["expression"],fields:{expression:{validate:(0,a.assertNodeType)("Expression")}}}),(0,a.default)("DoExpression",{visitor:["body"],builder:["body","async"],aliases:["Expression"],fields:{body:{validate:(0,a.assertNodeType)("BlockStatement")},async:{validate:(0,a.assertValueType)("boolean"),default:!1}}}),(0,a.default)("ExportDefaultSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,a.assertNodeType)("Identifier")}}}),(0,a.default)("RecordExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,a.chain)((0,a.assertValueType)("array"),(0,a.assertEach)((0,a.assertNodeType)("ObjectProperty","SpreadElement")))}}}),(0,a.default)("TupleExpression",{fields:{elements:{validate:(0,a.chain)((0,a.assertValueType)("array"),(0,a.assertEach)((0,a.assertNodeType)("Expression","SpreadElement"))),default:[]}},visitor:["elements"],aliases:["Expression"]}),(0,a.default)("DecimalLiteral",{builder:["value"],fields:{value:{validate:(0,a.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]}),(0,a.default)("ModuleExpression",{visitor:["body"],fields:{body:{validate:(0,a.assertNodeType)("Program")}},aliases:["Expression"]}),(0,a.default)("TopicReference",{aliases:["Expression"]}),(0,a.default)("PipelineTopicExpression",{builder:["expression"],visitor:["expression"],fields:{expression:{validate:(0,a.assertNodeType)("Expression")}},aliases:["Expression"]}),(0,a.default)("PipelineBareFunction",{builder:["callee"],visitor:["callee"],fields:{callee:{validate:(0,a.assertNodeType)("Expression")}},aliases:["Expression"]}),(0,a.default)("PipelinePrimaryTopicReference",{aliases:["Expression"]})},"./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/definitions/flow.js":(o,r,u)=>{"use strict";var a=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/definitions/utils.js");let m=(0,a.defineAliasedType)("Flow"),d=s=>{let l=s==="DeclareClass";m(s,{builder:["id","typeParameters","extends","body"],visitor:["id","typeParameters","extends",...l?["mixins","implements"]:[],"body"],aliases:["FlowDeclaration","Statement","Declaration"],fields:Object.assign({id:(0,a.validateType)("Identifier"),typeParameters:(0,a.validateOptionalType)("TypeParameterDeclaration"),extends:(0,a.validateOptional)((0,a.arrayOfType)("InterfaceExtends"))},l?{mixins:(0,a.validateOptional)((0,a.arrayOfType)("InterfaceExtends")),implements:(0,a.validateOptional)((0,a.arrayOfType)("ClassImplements"))}:{},{body:(0,a.validateType)("ObjectTypeAnnotation")})})};m("AnyTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),m("ArrayTypeAnnotation",{visitor:["elementType"],aliases:["FlowType"],fields:{elementType:(0,a.validateType)("FlowType")}}),m("BooleanTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),m("BooleanLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:(0,a.validate)((0,a.assertValueType)("boolean"))}}),m("NullLiteralTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),m("ClassImplements",{visitor:["id","typeParameters"],fields:{id:(0,a.validateType)("Identifier"),typeParameters:(0,a.validateOptionalType)("TypeParameterInstantiation")}}),d("DeclareClass"),m("DeclareFunction",{visitor:["id"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,a.validateType)("Identifier"),predicate:(0,a.validateOptionalType)("DeclaredPredicate")}}),d("DeclareInterface"),m("DeclareModule",{builder:["id","body","kind"],visitor:["id","body"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,a.validateType)(["Identifier","StringLiteral"]),body:(0,a.validateType)("BlockStatement"),kind:(0,a.validateOptional)((0,a.assertOneOf)("CommonJS","ES"))}}),m("DeclareModuleExports",{visitor:["typeAnnotation"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{typeAnnotation:(0,a.validateType)("TypeAnnotation")}}),m("DeclareTypeAlias",{visitor:["id","typeParameters","right"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,a.validateType)("Identifier"),typeParameters:(0,a.validateOptionalType)("TypeParameterDeclaration"),right:(0,a.validateType)("FlowType")}}),m("DeclareOpaqueType",{visitor:["id","typeParameters","supertype"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,a.validateType)("Identifier"),typeParameters:(0,a.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,a.validateOptionalType)("FlowType"),impltype:(0,a.validateOptionalType)("FlowType")}}),m("DeclareVariable",{visitor:["id"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,a.validateType)("Identifier")}}),m("DeclareExportDeclaration",{visitor:["declaration","specifiers","source"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{declaration:(0,a.validateOptionalType)("Flow"),specifiers:(0,a.validateOptional)((0,a.arrayOfType)(["ExportSpecifier","ExportNamespaceSpecifier"])),source:(0,a.validateOptionalType)("StringLiteral"),default:(0,a.validateOptional)((0,a.assertValueType)("boolean"))}}),m("DeclareExportAllDeclaration",{visitor:["source"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{source:(0,a.validateType)("StringLiteral"),exportKind:(0,a.validateOptional)((0,a.assertOneOf)("type","value"))}}),m("DeclaredPredicate",{visitor:["value"],aliases:["FlowPredicate"],fields:{value:(0,a.validateType)("Flow")}}),m("ExistsTypeAnnotation",{aliases:["FlowType"]}),m("FunctionTypeAnnotation",{visitor:["typeParameters","params","rest","returnType"],aliases:["FlowType"],fields:{typeParameters:(0,a.validateOptionalType)("TypeParameterDeclaration"),params:(0,a.validate)((0,a.arrayOfType)("FunctionTypeParam")),rest:(0,a.validateOptionalType)("FunctionTypeParam"),this:(0,a.validateOptionalType)("FunctionTypeParam"),returnType:(0,a.validateType)("FlowType")}}),m("FunctionTypeParam",{visitor:["name","typeAnnotation"],fields:{name:(0,a.validateOptionalType)("Identifier"),typeAnnotation:(0,a.validateType)("FlowType"),optional:(0,a.validateOptional)((0,a.assertValueType)("boolean"))}}),m("GenericTypeAnnotation",{visitor:["id","typeParameters"],aliases:["FlowType"],fields:{id:(0,a.validateType)(["Identifier","QualifiedTypeIdentifier"]),typeParameters:(0,a.validateOptionalType)("TypeParameterInstantiation")}}),m("InferredPredicate",{aliases:["FlowPredicate"]}),m("InterfaceExtends",{visitor:["id","typeParameters"],fields:{id:(0,a.validateType)(["Identifier","QualifiedTypeIdentifier"]),typeParameters:(0,a.validateOptionalType)("TypeParameterInstantiation")}}),d("InterfaceDeclaration"),m("InterfaceTypeAnnotation",{visitor:["extends","body"],aliases:["FlowType"],fields:{extends:(0,a.validateOptional)((0,a.arrayOfType)("InterfaceExtends")),body:(0,a.validateType)("ObjectTypeAnnotation")}}),m("IntersectionTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:(0,a.validate)((0,a.arrayOfType)("FlowType"))}}),m("MixedTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),m("EmptyTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),m("NullableTypeAnnotation",{visitor:["typeAnnotation"],aliases:["FlowType"],fields:{typeAnnotation:(0,a.validateType)("FlowType")}}),m("NumberLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:(0,a.validate)((0,a.assertValueType)("number"))}}),m("NumberTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),m("ObjectTypeAnnotation",{visitor:["properties","indexers","callProperties","internalSlots"],aliases:["FlowType"],builder:["properties","indexers","callProperties","internalSlots","exact"],fields:{properties:(0,a.validate)((0,a.arrayOfType)(["ObjectTypeProperty","ObjectTypeSpreadProperty"])),indexers:{validate:(0,a.arrayOfType)("ObjectTypeIndexer"),optional:!0,default:[]},callProperties:{validate:(0,a.arrayOfType)("ObjectTypeCallProperty"),optional:!0,default:[]},internalSlots:{validate:(0,a.arrayOfType)("ObjectTypeInternalSlot"),optional:!0,default:[]},exact:{validate:(0,a.assertValueType)("boolean"),default:!1},inexact:(0,a.validateOptional)((0,a.assertValueType)("boolean"))}}),m("ObjectTypeInternalSlot",{visitor:["id","value","optional","static","method"],aliases:["UserWhitespacable"],fields:{id:(0,a.validateType)("Identifier"),value:(0,a.validateType)("FlowType"),optional:(0,a.validate)((0,a.assertValueType)("boolean")),static:(0,a.validate)((0,a.assertValueType)("boolean")),method:(0,a.validate)((0,a.assertValueType)("boolean"))}}),m("ObjectTypeCallProperty",{visitor:["value"],aliases:["UserWhitespacable"],fields:{value:(0,a.validateType)("FlowType"),static:(0,a.validate)((0,a.assertValueType)("boolean"))}}),m("ObjectTypeIndexer",{visitor:["id","key","value","variance"],aliases:["UserWhitespacable"],fields:{id:(0,a.validateOptionalType)("Identifier"),key:(0,a.validateType)("FlowType"),value:(0,a.validateType)("FlowType"),static:(0,a.validate)((0,a.assertValueType)("boolean")),variance:(0,a.validateOptionalType)("Variance")}}),m("ObjectTypeProperty",{visitor:["key","value","variance"],aliases:["UserWhitespacable"],fields:{key:(0,a.validateType)(["Identifier","StringLiteral"]),value:(0,a.validateType)("FlowType"),kind:(0,a.validate)((0,a.assertOneOf)("init","get","set")),static:(0,a.validate)((0,a.assertValueType)("boolean")),proto:(0,a.validate)((0,a.assertValueType)("boolean")),optional:(0,a.validate)((0,a.assertValueType)("boolean")),variance:(0,a.validateOptionalType)("Variance"),method:(0,a.validate)((0,a.assertValueType)("boolean"))}}),m("ObjectTypeSpreadProperty",{visitor:["argument"],aliases:["UserWhitespacable"],fields:{argument:(0,a.validateType)("FlowType")}}),m("OpaqueType",{visitor:["id","typeParameters","supertype","impltype"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,a.validateType)("Identifier"),typeParameters:(0,a.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,a.validateOptionalType)("FlowType"),impltype:(0,a.validateType)("FlowType")}}),m("QualifiedTypeIdentifier",{visitor:["id","qualification"],fields:{id:(0,a.validateType)("Identifier"),qualification:(0,a.validateType)(["Identifier","QualifiedTypeIdentifier"])}}),m("StringLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:(0,a.validate)((0,a.assertValueType)("string"))}}),m("StringTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),m("SymbolTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),m("ThisTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),m("TupleTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:(0,a.validate)((0,a.arrayOfType)("FlowType"))}}),m("TypeofTypeAnnotation",{visitor:["argument"],aliases:["FlowType"],fields:{argument:(0,a.validateType)("FlowType")}}),m("TypeAlias",{visitor:["id","typeParameters","right"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,a.validateType)("Identifier"),typeParameters:(0,a.validateOptionalType)("TypeParameterDeclaration"),right:(0,a.validateType)("FlowType")}}),m("TypeAnnotation",{visitor:["typeAnnotation"],fields:{typeAnnotation:(0,a.validateType)("FlowType")}}),m("TypeCastExpression",{visitor:["expression","typeAnnotation"],aliases:["ExpressionWrapper","Expression"],fields:{expression:(0,a.validateType)("Expression"),typeAnnotation:(0,a.validateType)("TypeAnnotation")}}),m("TypeParameter",{visitor:["bound","default","variance"],fields:{name:(0,a.validate)((0,a.assertValueType)("string")),bound:(0,a.validateOptionalType)("TypeAnnotation"),default:(0,a.validateOptionalType)("FlowType"),variance:(0,a.validateOptionalType)("Variance")}}),m("TypeParameterDeclaration",{visitor:["params"],fields:{params:(0,a.validate)((0,a.arrayOfType)("TypeParameter"))}}),m("TypeParameterInstantiation",{visitor:["params"],fields:{params:(0,a.validate)((0,a.arrayOfType)("FlowType"))}}),m("UnionTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:(0,a.validate)((0,a.arrayOfType)("FlowType"))}}),m("Variance",{builder:["kind"],fields:{kind:(0,a.validate)((0,a.assertOneOf)("minus","plus"))}}),m("VoidTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),m("EnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{id:(0,a.validateType)("Identifier"),body:(0,a.validateType)(["EnumBooleanBody","EnumNumberBody","EnumStringBody","EnumSymbolBody"])}}),m("EnumBooleanBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,a.validate)((0,a.assertValueType)("boolean")),members:(0,a.validateArrayOfType)("EnumBooleanMember"),hasUnknownMembers:(0,a.validate)((0,a.assertValueType)("boolean"))}}),m("EnumNumberBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,a.validate)((0,a.assertValueType)("boolean")),members:(0,a.validateArrayOfType)("EnumNumberMember"),hasUnknownMembers:(0,a.validate)((0,a.assertValueType)("boolean"))}}),m("EnumStringBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,a.validate)((0,a.assertValueType)("boolean")),members:(0,a.validateArrayOfType)(["EnumStringMember","EnumDefaultedMember"]),hasUnknownMembers:(0,a.validate)((0,a.assertValueType)("boolean"))}}),m("EnumSymbolBody",{aliases:["EnumBody"],visitor:["members"],fields:{members:(0,a.validateArrayOfType)("EnumDefaultedMember"),hasUnknownMembers:(0,a.validate)((0,a.assertValueType)("boolean"))}}),m("EnumBooleanMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:(0,a.validateType)("Identifier"),init:(0,a.validateType)("BooleanLiteral")}}),m("EnumNumberMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,a.validateType)("Identifier"),init:(0,a.validateType)("NumericLiteral")}}),m("EnumStringMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,a.validateType)("Identifier"),init:(0,a.validateType)("StringLiteral")}}),m("EnumDefaultedMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:(0,a.validateType)("Identifier")}}),m("IndexedAccessType",{visitor:["objectType","indexType"],aliases:["FlowType"],fields:{objectType:(0,a.validateType)("FlowType"),indexType:(0,a.validateType)("FlowType")}}),m("OptionalIndexedAccessType",{visitor:["objectType","indexType"],aliases:["FlowType"],fields:{objectType:(0,a.validateType)("FlowType"),indexType:(0,a.validateType)("FlowType"),optional:(0,a.validate)((0,a.assertValueType)("boolean"))}})},"./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/definitions/index.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"ALIAS_KEYS",{enumerable:!0,get:function(){return m.ALIAS_KEYS}}),Object.defineProperty(r,"BUILDER_KEYS",{enumerable:!0,get:function(){return m.BUILDER_KEYS}}),Object.defineProperty(r,"DEPRECATED_ALIASES",{enumerable:!0,get:function(){return s.DEPRECATED_ALIASES}}),Object.defineProperty(r,"DEPRECATED_KEYS",{enumerable:!0,get:function(){return m.DEPRECATED_KEYS}}),Object.defineProperty(r,"FLIPPED_ALIAS_KEYS",{enumerable:!0,get:function(){return m.FLIPPED_ALIAS_KEYS}}),Object.defineProperty(r,"NODE_FIELDS",{enumerable:!0,get:function(){return m.NODE_FIELDS}}),Object.defineProperty(r,"NODE_PARENT_VALIDATIONS",{enumerable:!0,get:function(){return m.NODE_PARENT_VALIDATIONS}}),Object.defineProperty(r,"PLACEHOLDERS",{enumerable:!0,get:function(){return d.PLACEHOLDERS}}),Object.defineProperty(r,"PLACEHOLDERS_ALIAS",{enumerable:!0,get:function(){return d.PLACEHOLDERS_ALIAS}}),Object.defineProperty(r,"PLACEHOLDERS_FLIPPED_ALIAS",{enumerable:!0,get:function(){return d.PLACEHOLDERS_FLIPPED_ALIAS}}),r.TYPES=void 0,Object.defineProperty(r,"VISITOR_KEYS",{enumerable:!0,get:function(){return m.VISITOR_KEYS}});var a=u("./node_modules/.pnpm/to-fast-properties@2.0.0/node_modules/to-fast-properties/index.js");u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/definitions/core.js"),u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/definitions/flow.js"),u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/definitions/jsx.js"),u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/definitions/misc.js"),u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/definitions/experimental.js"),u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/definitions/typescript.js");var m=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/definitions/utils.js"),d=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/definitions/placeholders.js"),s=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/definitions/deprecated-aliases.js");Object.keys(s.DEPRECATED_ALIASES).forEach(f=>{m.FLIPPED_ALIAS_KEYS[f]=m.FLIPPED_ALIAS_KEYS[s.DEPRECATED_ALIASES[f]]}),a(m.VISITOR_KEYS),a(m.ALIAS_KEYS),a(m.FLIPPED_ALIAS_KEYS),a(m.NODE_FIELDS),a(m.BUILDER_KEYS),a(m.DEPRECATED_KEYS),a(d.PLACEHOLDERS_ALIAS),a(d.PLACEHOLDERS_FLIPPED_ALIAS);let l=[].concat(Object.keys(m.VISITOR_KEYS),Object.keys(m.FLIPPED_ALIAS_KEYS),Object.keys(m.DEPRECATED_KEYS));r.TYPES=l},"./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/definitions/jsx.js":(o,r,u)=>{"use strict";var a=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/definitions/utils.js");let m=(0,a.defineAliasedType)("JSX");m("JSXAttribute",{visitor:["name","value"],aliases:["Immutable"],fields:{name:{validate:(0,a.assertNodeType)("JSXIdentifier","JSXNamespacedName")},value:{optional:!0,validate:(0,a.assertNodeType)("JSXElement","JSXFragment","StringLiteral","JSXExpressionContainer")}}}),m("JSXClosingElement",{visitor:["name"],aliases:["Immutable"],fields:{name:{validate:(0,a.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")}}}),m("JSXElement",{builder:["openingElement","closingElement","children","selfClosing"],visitor:["openingElement","children","closingElement"],aliases:["Immutable","Expression"],fields:Object.assign({openingElement:{validate:(0,a.assertNodeType)("JSXOpeningElement")},closingElement:{optional:!0,validate:(0,a.assertNodeType)("JSXClosingElement")},children:{validate:(0,a.chain)((0,a.assertValueType)("array"),(0,a.assertEach)((0,a.assertNodeType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")))}},{selfClosing:{validate:(0,a.assertValueType)("boolean"),optional:!0}})}),m("JSXEmptyExpression",{}),m("JSXExpressionContainer",{visitor:["expression"],aliases:["Immutable"],fields:{expression:{validate:(0,a.assertNodeType)("Expression","JSXEmptyExpression")}}}),m("JSXSpreadChild",{visitor:["expression"],aliases:["Immutable"],fields:{expression:{validate:(0,a.assertNodeType)("Expression")}}}),m("JSXIdentifier",{builder:["name"],fields:{name:{validate:(0,a.assertValueType)("string")}}}),m("JSXMemberExpression",{visitor:["object","property"],fields:{object:{validate:(0,a.assertNodeType)("JSXMemberExpression","JSXIdentifier")},property:{validate:(0,a.assertNodeType)("JSXIdentifier")}}}),m("JSXNamespacedName",{visitor:["namespace","name"],fields:{namespace:{validate:(0,a.assertNodeType)("JSXIdentifier")},name:{validate:(0,a.assertNodeType)("JSXIdentifier")}}}),m("JSXOpeningElement",{builder:["name","attributes","selfClosing"],visitor:["name","attributes"],aliases:["Immutable"],fields:{name:{validate:(0,a.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")},selfClosing:{default:!1},attributes:{validate:(0,a.chain)((0,a.assertValueType)("array"),(0,a.assertEach)((0,a.assertNodeType)("JSXAttribute","JSXSpreadAttribute")))},typeParameters:{validate:(0,a.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0}}}),m("JSXSpreadAttribute",{visitor:["argument"],fields:{argument:{validate:(0,a.assertNodeType)("Expression")}}}),m("JSXText",{aliases:["Immutable"],builder:["value"],fields:{value:{validate:(0,a.assertValueType)("string")}}}),m("JSXFragment",{builder:["openingFragment","closingFragment","children"],visitor:["openingFragment","children","closingFragment"],aliases:["Immutable","Expression"],fields:{openingFragment:{validate:(0,a.assertNodeType)("JSXOpeningFragment")},closingFragment:{validate:(0,a.assertNodeType)("JSXClosingFragment")},children:{validate:(0,a.chain)((0,a.assertValueType)("array"),(0,a.assertEach)((0,a.assertNodeType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")))}}}),m("JSXOpeningFragment",{aliases:["Immutable"]}),m("JSXClosingFragment",{aliases:["Immutable"]})},"./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/definitions/misc.js":(o,r,u)=>{"use strict";var a=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/definitions/utils.js"),m=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/definitions/placeholders.js");let d=(0,a.defineAliasedType)("Miscellaneous");d("Noop",{visitor:[]}),d("Placeholder",{visitor:[],builder:["expectedNode","name"],fields:{name:{validate:(0,a.assertNodeType)("Identifier")},expectedNode:{validate:(0,a.assertOneOf)(...m.PLACEHOLDERS)}}}),d("V8IntrinsicIdentifier",{builder:["name"],fields:{name:{validate:(0,a.assertValueType)("string")}}})},"./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/definitions/placeholders.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.PLACEHOLDERS_FLIPPED_ALIAS=r.PLACEHOLDERS_ALIAS=r.PLACEHOLDERS=void 0;var a=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/definitions/utils.js");let m=["Identifier","StringLiteral","Expression","Statement","Declaration","BlockStatement","ClassBody","Pattern"];r.PLACEHOLDERS=m;let d={Declaration:["Statement"],Pattern:["PatternLike","LVal"]};r.PLACEHOLDERS_ALIAS=d;for(let l of m){let f=a.ALIAS_KEYS[l];f!=null&&f.length&&(d[l]=f)}let s={};r.PLACEHOLDERS_FLIPPED_ALIAS=s,Object.keys(d).forEach(l=>{d[l].forEach(f=>{Object.hasOwnProperty.call(s,f)||(s[f]=[]),s[f].push(l)})})},"./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/definitions/typescript.js":(o,r,u)=>{"use strict";var a=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/definitions/utils.js"),m=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/definitions/core.js"),d=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/validators/is.js");let s=(0,a.defineAliasedType)("TypeScript"),l=(0,a.assertValueType)("boolean"),f=()=>({returnType:{validate:(0,a.assertNodeType)("TSTypeAnnotation","Noop"),optional:!0},typeParameters:{validate:(0,a.assertNodeType)("TSTypeParameterDeclaration","Noop"),optional:!0}});s("TSParameterProperty",{aliases:["LVal"],visitor:["parameter"],fields:{accessibility:{validate:(0,a.assertOneOf)("public","private","protected"),optional:!0},readonly:{validate:(0,a.assertValueType)("boolean"),optional:!0},parameter:{validate:(0,a.assertNodeType)("Identifier","AssignmentPattern")},override:{validate:(0,a.assertValueType)("boolean"),optional:!0},decorators:{validate:(0,a.chain)((0,a.assertValueType)("array"),(0,a.assertEach)((0,a.assertNodeType)("Decorator"))),optional:!0}}}),s("TSDeclareFunction",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","params","returnType"],fields:Object.assign({},(0,m.functionDeclarationCommon)(),f())}),s("TSDeclareMethod",{visitor:["decorators","key","typeParameters","params","returnType"],fields:Object.assign({},(0,m.classMethodOrDeclareMethodCommon)(),f())}),s("TSQualifiedName",{aliases:["TSEntityName"],visitor:["left","right"],fields:{left:(0,a.validateType)("TSEntityName"),right:(0,a.validateType)("Identifier")}});let p=()=>({typeParameters:(0,a.validateOptionalType)("TSTypeParameterDeclaration"),parameters:(0,a.validateArrayOfType)(["ArrayPattern","Identifier","ObjectPattern","RestElement"]),typeAnnotation:(0,a.validateOptionalType)("TSTypeAnnotation")}),h={aliases:["TSTypeElement"],visitor:["typeParameters","parameters","typeAnnotation"],fields:p()};s("TSCallSignatureDeclaration",h),s("TSConstructSignatureDeclaration",h);let y=()=>({key:(0,a.validateType)("Expression"),computed:{default:!1},optional:(0,a.validateOptional)(l)});s("TSPropertySignature",{aliases:["TSTypeElement"],visitor:["key","typeAnnotation","initializer"],fields:Object.assign({},y(),{readonly:(0,a.validateOptional)(l),typeAnnotation:(0,a.validateOptionalType)("TSTypeAnnotation"),initializer:(0,a.validateOptionalType)("Expression"),kind:{validate:(0,a.assertOneOf)("get","set")}})}),s("TSMethodSignature",{aliases:["TSTypeElement"],visitor:["key","typeParameters","parameters","typeAnnotation"],fields:Object.assign({},p(),y(),{kind:{validate:(0,a.assertOneOf)("method","get","set")}})}),s("TSIndexSignature",{aliases:["TSTypeElement"],visitor:["parameters","typeAnnotation"],fields:{readonly:(0,a.validateOptional)(l),static:(0,a.validateOptional)(l),parameters:(0,a.validateArrayOfType)("Identifier"),typeAnnotation:(0,a.validateOptionalType)("TSTypeAnnotation")}});let b=["TSAnyKeyword","TSBooleanKeyword","TSBigIntKeyword","TSIntrinsicKeyword","TSNeverKeyword","TSNullKeyword","TSNumberKeyword","TSObjectKeyword","TSStringKeyword","TSSymbolKeyword","TSUndefinedKeyword","TSUnknownKeyword","TSVoidKeyword"];for(let w of b)s(w,{aliases:["TSType","TSBaseType"],visitor:[],fields:{}});s("TSThisType",{aliases:["TSType","TSBaseType"],visitor:[],fields:{}});let E={aliases:["TSType"],visitor:["typeParameters","parameters","typeAnnotation"]};s("TSFunctionType",Object.assign({},E,{fields:p()})),s("TSConstructorType",Object.assign({},E,{fields:Object.assign({},p(),{abstract:(0,a.validateOptional)(l)})})),s("TSTypeReference",{aliases:["TSType"],visitor:["typeName","typeParameters"],fields:{typeName:(0,a.validateType)("TSEntityName"),typeParameters:(0,a.validateOptionalType)("TSTypeParameterInstantiation")}}),s("TSTypePredicate",{aliases:["TSType"],visitor:["parameterName","typeAnnotation"],builder:["parameterName","typeAnnotation","asserts"],fields:{parameterName:(0,a.validateType)(["Identifier","TSThisType"]),typeAnnotation:(0,a.validateOptionalType)("TSTypeAnnotation"),asserts:(0,a.validateOptional)(l)}}),s("TSTypeQuery",{aliases:["TSType"],visitor:["exprName","typeParameters"],fields:{exprName:(0,a.validateType)(["TSEntityName","TSImportType"]),typeParameters:(0,a.validateOptionalType)("TSTypeParameterInstantiation")}}),s("TSTypeLiteral",{aliases:["TSType"],visitor:["members"],fields:{members:(0,a.validateArrayOfType)("TSTypeElement")}}),s("TSArrayType",{aliases:["TSType"],visitor:["elementType"],fields:{elementType:(0,a.validateType)("TSType")}}),s("TSTupleType",{aliases:["TSType"],visitor:["elementTypes"],fields:{elementTypes:(0,a.validateArrayOfType)(["TSType","TSNamedTupleMember"])}}),s("TSOptionalType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,a.validateType)("TSType")}}),s("TSRestType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,a.validateType)("TSType")}}),s("TSNamedTupleMember",{visitor:["label","elementType"],builder:["label","elementType","optional"],fields:{label:(0,a.validateType)("Identifier"),optional:{validate:l,default:!1},elementType:(0,a.validateType)("TSType")}});let v={aliases:["TSType"],visitor:["types"],fields:{types:(0,a.validateArrayOfType)("TSType")}};s("TSUnionType",v),s("TSIntersectionType",v),s("TSConditionalType",{aliases:["TSType"],visitor:["checkType","extendsType","trueType","falseType"],fields:{checkType:(0,a.validateType)("TSType"),extendsType:(0,a.validateType)("TSType"),trueType:(0,a.validateType)("TSType"),falseType:(0,a.validateType)("TSType")}}),s("TSInferType",{aliases:["TSType"],visitor:["typeParameter"],fields:{typeParameter:(0,a.validateType)("TSTypeParameter")}}),s("TSParenthesizedType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,a.validateType)("TSType")}}),s("TSTypeOperator",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{operator:(0,a.validate)((0,a.assertValueType)("string")),typeAnnotation:(0,a.validateType)("TSType")}}),s("TSIndexedAccessType",{aliases:["TSType"],visitor:["objectType","indexType"],fields:{objectType:(0,a.validateType)("TSType"),indexType:(0,a.validateType)("TSType")}}),s("TSMappedType",{aliases:["TSType"],visitor:["typeParameter","typeAnnotation","nameType"],fields:{readonly:(0,a.validateOptional)((0,a.assertOneOf)(!0,!1,"+","-")),typeParameter:(0,a.validateType)("TSTypeParameter"),optional:(0,a.validateOptional)((0,a.assertOneOf)(!0,!1,"+","-")),typeAnnotation:(0,a.validateOptionalType)("TSType"),nameType:(0,a.validateOptionalType)("TSType")}}),s("TSLiteralType",{aliases:["TSType","TSBaseType"],visitor:["literal"],fields:{literal:{validate:function(){let w=(0,a.assertNodeType)("NumericLiteral","BigIntLiteral"),A=(0,a.assertOneOf)("-"),x=(0,a.assertNodeType)("NumericLiteral","StringLiteral","BooleanLiteral","BigIntLiteral","TemplateLiteral");function C(P,D,L){(0,d.default)("UnaryExpression",L)?(A(L,"operator",L.operator),w(L,"argument",L.argument)):x(P,D,L)}return C.oneOfNodeTypes=["NumericLiteral","StringLiteral","BooleanLiteral","BigIntLiteral","TemplateLiteral","UnaryExpression"],C}()}}}),s("TSExpressionWithTypeArguments",{aliases:["TSType"],visitor:["expression","typeParameters"],fields:{expression:(0,a.validateType)("TSEntityName"),typeParameters:(0,a.validateOptionalType)("TSTypeParameterInstantiation")}}),s("TSInterfaceDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","extends","body"],fields:{declare:(0,a.validateOptional)(l),id:(0,a.validateType)("Identifier"),typeParameters:(0,a.validateOptionalType)("TSTypeParameterDeclaration"),extends:(0,a.validateOptional)((0,a.arrayOfType)("TSExpressionWithTypeArguments")),body:(0,a.validateType)("TSInterfaceBody")}}),s("TSInterfaceBody",{visitor:["body"],fields:{body:(0,a.validateArrayOfType)("TSTypeElement")}}),s("TSTypeAliasDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","typeAnnotation"],fields:{declare:(0,a.validateOptional)(l),id:(0,a.validateType)("Identifier"),typeParameters:(0,a.validateOptionalType)("TSTypeParameterDeclaration"),typeAnnotation:(0,a.validateType)("TSType")}}),s("TSInstantiationExpression",{aliases:["Expression"],visitor:["expression","typeParameters"],fields:{expression:(0,a.validateType)("Expression"),typeParameters:(0,a.validateOptionalType)("TSTypeParameterInstantiation")}});let S={aliases:["Expression","LVal","PatternLike"],visitor:["expression","typeAnnotation"],fields:{expression:(0,a.validateType)("Expression"),typeAnnotation:(0,a.validateType)("TSType")}};s("TSAsExpression",S),s("TSSatisfiesExpression",S),s("TSTypeAssertion",{aliases:["Expression","LVal","PatternLike"],visitor:["typeAnnotation","expression"],fields:{typeAnnotation:(0,a.validateType)("TSType"),expression:(0,a.validateType)("Expression")}}),s("TSEnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","members"],fields:{declare:(0,a.validateOptional)(l),const:(0,a.validateOptional)(l),id:(0,a.validateType)("Identifier"),members:(0,a.validateArrayOfType)("TSEnumMember"),initializer:(0,a.validateOptionalType)("Expression")}}),s("TSEnumMember",{visitor:["id","initializer"],fields:{id:(0,a.validateType)(["Identifier","StringLiteral"]),initializer:(0,a.validateOptionalType)("Expression")}}),s("TSModuleDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{declare:(0,a.validateOptional)(l),global:(0,a.validateOptional)(l),id:(0,a.validateType)(["Identifier","StringLiteral"]),body:(0,a.validateType)(["TSModuleBlock","TSModuleDeclaration"])}}),s("TSModuleBlock",{aliases:["Scopable","Block","BlockParent","FunctionParent"],visitor:["body"],fields:{body:(0,a.validateArrayOfType)("Statement")}}),s("TSImportType",{aliases:["TSType"],visitor:["argument","qualifier","typeParameters"],fields:{argument:(0,a.validateType)("StringLiteral"),qualifier:(0,a.validateOptionalType)("TSEntityName"),typeParameters:(0,a.validateOptionalType)("TSTypeParameterInstantiation")}}),s("TSImportEqualsDeclaration",{aliases:["Statement"],visitor:["id","moduleReference"],fields:{isExport:(0,a.validate)(l),id:(0,a.validateType)("Identifier"),moduleReference:(0,a.validateType)(["TSEntityName","TSExternalModuleReference"]),importKind:{validate:(0,a.assertOneOf)("type","value"),optional:!0}}}),s("TSExternalModuleReference",{visitor:["expression"],fields:{expression:(0,a.validateType)("StringLiteral")}}),s("TSNonNullExpression",{aliases:["Expression","LVal","PatternLike"],visitor:["expression"],fields:{expression:(0,a.validateType)("Expression")}}),s("TSExportAssignment",{aliases:["Statement"],visitor:["expression"],fields:{expression:(0,a.validateType)("Expression")}}),s("TSNamespaceExportDeclaration",{aliases:["Statement"],visitor:["id"],fields:{id:(0,a.validateType)("Identifier")}}),s("TSTypeAnnotation",{visitor:["typeAnnotation"],fields:{typeAnnotation:{validate:(0,a.assertNodeType)("TSType")}}}),s("TSTypeParameterInstantiation",{visitor:["params"],fields:{params:{validate:(0,a.chain)((0,a.assertValueType)("array"),(0,a.assertEach)((0,a.assertNodeType)("TSType")))}}}),s("TSTypeParameterDeclaration",{visitor:["params"],fields:{params:{validate:(0,a.chain)((0,a.assertValueType)("array"),(0,a.assertEach)((0,a.assertNodeType)("TSTypeParameter")))}}}),s("TSTypeParameter",{builder:["constraint","default","name"],visitor:["constraint","default"],fields:{name:{validate:(0,a.assertValueType)("string")},in:{validate:(0,a.assertValueType)("boolean"),optional:!0},out:{validate:(0,a.assertValueType)("boolean"),optional:!0},const:{validate:(0,a.assertValueType)("boolean"),optional:!0},constraint:{validate:(0,a.assertNodeType)("TSType"),optional:!0},default:{validate:(0,a.assertNodeType)("TSType"),optional:!0}}})},"./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/definitions/utils.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.VISITOR_KEYS=r.NODE_PARENT_VALIDATIONS=r.NODE_FIELDS=r.FLIPPED_ALIAS_KEYS=r.DEPRECATED_KEYS=r.BUILDER_KEYS=r.ALIAS_KEYS=void 0,r.arrayOf=S,r.arrayOfType=w,r.assertEach=A,r.assertNodeOrValueType=function(...M){function R(z,Y,$){for(let G of M)if(b($)===G||(0,a.default)(G,$))return void(0,m.validateChild)(z,Y,$);throw new TypeError(`Property ${Y} of ${z.type} expected node to be of a type ${JSON.stringify(M)} but instead got ${JSON.stringify($==null?void 0:$.type)}`)}return R.oneOfNodeOrValueTypes=M,R},r.assertNodeType=x,r.assertOneOf=function(...M){function R(z,Y,$){if(M.indexOf($)<0)throw new TypeError(`Property ${Y} expected value to be one of ${JSON.stringify(M)} but got ${JSON.stringify($)}`)}return R.oneOf=M,R},r.assertOptionalChainStart=function(){return function(M){var R;let z=M;for(;M;){let{type:Y}=z;if(Y!=="OptionalCallExpression"){if(Y!=="OptionalMemberExpression")break;if(z.optional)return;z=z.object}else{if(z.optional)return;z=z.callee}}throw new TypeError(`Non-optional ${M.type} must chain from an optional OptionalMemberExpression or OptionalCallExpression. Found chain from ${(R=z)==null?void 0:R.type}`)}},r.assertShape=function(M){function R(z,Y,$){let G=[];for(let U of Object.keys(M))try{(0,m.validateField)(z,U,$[U],M[U])}catch(B){if(B instanceof TypeError){G.push(B.message);continue}throw B}if(G.length)throw new TypeError(`Property ${Y} of ${z.type} expected to have the following:
|
|
${G.join(`
|
|
`)}`)}return R.shapeOf=M,R},r.assertValueType=C,r.chain=P,r.default=j,r.defineAliasedType=function(...M){return(R,z={})=>{let Y=z.aliases;var $;Y||(z.inherits&&(Y=($=I[z.inherits].aliases)==null?void 0:$.slice()),Y!=null||(Y=[]),z.aliases=Y);let G=M.filter(U=>!Y.includes(U));Y.unshift(...G),j(R,z)}},r.typeIs=v,r.validate=E,r.validateArrayOfType=function(M){return E(w(M))},r.validateOptional=function(M){return{validate:M,optional:!0}},r.validateOptionalType=function(M){return{validate:v(M),optional:!0}},r.validateType=function(M){return E(v(M))};var a=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/validators/is.js"),m=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/validators/validate.js");let d={};r.VISITOR_KEYS=d;let s={};r.ALIAS_KEYS=s;let l={};r.FLIPPED_ALIAS_KEYS=l;let f={};r.NODE_FIELDS=f;let p={};r.BUILDER_KEYS=p;let h={};r.DEPRECATED_KEYS=h;let y={};function b(M){return Array.isArray(M)?"array":M===null?"null":typeof M}function E(M){return{validate:M}}function v(M){return typeof M=="string"?x(M):x(...M)}function S(M){return P(C("array"),A(M))}function w(M){return S(v(M))}function A(M){function R(z,Y,$){if(Array.isArray($))for(let G=0;G<$.length;G++){let U=`${Y}[${G}]`,B=$[G];M(z,U,B),process.env.BABEL_TYPES_8_BREAKING&&(0,m.validateChild)(z,U,B)}}return R.each=M,R}function x(...M){function R(z,Y,$){for(let G of M)if((0,a.default)(G,$))return void(0,m.validateChild)(z,Y,$);throw new TypeError(`Property ${Y} of ${z.type} expected node to be of a type ${JSON.stringify(M)} but instead got ${JSON.stringify($==null?void 0:$.type)}`)}return R.oneOfNodeTypes=M,R}function C(M){function R(z,Y,$){if(b($)!==M)throw new TypeError(`Property ${Y} expected type of ${M} but got ${b($)}`)}return R.type=M,R}function P(...M){function R(...z){for(let Y of M)Y(...z)}if(R.chainOf=M,M.length>=2&&"type"in M[0]&&M[0].type==="array"&&!("each"in M[1]))throw new Error('An assertValueType("array") validator can only be followed by an assertEach(...) validator.');return R}r.NODE_PARENT_VALIDATIONS=y;let D=["aliases","builder","deprecatedAlias","fields","inherits","visitor","validate"],L=["default","optional","deprecated","validate"],I={};function j(M,R={}){let z=R.inherits&&I[R.inherits]||{},Y=R.fields;if(!Y&&(Y={},z.fields)){let B=Object.getOwnPropertyNames(z.fields);for(let N of B){let X=z.fields[N],H=X.default;if(Array.isArray(H)?H.length>0:H&&typeof H=="object")throw new Error("field defaults can only be primitives or empty arrays currently");Y[N]={default:Array.isArray(H)?[]:H,optional:X.optional,deprecated:X.deprecated,validate:X.validate}}}let $=R.visitor||z.visitor||[],G=R.aliases||z.aliases||[],U=R.builder||z.builder||R.visitor||[];for(let B of Object.keys(R))if(D.indexOf(B)===-1)throw new Error(`Unknown type option "${B}" on ${M}`);R.deprecatedAlias&&(h[R.deprecatedAlias]=M);for(let B of $.concat(U))Y[B]=Y[B]||{};for(let B of Object.keys(Y)){let N=Y[B];N.default!==void 0&&U.indexOf(B)===-1&&(N.optional=!0),N.default===void 0?N.default=null:N.validate||N.default==null||(N.validate=C(b(N.default)));for(let X of Object.keys(N))if(L.indexOf(X)===-1)throw new Error(`Unknown field key "${X}" on ${M}.${B}`)}d[M]=R.visitor=$,p[M]=R.builder=U,f[M]=R.fields=Y,s[M]=R.aliases=G,G.forEach(B=>{l[B]=l[B]||[],l[B].push(M)}),R.validate&&(y[M]=R.validate),I[M]=R}},"./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/index.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var a={react:!0,assertNode:!0,createTypeAnnotationBasedOnTypeof:!0,createUnionTypeAnnotation:!0,createFlowUnionType:!0,createTSUnionType:!0,cloneNode:!0,clone:!0,cloneDeep:!0,cloneDeepWithoutLoc:!0,cloneWithoutLoc:!0,addComment:!0,addComments:!0,inheritInnerComments:!0,inheritLeadingComments:!0,inheritsComments:!0,inheritTrailingComments:!0,removeComments:!0,ensureBlock:!0,toBindingIdentifierName:!0,toBlock:!0,toComputedKey:!0,toExpression:!0,toIdentifier:!0,toKeyAlias:!0,toSequenceExpression:!0,toStatement:!0,valueToNode:!0,appendToMemberExpression:!0,inherits:!0,prependToMemberExpression:!0,removeProperties:!0,removePropertiesDeep:!0,removeTypeDuplicates:!0,getBindingIdentifiers:!0,getOuterBindingIdentifiers:!0,traverse:!0,traverseFast:!0,shallowEqual:!0,is:!0,isBinding:!0,isBlockScoped:!0,isImmutable:!0,isLet:!0,isNode:!0,isNodesEquivalent:!0,isPlaceholderType:!0,isReferenced:!0,isScope:!0,isSpecifierDefault:!0,isType:!0,isValidES3Identifier:!0,isValidIdentifier:!0,isVar:!0,matchesPattern:!0,validate:!0,buildMatchMemberExpression:!0,__internal__deprecationWarning:!0};Object.defineProperty(r,"__internal__deprecationWarning",{enumerable:!0,get:function(){return Ar.default}}),Object.defineProperty(r,"addComment",{enumerable:!0,get:function(){return C.default}}),Object.defineProperty(r,"addComments",{enumerable:!0,get:function(){return P.default}}),Object.defineProperty(r,"appendToMemberExpression",{enumerable:!0,get:function(){return Q.default}}),Object.defineProperty(r,"assertNode",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(r,"buildMatchMemberExpression",{enumerable:!0,get:function(){return zt.default}}),Object.defineProperty(r,"clone",{enumerable:!0,get:function(){return S.default}}),Object.defineProperty(r,"cloneDeep",{enumerable:!0,get:function(){return w.default}}),Object.defineProperty(r,"cloneDeepWithoutLoc",{enumerable:!0,get:function(){return A.default}}),Object.defineProperty(r,"cloneNode",{enumerable:!0,get:function(){return v.default}}),Object.defineProperty(r,"cloneWithoutLoc",{enumerable:!0,get:function(){return x.default}}),Object.defineProperty(r,"createFlowUnionType",{enumerable:!0,get:function(){return h.default}}),Object.defineProperty(r,"createTSUnionType",{enumerable:!0,get:function(){return y.default}}),Object.defineProperty(r,"createTypeAnnotationBasedOnTypeof",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(r,"createUnionTypeAnnotation",{enumerable:!0,get:function(){return h.default}}),Object.defineProperty(r,"ensureBlock",{enumerable:!0,get:function(){return Y.default}}),Object.defineProperty(r,"getBindingIdentifiers",{enumerable:!0,get:function(){return Me.default}}),Object.defineProperty(r,"getOuterBindingIdentifiers",{enumerable:!0,get:function(){return ae.default}}),Object.defineProperty(r,"inheritInnerComments",{enumerable:!0,get:function(){return D.default}}),Object.defineProperty(r,"inheritLeadingComments",{enumerable:!0,get:function(){return L.default}}),Object.defineProperty(r,"inheritTrailingComments",{enumerable:!0,get:function(){return j.default}}),Object.defineProperty(r,"inherits",{enumerable:!0,get:function(){return ne.default}}),Object.defineProperty(r,"inheritsComments",{enumerable:!0,get:function(){return I.default}}),Object.defineProperty(r,"is",{enumerable:!0,get:function(){return Ee.default}}),Object.defineProperty(r,"isBinding",{enumerable:!0,get:function(){return oe.default}}),Object.defineProperty(r,"isBlockScoped",{enumerable:!0,get:function(){return J.default}}),Object.defineProperty(r,"isImmutable",{enumerable:!0,get:function(){return De.default}}),Object.defineProperty(r,"isLet",{enumerable:!0,get:function(){return Ke.default}}),Object.defineProperty(r,"isNode",{enumerable:!0,get:function(){return ke.default}}),Object.defineProperty(r,"isNodesEquivalent",{enumerable:!0,get:function(){return Qe.default}}),Object.defineProperty(r,"isPlaceholderType",{enumerable:!0,get:function(){return pt.default}}),Object.defineProperty(r,"isReferenced",{enumerable:!0,get:function(){return dt.default}}),Object.defineProperty(r,"isScope",{enumerable:!0,get:function(){return Ue.default}}),Object.defineProperty(r,"isSpecifierDefault",{enumerable:!0,get:function(){return ce.default}}),Object.defineProperty(r,"isType",{enumerable:!0,get:function(){return xe.default}}),Object.defineProperty(r,"isValidES3Identifier",{enumerable:!0,get:function(){return he.default}}),Object.defineProperty(r,"isValidIdentifier",{enumerable:!0,get:function(){return ve.default}}),Object.defineProperty(r,"isVar",{enumerable:!0,get:function(){return et.default}}),Object.defineProperty(r,"matchesPattern",{enumerable:!0,get:function(){return ut.default}}),Object.defineProperty(r,"prependToMemberExpression",{enumerable:!0,get:function(){return ue.default}}),r.react=void 0,Object.defineProperty(r,"removeComments",{enumerable:!0,get:function(){return M.default}}),Object.defineProperty(r,"removeProperties",{enumerable:!0,get:function(){return de.default}}),Object.defineProperty(r,"removePropertiesDeep",{enumerable:!0,get:function(){return Ae.default}}),Object.defineProperty(r,"removeTypeDuplicates",{enumerable:!0,get:function(){return Oe.default}}),Object.defineProperty(r,"shallowEqual",{enumerable:!0,get:function(){return be.default}}),Object.defineProperty(r,"toBindingIdentifierName",{enumerable:!0,get:function(){return $.default}}),Object.defineProperty(r,"toBlock",{enumerable:!0,get:function(){return G.default}}),Object.defineProperty(r,"toComputedKey",{enumerable:!0,get:function(){return U.default}}),Object.defineProperty(r,"toExpression",{enumerable:!0,get:function(){return B.default}}),Object.defineProperty(r,"toIdentifier",{enumerable:!0,get:function(){return N.default}}),Object.defineProperty(r,"toKeyAlias",{enumerable:!0,get:function(){return X.default}}),Object.defineProperty(r,"toSequenceExpression",{enumerable:!0,get:function(){return H.default}}),Object.defineProperty(r,"toStatement",{enumerable:!0,get:function(){return F.default}}),Object.defineProperty(r,"traverse",{enumerable:!0,get:function(){return se.default}}),Object.defineProperty(r,"traverseFast",{enumerable:!0,get:function(){return ye.default}}),Object.defineProperty(r,"validate",{enumerable:!0,get:function(){return Kt.default}}),Object.defineProperty(r,"valueToNode",{enumerable:!0,get:function(){return W.default}});var m=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/validators/react/isReactComponent.js"),d=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/validators/react/isCompatTag.js"),s=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/builders/react/buildChildren.js"),l=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/asserts/assertNode.js"),f=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/asserts/generated/index.js");Object.keys(f).forEach(function(nt){nt!=="default"&&nt!=="__esModule"&&(Object.prototype.hasOwnProperty.call(a,nt)||nt in r&&r[nt]===f[nt]||Object.defineProperty(r,nt,{enumerable:!0,get:function(){return f[nt]}}))});var p=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/builders/flow/createTypeAnnotationBasedOnTypeof.js"),h=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/builders/flow/createFlowUnionType.js"),y=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/builders/typescript/createTSUnionType.js"),b=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/builders/generated/index.js");Object.keys(b).forEach(function(nt){nt!=="default"&&nt!=="__esModule"&&(Object.prototype.hasOwnProperty.call(a,nt)||nt in r&&r[nt]===b[nt]||Object.defineProperty(r,nt,{enumerable:!0,get:function(){return b[nt]}}))});var E=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/builders/generated/uppercase.js");Object.keys(E).forEach(function(nt){nt!=="default"&&nt!=="__esModule"&&(Object.prototype.hasOwnProperty.call(a,nt)||nt in r&&r[nt]===E[nt]||Object.defineProperty(r,nt,{enumerable:!0,get:function(){return E[nt]}}))});var v=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/clone/cloneNode.js"),S=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/clone/clone.js"),w=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/clone/cloneDeep.js"),A=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/clone/cloneDeepWithoutLoc.js"),x=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/clone/cloneWithoutLoc.js"),C=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/comments/addComment.js"),P=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/comments/addComments.js"),D=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/comments/inheritInnerComments.js"),L=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/comments/inheritLeadingComments.js"),I=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/comments/inheritsComments.js"),j=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/comments/inheritTrailingComments.js"),M=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/comments/removeComments.js"),R=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/constants/generated/index.js");Object.keys(R).forEach(function(nt){nt!=="default"&&nt!=="__esModule"&&(Object.prototype.hasOwnProperty.call(a,nt)||nt in r&&r[nt]===R[nt]||Object.defineProperty(r,nt,{enumerable:!0,get:function(){return R[nt]}}))});var z=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/constants/index.js");Object.keys(z).forEach(function(nt){nt!=="default"&&nt!=="__esModule"&&(Object.prototype.hasOwnProperty.call(a,nt)||nt in r&&r[nt]===z[nt]||Object.defineProperty(r,nt,{enumerable:!0,get:function(){return z[nt]}}))});var Y=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/converters/ensureBlock.js"),$=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/converters/toBindingIdentifierName.js"),G=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/converters/toBlock.js"),U=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/converters/toComputedKey.js"),B=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/converters/toExpression.js"),N=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/converters/toIdentifier.js"),X=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/converters/toKeyAlias.js"),H=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/converters/toSequenceExpression.js"),F=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/converters/toStatement.js"),W=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/converters/valueToNode.js"),V=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/definitions/index.js");Object.keys(V).forEach(function(nt){nt!=="default"&&nt!=="__esModule"&&(Object.prototype.hasOwnProperty.call(a,nt)||nt in r&&r[nt]===V[nt]||Object.defineProperty(r,nt,{enumerable:!0,get:function(){return V[nt]}}))});var Q=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/modifications/appendToMemberExpression.js"),ne=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/modifications/inherits.js"),ue=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/modifications/prependToMemberExpression.js"),de=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/modifications/removeProperties.js"),Ae=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/modifications/removePropertiesDeep.js"),Oe=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/modifications/flow/removeTypeDuplicates.js"),Me=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/retrievers/getBindingIdentifiers.js"),ae=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/retrievers/getOuterBindingIdentifiers.js"),se=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/traverse/traverse.js");Object.keys(se).forEach(function(nt){nt!=="default"&&nt!=="__esModule"&&(Object.prototype.hasOwnProperty.call(a,nt)||nt in r&&r[nt]===se[nt]||Object.defineProperty(r,nt,{enumerable:!0,get:function(){return se[nt]}}))});var ye=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/traverse/traverseFast.js"),be=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/utils/shallowEqual.js"),Ee=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/validators/is.js"),oe=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/validators/isBinding.js"),J=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/validators/isBlockScoped.js"),De=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/validators/isImmutable.js"),Ke=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/validators/isLet.js"),ke=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/validators/isNode.js"),Qe=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/validators/isNodesEquivalent.js"),pt=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/validators/isPlaceholderType.js"),dt=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/validators/isReferenced.js"),Ue=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/validators/isScope.js"),ce=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/validators/isSpecifierDefault.js"),xe=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/validators/isType.js"),he=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/validators/isValidES3Identifier.js"),ve=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/validators/isValidIdentifier.js"),et=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/validators/isVar.js"),ut=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/validators/matchesPattern.js"),Kt=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/validators/validate.js"),zt=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/validators/buildMatchMemberExpression.js"),Zt=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/validators/generated/index.js");Object.keys(Zt).forEach(function(nt){nt!=="default"&&nt!=="__esModule"&&(Object.prototype.hasOwnProperty.call(a,nt)||nt in r&&r[nt]===Zt[nt]||Object.defineProperty(r,nt,{enumerable:!0,get:function(){return Zt[nt]}}))});var Ar=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/utils/deprecationWarning.js");let er={isReactComponent:m.default,isCompatTag:d.default,buildChildren:s.default};r.react=er},"./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/modifications/appendToMemberExpression.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(m,d,s=!1){return m.object=(0,a.memberExpression)(m.object,m.property,m.computed),m.property=d,m.computed=!!s,m};var a=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/builders/generated/index.js")},"./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/modifications/flow/removeTypeDuplicates.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function d(s){let l=Array.from(s),f=new Map,p=new Map,h=new Set,y=[];for(let b=0;b<l.length;b++){let E=l[b];if(E&&!(y.indexOf(E)>=0)){if((0,a.isAnyTypeAnnotation)(E))return[E];if((0,a.isFlowBaseAnnotation)(E))p.set(E.type,E);else if((0,a.isUnionTypeAnnotation)(E))h.has(E.types)||(l.push(...E.types),h.add(E.types));else if((0,a.isGenericTypeAnnotation)(E)){let v=m(E.id);if(f.has(v)){let S=f.get(v);S.typeParameters?E.typeParameters&&(S.typeParameters.params.push(...E.typeParameters.params),S.typeParameters.params=d(S.typeParameters.params)):S=E.typeParameters}else f.set(v,E)}else y.push(E)}}for(let[,b]of p)y.push(b);for(let[,b]of f)y.push(b);return y};var a=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/validators/generated/index.js");function m(d){return(0,a.isIdentifier)(d)?d.name:`${d.id.name}.${m(d.qualification)}`}},"./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/modifications/inherits.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(d,s){if(!d||!s)return d;for(let l of a.INHERIT_KEYS.optional)d[l]==null&&(d[l]=s[l]);for(let l of Object.keys(s))l[0]==="_"&&l!=="__clone"&&(d[l]=s[l]);for(let l of a.INHERIT_KEYS.force)d[l]=s[l];return(0,m.default)(d,s),d};var a=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/constants/index.js"),m=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/comments/inheritsComments.js")},"./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/modifications/prependToMemberExpression.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(d,s){if((0,m.isSuper)(d.object))throw new Error("Cannot prepend node to super property access (`super.foo`).");return d.object=(0,a.memberExpression)(s,d.object),d};var a=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/builders/generated/index.js"),m=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/index.js")},"./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/modifications/removeProperties.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(s,l={}){let f=l.preserveComments?m:d;for(let h of f)s[h]!=null&&(s[h]=void 0);for(let h of Object.keys(s))h[0]==="_"&&s[h]!=null&&(s[h]=void 0);let p=Object.getOwnPropertySymbols(s);for(let h of p)s[h]=null};var a=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/constants/index.js");let m=["tokens","start","end","loc","raw","rawValue"],d=[...a.COMMENT_KEYS,"comments",...m]},"./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/modifications/removePropertiesDeep.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(d,s){return(0,a.default)(d,m.default,s),d};var a=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/traverse/traverseFast.js"),m=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/modifications/removeProperties.js")},"./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/modifications/typescript/removeTypeDuplicates.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function d(s){let l=Array.from(s),f=new Map,p=new Map,h=new Set,y=[];for(let b=0;b<l.length;b++){let E=l[b];if(E&&!(y.indexOf(E)>=0)){if((0,a.isTSAnyKeyword)(E))return[E];if((0,a.isTSBaseType)(E))p.set(E.type,E);else if((0,a.isTSUnionType)(E))h.has(E.types)||(l.push(...E.types),h.add(E.types));else if((0,a.isTSTypeReference)(E)&&E.typeParameters){let v=m(E.typeName);if(f.has(v)){let S=f.get(v);S.typeParameters?E.typeParameters&&(S.typeParameters.params.push(...E.typeParameters.params),S.typeParameters.params=d(S.typeParameters.params)):S=E.typeParameters}else f.set(v,E)}else y.push(E)}}for(let[,b]of p)y.push(b);for(let[,b]of f)y.push(b);return y};var a=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/validators/generated/index.js");function m(d){return(0,a.isIdentifier)(d)?d.name:`${d.right.name}.${m(d.left)}`}},"./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/retrievers/getBindingIdentifiers.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=m;var a=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/validators/generated/index.js");function m(d,s,l){let f=[].concat(d),p=Object.create(null);for(;f.length;){let h=f.shift();if(!h)continue;let y=m.keys[h.type];if((0,a.isIdentifier)(h))s?(p[h.name]=p[h.name]||[]).push(h):p[h.name]=h;else if(!(0,a.isExportDeclaration)(h)||(0,a.isExportAllDeclaration)(h)){if(l){if((0,a.isFunctionDeclaration)(h)){f.push(h.id);continue}if((0,a.isFunctionExpression)(h))continue}if(y)for(let b=0;b<y.length;b++){let E=h[y[b]];E&&(Array.isArray(E)?f.push(...E):f.push(E))}}else(0,a.isDeclaration)(h.declaration)&&f.push(h.declaration)}return p}m.keys={DeclareClass:["id"],DeclareFunction:["id"],DeclareModule:["id"],DeclareVariable:["id"],DeclareInterface:["id"],DeclareTypeAlias:["id"],DeclareOpaqueType:["id"],InterfaceDeclaration:["id"],TypeAlias:["id"],OpaqueType:["id"],CatchClause:["param"],LabeledStatement:["label"],UnaryExpression:["argument"],AssignmentExpression:["left"],ImportSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportDefaultSpecifier:["local"],ImportDeclaration:["specifiers"],ExportSpecifier:["exported"],ExportNamespaceSpecifier:["exported"],ExportDefaultSpecifier:["exported"],FunctionDeclaration:["id","params"],FunctionExpression:["id","params"],ArrowFunctionExpression:["params"],ObjectMethod:["params"],ClassMethod:["params"],ClassPrivateMethod:["params"],ForInStatement:["left"],ForOfStatement:["left"],ClassDeclaration:["id"],ClassExpression:["id"],RestElement:["argument"],UpdateExpression:["argument"],ObjectProperty:["value"],AssignmentPattern:["left"],ArrayPattern:["elements"],ObjectPattern:["properties"],VariableDeclaration:["declarations"],VariableDeclarator:["id"]}},"./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/retrievers/getOuterBindingIdentifiers.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var a=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/retrievers/getBindingIdentifiers.js"),m=function(d,s){return(0,a.default)(d,s,!0)};r.default=m},"./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/traverse/traverse.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(d,s,l){typeof s=="function"&&(s={enter:s});let{enter:f,exit:p}=s;m(d,f,p,l,[])};var a=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/definitions/index.js");function m(d,s,l,f,p){let h=a.VISITOR_KEYS[d.type];if(h){s&&s(d,p,f);for(let y of h){let b=d[y];if(Array.isArray(b))for(let E=0;E<b.length;E++){let v=b[E];v&&(p.push({node:d,key:y,index:E}),m(v,s,l,f,p),p.pop())}else b&&(p.push({node:d,key:y}),m(b,s,l,f,p),p.pop())}l&&l(d,p,f)}}},"./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/traverse/traverseFast.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function m(d,s,l){if(!d)return;let f=a.VISITOR_KEYS[d.type];if(f){s(d,l=l||{});for(let p of f){let h=d[p];if(Array.isArray(h))for(let y of h)m(y,s,l);else m(h,s,l)}}};var a=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/definitions/index.js")},"./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/utils/deprecationWarning.js":(o,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(a,m,d=""){if(u.has(a))return;u.add(a);let{internal:s,trace:l}=function(f,p){let{stackTraceLimit:h,prepareStackTrace:y}=Error,b;if(Error.stackTraceLimit=1+f+p,Error.prepareStackTrace=function(v,S){b=S},new Error().stack,Error.stackTraceLimit=h,Error.prepareStackTrace=y,!b)return{internal:!1,trace:""};let E=b.slice(1+f,1+f+p);return{internal:/[\\/]@babel[\\/]/.test(E[1].getFileName()),trace:E.map(v=>` at ${v}`).join(`
|
|
`)}}(1,2);s||console.warn(`${d}\`${a}\` has been deprecated, please migrate to \`${m}\`
|
|
${l}`)};let u=new Set},"./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/utils/inherit.js":(o,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(u,a,m){a&&m&&(a[u]=Array.from(new Set([].concat(a[u],m[u]).filter(Boolean))))}},"./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/utils/react/cleanJSXElementLiteralChild.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(d,s){let l=d.value.split(/\r\n|\n|\r/),f=0;for(let h=0;h<l.length;h++)l[h].match(/[^ \t]/)&&(f=h);let p="";for(let h=0;h<l.length;h++){let y=l[h],b=h===0,E=h===l.length-1,v=h===f,S=y.replace(/\t/g," ");b||(S=S.replace(/^[ ]+/,"")),E||(S=S.replace(/[ ]+$/,"")),S&&(v||(S+=" "),p+=S)}p&&s.push((0,m.inherits)((0,a.stringLiteral)(p),d))};var a=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/builders/generated/index.js"),m=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/index.js")},"./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/utils/shallowEqual.js":(o,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(u,a){let m=Object.keys(a);for(let d of m)if(u[d]!==a[d])return!1;return!0}},"./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/validators/buildMatchMemberExpression.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(m,d){let s=m.split(".");return l=>(0,a.default)(l,s,d)};var a=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/validators/matchesPattern.js")},"./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/validators/generated/index.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.isAccessor=function(s,l){return!s||s.type!=="ClassAccessorProperty"?!1:l==null||(0,a.default)(s,l)},r.isAnyTypeAnnotation=function(s,l){return!!s&&s.type==="AnyTypeAnnotation"&&(l==null||(0,a.default)(s,l))},r.isArgumentPlaceholder=function(s,l){return!!s&&s.type==="ArgumentPlaceholder"&&(l==null||(0,a.default)(s,l))},r.isArrayExpression=function(s,l){return!!s&&s.type==="ArrayExpression"&&(l==null||(0,a.default)(s,l))},r.isArrayPattern=function(s,l){return!!s&&s.type==="ArrayPattern"&&(l==null||(0,a.default)(s,l))},r.isArrayTypeAnnotation=function(s,l){return!!s&&s.type==="ArrayTypeAnnotation"&&(l==null||(0,a.default)(s,l))},r.isArrowFunctionExpression=function(s,l){return!!s&&s.type==="ArrowFunctionExpression"&&(l==null||(0,a.default)(s,l))},r.isAssignmentExpression=function(s,l){return!!s&&s.type==="AssignmentExpression"&&(l==null||(0,a.default)(s,l))},r.isAssignmentPattern=function(s,l){return!!s&&s.type==="AssignmentPattern"&&(l==null||(0,a.default)(s,l))},r.isAwaitExpression=function(s,l){return!!s&&s.type==="AwaitExpression"&&(l==null||(0,a.default)(s,l))},r.isBigIntLiteral=function(s,l){return!!s&&s.type==="BigIntLiteral"&&(l==null||(0,a.default)(s,l))},r.isBinary=function(s,l){if(!s)return!1;switch(s.type){case"BinaryExpression":case"LogicalExpression":break;default:return!1}return l==null||(0,a.default)(s,l)},r.isBinaryExpression=function(s,l){return!!s&&s.type==="BinaryExpression"&&(l==null||(0,a.default)(s,l))},r.isBindExpression=function(s,l){return!!s&&s.type==="BindExpression"&&(l==null||(0,a.default)(s,l))},r.isBlock=function(s,l){if(!s)return!1;switch(s.type){case"BlockStatement":case"Program":case"TSModuleBlock":break;case"Placeholder":if(s.expectedNode==="BlockStatement")break;default:return!1}return l==null||(0,a.default)(s,l)},r.isBlockParent=function(s,l){if(!s)return!1;switch(s.type){case"BlockStatement":case"CatchClause":case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"FunctionDeclaration":case"FunctionExpression":case"Program":case"ObjectMethod":case"SwitchStatement":case"WhileStatement":case"ArrowFunctionExpression":case"ForOfStatement":case"ClassMethod":case"ClassPrivateMethod":case"StaticBlock":case"TSModuleBlock":break;case"Placeholder":if(s.expectedNode==="BlockStatement")break;default:return!1}return l==null||(0,a.default)(s,l)},r.isBlockStatement=function(s,l){return!!s&&s.type==="BlockStatement"&&(l==null||(0,a.default)(s,l))},r.isBooleanLiteral=function(s,l){return!!s&&s.type==="BooleanLiteral"&&(l==null||(0,a.default)(s,l))},r.isBooleanLiteralTypeAnnotation=function(s,l){return!!s&&s.type==="BooleanLiteralTypeAnnotation"&&(l==null||(0,a.default)(s,l))},r.isBooleanTypeAnnotation=function(s,l){return!!s&&s.type==="BooleanTypeAnnotation"&&(l==null||(0,a.default)(s,l))},r.isBreakStatement=function(s,l){return!!s&&s.type==="BreakStatement"&&(l==null||(0,a.default)(s,l))},r.isCallExpression=function(s,l){return!!s&&s.type==="CallExpression"&&(l==null||(0,a.default)(s,l))},r.isCatchClause=function(s,l){return!!s&&s.type==="CatchClause"&&(l==null||(0,a.default)(s,l))},r.isClass=function(s,l){if(!s)return!1;switch(s.type){case"ClassExpression":case"ClassDeclaration":break;default:return!1}return l==null||(0,a.default)(s,l)},r.isClassAccessorProperty=function(s,l){return!!s&&s.type==="ClassAccessorProperty"&&(l==null||(0,a.default)(s,l))},r.isClassBody=function(s,l){return!!s&&s.type==="ClassBody"&&(l==null||(0,a.default)(s,l))},r.isClassDeclaration=function(s,l){return!!s&&s.type==="ClassDeclaration"&&(l==null||(0,a.default)(s,l))},r.isClassExpression=function(s,l){return!!s&&s.type==="ClassExpression"&&(l==null||(0,a.default)(s,l))},r.isClassImplements=function(s,l){return!!s&&s.type==="ClassImplements"&&(l==null||(0,a.default)(s,l))},r.isClassMethod=function(s,l){return!!s&&s.type==="ClassMethod"&&(l==null||(0,a.default)(s,l))},r.isClassPrivateMethod=function(s,l){return!!s&&s.type==="ClassPrivateMethod"&&(l==null||(0,a.default)(s,l))},r.isClassPrivateProperty=function(s,l){return!!s&&s.type==="ClassPrivateProperty"&&(l==null||(0,a.default)(s,l))},r.isClassProperty=function(s,l){return!!s&&s.type==="ClassProperty"&&(l==null||(0,a.default)(s,l))},r.isCompletionStatement=function(s,l){if(!s)return!1;switch(s.type){case"BreakStatement":case"ContinueStatement":case"ReturnStatement":case"ThrowStatement":break;default:return!1}return l==null||(0,a.default)(s,l)},r.isConditional=function(s,l){if(!s)return!1;switch(s.type){case"ConditionalExpression":case"IfStatement":break;default:return!1}return l==null||(0,a.default)(s,l)},r.isConditionalExpression=function(s,l){return!!s&&s.type==="ConditionalExpression"&&(l==null||(0,a.default)(s,l))},r.isContinueStatement=function(s,l){return!!s&&s.type==="ContinueStatement"&&(l==null||(0,a.default)(s,l))},r.isDebuggerStatement=function(s,l){return!!s&&s.type==="DebuggerStatement"&&(l==null||(0,a.default)(s,l))},r.isDecimalLiteral=function(s,l){return!!s&&s.type==="DecimalLiteral"&&(l==null||(0,a.default)(s,l))},r.isDeclaration=function(s,l){if(!s)return!1;switch(s.type){case"FunctionDeclaration":case"VariableDeclaration":case"ClassDeclaration":case"ExportAllDeclaration":case"ExportDefaultDeclaration":case"ExportNamedDeclaration":case"ImportDeclaration":case"DeclareClass":case"DeclareFunction":case"DeclareInterface":case"DeclareModule":case"DeclareModuleExports":case"DeclareTypeAlias":case"DeclareOpaqueType":case"DeclareVariable":case"DeclareExportDeclaration":case"DeclareExportAllDeclaration":case"InterfaceDeclaration":case"OpaqueType":case"TypeAlias":case"EnumDeclaration":case"TSDeclareFunction":case"TSInterfaceDeclaration":case"TSTypeAliasDeclaration":case"TSEnumDeclaration":case"TSModuleDeclaration":break;case"Placeholder":if(s.expectedNode==="Declaration")break;default:return!1}return l==null||(0,a.default)(s,l)},r.isDeclareClass=function(s,l){return!!s&&s.type==="DeclareClass"&&(l==null||(0,a.default)(s,l))},r.isDeclareExportAllDeclaration=function(s,l){return!!s&&s.type==="DeclareExportAllDeclaration"&&(l==null||(0,a.default)(s,l))},r.isDeclareExportDeclaration=function(s,l){return!!s&&s.type==="DeclareExportDeclaration"&&(l==null||(0,a.default)(s,l))},r.isDeclareFunction=function(s,l){return!!s&&s.type==="DeclareFunction"&&(l==null||(0,a.default)(s,l))},r.isDeclareInterface=function(s,l){return!!s&&s.type==="DeclareInterface"&&(l==null||(0,a.default)(s,l))},r.isDeclareModule=function(s,l){return!!s&&s.type==="DeclareModule"&&(l==null||(0,a.default)(s,l))},r.isDeclareModuleExports=function(s,l){return!!s&&s.type==="DeclareModuleExports"&&(l==null||(0,a.default)(s,l))},r.isDeclareOpaqueType=function(s,l){return!!s&&s.type==="DeclareOpaqueType"&&(l==null||(0,a.default)(s,l))},r.isDeclareTypeAlias=function(s,l){return!!s&&s.type==="DeclareTypeAlias"&&(l==null||(0,a.default)(s,l))},r.isDeclareVariable=function(s,l){return!!s&&s.type==="DeclareVariable"&&(l==null||(0,a.default)(s,l))},r.isDeclaredPredicate=function(s,l){return!!s&&s.type==="DeclaredPredicate"&&(l==null||(0,a.default)(s,l))},r.isDecorator=function(s,l){return!!s&&s.type==="Decorator"&&(l==null||(0,a.default)(s,l))},r.isDirective=function(s,l){return!!s&&s.type==="Directive"&&(l==null||(0,a.default)(s,l))},r.isDirectiveLiteral=function(s,l){return!!s&&s.type==="DirectiveLiteral"&&(l==null||(0,a.default)(s,l))},r.isDoExpression=function(s,l){return!!s&&s.type==="DoExpression"&&(l==null||(0,a.default)(s,l))},r.isDoWhileStatement=function(s,l){return!!s&&s.type==="DoWhileStatement"&&(l==null||(0,a.default)(s,l))},r.isEmptyStatement=function(s,l){return!!s&&s.type==="EmptyStatement"&&(l==null||(0,a.default)(s,l))},r.isEmptyTypeAnnotation=function(s,l){return!!s&&s.type==="EmptyTypeAnnotation"&&(l==null||(0,a.default)(s,l))},r.isEnumBody=function(s,l){if(!s)return!1;switch(s.type){case"EnumBooleanBody":case"EnumNumberBody":case"EnumStringBody":case"EnumSymbolBody":break;default:return!1}return l==null||(0,a.default)(s,l)},r.isEnumBooleanBody=function(s,l){return!!s&&s.type==="EnumBooleanBody"&&(l==null||(0,a.default)(s,l))},r.isEnumBooleanMember=function(s,l){return!!s&&s.type==="EnumBooleanMember"&&(l==null||(0,a.default)(s,l))},r.isEnumDeclaration=function(s,l){return!!s&&s.type==="EnumDeclaration"&&(l==null||(0,a.default)(s,l))},r.isEnumDefaultedMember=function(s,l){return!!s&&s.type==="EnumDefaultedMember"&&(l==null||(0,a.default)(s,l))},r.isEnumMember=function(s,l){if(!s)return!1;switch(s.type){case"EnumBooleanMember":case"EnumNumberMember":case"EnumStringMember":case"EnumDefaultedMember":break;default:return!1}return l==null||(0,a.default)(s,l)},r.isEnumNumberBody=function(s,l){return!!s&&s.type==="EnumNumberBody"&&(l==null||(0,a.default)(s,l))},r.isEnumNumberMember=function(s,l){return!!s&&s.type==="EnumNumberMember"&&(l==null||(0,a.default)(s,l))},r.isEnumStringBody=function(s,l){return!!s&&s.type==="EnumStringBody"&&(l==null||(0,a.default)(s,l))},r.isEnumStringMember=function(s,l){return!!s&&s.type==="EnumStringMember"&&(l==null||(0,a.default)(s,l))},r.isEnumSymbolBody=function(s,l){return!!s&&s.type==="EnumSymbolBody"&&(l==null||(0,a.default)(s,l))},r.isExistsTypeAnnotation=function(s,l){return!!s&&s.type==="ExistsTypeAnnotation"&&(l==null||(0,a.default)(s,l))},r.isExportAllDeclaration=function(s,l){return!!s&&s.type==="ExportAllDeclaration"&&(l==null||(0,a.default)(s,l))},r.isExportDeclaration=function(s,l){if(!s)return!1;switch(s.type){case"ExportAllDeclaration":case"ExportDefaultDeclaration":case"ExportNamedDeclaration":break;default:return!1}return l==null||(0,a.default)(s,l)},r.isExportDefaultDeclaration=function(s,l){return!!s&&s.type==="ExportDefaultDeclaration"&&(l==null||(0,a.default)(s,l))},r.isExportDefaultSpecifier=function(s,l){return!!s&&s.type==="ExportDefaultSpecifier"&&(l==null||(0,a.default)(s,l))},r.isExportNamedDeclaration=function(s,l){return!!s&&s.type==="ExportNamedDeclaration"&&(l==null||(0,a.default)(s,l))},r.isExportNamespaceSpecifier=function(s,l){return!!s&&s.type==="ExportNamespaceSpecifier"&&(l==null||(0,a.default)(s,l))},r.isExportSpecifier=function(s,l){return!!s&&s.type==="ExportSpecifier"&&(l==null||(0,a.default)(s,l))},r.isExpression=function(s,l){if(!s)return!1;switch(s.type){case"ArrayExpression":case"AssignmentExpression":case"BinaryExpression":case"CallExpression":case"ConditionalExpression":case"FunctionExpression":case"Identifier":case"StringLiteral":case"NumericLiteral":case"NullLiteral":case"BooleanLiteral":case"RegExpLiteral":case"LogicalExpression":case"MemberExpression":case"NewExpression":case"ObjectExpression":case"SequenceExpression":case"ParenthesizedExpression":case"ThisExpression":case"UnaryExpression":case"UpdateExpression":case"ArrowFunctionExpression":case"ClassExpression":case"MetaProperty":case"Super":case"TaggedTemplateExpression":case"TemplateLiteral":case"YieldExpression":case"AwaitExpression":case"Import":case"BigIntLiteral":case"OptionalMemberExpression":case"OptionalCallExpression":case"TypeCastExpression":case"JSXElement":case"JSXFragment":case"BindExpression":case"DoExpression":case"RecordExpression":case"TupleExpression":case"DecimalLiteral":case"ModuleExpression":case"TopicReference":case"PipelineTopicExpression":case"PipelineBareFunction":case"PipelinePrimaryTopicReference":case"TSInstantiationExpression":case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSNonNullExpression":break;case"Placeholder":switch(s.expectedNode){case"Expression":case"Identifier":case"StringLiteral":break;default:return!1}break;default:return!1}return l==null||(0,a.default)(s,l)},r.isExpressionStatement=function(s,l){return!!s&&s.type==="ExpressionStatement"&&(l==null||(0,a.default)(s,l))},r.isExpressionWrapper=function(s,l){if(!s)return!1;switch(s.type){case"ExpressionStatement":case"ParenthesizedExpression":case"TypeCastExpression":break;default:return!1}return l==null||(0,a.default)(s,l)},r.isFile=function(s,l){return!!s&&s.type==="File"&&(l==null||(0,a.default)(s,l))},r.isFlow=function(s,l){if(!s)return!1;switch(s.type){case"AnyTypeAnnotation":case"ArrayTypeAnnotation":case"BooleanTypeAnnotation":case"BooleanLiteralTypeAnnotation":case"NullLiteralTypeAnnotation":case"ClassImplements":case"DeclareClass":case"DeclareFunction":case"DeclareInterface":case"DeclareModule":case"DeclareModuleExports":case"DeclareTypeAlias":case"DeclareOpaqueType":case"DeclareVariable":case"DeclareExportDeclaration":case"DeclareExportAllDeclaration":case"DeclaredPredicate":case"ExistsTypeAnnotation":case"FunctionTypeAnnotation":case"FunctionTypeParam":case"GenericTypeAnnotation":case"InferredPredicate":case"InterfaceExtends":case"InterfaceDeclaration":case"InterfaceTypeAnnotation":case"IntersectionTypeAnnotation":case"MixedTypeAnnotation":case"EmptyTypeAnnotation":case"NullableTypeAnnotation":case"NumberLiteralTypeAnnotation":case"NumberTypeAnnotation":case"ObjectTypeAnnotation":case"ObjectTypeInternalSlot":case"ObjectTypeCallProperty":case"ObjectTypeIndexer":case"ObjectTypeProperty":case"ObjectTypeSpreadProperty":case"OpaqueType":case"QualifiedTypeIdentifier":case"StringLiteralTypeAnnotation":case"StringTypeAnnotation":case"SymbolTypeAnnotation":case"ThisTypeAnnotation":case"TupleTypeAnnotation":case"TypeofTypeAnnotation":case"TypeAlias":case"TypeAnnotation":case"TypeCastExpression":case"TypeParameter":case"TypeParameterDeclaration":case"TypeParameterInstantiation":case"UnionTypeAnnotation":case"Variance":case"VoidTypeAnnotation":case"EnumDeclaration":case"EnumBooleanBody":case"EnumNumberBody":case"EnumStringBody":case"EnumSymbolBody":case"EnumBooleanMember":case"EnumNumberMember":case"EnumStringMember":case"EnumDefaultedMember":case"IndexedAccessType":case"OptionalIndexedAccessType":break;default:return!1}return l==null||(0,a.default)(s,l)},r.isFlowBaseAnnotation=function(s,l){if(!s)return!1;switch(s.type){case"AnyTypeAnnotation":case"BooleanTypeAnnotation":case"NullLiteralTypeAnnotation":case"MixedTypeAnnotation":case"EmptyTypeAnnotation":case"NumberTypeAnnotation":case"StringTypeAnnotation":case"SymbolTypeAnnotation":case"ThisTypeAnnotation":case"VoidTypeAnnotation":break;default:return!1}return l==null||(0,a.default)(s,l)},r.isFlowDeclaration=function(s,l){if(!s)return!1;switch(s.type){case"DeclareClass":case"DeclareFunction":case"DeclareInterface":case"DeclareModule":case"DeclareModuleExports":case"DeclareTypeAlias":case"DeclareOpaqueType":case"DeclareVariable":case"DeclareExportDeclaration":case"DeclareExportAllDeclaration":case"InterfaceDeclaration":case"OpaqueType":case"TypeAlias":break;default:return!1}return l==null||(0,a.default)(s,l)},r.isFlowPredicate=function(s,l){if(!s)return!1;switch(s.type){case"DeclaredPredicate":case"InferredPredicate":break;default:return!1}return l==null||(0,a.default)(s,l)},r.isFlowType=function(s,l){if(!s)return!1;switch(s.type){case"AnyTypeAnnotation":case"ArrayTypeAnnotation":case"BooleanTypeAnnotation":case"BooleanLiteralTypeAnnotation":case"NullLiteralTypeAnnotation":case"ExistsTypeAnnotation":case"FunctionTypeAnnotation":case"GenericTypeAnnotation":case"InterfaceTypeAnnotation":case"IntersectionTypeAnnotation":case"MixedTypeAnnotation":case"EmptyTypeAnnotation":case"NullableTypeAnnotation":case"NumberLiteralTypeAnnotation":case"NumberTypeAnnotation":case"ObjectTypeAnnotation":case"StringLiteralTypeAnnotation":case"StringTypeAnnotation":case"SymbolTypeAnnotation":case"ThisTypeAnnotation":case"TupleTypeAnnotation":case"TypeofTypeAnnotation":case"UnionTypeAnnotation":case"VoidTypeAnnotation":case"IndexedAccessType":case"OptionalIndexedAccessType":break;default:return!1}return l==null||(0,a.default)(s,l)},r.isFor=function(s,l){if(!s)return!1;switch(s.type){case"ForInStatement":case"ForStatement":case"ForOfStatement":break;default:return!1}return l==null||(0,a.default)(s,l)},r.isForInStatement=function(s,l){return!!s&&s.type==="ForInStatement"&&(l==null||(0,a.default)(s,l))},r.isForOfStatement=function(s,l){return!!s&&s.type==="ForOfStatement"&&(l==null||(0,a.default)(s,l))},r.isForStatement=function(s,l){return!!s&&s.type==="ForStatement"&&(l==null||(0,a.default)(s,l))},r.isForXStatement=function(s,l){if(!s)return!1;switch(s.type){case"ForInStatement":case"ForOfStatement":break;default:return!1}return l==null||(0,a.default)(s,l)},r.isFunction=function(s,l){if(!s)return!1;switch(s.type){case"FunctionDeclaration":case"FunctionExpression":case"ObjectMethod":case"ArrowFunctionExpression":case"ClassMethod":case"ClassPrivateMethod":break;default:return!1}return l==null||(0,a.default)(s,l)},r.isFunctionDeclaration=function(s,l){return!!s&&s.type==="FunctionDeclaration"&&(l==null||(0,a.default)(s,l))},r.isFunctionExpression=function(s,l){return!!s&&s.type==="FunctionExpression"&&(l==null||(0,a.default)(s,l))},r.isFunctionParent=function(s,l){if(!s)return!1;switch(s.type){case"FunctionDeclaration":case"FunctionExpression":case"ObjectMethod":case"ArrowFunctionExpression":case"ClassMethod":case"ClassPrivateMethod":case"StaticBlock":case"TSModuleBlock":break;default:return!1}return l==null||(0,a.default)(s,l)},r.isFunctionTypeAnnotation=function(s,l){return!!s&&s.type==="FunctionTypeAnnotation"&&(l==null||(0,a.default)(s,l))},r.isFunctionTypeParam=function(s,l){return!!s&&s.type==="FunctionTypeParam"&&(l==null||(0,a.default)(s,l))},r.isGenericTypeAnnotation=function(s,l){return!!s&&s.type==="GenericTypeAnnotation"&&(l==null||(0,a.default)(s,l))},r.isIdentifier=function(s,l){return!!s&&s.type==="Identifier"&&(l==null||(0,a.default)(s,l))},r.isIfStatement=function(s,l){return!!s&&s.type==="IfStatement"&&(l==null||(0,a.default)(s,l))},r.isImmutable=function(s,l){if(!s)return!1;switch(s.type){case"StringLiteral":case"NumericLiteral":case"NullLiteral":case"BooleanLiteral":case"BigIntLiteral":case"JSXAttribute":case"JSXClosingElement":case"JSXElement":case"JSXExpressionContainer":case"JSXSpreadChild":case"JSXOpeningElement":case"JSXText":case"JSXFragment":case"JSXOpeningFragment":case"JSXClosingFragment":case"DecimalLiteral":break;case"Placeholder":if(s.expectedNode==="StringLiteral")break;default:return!1}return l==null||(0,a.default)(s,l)},r.isImport=function(s,l){return!!s&&s.type==="Import"&&(l==null||(0,a.default)(s,l))},r.isImportAttribute=function(s,l){return!!s&&s.type==="ImportAttribute"&&(l==null||(0,a.default)(s,l))},r.isImportDeclaration=function(s,l){return!!s&&s.type==="ImportDeclaration"&&(l==null||(0,a.default)(s,l))},r.isImportDefaultSpecifier=function(s,l){return!!s&&s.type==="ImportDefaultSpecifier"&&(l==null||(0,a.default)(s,l))},r.isImportNamespaceSpecifier=function(s,l){return!!s&&s.type==="ImportNamespaceSpecifier"&&(l==null||(0,a.default)(s,l))},r.isImportOrExportDeclaration=d,r.isImportSpecifier=function(s,l){return!!s&&s.type==="ImportSpecifier"&&(l==null||(0,a.default)(s,l))},r.isIndexedAccessType=function(s,l){return!!s&&s.type==="IndexedAccessType"&&(l==null||(0,a.default)(s,l))},r.isInferredPredicate=function(s,l){return!!s&&s.type==="InferredPredicate"&&(l==null||(0,a.default)(s,l))},r.isInterfaceDeclaration=function(s,l){return!!s&&s.type==="InterfaceDeclaration"&&(l==null||(0,a.default)(s,l))},r.isInterfaceExtends=function(s,l){return!!s&&s.type==="InterfaceExtends"&&(l==null||(0,a.default)(s,l))},r.isInterfaceTypeAnnotation=function(s,l){return!!s&&s.type==="InterfaceTypeAnnotation"&&(l==null||(0,a.default)(s,l))},r.isInterpreterDirective=function(s,l){return!!s&&s.type==="InterpreterDirective"&&(l==null||(0,a.default)(s,l))},r.isIntersectionTypeAnnotation=function(s,l){return!!s&&s.type==="IntersectionTypeAnnotation"&&(l==null||(0,a.default)(s,l))},r.isJSX=function(s,l){if(!s)return!1;switch(s.type){case"JSXAttribute":case"JSXClosingElement":case"JSXElement":case"JSXEmptyExpression":case"JSXExpressionContainer":case"JSXSpreadChild":case"JSXIdentifier":case"JSXMemberExpression":case"JSXNamespacedName":case"JSXOpeningElement":case"JSXSpreadAttribute":case"JSXText":case"JSXFragment":case"JSXOpeningFragment":case"JSXClosingFragment":break;default:return!1}return l==null||(0,a.default)(s,l)},r.isJSXAttribute=function(s,l){return!!s&&s.type==="JSXAttribute"&&(l==null||(0,a.default)(s,l))},r.isJSXClosingElement=function(s,l){return!!s&&s.type==="JSXClosingElement"&&(l==null||(0,a.default)(s,l))},r.isJSXClosingFragment=function(s,l){return!!s&&s.type==="JSXClosingFragment"&&(l==null||(0,a.default)(s,l))},r.isJSXElement=function(s,l){return!!s&&s.type==="JSXElement"&&(l==null||(0,a.default)(s,l))},r.isJSXEmptyExpression=function(s,l){return!!s&&s.type==="JSXEmptyExpression"&&(l==null||(0,a.default)(s,l))},r.isJSXExpressionContainer=function(s,l){return!!s&&s.type==="JSXExpressionContainer"&&(l==null||(0,a.default)(s,l))},r.isJSXFragment=function(s,l){return!!s&&s.type==="JSXFragment"&&(l==null||(0,a.default)(s,l))},r.isJSXIdentifier=function(s,l){return!!s&&s.type==="JSXIdentifier"&&(l==null||(0,a.default)(s,l))},r.isJSXMemberExpression=function(s,l){return!!s&&s.type==="JSXMemberExpression"&&(l==null||(0,a.default)(s,l))},r.isJSXNamespacedName=function(s,l){return!!s&&s.type==="JSXNamespacedName"&&(l==null||(0,a.default)(s,l))},r.isJSXOpeningElement=function(s,l){return!!s&&s.type==="JSXOpeningElement"&&(l==null||(0,a.default)(s,l))},r.isJSXOpeningFragment=function(s,l){return!!s&&s.type==="JSXOpeningFragment"&&(l==null||(0,a.default)(s,l))},r.isJSXSpreadAttribute=function(s,l){return!!s&&s.type==="JSXSpreadAttribute"&&(l==null||(0,a.default)(s,l))},r.isJSXSpreadChild=function(s,l){return!!s&&s.type==="JSXSpreadChild"&&(l==null||(0,a.default)(s,l))},r.isJSXText=function(s,l){return!!s&&s.type==="JSXText"&&(l==null||(0,a.default)(s,l))},r.isLVal=function(s,l){if(!s)return!1;switch(s.type){case"Identifier":case"MemberExpression":case"RestElement":case"AssignmentPattern":case"ArrayPattern":case"ObjectPattern":case"TSParameterProperty":case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSNonNullExpression":break;case"Placeholder":switch(s.expectedNode){case"Pattern":case"Identifier":break;default:return!1}break;default:return!1}return l==null||(0,a.default)(s,l)},r.isLabeledStatement=function(s,l){return!!s&&s.type==="LabeledStatement"&&(l==null||(0,a.default)(s,l))},r.isLiteral=function(s,l){if(!s)return!1;switch(s.type){case"StringLiteral":case"NumericLiteral":case"NullLiteral":case"BooleanLiteral":case"RegExpLiteral":case"TemplateLiteral":case"BigIntLiteral":case"DecimalLiteral":break;case"Placeholder":if(s.expectedNode==="StringLiteral")break;default:return!1}return l==null||(0,a.default)(s,l)},r.isLogicalExpression=function(s,l){return!!s&&s.type==="LogicalExpression"&&(l==null||(0,a.default)(s,l))},r.isLoop=function(s,l){if(!s)return!1;switch(s.type){case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"WhileStatement":case"ForOfStatement":break;default:return!1}return l==null||(0,a.default)(s,l)},r.isMemberExpression=function(s,l){return!!s&&s.type==="MemberExpression"&&(l==null||(0,a.default)(s,l))},r.isMetaProperty=function(s,l){return!!s&&s.type==="MetaProperty"&&(l==null||(0,a.default)(s,l))},r.isMethod=function(s,l){if(!s)return!1;switch(s.type){case"ObjectMethod":case"ClassMethod":case"ClassPrivateMethod":break;default:return!1}return l==null||(0,a.default)(s,l)},r.isMiscellaneous=function(s,l){if(!s)return!1;switch(s.type){case"Noop":case"Placeholder":case"V8IntrinsicIdentifier":break;default:return!1}return l==null||(0,a.default)(s,l)},r.isMixedTypeAnnotation=function(s,l){return!!s&&s.type==="MixedTypeAnnotation"&&(l==null||(0,a.default)(s,l))},r.isModuleDeclaration=function(s,l){return(0,m.default)("isModuleDeclaration","isImportOrExportDeclaration"),d(s,l)},r.isModuleExpression=function(s,l){return!!s&&s.type==="ModuleExpression"&&(l==null||(0,a.default)(s,l))},r.isModuleSpecifier=function(s,l){if(!s)return!1;switch(s.type){case"ExportSpecifier":case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":break;default:return!1}return l==null||(0,a.default)(s,l)},r.isNewExpression=function(s,l){return!!s&&s.type==="NewExpression"&&(l==null||(0,a.default)(s,l))},r.isNoop=function(s,l){return!!s&&s.type==="Noop"&&(l==null||(0,a.default)(s,l))},r.isNullLiteral=function(s,l){return!!s&&s.type==="NullLiteral"&&(l==null||(0,a.default)(s,l))},r.isNullLiteralTypeAnnotation=function(s,l){return!!s&&s.type==="NullLiteralTypeAnnotation"&&(l==null||(0,a.default)(s,l))},r.isNullableTypeAnnotation=function(s,l){return!!s&&s.type==="NullableTypeAnnotation"&&(l==null||(0,a.default)(s,l))},r.isNumberLiteral=function(s,l){return(0,m.default)("isNumberLiteral","isNumericLiteral"),!!s&&s.type==="NumberLiteral"&&(l==null||(0,a.default)(s,l))},r.isNumberLiteralTypeAnnotation=function(s,l){return!!s&&s.type==="NumberLiteralTypeAnnotation"&&(l==null||(0,a.default)(s,l))},r.isNumberTypeAnnotation=function(s,l){return!!s&&s.type==="NumberTypeAnnotation"&&(l==null||(0,a.default)(s,l))},r.isNumericLiteral=function(s,l){return!!s&&s.type==="NumericLiteral"&&(l==null||(0,a.default)(s,l))},r.isObjectExpression=function(s,l){return!!s&&s.type==="ObjectExpression"&&(l==null||(0,a.default)(s,l))},r.isObjectMember=function(s,l){if(!s)return!1;switch(s.type){case"ObjectMethod":case"ObjectProperty":break;default:return!1}return l==null||(0,a.default)(s,l)},r.isObjectMethod=function(s,l){return!!s&&s.type==="ObjectMethod"&&(l==null||(0,a.default)(s,l))},r.isObjectPattern=function(s,l){return!!s&&s.type==="ObjectPattern"&&(l==null||(0,a.default)(s,l))},r.isObjectProperty=function(s,l){return!!s&&s.type==="ObjectProperty"&&(l==null||(0,a.default)(s,l))},r.isObjectTypeAnnotation=function(s,l){return!!s&&s.type==="ObjectTypeAnnotation"&&(l==null||(0,a.default)(s,l))},r.isObjectTypeCallProperty=function(s,l){return!!s&&s.type==="ObjectTypeCallProperty"&&(l==null||(0,a.default)(s,l))},r.isObjectTypeIndexer=function(s,l){return!!s&&s.type==="ObjectTypeIndexer"&&(l==null||(0,a.default)(s,l))},r.isObjectTypeInternalSlot=function(s,l){return!!s&&s.type==="ObjectTypeInternalSlot"&&(l==null||(0,a.default)(s,l))},r.isObjectTypeProperty=function(s,l){return!!s&&s.type==="ObjectTypeProperty"&&(l==null||(0,a.default)(s,l))},r.isObjectTypeSpreadProperty=function(s,l){return!!s&&s.type==="ObjectTypeSpreadProperty"&&(l==null||(0,a.default)(s,l))},r.isOpaqueType=function(s,l){return!!s&&s.type==="OpaqueType"&&(l==null||(0,a.default)(s,l))},r.isOptionalCallExpression=function(s,l){return!!s&&s.type==="OptionalCallExpression"&&(l==null||(0,a.default)(s,l))},r.isOptionalIndexedAccessType=function(s,l){return!!s&&s.type==="OptionalIndexedAccessType"&&(l==null||(0,a.default)(s,l))},r.isOptionalMemberExpression=function(s,l){return!!s&&s.type==="OptionalMemberExpression"&&(l==null||(0,a.default)(s,l))},r.isParenthesizedExpression=function(s,l){return!!s&&s.type==="ParenthesizedExpression"&&(l==null||(0,a.default)(s,l))},r.isPattern=function(s,l){if(!s)return!1;switch(s.type){case"AssignmentPattern":case"ArrayPattern":case"ObjectPattern":break;case"Placeholder":if(s.expectedNode==="Pattern")break;default:return!1}return l==null||(0,a.default)(s,l)},r.isPatternLike=function(s,l){if(!s)return!1;switch(s.type){case"Identifier":case"RestElement":case"AssignmentPattern":case"ArrayPattern":case"ObjectPattern":case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSNonNullExpression":break;case"Placeholder":switch(s.expectedNode){case"Pattern":case"Identifier":break;default:return!1}break;default:return!1}return l==null||(0,a.default)(s,l)},r.isPipelineBareFunction=function(s,l){return!!s&&s.type==="PipelineBareFunction"&&(l==null||(0,a.default)(s,l))},r.isPipelinePrimaryTopicReference=function(s,l){return!!s&&s.type==="PipelinePrimaryTopicReference"&&(l==null||(0,a.default)(s,l))},r.isPipelineTopicExpression=function(s,l){return!!s&&s.type==="PipelineTopicExpression"&&(l==null||(0,a.default)(s,l))},r.isPlaceholder=function(s,l){return!!s&&s.type==="Placeholder"&&(l==null||(0,a.default)(s,l))},r.isPrivate=function(s,l){if(!s)return!1;switch(s.type){case"ClassPrivateProperty":case"ClassPrivateMethod":case"PrivateName":break;default:return!1}return l==null||(0,a.default)(s,l)},r.isPrivateName=function(s,l){return!!s&&s.type==="PrivateName"&&(l==null||(0,a.default)(s,l))},r.isProgram=function(s,l){return!!s&&s.type==="Program"&&(l==null||(0,a.default)(s,l))},r.isProperty=function(s,l){if(!s)return!1;switch(s.type){case"ObjectProperty":case"ClassProperty":case"ClassAccessorProperty":case"ClassPrivateProperty":break;default:return!1}return l==null||(0,a.default)(s,l)},r.isPureish=function(s,l){if(!s)return!1;switch(s.type){case"FunctionDeclaration":case"FunctionExpression":case"StringLiteral":case"NumericLiteral":case"NullLiteral":case"BooleanLiteral":case"RegExpLiteral":case"ArrowFunctionExpression":case"BigIntLiteral":case"DecimalLiteral":break;case"Placeholder":if(s.expectedNode==="StringLiteral")break;default:return!1}return l==null||(0,a.default)(s,l)},r.isQualifiedTypeIdentifier=function(s,l){return!!s&&s.type==="QualifiedTypeIdentifier"&&(l==null||(0,a.default)(s,l))},r.isRecordExpression=function(s,l){return!!s&&s.type==="RecordExpression"&&(l==null||(0,a.default)(s,l))},r.isRegExpLiteral=function(s,l){return!!s&&s.type==="RegExpLiteral"&&(l==null||(0,a.default)(s,l))},r.isRegexLiteral=function(s,l){return(0,m.default)("isRegexLiteral","isRegExpLiteral"),!!s&&s.type==="RegexLiteral"&&(l==null||(0,a.default)(s,l))},r.isRestElement=function(s,l){return!!s&&s.type==="RestElement"&&(l==null||(0,a.default)(s,l))},r.isRestProperty=function(s,l){return(0,m.default)("isRestProperty","isRestElement"),!!s&&s.type==="RestProperty"&&(l==null||(0,a.default)(s,l))},r.isReturnStatement=function(s,l){return!!s&&s.type==="ReturnStatement"&&(l==null||(0,a.default)(s,l))},r.isScopable=function(s,l){if(!s)return!1;switch(s.type){case"BlockStatement":case"CatchClause":case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"FunctionDeclaration":case"FunctionExpression":case"Program":case"ObjectMethod":case"SwitchStatement":case"WhileStatement":case"ArrowFunctionExpression":case"ClassExpression":case"ClassDeclaration":case"ForOfStatement":case"ClassMethod":case"ClassPrivateMethod":case"StaticBlock":case"TSModuleBlock":break;case"Placeholder":if(s.expectedNode==="BlockStatement")break;default:return!1}return l==null||(0,a.default)(s,l)},r.isSequenceExpression=function(s,l){return!!s&&s.type==="SequenceExpression"&&(l==null||(0,a.default)(s,l))},r.isSpreadElement=function(s,l){return!!s&&s.type==="SpreadElement"&&(l==null||(0,a.default)(s,l))},r.isSpreadProperty=function(s,l){return(0,m.default)("isSpreadProperty","isSpreadElement"),!!s&&s.type==="SpreadProperty"&&(l==null||(0,a.default)(s,l))},r.isStandardized=function(s,l){if(!s)return!1;switch(s.type){case"ArrayExpression":case"AssignmentExpression":case"BinaryExpression":case"InterpreterDirective":case"Directive":case"DirectiveLiteral":case"BlockStatement":case"BreakStatement":case"CallExpression":case"CatchClause":case"ConditionalExpression":case"ContinueStatement":case"DebuggerStatement":case"DoWhileStatement":case"EmptyStatement":case"ExpressionStatement":case"File":case"ForInStatement":case"ForStatement":case"FunctionDeclaration":case"FunctionExpression":case"Identifier":case"IfStatement":case"LabeledStatement":case"StringLiteral":case"NumericLiteral":case"NullLiteral":case"BooleanLiteral":case"RegExpLiteral":case"LogicalExpression":case"MemberExpression":case"NewExpression":case"Program":case"ObjectExpression":case"ObjectMethod":case"ObjectProperty":case"RestElement":case"ReturnStatement":case"SequenceExpression":case"ParenthesizedExpression":case"SwitchCase":case"SwitchStatement":case"ThisExpression":case"ThrowStatement":case"TryStatement":case"UnaryExpression":case"UpdateExpression":case"VariableDeclaration":case"VariableDeclarator":case"WhileStatement":case"WithStatement":case"AssignmentPattern":case"ArrayPattern":case"ArrowFunctionExpression":case"ClassBody":case"ClassExpression":case"ClassDeclaration":case"ExportAllDeclaration":case"ExportDefaultDeclaration":case"ExportNamedDeclaration":case"ExportSpecifier":case"ForOfStatement":case"ImportDeclaration":case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":case"MetaProperty":case"ClassMethod":case"ObjectPattern":case"SpreadElement":case"Super":case"TaggedTemplateExpression":case"TemplateElement":case"TemplateLiteral":case"YieldExpression":case"AwaitExpression":case"Import":case"BigIntLiteral":case"ExportNamespaceSpecifier":case"OptionalMemberExpression":case"OptionalCallExpression":case"ClassProperty":case"ClassAccessorProperty":case"ClassPrivateProperty":case"ClassPrivateMethod":case"PrivateName":case"StaticBlock":break;case"Placeholder":switch(s.expectedNode){case"Identifier":case"StringLiteral":case"BlockStatement":case"ClassBody":break;default:return!1}break;default:return!1}return l==null||(0,a.default)(s,l)},r.isStatement=function(s,l){if(!s)return!1;switch(s.type){case"BlockStatement":case"BreakStatement":case"ContinueStatement":case"DebuggerStatement":case"DoWhileStatement":case"EmptyStatement":case"ExpressionStatement":case"ForInStatement":case"ForStatement":case"FunctionDeclaration":case"IfStatement":case"LabeledStatement":case"ReturnStatement":case"SwitchStatement":case"ThrowStatement":case"TryStatement":case"VariableDeclaration":case"WhileStatement":case"WithStatement":case"ClassDeclaration":case"ExportAllDeclaration":case"ExportDefaultDeclaration":case"ExportNamedDeclaration":case"ForOfStatement":case"ImportDeclaration":case"DeclareClass":case"DeclareFunction":case"DeclareInterface":case"DeclareModule":case"DeclareModuleExports":case"DeclareTypeAlias":case"DeclareOpaqueType":case"DeclareVariable":case"DeclareExportDeclaration":case"DeclareExportAllDeclaration":case"InterfaceDeclaration":case"OpaqueType":case"TypeAlias":case"EnumDeclaration":case"TSDeclareFunction":case"TSInterfaceDeclaration":case"TSTypeAliasDeclaration":case"TSEnumDeclaration":case"TSModuleDeclaration":case"TSImportEqualsDeclaration":case"TSExportAssignment":case"TSNamespaceExportDeclaration":break;case"Placeholder":switch(s.expectedNode){case"Statement":case"Declaration":case"BlockStatement":break;default:return!1}break;default:return!1}return l==null||(0,a.default)(s,l)},r.isStaticBlock=function(s,l){return!!s&&s.type==="StaticBlock"&&(l==null||(0,a.default)(s,l))},r.isStringLiteral=function(s,l){return!!s&&s.type==="StringLiteral"&&(l==null||(0,a.default)(s,l))},r.isStringLiteralTypeAnnotation=function(s,l){return!!s&&s.type==="StringLiteralTypeAnnotation"&&(l==null||(0,a.default)(s,l))},r.isStringTypeAnnotation=function(s,l){return!!s&&s.type==="StringTypeAnnotation"&&(l==null||(0,a.default)(s,l))},r.isSuper=function(s,l){return!!s&&s.type==="Super"&&(l==null||(0,a.default)(s,l))},r.isSwitchCase=function(s,l){return!!s&&s.type==="SwitchCase"&&(l==null||(0,a.default)(s,l))},r.isSwitchStatement=function(s,l){return!!s&&s.type==="SwitchStatement"&&(l==null||(0,a.default)(s,l))},r.isSymbolTypeAnnotation=function(s,l){return!!s&&s.type==="SymbolTypeAnnotation"&&(l==null||(0,a.default)(s,l))},r.isTSAnyKeyword=function(s,l){return!!s&&s.type==="TSAnyKeyword"&&(l==null||(0,a.default)(s,l))},r.isTSArrayType=function(s,l){return!!s&&s.type==="TSArrayType"&&(l==null||(0,a.default)(s,l))},r.isTSAsExpression=function(s,l){return!!s&&s.type==="TSAsExpression"&&(l==null||(0,a.default)(s,l))},r.isTSBaseType=function(s,l){if(!s)return!1;switch(s.type){case"TSAnyKeyword":case"TSBooleanKeyword":case"TSBigIntKeyword":case"TSIntrinsicKeyword":case"TSNeverKeyword":case"TSNullKeyword":case"TSNumberKeyword":case"TSObjectKeyword":case"TSStringKeyword":case"TSSymbolKeyword":case"TSUndefinedKeyword":case"TSUnknownKeyword":case"TSVoidKeyword":case"TSThisType":case"TSLiteralType":break;default:return!1}return l==null||(0,a.default)(s,l)},r.isTSBigIntKeyword=function(s,l){return!!s&&s.type==="TSBigIntKeyword"&&(l==null||(0,a.default)(s,l))},r.isTSBooleanKeyword=function(s,l){return!!s&&s.type==="TSBooleanKeyword"&&(l==null||(0,a.default)(s,l))},r.isTSCallSignatureDeclaration=function(s,l){return!!s&&s.type==="TSCallSignatureDeclaration"&&(l==null||(0,a.default)(s,l))},r.isTSConditionalType=function(s,l){return!!s&&s.type==="TSConditionalType"&&(l==null||(0,a.default)(s,l))},r.isTSConstructSignatureDeclaration=function(s,l){return!!s&&s.type==="TSConstructSignatureDeclaration"&&(l==null||(0,a.default)(s,l))},r.isTSConstructorType=function(s,l){return!!s&&s.type==="TSConstructorType"&&(l==null||(0,a.default)(s,l))},r.isTSDeclareFunction=function(s,l){return!!s&&s.type==="TSDeclareFunction"&&(l==null||(0,a.default)(s,l))},r.isTSDeclareMethod=function(s,l){return!!s&&s.type==="TSDeclareMethod"&&(l==null||(0,a.default)(s,l))},r.isTSEntityName=function(s,l){if(!s)return!1;switch(s.type){case"Identifier":case"TSQualifiedName":break;case"Placeholder":if(s.expectedNode==="Identifier")break;default:return!1}return l==null||(0,a.default)(s,l)},r.isTSEnumDeclaration=function(s,l){return!!s&&s.type==="TSEnumDeclaration"&&(l==null||(0,a.default)(s,l))},r.isTSEnumMember=function(s,l){return!!s&&s.type==="TSEnumMember"&&(l==null||(0,a.default)(s,l))},r.isTSExportAssignment=function(s,l){return!!s&&s.type==="TSExportAssignment"&&(l==null||(0,a.default)(s,l))},r.isTSExpressionWithTypeArguments=function(s,l){return!!s&&s.type==="TSExpressionWithTypeArguments"&&(l==null||(0,a.default)(s,l))},r.isTSExternalModuleReference=function(s,l){return!!s&&s.type==="TSExternalModuleReference"&&(l==null||(0,a.default)(s,l))},r.isTSFunctionType=function(s,l){return!!s&&s.type==="TSFunctionType"&&(l==null||(0,a.default)(s,l))},r.isTSImportEqualsDeclaration=function(s,l){return!!s&&s.type==="TSImportEqualsDeclaration"&&(l==null||(0,a.default)(s,l))},r.isTSImportType=function(s,l){return!!s&&s.type==="TSImportType"&&(l==null||(0,a.default)(s,l))},r.isTSIndexSignature=function(s,l){return!!s&&s.type==="TSIndexSignature"&&(l==null||(0,a.default)(s,l))},r.isTSIndexedAccessType=function(s,l){return!!s&&s.type==="TSIndexedAccessType"&&(l==null||(0,a.default)(s,l))},r.isTSInferType=function(s,l){return!!s&&s.type==="TSInferType"&&(l==null||(0,a.default)(s,l))},r.isTSInstantiationExpression=function(s,l){return!!s&&s.type==="TSInstantiationExpression"&&(l==null||(0,a.default)(s,l))},r.isTSInterfaceBody=function(s,l){return!!s&&s.type==="TSInterfaceBody"&&(l==null||(0,a.default)(s,l))},r.isTSInterfaceDeclaration=function(s,l){return!!s&&s.type==="TSInterfaceDeclaration"&&(l==null||(0,a.default)(s,l))},r.isTSIntersectionType=function(s,l){return!!s&&s.type==="TSIntersectionType"&&(l==null||(0,a.default)(s,l))},r.isTSIntrinsicKeyword=function(s,l){return!!s&&s.type==="TSIntrinsicKeyword"&&(l==null||(0,a.default)(s,l))},r.isTSLiteralType=function(s,l){return!!s&&s.type==="TSLiteralType"&&(l==null||(0,a.default)(s,l))},r.isTSMappedType=function(s,l){return!!s&&s.type==="TSMappedType"&&(l==null||(0,a.default)(s,l))},r.isTSMethodSignature=function(s,l){return!!s&&s.type==="TSMethodSignature"&&(l==null||(0,a.default)(s,l))},r.isTSModuleBlock=function(s,l){return!!s&&s.type==="TSModuleBlock"&&(l==null||(0,a.default)(s,l))},r.isTSModuleDeclaration=function(s,l){return!!s&&s.type==="TSModuleDeclaration"&&(l==null||(0,a.default)(s,l))},r.isTSNamedTupleMember=function(s,l){return!!s&&s.type==="TSNamedTupleMember"&&(l==null||(0,a.default)(s,l))},r.isTSNamespaceExportDeclaration=function(s,l){return!!s&&s.type==="TSNamespaceExportDeclaration"&&(l==null||(0,a.default)(s,l))},r.isTSNeverKeyword=function(s,l){return!!s&&s.type==="TSNeverKeyword"&&(l==null||(0,a.default)(s,l))},r.isTSNonNullExpression=function(s,l){return!!s&&s.type==="TSNonNullExpression"&&(l==null||(0,a.default)(s,l))},r.isTSNullKeyword=function(s,l){return!!s&&s.type==="TSNullKeyword"&&(l==null||(0,a.default)(s,l))},r.isTSNumberKeyword=function(s,l){return!!s&&s.type==="TSNumberKeyword"&&(l==null||(0,a.default)(s,l))},r.isTSObjectKeyword=function(s,l){return!!s&&s.type==="TSObjectKeyword"&&(l==null||(0,a.default)(s,l))},r.isTSOptionalType=function(s,l){return!!s&&s.type==="TSOptionalType"&&(l==null||(0,a.default)(s,l))},r.isTSParameterProperty=function(s,l){return!!s&&s.type==="TSParameterProperty"&&(l==null||(0,a.default)(s,l))},r.isTSParenthesizedType=function(s,l){return!!s&&s.type==="TSParenthesizedType"&&(l==null||(0,a.default)(s,l))},r.isTSPropertySignature=function(s,l){return!!s&&s.type==="TSPropertySignature"&&(l==null||(0,a.default)(s,l))},r.isTSQualifiedName=function(s,l){return!!s&&s.type==="TSQualifiedName"&&(l==null||(0,a.default)(s,l))},r.isTSRestType=function(s,l){return!!s&&s.type==="TSRestType"&&(l==null||(0,a.default)(s,l))},r.isTSSatisfiesExpression=function(s,l){return!!s&&s.type==="TSSatisfiesExpression"&&(l==null||(0,a.default)(s,l))},r.isTSStringKeyword=function(s,l){return!!s&&s.type==="TSStringKeyword"&&(l==null||(0,a.default)(s,l))},r.isTSSymbolKeyword=function(s,l){return!!s&&s.type==="TSSymbolKeyword"&&(l==null||(0,a.default)(s,l))},r.isTSThisType=function(s,l){return!!s&&s.type==="TSThisType"&&(l==null||(0,a.default)(s,l))},r.isTSTupleType=function(s,l){return!!s&&s.type==="TSTupleType"&&(l==null||(0,a.default)(s,l))},r.isTSType=function(s,l){if(!s)return!1;switch(s.type){case"TSAnyKeyword":case"TSBooleanKeyword":case"TSBigIntKeyword":case"TSIntrinsicKeyword":case"TSNeverKeyword":case"TSNullKeyword":case"TSNumberKeyword":case"TSObjectKeyword":case"TSStringKeyword":case"TSSymbolKeyword":case"TSUndefinedKeyword":case"TSUnknownKeyword":case"TSVoidKeyword":case"TSThisType":case"TSFunctionType":case"TSConstructorType":case"TSTypeReference":case"TSTypePredicate":case"TSTypeQuery":case"TSTypeLiteral":case"TSArrayType":case"TSTupleType":case"TSOptionalType":case"TSRestType":case"TSUnionType":case"TSIntersectionType":case"TSConditionalType":case"TSInferType":case"TSParenthesizedType":case"TSTypeOperator":case"TSIndexedAccessType":case"TSMappedType":case"TSLiteralType":case"TSExpressionWithTypeArguments":case"TSImportType":break;default:return!1}return l==null||(0,a.default)(s,l)},r.isTSTypeAliasDeclaration=function(s,l){return!!s&&s.type==="TSTypeAliasDeclaration"&&(l==null||(0,a.default)(s,l))},r.isTSTypeAnnotation=function(s,l){return!!s&&s.type==="TSTypeAnnotation"&&(l==null||(0,a.default)(s,l))},r.isTSTypeAssertion=function(s,l){return!!s&&s.type==="TSTypeAssertion"&&(l==null||(0,a.default)(s,l))},r.isTSTypeElement=function(s,l){if(!s)return!1;switch(s.type){case"TSCallSignatureDeclaration":case"TSConstructSignatureDeclaration":case"TSPropertySignature":case"TSMethodSignature":case"TSIndexSignature":break;default:return!1}return l==null||(0,a.default)(s,l)},r.isTSTypeLiteral=function(s,l){return!!s&&s.type==="TSTypeLiteral"&&(l==null||(0,a.default)(s,l))},r.isTSTypeOperator=function(s,l){return!!s&&s.type==="TSTypeOperator"&&(l==null||(0,a.default)(s,l))},r.isTSTypeParameter=function(s,l){return!!s&&s.type==="TSTypeParameter"&&(l==null||(0,a.default)(s,l))},r.isTSTypeParameterDeclaration=function(s,l){return!!s&&s.type==="TSTypeParameterDeclaration"&&(l==null||(0,a.default)(s,l))},r.isTSTypeParameterInstantiation=function(s,l){return!!s&&s.type==="TSTypeParameterInstantiation"&&(l==null||(0,a.default)(s,l))},r.isTSTypePredicate=function(s,l){return!!s&&s.type==="TSTypePredicate"&&(l==null||(0,a.default)(s,l))},r.isTSTypeQuery=function(s,l){return!!s&&s.type==="TSTypeQuery"&&(l==null||(0,a.default)(s,l))},r.isTSTypeReference=function(s,l){return!!s&&s.type==="TSTypeReference"&&(l==null||(0,a.default)(s,l))},r.isTSUndefinedKeyword=function(s,l){return!!s&&s.type==="TSUndefinedKeyword"&&(l==null||(0,a.default)(s,l))},r.isTSUnionType=function(s,l){return!!s&&s.type==="TSUnionType"&&(l==null||(0,a.default)(s,l))},r.isTSUnknownKeyword=function(s,l){return!!s&&s.type==="TSUnknownKeyword"&&(l==null||(0,a.default)(s,l))},r.isTSVoidKeyword=function(s,l){return!!s&&s.type==="TSVoidKeyword"&&(l==null||(0,a.default)(s,l))},r.isTaggedTemplateExpression=function(s,l){return!!s&&s.type==="TaggedTemplateExpression"&&(l==null||(0,a.default)(s,l))},r.isTemplateElement=function(s,l){return!!s&&s.type==="TemplateElement"&&(l==null||(0,a.default)(s,l))},r.isTemplateLiteral=function(s,l){return!!s&&s.type==="TemplateLiteral"&&(l==null||(0,a.default)(s,l))},r.isTerminatorless=function(s,l){if(!s)return!1;switch(s.type){case"BreakStatement":case"ContinueStatement":case"ReturnStatement":case"ThrowStatement":case"YieldExpression":case"AwaitExpression":break;default:return!1}return l==null||(0,a.default)(s,l)},r.isThisExpression=function(s,l){return!!s&&s.type==="ThisExpression"&&(l==null||(0,a.default)(s,l))},r.isThisTypeAnnotation=function(s,l){return!!s&&s.type==="ThisTypeAnnotation"&&(l==null||(0,a.default)(s,l))},r.isThrowStatement=function(s,l){return!!s&&s.type==="ThrowStatement"&&(l==null||(0,a.default)(s,l))},r.isTopicReference=function(s,l){return!!s&&s.type==="TopicReference"&&(l==null||(0,a.default)(s,l))},r.isTryStatement=function(s,l){return!!s&&s.type==="TryStatement"&&(l==null||(0,a.default)(s,l))},r.isTupleExpression=function(s,l){return!!s&&s.type==="TupleExpression"&&(l==null||(0,a.default)(s,l))},r.isTupleTypeAnnotation=function(s,l){return!!s&&s.type==="TupleTypeAnnotation"&&(l==null||(0,a.default)(s,l))},r.isTypeAlias=function(s,l){return!!s&&s.type==="TypeAlias"&&(l==null||(0,a.default)(s,l))},r.isTypeAnnotation=function(s,l){return!!s&&s.type==="TypeAnnotation"&&(l==null||(0,a.default)(s,l))},r.isTypeCastExpression=function(s,l){return!!s&&s.type==="TypeCastExpression"&&(l==null||(0,a.default)(s,l))},r.isTypeParameter=function(s,l){return!!s&&s.type==="TypeParameter"&&(l==null||(0,a.default)(s,l))},r.isTypeParameterDeclaration=function(s,l){return!!s&&s.type==="TypeParameterDeclaration"&&(l==null||(0,a.default)(s,l))},r.isTypeParameterInstantiation=function(s,l){return!!s&&s.type==="TypeParameterInstantiation"&&(l==null||(0,a.default)(s,l))},r.isTypeScript=function(s,l){if(!s)return!1;switch(s.type){case"TSParameterProperty":case"TSDeclareFunction":case"TSDeclareMethod":case"TSQualifiedName":case"TSCallSignatureDeclaration":case"TSConstructSignatureDeclaration":case"TSPropertySignature":case"TSMethodSignature":case"TSIndexSignature":case"TSAnyKeyword":case"TSBooleanKeyword":case"TSBigIntKeyword":case"TSIntrinsicKeyword":case"TSNeverKeyword":case"TSNullKeyword":case"TSNumberKeyword":case"TSObjectKeyword":case"TSStringKeyword":case"TSSymbolKeyword":case"TSUndefinedKeyword":case"TSUnknownKeyword":case"TSVoidKeyword":case"TSThisType":case"TSFunctionType":case"TSConstructorType":case"TSTypeReference":case"TSTypePredicate":case"TSTypeQuery":case"TSTypeLiteral":case"TSArrayType":case"TSTupleType":case"TSOptionalType":case"TSRestType":case"TSNamedTupleMember":case"TSUnionType":case"TSIntersectionType":case"TSConditionalType":case"TSInferType":case"TSParenthesizedType":case"TSTypeOperator":case"TSIndexedAccessType":case"TSMappedType":case"TSLiteralType":case"TSExpressionWithTypeArguments":case"TSInterfaceDeclaration":case"TSInterfaceBody":case"TSTypeAliasDeclaration":case"TSInstantiationExpression":case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSEnumDeclaration":case"TSEnumMember":case"TSModuleDeclaration":case"TSModuleBlock":case"TSImportType":case"TSImportEqualsDeclaration":case"TSExternalModuleReference":case"TSNonNullExpression":case"TSExportAssignment":case"TSNamespaceExportDeclaration":case"TSTypeAnnotation":case"TSTypeParameterInstantiation":case"TSTypeParameterDeclaration":case"TSTypeParameter":break;default:return!1}return l==null||(0,a.default)(s,l)},r.isTypeofTypeAnnotation=function(s,l){return!!s&&s.type==="TypeofTypeAnnotation"&&(l==null||(0,a.default)(s,l))},r.isUnaryExpression=function(s,l){return!!s&&s.type==="UnaryExpression"&&(l==null||(0,a.default)(s,l))},r.isUnaryLike=function(s,l){if(!s)return!1;switch(s.type){case"UnaryExpression":case"SpreadElement":break;default:return!1}return l==null||(0,a.default)(s,l)},r.isUnionTypeAnnotation=function(s,l){return!!s&&s.type==="UnionTypeAnnotation"&&(l==null||(0,a.default)(s,l))},r.isUpdateExpression=function(s,l){return!!s&&s.type==="UpdateExpression"&&(l==null||(0,a.default)(s,l))},r.isUserWhitespacable=function(s,l){if(!s)return!1;switch(s.type){case"ObjectMethod":case"ObjectProperty":case"ObjectTypeInternalSlot":case"ObjectTypeCallProperty":case"ObjectTypeIndexer":case"ObjectTypeProperty":case"ObjectTypeSpreadProperty":break;default:return!1}return l==null||(0,a.default)(s,l)},r.isV8IntrinsicIdentifier=function(s,l){return!!s&&s.type==="V8IntrinsicIdentifier"&&(l==null||(0,a.default)(s,l))},r.isVariableDeclaration=function(s,l){return!!s&&s.type==="VariableDeclaration"&&(l==null||(0,a.default)(s,l))},r.isVariableDeclarator=function(s,l){return!!s&&s.type==="VariableDeclarator"&&(l==null||(0,a.default)(s,l))},r.isVariance=function(s,l){return!!s&&s.type==="Variance"&&(l==null||(0,a.default)(s,l))},r.isVoidTypeAnnotation=function(s,l){return!!s&&s.type==="VoidTypeAnnotation"&&(l==null||(0,a.default)(s,l))},r.isWhile=function(s,l){if(!s)return!1;switch(s.type){case"DoWhileStatement":case"WhileStatement":break;default:return!1}return l==null||(0,a.default)(s,l)},r.isWhileStatement=function(s,l){return!!s&&s.type==="WhileStatement"&&(l==null||(0,a.default)(s,l))},r.isWithStatement=function(s,l){return!!s&&s.type==="WithStatement"&&(l==null||(0,a.default)(s,l))},r.isYieldExpression=function(s,l){return!!s&&s.type==="YieldExpression"&&(l==null||(0,a.default)(s,l))};var a=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/utils/shallowEqual.js"),m=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/utils/deprecationWarning.js");function d(s,l){if(!s)return!1;switch(s.type){case"ExportAllDeclaration":case"ExportDefaultDeclaration":case"ExportNamedDeclaration":case"ImportDeclaration":break;default:return!1}return l==null||(0,a.default)(s,l)}},"./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/validators/is.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(l,f,p){return f?(0,m.default)(f.type,l)?p===void 0||(0,a.default)(f,p):!p&&f.type==="Placeholder"&&l in s.FLIPPED_ALIAS_KEYS&&(0,d.default)(f.expectedNode,l):!1};var a=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/utils/shallowEqual.js"),m=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/validators/isType.js"),d=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/validators/isPlaceholderType.js"),s=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/definitions/index.js")},"./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/validators/isBinding.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(m,d,s){if(s&&m.type==="Identifier"&&d.type==="ObjectProperty"&&s.type==="ObjectExpression")return!1;let l=a.default.keys[d.type];if(l)for(let f=0;f<l.length;f++){let p=d[l[f]];if(Array.isArray(p)){if(p.indexOf(m)>=0)return!0}else if(p===m)return!0}return!1};var a=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/retrievers/getBindingIdentifiers.js")},"./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/validators/isBlockScoped.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(d){return(0,a.isFunctionDeclaration)(d)||(0,a.isClassDeclaration)(d)||(0,m.default)(d)};var a=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/validators/generated/index.js"),m=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/validators/isLet.js")},"./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/validators/isImmutable.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(d){return(0,a.default)(d.type,"Immutable")?!0:(0,m.isIdentifier)(d)?d.name==="undefined":!1};var a=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/validators/isType.js"),m=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/validators/generated/index.js")},"./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/validators/isLet.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(d){return(0,a.isVariableDeclaration)(d)&&(d.kind!=="var"||d[m.BLOCK_SCOPED_SYMBOL])};var a=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/validators/generated/index.js"),m=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/constants/index.js")},"./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/validators/isNode.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(m){return!(!m||!a.VISITOR_KEYS[m.type])};var a=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/definitions/index.js")},"./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/validators/isNodesEquivalent.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function m(d,s){if(typeof d!="object"||typeof s!="object"||d==null||s==null)return d===s;if(d.type!==s.type)return!1;let l=Object.keys(a.NODE_FIELDS[d.type]||d.type),f=a.VISITOR_KEYS[d.type];for(let p of l){let h=d[p],y=s[p];if(typeof h!=typeof y)return!1;if(h!=null||y!=null){if(h==null||y==null)return!1;if(Array.isArray(h)){if(!Array.isArray(y)||h.length!==y.length)return!1;for(let b=0;b<h.length;b++)if(!m(h[b],y[b]))return!1}else if(typeof h!="object"||f!=null&&f.includes(p)){if(!m(h,y))return!1}else for(let b of Object.keys(h))if(h[b]!==y[b])return!1}}return!0};var a=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/definitions/index.js")},"./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/validators/isPlaceholderType.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(m,d){if(m===d)return!0;let s=a.PLACEHOLDERS_ALIAS[m];if(s){for(let l of s)if(d===l)return!0}return!1};var a=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/definitions/index.js")},"./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/validators/isReferenced.js":(o,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(u,a,m){switch(a.type){case"MemberExpression":case"OptionalMemberExpression":return a.property===u?!!a.computed:a.object===u;case"JSXMemberExpression":return a.object===u;case"VariableDeclarator":return a.init===u;case"ArrowFunctionExpression":return a.body===u;case"PrivateName":case"LabeledStatement":case"CatchClause":case"RestElement":case"BreakStatement":case"ContinueStatement":case"FunctionDeclaration":case"FunctionExpression":case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":case"ImportAttribute":case"JSXAttribute":case"ObjectPattern":case"ArrayPattern":case"MetaProperty":return!1;case"ClassMethod":case"ClassPrivateMethod":case"ObjectMethod":return a.key===u&&!!a.computed;case"ObjectProperty":return a.key===u?!!a.computed:!m||m.type!=="ObjectPattern";case"ClassProperty":case"ClassAccessorProperty":case"TSPropertySignature":return a.key!==u||!!a.computed;case"ClassPrivateProperty":case"ObjectTypeProperty":return a.key!==u;case"ClassDeclaration":case"ClassExpression":return a.superClass===u;case"AssignmentExpression":case"AssignmentPattern":return a.right===u;case"ExportSpecifier":return(m==null||!m.source)&&a.local===u;case"TSEnumMember":return a.id!==u}return!0}},"./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/validators/isScope.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(m,d){return(0,a.isBlockStatement)(m)&&((0,a.isFunction)(d)||(0,a.isCatchClause)(d))?!1:(0,a.isPattern)(m)&&((0,a.isFunction)(d)||(0,a.isCatchClause)(d))?!0:(0,a.isScopable)(m)};var a=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/validators/generated/index.js")},"./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/validators/isSpecifierDefault.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(m){return(0,a.isImportDefaultSpecifier)(m)||(0,a.isIdentifier)(m.imported||m.exported,{name:"default"})};var a=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/validators/generated/index.js")},"./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/validators/isType.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(m,d){if(m===d)return!0;if(m==null||a.ALIAS_KEYS[d])return!1;let s=a.FLIPPED_ALIAS_KEYS[d];if(s){if(s[0]===m)return!0;for(let l of s)if(m===l)return!0}return!1};var a=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/definitions/index.js")},"./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/validators/isValidES3Identifier.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(d){return(0,a.default)(d)&&!m.has(d)};var a=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/validators/isValidIdentifier.js");let m=new Set(["abstract","boolean","byte","char","double","enum","final","float","goto","implements","int","interface","long","native","package","private","protected","public","short","static","synchronized","throws","transient","volatile"])},"./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/validators/isValidIdentifier.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(m,d=!0){return typeof m!="string"||d&&((0,a.isKeyword)(m)||(0,a.isStrictReservedWord)(m,!0))?!1:(0,a.isIdentifierName)(m)};var a=u("./node_modules/.pnpm/@babel+helper-validator-identifier@7.22.15/node_modules/@babel/helper-validator-identifier/lib/index.js")},"./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/validators/isVar.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(d){return(0,a.isVariableDeclaration)(d,{kind:"var"})&&!d[m.BLOCK_SCOPED_SYMBOL]};var a=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/validators/generated/index.js"),m=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/constants/index.js")},"./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/validators/matchesPattern.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(m,d,s){if(!(0,a.isMemberExpression)(m))return!1;let l=Array.isArray(d)?d:d.split("."),f=[],p;for(p=m;(0,a.isMemberExpression)(p);p=p.object)f.push(p.property);if(f.push(p),f.length<l.length||!s&&f.length>l.length)return!1;for(let h=0,y=f.length-1;h<l.length;h++,y--){let b=f[y],E;if((0,a.isIdentifier)(b))E=b.name;else if((0,a.isStringLiteral)(b))E=b.value;else{if(!(0,a.isThisExpression)(b))return!1;E="this"}if(l[h]!==E)return!1}return!0};var a=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/validators/generated/index.js")},"./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/validators/react/isCompatTag.js":(o,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(u){return!!u&&/^[a-z]/.test(u)}},"./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/validators/react/isReactComponent.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var a=(0,u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/validators/buildMatchMemberExpression.js").default)("React.Component");r.default=a},"./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/validators/validate.js":(o,r,u)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(s,l,f){if(!s)return;let p=a.NODE_FIELDS[s.type];if(!p)return;let h=p[l];m(s,l,f,h),d(s,l,f)},r.validateChild=d,r.validateField=m;var a=u("./node_modules/.pnpm/@babel+types@7.22.15/node_modules/@babel/types/lib/definitions/index.js");function m(s,l,f,p){p!=null&&p.validate&&(p.optional&&f==null||p.validate(s,l,f))}function d(s,l,f){if(f==null)return;let p=a.NODE_PARENT_VALIDATIONS[f.type];p&&p(s,l,f)}},"./node_modules/.pnpm/json5@2.2.3/node_modules/json5/dist/index.mjs":(o,r,u)=>{"use strict";u.r(r),u.d(r,{default:()=>F});var a={Space_Separator:/[\u1680\u2000-\u200A\u202F\u205F\u3000]/,ID_Start:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE83\uDE86-\uDE89\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]/,ID_Continue:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u09FC\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9-\u0AFF\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D00-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF9\u1D00-\u1DF9\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDE00-\uDE3E\uDE47\uDE50-\uDE83\uDE86-\uDE99\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD47\uDD50-\uDD59]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/},m={isSpaceSeparator:W=>typeof W=="string"&&a.Space_Separator.test(W),isIdStartChar:W=>typeof W=="string"&&(W>="a"&&W<="z"||W>="A"&&W<="Z"||W==="$"||W==="_"||a.ID_Start.test(W)),isIdContinueChar:W=>typeof W=="string"&&(W>="a"&&W<="z"||W>="A"&&W<="Z"||W>="0"&&W<="9"||W==="$"||W==="_"||W==="\u200C"||W==="\u200D"||a.ID_Continue.test(W)),isDigit:W=>typeof W=="string"&&/[0-9]/.test(W),isHexDigit:W=>typeof W=="string"&&/[0-9A-Fa-f]/.test(W)};let d,s,l,f,p,h,y,b,E;function v(W,V,Q){let ne=W[V];if(ne!=null&&typeof ne=="object")if(Array.isArray(ne))for(let ue=0;ue<ne.length;ue++){let de=String(ue),Ae=v(ne,de,Q);Ae===void 0?delete ne[de]:Object.defineProperty(ne,de,{value:Ae,writable:!0,enumerable:!0,configurable:!0})}else for(let ue in ne){let de=v(ne,ue,Q);de===void 0?delete ne[ue]:Object.defineProperty(ne,ue,{value:de,writable:!0,enumerable:!0,configurable:!0})}return Q.call(W,V,ne)}let S,w,A,x,C;function P(){for(S="default",w="",A=!1,x=1;;){C=D();let W=I[S]();if(W)return W}}function D(){if(d[f])return String.fromCodePoint(d.codePointAt(f))}function L(){let W=D();return W===`
|
|
`?(p++,h=0):W?h+=W.length:h++,W&&(f+=W.length),W}let I={default(){switch(C){case" ":case"\v":case"\f":case" ":case"\xA0":case"\uFEFF":case`
|
|
`:case"\r":case"\u2028":case"\u2029":return void L();case"/":return L(),void(S="comment");case void 0:return L(),j("eof")}if(!m.isSpaceSeparator(C))return I[s]();L()},comment(){switch(C){case"*":return L(),void(S="multiLineComment");case"/":return L(),void(S="singleLineComment")}throw G(L())},multiLineComment(){switch(C){case"*":return L(),void(S="multiLineCommentAsterisk");case void 0:throw G(L())}L()},multiLineCommentAsterisk(){switch(C){case"*":return void L();case"/":return L(),void(S="default");case void 0:throw G(L())}L(),S="multiLineComment"},singleLineComment(){switch(C){case`
|
|
`:case"\r":case"\u2028":case"\u2029":return L(),void(S="default");case void 0:return L(),j("eof")}L()},value(){switch(C){case"{":case"[":return j("punctuator",L());case"n":return L(),M("ull"),j("null",null);case"t":return L(),M("rue"),j("boolean",!0);case"f":return L(),M("alse"),j("boolean",!1);case"-":case"+":return L()==="-"&&(x=-1),void(S="sign");case".":return w=L(),void(S="decimalPointLeading");case"0":return w=L(),void(S="zero");case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":return w=L(),void(S="decimalInteger");case"I":return L(),M("nfinity"),j("numeric",1/0);case"N":return L(),M("aN"),j("numeric",NaN);case'"':case"'":return A=L()==='"',w="",void(S="string")}throw G(L())},identifierNameStartEscape(){if(C!=="u")throw G(L());L();let W=R();switch(W){case"$":case"_":break;default:if(!m.isIdStartChar(W))throw B()}w+=W,S="identifierName"},identifierName(){switch(C){case"$":case"_":case"\u200C":case"\u200D":return void(w+=L());case"\\":return L(),void(S="identifierNameEscape")}if(!m.isIdContinueChar(C))return j("identifier",w);w+=L()},identifierNameEscape(){if(C!=="u")throw G(L());L();let W=R();switch(W){case"$":case"_":case"\u200C":case"\u200D":break;default:if(!m.isIdContinueChar(W))throw B()}w+=W,S="identifierName"},sign(){switch(C){case".":return w=L(),void(S="decimalPointLeading");case"0":return w=L(),void(S="zero");case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":return w=L(),void(S="decimalInteger");case"I":return L(),M("nfinity"),j("numeric",x*(1/0));case"N":return L(),M("aN"),j("numeric",NaN)}throw G(L())},zero(){switch(C){case".":return w+=L(),void(S="decimalPoint");case"e":case"E":return w+=L(),void(S="decimalExponent");case"x":case"X":return w+=L(),void(S="hexadecimal")}return j("numeric",0*x)},decimalInteger(){switch(C){case".":return w+=L(),void(S="decimalPoint");case"e":case"E":return w+=L(),void(S="decimalExponent")}if(!m.isDigit(C))return j("numeric",x*Number(w));w+=L()},decimalPointLeading(){if(m.isDigit(C))return w+=L(),void(S="decimalFraction");throw G(L())},decimalPoint(){switch(C){case"e":case"E":return w+=L(),void(S="decimalExponent")}return m.isDigit(C)?(w+=L(),void(S="decimalFraction")):j("numeric",x*Number(w))},decimalFraction(){switch(C){case"e":case"E":return w+=L(),void(S="decimalExponent")}if(!m.isDigit(C))return j("numeric",x*Number(w));w+=L()},decimalExponent(){switch(C){case"+":case"-":return w+=L(),void(S="decimalExponentSign")}if(m.isDigit(C))return w+=L(),void(S="decimalExponentInteger");throw G(L())},decimalExponentSign(){if(m.isDigit(C))return w+=L(),void(S="decimalExponentInteger");throw G(L())},decimalExponentInteger(){if(!m.isDigit(C))return j("numeric",x*Number(w));w+=L()},hexadecimal(){if(m.isHexDigit(C))return w+=L(),void(S="hexadecimalInteger");throw G(L())},hexadecimalInteger(){if(!m.isHexDigit(C))return j("numeric",x*Number(w));w+=L()},string(){switch(C){case"\\":return L(),void(w+=function(){switch(D()){case"b":return L(),"\b";case"f":return L(),"\f";case"n":return L(),`
|
|
`;case"r":return L(),"\r";case"t":return L()," ";case"v":return L(),"\v";case"0":if(L(),m.isDigit(D()))throw G(L());return"\0";case"x":return L(),function(){let W="",V=D();if(!m.isHexDigit(V)||(W+=L(),V=D(),!m.isHexDigit(V)))throw G(L());return W+=L(),String.fromCodePoint(parseInt(W,16))}();case"u":return L(),R();case`
|
|
`:case"\u2028":case"\u2029":return L(),"";case"\r":return L(),D()===`
|
|
`&&L(),"";case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":case void 0:throw G(L())}return L()}());case'"':return A?(L(),j("string",w)):void(w+=L());case"'":return A?void(w+=L()):(L(),j("string",w));case`
|
|
`:case"\r":throw G(L());case"\u2028":case"\u2029":(function(W){console.warn(`JSON5: '${N(W)}' in strings is not valid ECMAScript; consider escaping`)})(C);break;case void 0:throw G(L())}w+=L()},start(){switch(C){case"{":case"[":return j("punctuator",L())}S="value"},beforePropertyName(){switch(C){case"$":case"_":return w=L(),void(S="identifierName");case"\\":return L(),void(S="identifierNameStartEscape");case"}":return j("punctuator",L());case'"':case"'":return A=L()==='"',void(S="string")}if(m.isIdStartChar(C))return w+=L(),void(S="identifierName");throw G(L())},afterPropertyName(){if(C===":")return j("punctuator",L());throw G(L())},beforePropertyValue(){S="value"},afterPropertyValue(){switch(C){case",":case"}":return j("punctuator",L())}throw G(L())},beforeArrayValue(){if(C==="]")return j("punctuator",L());S="value"},afterArrayValue(){switch(C){case",":case"]":return j("punctuator",L())}throw G(L())},end(){throw G(L())}};function j(W,V){return{type:W,value:V,line:p,column:h}}function M(W){for(let V of W){if(D()!==V)throw G(L());L()}}function R(){let W="",V=4;for(;V-- >0;){let Q=D();if(!m.isHexDigit(Q))throw G(L());W+=L()}return String.fromCodePoint(parseInt(W,16))}let z={start(){if(y.type==="eof")throw U();Y()},beforePropertyName(){switch(y.type){case"identifier":case"string":return b=y.value,void(s="afterPropertyName");case"punctuator":return void $();case"eof":throw U()}},afterPropertyName(){if(y.type==="eof")throw U();s="beforePropertyValue"},beforePropertyValue(){if(y.type==="eof")throw U();Y()},beforeArrayValue(){if(y.type==="eof")throw U();y.type!=="punctuator"||y.value!=="]"?Y():$()},afterPropertyValue(){if(y.type==="eof")throw U();switch(y.value){case",":return void(s="beforePropertyName");case"}":$()}},afterArrayValue(){if(y.type==="eof")throw U();switch(y.value){case",":return void(s="beforeArrayValue");case"]":$()}},end(){}};function Y(){let W;switch(y.type){case"punctuator":switch(y.value){case"{":W={};break;case"[":W=[]}break;case"null":case"boolean":case"numeric":case"string":W=y.value}if(E===void 0)E=W;else{let V=l[l.length-1];Array.isArray(V)?V.push(W):Object.defineProperty(V,b,{value:W,writable:!0,enumerable:!0,configurable:!0})}if(W!==null&&typeof W=="object")l.push(W),s=Array.isArray(W)?"beforeArrayValue":"beforePropertyName";else{let V=l[l.length-1];s=V==null?"end":Array.isArray(V)?"afterArrayValue":"afterPropertyValue"}}function $(){l.pop();let W=l[l.length-1];s=W==null?"end":Array.isArray(W)?"afterArrayValue":"afterPropertyValue"}function G(W){return X(W===void 0?`JSON5: invalid end of input at ${p}:${h}`:`JSON5: invalid character '${N(W)}' at ${p}:${h}`)}function U(){return X(`JSON5: invalid end of input at ${p}:${h}`)}function B(){return h-=5,X(`JSON5: invalid identifier character at ${p}:${h}`)}function N(W){let V={"'":"\\'",'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r"," ":"\\t","\v":"\\v","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"};if(V[W])return V[W];if(W<" "){let Q=W.charCodeAt(0).toString(16);return"\\x"+("00"+Q).substring(Q.length)}return W}function X(W){let V=new SyntaxError(W);return V.lineNumber=p,V.columnNumber=h,V}let F={parse:function(W,V){d=String(W),s="start",l=[],f=0,p=1,h=0,y=void 0,b=void 0,E=void 0;do y=P(),z[s]();while(y.type!=="eof");return typeof V=="function"?v({"":E},"",V):E},stringify:function(W,V,Q){let ne=[],ue,de,Ae,Oe="",Me="";if(V==null||typeof V!="object"||Array.isArray(V)||(Q=V.space,Ae=V.quote,V=V.replacer),typeof V=="function")de=V;else if(Array.isArray(V)){ue=[];for(let be of V){let Ee;typeof be=="string"?Ee=be:(typeof be=="number"||be instanceof String||be instanceof Number)&&(Ee=String(be)),Ee!==void 0&&ue.indexOf(Ee)<0&&ue.push(Ee)}}return Q instanceof Number?Q=Number(Q):Q instanceof String&&(Q=String(Q)),typeof Q=="number"?Q>0&&(Q=Math.min(10,Math.floor(Q)),Me=" ".substr(0,Q)):typeof Q=="string"&&(Me=Q.substr(0,10)),ae("",{"":W});function ae(be,Ee){let oe=Ee[be];switch(oe!=null&&(typeof oe.toJSON5=="function"?oe=oe.toJSON5(be):typeof oe.toJSON=="function"&&(oe=oe.toJSON(be))),de&&(oe=de.call(Ee,be,oe)),oe instanceof Number?oe=Number(oe):oe instanceof String?oe=String(oe):oe instanceof Boolean&&(oe=oe.valueOf()),oe){case null:return"null";case!0:return"true";case!1:return"false"}return typeof oe=="string"?se(oe):typeof oe=="number"?String(oe):typeof oe=="object"?Array.isArray(oe)?function(J){if(ne.indexOf(J)>=0)throw TypeError("Converting circular structure to JSON5");ne.push(J);let De=Oe;Oe+=Me;let Ke,ke=[];for(let Qe=0;Qe<J.length;Qe++){let pt=ae(String(Qe),J);ke.push(pt!==void 0?pt:"null")}if(ke.length===0)Ke="[]";else if(Me==="")Ke="["+ke.join(",")+"]";else{let Qe=`,
|
|
`+Oe,pt=ke.join(Qe);Ke=`[
|
|
`+Oe+pt+`,
|
|
`+De+"]"}return ne.pop(),Oe=De,Ke}(oe):function(J){if(ne.indexOf(J)>=0)throw TypeError("Converting circular structure to JSON5");ne.push(J);let De=Oe;Oe+=Me;let Ke,ke=ue||Object.keys(J),Qe=[];for(let pt of ke){let dt=ae(pt,J);if(dt!==void 0){let Ue=ye(pt)+":";Me!==""&&(Ue+=" "),Ue+=dt,Qe.push(Ue)}}if(Qe.length===0)Ke="{}";else{let pt;if(Me==="")pt=Qe.join(","),Ke="{"+pt+"}";else{let dt=`,
|
|
`+Oe;pt=Qe.join(dt),Ke=`{
|
|
`+Oe+pt+`,
|
|
`+De+"}"}}return ne.pop(),Oe=De,Ke}(oe):void 0}function se(be){let Ee={"'":.1,'"':.2},oe={"'":"\\'",'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r"," ":"\\t","\v":"\\v","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"},J="";for(let Ke=0;Ke<be.length;Ke++){let ke=be[Ke];switch(ke){case"'":case'"':Ee[ke]++,J+=ke;continue;case"\0":if(m.isDigit(be[Ke+1])){J+="\\x00";continue}}if(oe[ke])J+=oe[ke];else if(ke<" "){let Qe=ke.charCodeAt(0).toString(16);J+="\\x"+("00"+Qe).substring(Qe.length)}else J+=ke}let De=Ae||Object.keys(Ee).reduce((Ke,ke)=>Ee[Ke]<Ee[ke]?Ke:ke);return J=J.replace(new RegExp(De,"g"),oe[De]),De+J+De}function ye(be){if(be.length===0)return se(be);let Ee=String.fromCodePoint(be.codePointAt(0));if(!m.isIdStartChar(Ee))return se(be);for(let oe=Ee.length;oe<be.length;oe++)if(!m.isIdContinueChar(String.fromCodePoint(be.codePointAt(oe))))return se(be);return be}}}},"./node_modules/.pnpm/@babel+preset-typescript@7.22.15_@babel+core@7.22.15/node_modules/@babel/preset-typescript/package.json":o=>{"use strict";o.exports=JSON.parse('{"name":"@babel/preset-typescript","version":"7.22.15","description":"Babel preset for TypeScript.","repository":{"type":"git","url":"https://github.com/babel/babel.git","directory":"packages/babel-preset-typescript"},"license":"MIT","publishConfig":{"access":"public"},"main":"./lib/index.js","keywords":["babel-preset","typescript"],"dependencies":{"@babel/helper-plugin-utils":"^7.22.5","@babel/helper-validator-option":"^7.22.15","@babel/plugin-syntax-jsx":"^7.22.5","@babel/plugin-transform-modules-commonjs":"^7.22.15","@babel/plugin-transform-typescript":"^7.22.15"},"peerDependencies":{"@babel/core":"^7.0.0-0"},"devDependencies":{"@babel/core":"^7.22.15","@babel/helper-plugin-test-runner":"^7.22.5"},"homepage":"https://babel.dev/docs/en/next/babel-preset-typescript","bugs":"https://github.com/babel/babel/issues?utf8=%E2%9C%93&q=is%3Aissue+label%3A%22area%3A%20typescript%22+is%3Aopen","engines":{"node":">=6.9.0"},"author":"The Babel Team (https://babel.dev/team)","type":"commonjs"}')},"./node_modules/.pnpm/globals@11.12.0/node_modules/globals/globals.json":o=>{"use strict";o.exports=JSON.parse('{"builtin":{"Array":false,"ArrayBuffer":false,"Atomics":false,"BigInt":false,"BigInt64Array":false,"BigUint64Array":false,"Boolean":false,"constructor":false,"DataView":false,"Date":false,"decodeURI":false,"decodeURIComponent":false,"encodeURI":false,"encodeURIComponent":false,"Error":false,"escape":false,"eval":false,"EvalError":false,"Float32Array":false,"Float64Array":false,"Function":false,"globalThis":false,"hasOwnProperty":false,"Infinity":false,"Int16Array":false,"Int32Array":false,"Int8Array":false,"isFinite":false,"isNaN":false,"isPrototypeOf":false,"JSON":false,"Map":false,"Math":false,"NaN":false,"Number":false,"Object":false,"parseFloat":false,"parseInt":false,"Promise":false,"propertyIsEnumerable":false,"Proxy":false,"RangeError":false,"ReferenceError":false,"Reflect":false,"RegExp":false,"Set":false,"SharedArrayBuffer":false,"String":false,"Symbol":false,"SyntaxError":false,"toLocaleString":false,"toString":false,"TypeError":false,"Uint16Array":false,"Uint32Array":false,"Uint8Array":false,"Uint8ClampedArray":false,"undefined":false,"unescape":false,"URIError":false,"valueOf":false,"WeakMap":false,"WeakSet":false},"es5":{"Array":false,"Boolean":false,"constructor":false,"Date":false,"decodeURI":false,"decodeURIComponent":false,"encodeURI":false,"encodeURIComponent":false,"Error":false,"escape":false,"eval":false,"EvalError":false,"Function":false,"hasOwnProperty":false,"Infinity":false,"isFinite":false,"isNaN":false,"isPrototypeOf":false,"JSON":false,"Math":false,"NaN":false,"Number":false,"Object":false,"parseFloat":false,"parseInt":false,"propertyIsEnumerable":false,"RangeError":false,"ReferenceError":false,"RegExp":false,"String":false,"SyntaxError":false,"toLocaleString":false,"toString":false,"TypeError":false,"undefined":false,"unescape":false,"URIError":false,"valueOf":false},"es2015":{"Array":false,"ArrayBuffer":false,"Boolean":false,"constructor":false,"DataView":false,"Date":false,"decodeURI":false,"decodeURIComponent":false,"encodeURI":false,"encodeURIComponent":false,"Error":false,"escape":false,"eval":false,"EvalError":false,"Float32Array":false,"Float64Array":false,"Function":false,"hasOwnProperty":false,"Infinity":false,"Int16Array":false,"Int32Array":false,"Int8Array":false,"isFinite":false,"isNaN":false,"isPrototypeOf":false,"JSON":false,"Map":false,"Math":false,"NaN":false,"Number":false,"Object":false,"parseFloat":false,"parseInt":false,"Promise":false,"propertyIsEnumerable":false,"Proxy":false,"RangeError":false,"ReferenceError":false,"Reflect":false,"RegExp":false,"Set":false,"String":false,"Symbol":false,"SyntaxError":false,"toLocaleString":false,"toString":false,"TypeError":false,"Uint16Array":false,"Uint32Array":false,"Uint8Array":false,"Uint8ClampedArray":false,"undefined":false,"unescape":false,"URIError":false,"valueOf":false,"WeakMap":false,"WeakSet":false},"es2017":{"Array":false,"ArrayBuffer":false,"Atomics":false,"Boolean":false,"constructor":false,"DataView":false,"Date":false,"decodeURI":false,"decodeURIComponent":false,"encodeURI":false,"encodeURIComponent":false,"Error":false,"escape":false,"eval":false,"EvalError":false,"Float32Array":false,"Float64Array":false,"Function":false,"hasOwnProperty":false,"Infinity":false,"Int16Array":false,"Int32Array":false,"Int8Array":false,"isFinite":false,"isNaN":false,"isPrototypeOf":false,"JSON":false,"Map":false,"Math":false,"NaN":false,"Number":false,"Object":false,"parseFloat":false,"parseInt":false,"Promise":false,"propertyIsEnumerable":false,"Proxy":false,"RangeError":false,"ReferenceError":false,"Reflect":false,"RegExp":false,"Set":false,"SharedArrayBuffer":false,"String":false,"Symbol":false,"SyntaxError":false,"toLocaleString":false,"toString":false,"TypeError":false,"Uint16Array":false,"Uint32Array":false,"Uint8Array":false,"Uint8ClampedArray":false,"undefined":false,"unescape":false,"URIError":false,"valueOf":false,"WeakMap":false,"WeakSet":false},"browser":{"AbortController":false,"AbortSignal":false,"addEventListener":false,"alert":false,"AnalyserNode":false,"Animation":false,"AnimationEffectReadOnly":false,"AnimationEffectTiming":false,"AnimationEffectTimingReadOnly":false,"AnimationEvent":false,"AnimationPlaybackEvent":false,"AnimationTimeline":false,"applicationCache":false,"ApplicationCache":false,"ApplicationCacheErrorEvent":false,"atob":false,"Attr":false,"Audio":false,"AudioBuffer":false,"AudioBufferSourceNode":false,"AudioContext":false,"AudioDestinationNode":false,"AudioListener":false,"AudioNode":false,"AudioParam":false,"AudioProcessingEvent":false,"AudioScheduledSourceNode":false,"AudioWorkletGlobalScope ":false,"AudioWorkletNode":false,"AudioWorkletProcessor":false,"BarProp":false,"BaseAudioContext":false,"BatteryManager":false,"BeforeUnloadEvent":false,"BiquadFilterNode":false,"Blob":false,"BlobEvent":false,"blur":false,"BroadcastChannel":false,"btoa":false,"BudgetService":false,"ByteLengthQueuingStrategy":false,"Cache":false,"caches":false,"CacheStorage":false,"cancelAnimationFrame":false,"cancelIdleCallback":false,"CanvasCaptureMediaStreamTrack":false,"CanvasGradient":false,"CanvasPattern":false,"CanvasRenderingContext2D":false,"ChannelMergerNode":false,"ChannelSplitterNode":false,"CharacterData":false,"clearInterval":false,"clearTimeout":false,"clientInformation":false,"ClipboardEvent":false,"close":false,"closed":false,"CloseEvent":false,"Comment":false,"CompositionEvent":false,"confirm":false,"console":false,"ConstantSourceNode":false,"ConvolverNode":false,"CountQueuingStrategy":false,"createImageBitmap":false,"Credential":false,"CredentialsContainer":false,"crypto":false,"Crypto":false,"CryptoKey":false,"CSS":false,"CSSConditionRule":false,"CSSFontFaceRule":false,"CSSGroupingRule":false,"CSSImportRule":false,"CSSKeyframeRule":false,"CSSKeyframesRule":false,"CSSMediaRule":false,"CSSNamespaceRule":false,"CSSPageRule":false,"CSSRule":false,"CSSRuleList":false,"CSSStyleDeclaration":false,"CSSStyleRule":false,"CSSStyleSheet":false,"CSSSupportsRule":false,"CustomElementRegistry":false,"customElements":false,"CustomEvent":false,"DataTransfer":false,"DataTransferItem":false,"DataTransferItemList":false,"defaultstatus":false,"defaultStatus":false,"DelayNode":false,"DeviceMotionEvent":false,"DeviceOrientationEvent":false,"devicePixelRatio":false,"dispatchEvent":false,"document":false,"Document":false,"DocumentFragment":false,"DocumentType":false,"DOMError":false,"DOMException":false,"DOMImplementation":false,"DOMMatrix":false,"DOMMatrixReadOnly":false,"DOMParser":false,"DOMPoint":false,"DOMPointReadOnly":false,"DOMQuad":false,"DOMRect":false,"DOMRectReadOnly":false,"DOMStringList":false,"DOMStringMap":false,"DOMTokenList":false,"DragEvent":false,"DynamicsCompressorNode":false,"Element":false,"ErrorEvent":false,"event":false,"Event":false,"EventSource":false,"EventTarget":false,"external":false,"fetch":false,"File":false,"FileList":false,"FileReader":false,"find":false,"focus":false,"FocusEvent":false,"FontFace":false,"FontFaceSetLoadEvent":false,"FormData":false,"frameElement":false,"frames":false,"GainNode":false,"Gamepad":false,"GamepadButton":false,"GamepadEvent":false,"getComputedStyle":false,"getSelection":false,"HashChangeEvent":false,"Headers":false,"history":false,"History":false,"HTMLAllCollection":false,"HTMLAnchorElement":false,"HTMLAreaElement":false,"HTMLAudioElement":false,"HTMLBaseElement":false,"HTMLBodyElement":false,"HTMLBRElement":false,"HTMLButtonElement":false,"HTMLCanvasElement":false,"HTMLCollection":false,"HTMLContentElement":false,"HTMLDataElement":false,"HTMLDataListElement":false,"HTMLDetailsElement":false,"HTMLDialogElement":false,"HTMLDirectoryElement":false,"HTMLDivElement":false,"HTMLDListElement":false,"HTMLDocument":false,"HTMLElement":false,"HTMLEmbedElement":false,"HTMLFieldSetElement":false,"HTMLFontElement":false,"HTMLFormControlsCollection":false,"HTMLFormElement":false,"HTMLFrameElement":false,"HTMLFrameSetElement":false,"HTMLHeadElement":false,"HTMLHeadingElement":false,"HTMLHRElement":false,"HTMLHtmlElement":false,"HTMLIFrameElement":false,"HTMLImageElement":false,"HTMLInputElement":false,"HTMLLabelElement":false,"HTMLLegendElement":false,"HTMLLIElement":false,"HTMLLinkElement":false,"HTMLMapElement":false,"HTMLMarqueeElement":false,"HTMLMediaElement":false,"HTMLMenuElement":false,"HTMLMetaElement":false,"HTMLMeterElement":false,"HTMLModElement":false,"HTMLObjectElement":false,"HTMLOListElement":false,"HTMLOptGroupElement":false,"HTMLOptionElement":false,"HTMLOptionsCollection":false,"HTMLOutputElement":false,"HTMLParagraphElement":false,"HTMLParamElement":false,"HTMLPictureElement":false,"HTMLPreElement":false,"HTMLProgressElement":false,"HTMLQuoteElement":false,"HTMLScriptElement":false,"HTMLSelectElement":false,"HTMLShadowElement":false,"HTMLSlotElement":false,"HTMLSourceElement":false,"HTMLSpanElement":false,"HTMLStyleElement":false,"HTMLTableCaptionElement":false,"HTMLTableCellElement":false,"HTMLTableColElement":false,"HTMLTableElement":false,"HTMLTableRowElement":false,"HTMLTableSectionElement":false,"HTMLTemplateElement":false,"HTMLTextAreaElement":false,"HTMLTimeElement":false,"HTMLTitleElement":false,"HTMLTrackElement":false,"HTMLUListElement":false,"HTMLUnknownElement":false,"HTMLVideoElement":false,"IDBCursor":false,"IDBCursorWithValue":false,"IDBDatabase":false,"IDBFactory":false,"IDBIndex":false,"IDBKeyRange":false,"IDBObjectStore":false,"IDBOpenDBRequest":false,"IDBRequest":false,"IDBTransaction":false,"IDBVersionChangeEvent":false,"IdleDeadline":false,"IIRFilterNode":false,"Image":false,"ImageBitmap":false,"ImageBitmapRenderingContext":false,"ImageCapture":false,"ImageData":false,"indexedDB":false,"innerHeight":false,"innerWidth":false,"InputEvent":false,"IntersectionObserver":false,"IntersectionObserverEntry":false,"Intl":false,"isSecureContext":false,"KeyboardEvent":false,"KeyframeEffect":false,"KeyframeEffectReadOnly":false,"length":false,"localStorage":false,"location":true,"Location":false,"locationbar":false,"matchMedia":false,"MediaDeviceInfo":false,"MediaDevices":false,"MediaElementAudioSourceNode":false,"MediaEncryptedEvent":false,"MediaError":false,"MediaKeyMessageEvent":false,"MediaKeySession":false,"MediaKeyStatusMap":false,"MediaKeySystemAccess":false,"MediaList":false,"MediaQueryList":false,"MediaQueryListEvent":false,"MediaRecorder":false,"MediaSettingsRange":false,"MediaSource":false,"MediaStream":false,"MediaStreamAudioDestinationNode":false,"MediaStreamAudioSourceNode":false,"MediaStreamEvent":false,"MediaStreamTrack":false,"MediaStreamTrackEvent":false,"menubar":false,"MessageChannel":false,"MessageEvent":false,"MessagePort":false,"MIDIAccess":false,"MIDIConnectionEvent":false,"MIDIInput":false,"MIDIInputMap":false,"MIDIMessageEvent":false,"MIDIOutput":false,"MIDIOutputMap":false,"MIDIPort":false,"MimeType":false,"MimeTypeArray":false,"MouseEvent":false,"moveBy":false,"moveTo":false,"MutationEvent":false,"MutationObserver":false,"MutationRecord":false,"name":false,"NamedNodeMap":false,"NavigationPreloadManager":false,"navigator":false,"Navigator":false,"NetworkInformation":false,"Node":false,"NodeFilter":false,"NodeIterator":false,"NodeList":false,"Notification":false,"OfflineAudioCompletionEvent":false,"OfflineAudioContext":false,"offscreenBuffering":false,"OffscreenCanvas":true,"onabort":true,"onafterprint":true,"onanimationend":true,"onanimationiteration":true,"onanimationstart":true,"onappinstalled":true,"onauxclick":true,"onbeforeinstallprompt":true,"onbeforeprint":true,"onbeforeunload":true,"onblur":true,"oncancel":true,"oncanplay":true,"oncanplaythrough":true,"onchange":true,"onclick":true,"onclose":true,"oncontextmenu":true,"oncuechange":true,"ondblclick":true,"ondevicemotion":true,"ondeviceorientation":true,"ondeviceorientationabsolute":true,"ondrag":true,"ondragend":true,"ondragenter":true,"ondragleave":true,"ondragover":true,"ondragstart":true,"ondrop":true,"ondurationchange":true,"onemptied":true,"onended":true,"onerror":true,"onfocus":true,"ongotpointercapture":true,"onhashchange":true,"oninput":true,"oninvalid":true,"onkeydown":true,"onkeypress":true,"onkeyup":true,"onlanguagechange":true,"onload":true,"onloadeddata":true,"onloadedmetadata":true,"onloadstart":true,"onlostpointercapture":true,"onmessage":true,"onmessageerror":true,"onmousedown":true,"onmouseenter":true,"onmouseleave":true,"onmousemove":true,"onmouseout":true,"onmouseover":true,"onmouseup":true,"onmousewheel":true,"onoffline":true,"ononline":true,"onpagehide":true,"onpageshow":true,"onpause":true,"onplay":true,"onplaying":true,"onpointercancel":true,"onpointerdown":true,"onpointerenter":true,"onpointerleave":true,"onpointermove":true,"onpointerout":true,"onpointerover":true,"onpointerup":true,"onpopstate":true,"onprogress":true,"onratechange":true,"onrejectionhandled":true,"onreset":true,"onresize":true,"onscroll":true,"onsearch":true,"onseeked":true,"onseeking":true,"onselect":true,"onstalled":true,"onstorage":true,"onsubmit":true,"onsuspend":true,"ontimeupdate":true,"ontoggle":true,"ontransitionend":true,"onunhandledrejection":true,"onunload":true,"onvolumechange":true,"onwaiting":true,"onwheel":true,"open":false,"openDatabase":false,"opener":false,"Option":false,"origin":false,"OscillatorNode":false,"outerHeight":false,"outerWidth":false,"PageTransitionEvent":false,"pageXOffset":false,"pageYOffset":false,"PannerNode":false,"parent":false,"Path2D":false,"PaymentAddress":false,"PaymentRequest":false,"PaymentRequestUpdateEvent":false,"PaymentResponse":false,"performance":false,"Performance":false,"PerformanceEntry":false,"PerformanceLongTaskTiming":false,"PerformanceMark":false,"PerformanceMeasure":false,"PerformanceNavigation":false,"PerformanceNavigationTiming":false,"PerformanceObserver":false,"PerformanceObserverEntryList":false,"PerformancePaintTiming":false,"PerformanceResourceTiming":false,"PerformanceTiming":false,"PeriodicWave":false,"Permissions":false,"PermissionStatus":false,"personalbar":false,"PhotoCapabilities":false,"Plugin":false,"PluginArray":false,"PointerEvent":false,"PopStateEvent":false,"postMessage":false,"Presentation":false,"PresentationAvailability":false,"PresentationConnection":false,"PresentationConnectionAvailableEvent":false,"PresentationConnectionCloseEvent":false,"PresentationConnectionList":false,"PresentationReceiver":false,"PresentationRequest":false,"print":false,"ProcessingInstruction":false,"ProgressEvent":false,"PromiseRejectionEvent":false,"prompt":false,"PushManager":false,"PushSubscription":false,"PushSubscriptionOptions":false,"queueMicrotask":false,"RadioNodeList":false,"Range":false,"ReadableStream":false,"registerProcessor":false,"RemotePlayback":false,"removeEventListener":false,"Request":false,"requestAnimationFrame":false,"requestIdleCallback":false,"resizeBy":false,"ResizeObserver":false,"ResizeObserverEntry":false,"resizeTo":false,"Response":false,"RTCCertificate":false,"RTCDataChannel":false,"RTCDataChannelEvent":false,"RTCDtlsTransport":false,"RTCIceCandidate":false,"RTCIceGatherer":false,"RTCIceTransport":false,"RTCPeerConnection":false,"RTCPeerConnectionIceEvent":false,"RTCRtpContributingSource":false,"RTCRtpReceiver":false,"RTCRtpSender":false,"RTCSctpTransport":false,"RTCSessionDescription":false,"RTCStatsReport":false,"RTCTrackEvent":false,"screen":false,"Screen":false,"screenLeft":false,"ScreenOrientation":false,"screenTop":false,"screenX":false,"screenY":false,"ScriptProcessorNode":false,"scroll":false,"scrollbars":false,"scrollBy":false,"scrollTo":false,"scrollX":false,"scrollY":false,"SecurityPolicyViolationEvent":false,"Selection":false,"self":false,"ServiceWorker":false,"ServiceWorkerContainer":false,"ServiceWorkerRegistration":false,"sessionStorage":false,"setInterval":false,"setTimeout":false,"ShadowRoot":false,"SharedWorker":false,"SourceBuffer":false,"SourceBufferList":false,"speechSynthesis":false,"SpeechSynthesisEvent":false,"SpeechSynthesisUtterance":false,"StaticRange":false,"status":false,"statusbar":false,"StereoPannerNode":false,"stop":false,"Storage":false,"StorageEvent":false,"StorageManager":false,"styleMedia":false,"StyleSheet":false,"StyleSheetList":false,"SubtleCrypto":false,"SVGAElement":false,"SVGAngle":false,"SVGAnimatedAngle":false,"SVGAnimatedBoolean":false,"SVGAnimatedEnumeration":false,"SVGAnimatedInteger":false,"SVGAnimatedLength":false,"SVGAnimatedLengthList":false,"SVGAnimatedNumber":false,"SVGAnimatedNumberList":false,"SVGAnimatedPreserveAspectRatio":false,"SVGAnimatedRect":false,"SVGAnimatedString":false,"SVGAnimatedTransformList":false,"SVGAnimateElement":false,"SVGAnimateMotionElement":false,"SVGAnimateTransformElement":false,"SVGAnimationElement":false,"SVGCircleElement":false,"SVGClipPathElement":false,"SVGComponentTransferFunctionElement":false,"SVGDefsElement":false,"SVGDescElement":false,"SVGDiscardElement":false,"SVGElement":false,"SVGEllipseElement":false,"SVGFEBlendElement":false,"SVGFEColorMatrixElement":false,"SVGFEComponentTransferElement":false,"SVGFECompositeElement":false,"SVGFEConvolveMatrixElement":false,"SVGFEDiffuseLightingElement":false,"SVGFEDisplacementMapElement":false,"SVGFEDistantLightElement":false,"SVGFEDropShadowElement":false,"SVGFEFloodElement":false,"SVGFEFuncAElement":false,"SVGFEFuncBElement":false,"SVGFEFuncGElement":false,"SVGFEFuncRElement":false,"SVGFEGaussianBlurElement":false,"SVGFEImageElement":false,"SVGFEMergeElement":false,"SVGFEMergeNodeElement":false,"SVGFEMorphologyElement":false,"SVGFEOffsetElement":false,"SVGFEPointLightElement":false,"SVGFESpecularLightingElement":false,"SVGFESpotLightElement":false,"SVGFETileElement":false,"SVGFETurbulenceElement":false,"SVGFilterElement":false,"SVGForeignObjectElement":false,"SVGGElement":false,"SVGGeometryElement":false,"SVGGradientElement":false,"SVGGraphicsElement":false,"SVGImageElement":false,"SVGLength":false,"SVGLengthList":false,"SVGLinearGradientElement":false,"SVGLineElement":false,"SVGMarkerElement":false,"SVGMaskElement":false,"SVGMatrix":false,"SVGMetadataElement":false,"SVGMPathElement":false,"SVGNumber":false,"SVGNumberList":false,"SVGPathElement":false,"SVGPatternElement":false,"SVGPoint":false,"SVGPointList":false,"SVGPolygonElement":false,"SVGPolylineElement":false,"SVGPreserveAspectRatio":false,"SVGRadialGradientElement":false,"SVGRect":false,"SVGRectElement":false,"SVGScriptElement":false,"SVGSetElement":false,"SVGStopElement":false,"SVGStringList":false,"SVGStyleElement":false,"SVGSVGElement":false,"SVGSwitchElement":false,"SVGSymbolElement":false,"SVGTextContentElement":false,"SVGTextElement":false,"SVGTextPathElement":false,"SVGTextPositioningElement":false,"SVGTitleElement":false,"SVGTransform":false,"SVGTransformList":false,"SVGTSpanElement":false,"SVGUnitTypes":false,"SVGUseElement":false,"SVGViewElement":false,"TaskAttributionTiming":false,"Text":false,"TextDecoder":false,"TextEncoder":false,"TextEvent":false,"TextMetrics":false,"TextTrack":false,"TextTrackCue":false,"TextTrackCueList":false,"TextTrackList":false,"TimeRanges":false,"toolbar":false,"top":false,"Touch":false,"TouchEvent":false,"TouchList":false,"TrackEvent":false,"TransitionEvent":false,"TreeWalker":false,"UIEvent":false,"URL":false,"URLSearchParams":false,"ValidityState":false,"visualViewport":false,"VisualViewport":false,"VTTCue":false,"WaveShaperNode":false,"WebAssembly":false,"WebGL2RenderingContext":false,"WebGLActiveInfo":false,"WebGLBuffer":false,"WebGLContextEvent":false,"WebGLFramebuffer":false,"WebGLProgram":false,"WebGLQuery":false,"WebGLRenderbuffer":false,"WebGLRenderingContext":false,"WebGLSampler":false,"WebGLShader":false,"WebGLShaderPrecisionFormat":false,"WebGLSync":false,"WebGLTexture":false,"WebGLTransformFeedback":false,"WebGLUniformLocation":false,"WebGLVertexArrayObject":false,"WebSocket":false,"WheelEvent":false,"window":false,"Window":false,"Worker":false,"WritableStream":false,"XMLDocument":false,"XMLHttpRequest":false,"XMLHttpRequestEventTarget":false,"XMLHttpRequestUpload":false,"XMLSerializer":false,"XPathEvaluator":false,"XPathExpression":false,"XPathResult":false,"XSLTProcessor":false},"worker":{"addEventListener":false,"applicationCache":false,"atob":false,"Blob":false,"BroadcastChannel":false,"btoa":false,"Cache":false,"caches":false,"clearInterval":false,"clearTimeout":false,"close":true,"console":false,"fetch":false,"FileReaderSync":false,"FormData":false,"Headers":false,"IDBCursor":false,"IDBCursorWithValue":false,"IDBDatabase":false,"IDBFactory":false,"IDBIndex":false,"IDBKeyRange":false,"IDBObjectStore":false,"IDBOpenDBRequest":false,"IDBRequest":false,"IDBTransaction":false,"IDBVersionChangeEvent":false,"ImageData":false,"importScripts":true,"indexedDB":false,"location":false,"MessageChannel":false,"MessagePort":false,"name":false,"navigator":false,"Notification":false,"onclose":true,"onconnect":true,"onerror":true,"onlanguagechange":true,"onmessage":true,"onoffline":true,"ononline":true,"onrejectionhandled":true,"onunhandledrejection":true,"performance":false,"Performance":false,"PerformanceEntry":false,"PerformanceMark":false,"PerformanceMeasure":false,"PerformanceNavigation":false,"PerformanceResourceTiming":false,"PerformanceTiming":false,"postMessage":true,"Promise":false,"queueMicrotask":false,"removeEventListener":false,"Request":false,"Response":false,"self":true,"ServiceWorkerRegistration":false,"setInterval":false,"setTimeout":false,"TextDecoder":false,"TextEncoder":false,"URL":false,"URLSearchParams":false,"WebSocket":false,"Worker":false,"WorkerGlobalScope":false,"XMLHttpRequest":false},"node":{"__dirname":false,"__filename":false,"Buffer":false,"clearImmediate":false,"clearInterval":false,"clearTimeout":false,"console":false,"exports":true,"global":false,"Intl":false,"module":false,"process":false,"queueMicrotask":false,"require":false,"setImmediate":false,"setInterval":false,"setTimeout":false,"TextDecoder":false,"TextEncoder":false,"URL":false,"URLSearchParams":false},"commonjs":{"exports":true,"global":false,"module":false,"require":false},"amd":{"define":false,"require":false},"mocha":{"after":false,"afterEach":false,"before":false,"beforeEach":false,"context":false,"describe":false,"it":false,"mocha":false,"run":false,"setup":false,"specify":false,"suite":false,"suiteSetup":false,"suiteTeardown":false,"teardown":false,"test":false,"xcontext":false,"xdescribe":false,"xit":false,"xspecify":false},"jasmine":{"afterAll":false,"afterEach":false,"beforeAll":false,"beforeEach":false,"describe":false,"expect":false,"fail":false,"fdescribe":false,"fit":false,"it":false,"jasmine":false,"pending":false,"runs":false,"spyOn":false,"spyOnProperty":false,"waits":false,"waitsFor":false,"xdescribe":false,"xit":false},"jest":{"afterAll":false,"afterEach":false,"beforeAll":false,"beforeEach":false,"describe":false,"expect":false,"fdescribe":false,"fit":false,"it":false,"jest":false,"pit":false,"require":false,"test":false,"xdescribe":false,"xit":false,"xtest":false},"qunit":{"asyncTest":false,"deepEqual":false,"equal":false,"expect":false,"module":false,"notDeepEqual":false,"notEqual":false,"notOk":false,"notPropEqual":false,"notStrictEqual":false,"ok":false,"propEqual":false,"QUnit":false,"raises":false,"start":false,"stop":false,"strictEqual":false,"test":false,"throws":false},"phantomjs":{"console":true,"exports":true,"phantom":true,"require":true,"WebPage":true},"couch":{"emit":false,"exports":false,"getRow":false,"log":false,"module":false,"provides":false,"require":false,"respond":false,"send":false,"start":false,"sum":false},"rhino":{"defineClass":false,"deserialize":false,"gc":false,"help":false,"importClass":false,"importPackage":false,"java":false,"load":false,"loadClass":false,"Packages":false,"print":false,"quit":false,"readFile":false,"readUrl":false,"runCommand":false,"seal":false,"serialize":false,"spawn":false,"sync":false,"toint32":false,"version":false},"nashorn":{"__DIR__":false,"__FILE__":false,"__LINE__":false,"com":false,"edu":false,"exit":false,"java":false,"Java":false,"javafx":false,"JavaImporter":false,"javax":false,"JSAdapter":false,"load":false,"loadWithNewGlobal":false,"org":false,"Packages":false,"print":false,"quit":false},"wsh":{"ActiveXObject":true,"Enumerator":true,"GetObject":true,"ScriptEngine":true,"ScriptEngineBuildVersion":true,"ScriptEngineMajorVersion":true,"ScriptEngineMinorVersion":true,"VBArray":true,"WScript":true,"WSH":true,"XDomainRequest":true},"jquery":{"$":false,"jQuery":false},"yui":{"YAHOO":false,"YAHOO_config":false,"YUI":false,"YUI_config":false},"shelljs":{"cat":false,"cd":false,"chmod":false,"config":false,"cp":false,"dirs":false,"echo":false,"env":false,"error":false,"exec":false,"exit":false,"find":false,"grep":false,"ln":false,"ls":false,"mkdir":false,"mv":false,"popd":false,"pushd":false,"pwd":false,"rm":false,"sed":false,"set":false,"target":false,"tempdir":false,"test":false,"touch":false,"which":false},"prototypejs":{"$":false,"$$":false,"$A":false,"$break":false,"$continue":false,"$F":false,"$H":false,"$R":false,"$w":false,"Abstract":false,"Ajax":false,"Autocompleter":false,"Builder":false,"Class":false,"Control":false,"Draggable":false,"Draggables":false,"Droppables":false,"Effect":false,"Element":false,"Enumerable":false,"Event":false,"Field":false,"Form":false,"Hash":false,"Insertion":false,"ObjectRange":false,"PeriodicalExecuter":false,"Position":false,"Prototype":false,"Scriptaculous":false,"Selector":false,"Sortable":false,"SortableObserver":false,"Sound":false,"Template":false,"Toggle":false,"Try":false},"meteor":{"_":false,"$":false,"Accounts":false,"AccountsClient":false,"AccountsCommon":false,"AccountsServer":false,"App":false,"Assets":false,"Blaze":false,"check":false,"Cordova":false,"DDP":false,"DDPRateLimiter":false,"DDPServer":false,"Deps":false,"EJSON":false,"Email":false,"HTTP":false,"Log":false,"Match":false,"Meteor":false,"Mongo":false,"MongoInternals":false,"Npm":false,"Package":false,"Plugin":false,"process":false,"Random":false,"ReactiveDict":false,"ReactiveVar":false,"Router":false,"ServiceConfiguration":false,"Session":false,"share":false,"Spacebars":false,"Template":false,"Tinytest":false,"Tracker":false,"UI":false,"Utils":false,"WebApp":false,"WebAppInternals":false},"mongo":{"_isWindows":false,"_rand":false,"BulkWriteResult":false,"cat":false,"cd":false,"connect":false,"db":false,"getHostName":false,"getMemInfo":false,"hostname":false,"ISODate":false,"listFiles":false,"load":false,"ls":false,"md5sumFile":false,"mkdir":false,"Mongo":false,"NumberInt":false,"NumberLong":false,"ObjectId":false,"PlanCache":false,"print":false,"printjson":false,"pwd":false,"quit":false,"removeFile":false,"rs":false,"sh":false,"UUID":false,"version":false,"WriteResult":false},"applescript":{"$":false,"Application":false,"Automation":false,"console":false,"delay":false,"Library":false,"ObjC":false,"ObjectSpecifier":false,"Path":false,"Progress":false,"Ref":false},"serviceworker":{"addEventListener":false,"applicationCache":false,"atob":false,"Blob":false,"BroadcastChannel":false,"btoa":false,"Cache":false,"caches":false,"CacheStorage":false,"clearInterval":false,"clearTimeout":false,"Client":false,"clients":false,"Clients":false,"close":true,"console":false,"ExtendableEvent":false,"ExtendableMessageEvent":false,"fetch":false,"FetchEvent":false,"FileReaderSync":false,"FormData":false,"Headers":false,"IDBCursor":false,"IDBCursorWithValue":false,"IDBDatabase":false,"IDBFactory":false,"IDBIndex":false,"IDBKeyRange":false,"IDBObjectStore":false,"IDBOpenDBRequest":false,"IDBRequest":false,"IDBTransaction":false,"IDBVersionChangeEvent":false,"ImageData":false,"importScripts":false,"indexedDB":false,"location":false,"MessageChannel":false,"MessagePort":false,"name":false,"navigator":false,"Notification":false,"onclose":true,"onconnect":true,"onerror":true,"onfetch":true,"oninstall":true,"onlanguagechange":true,"onmessage":true,"onmessageerror":true,"onnotificationclick":true,"onnotificationclose":true,"onoffline":true,"ononline":true,"onpush":true,"onpushsubscriptionchange":true,"onrejectionhandled":true,"onsync":true,"onunhandledrejection":true,"performance":false,"Performance":false,"PerformanceEntry":false,"PerformanceMark":false,"PerformanceMeasure":false,"PerformanceNavigation":false,"PerformanceResourceTiming":false,"PerformanceTiming":false,"postMessage":true,"Promise":false,"queueMicrotask":false,"registration":false,"removeEventListener":false,"Request":false,"Response":false,"self":false,"ServiceWorker":false,"ServiceWorkerContainer":false,"ServiceWorkerGlobalScope":false,"ServiceWorkerMessageEvent":false,"ServiceWorkerRegistration":false,"setInterval":false,"setTimeout":false,"skipWaiting":false,"TextDecoder":false,"TextEncoder":false,"URL":false,"URLSearchParams":false,"WebSocket":false,"WindowClient":false,"Worker":false,"WorkerGlobalScope":false,"XMLHttpRequest":false},"atomtest":{"advanceClock":false,"fakeClearInterval":false,"fakeClearTimeout":false,"fakeSetInterval":false,"fakeSetTimeout":false,"resetTimeouts":false,"waitsForPromise":false},"embertest":{"andThen":false,"click":false,"currentPath":false,"currentRouteName":false,"currentURL":false,"fillIn":false,"find":false,"findAll":false,"findWithAssert":false,"keyEvent":false,"pauseTest":false,"resumeTest":false,"triggerEvent":false,"visit":false,"wait":false},"protractor":{"$":false,"$$":false,"browser":false,"by":false,"By":false,"DartObject":false,"element":false,"protractor":false},"shared-node-browser":{"clearInterval":false,"clearTimeout":false,"console":false,"setInterval":false,"setTimeout":false,"URL":false,"URLSearchParams":false},"webextensions":{"browser":false,"chrome":false,"opr":false},"greasemonkey":{"cloneInto":false,"createObjectIn":false,"exportFunction":false,"GM":false,"GM_addStyle":false,"GM_deleteValue":false,"GM_getResourceText":false,"GM_getResourceURL":false,"GM_getValue":false,"GM_info":false,"GM_listValues":false,"GM_log":false,"GM_openInTab":false,"GM_registerMenuCommand":false,"GM_setClipboard":false,"GM_setValue":false,"GM_xmlhttpRequest":false,"unsafeWindow":false},"devtools":{"$":false,"$_":false,"$$":false,"$0":false,"$1":false,"$2":false,"$3":false,"$4":false,"$x":false,"chrome":false,"clear":false,"copy":false,"debug":false,"dir":false,"dirxml":false,"getEventListeners":false,"inspect":false,"keys":false,"monitor":false,"monitorEvents":false,"profile":false,"profileEnd":false,"queryObjects":false,"table":false,"undebug":false,"unmonitor":false,"unmonitorEvents":false,"values":false}}')}},t={};function n(o){var r=t[o];if(r!==void 0)return r.exports;var u=t[o]={exports:{}};return e[o].call(u.exports,u,u.exports,n),u.exports}n.d=(o,r)=>{for(var u in r)n.o(r,u)&&!n.o(o,u)&&Object.defineProperty(o,u,{enumerable:!0,get:r[u]})},n.o=(o,r)=>Object.prototype.hasOwnProperty.call(o,r),n.r=o=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(o,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(o,"__esModule",{value:!0})};var i={};(()=>{"use strict";n.d(i,{default:()=>d});var o=n("./node_modules/.pnpm/@babel+core@7.22.15/node_modules/@babel/core/lib/index.js"),r=n("url"),u=n("./node_modules/.pnpm/@babel+template@7.22.15/node_modules/@babel/template/lib/index.js");function a(s,l){return{name:"transform-import-meta",visitor:{Program(f){let p=[];if(f.traverse({MemberExpression(h){let{node:y}=h;y.object.type==="MetaProperty"&&y.object.meta.name==="import"&&y.object.property.name==="meta"&&y.property.type==="Identifier"&&y.property.name==="url"&&p.push(h)}}),p.length!==0)for(let h of p)h.replaceWith(u.smart.ast`${l.filename?JSON.stringify((0,r.pathToFileURL)(l.filename)):"require('url').pathToFileURL(__filename).toString()"}`)}}}}function m({template:s,types:l}){return{name:"@import-meta-env/babel",visitor:{Identifier(f){if(!l.isIdentifier(f)||!l.isMemberExpression(f.parentPath)&&!l.isOptionalMemberExpression(f.parentPath)||!l.isMemberExpression(f.parentPath.node))return;let p=f.parentPath.node;if(!l.isMetaProperty(p.object))return;let h=p.object;h.meta.name==="import"&&h.property.name==="meta"&&p.property.name==="env"&&f.parentPath.replaceWith(s.expression.ast("process.env"))}}}}function d(s){var l,f,p,h,y,b;let E=Object.assign(Object.assign({babelrc:!1,configFile:!1,compact:!1,retainLines:typeof s.retainLines!="boolean"||s.retainLines,filename:"",cwd:"/"},s.babel),{plugins:[[n("./node_modules/.pnpm/@babel+plugin-transform-modules-commonjs@7.22.15_@babel+core@7.22.15/node_modules/@babel/plugin-transform-modules-commonjs/lib/index.js"),{allowTopLevelThis:!0}],[n("./node_modules/.pnpm/babel-plugin-dynamic-import-node@2.3.3/node_modules/babel-plugin-dynamic-import-node/lib/index.js"),{noInterop:!0}],[a,{filename:s.filename}],[n("./node_modules/.pnpm/@babel+plugin-syntax-class-properties@7.12.13_@babel+core@7.22.15/node_modules/@babel/plugin-syntax-class-properties/lib/index.js")],[n("./node_modules/.pnpm/@babel+plugin-transform-export-namespace-from@7.22.11_@babel+core@7.22.15/node_modules/@babel/plugin-transform-export-namespace-from/lib/index.js")],[m]]});s.ts&&(E.plugins.push([n("./node_modules/.pnpm/@babel+plugin-transform-typescript@7.22.15_@babel+core@7.22.15/node_modules/@babel/plugin-transform-typescript/lib/index.js"),{allowDeclareFields:!0}]),E.plugins.unshift([n("./node_modules/.pnpm/babel-plugin-transform-typescript-metadata@0.3.2_@babel+core@7.22.15/node_modules/babel-plugin-transform-typescript-metadata/lib/plugin.js")],[n("./node_modules/.pnpm/@babel+plugin-proposal-decorators@7.22.15_@babel+core@7.22.15/node_modules/@babel/plugin-proposal-decorators/lib/index.js"),{legacy:!0}]),E.plugins.push(n("./node_modules/.pnpm/babel-plugin-parameter-decorator@1.0.16/node_modules/babel-plugin-parameter-decorator/lib/index.js")),E.plugins.push(n("./node_modules/.pnpm/@babel+plugin-syntax-import-assertions@7.22.5_@babel+core@7.22.15/node_modules/@babel/plugin-syntax-import-assertions/lib/index.js"))),s.legacy&&(E.plugins.push(n("./node_modules/.pnpm/@babel+plugin-transform-nullish-coalescing-operator@7.22.11_@babel+core@7.22.15/node_modules/@babel/plugin-transform-nullish-coalescing-operator/lib/index.js")),E.plugins.push(n("./node_modules/.pnpm/@babel+plugin-transform-optional-chaining@7.22.15_@babel+core@7.22.15/node_modules/@babel/plugin-transform-optional-chaining/lib/index.js"))),s.babel&&Array.isArray(s.babel.plugins)&&((l=E.plugins)===null||l===void 0||l.push(...s.babel.plugins));try{return{code:((f=(0,o.transformSync)(s.source,E))===null||f===void 0?void 0:f.code)||""}}catch(v){return{error:v,code:"exports.__JITI_ERROR__ = "+JSON.stringify({filename:s.filename,line:((p=v.loc)===null||p===void 0?void 0:p.line)||0,column:((h=v.loc)===null||h===void 0?void 0:h.column)||0,code:(y=v.code)===null||y===void 0?void 0:y.replace("BABEL_","").replace("PARSE_ERROR","ParseError"),message:(b=v.message)===null||b===void 0?void 0:b.replace("/: ","").replace(/\(.+\)\s*$/,"")})}}}})(),gk.exports=i.default})()});var Ek=me((hte,Tk)=>{function $$(e){throw e}Tk.exports=function(e,t){let n=bk();return t={onError:$$,...t},t.transform||(t.transform=vk()),n(e,t)}});var Pn=me($b=>{"use strict";Object.defineProperty($b,"__esModule",{value:!0});var Sk;(function(e){e[e.NONE=0]="NONE";let n=1;e[e._abstract=n]="_abstract";let i=n+1;e[e._accessor=i]="_accessor";let o=i+1;e[e._as=o]="_as";let r=o+1;e[e._assert=r]="_assert";let u=r+1;e[e._asserts=u]="_asserts";let a=u+1;e[e._async=a]="_async";let m=a+1;e[e._await=m]="_await";let d=m+1;e[e._checks=d]="_checks";let s=d+1;e[e._constructor=s]="_constructor";let l=s+1;e[e._declare=l]="_declare";let f=l+1;e[e._enum=f]="_enum";let p=f+1;e[e._exports=p]="_exports";let h=p+1;e[e._from=h]="_from";let y=h+1;e[e._get=y]="_get";let b=y+1;e[e._global=b]="_global";let E=b+1;e[e._implements=E]="_implements";let v=E+1;e[e._infer=v]="_infer";let S=v+1;e[e._interface=S]="_interface";let w=S+1;e[e._is=w]="_is";let A=w+1;e[e._keyof=A]="_keyof";let x=A+1;e[e._mixins=x]="_mixins";let C=x+1;e[e._module=C]="_module";let P=C+1;e[e._namespace=P]="_namespace";let D=P+1;e[e._of=D]="_of";let L=D+1;e[e._opaque=L]="_opaque";let I=L+1;e[e._out=I]="_out";let j=I+1;e[e._override=j]="_override";let M=j+1;e[e._private=M]="_private";let R=M+1;e[e._protected=R]="_protected";let z=R+1;e[e._proto=z]="_proto";let Y=z+1;e[e._public=Y]="_public";let $=Y+1;e[e._readonly=$]="_readonly";let G=$+1;e[e._require=G]="_require";let U=G+1;e[e._satisfies=U]="_satisfies";let B=U+1;e[e._set=B]="_set";let N=B+1;e[e._static=N]="_static";let X=N+1;e[e._symbol=X]="_symbol";let H=X+1;e[e._type=H]="_type";let F=H+1;e[e._unique=F]="_unique";let W=F+1;e[e._using=W]="_using"})(Sk||($b.ContextualKeyword=Sk={}))});var sr=me(Vd=>{"use strict";Object.defineProperty(Vd,"__esModule",{value:!0});var it;(function(e){e[e.PRECEDENCE_MASK=15]="PRECEDENCE_MASK";let n=16;e[e.IS_KEYWORD=n]="IS_KEYWORD";let i=32;e[e.IS_ASSIGN=i]="IS_ASSIGN";let o=64;e[e.IS_RIGHT_ASSOCIATIVE=o]="IS_RIGHT_ASSOCIATIVE";let r=128;e[e.IS_PREFIX=r]="IS_PREFIX";let u=256;e[e.IS_POSTFIX=u]="IS_POSTFIX";let a=512;e[e.IS_EXPRESSION_START=a]="IS_EXPRESSION_START";let m=512;e[e.num=m]="num";let d=1536;e[e.bigint=d]="bigint";let s=2560;e[e.decimal=s]="decimal";let l=3584;e[e.regexp=l]="regexp";let f=4608;e[e.string=f]="string";let p=5632;e[e.name=p]="name";let h=6144;e[e.eof=h]="eof";let y=7680;e[e.bracketL=y]="bracketL";let b=8192;e[e.bracketR=b]="bracketR";let E=9728;e[e.braceL=E]="braceL";let v=10752;e[e.braceBarL=v]="braceBarL";let S=11264;e[e.braceR=S]="braceR";let w=12288;e[e.braceBarR=w]="braceBarR";let A=13824;e[e.parenL=A]="parenL";let x=14336;e[e.parenR=x]="parenR";let C=15360;e[e.comma=C]="comma";let P=16384;e[e.semi=P]="semi";let D=17408;e[e.colon=D]="colon";let L=18432;e[e.doubleColon=L]="doubleColon";let I=19456;e[e.dot=I]="dot";let j=20480;e[e.question=j]="question";let M=21504;e[e.questionDot=M]="questionDot";let R=22528;e[e.arrow=R]="arrow";let z=23552;e[e.template=z]="template";let Y=24576;e[e.ellipsis=Y]="ellipsis";let $=25600;e[e.backQuote=$]="backQuote";let G=27136;e[e.dollarBraceL=G]="dollarBraceL";let U=27648;e[e.at=U]="at";let B=29184;e[e.hash=B]="hash";let N=29728;e[e.eq=N]="eq";let X=30752;e[e.assign=X]="assign";let H=32640;e[e.preIncDec=H]="preIncDec";let F=33664;e[e.postIncDec=F]="postIncDec";let W=34432;e[e.bang=W]="bang";let V=35456;e[e.tilde=V]="tilde";let Q=35841;e[e.pipeline=Q]="pipeline";let ne=36866;e[e.nullishCoalescing=ne]="nullishCoalescing";let ue=37890;e[e.logicalOR=ue]="logicalOR";let de=38915;e[e.logicalAND=de]="logicalAND";let Ae=39940;e[e.bitwiseOR=Ae]="bitwiseOR";let Oe=40965;e[e.bitwiseXOR=Oe]="bitwiseXOR";let Me=41990;e[e.bitwiseAND=Me]="bitwiseAND";let ae=43015;e[e.equality=ae]="equality";let se=44040;e[e.lessThan=se]="lessThan";let ye=45064;e[e.greaterThan=ye]="greaterThan";let be=46088;e[e.relationalOrEqual=be]="relationalOrEqual";let Ee=47113;e[e.bitShiftL=Ee]="bitShiftL";let oe=48137;e[e.bitShiftR=oe]="bitShiftR";let J=49802;e[e.plus=J]="plus";let De=50826;e[e.minus=De]="minus";let Ke=51723;e[e.modulo=Ke]="modulo";let ke=52235;e[e.star=ke]="star";let Qe=53259;e[e.slash=Qe]="slash";let pt=54348;e[e.exponent=pt]="exponent";let dt=55296;e[e.jsxName=dt]="jsxName";let Ue=56320;e[e.jsxText=Ue]="jsxText";let ce=57344;e[e.jsxEmptyText=ce]="jsxEmptyText";let xe=58880;e[e.jsxTagStart=xe]="jsxTagStart";let he=59392;e[e.jsxTagEnd=he]="jsxTagEnd";let ve=60928;e[e.typeParameterStart=ve]="typeParameterStart";let et=61440;e[e.nonNullAssertion=et]="nonNullAssertion";let ut=62480;e[e._break=ut]="_break";let Kt=63504;e[e._case=Kt]="_case";let zt=64528;e[e._catch=zt]="_catch";let Zt=65552;e[e._continue=Zt]="_continue";let Ar=66576;e[e._debugger=Ar]="_debugger";let er=67600;e[e._default=er]="_default";let nt=68624;e[e._do=nt]="_do";let Ce=69648;e[e._else=Ce]="_else";let re=70672;e[e._finally=re]="_finally";let ie=71696;e[e._for=ie]="_for";let Ne=73232;e[e._function=Ne]="_function";let Be=73744;e[e._if=Be]="_if";let rt=74768;e[e._return=rt]="_return";let ot=75792;e[e._switch=ot]="_switch";let Ve=77456;e[e._throw=Ve]="_throw";let ft=77840;e[e._try=ft]="_try";let Pt=78864;e[e._var=Pt]="_var";let $t=79888;e[e._let=$t]="_let";let tt=80912;e[e._const=tt]="_const";let Tt=81936;e[e._while=Tt]="_while";let Et=82960;e[e._with=Et]="_with";let qt=84496;e[e._new=qt]="_new";let Xt=85520;e[e._this=Xt]="_this";let mr=86544;e[e._super=mr]="_super";let ar=87568;e[e._class=ar]="_class";let qr=88080;e[e._extends=qr]="_extends";let Lt=89104;e[e._export=Lt]="_export";let yi=90640;e[e._import=yi]="_import";let ba=91664;e[e._yield=ba]="_yield";let Gi=92688;e[e._null=Gi]="_null";let xn=93712;e[e._true=xn]="_true";let ga=94736;e[e._false=ga]="_false";let Dn=95256;e[e._in=Dn]="_in";let Ii=96280;e[e._instanceof=Ii]="_instanceof";let Ls=97936;e[e._typeof=Ls]="_typeof";let Ms=98960;e[e._void=Ms]="_void";let Hi=99984;e[e._delete=Hi]="_delete";let Rs=100880;e[e._async=Rs]="_async";let sl=101904;e[e._get=sl]="_get";let Ga=102928;e[e._set=Ga]="_set";let Ha=103952;e[e._declare=Ha]="_declare";let hs=104976;e[e._readonly=hs]="_readonly";let Xa=106e3;e[e._abstract=Xa]="_abstract";let ms=107024;e[e._static=ms]="_static";let ys=107536;e[e._public=ys]="_public";let Bs=108560;e[e._private=Bs]="_private";let ni=109584;e[e._protected=ni]="_protected";let Ja=110608;e[e._override=Ja]="_override";let al=112144;e[e._as=al]="_as";let va=113168;e[e._enum=va]="_enum";let Mt=114192;e[e._type=Mt]="_type";let xt=115216;e[e._implements=xt]="_implements"})(it||(Vd.TokenType=it={}));function V$(e){switch(e){case it.num:return"num";case it.bigint:return"bigint";case it.decimal:return"decimal";case it.regexp:return"regexp";case it.string:return"string";case it.name:return"name";case it.eof:return"eof";case it.bracketL:return"[";case it.bracketR:return"]";case it.braceL:return"{";case it.braceBarL:return"{|";case it.braceR:return"}";case it.braceBarR:return"|}";case it.parenL:return"(";case it.parenR:return")";case it.comma:return",";case it.semi:return";";case it.colon:return":";case it.doubleColon:return"::";case it.dot:return".";case it.question:return"?";case it.questionDot:return"?.";case it.arrow:return"=>";case it.template:return"template";case it.ellipsis:return"...";case it.backQuote:return"`";case it.dollarBraceL:return"${";case it.at:return"@";case it.hash:return"#";case it.eq:return"=";case it.assign:return"_=";case it.preIncDec:return"++/--";case it.postIncDec:return"++/--";case it.bang:return"!";case it.tilde:return"~";case it.pipeline:return"|>";case it.nullishCoalescing:return"??";case it.logicalOR:return"||";case it.logicalAND:return"&&";case it.bitwiseOR:return"|";case it.bitwiseXOR:return"^";case it.bitwiseAND:return"&";case it.equality:return"==/!=";case it.lessThan:return"<";case it.greaterThan:return">";case it.relationalOrEqual:return"<=/>=";case it.bitShiftL:return"<<";case it.bitShiftR:return">>/>>>";case it.plus:return"+";case it.minus:return"-";case it.modulo:return"%";case it.star:return"*";case it.slash:return"/";case it.exponent:return"**";case it.jsxName:return"jsxName";case it.jsxText:return"jsxText";case it.jsxEmptyText:return"jsxEmptyText";case it.jsxTagStart:return"jsxTagStart";case it.jsxTagEnd:return"jsxTagEnd";case it.typeParameterStart:return"typeParameterStart";case it.nonNullAssertion:return"nonNullAssertion";case it._break:return"break";case it._case:return"case";case it._catch:return"catch";case it._continue:return"continue";case it._debugger:return"debugger";case it._default:return"default";case it._do:return"do";case it._else:return"else";case it._finally:return"finally";case it._for:return"for";case it._function:return"function";case it._if:return"if";case it._return:return"return";case it._switch:return"switch";case it._throw:return"throw";case it._try:return"try";case it._var:return"var";case it._let:return"let";case it._const:return"const";case it._while:return"while";case it._with:return"with";case it._new:return"new";case it._this:return"this";case it._super:return"super";case it._class:return"class";case it._extends:return"extends";case it._export:return"export";case it._import:return"import";case it._yield:return"yield";case it._null:return"null";case it._true:return"true";case it._false:return"false";case it._in:return"in";case it._instanceof:return"instanceof";case it._typeof:return"typeof";case it._void:return"void";case it._delete:return"delete";case it._async:return"async";case it._get:return"get";case it._set:return"set";case it._declare:return"declare";case it._readonly:return"readonly";case it._abstract:return"abstract";case it._static:return"static";case it._public:return"public";case it._private:return"private";case it._protected:return"protected";case it._override:return"override";case it._as:return"as";case it._enum:return"enum";case it._type:return"type";case it._implements:return"implements";default:return""}}Vd.formatTokenType=V$});var Wd=me(Vu=>{"use strict";Object.defineProperty(Vu,"__esModule",{value:!0});var q$=Pn(),W$=sr(),Vb=class{constructor(t,n,i){this.startTokenIndex=t,this.endTokenIndex=n,this.isFunctionScope=i}};Vu.Scope=Vb;var qd=class{constructor(t,n,i,o,r,u,a,m,d,s,l,f,p){this.potentialArrowAt=t,this.noAnonFunctionType=n,this.inDisallowConditionalTypesContext=i,this.tokensLength=o,this.scopesLength=r,this.pos=u,this.type=a,this.contextualKeyword=m,this.start=d,this.end=s,this.isType=l,this.scopeDepth=f,this.error=p}};Vu.StateSnapshot=qd;var qb=class e{constructor(){e.prototype.__init.call(this),e.prototype.__init2.call(this),e.prototype.__init3.call(this),e.prototype.__init4.call(this),e.prototype.__init5.call(this),e.prototype.__init6.call(this),e.prototype.__init7.call(this),e.prototype.__init8.call(this),e.prototype.__init9.call(this),e.prototype.__init10.call(this),e.prototype.__init11.call(this),e.prototype.__init12.call(this),e.prototype.__init13.call(this)}__init(){this.potentialArrowAt=-1}__init2(){this.noAnonFunctionType=!1}__init3(){this.inDisallowConditionalTypesContext=!1}__init4(){this.tokens=[]}__init5(){this.scopes=[]}__init6(){this.pos=0}__init7(){this.type=W$.TokenType.eof}__init8(){this.contextualKeyword=q$.ContextualKeyword.NONE}__init9(){this.start=0}__init10(){this.end=0}__init11(){this.isType=!1}__init12(){this.scopeDepth=0}__init13(){this.error=null}snapshot(){return new qd(this.potentialArrowAt,this.noAnonFunctionType,this.inDisallowConditionalTypesContext,this.tokens.length,this.scopes.length,this.pos,this.type,this.contextualKeyword,this.start,this.end,this.isType,this.scopeDepth,this.error)}restoreFromSnapshot(t){this.potentialArrowAt=t.potentialArrowAt,this.noAnonFunctionType=t.noAnonFunctionType,this.inDisallowConditionalTypesContext=t.inDisallowConditionalTypesContext,this.tokens.length=t.tokensLength,this.scopes.length=t.scopesLength,this.pos=t.pos,this.type=t.type,this.contextualKeyword=t.contextualKeyword,this.start=t.start,this.end=t.end,this.isType=t.isType,this.scopeDepth=t.scopeDepth,this.error=t.error}};Vu.default=qb});var ci=me(Kd=>{"use strict";Object.defineProperty(Kd,"__esModule",{value:!0});var ia;(function(e){e[e.backSpace=8]="backSpace";let n=10;e[e.lineFeed=n]="lineFeed";let i=9;e[e.tab=i]="tab";let o=13;e[e.carriageReturn=o]="carriageReturn";let r=14;e[e.shiftOut=r]="shiftOut";let u=32;e[e.space=u]="space";let a=33;e[e.exclamationMark=a]="exclamationMark";let m=34;e[e.quotationMark=m]="quotationMark";let d=35;e[e.numberSign=d]="numberSign";let s=36;e[e.dollarSign=s]="dollarSign";let l=37;e[e.percentSign=l]="percentSign";let f=38;e[e.ampersand=f]="ampersand";let p=39;e[e.apostrophe=p]="apostrophe";let h=40;e[e.leftParenthesis=h]="leftParenthesis";let y=41;e[e.rightParenthesis=y]="rightParenthesis";let b=42;e[e.asterisk=b]="asterisk";let E=43;e[e.plusSign=E]="plusSign";let v=44;e[e.comma=v]="comma";let S=45;e[e.dash=S]="dash";let w=46;e[e.dot=w]="dot";let A=47;e[e.slash=A]="slash";let x=48;e[e.digit0=x]="digit0";let C=49;e[e.digit1=C]="digit1";let P=50;e[e.digit2=P]="digit2";let D=51;e[e.digit3=D]="digit3";let L=52;e[e.digit4=L]="digit4";let I=53;e[e.digit5=I]="digit5";let j=54;e[e.digit6=j]="digit6";let M=55;e[e.digit7=M]="digit7";let R=56;e[e.digit8=R]="digit8";let z=57;e[e.digit9=z]="digit9";let Y=58;e[e.colon=Y]="colon";let $=59;e[e.semicolon=$]="semicolon";let G=60;e[e.lessThan=G]="lessThan";let U=61;e[e.equalsTo=U]="equalsTo";let B=62;e[e.greaterThan=B]="greaterThan";let N=63;e[e.questionMark=N]="questionMark";let X=64;e[e.atSign=X]="atSign";let H=65;e[e.uppercaseA=H]="uppercaseA";let F=66;e[e.uppercaseB=F]="uppercaseB";let W=67;e[e.uppercaseC=W]="uppercaseC";let V=68;e[e.uppercaseD=V]="uppercaseD";let Q=69;e[e.uppercaseE=Q]="uppercaseE";let ne=70;e[e.uppercaseF=ne]="uppercaseF";let ue=71;e[e.uppercaseG=ue]="uppercaseG";let de=72;e[e.uppercaseH=de]="uppercaseH";let Ae=73;e[e.uppercaseI=Ae]="uppercaseI";let Oe=74;e[e.uppercaseJ=Oe]="uppercaseJ";let Me=75;e[e.uppercaseK=Me]="uppercaseK";let ae=76;e[e.uppercaseL=ae]="uppercaseL";let se=77;e[e.uppercaseM=se]="uppercaseM";let ye=78;e[e.uppercaseN=ye]="uppercaseN";let be=79;e[e.uppercaseO=be]="uppercaseO";let Ee=80;e[e.uppercaseP=Ee]="uppercaseP";let oe=81;e[e.uppercaseQ=oe]="uppercaseQ";let J=82;e[e.uppercaseR=J]="uppercaseR";let De=83;e[e.uppercaseS=De]="uppercaseS";let Ke=84;e[e.uppercaseT=Ke]="uppercaseT";let ke=85;e[e.uppercaseU=ke]="uppercaseU";let Qe=86;e[e.uppercaseV=Qe]="uppercaseV";let pt=87;e[e.uppercaseW=pt]="uppercaseW";let dt=88;e[e.uppercaseX=dt]="uppercaseX";let Ue=89;e[e.uppercaseY=Ue]="uppercaseY";let ce=90;e[e.uppercaseZ=ce]="uppercaseZ";let xe=91;e[e.leftSquareBracket=xe]="leftSquareBracket";let he=92;e[e.backslash=he]="backslash";let ve=93;e[e.rightSquareBracket=ve]="rightSquareBracket";let et=94;e[e.caret=et]="caret";let ut=95;e[e.underscore=ut]="underscore";let Kt=96;e[e.graveAccent=Kt]="graveAccent";let zt=97;e[e.lowercaseA=zt]="lowercaseA";let Zt=98;e[e.lowercaseB=Zt]="lowercaseB";let Ar=99;e[e.lowercaseC=Ar]="lowercaseC";let er=100;e[e.lowercaseD=er]="lowercaseD";let nt=101;e[e.lowercaseE=nt]="lowercaseE";let Ce=102;e[e.lowercaseF=Ce]="lowercaseF";let re=103;e[e.lowercaseG=re]="lowercaseG";let ie=104;e[e.lowercaseH=ie]="lowercaseH";let Ne=105;e[e.lowercaseI=Ne]="lowercaseI";let Be=106;e[e.lowercaseJ=Be]="lowercaseJ";let rt=107;e[e.lowercaseK=rt]="lowercaseK";let ot=108;e[e.lowercaseL=ot]="lowercaseL";let Ve=109;e[e.lowercaseM=Ve]="lowercaseM";let ft=110;e[e.lowercaseN=ft]="lowercaseN";let Pt=111;e[e.lowercaseO=Pt]="lowercaseO";let $t=112;e[e.lowercaseP=$t]="lowercaseP";let tt=113;e[e.lowercaseQ=tt]="lowercaseQ";let Tt=114;e[e.lowercaseR=Tt]="lowercaseR";let Et=115;e[e.lowercaseS=Et]="lowercaseS";let qt=116;e[e.lowercaseT=qt]="lowercaseT";let Xt=117;e[e.lowercaseU=Xt]="lowercaseU";let mr=118;e[e.lowercaseV=mr]="lowercaseV";let ar=119;e[e.lowercaseW=ar]="lowercaseW";let qr=120;e[e.lowercaseX=qr]="lowercaseX";let Lt=121;e[e.lowercaseY=Lt]="lowercaseY";let yi=122;e[e.lowercaseZ=yi]="lowercaseZ";let ba=123;e[e.leftCurlyBrace=ba]="leftCurlyBrace";let Gi=124;e[e.verticalBar=Gi]="verticalBar";let xn=125;e[e.rightCurlyBrace=xn]="rightCurlyBrace";let ga=126;e[e.tilde=ga]="tilde";let Dn=160;e[e.nonBreakingSpace=Dn]="nonBreakingSpace";let Ii=5760;e[e.oghamSpaceMark=Ii]="oghamSpaceMark";let Ls=8232;e[e.lineSeparator=Ls]="lineSeparator";let Ms=8233;e[e.paragraphSeparator=Ms]="paragraphSeparator"})(ia||(Kd.charCodes=ia={}));function K$(e){return e>=ia.digit0&&e<=ia.digit9||e>=ia.lowercaseA&&e<=ia.lowercaseF||e>=ia.uppercaseA&&e<=ia.uppercaseF}Kd.isDigit=K$});var pi=me(fn=>{"use strict";Object.defineProperty(fn,"__esModule",{value:!0});function z$(e){return e&&e.__esModule?e:{default:e}}var G$=Wd(),H$=z$(G$),X$=ci();fn.isJSXEnabled;fn.isTypeScriptEnabled;fn.isFlowEnabled;fn.state;fn.input;fn.nextContextId;function J$(){return fn.nextContextId++}fn.getNextContextId=J$;function Y$(e){if("pos"in e){let t=xk(e.pos);e.message+=` (${t.line}:${t.column})`,e.loc=t}return e}fn.augmentError=Y$;var zd=class{constructor(t,n){this.line=t,this.column=n}};fn.Loc=zd;function xk(e){let t=1,n=1;for(let i=0;i<e;i++)fn.input.charCodeAt(i)===X$.charCodes.lineFeed?(t++,n=1):n++;return new zd(t,n)}fn.locationForIndex=xk;function Q$(e,t,n,i){fn.input=e,fn.state=new H$.default,fn.nextContextId=1,fn.isJSXEnabled=t,fn.isTypeScriptEnabled=n,fn.isFlowEnabled=i}fn.initParser=Q$});var aa=me(fi=>{"use strict";Object.defineProperty(fi,"__esModule",{value:!0});var sa=En(),Va=sr(),Gd=ci(),di=pi();function Z$(e){return di.state.contextualKeyword===e}fi.isContextual=Z$;function eV(e){let t=sa.lookaheadTypeAndKeyword.call(void 0);return t.type===Va.TokenType.name&&t.contextualKeyword===e}fi.isLookaheadContextual=eV;function _k(e){return di.state.contextualKeyword===e&&sa.eat.call(void 0,Va.TokenType.name)}fi.eatContextual=_k;function tV(e){_k(e)||Hd()}fi.expectContextual=tV;function wk(){return sa.match.call(void 0,Va.TokenType.eof)||sa.match.call(void 0,Va.TokenType.braceR)||Ck()}fi.canInsertSemicolon=wk;function Ck(){let e=di.state.tokens[di.state.tokens.length-1],t=e?e.end:0;for(let n=t;n<di.state.start;n++){let i=di.input.charCodeAt(n);if(i===Gd.charCodes.lineFeed||i===Gd.charCodes.carriageReturn||i===8232||i===8233)return!0}return!1}fi.hasPrecedingLineBreak=Ck;function rV(){let e=sa.nextTokenStart.call(void 0);for(let t=di.state.end;t<e;t++){let n=di.input.charCodeAt(t);if(n===Gd.charCodes.lineFeed||n===Gd.charCodes.carriageReturn||n===8232||n===8233)return!0}return!1}fi.hasFollowingLineBreak=rV;function Ak(){return sa.eat.call(void 0,Va.TokenType.semi)||wk()}fi.isLineTerminator=Ak;function nV(){Ak()||Hd('Unexpected token, expected ";"')}fi.semicolon=nV;function iV(e){sa.eat.call(void 0,e)||Hd(`Unexpected token, expected "${Va.formatTokenType.call(void 0,e)}"`)}fi.expect=iV;function Hd(e="Unexpected token",t=di.state.start){if(di.state.error)return;let n=new SyntaxError(e);n.pos=t,di.state.error=n,di.state.pos=di.input.length,sa.finishToken.call(void 0,Va.TokenType.eof)}fi.unexpected=Hd});var Kb=me(qa=>{"use strict";Object.defineProperty(qa,"__esModule",{value:!0});var Wb=ci(),sV=[9,11,12,Wb.charCodes.space,Wb.charCodes.nonBreakingSpace,Wb.charCodes.oghamSpaceMark,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279];qa.WHITESPACE_CHARS=sV;var aV=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g;qa.skipWhiteSpace=aV;var oV=new Uint8Array(65536);qa.IS_WHITESPACE=oV;for(let e of qa.WHITESPACE_CHARS)qa.IS_WHITESPACE[e]=1});var Mo=me(qi=>{"use strict";Object.defineProperty(qi,"__esModule",{value:!0});var Pk=ci(),lV=Kb();function uV(e){if(e<48)return e===36;if(e<58)return!0;if(e<65)return!1;if(e<91)return!0;if(e<97)return e===95;if(e<123)return!0;if(e<128)return!1;throw new Error("Should not be called with non-ASCII char code.")}var cV=new Uint8Array(65536);qi.IS_IDENTIFIER_CHAR=cV;for(let e=0;e<128;e++)qi.IS_IDENTIFIER_CHAR[e]=uV(e)?1:0;for(let e=128;e<65536;e++)qi.IS_IDENTIFIER_CHAR[e]=1;for(let e of lV.WHITESPACE_CHARS)qi.IS_IDENTIFIER_CHAR[e]=0;qi.IS_IDENTIFIER_CHAR[8232]=0;qi.IS_IDENTIFIER_CHAR[8233]=0;var pV=qi.IS_IDENTIFIER_CHAR.slice();qi.IS_IDENTIFIER_START=pV;for(let e=Pk.charCodes.digit0;e<=Pk.charCodes.digit9;e++)qi.IS_IDENTIFIER_START[e]=0});var kk=me(zb=>{"use strict";Object.defineProperty(zb,"__esModule",{value:!0});var tr=Pn(),lr=sr(),dV=new Int32Array([-1,27,783,918,1755,2376,2862,3483,-1,3699,-1,4617,4752,4833,5130,5508,5940,-1,6480,6939,7749,8181,8451,8613,-1,8829,-1,-1,-1,54,243,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,432,-1,-1,-1,675,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,81,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,108,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,135,-1,-1,-1,-1,-1,-1,-1,-1,-1,162,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,189,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,216,-1,-1,-1,-1,-1,-1,tr.ContextualKeyword._abstract<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,270,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,297,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,324,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,351,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,378,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,405,-1,-1,-1,-1,-1,-1,-1,-1,tr.ContextualKeyword._accessor<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,tr.ContextualKeyword._as<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,459,-1,-1,-1,-1,-1,594,-1,-1,-1,-1,-1,-1,486,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,513,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,540,-1,-1,-1,-1,-1,-1,tr.ContextualKeyword._assert<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,567,-1,-1,-1,-1,-1,-1,-1,tr.ContextualKeyword._asserts<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,621,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,648,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,tr.ContextualKeyword._async<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,702,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,729,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,756,-1,-1,-1,-1,-1,-1,tr.ContextualKeyword._await<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,810,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,837,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,864,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,891,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(lr.TokenType._break<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,945,-1,-1,-1,-1,-1,-1,1107,-1,-1,-1,1242,-1,-1,1350,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,972,1026,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,999,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(lr.TokenType._case<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1053,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1080,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(lr.TokenType._catch<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1134,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1161,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1188,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1215,-1,-1,-1,-1,-1,-1,-1,tr.ContextualKeyword._checks<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1269,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1296,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1323,-1,-1,-1,-1,-1,-1,-1,(lr.TokenType._class<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1377,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1404,1620,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1431,-1,-1,-1,-1,-1,-1,(lr.TokenType._const<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1458,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1485,-1,-1,-1,-1,-1,-1,-1,-1,1512,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1539,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1566,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1593,-1,-1,-1,-1,-1,-1,-1,-1,tr.ContextualKeyword._constructor<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1647,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1674,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1701,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1728,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(lr.TokenType._continue<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1782,-1,-1,-1,-1,-1,-1,-1,-1,-1,2349,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1809,1971,-1,-1,2106,-1,-1,-1,-1,-1,2241,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1836,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1863,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1890,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1917,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1944,-1,-1,-1,-1,-1,-1,-1,-1,(lr.TokenType._debugger<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1998,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2025,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2052,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2079,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,tr.ContextualKeyword._declare<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2133,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2160,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2187,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2214,-1,-1,-1,-1,-1,-1,(lr.TokenType._default<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2268,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2295,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2322,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(lr.TokenType._delete<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(lr.TokenType._do<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2403,-1,2484,-1,-1,-1,-1,-1,-1,-1,-1,-1,2565,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2430,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2457,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(lr.TokenType._else<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2511,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2538,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,tr.ContextualKeyword._enum<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2592,-1,-1,-1,2727,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2619,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2646,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2673,-1,-1,-1,-1,-1,-1,(lr.TokenType._export<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2700,-1,-1,-1,-1,-1,-1,-1,tr.ContextualKeyword._exports<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2754,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2781,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2808,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2835,-1,-1,-1,-1,-1,-1,-1,(lr.TokenType._extends<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2889,-1,-1,-1,-1,-1,-1,-1,2997,-1,-1,-1,-1,-1,3159,-1,-1,3213,-1,-1,3294,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2916,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2943,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2970,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(lr.TokenType._false<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3024,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3051,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3078,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3105,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3132,-1,(lr.TokenType._finally<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3186,-1,-1,-1,-1,-1,-1,-1,-1,(lr.TokenType._for<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3240,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3267,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,tr.ContextualKeyword._from<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3321,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3348,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3375,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3402,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3429,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3456,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(lr.TokenType._function<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3510,-1,-1,-1,-1,-1,-1,3564,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3537,-1,-1,-1,-1,-1,-1,tr.ContextualKeyword._get<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3591,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3618,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3645,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3672,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,tr.ContextualKeyword._global<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3726,-1,-1,-1,-1,-1,-1,3753,4077,-1,-1,-1,-1,4590,-1,-1,-1,-1,-1,-1,-1,(lr.TokenType._if<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3780,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3807,-1,-1,3996,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3834,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3861,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3888,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3915,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3942,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3969,-1,-1,-1,-1,-1,-1,-1,tr.ContextualKeyword._implements<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4023,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4050,-1,-1,-1,-1,-1,-1,(lr.TokenType._import<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(lr.TokenType._in<<1)+1,-1,-1,-1,-1,-1,4104,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4185,4401,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4131,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4158,-1,-1,-1,-1,-1,-1,-1,-1,tr.ContextualKeyword._infer<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4212,-1,-1,-1,-1,-1,-1,-1,4239,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4266,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4293,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4320,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4347,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4374,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(lr.TokenType._instanceof<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4428,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4455,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4482,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4509,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4536,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4563,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,tr.ContextualKeyword._interface<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,tr.ContextualKeyword._is<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4644,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4671,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4698,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4725,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,tr.ContextualKeyword._keyof<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4779,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4806,-1,-1,-1,-1,-1,-1,(lr.TokenType._let<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4860,-1,-1,-1,-1,-1,4995,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4887,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4914,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4941,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4968,-1,-1,-1,-1,-1,-1,-1,tr.ContextualKeyword._mixins<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5022,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5049,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5076,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5103,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,tr.ContextualKeyword._module<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5157,-1,-1,-1,5373,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5427,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5184,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5211,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5238,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5265,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5292,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5319,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5346,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,tr.ContextualKeyword._namespace<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5400,-1,-1,-1,(lr.TokenType._new<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5454,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5481,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(lr.TokenType._null<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5535,-1,-1,-1,-1,-1,-1,-1,-1,-1,5562,-1,-1,-1,-1,5697,5751,-1,-1,-1,-1,tr.ContextualKeyword._of<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5589,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5616,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5643,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5670,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,tr.ContextualKeyword._opaque<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5724,-1,-1,-1,-1,-1,-1,tr.ContextualKeyword._out<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5778,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5805,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5832,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5859,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5886,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5913,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,tr.ContextualKeyword._override<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5967,-1,-1,6345,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5994,-1,-1,-1,-1,-1,6129,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6021,-1,-1,-1,-1,-1,6048,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6075,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6102,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,tr.ContextualKeyword._private<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6156,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6183,-1,-1,-1,-1,-1,-1,-1,-1,-1,6318,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6210,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6237,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6264,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6291,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,tr.ContextualKeyword._protected<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,tr.ContextualKeyword._proto<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6372,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6399,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6426,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6453,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,tr.ContextualKeyword._public<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6507,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6534,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6696,-1,-1,6831,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6561,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6588,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6615,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6642,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6669,-1,tr.ContextualKeyword._readonly<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6723,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6750,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6777,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6804,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,tr.ContextualKeyword._require<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6858,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6885,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6912,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(lr.TokenType._return<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6966,-1,-1,-1,7182,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7236,7371,-1,7479,-1,7614,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6993,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7020,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7047,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7074,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7101,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7128,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7155,-1,-1,-1,-1,-1,-1,-1,tr.ContextualKeyword._satisfies<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7209,-1,-1,-1,-1,-1,-1,tr.ContextualKeyword._set<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7263,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7290,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7317,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7344,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,tr.ContextualKeyword._static<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7398,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7425,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7452,-1,-1,-1,-1,-1,-1,-1,-1,(lr.TokenType._super<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7506,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7533,-1,-1,-1,-1,-1,-1,-1,-1,-1,7560,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7587,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(lr.TokenType._switch<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7641,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7668,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7695,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7722,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,tr.ContextualKeyword._symbol<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7776,-1,-1,-1,-1,-1,-1,-1,-1,-1,7938,-1,-1,-1,-1,-1,-1,8046,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7803,-1,-1,-1,-1,-1,-1,-1,-1,7857,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7830,-1,-1,-1,-1,-1,-1,-1,(lr.TokenType._this<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7884,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7911,-1,-1,-1,(lr.TokenType._throw<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7965,-1,-1,-1,8019,-1,-1,-1,-1,-1,-1,7992,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(lr.TokenType._true<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(lr.TokenType._try<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8073,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8100,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,tr.ContextualKeyword._type<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8127,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8154,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(lr.TokenType._typeof<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8208,-1,-1,-1,-1,8343,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8235,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8262,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8289,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8316,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,tr.ContextualKeyword._unique<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8370,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8397,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8424,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,tr.ContextualKeyword._using<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8478,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8532,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8505,-1,-1,-1,-1,-1,-1,-1,-1,(lr.TokenType._var<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8559,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8586,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(lr.TokenType._void<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8640,8748,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8667,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8694,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8721,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(lr.TokenType._while<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8775,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8802,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(lr.TokenType._with<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8856,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8883,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8910,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8937,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(lr.TokenType._yield<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1]);zb.READ_WORD_TREE=dV});var Nk=me(Hb=>{"use strict";Object.defineProperty(Hb,"__esModule",{value:!0});var Wi=pi(),oa=ci(),Dk=Mo(),Gb=En(),Ik=kk(),Ok=sr();function fV(){let e=0,t=0,n=Wi.state.pos;for(;n<Wi.input.length&&(t=Wi.input.charCodeAt(n),!(t<oa.charCodes.lowercaseA||t>oa.charCodes.lowercaseZ));){let o=Ik.READ_WORD_TREE[e+(t-oa.charCodes.lowercaseA)+1];if(o===-1)break;e=o,n++}let i=Ik.READ_WORD_TREE[e];if(i>-1&&!Dk.IS_IDENTIFIER_CHAR[t]){Wi.state.pos=n,i&1?Gb.finishToken.call(void 0,i>>>1):Gb.finishToken.call(void 0,Ok.TokenType.name,i>>>1);return}for(;n<Wi.input.length;){let o=Wi.input.charCodeAt(n);if(Dk.IS_IDENTIFIER_CHAR[o])n++;else if(o===oa.charCodes.backslash){if(n+=2,Wi.input.charCodeAt(n)===oa.charCodes.leftCurlyBrace){for(;n<Wi.input.length&&Wi.input.charCodeAt(n)!==oa.charCodes.rightCurlyBrace;)n++;n++}}else if(o===oa.charCodes.atSign&&Wi.input.charCodeAt(n+1)===oa.charCodes.atSign)n+=2;else break}Wi.state.pos=n,Gb.finishToken.call(void 0,Ok.TokenType.name)}Hb.default=fV});var En=me(wr=>{"use strict";Object.defineProperty(wr,"__esModule",{value:!0});function hV(e){return e&&e.__esModule?e:{default:e}}var Fe=pi(),Ro=aa(),Xe=ci(),jk=Mo(),Jb=Kb(),mV=Pn(),yV=Nk(),bV=hV(yV),St=sr(),Qr;(function(e){e[e.Access=0]="Access";let n=1;e[e.ExportAccess=n]="ExportAccess";let i=n+1;e[e.TopLevelDeclaration=i]="TopLevelDeclaration";let o=i+1;e[e.FunctionScopedDeclaration=o]="FunctionScopedDeclaration";let r=o+1;e[e.BlockScopedDeclaration=r]="BlockScopedDeclaration";let u=r+1;e[e.ObjectShorthandTopLevelDeclaration=u]="ObjectShorthandTopLevelDeclaration";let a=u+1;e[e.ObjectShorthandFunctionScopedDeclaration=a]="ObjectShorthandFunctionScopedDeclaration";let m=a+1;e[e.ObjectShorthandBlockScopedDeclaration=m]="ObjectShorthandBlockScopedDeclaration";let d=m+1;e[e.ObjectShorthand=d]="ObjectShorthand";let s=d+1;e[e.ImportDeclaration=s]="ImportDeclaration";let l=s+1;e[e.ObjectKey=l]="ObjectKey";let f=l+1;e[e.ImportAccess=f]="ImportAccess"})(Qr||(wr.IdentifierRole=Qr={}));var Fk;(function(e){e[e.NoChildren=0]="NoChildren";let n=1;e[e.OneChild=n]="OneChild";let i=n+1;e[e.StaticChildren=i]="StaticChildren";let o=i+1;e[e.KeyAfterPropSpread=o]="KeyAfterPropSpread"})(Fk||(wr.JSXRole=Fk={}));function gV(e){let t=e.identifierRole;return t===Qr.TopLevelDeclaration||t===Qr.FunctionScopedDeclaration||t===Qr.BlockScopedDeclaration||t===Qr.ObjectShorthandTopLevelDeclaration||t===Qr.ObjectShorthandFunctionScopedDeclaration||t===Qr.ObjectShorthandBlockScopedDeclaration}wr.isDeclaration=gV;function vV(e){let t=e.identifierRole;return t===Qr.FunctionScopedDeclaration||t===Qr.BlockScopedDeclaration||t===Qr.ObjectShorthandFunctionScopedDeclaration||t===Qr.ObjectShorthandBlockScopedDeclaration}wr.isNonTopLevelDeclaration=vV;function TV(e){let t=e.identifierRole;return t===Qr.TopLevelDeclaration||t===Qr.ObjectShorthandTopLevelDeclaration||t===Qr.ImportDeclaration}wr.isTopLevelDeclaration=TV;function EV(e){let t=e.identifierRole;return t===Qr.TopLevelDeclaration||t===Qr.BlockScopedDeclaration||t===Qr.ObjectShorthandTopLevelDeclaration||t===Qr.ObjectShorthandBlockScopedDeclaration}wr.isBlockScopedDeclaration=EV;function SV(e){let t=e.identifierRole;return t===Qr.FunctionScopedDeclaration||t===Qr.ObjectShorthandFunctionScopedDeclaration}wr.isFunctionScopedDeclaration=SV;function xV(e){return e.identifierRole===Qr.ObjectShorthandTopLevelDeclaration||e.identifierRole===Qr.ObjectShorthandBlockScopedDeclaration||e.identifierRole===Qr.ObjectShorthandFunctionScopedDeclaration}wr.isObjectShorthandDeclaration=xV;var qu=class{constructor(){this.type=Fe.state.type,this.contextualKeyword=Fe.state.contextualKeyword,this.start=Fe.state.start,this.end=Fe.state.end,this.scopeDepth=Fe.state.scopeDepth,this.isType=Fe.state.isType,this.identifierRole=null,this.jsxRole=null,this.shadowsGlobal=!1,this.isAsyncOperation=!1,this.contextId=null,this.rhsEndIndex=null,this.isExpression=!1,this.numNullishCoalesceStarts=0,this.numNullishCoalesceEnds=0,this.isOptionalChainStart=!1,this.isOptionalChainEnd=!1,this.subscriptStartIndex=null,this.nullishStartIndex=null}};wr.Token=qu;function Jd(){Fe.state.tokens.push(new qu),Bk()}wr.next=Jd;function _V(){Fe.state.tokens.push(new qu),Fe.state.start=Fe.state.pos,GV()}wr.nextTemplateToken=_V;function wV(){Fe.state.type===St.TokenType.assign&&--Fe.state.pos,WV()}wr.retokenizeSlashAsRegex=wV;function CV(e){for(let n=Fe.state.tokens.length-e;n<Fe.state.tokens.length;n++)Fe.state.tokens[n].isType=!0;let t=Fe.state.isType;return Fe.state.isType=!0,t}wr.pushTypeContext=CV;function AV(e){Fe.state.isType=e}wr.popTypeContext=AV;function Lk(e){return Yb(e)?(Jd(),!0):!1}wr.eat=Lk;function PV(e){let t=Fe.state.isType;Fe.state.isType=!0,Lk(e),Fe.state.isType=t}wr.eatTypeToken=PV;function Yb(e){return Fe.state.type===e}wr.match=Yb;function kV(){let e=Fe.state.snapshot();Jd();let t=Fe.state.type;return Fe.state.restoreFromSnapshot(e),t}wr.lookaheadType=kV;var Xd=class{constructor(t,n){this.type=t,this.contextualKeyword=n}};wr.TypeAndKeyword=Xd;function DV(){let e=Fe.state.snapshot();Jd();let t=Fe.state.type,n=Fe.state.contextualKeyword;return Fe.state.restoreFromSnapshot(e),new Xd(t,n)}wr.lookaheadTypeAndKeyword=DV;function Mk(){return Rk(Fe.state.pos)}wr.nextTokenStart=Mk;function Rk(e){Jb.skipWhiteSpace.lastIndex=e;let t=Jb.skipWhiteSpace.exec(Fe.input);return e+t[0].length}wr.nextTokenStartSince=Rk;function IV(){return Fe.input.charCodeAt(Mk())}wr.lookaheadCharCode=IV;function Bk(){if($k(),Fe.state.start=Fe.state.pos,Fe.state.pos>=Fe.input.length){let e=Fe.state.tokens;e.length>=2&&e[e.length-1].start>=Fe.input.length&&e[e.length-2].start>=Fe.input.length&&Ro.unexpected.call(void 0,"Unexpectedly reached the end of input."),Pr(St.TokenType.eof);return}OV(Fe.input.charCodeAt(Fe.state.pos))}wr.nextToken=Bk;function OV(e){jk.IS_IDENTIFIER_START[e]||e===Xe.charCodes.backslash||e===Xe.charCodes.atSign&&Fe.input.charCodeAt(Fe.state.pos+1)===Xe.charCodes.atSign?bV.default.call(void 0):qk(e)}function NV(){for(;Fe.input.charCodeAt(Fe.state.pos)!==Xe.charCodes.asterisk||Fe.input.charCodeAt(Fe.state.pos+1)!==Xe.charCodes.slash;)if(Fe.state.pos++,Fe.state.pos>Fe.input.length){Ro.unexpected.call(void 0,"Unterminated comment",Fe.state.pos-2);return}Fe.state.pos+=2}function Uk(e){let t=Fe.input.charCodeAt(Fe.state.pos+=e);if(Fe.state.pos<Fe.input.length)for(;t!==Xe.charCodes.lineFeed&&t!==Xe.charCodes.carriageReturn&&t!==Xe.charCodes.lineSeparator&&t!==Xe.charCodes.paragraphSeparator&&++Fe.state.pos<Fe.input.length;)t=Fe.input.charCodeAt(Fe.state.pos)}wr.skipLineComment=Uk;function $k(){for(;Fe.state.pos<Fe.input.length;){let e=Fe.input.charCodeAt(Fe.state.pos);switch(e){case Xe.charCodes.carriageReturn:Fe.input.charCodeAt(Fe.state.pos+1)===Xe.charCodes.lineFeed&&++Fe.state.pos;case Xe.charCodes.lineFeed:case Xe.charCodes.lineSeparator:case Xe.charCodes.paragraphSeparator:++Fe.state.pos;break;case Xe.charCodes.slash:switch(Fe.input.charCodeAt(Fe.state.pos+1)){case Xe.charCodes.asterisk:Fe.state.pos+=2,NV();break;case Xe.charCodes.slash:Uk(2);break;default:return}break;default:if(Jb.IS_WHITESPACE[e])++Fe.state.pos;else return}}}wr.skipSpace=$k;function Pr(e,t=mV.ContextualKeyword.NONE){Fe.state.end=Fe.state.pos,Fe.state.type=e,Fe.state.contextualKeyword=t}wr.finishToken=Pr;function FV(){let e=Fe.input.charCodeAt(Fe.state.pos+1);if(e>=Xe.charCodes.digit0&&e<=Xe.charCodes.digit9){Wk(!0);return}e===Xe.charCodes.dot&&Fe.input.charCodeAt(Fe.state.pos+2)===Xe.charCodes.dot?(Fe.state.pos+=3,Pr(St.TokenType.ellipsis)):(++Fe.state.pos,Pr(St.TokenType.dot))}function jV(){Fe.input.charCodeAt(Fe.state.pos+1)===Xe.charCodes.equalsTo?_r(St.TokenType.assign,2):_r(St.TokenType.slash,1)}function LV(e){let t=e===Xe.charCodes.asterisk?St.TokenType.star:St.TokenType.modulo,n=1,i=Fe.input.charCodeAt(Fe.state.pos+1);e===Xe.charCodes.asterisk&&i===Xe.charCodes.asterisk&&(n++,i=Fe.input.charCodeAt(Fe.state.pos+2),t=St.TokenType.exponent),i===Xe.charCodes.equalsTo&&Fe.input.charCodeAt(Fe.state.pos+2)!==Xe.charCodes.greaterThan&&(n++,t=St.TokenType.assign),_r(t,n)}function MV(e){let t=Fe.input.charCodeAt(Fe.state.pos+1);if(t===e){Fe.input.charCodeAt(Fe.state.pos+2)===Xe.charCodes.equalsTo?_r(St.TokenType.assign,3):_r(e===Xe.charCodes.verticalBar?St.TokenType.logicalOR:St.TokenType.logicalAND,2);return}if(e===Xe.charCodes.verticalBar){if(t===Xe.charCodes.greaterThan){_r(St.TokenType.pipeline,2);return}else if(t===Xe.charCodes.rightCurlyBrace&&Fe.isFlowEnabled){_r(St.TokenType.braceBarR,2);return}}if(t===Xe.charCodes.equalsTo){_r(St.TokenType.assign,2);return}_r(e===Xe.charCodes.verticalBar?St.TokenType.bitwiseOR:St.TokenType.bitwiseAND,1)}function RV(){Fe.input.charCodeAt(Fe.state.pos+1)===Xe.charCodes.equalsTo?_r(St.TokenType.assign,2):_r(St.TokenType.bitwiseXOR,1)}function BV(e){let t=Fe.input.charCodeAt(Fe.state.pos+1);if(t===e){_r(St.TokenType.preIncDec,2);return}t===Xe.charCodes.equalsTo?_r(St.TokenType.assign,2):e===Xe.charCodes.plusSign?_r(St.TokenType.plus,1):_r(St.TokenType.minus,1)}function UV(){let e=Fe.input.charCodeAt(Fe.state.pos+1);if(e===Xe.charCodes.lessThan){if(Fe.input.charCodeAt(Fe.state.pos+2)===Xe.charCodes.equalsTo){_r(St.TokenType.assign,3);return}Fe.state.isType?_r(St.TokenType.lessThan,1):_r(St.TokenType.bitShiftL,2);return}e===Xe.charCodes.equalsTo?_r(St.TokenType.relationalOrEqual,2):_r(St.TokenType.lessThan,1)}function Vk(){if(Fe.state.isType){_r(St.TokenType.greaterThan,1);return}let e=Fe.input.charCodeAt(Fe.state.pos+1);if(e===Xe.charCodes.greaterThan){let t=Fe.input.charCodeAt(Fe.state.pos+2)===Xe.charCodes.greaterThan?3:2;if(Fe.input.charCodeAt(Fe.state.pos+t)===Xe.charCodes.equalsTo){_r(St.TokenType.assign,t+1);return}_r(St.TokenType.bitShiftR,t);return}e===Xe.charCodes.equalsTo?_r(St.TokenType.relationalOrEqual,2):_r(St.TokenType.greaterThan,1)}function $V(){Fe.state.type===St.TokenType.greaterThan&&(Fe.state.pos-=1,Vk())}wr.rescan_gt=$V;function VV(e){let t=Fe.input.charCodeAt(Fe.state.pos+1);if(t===Xe.charCodes.equalsTo){_r(St.TokenType.equality,Fe.input.charCodeAt(Fe.state.pos+2)===Xe.charCodes.equalsTo?3:2);return}if(e===Xe.charCodes.equalsTo&&t===Xe.charCodes.greaterThan){Fe.state.pos+=2,Pr(St.TokenType.arrow);return}_r(e===Xe.charCodes.equalsTo?St.TokenType.eq:St.TokenType.bang,1)}function qV(){let e=Fe.input.charCodeAt(Fe.state.pos+1),t=Fe.input.charCodeAt(Fe.state.pos+2);e===Xe.charCodes.questionMark&&!(Fe.isFlowEnabled&&Fe.state.isType)?t===Xe.charCodes.equalsTo?_r(St.TokenType.assign,3):_r(St.TokenType.nullishCoalescing,2):e===Xe.charCodes.dot&&!(t>=Xe.charCodes.digit0&&t<=Xe.charCodes.digit9)?(Fe.state.pos+=2,Pr(St.TokenType.questionDot)):(++Fe.state.pos,Pr(St.TokenType.question))}function qk(e){switch(e){case Xe.charCodes.numberSign:++Fe.state.pos,Pr(St.TokenType.hash);return;case Xe.charCodes.dot:FV();return;case Xe.charCodes.leftParenthesis:++Fe.state.pos,Pr(St.TokenType.parenL);return;case Xe.charCodes.rightParenthesis:++Fe.state.pos,Pr(St.TokenType.parenR);return;case Xe.charCodes.semicolon:++Fe.state.pos,Pr(St.TokenType.semi);return;case Xe.charCodes.comma:++Fe.state.pos,Pr(St.TokenType.comma);return;case Xe.charCodes.leftSquareBracket:++Fe.state.pos,Pr(St.TokenType.bracketL);return;case Xe.charCodes.rightSquareBracket:++Fe.state.pos,Pr(St.TokenType.bracketR);return;case Xe.charCodes.leftCurlyBrace:Fe.isFlowEnabled&&Fe.input.charCodeAt(Fe.state.pos+1)===Xe.charCodes.verticalBar?_r(St.TokenType.braceBarL,2):(++Fe.state.pos,Pr(St.TokenType.braceL));return;case Xe.charCodes.rightCurlyBrace:++Fe.state.pos,Pr(St.TokenType.braceR);return;case Xe.charCodes.colon:Fe.input.charCodeAt(Fe.state.pos+1)===Xe.charCodes.colon?_r(St.TokenType.doubleColon,2):(++Fe.state.pos,Pr(St.TokenType.colon));return;case Xe.charCodes.questionMark:qV();return;case Xe.charCodes.atSign:++Fe.state.pos,Pr(St.TokenType.at);return;case Xe.charCodes.graveAccent:++Fe.state.pos,Pr(St.TokenType.backQuote);return;case Xe.charCodes.digit0:{let t=Fe.input.charCodeAt(Fe.state.pos+1);if(t===Xe.charCodes.lowercaseX||t===Xe.charCodes.uppercaseX||t===Xe.charCodes.lowercaseO||t===Xe.charCodes.uppercaseO||t===Xe.charCodes.lowercaseB||t===Xe.charCodes.uppercaseB){KV();return}}case Xe.charCodes.digit1:case Xe.charCodes.digit2:case Xe.charCodes.digit3:case Xe.charCodes.digit4:case Xe.charCodes.digit5:case Xe.charCodes.digit6:case Xe.charCodes.digit7:case Xe.charCodes.digit8:case Xe.charCodes.digit9:Wk(!1);return;case Xe.charCodes.quotationMark:case Xe.charCodes.apostrophe:zV(e);return;case Xe.charCodes.slash:jV();return;case Xe.charCodes.percentSign:case Xe.charCodes.asterisk:LV(e);return;case Xe.charCodes.verticalBar:case Xe.charCodes.ampersand:MV(e);return;case Xe.charCodes.caret:RV();return;case Xe.charCodes.plusSign:case Xe.charCodes.dash:BV(e);return;case Xe.charCodes.lessThan:UV();return;case Xe.charCodes.greaterThan:Vk();return;case Xe.charCodes.equalsTo:case Xe.charCodes.exclamationMark:VV(e);return;case Xe.charCodes.tilde:_r(St.TokenType.tilde,1);return;default:break}Ro.unexpected.call(void 0,`Unexpected character '${String.fromCharCode(e)}'`,Fe.state.pos)}wr.getTokenFromCode=qk;function _r(e,t){Fe.state.pos+=t,Pr(e)}function WV(){let e=Fe.state.pos,t=!1,n=!1;for(;;){if(Fe.state.pos>=Fe.input.length){Ro.unexpected.call(void 0,"Unterminated regular expression",e);return}let i=Fe.input.charCodeAt(Fe.state.pos);if(t)t=!1;else{if(i===Xe.charCodes.leftSquareBracket)n=!0;else if(i===Xe.charCodes.rightSquareBracket&&n)n=!1;else if(i===Xe.charCodes.slash&&!n)break;t=i===Xe.charCodes.backslash}++Fe.state.pos}++Fe.state.pos,Kk(),Pr(St.TokenType.regexp)}function Xb(){for(;;){let e=Fe.input.charCodeAt(Fe.state.pos);if(e>=Xe.charCodes.digit0&&e<=Xe.charCodes.digit9||e===Xe.charCodes.underscore)Fe.state.pos++;else break}}function KV(){for(Fe.state.pos+=2;;){let t=Fe.input.charCodeAt(Fe.state.pos);if(t>=Xe.charCodes.digit0&&t<=Xe.charCodes.digit9||t>=Xe.charCodes.lowercaseA&&t<=Xe.charCodes.lowercaseF||t>=Xe.charCodes.uppercaseA&&t<=Xe.charCodes.uppercaseF||t===Xe.charCodes.underscore)Fe.state.pos++;else break}Fe.input.charCodeAt(Fe.state.pos)===Xe.charCodes.lowercaseN?(++Fe.state.pos,Pr(St.TokenType.bigint)):Pr(St.TokenType.num)}function Wk(e){let t=!1,n=!1;e||Xb();let i=Fe.input.charCodeAt(Fe.state.pos);if(i===Xe.charCodes.dot&&(++Fe.state.pos,Xb(),i=Fe.input.charCodeAt(Fe.state.pos)),(i===Xe.charCodes.uppercaseE||i===Xe.charCodes.lowercaseE)&&(i=Fe.input.charCodeAt(++Fe.state.pos),(i===Xe.charCodes.plusSign||i===Xe.charCodes.dash)&&++Fe.state.pos,Xb(),i=Fe.input.charCodeAt(Fe.state.pos)),i===Xe.charCodes.lowercaseN?(++Fe.state.pos,t=!0):i===Xe.charCodes.lowercaseM&&(++Fe.state.pos,n=!0),t){Pr(St.TokenType.bigint);return}if(n){Pr(St.TokenType.decimal);return}Pr(St.TokenType.num)}function zV(e){for(Fe.state.pos++;;){if(Fe.state.pos>=Fe.input.length){Ro.unexpected.call(void 0,"Unterminated string constant");return}let t=Fe.input.charCodeAt(Fe.state.pos);if(t===Xe.charCodes.backslash)Fe.state.pos++;else if(t===e)break;Fe.state.pos++}Fe.state.pos++,Pr(St.TokenType.string)}function GV(){for(;;){if(Fe.state.pos>=Fe.input.length){Ro.unexpected.call(void 0,"Unterminated template");return}let e=Fe.input.charCodeAt(Fe.state.pos);if(e===Xe.charCodes.graveAccent||e===Xe.charCodes.dollarSign&&Fe.input.charCodeAt(Fe.state.pos+1)===Xe.charCodes.leftCurlyBrace){if(Fe.state.pos===Fe.state.start&&Yb(St.TokenType.template))if(e===Xe.charCodes.dollarSign){Fe.state.pos+=2,Pr(St.TokenType.dollarBraceL);return}else{++Fe.state.pos,Pr(St.TokenType.backQuote);return}Pr(St.TokenType.template);return}e===Xe.charCodes.backslash&&Fe.state.pos++,Fe.state.pos++}}function Kk(){for(;Fe.state.pos<Fe.input.length;){let e=Fe.input.charCodeAt(Fe.state.pos);if(jk.IS_IDENTIFIER_CHAR[e])Fe.state.pos++;else if(e===Xe.charCodes.backslash){if(Fe.state.pos+=2,Fe.input.charCodeAt(Fe.state.pos)===Xe.charCodes.leftCurlyBrace){for(;Fe.state.pos<Fe.input.length&&Fe.input.charCodeAt(Fe.state.pos)!==Xe.charCodes.rightCurlyBrace;)Fe.state.pos++;Fe.state.pos++}}else break}}wr.skipWord=Kk});var Wu=me(Qb=>{"use strict";Object.defineProperty(Qb,"__esModule",{value:!0});var zk=sr();function HV(e,t=e.currentIndex()){let n=t+1;if(Yd(e,n)){let i=e.identifierNameAtIndex(t);return{isType:!1,leftName:i,rightName:i,endIndex:n}}if(n++,Yd(e,n))return{isType:!0,leftName:null,rightName:null,endIndex:n};if(n++,Yd(e,n))return{isType:!1,leftName:e.identifierNameAtIndex(t),rightName:e.identifierNameAtIndex(t+2),endIndex:n};if(n++,Yd(e,n))return{isType:!0,leftName:null,rightName:null,endIndex:n};throw new Error(`Unexpected import/export specifier at ${t}`)}Qb.default=HV;function Yd(e,t){let n=e.tokens[t];return n.type===zk.TokenType.braceR||n.type===zk.TokenType.comma}});var Gk=me(Zb=>{"use strict";Object.defineProperty(Zb,"__esModule",{value:!0});Zb.default=new Map([["quot",'"'],["amp","&"],["apos","'"],["lt","<"],["gt",">"],["nbsp","\xA0"],["iexcl","\xA1"],["cent","\xA2"],["pound","\xA3"],["curren","\xA4"],["yen","\xA5"],["brvbar","\xA6"],["sect","\xA7"],["uml","\xA8"],["copy","\xA9"],["ordf","\xAA"],["laquo","\xAB"],["not","\xAC"],["shy","\xAD"],["reg","\xAE"],["macr","\xAF"],["deg","\xB0"],["plusmn","\xB1"],["sup2","\xB2"],["sup3","\xB3"],["acute","\xB4"],["micro","\xB5"],["para","\xB6"],["middot","\xB7"],["cedil","\xB8"],["sup1","\xB9"],["ordm","\xBA"],["raquo","\xBB"],["frac14","\xBC"],["frac12","\xBD"],["frac34","\xBE"],["iquest","\xBF"],["Agrave","\xC0"],["Aacute","\xC1"],["Acirc","\xC2"],["Atilde","\xC3"],["Auml","\xC4"],["Aring","\xC5"],["AElig","\xC6"],["Ccedil","\xC7"],["Egrave","\xC8"],["Eacute","\xC9"],["Ecirc","\xCA"],["Euml","\xCB"],["Igrave","\xCC"],["Iacute","\xCD"],["Icirc","\xCE"],["Iuml","\xCF"],["ETH","\xD0"],["Ntilde","\xD1"],["Ograve","\xD2"],["Oacute","\xD3"],["Ocirc","\xD4"],["Otilde","\xD5"],["Ouml","\xD6"],["times","\xD7"],["Oslash","\xD8"],["Ugrave","\xD9"],["Uacute","\xDA"],["Ucirc","\xDB"],["Uuml","\xDC"],["Yacute","\xDD"],["THORN","\xDE"],["szlig","\xDF"],["agrave","\xE0"],["aacute","\xE1"],["acirc","\xE2"],["atilde","\xE3"],["auml","\xE4"],["aring","\xE5"],["aelig","\xE6"],["ccedil","\xE7"],["egrave","\xE8"],["eacute","\xE9"],["ecirc","\xEA"],["euml","\xEB"],["igrave","\xEC"],["iacute","\xED"],["icirc","\xEE"],["iuml","\xEF"],["eth","\xF0"],["ntilde","\xF1"],["ograve","\xF2"],["oacute","\xF3"],["ocirc","\xF4"],["otilde","\xF5"],["ouml","\xF6"],["divide","\xF7"],["oslash","\xF8"],["ugrave","\xF9"],["uacute","\xFA"],["ucirc","\xFB"],["uuml","\xFC"],["yacute","\xFD"],["thorn","\xFE"],["yuml","\xFF"],["OElig","\u0152"],["oelig","\u0153"],["Scaron","\u0160"],["scaron","\u0161"],["Yuml","\u0178"],["fnof","\u0192"],["circ","\u02C6"],["tilde","\u02DC"],["Alpha","\u0391"],["Beta","\u0392"],["Gamma","\u0393"],["Delta","\u0394"],["Epsilon","\u0395"],["Zeta","\u0396"],["Eta","\u0397"],["Theta","\u0398"],["Iota","\u0399"],["Kappa","\u039A"],["Lambda","\u039B"],["Mu","\u039C"],["Nu","\u039D"],["Xi","\u039E"],["Omicron","\u039F"],["Pi","\u03A0"],["Rho","\u03A1"],["Sigma","\u03A3"],["Tau","\u03A4"],["Upsilon","\u03A5"],["Phi","\u03A6"],["Chi","\u03A7"],["Psi","\u03A8"],["Omega","\u03A9"],["alpha","\u03B1"],["beta","\u03B2"],["gamma","\u03B3"],["delta","\u03B4"],["epsilon","\u03B5"],["zeta","\u03B6"],["eta","\u03B7"],["theta","\u03B8"],["iota","\u03B9"],["kappa","\u03BA"],["lambda","\u03BB"],["mu","\u03BC"],["nu","\u03BD"],["xi","\u03BE"],["omicron","\u03BF"],["pi","\u03C0"],["rho","\u03C1"],["sigmaf","\u03C2"],["sigma","\u03C3"],["tau","\u03C4"],["upsilon","\u03C5"],["phi","\u03C6"],["chi","\u03C7"],["psi","\u03C8"],["omega","\u03C9"],["thetasym","\u03D1"],["upsih","\u03D2"],["piv","\u03D6"],["ensp","\u2002"],["emsp","\u2003"],["thinsp","\u2009"],["zwnj","\u200C"],["zwj","\u200D"],["lrm","\u200E"],["rlm","\u200F"],["ndash","\u2013"],["mdash","\u2014"],["lsquo","\u2018"],["rsquo","\u2019"],["sbquo","\u201A"],["ldquo","\u201C"],["rdquo","\u201D"],["bdquo","\u201E"],["dagger","\u2020"],["Dagger","\u2021"],["bull","\u2022"],["hellip","\u2026"],["permil","\u2030"],["prime","\u2032"],["Prime","\u2033"],["lsaquo","\u2039"],["rsaquo","\u203A"],["oline","\u203E"],["frasl","\u2044"],["euro","\u20AC"],["image","\u2111"],["weierp","\u2118"],["real","\u211C"],["trade","\u2122"],["alefsym","\u2135"],["larr","\u2190"],["uarr","\u2191"],["rarr","\u2192"],["darr","\u2193"],["harr","\u2194"],["crarr","\u21B5"],["lArr","\u21D0"],["uArr","\u21D1"],["rArr","\u21D2"],["dArr","\u21D3"],["hArr","\u21D4"],["forall","\u2200"],["part","\u2202"],["exist","\u2203"],["empty","\u2205"],["nabla","\u2207"],["isin","\u2208"],["notin","\u2209"],["ni","\u220B"],["prod","\u220F"],["sum","\u2211"],["minus","\u2212"],["lowast","\u2217"],["radic","\u221A"],["prop","\u221D"],["infin","\u221E"],["ang","\u2220"],["and","\u2227"],["or","\u2228"],["cap","\u2229"],["cup","\u222A"],["int","\u222B"],["there4","\u2234"],["sim","\u223C"],["cong","\u2245"],["asymp","\u2248"],["ne","\u2260"],["equiv","\u2261"],["le","\u2264"],["ge","\u2265"],["sub","\u2282"],["sup","\u2283"],["nsub","\u2284"],["sube","\u2286"],["supe","\u2287"],["oplus","\u2295"],["otimes","\u2297"],["perp","\u22A5"],["sdot","\u22C5"],["lceil","\u2308"],["rceil","\u2309"],["lfloor","\u230A"],["rfloor","\u230B"],["lang","\u2329"],["rang","\u232A"],["loz","\u25CA"],["spades","\u2660"],["clubs","\u2663"],["hearts","\u2665"],["diams","\u2666"]])});var tg=me(eg=>{"use strict";Object.defineProperty(eg,"__esModule",{value:!0});function XV(e){let[t,n]=Hk(e.jsxPragma||"React.createElement"),[i,o]=Hk(e.jsxFragmentPragma||"React.Fragment");return{base:t,suffix:n,fragmentBase:i,fragmentSuffix:o}}eg.default=XV;function Hk(e){let t=e.indexOf(".");return t===-1&&(t=e.length),[e.slice(0,t),e.slice(t)]}});var Ci=me(ng=>{"use strict";Object.defineProperty(ng,"__esModule",{value:!0});var rg=class{getPrefixCode(){return""}getHoistedCode(){return""}getSuffixCode(){return""}};ng.default=rg});var ag=me(Zd=>{"use strict";Object.defineProperty(Zd,"__esModule",{value:!0});function sg(e){return e&&e.__esModule?e:{default:e}}var JV=Gk(),YV=sg(JV),Qd=En(),hr=sr(),ls=ci(),QV=tg(),ZV=sg(QV),eq=Ci(),tq=sg(eq),ig=class e extends tq.default{__init(){this.lastLineNumber=1}__init2(){this.lastIndex=0}__init3(){this.filenameVarName=null}__init4(){this.esmAutomaticImportNameResolutions={}}__init5(){this.cjsAutomaticModuleNameResolutions={}}constructor(t,n,i,o,r){super(),this.rootTransformer=t,this.tokens=n,this.importProcessor=i,this.nameManager=o,this.options=r,e.prototype.__init.call(this),e.prototype.__init2.call(this),e.prototype.__init3.call(this),e.prototype.__init4.call(this),e.prototype.__init5.call(this),this.jsxPragmaInfo=ZV.default.call(void 0,r),this.isAutomaticRuntime=r.jsxRuntime==="automatic",this.jsxImportSource=r.jsxImportSource||"react"}process(){return this.tokens.matches1(hr.TokenType.jsxTagStart)?(this.processJSXTag(),!0):!1}getPrefixCode(){let t="";if(this.filenameVarName&&(t+=`const ${this.filenameVarName} = ${JSON.stringify(this.options.filePath||"")};`),this.isAutomaticRuntime)if(this.importProcessor)for(let[n,i]of Object.entries(this.cjsAutomaticModuleNameResolutions))t+=`var ${i} = require("${n}");`;else{let{createElement:n,...i}=this.esmAutomaticImportNameResolutions;n&&(t+=`import {createElement as ${n}} from "${this.jsxImportSource}";`);let o=Object.entries(i).map(([r,u])=>`${r} as ${u}`).join(", ");if(o){let r=this.jsxImportSource+(this.options.production?"/jsx-runtime":"/jsx-dev-runtime");t+=`import {${o}} from "${r}";`}}return t}processJSXTag(){let{jsxRole:t,start:n}=this.tokens.currentToken(),i=this.options.production?null:this.getElementLocationCode(n);this.isAutomaticRuntime&&t!==Qd.JSXRole.KeyAfterPropSpread?this.transformTagToJSXFunc(i,t):this.transformTagToCreateElement(i)}getElementLocationCode(t){return`lineNumber: ${this.getLineNumberForIndex(t)}`}getLineNumberForIndex(t){let n=this.tokens.code;for(;this.lastIndex<t&&this.lastIndex<n.length;)n[this.lastIndex]===`
|
|
`&&this.lastLineNumber++,this.lastIndex++;return this.lastLineNumber}transformTagToJSXFunc(t,n){let i=n===Qd.JSXRole.StaticChildren;this.tokens.replaceToken(this.getJSXFuncInvocationCode(i));let o=null;if(this.tokens.matches1(hr.TokenType.jsxTagEnd))this.tokens.replaceToken(`${this.getFragmentCode()}, {`),this.processAutomaticChildrenAndEndProps(n);else{if(this.processTagIntro(),this.tokens.appendCode(", {"),o=this.processProps(!0),this.tokens.matches2(hr.TokenType.slash,hr.TokenType.jsxTagEnd))this.tokens.appendCode("}");else if(this.tokens.matches1(hr.TokenType.jsxTagEnd))this.tokens.removeToken(),this.processAutomaticChildrenAndEndProps(n);else throw new Error("Expected either /> or > at the end of the tag.");o&&this.tokens.appendCode(`, ${o}`)}for(this.options.production||(o===null&&this.tokens.appendCode(", void 0"),this.tokens.appendCode(`, ${i}, ${this.getDevSource(t)}, this`)),this.tokens.removeInitialToken();!this.tokens.matches1(hr.TokenType.jsxTagEnd);)this.tokens.removeToken();this.tokens.replaceToken(")")}transformTagToCreateElement(t){if(this.tokens.replaceToken(this.getCreateElementInvocationCode()),this.tokens.matches1(hr.TokenType.jsxTagEnd))this.tokens.replaceToken(`${this.getFragmentCode()}, null`),this.processChildren(!0);else if(this.processTagIntro(),this.processPropsObjectWithDevInfo(t),!this.tokens.matches2(hr.TokenType.slash,hr.TokenType.jsxTagEnd))if(this.tokens.matches1(hr.TokenType.jsxTagEnd))this.tokens.removeToken(),this.processChildren(!0);else throw new Error("Expected either /> or > at the end of the tag.");for(this.tokens.removeInitialToken();!this.tokens.matches1(hr.TokenType.jsxTagEnd);)this.tokens.removeToken();this.tokens.replaceToken(")")}getJSXFuncInvocationCode(t){return this.options.production?t?this.claimAutoImportedFuncInvocation("jsxs","/jsx-runtime"):this.claimAutoImportedFuncInvocation("jsx","/jsx-runtime"):this.claimAutoImportedFuncInvocation("jsxDEV","/jsx-dev-runtime")}getCreateElementInvocationCode(){if(this.isAutomaticRuntime)return this.claimAutoImportedFuncInvocation("createElement","");{let{jsxPragmaInfo:t}=this;return`${this.importProcessor&&this.importProcessor.getIdentifierReplacement(t.base)||t.base}${t.suffix}(`}}getFragmentCode(){if(this.isAutomaticRuntime)return this.claimAutoImportedName("Fragment",this.options.production?"/jsx-runtime":"/jsx-dev-runtime");{let{jsxPragmaInfo:t}=this;return(this.importProcessor&&this.importProcessor.getIdentifierReplacement(t.fragmentBase)||t.fragmentBase)+t.fragmentSuffix}}claimAutoImportedFuncInvocation(t,n){let i=this.claimAutoImportedName(t,n);return this.importProcessor?`${i}.call(void 0, `:`${i}(`}claimAutoImportedName(t,n){if(this.importProcessor){let i=this.jsxImportSource+n;return this.cjsAutomaticModuleNameResolutions[i]||(this.cjsAutomaticModuleNameResolutions[i]=this.importProcessor.getFreeIdentifierForPath(i)),`${this.cjsAutomaticModuleNameResolutions[i]}.${t}`}else return this.esmAutomaticImportNameResolutions[t]||(this.esmAutomaticImportNameResolutions[t]=this.nameManager.claimFreeName(`_${t}`)),this.esmAutomaticImportNameResolutions[t]}processTagIntro(){let t=this.tokens.currentIndex()+1;for(;this.tokens.tokens[t].isType||!this.tokens.matches2AtIndex(t-1,hr.TokenType.jsxName,hr.TokenType.jsxName)&&!this.tokens.matches2AtIndex(t-1,hr.TokenType.greaterThan,hr.TokenType.jsxName)&&!this.tokens.matches1AtIndex(t,hr.TokenType.braceL)&&!this.tokens.matches1AtIndex(t,hr.TokenType.jsxTagEnd)&&!this.tokens.matches2AtIndex(t,hr.TokenType.slash,hr.TokenType.jsxTagEnd);)t++;if(t===this.tokens.currentIndex()+1){let n=this.tokens.identifierName();Jk(n)&&this.tokens.replaceToken(`'${n}'`)}for(;this.tokens.currentIndex()<t;)this.rootTransformer.processToken()}processPropsObjectWithDevInfo(t){let n=this.options.production?"":`__self: this, __source: ${this.getDevSource(t)}`;if(!this.tokens.matches1(hr.TokenType.jsxName)&&!this.tokens.matches1(hr.TokenType.braceL)){n?this.tokens.appendCode(`, {${n}}`):this.tokens.appendCode(", null");return}this.tokens.appendCode(", {"),this.processProps(!1),n?this.tokens.appendCode(` ${n}}`):this.tokens.appendCode("}")}processProps(t){let n=null;for(;;){if(this.tokens.matches2(hr.TokenType.jsxName,hr.TokenType.eq)){let i=this.tokens.identifierName();if(t&&i==="key"){n!==null&&this.tokens.appendCode(n.replace(/[^\n]/g,"")),this.tokens.removeToken(),this.tokens.removeToken();let o=this.tokens.snapshot();this.processPropValue(),n=this.tokens.dangerouslyGetAndRemoveCodeSinceSnapshot(o);continue}else this.processPropName(i),this.tokens.replaceToken(": "),this.processPropValue()}else if(this.tokens.matches1(hr.TokenType.jsxName)){let i=this.tokens.identifierName();this.processPropName(i),this.tokens.appendCode(": true")}else if(this.tokens.matches1(hr.TokenType.braceL))this.tokens.replaceToken(""),this.rootTransformer.processBalancedCode(),this.tokens.replaceToken("");else break;this.tokens.appendCode(",")}return n}processPropName(t){t.includes("-")?this.tokens.replaceToken(`'${t}'`):this.tokens.copyToken()}processPropValue(){this.tokens.matches1(hr.TokenType.braceL)?(this.tokens.replaceToken(""),this.rootTransformer.processBalancedCode(),this.tokens.replaceToken("")):this.tokens.matches1(hr.TokenType.jsxTagStart)?this.processJSXTag():this.processStringPropValue()}processStringPropValue(){let t=this.tokens.currentToken(),n=this.tokens.code.slice(t.start+1,t.end-1),i=Xk(n),o=nq(n);this.tokens.replaceToken(o+i)}processAutomaticChildrenAndEndProps(t){t===Qd.JSXRole.StaticChildren?(this.tokens.appendCode(" children: ["),this.processChildren(!1),this.tokens.appendCode("]}")):(t===Qd.JSXRole.OneChild&&this.tokens.appendCode(" children: "),this.processChildren(!1),this.tokens.appendCode("}"))}processChildren(t){let n=t;for(;;){if(this.tokens.matches2(hr.TokenType.jsxTagStart,hr.TokenType.slash))return;let i=!1;if(this.tokens.matches1(hr.TokenType.braceL))this.tokens.matches2(hr.TokenType.braceL,hr.TokenType.braceR)?(this.tokens.replaceToken(""),this.tokens.replaceToken("")):(this.tokens.replaceToken(n?", ":""),this.rootTransformer.processBalancedCode(),this.tokens.replaceToken(""),i=!0);else if(this.tokens.matches1(hr.TokenType.jsxTagStart))this.tokens.appendCode(n?", ":""),this.processJSXTag(),i=!0;else if(this.tokens.matches1(hr.TokenType.jsxText)||this.tokens.matches1(hr.TokenType.jsxEmptyText))i=this.processChildTextElement(n);else throw new Error("Unexpected token when processing JSX children.");i&&(n=!0)}}processChildTextElement(t){let n=this.tokens.currentToken(),i=this.tokens.code.slice(n.start,n.end),o=Xk(i),r=rq(i);return r==='""'?(this.tokens.replaceToken(o),!1):(this.tokens.replaceToken(`${t?", ":""}${r}${o}`),!0)}getDevSource(t){return`{fileName: ${this.getFilenameVarName()}, ${t}}`}getFilenameVarName(){return this.filenameVarName||(this.filenameVarName=this.nameManager.claimFreeName("_jsxFileName")),this.filenameVarName}};Zd.default=ig;function Jk(e){let t=e.charCodeAt(0);return t>=ls.charCodes.lowercaseA&&t<=ls.charCodes.lowercaseZ}Zd.startsWithLowerCase=Jk;function rq(e){let t="",n="",i=!1,o=!1;for(let r=0;r<e.length;r++){let u=e[r];if(u===" "||u===" "||u==="\r")i||(n+=u);else if(u===`
|
|
`)n="",i=!0;else{if(o&&i&&(t+=" "),t+=n,n="",u==="&"){let{entity:a,newI:m}=Yk(e,r+1);r=m-1,t+=a}else t+=u;o=!0,i=!1}}return i||(t+=n),JSON.stringify(t)}function Xk(e){let t=0,n=0;for(let i of e)i===`
|
|
`?(t++,n=0):i===" "&&n++;return`
|
|
`.repeat(t)+" ".repeat(n)}function nq(e){let t="";for(let n=0;n<e.length;n++){let i=e[n];if(i===`
|
|
`)if(/\s/.test(e[n+1]))for(t+=" ";n<e.length&&/\s/.test(e[n+1]);)n++;else t+=`
|
|
`;else if(i==="&"){let{entity:o,newI:r}=Yk(e,n+1);t+=o,n=r-1}else t+=i}return JSON.stringify(t)}function Yk(e,t){let n="",i=0,o,r=t;if(e[r]==="#"){let u=10;r++;let a;if(e[r]==="x")for(u=16,r++,a=r;r<e.length&&sq(e.charCodeAt(r));)r++;else for(a=r;r<e.length&&iq(e.charCodeAt(r));)r++;if(e[r]===";"){let m=e.slice(a,r);m&&(r++,o=String.fromCodePoint(parseInt(m,u)))}}else for(;r<e.length&&i++<10;){let u=e[r];if(r++,u===";"){o=YV.default.get(n);break}n+=u}return o?{entity:o,newI:r}:{entity:"&",newI:t}}function iq(e){return e>=ls.charCodes.digit0&&e<=ls.charCodes.digit9}function sq(e){return e>=ls.charCodes.digit0&&e<=ls.charCodes.digit9||e>=ls.charCodes.lowercaseA&&e<=ls.charCodes.lowercaseF||e>=ls.charCodes.uppercaseA&&e<=ls.charCodes.uppercaseF}});var lg=me(og=>{"use strict";Object.defineProperty(og,"__esModule",{value:!0});function aq(e){return e&&e.__esModule?e:{default:e}}var ef=En(),Bo=sr(),oq=ag(),lq=tg(),uq=aq(lq);function cq(e,t){let n=uq.default.call(void 0,t),i=new Set;for(let o=0;o<e.tokens.length;o++){let r=e.tokens[o];if(r.type===Bo.TokenType.name&&!r.isType&&(r.identifierRole===ef.IdentifierRole.Access||r.identifierRole===ef.IdentifierRole.ObjectShorthand||r.identifierRole===ef.IdentifierRole.ExportAccess)&&!r.shadowsGlobal&&i.add(e.identifierNameForToken(r)),r.type===Bo.TokenType.jsxTagStart&&i.add(n.base),r.type===Bo.TokenType.jsxTagStart&&o+1<e.tokens.length&&e.tokens[o+1].type===Bo.TokenType.jsxTagEnd&&(i.add(n.base),i.add(n.fragmentBase)),r.type===Bo.TokenType.jsxName&&r.identifierRole===ef.IdentifierRole.Access){let u=e.identifierNameForToken(r);(!oq.startsWithLowerCase.call(void 0,u)||e.tokens[o+1].type===Bo.TokenType.dot)&&i.add(e.identifierNameForToken(r))}}return i}og.getNonTypeIdentifiers=cq});var Qk=me(cg=>{"use strict";Object.defineProperty(cg,"__esModule",{value:!0});function pq(e){return e&&e.__esModule?e:{default:e}}var dq=En(),tf=Pn(),Gt=sr(),fq=Wu(),hq=pq(fq),mq=lg(),ug=class e{__init(){this.nonTypeIdentifiers=new Set}__init2(){this.importInfoByPath=new Map}__init3(){this.importsToReplace=new Map}__init4(){this.identifierReplacements=new Map}__init5(){this.exportBindingsByLocalName=new Map}constructor(t,n,i,o,r,u,a){this.nameManager=t,this.tokens=n,this.enableLegacyTypeScriptModuleInterop=i,this.options=o,this.isTypeScriptTransformEnabled=r,this.keepUnusedImports=u,this.helperManager=a,e.prototype.__init.call(this),e.prototype.__init2.call(this),e.prototype.__init3.call(this),e.prototype.__init4.call(this),e.prototype.__init5.call(this)}preprocessTokens(){for(let t=0;t<this.tokens.tokens.length;t++)this.tokens.matches1AtIndex(t,Gt.TokenType._import)&&!this.tokens.matches3AtIndex(t,Gt.TokenType._import,Gt.TokenType.name,Gt.TokenType.eq)&&this.preprocessImportAtIndex(t),this.tokens.matches1AtIndex(t,Gt.TokenType._export)&&!this.tokens.matches2AtIndex(t,Gt.TokenType._export,Gt.TokenType.eq)&&this.preprocessExportAtIndex(t);this.generateImportReplacements()}pruneTypeOnlyImports(){this.nonTypeIdentifiers=mq.getNonTypeIdentifiers.call(void 0,this.tokens,this.options);for(let[t,n]of this.importInfoByPath.entries()){if(n.hasBareImport||n.hasStarExport||n.exportStarNames.length>0||n.namedExports.length>0)continue;[...n.defaultNames,...n.wildcardNames,...n.namedImports.map(({localName:o})=>o)].every(o=>this.shouldAutomaticallyElideImportedName(o))&&this.importsToReplace.set(t,"")}}shouldAutomaticallyElideImportedName(t){return this.isTypeScriptTransformEnabled&&!this.keepUnusedImports&&!this.nonTypeIdentifiers.has(t)}generateImportReplacements(){for(let[t,n]of this.importInfoByPath.entries()){let{defaultNames:i,wildcardNames:o,namedImports:r,namedExports:u,exportStarNames:a,hasStarExport:m}=n;if(i.length===0&&o.length===0&&r.length===0&&u.length===0&&a.length===0&&!m){this.importsToReplace.set(t,`require('${t}');`);continue}let d=this.getFreeIdentifierForPath(t),s;this.enableLegacyTypeScriptModuleInterop?s=d:s=o.length>0?o[0]:this.getFreeIdentifierForPath(t);let l=`var ${d} = require('${t}');`;if(o.length>0)for(let f of o){let p=this.enableLegacyTypeScriptModuleInterop?d:`${this.helperManager.getHelperName("interopRequireWildcard")}(${d})`;l+=` var ${f} = ${p};`}else a.length>0&&s!==d?l+=` var ${s} = ${this.helperManager.getHelperName("interopRequireWildcard")}(${d});`:i.length>0&&s!==d&&(l+=` var ${s} = ${this.helperManager.getHelperName("interopRequireDefault")}(${d});`);for(let{importedName:f,localName:p}of u)l+=` ${this.helperManager.getHelperName("createNamedExportFrom")}(${d}, '${p}', '${f}');`;for(let f of a)l+=` exports.${f} = ${s};`;m&&(l+=` ${this.helperManager.getHelperName("createStarExport")}(${d});`),this.importsToReplace.set(t,l);for(let f of i)this.identifierReplacements.set(f,`${s}.default`);for(let{importedName:f,localName:p}of r)this.identifierReplacements.set(p,`${d}.${f}`)}}getFreeIdentifierForPath(t){let n=t.split("/"),o=n[n.length-1].replace(/\W/g,"");return this.nameManager.claimFreeName(`_${o}`)}preprocessImportAtIndex(t){let n=[],i=[],o=[];if(t++,(this.tokens.matchesContextualAtIndex(t,tf.ContextualKeyword._type)||this.tokens.matches1AtIndex(t,Gt.TokenType._typeof))&&!this.tokens.matches1AtIndex(t+1,Gt.TokenType.comma)&&!this.tokens.matchesContextualAtIndex(t+1,tf.ContextualKeyword._from)||this.tokens.matches1AtIndex(t,Gt.TokenType.parenL))return;if(this.tokens.matches1AtIndex(t,Gt.TokenType.name)&&(n.push(this.tokens.identifierNameAtIndex(t)),t++,this.tokens.matches1AtIndex(t,Gt.TokenType.comma)&&t++),this.tokens.matches1AtIndex(t,Gt.TokenType.star)&&(t+=2,i.push(this.tokens.identifierNameAtIndex(t)),t++),this.tokens.matches1AtIndex(t,Gt.TokenType.braceL)){let a=this.getNamedImports(t+1);t=a.newIndex;for(let m of a.namedImports)m.importedName==="default"?n.push(m.localName):o.push(m)}if(this.tokens.matchesContextualAtIndex(t,tf.ContextualKeyword._from)&&t++,!this.tokens.matches1AtIndex(t,Gt.TokenType.string))throw new Error("Expected string token at the end of import statement.");let r=this.tokens.stringValueAtIndex(t),u=this.getImportInfo(r);u.defaultNames.push(...n),u.wildcardNames.push(...i),u.namedImports.push(...o),n.length===0&&i.length===0&&o.length===0&&(u.hasBareImport=!0)}preprocessExportAtIndex(t){if(this.tokens.matches2AtIndex(t,Gt.TokenType._export,Gt.TokenType._var)||this.tokens.matches2AtIndex(t,Gt.TokenType._export,Gt.TokenType._let)||this.tokens.matches2AtIndex(t,Gt.TokenType._export,Gt.TokenType._const))this.preprocessVarExportAtIndex(t);else if(this.tokens.matches2AtIndex(t,Gt.TokenType._export,Gt.TokenType._function)||this.tokens.matches2AtIndex(t,Gt.TokenType._export,Gt.TokenType._class)){let n=this.tokens.identifierNameAtIndex(t+2);this.addExportBinding(n,n)}else if(this.tokens.matches3AtIndex(t,Gt.TokenType._export,Gt.TokenType.name,Gt.TokenType._function)){let n=this.tokens.identifierNameAtIndex(t+3);this.addExportBinding(n,n)}else this.tokens.matches2AtIndex(t,Gt.TokenType._export,Gt.TokenType.braceL)?this.preprocessNamedExportAtIndex(t):this.tokens.matches2AtIndex(t,Gt.TokenType._export,Gt.TokenType.star)&&this.preprocessExportStarAtIndex(t)}preprocessVarExportAtIndex(t){let n=0;for(let i=t+2;;i++)if(this.tokens.matches1AtIndex(i,Gt.TokenType.braceL)||this.tokens.matches1AtIndex(i,Gt.TokenType.dollarBraceL)||this.tokens.matches1AtIndex(i,Gt.TokenType.bracketL))n++;else if(this.tokens.matches1AtIndex(i,Gt.TokenType.braceR)||this.tokens.matches1AtIndex(i,Gt.TokenType.bracketR))n--;else{if(n===0&&!this.tokens.matches1AtIndex(i,Gt.TokenType.name))break;if(this.tokens.matches1AtIndex(1,Gt.TokenType.eq)){let o=this.tokens.currentToken().rhsEndIndex;if(o==null)throw new Error("Expected = token with an end index.");i=o-1}else{let o=this.tokens.tokens[i];if(dq.isDeclaration.call(void 0,o)){let r=this.tokens.identifierNameAtIndex(i);this.identifierReplacements.set(r,`exports.${r}`)}}}}preprocessNamedExportAtIndex(t){t+=2;let{newIndex:n,namedImports:i}=this.getNamedImports(t);if(t=n,this.tokens.matchesContextualAtIndex(t,tf.ContextualKeyword._from))t++;else{for(let{importedName:u,localName:a}of i)this.addExportBinding(u,a);return}if(!this.tokens.matches1AtIndex(t,Gt.TokenType.string))throw new Error("Expected string token at the end of import statement.");let o=this.tokens.stringValueAtIndex(t);this.getImportInfo(o).namedExports.push(...i)}preprocessExportStarAtIndex(t){let n=null;if(this.tokens.matches3AtIndex(t,Gt.TokenType._export,Gt.TokenType.star,Gt.TokenType._as)?(t+=3,n=this.tokens.identifierNameAtIndex(t),t+=2):t+=3,!this.tokens.matches1AtIndex(t,Gt.TokenType.string))throw new Error("Expected string token at the end of star export statement.");let i=this.tokens.stringValueAtIndex(t),o=this.getImportInfo(i);n!==null?o.exportStarNames.push(n):o.hasStarExport=!0}getNamedImports(t){let n=[];for(;;){if(this.tokens.matches1AtIndex(t,Gt.TokenType.braceR)){t++;break}let i=hq.default.call(void 0,this.tokens,t);if(t=i.endIndex,i.isType||n.push({importedName:i.leftName,localName:i.rightName}),this.tokens.matches2AtIndex(t,Gt.TokenType.comma,Gt.TokenType.braceR)){t+=2;break}else if(this.tokens.matches1AtIndex(t,Gt.TokenType.braceR)){t++;break}else if(this.tokens.matches1AtIndex(t,Gt.TokenType.comma))t++;else throw new Error(`Unexpected token: ${JSON.stringify(this.tokens.tokens[t])}`)}return{newIndex:t,namedImports:n}}getImportInfo(t){let n=this.importInfoByPath.get(t);if(n)return n;let i={defaultNames:[],wildcardNames:[],namedImports:[],namedExports:[],hasBareImport:!1,exportStarNames:[],hasStarExport:!1};return this.importInfoByPath.set(t,i),i}addExportBinding(t,n){this.exportBindingsByLocalName.has(t)||this.exportBindingsByLocalName.set(t,[]),this.exportBindingsByLocalName.get(t).push(n)}claimImportCode(t){let n=this.importsToReplace.get(t);return this.importsToReplace.set(t,""),n||""}getIdentifierReplacement(t){return this.identifierReplacements.get(t)||null}resolveExportBinding(t){let n=this.exportBindingsByLocalName.get(t);return!n||n.length===0?null:n.map(i=>`exports.${i}`).join(" = ")}getGlobalNames(){return new Set([...this.identifierReplacements.keys(),...this.exportBindingsByLocalName.keys()])}};cg.default=ug});var eD=me((rf,Zk)=>{(function(e,t){typeof rf=="object"&&typeof Zk<"u"?t(rf):typeof define=="function"&&define.amd?define(["exports"],t):(e=typeof globalThis<"u"?globalThis:e||self,t(e.setArray={}))})(rf,function(e){"use strict";e.get=void 0,e.put=void 0,e.pop=void 0;class t{constructor(){this._indexes={__proto__:null},this.array=[]}}e.get=(n,i)=>n._indexes[i],e.put=(n,i)=>{let o=e.get(n,i);if(o!==void 0)return o;let{array:r,_indexes:u}=n;return u[i]=r.push(i)-1},e.pop=n=>{let{array:i,_indexes:o}=n;if(i.length===0)return;let r=i.pop();o[r]=void 0},e.SetArray=t,Object.defineProperty(e,"__esModule",{value:!0})})});var pg=me((nf,tD)=>{(function(e,t){typeof nf=="object"&&typeof tD<"u"?t(nf):typeof define=="function"&&define.amd?define(["exports"],t):(e=typeof globalThis<"u"?globalThis:e||self,t(e.sourcemapCodec={}))})(nf,function(e){"use strict";let i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",o=new Uint8Array(64),r=new Uint8Array(128);for(let y=0;y<i.length;y++){let b=i.charCodeAt(y);o[y]=b,r[b]=y}let u=typeof TextDecoder<"u"?new TextDecoder:typeof Buffer<"u"?{decode(y){return Buffer.from(y.buffer,y.byteOffset,y.byteLength).toString()}}:{decode(y){let b="";for(let E=0;E<y.length;E++)b+=String.fromCharCode(y[E]);return b}};function a(y){let b=new Int32Array(5),E=[],v=0;do{let S=m(y,v),w=[],A=!0,x=0;b[0]=0;for(let C=v;C<S;C++){let P;C=d(y,C,b,0);let D=b[0];D<x&&(A=!1),x=D,s(y,C,S)?(C=d(y,C,b,1),C=d(y,C,b,2),C=d(y,C,b,3),s(y,C,S)?(C=d(y,C,b,4),P=[D,b[1],b[2],b[3],b[4]]):P=[D,b[1],b[2],b[3]]):P=[D],w.push(P)}A||l(w),E.push(w),v=S+1}while(v<=y.length);return E}function m(y,b){let E=y.indexOf(";",b);return E===-1?y.length:E}function d(y,b,E,v){let S=0,w=0,A=0;do{let C=y.charCodeAt(b++);A=r[C],S|=(A&31)<<w,w+=5}while(A&32);let x=S&1;return S>>>=1,x&&(S=-2147483648|-S),E[v]+=S,b}function s(y,b,E){return b>=E?!1:y.charCodeAt(b)!==44}function l(y){y.sort(f)}function f(y,b){return y[0]-b[0]}function p(y){let b=new Int32Array(5),E=1024*16,v=E-36,S=new Uint8Array(E),w=S.subarray(0,v),A=0,x="";for(let C=0;C<y.length;C++){let P=y[C];if(C>0&&(A===E&&(x+=u.decode(S),A=0),S[A++]=59),P.length!==0){b[0]=0;for(let D=0;D<P.length;D++){let L=P[D];A>v&&(x+=u.decode(w),S.copyWithin(0,v,A),A-=v),D>0&&(S[A++]=44),A=h(S,A,b,L,0),L.length!==1&&(A=h(S,A,b,L,1),A=h(S,A,b,L,2),A=h(S,A,b,L,3),L.length!==4&&(A=h(S,A,b,L,4)))}}}return x+u.decode(S.subarray(0,A))}function h(y,b,E,v,S){let w=v[S],A=w-E[S];E[S]=w,A=A<0?-A<<1|1:A<<1;do{let x=A&31;A>>>=5,A>0&&(x|=32),y[b++]=o[x]}while(A>0);return b}e.decode=a,e.encode=p,Object.defineProperty(e,"__esModule",{value:!0})})});var rD=me((dg,fg)=>{(function(e,t){typeof dg=="object"&&typeof fg<"u"?fg.exports=t():typeof define=="function"&&define.amd?define(t):(e=typeof globalThis<"u"?globalThis:e||self,e.resolveURI=t())})(dg,function(){"use strict";let e=/^[\w+.-]+:\/\//,t=/^([\w+.-]+:)\/\/([^@/#?]*@)?([^:/#?]*)(:\d+)?(\/[^#?]*)?(\?[^#]*)?(#.*)?/,n=/^file:(?:\/\/((?![a-z]:)[^/#?]*)?)?(\/?[^#?]*)(\?[^#]*)?(#.*)?/i;var i;(function(E){E[E.Empty=1]="Empty",E[E.Hash=2]="Hash",E[E.Query=3]="Query",E[E.RelativePath=4]="RelativePath",E[E.AbsolutePath=5]="AbsolutePath",E[E.SchemeRelative=6]="SchemeRelative",E[E.Absolute=7]="Absolute"})(i||(i={}));function o(E){return e.test(E)}function r(E){return E.startsWith("//")}function u(E){return E.startsWith("/")}function a(E){return E.startsWith("file:")}function m(E){return/^[.?#]/.test(E)}function d(E){let v=t.exec(E);return l(v[1],v[2]||"",v[3],v[4]||"",v[5]||"/",v[6]||"",v[7]||"")}function s(E){let v=n.exec(E),S=v[2];return l("file:","",v[1]||"","",u(S)?S:"/"+S,v[3]||"",v[4]||"")}function l(E,v,S,w,A,x,C){return{scheme:E,user:v,host:S,port:w,path:A,query:x,hash:C,type:i.Absolute}}function f(E){if(r(E)){let S=d("http:"+E);return S.scheme="",S.type=i.SchemeRelative,S}if(u(E)){let S=d("http://foo.com"+E);return S.scheme="",S.host="",S.type=i.AbsolutePath,S}if(a(E))return s(E);if(o(E))return d(E);let v=d("http://foo.com/"+E);return v.scheme="",v.host="",v.type=E?E.startsWith("?")?i.Query:E.startsWith("#")?i.Hash:i.RelativePath:i.Empty,v}function p(E){if(E.endsWith("/.."))return E;let v=E.lastIndexOf("/");return E.slice(0,v+1)}function h(E,v){y(v,v.type),E.path==="/"?E.path=v.path:E.path=p(v.path)+E.path}function y(E,v){let S=v<=i.RelativePath,w=E.path.split("/"),A=1,x=0,C=!1;for(let D=1;D<w.length;D++){let L=w[D];if(!L){C=!0;continue}if(C=!1,L!=="."){if(L===".."){x?(C=!0,x--,A--):S&&(w[A++]=L);continue}w[A++]=L,x++}}let P="";for(let D=1;D<A;D++)P+="/"+w[D];(!P||C&&!P.endsWith("/.."))&&(P+="/"),E.path=P}function b(E,v){if(!E&&!v)return"";let S=f(E),w=S.type;if(v&&w!==i.Absolute){let x=f(v),C=x.type;switch(w){case i.Empty:S.hash=x.hash;case i.Hash:S.query=x.query;case i.Query:case i.RelativePath:h(S,x);case i.AbsolutePath:S.user=x.user,S.host=x.host,S.port=x.port;case i.SchemeRelative:S.scheme=x.scheme}C>w&&(w=C)}y(S,w);let A=S.query+S.hash;switch(w){case i.Hash:case i.Query:return A;case i.RelativePath:{let x=S.path.slice(1);return x?m(v||E)&&!m(x)?"./"+x+A:x+A:A||"."}case i.AbsolutePath:return S.path+A;default:return S.scheme+"//"+S.user+S.host+S.port+S.path+A}}return b})});var iD=me((sf,nD)=>{(function(e,t){typeof sf=="object"&&typeof nD<"u"?t(sf,pg(),rD()):typeof define=="function"&&define.amd?define(["exports","@jridgewell/sourcemap-codec","@jridgewell/resolve-uri"],t):(e=typeof globalThis<"u"?globalThis:e||self,t(e.traceMapping={},e.sourcemapCodec,e.resolveURI))})(sf,function(e,t,n){"use strict";function i(Q){return Q&&typeof Q=="object"&&"default"in Q?Q:{default:Q}}var o=i(n);function r(Q,ne){return ne&&!ne.endsWith("/")&&(ne+="/"),o.default(Q,ne)}function u(Q){if(!Q)return"";let ne=Q.lastIndexOf("/");return Q.slice(0,ne+1)}let a=0,m=1,d=2,s=3,l=4,f=1,p=2;function h(Q,ne){let ue=y(Q,0);if(ue===Q.length)return Q;ne||(Q=Q.slice());for(let de=ue;de<Q.length;de=y(Q,de+1))Q[de]=E(Q[de],ne);return Q}function y(Q,ne){for(let ue=ne;ue<Q.length;ue++)if(!b(Q[ue]))return ue;return Q.length}function b(Q){for(let ne=1;ne<Q.length;ne++)if(Q[ne][a]<Q[ne-1][a])return!1;return!0}function E(Q,ne){return ne||(Q=Q.slice()),Q.sort(v)}function v(Q,ne){return Q[a]-ne[a]}let S=!1;function w(Q,ne,ue,de){for(;ue<=de;){let Ae=ue+(de-ue>>1),Oe=Q[Ae][a]-ne;if(Oe===0)return S=!0,Ae;Oe<0?ue=Ae+1:de=Ae-1}return S=!1,ue-1}function A(Q,ne,ue){for(let de=ue+1;de<Q.length&&Q[de][a]===ne;ue=de++);return ue}function x(Q,ne,ue){for(let de=ue-1;de>=0&&Q[de][a]===ne;ue=de--);return ue}function C(){return{lastKey:-1,lastNeedle:-1,lastIndex:-1}}function P(Q,ne,ue,de){let{lastKey:Ae,lastNeedle:Oe,lastIndex:Me}=ue,ae=0,se=Q.length-1;if(de===Ae){if(ne===Oe)return S=Me!==-1&&Q[Me][a]===ne,Me;ne>=Oe?ae=Me===-1?0:Me:se=Me}return ue.lastKey=de,ue.lastNeedle=ne,ue.lastIndex=w(Q,ne,ae,se)}function D(Q,ne){let ue=ne.map(I);for(let de=0;de<Q.length;de++){let Ae=Q[de];for(let Oe=0;Oe<Ae.length;Oe++){let Me=Ae[Oe];if(Me.length===1)continue;let ae=Me[m],se=Me[d],ye=Me[s],be=ue[ae],Ee=be[se]||(be[se]=[]),oe=ne[ae],J=A(Ee,ye,P(Ee,ye,oe,se));L(Ee,oe.lastIndex=J+1,[ye,de,Me[a]])}}return ue}function L(Q,ne,ue){for(let de=Q.length;de>ne;de--)Q[de]=Q[de-1];Q[ne]=ue}function I(){return{__proto__:null}}let j=function(Q,ne){let ue=typeof Q=="string"?JSON.parse(Q):Q;if(!("sections"in ue))return new N(ue,ne);let de=[],Ae=[],Oe=[],Me=[];M(ue,ne,de,Ae,Oe,Me,0,0,1/0,1/0);let ae={version:3,file:ue.file,names:Me,sources:Ae,sourcesContent:Oe,mappings:de};return e.presortedDecodedMap(ae)};function M(Q,ne,ue,de,Ae,Oe,Me,ae,se,ye){let{sections:be}=Q;for(let Ee=0;Ee<be.length;Ee++){let{map:oe,offset:J}=be[Ee],De=se,Ke=ye;if(Ee+1<be.length){let ke=be[Ee+1].offset;De=Math.min(se,Me+ke.line),De===se?Ke=Math.min(ye,ae+ke.column):De<se&&(Ke=ae+ke.column)}R(oe,ne,ue,de,Ae,Oe,Me+J.line,ae+J.column,De,Ke)}}function R(Q,ne,ue,de,Ae,Oe,Me,ae,se,ye){if("sections"in Q)return M(...arguments);let be=new N(Q,ne),Ee=de.length,oe=Oe.length,J=e.decodedMappings(be),{resolvedSources:De,sourcesContent:Ke}=be;if(z(de,De),z(Oe,be.names),Ke)z(Ae,Ke);else for(let ke=0;ke<De.length;ke++)Ae.push(null);for(let ke=0;ke<J.length;ke++){let Qe=Me+ke;if(Qe>se)return;let pt=Y(ue,Qe),dt=ke===0?ae:0,Ue=J[ke];for(let ce=0;ce<Ue.length;ce++){let xe=Ue[ce],he=dt+xe[a];if(Qe===se&&he>=ye)return;if(xe.length===1){pt.push([he]);continue}let ve=Ee+xe[m],et=xe[d],ut=xe[s];pt.push(xe.length===4?[he,ve,et,ut]:[he,ve,et,ut,oe+xe[l]])}}}function z(Q,ne){for(let ue=0;ue<ne.length;ue++)Q.push(ne[ue])}function Y(Q,ne){for(let ue=Q.length;ue<=ne;ue++)Q[ue]=[];return Q[ne]}let $="`line` must be greater than 0 (lines start at line 1)",G="`column` must be greater than or equal to 0 (columns start at column 0)",U=-1,B=1;e.encodedMappings=void 0,e.decodedMappings=void 0,e.traceSegment=void 0,e.originalPositionFor=void 0,e.generatedPositionFor=void 0,e.allGeneratedPositionsFor=void 0,e.eachMapping=void 0,e.sourceContentFor=void 0,e.presortedDecodedMap=void 0,e.decodedMap=void 0,e.encodedMap=void 0;class N{constructor(ne,ue){let de=typeof ne=="string";if(!de&&ne._decodedMemo)return ne;let Ae=de?JSON.parse(ne):ne,{version:Oe,file:Me,names:ae,sourceRoot:se,sources:ye,sourcesContent:be}=Ae;this.version=Oe,this.file=Me,this.names=ae,this.sourceRoot=se,this.sources=ye,this.sourcesContent=be;let Ee=r(se||"",u(ue));this.resolvedSources=ye.map(J=>r(J||"",Ee));let{mappings:oe}=Ae;typeof oe=="string"?(this._encoded=oe,this._decoded=void 0):(this._encoded=void 0,this._decoded=h(oe,de)),this._decodedMemo=C(),this._bySources=void 0,this._bySourceMemos=void 0}}(()=>{e.encodedMappings=ne=>{var ue;return(ue=ne._encoded)!==null&&ue!==void 0?ue:ne._encoded=t.encode(ne._decoded)},e.decodedMappings=ne=>ne._decoded||(ne._decoded=t.decode(ne._encoded)),e.traceSegment=(ne,ue,de)=>{let Ae=e.decodedMappings(ne);if(ue>=Ae.length)return null;let Oe=Ae[ue],Me=W(Oe,ne._decodedMemo,ue,de,B);return Me===-1?null:Oe[Me]},e.originalPositionFor=(ne,{line:ue,column:de,bias:Ae})=>{if(ue--,ue<0)throw new Error($);if(de<0)throw new Error(G);let Oe=e.decodedMappings(ne);if(ue>=Oe.length)return H(null,null,null,null);let Me=Oe[ue],ae=W(Me,ne._decodedMemo,ue,de,Ae||B);if(ae===-1)return H(null,null,null,null);let se=Me[ae];if(se.length===1)return H(null,null,null,null);let{names:ye,resolvedSources:be}=ne;return H(be[se[m]],se[d]+1,se[s],se.length===5?ye[se[l]]:null)},e.allGeneratedPositionsFor=(ne,{source:ue,line:de,column:Ae,bias:Oe})=>Q(ne,ue,de,Ae,Oe||U,!0),e.generatedPositionFor=(ne,{source:ue,line:de,column:Ae,bias:Oe})=>Q(ne,ue,de,Ae,Oe||B,!1),e.eachMapping=(ne,ue)=>{let de=e.decodedMappings(ne),{names:Ae,resolvedSources:Oe}=ne;for(let Me=0;Me<de.length;Me++){let ae=de[Me];for(let se=0;se<ae.length;se++){let ye=ae[se],be=Me+1,Ee=ye[0],oe=null,J=null,De=null,Ke=null;ye.length!==1&&(oe=Oe[ye[1]],J=ye[2]+1,De=ye[3]),ye.length===5&&(Ke=Ae[ye[4]]),ue({generatedLine:be,generatedColumn:Ee,source:oe,originalLine:J,originalColumn:De,name:Ke})}}},e.sourceContentFor=(ne,ue)=>{let{sources:de,resolvedSources:Ae,sourcesContent:Oe}=ne;if(Oe==null)return null;let Me=de.indexOf(ue);return Me===-1&&(Me=Ae.indexOf(ue)),Me===-1?null:Oe[Me]},e.presortedDecodedMap=(ne,ue)=>{let de=new N(X(ne,[]),ue);return de._decoded=ne.mappings,de},e.decodedMap=ne=>X(ne,e.decodedMappings(ne)),e.encodedMap=ne=>X(ne,e.encodedMappings(ne));function Q(ne,ue,de,Ae,Oe,Me){if(de--,de<0)throw new Error($);if(Ae<0)throw new Error(G);let{sources:ae,resolvedSources:se}=ne,ye=ae.indexOf(ue);if(ye===-1&&(ye=se.indexOf(ue)),ye===-1)return Me?[]:F(null,null);let Ee=(ne._bySources||(ne._bySources=D(e.decodedMappings(ne),ne._bySourceMemos=ae.map(C))))[ye][de];if(Ee==null)return Me?[]:F(null,null);let oe=ne._bySourceMemos[ye];if(Me)return V(Ee,oe,de,Ae,Oe);let J=W(Ee,oe,de,Ae,Oe);if(J===-1)return F(null,null);let De=Ee[J];return F(De[f]+1,De[p])}})();function X(Q,ne){return{version:Q.version,file:Q.file,names:Q.names,sourceRoot:Q.sourceRoot,sources:Q.sources,sourcesContent:Q.sourcesContent,mappings:ne}}function H(Q,ne,ue,de){return{source:Q,line:ne,column:ue,name:de}}function F(Q,ne){return{line:Q,column:ne}}function W(Q,ne,ue,de,Ae){let Oe=P(Q,de,ne,ue);return S?Oe=(Ae===U?A:x)(Q,de,Oe):Ae===U&&Oe++,Oe===-1||Oe===Q.length?-1:Oe}function V(Q,ne,ue,de,Ae){let Oe=W(Q,ne,ue,de,B);if(!S&&Ae===U&&Oe++,Oe===-1||Oe===Q.length)return[];let Me=S?de:Q[Oe][a];S||(Oe=x(Q,Me,Oe));let ae=A(Q,Me,Oe),se=[];for(;Oe<=ae;Oe++){let ye=Q[Oe];se.push(F(ye[f]+1,ye[p]))}return se}e.AnyMap=j,e.GREATEST_LOWER_BOUND=B,e.LEAST_UPPER_BOUND=U,e.TraceMap=N,Object.defineProperty(e,"__esModule",{value:!0})})});var aD=me((af,sD)=>{(function(e,t){typeof af=="object"&&typeof sD<"u"?t(af,eD(),pg(),iD()):typeof define=="function"&&define.amd?define(["exports","@jridgewell/set-array","@jridgewell/sourcemap-codec","@jridgewell/trace-mapping"],t):(e=typeof globalThis<"u"?globalThis:e||self,t(e.genMapping={},e.setArray,e.sourcemapCodec,e.traceMapping))})(af,function(e,t,n,i){"use strict";e.addSegment=void 0,e.addMapping=void 0,e.maybeAddSegment=void 0,e.maybeAddMapping=void 0,e.setSourceContent=void 0,e.toDecodedMap=void 0,e.toEncodedMap=void 0,e.fromMap=void 0,e.allMappings=void 0;let s;class l{constructor({file:A,sourceRoot:x}={}){this._names=new t.SetArray,this._sources=new t.SetArray,this._sourcesContent=[],this._mappings=[],this.file=A,this.sourceRoot=x}}e.addSegment=(w,A,x,C,P,D,L,I)=>s(!1,w,A,x,C,P,D,L,I),e.maybeAddSegment=(w,A,x,C,P,D,L,I)=>s(!0,w,A,x,C,P,D,L,I),e.addMapping=(w,A)=>S(!1,w,A),e.maybeAddMapping=(w,A)=>S(!0,w,A),e.setSourceContent=(w,A,x)=>{let{_sources:C,_sourcesContent:P}=w;P[t.put(C,A)]=x},e.toDecodedMap=w=>{let{file:A,sourceRoot:x,_mappings:C,_sources:P,_sourcesContent:D,_names:L}=w;return y(C),{version:3,file:A||void 0,names:L.array,sourceRoot:x||void 0,sources:P.array,sourcesContent:D,mappings:C}},e.toEncodedMap=w=>{let A=e.toDecodedMap(w);return Object.assign(Object.assign({},A),{mappings:n.encode(A.mappings)})},e.allMappings=w=>{let A=[],{_mappings:x,_sources:C,_names:P}=w;for(let D=0;D<x.length;D++){let L=x[D];for(let I=0;I<L.length;I++){let j=L[I],M={line:D+1,column:j[0]},R,z,Y;j.length!==1&&(R=C.array[j[1]],z={line:j[2]+1,column:j[3]},j.length===5&&(Y=P.array[j[4]])),A.push({generated:M,source:R,original:z,name:Y})}}return A},e.fromMap=w=>{let A=new i.TraceMap(w),x=new l({file:A.file,sourceRoot:A.sourceRoot});return b(x._names,A.names),b(x._sources,A.sources),x._sourcesContent=A.sourcesContent||A.sources.map(()=>null),x._mappings=i.decodedMappings(A),x},s=(w,A,x,C,P,D,L,I,j)=>{let{_mappings:M,_sources:R,_sourcesContent:z,_names:Y}=A,$=f(M,x),G=p($,C);if(!P)return w&&E($,G)?void 0:h($,G,[C]);let U=t.put(R,P),B=I?t.put(Y,I):-1;if(U===z.length&&(z[U]=j??null),!(w&&v($,G,U,D,L,B)))return h($,G,I?[C,U,D,L,B]:[C,U,D,L])};function f(w,A){for(let x=w.length;x<=A;x++)w[x]=[];return w[A]}function p(w,A){let x=w.length;for(let C=x-1;C>=0;x=C--){let P=w[C];if(A>=P[0])break}return x}function h(w,A,x){for(let C=w.length;C>A;C--)w[C]=w[C-1];w[A]=x}function y(w){let{length:A}=w,x=A;for(let C=x-1;C>=0&&!(w[C].length>0);x=C,C--);x<A&&(w.length=x)}function b(w,A){for(let x=0;x<A.length;x++)t.put(w,A[x])}function E(w,A){return A===0?!0:w[A-1].length===1}function v(w,A,x,C,P,D){if(A===0)return!1;let L=w[A-1];return L.length===1?!1:x===L[1]&&C===L[2]&&P===L[3]&&D===(L.length===5?L[4]:-1)}function S(w,A,x){let{generated:C,source:P,original:D,name:L,content:I}=x;if(!P)return s(w,A,C.line-1,C.column,null,null,null,null,null);let j=P;return s(w,A,C.line-1,C.column,j,D.line-1,D.column,L,I)}e.GenMapping=l,Object.defineProperty(e,"__esModule",{value:!0})})});var lD=me(hg=>{"use strict";Object.defineProperty(hg,"__esModule",{value:!0});var Ku=aD(),oD=ci();function yq({code:e,mappings:t},n,i,o,r){let u=bq(o,r),a=new Ku.GenMapping({file:i.compiledFilename}),m=0,d=t[0];for(;d===void 0&&m<t.length-1;)m++,d=t[m];let s=0,l=0;d!==l&&Ku.maybeAddSegment.call(void 0,a,s,0,n,s,0);for(let y=0;y<e.length;y++){if(y===d){let b=d-l,E=u[m];for(Ku.maybeAddSegment.call(void 0,a,s,b,n,s,E);(d===y||d===void 0)&&m<t.length-1;)m++,d=t[m]}e.charCodeAt(y)===oD.charCodes.lineFeed&&(s++,l=y+1,d!==l&&Ku.maybeAddSegment.call(void 0,a,s,0,n,s,0))}let{sourceRoot:f,sourcesContent:p,...h}=Ku.toEncodedMap.call(void 0,a);return h}hg.default=yq;function bq(e,t){let n=new Array(t.length),i=0,o=t[i].start,r=0;for(let u=0;u<e.length;u++)u===o&&(n[i]=o-r,i++,o=t[i].start),e.charCodeAt(u)===oD.charCodes.lineFeed&&(r=u+1);return n}});var uD=me(yg=>{"use strict";Object.defineProperty(yg,"__esModule",{value:!0});var gq={require:`
|
|
import {createRequire as CREATE_REQUIRE_NAME} from "module";
|
|
const require = CREATE_REQUIRE_NAME(import.meta.url);
|
|
`,interopRequireWildcard:`
|
|
function interopRequireWildcard(obj) {
|
|
if (obj && obj.__esModule) {
|
|
return obj;
|
|
} else {
|
|
var newObj = {};
|
|
if (obj != null) {
|
|
for (var key in obj) {
|
|
if (Object.prototype.hasOwnProperty.call(obj, key)) {
|
|
newObj[key] = obj[key];
|
|
}
|
|
}
|
|
}
|
|
newObj.default = obj;
|
|
return newObj;
|
|
}
|
|
}
|
|
`,interopRequireDefault:`
|
|
function interopRequireDefault(obj) {
|
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
}
|
|
`,createNamedExportFrom:`
|
|
function createNamedExportFrom(obj, localName, importedName) {
|
|
Object.defineProperty(exports, localName, {enumerable: true, configurable: true, get: () => obj[importedName]});
|
|
}
|
|
`,createStarExport:`
|
|
function createStarExport(obj) {
|
|
Object.keys(obj)
|
|
.filter((key) => key !== "default" && key !== "__esModule")
|
|
.forEach((key) => {
|
|
if (exports.hasOwnProperty(key)) {
|
|
return;
|
|
}
|
|
Object.defineProperty(exports, key, {enumerable: true, configurable: true, get: () => obj[key]});
|
|
});
|
|
}
|
|
`,nullishCoalesce:`
|
|
function nullishCoalesce(lhs, rhsFn) {
|
|
if (lhs != null) {
|
|
return lhs;
|
|
} else {
|
|
return rhsFn();
|
|
}
|
|
}
|
|
`,asyncNullishCoalesce:`
|
|
async function asyncNullishCoalesce(lhs, rhsFn) {
|
|
if (lhs != null) {
|
|
return lhs;
|
|
} else {
|
|
return await rhsFn();
|
|
}
|
|
}
|
|
`,optionalChain:`
|
|
function optionalChain(ops) {
|
|
let lastAccessLHS = undefined;
|
|
let value = ops[0];
|
|
let i = 1;
|
|
while (i < ops.length) {
|
|
const op = ops[i];
|
|
const fn = ops[i + 1];
|
|
i += 2;
|
|
if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) {
|
|
return undefined;
|
|
}
|
|
if (op === 'access' || op === 'optionalAccess') {
|
|
lastAccessLHS = value;
|
|
value = fn(value);
|
|
} else if (op === 'call' || op === 'optionalCall') {
|
|
value = fn((...args) => value.call(lastAccessLHS, ...args));
|
|
lastAccessLHS = undefined;
|
|
}
|
|
}
|
|
return value;
|
|
}
|
|
`,asyncOptionalChain:`
|
|
async function asyncOptionalChain(ops) {
|
|
let lastAccessLHS = undefined;
|
|
let value = ops[0];
|
|
let i = 1;
|
|
while (i < ops.length) {
|
|
const op = ops[i];
|
|
const fn = ops[i + 1];
|
|
i += 2;
|
|
if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) {
|
|
return undefined;
|
|
}
|
|
if (op === 'access' || op === 'optionalAccess') {
|
|
lastAccessLHS = value;
|
|
value = await fn(value);
|
|
} else if (op === 'call' || op === 'optionalCall') {
|
|
value = await fn((...args) => value.call(lastAccessLHS, ...args));
|
|
lastAccessLHS = undefined;
|
|
}
|
|
}
|
|
return value;
|
|
}
|
|
`,optionalChainDelete:`
|
|
function optionalChainDelete(ops) {
|
|
const result = OPTIONAL_CHAIN_NAME(ops);
|
|
return result == null ? true : result;
|
|
}
|
|
`,asyncOptionalChainDelete:`
|
|
async function asyncOptionalChainDelete(ops) {
|
|
const result = await ASYNC_OPTIONAL_CHAIN_NAME(ops);
|
|
return result == null ? true : result;
|
|
}
|
|
`},mg=class e{__init(){this.helperNames={}}__init2(){this.createRequireName=null}constructor(t){this.nameManager=t,e.prototype.__init.call(this),e.prototype.__init2.call(this)}getHelperName(t){let n=this.helperNames[t];return n||(n=this.nameManager.claimFreeName(`_${t}`),this.helperNames[t]=n,n)}emitHelpers(){let t="";this.helperNames.optionalChainDelete&&this.getHelperName("optionalChain"),this.helperNames.asyncOptionalChainDelete&&this.getHelperName("asyncOptionalChain");for(let[n,i]of Object.entries(gq)){let o=this.helperNames[n],r=i;n==="optionalChainDelete"?r=r.replace("OPTIONAL_CHAIN_NAME",this.helperNames.optionalChain):n==="asyncOptionalChainDelete"?r=r.replace("ASYNC_OPTIONAL_CHAIN_NAME",this.helperNames.asyncOptionalChain):n==="require"&&(this.createRequireName===null&&(this.createRequireName=this.nameManager.claimFreeName("_createRequire")),r=r.replace(/CREATE_REQUIRE_NAME/g,this.createRequireName)),o&&(t+=" ",t+=r.replace(n,o).replace(/\s+/g," ").trim())}return t}};yg.HelperManager=mg});var dD=me(lf=>{"use strict";Object.defineProperty(lf,"__esModule",{value:!0});var bg=En(),of=sr();function vq(e,t,n){pD(e,n)&&Tq(e,t,n)}lf.default=vq;function pD(e,t){for(let n of e.tokens)if(n.type===of.TokenType.name&&!n.isType&&bg.isNonTopLevelDeclaration.call(void 0,n)&&t.has(e.identifierNameForToken(n)))return!0;return!1}lf.hasShadowedGlobals=pD;function Tq(e,t,n){let i=[],o=t.length-1;for(let r=e.tokens.length-1;;r--){for(;i.length>0&&i[i.length-1].startTokenIndex===r+1;)i.pop();for(;o>=0&&t[o].endTokenIndex===r+1;)i.push(t[o]),o--;if(r<0)break;let u=e.tokens[r],a=e.identifierNameForToken(u);if(i.length>1&&!u.isType&&u.type===of.TokenType.name&&n.has(a)){if(bg.isBlockScopedDeclaration.call(void 0,u))cD(i[i.length-1],e,a);else if(bg.isFunctionScopedDeclaration.call(void 0,u)){let m=i.length-1;for(;m>0&&!i[m].isFunctionScope;)m--;if(m<0)throw new Error("Did not find parent function scope.");cD(i[m],e,a)}}}if(i.length>0)throw new Error("Expected empty scope stack after processing file.")}function cD(e,t,n){for(let i=e.startTokenIndex;i<e.endTokenIndex;i++){let o=t.tokens[i];(o.type===of.TokenType.name||o.type===of.TokenType.jsxName)&&t.identifierNameForToken(o)===n&&(o.shadowsGlobal=!0)}}});var fD=me(gg=>{"use strict";Object.defineProperty(gg,"__esModule",{value:!0});var Eq=sr();function Sq(e,t){let n=[];for(let i of t)i.type===Eq.TokenType.name&&n.push(e.slice(i.start,i.end));return n}gg.default=Sq});var hD=me(Tg=>{"use strict";Object.defineProperty(Tg,"__esModule",{value:!0});function xq(e){return e&&e.__esModule?e:{default:e}}var _q=fD(),wq=xq(_q),vg=class e{__init(){this.usedNames=new Set}constructor(t,n){e.prototype.__init.call(this),this.usedNames=new Set(wq.default.call(void 0,t,n))}claimFreeName(t){let n=this.findFreeName(t);return this.usedNames.add(n),n}findFreeName(t){if(!this.usedNames.has(t))return t;let n=2;for(;this.usedNames.has(t+String(n));)n++;return t+String(n)}};Tg.default=vg});var uf=me(us=>{"use strict";var Cq=us&&us.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,o){i.__proto__=o}||function(i,o){for(var r in o)o.hasOwnProperty(r)&&(i[r]=o[r])},e(t,n)};return function(t,n){e(t,n);function i(){this.constructor=t}t.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}}();Object.defineProperty(us,"__esModule",{value:!0});us.DetailContext=us.NoopContext=us.VError=void 0;var mD=function(e){Cq(t,e);function t(n,i){var o=e.call(this,i)||this;return o.path=n,Object.setPrototypeOf(o,t.prototype),o}return t}(Error);us.VError=mD;var Aq=function(){function e(){}return e.prototype.fail=function(t,n,i){return!1},e.prototype.unionResolver=function(){return this},e.prototype.createContext=function(){return this},e.prototype.resolveUnion=function(t){},e}();us.NoopContext=Aq;var yD=function(){function e(){this._propNames=[""],this._messages=[null],this._score=0}return e.prototype.fail=function(t,n,i){return this._propNames.push(t),this._messages.push(n),this._score+=i,!1},e.prototype.unionResolver=function(){return new Pq},e.prototype.resolveUnion=function(t){for(var n,i,o=t,r=null,u=0,a=o.contexts;u<a.length;u++){var m=a[u];(!r||m._score>=r._score)&&(r=m)}r&&r._score>0&&((n=this._propNames).push.apply(n,r._propNames),(i=this._messages).push.apply(i,r._messages))},e.prototype.getError=function(t){for(var n=[],i=this._propNames.length-1;i>=0;i--){var o=this._propNames[i];t+=typeof o=="number"?"["+o+"]":o?"."+o:"";var r=this._messages[i];r&&n.push(t+" "+r)}return new mD(t,n.join("; "))},e.prototype.getErrorDetail=function(t){for(var n=[],i=this._propNames.length-1;i>=0;i--){var o=this._propNames[i];t+=typeof o=="number"?"["+o+"]":o?"."+o:"";var r=this._messages[i];r&&n.push({path:t,message:r})}for(var u=null,i=n.length-1;i>=0;i--)u&&(n[i].nested=[u]),u=n[i];return u},e}();us.DetailContext=yD;var Pq=function(){function e(){this.contexts=[]}return e.prototype.createContext=function(){var t=new yD;return this.contexts.push(t),t},e}()});var Pg=me(Ot=>{"use strict";var hi=Ot&&Ot.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,o){i.__proto__=o}||function(i,o){for(var r in o)o.hasOwnProperty(r)&&(i[r]=o[r])},e(t,n)};return function(t,n){e(t,n);function i(){this.constructor=t}t.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}}();Object.defineProperty(Ot,"__esModule",{value:!0});Ot.basicTypes=Ot.BasicType=Ot.TParamList=Ot.TParam=Ot.param=Ot.TFunc=Ot.func=Ot.TProp=Ot.TOptional=Ot.opt=Ot.TIface=Ot.iface=Ot.TEnumLiteral=Ot.enumlit=Ot.TEnumType=Ot.enumtype=Ot.TIntersection=Ot.intersection=Ot.TUnion=Ot.union=Ot.TTuple=Ot.tuple=Ot.TArray=Ot.array=Ot.TLiteral=Ot.lit=Ot.TName=Ot.name=Ot.TType=void 0;var vD=uf(),Qn=function(){function e(){}return e}();Ot.TType=Qn;function la(e){return typeof e=="string"?TD(e):e}function xg(e,t){var n=e[t];if(!n)throw new Error("Unknown type "+t);return n}function TD(e){return new _g(e)}Ot.name=TD;var _g=function(e){hi(t,e);function t(n){var i=e.call(this)||this;return i.name=n,i._failMsg="is not a "+n,i}return t.prototype.getChecker=function(n,i,o){var r=this,u=xg(n,this.name),a=u.getChecker(n,i,o);return u instanceof Vn||u instanceof t?a:function(m,d){return a(m,d)?!0:d.fail(null,r._failMsg,0)}},t}(Qn);Ot.TName=_g;function kq(e){return new wg(e)}Ot.lit=kq;var wg=function(e){hi(t,e);function t(n){var i=e.call(this)||this;return i.value=n,i.name=JSON.stringify(n),i._failMsg="is not "+i.name,i}return t.prototype.getChecker=function(n,i){var o=this;return function(r,u){return r===o.value?!0:u.fail(null,o._failMsg,-1)}},t}(Qn);Ot.TLiteral=wg;function Dq(e){return new ED(la(e))}Ot.array=Dq;var ED=function(e){hi(t,e);function t(n){var i=e.call(this)||this;return i.ttype=n,i}return t.prototype.getChecker=function(n,i){var o=this.ttype.getChecker(n,i);return function(r,u){if(!Array.isArray(r))return u.fail(null,"is not an array",0);for(var a=0;a<r.length;a++){var m=o(r[a],u);if(!m)return u.fail(a,null,1)}return!0}},t}(Qn);Ot.TArray=ED;function Iq(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new SD(e.map(function(n){return la(n)}))}Ot.tuple=Iq;var SD=function(e){hi(t,e);function t(n){var i=e.call(this)||this;return i.ttypes=n,i}return t.prototype.getChecker=function(n,i){var o=this.ttypes.map(function(u){return u.getChecker(n,i)}),r=function(u,a){if(!Array.isArray(u))return a.fail(null,"is not an array",0);for(var m=0;m<o.length;m++){var d=o[m](u[m],a);if(!d)return a.fail(m,null,1)}return!0};return i?function(u,a){return r(u,a)?u.length<=o.length?!0:a.fail(o.length,"is extraneous",2):!1}:r},t}(Qn);Ot.TTuple=SD;function Oq(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new xD(e.map(function(n){return la(n)}))}Ot.union=Oq;var xD=function(e){hi(t,e);function t(n){var i=e.call(this)||this;i.ttypes=n;var o=n.map(function(u){return u instanceof _g||u instanceof wg?u.name:null}).filter(function(u){return u}),r=n.length-o.length;return o.length?(r>0&&o.push(r+" more"),i._failMsg="is none of "+o.join(", ")):i._failMsg="is none of "+r+" types",i}return t.prototype.getChecker=function(n,i){var o=this,r=this.ttypes.map(function(u){return u.getChecker(n,i)});return function(u,a){for(var m=a.unionResolver(),d=0;d<r.length;d++){var s=r[d](u,m.createContext());if(s)return!0}return a.resolveUnion(m),a.fail(null,o._failMsg,0)}},t}(Qn);Ot.TUnion=xD;function Nq(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new _D(e.map(function(n){return la(n)}))}Ot.intersection=Nq;var _D=function(e){hi(t,e);function t(n){var i=e.call(this)||this;return i.ttypes=n,i}return t.prototype.getChecker=function(n,i){var o=new Set,r=this.ttypes.map(function(u){return u.getChecker(n,i,o)});return function(u,a){var m=r.every(function(d){return d(u,a)});return m?!0:a.fail(null,null,0)}},t}(Qn);Ot.TIntersection=_D;function Fq(e){return new Cg(e)}Ot.enumtype=Fq;var Cg=function(e){hi(t,e);function t(n){var i=e.call(this)||this;return i.members=n,i.validValues=new Set,i._failMsg="is not a valid enum value",i.validValues=new Set(Object.keys(n).map(function(o){return n[o]})),i}return t.prototype.getChecker=function(n,i){var o=this;return function(r,u){return o.validValues.has(r)?!0:u.fail(null,o._failMsg,0)}},t}(Qn);Ot.TEnumType=Cg;function jq(e,t){return new wD(e,t)}Ot.enumlit=jq;var wD=function(e){hi(t,e);function t(n,i){var o=e.call(this)||this;return o.enumName=n,o.prop=i,o._failMsg="is not "+n+"."+i,o}return t.prototype.getChecker=function(n,i){var o=this,r=xg(n,this.enumName);if(!(r instanceof Cg))throw new Error("Type "+this.enumName+" used in enumlit is not an enum type");var u=r.members[this.prop];if(!r.members.hasOwnProperty(this.prop))throw new Error("Unknown value "+this.enumName+"."+this.prop+" used in enumlit");return function(a,m){return a===u?!0:m.fail(null,o._failMsg,-1)}},t}(Qn);Ot.TEnumLiteral=wD;function Lq(e){return Object.keys(e).map(function(t){return Mq(t,e[t])})}function Mq(e,t){return t instanceof Ag?new Sg(e,t.ttype,!0):new Sg(e,la(t),!1)}function Rq(e,t){return new CD(e,Lq(t))}Ot.iface=Rq;var CD=function(e){hi(t,e);function t(n,i){var o=e.call(this)||this;return o.bases=n,o.props=i,o.propSet=new Set(i.map(function(r){return r.name})),o}return t.prototype.getChecker=function(n,i,o){var r=this,u=this.bases.map(function(f){return xg(n,f).getChecker(n,i)}),a=this.props.map(function(f){return f.ttype.getChecker(n,i)}),m=new vD.NoopContext,d=this.props.map(function(f,p){return!f.isOpt&&!a[p](void 0,m)}),s=function(f,p){if(typeof f!="object"||f===null)return p.fail(null,"is not an object",0);for(var h=0;h<u.length;h++)if(!u[h](f,p))return!1;for(var h=0;h<a.length;h++){var y=r.props[h].name,b=f[y];if(b===void 0){if(d[h])return p.fail(y,"is missing",1)}else{var E=a[h](b,p);if(!E)return p.fail(y,null,1)}}return!0};if(!i)return s;var l=this.propSet;return o&&(this.propSet.forEach(function(f){return o.add(f)}),l=o),function(f,p){if(!s(f,p))return!1;for(var h in f)if(!l.has(h))return p.fail(h,"is extraneous",2);return!0}},t}(Qn);Ot.TIface=CD;function Bq(e){return new Ag(la(e))}Ot.opt=Bq;var Ag=function(e){hi(t,e);function t(n){var i=e.call(this)||this;return i.ttype=n,i}return t.prototype.getChecker=function(n,i){var o=this.ttype.getChecker(n,i);return function(r,u){return r===void 0||o(r,u)}},t}(Qn);Ot.TOptional=Ag;var Sg=function(){function e(t,n,i){this.name=t,this.ttype=n,this.isOpt=i}return e}();Ot.TProp=Sg;function Uq(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return new AD(new kD(t),la(e))}Ot.func=Uq;var AD=function(e){hi(t,e);function t(n,i){var o=e.call(this)||this;return o.paramList=n,o.result=i,o}return t.prototype.getChecker=function(n,i){return function(o,r){return typeof o=="function"?!0:r.fail(null,"is not a function",0)}},t}(Qn);Ot.TFunc=AD;function $q(e,t,n){return new PD(e,la(t),!!n)}Ot.param=$q;var PD=function(){function e(t,n,i){this.name=t,this.ttype=n,this.isOpt=i}return e}();Ot.TParam=PD;var kD=function(e){hi(t,e);function t(n){var i=e.call(this)||this;return i.params=n,i}return t.prototype.getChecker=function(n,i){var o=this,r=this.params.map(function(d){return d.ttype.getChecker(n,i)}),u=new vD.NoopContext,a=this.params.map(function(d,s){return!d.isOpt&&!r[s](void 0,u)}),m=function(d,s){if(!Array.isArray(d))return s.fail(null,"is not an array",0);for(var l=0;l<r.length;l++){var f=o.params[l];if(d[l]===void 0){if(a[l])return s.fail(f.name,"is missing",1)}else{var p=r[l](d[l],s);if(!p)return s.fail(f.name,null,1)}}return!0};return i?function(d,s){return m(d,s)?d.length<=r.length?!0:s.fail(r.length,"is extraneous",2):!1}:m},t}(Qn);Ot.TParamList=kD;var Vn=function(e){hi(t,e);function t(n,i){var o=e.call(this)||this;return o.validator=n,o.message=i,o}return t.prototype.getChecker=function(n,i){var o=this;return function(r,u){return o.validator(r)?!0:u.fail(null,o.message,0)}},t}(Qn);Ot.BasicType=Vn;Ot.basicTypes={any:new Vn(function(e){return!0},"is invalid"),number:new Vn(function(e){return typeof e=="number"},"is not a number"),object:new Vn(function(e){return typeof e=="object"&&e},"is not an object"),boolean:new Vn(function(e){return typeof e=="boolean"},"is not a boolean"),string:new Vn(function(e){return typeof e=="string"},"is not a string"),symbol:new Vn(function(e){return typeof e=="symbol"},"is not a symbol"),void:new Vn(function(e){return e==null},"is not void"),undefined:new Vn(function(e){return e===void 0},"is not undefined"),null:new Vn(function(e){return e===null},"is not null"),never:new Vn(function(e){return!1},"is unexpected"),Date:new Vn(bD("[object Date]"),"is not a Date"),RegExp:new Vn(bD("[object RegExp]"),"is not a RegExp")};var Vq=Object.prototype.toString;function bD(e){return function(t){return typeof t=="object"&&t&&Vq.call(t)===e}}typeof Buffer<"u"&&(Ot.basicTypes.Buffer=new Vn(function(e){return Buffer.isBuffer(e)},"is not a Buffer"));var qq=function(e){Ot.basicTypes[e.name]=new Vn(function(t){return t instanceof e},"is not a "+e.name)};for(cf=0,Eg=[Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array,ArrayBuffer];cf<Eg.length;cf++)gD=Eg[cf],qq(gD);var gD,cf,Eg});var kg=me(ur=>{"use strict";var Wq=ur&&ur.__spreadArrays||function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;for(var i=Array(e),o=0,t=0;t<n;t++)for(var r=arguments[t],u=0,a=r.length;u<a;u++,o++)i[o]=r[u];return i};Object.defineProperty(ur,"__esModule",{value:!0});ur.Checker=ur.createCheckers=void 0;var zu=Pg(),Uo=uf(),Nr=Pg();Object.defineProperty(ur,"TArray",{enumerable:!0,get:function(){return Nr.TArray}});Object.defineProperty(ur,"TEnumType",{enumerable:!0,get:function(){return Nr.TEnumType}});Object.defineProperty(ur,"TEnumLiteral",{enumerable:!0,get:function(){return Nr.TEnumLiteral}});Object.defineProperty(ur,"TFunc",{enumerable:!0,get:function(){return Nr.TFunc}});Object.defineProperty(ur,"TIface",{enumerable:!0,get:function(){return Nr.TIface}});Object.defineProperty(ur,"TLiteral",{enumerable:!0,get:function(){return Nr.TLiteral}});Object.defineProperty(ur,"TName",{enumerable:!0,get:function(){return Nr.TName}});Object.defineProperty(ur,"TOptional",{enumerable:!0,get:function(){return Nr.TOptional}});Object.defineProperty(ur,"TParam",{enumerable:!0,get:function(){return Nr.TParam}});Object.defineProperty(ur,"TParamList",{enumerable:!0,get:function(){return Nr.TParamList}});Object.defineProperty(ur,"TProp",{enumerable:!0,get:function(){return Nr.TProp}});Object.defineProperty(ur,"TTuple",{enumerable:!0,get:function(){return Nr.TTuple}});Object.defineProperty(ur,"TType",{enumerable:!0,get:function(){return Nr.TType}});Object.defineProperty(ur,"TUnion",{enumerable:!0,get:function(){return Nr.TUnion}});Object.defineProperty(ur,"TIntersection",{enumerable:!0,get:function(){return Nr.TIntersection}});Object.defineProperty(ur,"array",{enumerable:!0,get:function(){return Nr.array}});Object.defineProperty(ur,"enumlit",{enumerable:!0,get:function(){return Nr.enumlit}});Object.defineProperty(ur,"enumtype",{enumerable:!0,get:function(){return Nr.enumtype}});Object.defineProperty(ur,"func",{enumerable:!0,get:function(){return Nr.func}});Object.defineProperty(ur,"iface",{enumerable:!0,get:function(){return Nr.iface}});Object.defineProperty(ur,"lit",{enumerable:!0,get:function(){return Nr.lit}});Object.defineProperty(ur,"name",{enumerable:!0,get:function(){return Nr.name}});Object.defineProperty(ur,"opt",{enumerable:!0,get:function(){return Nr.opt}});Object.defineProperty(ur,"param",{enumerable:!0,get:function(){return Nr.param}});Object.defineProperty(ur,"tuple",{enumerable:!0,get:function(){return Nr.tuple}});Object.defineProperty(ur,"union",{enumerable:!0,get:function(){return Nr.union}});Object.defineProperty(ur,"intersection",{enumerable:!0,get:function(){return Nr.intersection}});Object.defineProperty(ur,"BasicType",{enumerable:!0,get:function(){return Nr.BasicType}});var Kq=uf();Object.defineProperty(ur,"VError",{enumerable:!0,get:function(){return Kq.VError}});function zq(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=Object.assign.apply(Object,Wq([{},zu.basicTypes],e)),i={},o=0,r=e;o<r.length;o++)for(var u=r[o],a=0,m=Object.keys(u);a<m.length;a++){var d=m[a];i[d]=new DD(n,u[d])}return i}ur.createCheckers=zq;var DD=function(){function e(t,n,i){if(i===void 0&&(i="value"),this.suite=t,this.ttype=n,this._path=i,this.props=new Map,n instanceof zu.TIface)for(var o=0,r=n.props;o<r.length;o++){var u=r[o];this.props.set(u.name,u.ttype)}this.checkerPlain=this.ttype.getChecker(t,!1),this.checkerStrict=this.ttype.getChecker(t,!0)}return e.prototype.setReportedPath=function(t){this._path=t},e.prototype.check=function(t){return this._doCheck(this.checkerPlain,t)},e.prototype.test=function(t){return this.checkerPlain(t,new Uo.NoopContext)},e.prototype.validate=function(t){return this._doValidate(this.checkerPlain,t)},e.prototype.strictCheck=function(t){return this._doCheck(this.checkerStrict,t)},e.prototype.strictTest=function(t){return this.checkerStrict(t,new Uo.NoopContext)},e.prototype.strictValidate=function(t){return this._doValidate(this.checkerStrict,t)},e.prototype.getProp=function(t){var n=this.props.get(t);if(!n)throw new Error("Type has no property "+t);return new e(this.suite,n,this._path+"."+t)},e.prototype.methodArgs=function(t){var n=this._getMethod(t);return new e(this.suite,n.paramList)},e.prototype.methodResult=function(t){var n=this._getMethod(t);return new e(this.suite,n.result)},e.prototype.getArgs=function(){if(!(this.ttype instanceof zu.TFunc))throw new Error("getArgs() applied to non-function");return new e(this.suite,this.ttype.paramList)},e.prototype.getResult=function(){if(!(this.ttype instanceof zu.TFunc))throw new Error("getResult() applied to non-function");return new e(this.suite,this.ttype.result)},e.prototype.getType=function(){return this.ttype},e.prototype._doCheck=function(t,n){var i=new Uo.NoopContext;if(!t(n,i)){var o=new Uo.DetailContext;throw t(n,o),o.getError(this._path)}},e.prototype._doValidate=function(t,n){var i=new Uo.NoopContext;if(t(n,i))return null;var o=new Uo.DetailContext;return t(n,o),o.getErrorDetail(this._path)},e.prototype._getMethod=function(t){var n=this.props.get(t);if(!n)throw new Error("Type has no property "+t);if(!(n instanceof zu.TFunc))throw new Error("Property "+t+" is not a method");return n},e}();ur.Checker=DD});var ID=me(Ps=>{"use strict";Object.defineProperty(Ps,"__esModule",{value:!0});function Gq(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}var Hq=kg(),Mr=Gq(Hq),Xq=Mr.union(Mr.lit("jsx"),Mr.lit("typescript"),Mr.lit("flow"),Mr.lit("imports"),Mr.lit("react-hot-loader"),Mr.lit("jest"));Ps.Transform=Xq;var Jq=Mr.iface([],{compiledFilename:"string"});Ps.SourceMapOptions=Jq;var Yq=Mr.iface([],{transforms:Mr.array("Transform"),disableESTransforms:Mr.opt("boolean"),jsxRuntime:Mr.opt(Mr.union(Mr.lit("classic"),Mr.lit("automatic"),Mr.lit("preserve"))),production:Mr.opt("boolean"),jsxImportSource:Mr.opt("string"),jsxPragma:Mr.opt("string"),jsxFragmentPragma:Mr.opt("string"),keepUnusedImports:Mr.opt("boolean"),preserveDynamicImport:Mr.opt("boolean"),injectCreateRequireForImportRequire:Mr.opt("boolean"),enableLegacyTypeScriptModuleInterop:Mr.opt("boolean"),enableLegacyBabel5ModuleInterop:Mr.opt("boolean"),sourceMapOptions:Mr.opt("SourceMapOptions"),filePath:Mr.opt("string")});Ps.Options=Yq;var Qq={Transform:Ps.Transform,SourceMapOptions:Ps.SourceMapOptions,Options:Ps.Options};Ps.default=Qq});var OD=me(Dg=>{"use strict";Object.defineProperty(Dg,"__esModule",{value:!0});function Zq(e){return e&&e.__esModule?e:{default:e}}var eW=kg(),tW=ID(),rW=Zq(tW),{Options:nW}=eW.createCheckers.call(void 0,rW.default);function iW(e){nW.strictCheck(e)}Dg.validateOptions=iW});var pf=me(cs=>{"use strict";Object.defineProperty(cs,"__esModule",{value:!0});var sW=Xu(),ND=$o(),qn=En(),Gu=Pn(),Ai=sr(),Sn=pi(),Hu=Wa(),Ig=aa();function aW(){qn.next.call(void 0),Hu.parseMaybeAssign.call(void 0,!1)}cs.parseSpread=aW;function FD(e){qn.next.call(void 0),Ng(e)}cs.parseRest=FD;function jD(e){Hu.parseIdentifier.call(void 0),LD(e)}cs.parseBindingIdentifier=jD;function oW(){Hu.parseIdentifier.call(void 0),Sn.state.tokens[Sn.state.tokens.length-1].identifierRole=qn.IdentifierRole.ImportDeclaration}cs.parseImportedIdentifier=oW;function LD(e){let t;Sn.state.scopeDepth===0?t=qn.IdentifierRole.TopLevelDeclaration:e?t=qn.IdentifierRole.BlockScopedDeclaration:t=qn.IdentifierRole.FunctionScopedDeclaration,Sn.state.tokens[Sn.state.tokens.length-1].identifierRole=t}cs.markPriorBindingIdentifier=LD;function Ng(e){switch(Sn.state.type){case Ai.TokenType._this:{let t=qn.pushTypeContext.call(void 0,0);qn.next.call(void 0),qn.popTypeContext.call(void 0,t);return}case Ai.TokenType._yield:case Ai.TokenType.name:{Sn.state.type=Ai.TokenType.name,jD(e);return}case Ai.TokenType.bracketL:{qn.next.call(void 0),MD(Ai.TokenType.bracketR,e,!0);return}case Ai.TokenType.braceL:Hu.parseObj.call(void 0,!0,e);return;default:Ig.unexpected.call(void 0)}}cs.parseBindingAtom=Ng;function MD(e,t,n=!1,i=!1,o=0){let r=!0,u=!1,a=Sn.state.tokens.length;for(;!qn.eat.call(void 0,e)&&!Sn.state.error;)if(r?r=!1:(Ig.expect.call(void 0,Ai.TokenType.comma),Sn.state.tokens[Sn.state.tokens.length-1].contextId=o,!u&&Sn.state.tokens[a].isType&&(Sn.state.tokens[Sn.state.tokens.length-1].isType=!0,u=!0)),!(n&&qn.match.call(void 0,Ai.TokenType.comma))){if(qn.eat.call(void 0,e))break;if(qn.match.call(void 0,Ai.TokenType.ellipsis)){FD(t),RD(),qn.eat.call(void 0,Ai.TokenType.comma),Ig.expect.call(void 0,e);break}else lW(i,t)}}cs.parseBindingList=MD;function lW(e,t){e&&ND.tsParseModifiers.call(void 0,[Gu.ContextualKeyword._public,Gu.ContextualKeyword._protected,Gu.ContextualKeyword._private,Gu.ContextualKeyword._readonly,Gu.ContextualKeyword._override]),Og(t),RD(),Og(t,!0)}function RD(){Sn.isFlowEnabled?sW.flowParseAssignableListItemTypes.call(void 0):Sn.isTypeScriptEnabled&&ND.tsParseAssignableListItemTypes.call(void 0)}function Og(e,t=!1){if(t||Ng(e),!qn.eat.call(void 0,Ai.TokenType.eq))return;let n=Sn.state.tokens.length-1;Hu.parseMaybeAssign.call(void 0),Sn.state.tokens[n].rhsEndIndex=Sn.state.tokens.length}cs.parseMaybeDefault=Og});var $o=me(vr=>{"use strict";Object.defineProperty(vr,"__esModule",{value:!0});var _e=En(),At=Pn(),Te=sr(),$e=pi(),nr=Wa(),qo=pf(),ps=ec(),lt=aa(),uW=Wg();function jg(){return _e.match.call(void 0,Te.TokenType.name)}function cW(){return _e.match.call(void 0,Te.TokenType.name)||!!($e.state.type&Te.TokenType.IS_KEYWORD)||_e.match.call(void 0,Te.TokenType.string)||_e.match.call(void 0,Te.TokenType.num)||_e.match.call(void 0,Te.TokenType.bigint)||_e.match.call(void 0,Te.TokenType.decimal)}function qD(){let e=$e.state.snapshot();return _e.next.call(void 0),(_e.match.call(void 0,Te.TokenType.bracketL)||_e.match.call(void 0,Te.TokenType.braceL)||_e.match.call(void 0,Te.TokenType.star)||_e.match.call(void 0,Te.TokenType.ellipsis)||_e.match.call(void 0,Te.TokenType.hash)||cW())&&!lt.hasPrecedingLineBreak.call(void 0)?!0:($e.state.restoreFromSnapshot(e),!1)}function WD(e){for(;Bg(e)!==null;);}vr.tsParseModifiers=WD;function Bg(e){if(!_e.match.call(void 0,Te.TokenType.name))return null;let t=$e.state.contextualKeyword;if(e.indexOf(t)!==-1&&qD()){switch(t){case At.ContextualKeyword._readonly:$e.state.tokens[$e.state.tokens.length-1].type=Te.TokenType._readonly;break;case At.ContextualKeyword._abstract:$e.state.tokens[$e.state.tokens.length-1].type=Te.TokenType._abstract;break;case At.ContextualKeyword._static:$e.state.tokens[$e.state.tokens.length-1].type=Te.TokenType._static;break;case At.ContextualKeyword._public:$e.state.tokens[$e.state.tokens.length-1].type=Te.TokenType._public;break;case At.ContextualKeyword._private:$e.state.tokens[$e.state.tokens.length-1].type=Te.TokenType._private;break;case At.ContextualKeyword._protected:$e.state.tokens[$e.state.tokens.length-1].type=Te.TokenType._protected;break;case At.ContextualKeyword._override:$e.state.tokens[$e.state.tokens.length-1].type=Te.TokenType._override;break;case At.ContextualKeyword._declare:$e.state.tokens[$e.state.tokens.length-1].type=Te.TokenType._declare;break;default:break}return t}return null}vr.tsParseModifier=Bg;function Yu(){for(nr.parseIdentifier.call(void 0);_e.eat.call(void 0,Te.TokenType.dot);)nr.parseIdentifier.call(void 0)}function pW(){Yu(),!lt.hasPrecedingLineBreak.call(void 0)&&_e.match.call(void 0,Te.TokenType.lessThan)&&Ko()}function dW(){_e.next.call(void 0),Zu()}function fW(){_e.next.call(void 0)}function hW(){lt.expect.call(void 0,Te.TokenType._typeof),_e.match.call(void 0,Te.TokenType._import)?KD():Yu(),!lt.hasPrecedingLineBreak.call(void 0)&&_e.match.call(void 0,Te.TokenType.lessThan)&&Ko()}function KD(){lt.expect.call(void 0,Te.TokenType._import),lt.expect.call(void 0,Te.TokenType.parenL),lt.expect.call(void 0,Te.TokenType.string),lt.expect.call(void 0,Te.TokenType.parenR),_e.eat.call(void 0,Te.TokenType.dot)&&Yu(),_e.match.call(void 0,Te.TokenType.lessThan)&&Ko()}function mW(){_e.eat.call(void 0,Te.TokenType._const);let e=_e.eat.call(void 0,Te.TokenType._in),t=lt.eatContextual.call(void 0,At.ContextualKeyword._out);_e.eat.call(void 0,Te.TokenType._const),(e||t)&&!_e.match.call(void 0,Te.TokenType.name)?$e.state.tokens[$e.state.tokens.length-1].type=Te.TokenType.name:nr.parseIdentifier.call(void 0),_e.eat.call(void 0,Te.TokenType._extends)&&Zr(),_e.eat.call(void 0,Te.TokenType.eq)&&Zr()}function Wo(){_e.match.call(void 0,Te.TokenType.lessThan)&&ff()}vr.tsTryParseTypeParameters=Wo;function ff(){let e=_e.pushTypeContext.call(void 0,0);for(_e.match.call(void 0,Te.TokenType.lessThan)||_e.match.call(void 0,Te.TokenType.typeParameterStart)?_e.next.call(void 0):lt.unexpected.call(void 0);!_e.eat.call(void 0,Te.TokenType.greaterThan)&&!$e.state.error;)mW(),_e.eat.call(void 0,Te.TokenType.comma);_e.popTypeContext.call(void 0,e)}function Ug(e){let t=e===Te.TokenType.arrow;Wo(),lt.expect.call(void 0,Te.TokenType.parenL),$e.state.scopeDepth++,yW(!1),$e.state.scopeDepth--,(t||_e.match.call(void 0,e))&&Ju(e)}function yW(e){qo.parseBindingList.call(void 0,Te.TokenType.parenR,e)}function df(){_e.eat.call(void 0,Te.TokenType.comma)||lt.semicolon.call(void 0)}function BD(){Ug(Te.TokenType.colon),df()}function bW(){let e=$e.state.snapshot();_e.next.call(void 0);let t=_e.eat.call(void 0,Te.TokenType.name)&&_e.match.call(void 0,Te.TokenType.colon);return $e.state.restoreFromSnapshot(e),t}function zD(){if(!(_e.match.call(void 0,Te.TokenType.bracketL)&&bW()))return!1;let e=_e.pushTypeContext.call(void 0,0);return lt.expect.call(void 0,Te.TokenType.bracketL),nr.parseIdentifier.call(void 0),Zu(),lt.expect.call(void 0,Te.TokenType.bracketR),Qu(),df(),_e.popTypeContext.call(void 0,e),!0}function UD(e){_e.eat.call(void 0,Te.TokenType.question),!e&&(_e.match.call(void 0,Te.TokenType.parenL)||_e.match.call(void 0,Te.TokenType.lessThan))?(Ug(Te.TokenType.colon),df()):(Qu(),df())}function gW(){if(_e.match.call(void 0,Te.TokenType.parenL)||_e.match.call(void 0,Te.TokenType.lessThan)){BD();return}if(_e.match.call(void 0,Te.TokenType._new)){_e.next.call(void 0),_e.match.call(void 0,Te.TokenType.parenL)||_e.match.call(void 0,Te.TokenType.lessThan)?BD():UD(!1);return}let e=!!Bg([At.ContextualKeyword._readonly]);zD()||((lt.isContextual.call(void 0,At.ContextualKeyword._get)||lt.isContextual.call(void 0,At.ContextualKeyword._set))&&qD(),nr.parsePropertyName.call(void 0,-1),UD(e))}function vW(){GD()}function GD(){for(lt.expect.call(void 0,Te.TokenType.braceL);!_e.eat.call(void 0,Te.TokenType.braceR)&&!$e.state.error;)gW()}function TW(){let e=$e.state.snapshot(),t=EW();return $e.state.restoreFromSnapshot(e),t}function EW(){return _e.next.call(void 0),_e.eat.call(void 0,Te.TokenType.plus)||_e.eat.call(void 0,Te.TokenType.minus)?lt.isContextual.call(void 0,At.ContextualKeyword._readonly):(lt.isContextual.call(void 0,At.ContextualKeyword._readonly)&&_e.next.call(void 0),!_e.match.call(void 0,Te.TokenType.bracketL)||(_e.next.call(void 0),!jg())?!1:(_e.next.call(void 0),_e.match.call(void 0,Te.TokenType._in)))}function SW(){nr.parseIdentifier.call(void 0),lt.expect.call(void 0,Te.TokenType._in),Zr()}function xW(){lt.expect.call(void 0,Te.TokenType.braceL),_e.match.call(void 0,Te.TokenType.plus)||_e.match.call(void 0,Te.TokenType.minus)?(_e.next.call(void 0),lt.expectContextual.call(void 0,At.ContextualKeyword._readonly)):lt.eatContextual.call(void 0,At.ContextualKeyword._readonly),lt.expect.call(void 0,Te.TokenType.bracketL),SW(),lt.eatContextual.call(void 0,At.ContextualKeyword._as)&&Zr(),lt.expect.call(void 0,Te.TokenType.bracketR),_e.match.call(void 0,Te.TokenType.plus)||_e.match.call(void 0,Te.TokenType.minus)?(_e.next.call(void 0),lt.expect.call(void 0,Te.TokenType.question)):_e.eat.call(void 0,Te.TokenType.question),MW(),lt.semicolon.call(void 0),lt.expect.call(void 0,Te.TokenType.braceR)}function _W(){for(lt.expect.call(void 0,Te.TokenType.bracketL);!_e.eat.call(void 0,Te.TokenType.bracketR)&&!$e.state.error;)wW(),_e.eat.call(void 0,Te.TokenType.comma)}function wW(){_e.eat.call(void 0,Te.TokenType.ellipsis)?Zr():(Zr(),_e.eat.call(void 0,Te.TokenType.question)),_e.eat.call(void 0,Te.TokenType.colon)&&Zr()}function CW(){lt.expect.call(void 0,Te.TokenType.parenL),Zr(),lt.expect.call(void 0,Te.TokenType.parenR)}function AW(){for(_e.nextTemplateToken.call(void 0),_e.nextTemplateToken.call(void 0);!_e.match.call(void 0,Te.TokenType.backQuote)&&!$e.state.error;)lt.expect.call(void 0,Te.TokenType.dollarBraceL),Zr(),_e.nextTemplateToken.call(void 0),_e.nextTemplateToken.call(void 0);_e.next.call(void 0)}var ua;(function(e){e[e.TSFunctionType=0]="TSFunctionType";let n=1;e[e.TSConstructorType=n]="TSConstructorType";let i=n+1;e[e.TSAbstractConstructorType=i]="TSAbstractConstructorType"})(ua||(ua={}));function Fg(e){e===ua.TSAbstractConstructorType&<.expectContextual.call(void 0,At.ContextualKeyword._abstract),(e===ua.TSConstructorType||e===ua.TSAbstractConstructorType)&<.expect.call(void 0,Te.TokenType._new);let t=$e.state.inDisallowConditionalTypesContext;$e.state.inDisallowConditionalTypesContext=!1,Ug(Te.TokenType.arrow),$e.state.inDisallowConditionalTypesContext=t}function PW(){switch($e.state.type){case Te.TokenType.name:pW();return;case Te.TokenType._void:case Te.TokenType._null:_e.next.call(void 0);return;case Te.TokenType.string:case Te.TokenType.num:case Te.TokenType.bigint:case Te.TokenType.decimal:case Te.TokenType._true:case Te.TokenType._false:nr.parseLiteral.call(void 0);return;case Te.TokenType.minus:_e.next.call(void 0),nr.parseLiteral.call(void 0);return;case Te.TokenType._this:{fW(),lt.isContextual.call(void 0,At.ContextualKeyword._is)&&!lt.hasPrecedingLineBreak.call(void 0)&&dW();return}case Te.TokenType._typeof:hW();return;case Te.TokenType._import:KD();return;case Te.TokenType.braceL:TW()?xW():vW();return;case Te.TokenType.bracketL:_W();return;case Te.TokenType.parenL:CW();return;case Te.TokenType.backQuote:AW();return;default:if($e.state.type&Te.TokenType.IS_KEYWORD){_e.next.call(void 0),$e.state.tokens[$e.state.tokens.length-1].type=Te.TokenType.name;return}break}lt.unexpected.call(void 0)}function kW(){for(PW();!lt.hasPrecedingLineBreak.call(void 0)&&_e.eat.call(void 0,Te.TokenType.bracketL);)_e.eat.call(void 0,Te.TokenType.bracketR)||(Zr(),lt.expect.call(void 0,Te.TokenType.bracketR))}function DW(){if(lt.expectContextual.call(void 0,At.ContextualKeyword._infer),nr.parseIdentifier.call(void 0),_e.match.call(void 0,Te.TokenType._extends)){let e=$e.state.snapshot();lt.expect.call(void 0,Te.TokenType._extends);let t=$e.state.inDisallowConditionalTypesContext;$e.state.inDisallowConditionalTypesContext=!0,Zr(),$e.state.inDisallowConditionalTypesContext=t,($e.state.error||!$e.state.inDisallowConditionalTypesContext&&_e.match.call(void 0,Te.TokenType.question))&&$e.state.restoreFromSnapshot(e)}}function Lg(){if(lt.isContextual.call(void 0,At.ContextualKeyword._keyof)||lt.isContextual.call(void 0,At.ContextualKeyword._unique)||lt.isContextual.call(void 0,At.ContextualKeyword._readonly))_e.next.call(void 0),Lg();else if(lt.isContextual.call(void 0,At.ContextualKeyword._infer))DW();else{let e=$e.state.inDisallowConditionalTypesContext;$e.state.inDisallowConditionalTypesContext=!1,kW(),$e.state.inDisallowConditionalTypesContext=e}}function $D(){if(_e.eat.call(void 0,Te.TokenType.bitwiseAND),Lg(),_e.match.call(void 0,Te.TokenType.bitwiseAND))for(;_e.eat.call(void 0,Te.TokenType.bitwiseAND);)Lg()}function IW(){if(_e.eat.call(void 0,Te.TokenType.bitwiseOR),$D(),_e.match.call(void 0,Te.TokenType.bitwiseOR))for(;_e.eat.call(void 0,Te.TokenType.bitwiseOR);)$D()}function OW(){return _e.match.call(void 0,Te.TokenType.lessThan)?!0:_e.match.call(void 0,Te.TokenType.parenL)&&FW()}function NW(){if(_e.match.call(void 0,Te.TokenType.name)||_e.match.call(void 0,Te.TokenType._this))return _e.next.call(void 0),!0;if(_e.match.call(void 0,Te.TokenType.braceL)||_e.match.call(void 0,Te.TokenType.bracketL)){let e=1;for(_e.next.call(void 0);e>0&&!$e.state.error;)_e.match.call(void 0,Te.TokenType.braceL)||_e.match.call(void 0,Te.TokenType.bracketL)?e++:(_e.match.call(void 0,Te.TokenType.braceR)||_e.match.call(void 0,Te.TokenType.bracketR))&&e--,_e.next.call(void 0);return!0}return!1}function FW(){let e=$e.state.snapshot(),t=jW();return $e.state.restoreFromSnapshot(e),t}function jW(){return _e.next.call(void 0),!!(_e.match.call(void 0,Te.TokenType.parenR)||_e.match.call(void 0,Te.TokenType.ellipsis)||NW()&&(_e.match.call(void 0,Te.TokenType.colon)||_e.match.call(void 0,Te.TokenType.comma)||_e.match.call(void 0,Te.TokenType.question)||_e.match.call(void 0,Te.TokenType.eq)||_e.match.call(void 0,Te.TokenType.parenR)&&(_e.next.call(void 0),_e.match.call(void 0,Te.TokenType.arrow))))}function Ju(e){let t=_e.pushTypeContext.call(void 0,0);lt.expect.call(void 0,e),RW()||Zr(),_e.popTypeContext.call(void 0,t)}function LW(){_e.match.call(void 0,Te.TokenType.colon)&&Ju(Te.TokenType.colon)}function Qu(){_e.match.call(void 0,Te.TokenType.colon)&&Zu()}vr.tsTryParseTypeAnnotation=Qu;function MW(){_e.eat.call(void 0,Te.TokenType.colon)&&Zr()}function RW(){let e=$e.state.snapshot();return lt.isContextual.call(void 0,At.ContextualKeyword._asserts)?(_e.next.call(void 0),lt.eatContextual.call(void 0,At.ContextualKeyword._is)?(Zr(),!0):jg()||_e.match.call(void 0,Te.TokenType._this)?(_e.next.call(void 0),lt.eatContextual.call(void 0,At.ContextualKeyword._is)&&Zr(),!0):($e.state.restoreFromSnapshot(e),!1)):jg()||_e.match.call(void 0,Te.TokenType._this)?(_e.next.call(void 0),lt.isContextual.call(void 0,At.ContextualKeyword._is)&&!lt.hasPrecedingLineBreak.call(void 0)?(_e.next.call(void 0),Zr(),!0):($e.state.restoreFromSnapshot(e),!1)):!1}function Zu(){let e=_e.pushTypeContext.call(void 0,0);lt.expect.call(void 0,Te.TokenType.colon),Zr(),_e.popTypeContext.call(void 0,e)}vr.tsParseTypeAnnotation=Zu;function Zr(){if(Mg(),$e.state.inDisallowConditionalTypesContext||lt.hasPrecedingLineBreak.call(void 0)||!_e.eat.call(void 0,Te.TokenType._extends))return;let e=$e.state.inDisallowConditionalTypesContext;$e.state.inDisallowConditionalTypesContext=!0,Mg(),$e.state.inDisallowConditionalTypesContext=e,lt.expect.call(void 0,Te.TokenType.question),Zr(),lt.expect.call(void 0,Te.TokenType.colon),Zr()}vr.tsParseType=Zr;function BW(){return lt.isContextual.call(void 0,At.ContextualKeyword._abstract)&&_e.lookaheadType.call(void 0)===Te.TokenType._new}function Mg(){if(OW()){Fg(ua.TSFunctionType);return}if(_e.match.call(void 0,Te.TokenType._new)){Fg(ua.TSConstructorType);return}else if(BW()){Fg(ua.TSAbstractConstructorType);return}IW()}vr.tsParseNonConditionalType=Mg;function UW(){let e=_e.pushTypeContext.call(void 0,1);Zr(),lt.expect.call(void 0,Te.TokenType.greaterThan),_e.popTypeContext.call(void 0,e),nr.parseMaybeUnary.call(void 0)}vr.tsParseTypeAssertion=UW;function $W(){if(_e.eat.call(void 0,Te.TokenType.jsxTagStart)){$e.state.tokens[$e.state.tokens.length-1].type=Te.TokenType.typeParameterStart;let e=_e.pushTypeContext.call(void 0,1);for(;!_e.match.call(void 0,Te.TokenType.greaterThan)&&!$e.state.error;)Zr(),_e.eat.call(void 0,Te.TokenType.comma);uW.nextJSXTagToken.call(void 0),_e.popTypeContext.call(void 0,e)}}vr.tsTryParseJSXTypeArgument=$W;function HD(){for(;!_e.match.call(void 0,Te.TokenType.braceL)&&!$e.state.error;)VW(),_e.eat.call(void 0,Te.TokenType.comma)}function VW(){Yu(),_e.match.call(void 0,Te.TokenType.lessThan)&&Ko()}function qW(){qo.parseBindingIdentifier.call(void 0,!1),Wo(),_e.eat.call(void 0,Te.TokenType._extends)&&HD(),GD()}function WW(){qo.parseBindingIdentifier.call(void 0,!1),Wo(),lt.expect.call(void 0,Te.TokenType.eq),Zr(),lt.semicolon.call(void 0)}function KW(){if(_e.match.call(void 0,Te.TokenType.string)?nr.parseLiteral.call(void 0):nr.parseIdentifier.call(void 0),_e.eat.call(void 0,Te.TokenType.eq)){let e=$e.state.tokens.length-1;nr.parseMaybeAssign.call(void 0),$e.state.tokens[e].rhsEndIndex=$e.state.tokens.length}}function $g(){for(qo.parseBindingIdentifier.call(void 0,!1),lt.expect.call(void 0,Te.TokenType.braceL);!_e.eat.call(void 0,Te.TokenType.braceR)&&!$e.state.error;)KW(),_e.eat.call(void 0,Te.TokenType.comma)}function Vg(){lt.expect.call(void 0,Te.TokenType.braceL),ps.parseBlockBody.call(void 0,Te.TokenType.braceR)}function Rg(){qo.parseBindingIdentifier.call(void 0,!1),_e.eat.call(void 0,Te.TokenType.dot)?Rg():Vg()}function XD(){lt.isContextual.call(void 0,At.ContextualKeyword._global)?nr.parseIdentifier.call(void 0):_e.match.call(void 0,Te.TokenType.string)?nr.parseExprAtom.call(void 0):lt.unexpected.call(void 0),_e.match.call(void 0,Te.TokenType.braceL)?Vg():lt.semicolon.call(void 0)}function JD(){qo.parseImportedIdentifier.call(void 0),lt.expect.call(void 0,Te.TokenType.eq),GW(),lt.semicolon.call(void 0)}vr.tsParseImportEqualsDeclaration=JD;function zW(){return lt.isContextual.call(void 0,At.ContextualKeyword._require)&&_e.lookaheadType.call(void 0)===Te.TokenType.parenL}function GW(){zW()?HW():Yu()}function HW(){lt.expectContextual.call(void 0,At.ContextualKeyword._require),lt.expect.call(void 0,Te.TokenType.parenL),_e.match.call(void 0,Te.TokenType.string)||lt.unexpected.call(void 0),nr.parseLiteral.call(void 0),lt.expect.call(void 0,Te.TokenType.parenR)}function XW(){if(lt.isLineTerminator.call(void 0))return!1;switch($e.state.type){case Te.TokenType._function:{let e=_e.pushTypeContext.call(void 0,1);_e.next.call(void 0);let t=$e.state.start;return ps.parseFunction.call(void 0,t,!0),_e.popTypeContext.call(void 0,e),!0}case Te.TokenType._class:{let e=_e.pushTypeContext.call(void 0,1);return ps.parseClass.call(void 0,!0,!1),_e.popTypeContext.call(void 0,e),!0}case Te.TokenType._const:if(_e.match.call(void 0,Te.TokenType._const)&<.isLookaheadContextual.call(void 0,At.ContextualKeyword._enum)){let e=_e.pushTypeContext.call(void 0,1);return lt.expect.call(void 0,Te.TokenType._const),lt.expectContextual.call(void 0,At.ContextualKeyword._enum),$e.state.tokens[$e.state.tokens.length-1].type=Te.TokenType._enum,$g(),_e.popTypeContext.call(void 0,e),!0}case Te.TokenType._var:case Te.TokenType._let:{let e=_e.pushTypeContext.call(void 0,1);return ps.parseVarStatement.call(void 0,$e.state.type!==Te.TokenType._var),_e.popTypeContext.call(void 0,e),!0}case Te.TokenType.name:{let e=_e.pushTypeContext.call(void 0,1),t=$e.state.contextualKeyword,n=!1;return t===At.ContextualKeyword._global?(XD(),n=!0):n=hf(t,!0),_e.popTypeContext.call(void 0,e),n}default:return!1}}function VD(){return hf($e.state.contextualKeyword,!0)}function JW(e){switch(e){case At.ContextualKeyword._declare:{let t=$e.state.tokens.length-1;if(XW())return $e.state.tokens[t].type=Te.TokenType._declare,!0;break}case At.ContextualKeyword._global:if(_e.match.call(void 0,Te.TokenType.braceL))return Vg(),!0;break;default:return hf(e,!1)}return!1}function hf(e,t){switch(e){case At.ContextualKeyword._abstract:if(Vo(t)&&_e.match.call(void 0,Te.TokenType._class))return $e.state.tokens[$e.state.tokens.length-1].type=Te.TokenType._abstract,ps.parseClass.call(void 0,!0,!1),!0;break;case At.ContextualKeyword._enum:if(Vo(t)&&_e.match.call(void 0,Te.TokenType.name))return $e.state.tokens[$e.state.tokens.length-1].type=Te.TokenType._enum,$g(),!0;break;case At.ContextualKeyword._interface:if(Vo(t)&&_e.match.call(void 0,Te.TokenType.name)){let n=_e.pushTypeContext.call(void 0,t?2:1);return qW(),_e.popTypeContext.call(void 0,n),!0}break;case At.ContextualKeyword._module:if(Vo(t)){if(_e.match.call(void 0,Te.TokenType.string)){let n=_e.pushTypeContext.call(void 0,t?2:1);return XD(),_e.popTypeContext.call(void 0,n),!0}else if(_e.match.call(void 0,Te.TokenType.name)){let n=_e.pushTypeContext.call(void 0,t?2:1);return Rg(),_e.popTypeContext.call(void 0,n),!0}}break;case At.ContextualKeyword._namespace:if(Vo(t)&&_e.match.call(void 0,Te.TokenType.name)){let n=_e.pushTypeContext.call(void 0,t?2:1);return Rg(),_e.popTypeContext.call(void 0,n),!0}break;case At.ContextualKeyword._type:if(Vo(t)&&_e.match.call(void 0,Te.TokenType.name)){let n=_e.pushTypeContext.call(void 0,t?2:1);return WW(),_e.popTypeContext.call(void 0,n),!0}break;default:break}return!1}function Vo(e){return e?(_e.next.call(void 0),!0):!lt.isLineTerminator.call(void 0)}function YW(){let e=$e.state.snapshot();return ff(),ps.parseFunctionParams.call(void 0),LW(),lt.expect.call(void 0,Te.TokenType.arrow),$e.state.error?($e.state.restoreFromSnapshot(e),!1):(nr.parseFunctionBody.call(void 0,!0),!0)}function qg(){$e.state.type===Te.TokenType.bitShiftL&&($e.state.pos-=1,_e.finishToken.call(void 0,Te.TokenType.lessThan)),Ko()}function Ko(){let e=_e.pushTypeContext.call(void 0,0);for(lt.expect.call(void 0,Te.TokenType.lessThan);!_e.match.call(void 0,Te.TokenType.greaterThan)&&!$e.state.error;)Zr(),_e.eat.call(void 0,Te.TokenType.comma);e?(lt.expect.call(void 0,Te.TokenType.greaterThan),_e.popTypeContext.call(void 0,e)):(_e.popTypeContext.call(void 0,e),_e.rescan_gt.call(void 0),lt.expect.call(void 0,Te.TokenType.greaterThan),$e.state.tokens[$e.state.tokens.length-1].isType=!0)}function QW(){if(_e.match.call(void 0,Te.TokenType.name))switch($e.state.contextualKeyword){case At.ContextualKeyword._abstract:case At.ContextualKeyword._declare:case At.ContextualKeyword._enum:case At.ContextualKeyword._interface:case At.ContextualKeyword._module:case At.ContextualKeyword._namespace:case At.ContextualKeyword._type:return!0;default:break}return!1}vr.tsIsDeclarationStart=QW;function ZW(e,t){if(_e.match.call(void 0,Te.TokenType.colon)&&Ju(Te.TokenType.colon),!_e.match.call(void 0,Te.TokenType.braceL)&<.isLineTerminator.call(void 0)){let n=$e.state.tokens.length-1;for(;n>=0&&($e.state.tokens[n].start>=e||$e.state.tokens[n].type===Te.TokenType._default||$e.state.tokens[n].type===Te.TokenType._export);)$e.state.tokens[n].isType=!0,n--;return}nr.parseFunctionBody.call(void 0,!1,t)}vr.tsParseFunctionBodyAndFinish=ZW;function eK(e,t,n){if(!lt.hasPrecedingLineBreak.call(void 0)&&_e.eat.call(void 0,Te.TokenType.bang)){$e.state.tokens[$e.state.tokens.length-1].type=Te.TokenType.nonNullAssertion;return}if(_e.match.call(void 0,Te.TokenType.lessThan)||_e.match.call(void 0,Te.TokenType.bitShiftL)){let i=$e.state.snapshot();if(!t&&nr.atPossibleAsync.call(void 0)&&YW())return;if(qg(),!t&&_e.eat.call(void 0,Te.TokenType.parenL)?($e.state.tokens[$e.state.tokens.length-1].subscriptStartIndex=e,nr.parseCallExpressionArguments.call(void 0)):_e.match.call(void 0,Te.TokenType.backQuote)?nr.parseTemplate.call(void 0):($e.state.type===Te.TokenType.greaterThan||$e.state.type!==Te.TokenType.parenL&&$e.state.type&Te.TokenType.IS_EXPRESSION_START&&!lt.hasPrecedingLineBreak.call(void 0))&<.unexpected.call(void 0),$e.state.error)$e.state.restoreFromSnapshot(i);else return}else!t&&_e.match.call(void 0,Te.TokenType.questionDot)&&_e.lookaheadType.call(void 0)===Te.TokenType.lessThan&&(_e.next.call(void 0),$e.state.tokens[e].isOptionalChainStart=!0,$e.state.tokens[$e.state.tokens.length-1].subscriptStartIndex=e,Ko(),lt.expect.call(void 0,Te.TokenType.parenL),nr.parseCallExpressionArguments.call(void 0));nr.baseParseSubscript.call(void 0,e,t,n)}vr.tsParseSubscript=eK;function tK(){if(_e.eat.call(void 0,Te.TokenType._import))return lt.isContextual.call(void 0,At.ContextualKeyword._type)&&_e.lookaheadType.call(void 0)!==Te.TokenType.eq&<.expectContextual.call(void 0,At.ContextualKeyword._type),JD(),!0;if(_e.eat.call(void 0,Te.TokenType.eq))return nr.parseExpression.call(void 0),lt.semicolon.call(void 0),!0;if(lt.eatContextual.call(void 0,At.ContextualKeyword._as))return lt.expectContextual.call(void 0,At.ContextualKeyword._namespace),nr.parseIdentifier.call(void 0),lt.semicolon.call(void 0),!0;if(lt.isContextual.call(void 0,At.ContextualKeyword._type)){let e=_e.lookaheadType.call(void 0);(e===Te.TokenType.braceL||e===Te.TokenType.star)&&_e.next.call(void 0)}return!1}vr.tsTryParseExport=tK;function rK(){if(nr.parseIdentifier.call(void 0),_e.match.call(void 0,Te.TokenType.comma)||_e.match.call(void 0,Te.TokenType.braceR)){$e.state.tokens[$e.state.tokens.length-1].identifierRole=_e.IdentifierRole.ImportDeclaration;return}if(nr.parseIdentifier.call(void 0),_e.match.call(void 0,Te.TokenType.comma)||_e.match.call(void 0,Te.TokenType.braceR)){$e.state.tokens[$e.state.tokens.length-1].identifierRole=_e.IdentifierRole.ImportDeclaration,$e.state.tokens[$e.state.tokens.length-2].isType=!0,$e.state.tokens[$e.state.tokens.length-1].isType=!0;return}if(nr.parseIdentifier.call(void 0),_e.match.call(void 0,Te.TokenType.comma)||_e.match.call(void 0,Te.TokenType.braceR)){$e.state.tokens[$e.state.tokens.length-3].identifierRole=_e.IdentifierRole.ImportAccess,$e.state.tokens[$e.state.tokens.length-1].identifierRole=_e.IdentifierRole.ImportDeclaration;return}nr.parseIdentifier.call(void 0),$e.state.tokens[$e.state.tokens.length-3].identifierRole=_e.IdentifierRole.ImportAccess,$e.state.tokens[$e.state.tokens.length-1].identifierRole=_e.IdentifierRole.ImportDeclaration,$e.state.tokens[$e.state.tokens.length-4].isType=!0,$e.state.tokens[$e.state.tokens.length-3].isType=!0,$e.state.tokens[$e.state.tokens.length-2].isType=!0,$e.state.tokens[$e.state.tokens.length-1].isType=!0}vr.tsParseImportSpecifier=rK;function nK(){if(nr.parseIdentifier.call(void 0),_e.match.call(void 0,Te.TokenType.comma)||_e.match.call(void 0,Te.TokenType.braceR)){$e.state.tokens[$e.state.tokens.length-1].identifierRole=_e.IdentifierRole.ExportAccess;return}if(nr.parseIdentifier.call(void 0),_e.match.call(void 0,Te.TokenType.comma)||_e.match.call(void 0,Te.TokenType.braceR)){$e.state.tokens[$e.state.tokens.length-1].identifierRole=_e.IdentifierRole.ExportAccess,$e.state.tokens[$e.state.tokens.length-2].isType=!0,$e.state.tokens[$e.state.tokens.length-1].isType=!0;return}if(nr.parseIdentifier.call(void 0),_e.match.call(void 0,Te.TokenType.comma)||_e.match.call(void 0,Te.TokenType.braceR)){$e.state.tokens[$e.state.tokens.length-3].identifierRole=_e.IdentifierRole.ExportAccess;return}nr.parseIdentifier.call(void 0),$e.state.tokens[$e.state.tokens.length-3].identifierRole=_e.IdentifierRole.ExportAccess,$e.state.tokens[$e.state.tokens.length-4].isType=!0,$e.state.tokens[$e.state.tokens.length-3].isType=!0,$e.state.tokens[$e.state.tokens.length-2].isType=!0,$e.state.tokens[$e.state.tokens.length-1].isType=!0}vr.tsParseExportSpecifier=nK;function iK(){if(lt.isContextual.call(void 0,At.ContextualKeyword._abstract)&&_e.lookaheadType.call(void 0)===Te.TokenType._class)return $e.state.type=Te.TokenType._abstract,_e.next.call(void 0),ps.parseClass.call(void 0,!0,!0),!0;if(lt.isContextual.call(void 0,At.ContextualKeyword._interface)){let e=_e.pushTypeContext.call(void 0,2);return hf(At.ContextualKeyword._interface,!0),_e.popTypeContext.call(void 0,e),!0}return!1}vr.tsTryParseExportDefaultExpression=iK;function sK(){if($e.state.type===Te.TokenType._const){let e=_e.lookaheadTypeAndKeyword.call(void 0);if(e.type===Te.TokenType.name&&e.contextualKeyword===At.ContextualKeyword._enum)return lt.expect.call(void 0,Te.TokenType._const),lt.expectContextual.call(void 0,At.ContextualKeyword._enum),$e.state.tokens[$e.state.tokens.length-1].type=Te.TokenType._enum,$g(),!0}return!1}vr.tsTryParseStatementContent=sK;function aK(e){let t=$e.state.tokens.length;WD([At.ContextualKeyword._abstract,At.ContextualKeyword._readonly,At.ContextualKeyword._declare,At.ContextualKeyword._static,At.ContextualKeyword._override]);let n=$e.state.tokens.length;if(zD()){let o=e?t-1:t;for(let r=o;r<n;r++)$e.state.tokens[r].isType=!0;return!0}return!1}vr.tsTryParseClassMemberWithIsStatic=aK;function oK(e){JW(e)||lt.semicolon.call(void 0)}vr.tsParseIdentifierStatement=oK;function lK(){let e=lt.eatContextual.call(void 0,At.ContextualKeyword._declare);e&&($e.state.tokens[$e.state.tokens.length-1].type=Te.TokenType._declare);let t=!1;if(_e.match.call(void 0,Te.TokenType.name))if(e){let n=_e.pushTypeContext.call(void 0,2);t=VD(),_e.popTypeContext.call(void 0,n)}else t=VD();if(!t)if(e){let n=_e.pushTypeContext.call(void 0,2);ps.parseStatement.call(void 0,!0),_e.popTypeContext.call(void 0,n)}else ps.parseStatement.call(void 0,!0)}vr.tsParseExportDeclaration=lK;function uK(e){if(e&&(_e.match.call(void 0,Te.TokenType.lessThan)||_e.match.call(void 0,Te.TokenType.bitShiftL))&&qg(),lt.eatContextual.call(void 0,At.ContextualKeyword._implements)){$e.state.tokens[$e.state.tokens.length-1].type=Te.TokenType._implements;let t=_e.pushTypeContext.call(void 0,1);HD(),_e.popTypeContext.call(void 0,t)}}vr.tsAfterParseClassSuper=uK;function cK(){Wo()}vr.tsStartParseObjPropValue=cK;function pK(){Wo()}vr.tsStartParseFunctionParams=pK;function dK(){let e=_e.pushTypeContext.call(void 0,0);lt.hasPrecedingLineBreak.call(void 0)||_e.eat.call(void 0,Te.TokenType.bang),Qu(),_e.popTypeContext.call(void 0,e)}vr.tsAfterParseVarHead=dK;function fK(){_e.match.call(void 0,Te.TokenType.colon)&&Zu()}vr.tsStartParseAsyncArrowFromCallExpression=fK;function hK(e,t){return $e.isJSXEnabled?YD(e,t):QD(e,t)}vr.tsParseMaybeAssign=hK;function YD(e,t){if(!_e.match.call(void 0,Te.TokenType.lessThan))return nr.baseParseMaybeAssign.call(void 0,e,t);let n=$e.state.snapshot(),i=nr.baseParseMaybeAssign.call(void 0,e,t);if($e.state.error)$e.state.restoreFromSnapshot(n);else return i;return $e.state.type=Te.TokenType.typeParameterStart,ff(),i=nr.baseParseMaybeAssign.call(void 0,e,t),i||lt.unexpected.call(void 0),i}vr.tsParseMaybeAssignWithJSX=YD;function QD(e,t){if(!_e.match.call(void 0,Te.TokenType.lessThan))return nr.baseParseMaybeAssign.call(void 0,e,t);let n=$e.state.snapshot();ff();let i=nr.baseParseMaybeAssign.call(void 0,e,t);if(i||lt.unexpected.call(void 0),$e.state.error)$e.state.restoreFromSnapshot(n);else return i;return nr.baseParseMaybeAssign.call(void 0,e,t)}vr.tsParseMaybeAssignWithoutJSX=QD;function mK(){if(_e.match.call(void 0,Te.TokenType.colon)){let e=$e.state.snapshot();Ju(Te.TokenType.colon),lt.canInsertSemicolon.call(void 0)&<.unexpected.call(void 0),_e.match.call(void 0,Te.TokenType.arrow)||lt.unexpected.call(void 0),$e.state.error&&$e.state.restoreFromSnapshot(e)}return _e.eat.call(void 0,Te.TokenType.arrow)}vr.tsParseArrow=mK;function yK(){let e=_e.pushTypeContext.call(void 0,0);_e.eat.call(void 0,Te.TokenType.question),Qu(),_e.popTypeContext.call(void 0,e)}vr.tsParseAssignableListItemTypes=yK;function bK(){(_e.match.call(void 0,Te.TokenType.lessThan)||_e.match.call(void 0,Te.TokenType.bitShiftL))&&qg(),ps.baseParseMaybeDecoratorArguments.call(void 0)}vr.tsParseMaybeDecoratorArguments=bK});var Wg=me(yf=>{"use strict";Object.defineProperty(yf,"__esModule",{value:!0});var cr=En(),Sr=sr(),Wt=pi(),mf=Wa(),ca=aa(),on=ci(),ZD=Mo(),gK=$o();function vK(){let e=!1,t=!1;for(;;){if(Wt.state.pos>=Wt.input.length){ca.unexpected.call(void 0,"Unterminated JSX contents");return}let n=Wt.input.charCodeAt(Wt.state.pos);if(n===on.charCodes.lessThan||n===on.charCodes.leftCurlyBrace){if(Wt.state.pos===Wt.state.start){if(n===on.charCodes.lessThan){Wt.state.pos++,cr.finishToken.call(void 0,Sr.TokenType.jsxTagStart);return}cr.getTokenFromCode.call(void 0,n);return}e&&!t?cr.finishToken.call(void 0,Sr.TokenType.jsxEmptyText):cr.finishToken.call(void 0,Sr.TokenType.jsxText);return}n===on.charCodes.lineFeed?e=!0:n!==on.charCodes.space&&n!==on.charCodes.carriageReturn&&n!==on.charCodes.tab&&(t=!0),Wt.state.pos++}}function TK(e){for(Wt.state.pos++;;){if(Wt.state.pos>=Wt.input.length){ca.unexpected.call(void 0,"Unterminated string constant");return}if(Wt.input.charCodeAt(Wt.state.pos)===e){Wt.state.pos++;break}Wt.state.pos++}cr.finishToken.call(void 0,Sr.TokenType.string)}function EK(){let e;do{if(Wt.state.pos>Wt.input.length){ca.unexpected.call(void 0,"Unexpectedly reached the end of input.");return}e=Wt.input.charCodeAt(++Wt.state.pos)}while(ZD.IS_IDENTIFIER_CHAR[e]||e===on.charCodes.dash);cr.finishToken.call(void 0,Sr.TokenType.jsxName)}function Kg(){Pi()}function eI(e){if(Kg(),!cr.eat.call(void 0,Sr.TokenType.colon)){Wt.state.tokens[Wt.state.tokens.length-1].identifierRole=e;return}Kg()}function tI(){let e=Wt.state.tokens.length;eI(cr.IdentifierRole.Access);let t=!1;for(;cr.match.call(void 0,Sr.TokenType.dot);)t=!0,Pi(),Kg();if(!t){let n=Wt.state.tokens[e],i=Wt.input.charCodeAt(n.start);i>=on.charCodes.lowercaseA&&i<=on.charCodes.lowercaseZ&&(n.identifierRole=null)}}function SK(){switch(Wt.state.type){case Sr.TokenType.braceL:cr.next.call(void 0),mf.parseExpression.call(void 0),Pi();return;case Sr.TokenType.jsxTagStart:nI(),Pi();return;case Sr.TokenType.string:Pi();return;default:ca.unexpected.call(void 0,"JSX value should be either an expression or a quoted JSX text")}}function xK(){ca.expect.call(void 0,Sr.TokenType.ellipsis),mf.parseExpression.call(void 0)}function _K(e){if(cr.match.call(void 0,Sr.TokenType.jsxTagEnd))return!1;tI(),Wt.isTypeScriptEnabled&&gK.tsTryParseJSXTypeArgument.call(void 0);let t=!1;for(;!cr.match.call(void 0,Sr.TokenType.slash)&&!cr.match.call(void 0,Sr.TokenType.jsxTagEnd)&&!Wt.state.error;){if(cr.eat.call(void 0,Sr.TokenType.braceL)){t=!0,ca.expect.call(void 0,Sr.TokenType.ellipsis),mf.parseMaybeAssign.call(void 0),Pi();continue}t&&Wt.state.end-Wt.state.start===3&&Wt.input.charCodeAt(Wt.state.start)===on.charCodes.lowercaseK&&Wt.input.charCodeAt(Wt.state.start+1)===on.charCodes.lowercaseE&&Wt.input.charCodeAt(Wt.state.start+2)===on.charCodes.lowercaseY&&(Wt.state.tokens[e].jsxRole=cr.JSXRole.KeyAfterPropSpread),eI(cr.IdentifierRole.ObjectKey),cr.match.call(void 0,Sr.TokenType.eq)&&(Pi(),SK())}let n=cr.match.call(void 0,Sr.TokenType.slash);return n&&Pi(),n}function wK(){cr.match.call(void 0,Sr.TokenType.jsxTagEnd)||tI()}function rI(){let e=Wt.state.tokens.length-1;Wt.state.tokens[e].jsxRole=cr.JSXRole.NoChildren;let t=0;if(!_K(e))for(zo();;)switch(Wt.state.type){case Sr.TokenType.jsxTagStart:if(Pi(),cr.match.call(void 0,Sr.TokenType.slash)){Pi(),wK(),Wt.state.tokens[e].jsxRole!==cr.JSXRole.KeyAfterPropSpread&&(t===1?Wt.state.tokens[e].jsxRole=cr.JSXRole.OneChild:t>1&&(Wt.state.tokens[e].jsxRole=cr.JSXRole.StaticChildren));return}t++,rI(),zo();break;case Sr.TokenType.jsxText:t++,zo();break;case Sr.TokenType.jsxEmptyText:zo();break;case Sr.TokenType.braceL:cr.next.call(void 0),cr.match.call(void 0,Sr.TokenType.ellipsis)?(xK(),zo(),t+=2):(cr.match.call(void 0,Sr.TokenType.braceR)||(t++,mf.parseExpression.call(void 0)),zo());break;default:ca.unexpected.call(void 0);return}}function nI(){Pi(),rI()}yf.jsxParseElement=nI;function Pi(){Wt.state.tokens.push(new cr.Token),cr.skipSpace.call(void 0),Wt.state.start=Wt.state.pos;let e=Wt.input.charCodeAt(Wt.state.pos);if(ZD.IS_IDENTIFIER_START[e])EK();else if(e===on.charCodes.quotationMark||e===on.charCodes.apostrophe)TK(e);else switch(++Wt.state.pos,e){case on.charCodes.greaterThan:cr.finishToken.call(void 0,Sr.TokenType.jsxTagEnd);break;case on.charCodes.lessThan:cr.finishToken.call(void 0,Sr.TokenType.jsxTagStart);break;case on.charCodes.slash:cr.finishToken.call(void 0,Sr.TokenType.slash);break;case on.charCodes.equalsTo:cr.finishToken.call(void 0,Sr.TokenType.eq);break;case on.charCodes.leftCurlyBrace:cr.finishToken.call(void 0,Sr.TokenType.braceL);break;case on.charCodes.dot:cr.finishToken.call(void 0,Sr.TokenType.dot);break;case on.charCodes.colon:cr.finishToken.call(void 0,Sr.TokenType.colon);break;default:ca.unexpected.call(void 0)}}yf.nextJSXTagToken=Pi;function zo(){Wt.state.tokens.push(new cr.Token),Wt.state.start=Wt.state.pos,vK()}});var sI=me(gf=>{"use strict";Object.defineProperty(gf,"__esModule",{value:!0});var bf=En(),Go=sr(),iI=pi(),CK=Wa(),AK=Xu(),PK=$o();function kK(e){if(bf.match.call(void 0,Go.TokenType.question)){let t=bf.lookaheadType.call(void 0);if(t===Go.TokenType.colon||t===Go.TokenType.comma||t===Go.TokenType.parenR)return}CK.baseParseConditional.call(void 0,e)}gf.typedParseConditional=kK;function DK(){bf.eatTypeToken.call(void 0,Go.TokenType.question),bf.match.call(void 0,Go.TokenType.colon)&&(iI.isTypeScriptEnabled?PK.tsParseTypeAnnotation.call(void 0):iI.isFlowEnabled&&AK.flowParseTypeAnnotation.call(void 0))}gf.typedParseParenItem=DK});var Wa=me(Gr=>{"use strict";Object.defineProperty(Gr,"__esModule",{value:!0});var Is=Xu(),IK=Wg(),aI=sI(),da=$o(),st=En(),ks=Pn(),oI=Wd(),Je=sr(),lI=ci(),OK=Mo(),Ye=pi(),pa=pf(),Ki=ec(),dr=aa(),Ef=class{constructor(t){this.stop=t}};Gr.StopState=Ef;function tc(e=!1){if(ki(e),st.match.call(void 0,Je.TokenType.comma))for(;st.eat.call(void 0,Je.TokenType.comma);)ki(e)}Gr.parseExpression=tc;function ki(e=!1,t=!1){return Ye.isTypeScriptEnabled?da.tsParseMaybeAssign.call(void 0,e,t):Ye.isFlowEnabled?Is.flowParseMaybeAssign.call(void 0,e,t):uI(e,t)}Gr.parseMaybeAssign=ki;function uI(e,t){if(st.match.call(void 0,Je.TokenType._yield))return XK(),!1;(st.match.call(void 0,Je.TokenType.parenL)||st.match.call(void 0,Je.TokenType.name)||st.match.call(void 0,Je.TokenType._yield))&&(Ye.state.potentialArrowAt=Ye.state.start);let n=NK(e);return t&&Jg(),Ye.state.type&Je.TokenType.IS_ASSIGN?(st.next.call(void 0),ki(e),!1):n}Gr.baseParseMaybeAssign=uI;function NK(e){return jK(e)?!0:(FK(e),!1)}function FK(e){Ye.isTypeScriptEnabled||Ye.isFlowEnabled?aI.typedParseConditional.call(void 0,e):cI(e)}function cI(e){st.eat.call(void 0,Je.TokenType.question)&&(ki(),dr.expect.call(void 0,Je.TokenType.colon),ki(e))}Gr.baseParseConditional=cI;function jK(e){let t=Ye.state.tokens.length;return nc()?!0:(vf(t,-1,e),!1)}function vf(e,t,n){if(Ye.isTypeScriptEnabled&&(Je.TokenType._in&Je.TokenType.PRECEDENCE_MASK)>t&&!dr.hasPrecedingLineBreak.call(void 0)&&(dr.eatContextual.call(void 0,ks.ContextualKeyword._as)||dr.eatContextual.call(void 0,ks.ContextualKeyword._satisfies))){let o=st.pushTypeContext.call(void 0,1);da.tsParseType.call(void 0),st.popTypeContext.call(void 0,o),st.rescan_gt.call(void 0),vf(e,t,n);return}let i=Ye.state.type&Je.TokenType.PRECEDENCE_MASK;if(i>0&&(!n||!st.match.call(void 0,Je.TokenType._in))&&i>t){let o=Ye.state.type;st.next.call(void 0),o===Je.TokenType.nullishCoalescing&&(Ye.state.tokens[Ye.state.tokens.length-1].nullishStartIndex=e);let r=Ye.state.tokens.length;nc(),vf(r,o&Je.TokenType.IS_RIGHT_ASSOCIATIVE?i-1:i,n),o===Je.TokenType.nullishCoalescing&&(Ye.state.tokens[e].numNullishCoalesceStarts++,Ye.state.tokens[Ye.state.tokens.length-1].numNullishCoalesceEnds++),vf(e,t,n)}}function nc(){if(Ye.isTypeScriptEnabled&&!Ye.isJSXEnabled&&st.eat.call(void 0,Je.TokenType.lessThan))return da.tsParseTypeAssertion.call(void 0),!1;if(dr.isContextual.call(void 0,ks.ContextualKeyword._module)&&st.lookaheadCharCode.call(void 0)===lI.charCodes.leftCurlyBrace&&!dr.hasFollowingLineBreak.call(void 0))return JK(),!1;if(Ye.state.type&Je.TokenType.IS_PREFIX)return st.next.call(void 0),nc(),!1;if(pI())return!0;for(;Ye.state.type&Je.TokenType.IS_POSTFIX&&!dr.canInsertSemicolon.call(void 0);)Ye.state.type===Je.TokenType.preIncDec&&(Ye.state.type=Je.TokenType.postIncDec),st.next.call(void 0);return!1}Gr.parseMaybeUnary=nc;function pI(){let e=Ye.state.tokens.length;return _f()?!0:(Hg(e),Ye.state.tokens.length>e&&Ye.state.tokens[e].isOptionalChainStart&&(Ye.state.tokens[Ye.state.tokens.length-1].isOptionalChainEnd=!0),!1)}Gr.parseExprSubscripts=pI;function Hg(e,t=!1){Ye.isFlowEnabled?Is.flowParseSubscripts.call(void 0,e,t):dI(e,t)}function dI(e,t=!1){let n=new Ef(!1);do LK(e,t,n);while(!n.stop&&!Ye.state.error)}Gr.baseParseSubscripts=dI;function LK(e,t,n){Ye.isTypeScriptEnabled?da.tsParseSubscript.call(void 0,e,t,n):Ye.isFlowEnabled?Is.flowParseSubscript.call(void 0,e,t,n):fI(e,t,n)}function fI(e,t,n){if(!t&&st.eat.call(void 0,Je.TokenType.doubleColon))Xg(),n.stop=!0,Hg(e,t);else if(st.match.call(void 0,Je.TokenType.questionDot)){if(Ye.state.tokens[e].isOptionalChainStart=!0,t&&st.lookaheadType.call(void 0)===Je.TokenType.parenL){n.stop=!0;return}st.next.call(void 0),Ye.state.tokens[Ye.state.tokens.length-1].subscriptStartIndex=e,st.eat.call(void 0,Je.TokenType.bracketL)?(tc(),dr.expect.call(void 0,Je.TokenType.bracketR)):st.eat.call(void 0,Je.TokenType.parenL)?Tf():Sf()}else if(st.eat.call(void 0,Je.TokenType.dot))Ye.state.tokens[Ye.state.tokens.length-1].subscriptStartIndex=e,Sf();else if(st.eat.call(void 0,Je.TokenType.bracketL))Ye.state.tokens[Ye.state.tokens.length-1].subscriptStartIndex=e,tc(),dr.expect.call(void 0,Je.TokenType.bracketR);else if(!t&&st.match.call(void 0,Je.TokenType.parenL))if(hI()){let i=Ye.state.snapshot(),o=Ye.state.tokens.length;st.next.call(void 0),Ye.state.tokens[Ye.state.tokens.length-1].subscriptStartIndex=e;let r=Ye.getNextContextId.call(void 0);Ye.state.tokens[Ye.state.tokens.length-1].contextId=r,Tf(),Ye.state.tokens[Ye.state.tokens.length-1].contextId=r,MK()&&(Ye.state.restoreFromSnapshot(i),n.stop=!0,Ye.state.scopeDepth++,Ki.parseFunctionParams.call(void 0),RK(o))}else{st.next.call(void 0),Ye.state.tokens[Ye.state.tokens.length-1].subscriptStartIndex=e;let i=Ye.getNextContextId.call(void 0);Ye.state.tokens[Ye.state.tokens.length-1].contextId=i,Tf(),Ye.state.tokens[Ye.state.tokens.length-1].contextId=i}else st.match.call(void 0,Je.TokenType.backQuote)?Yg():n.stop=!0}Gr.baseParseSubscript=fI;function hI(){return Ye.state.tokens[Ye.state.tokens.length-1].contextualKeyword===ks.ContextualKeyword._async&&!dr.canInsertSemicolon.call(void 0)}Gr.atPossibleAsync=hI;function Tf(){let e=!0;for(;!st.eat.call(void 0,Je.TokenType.parenR)&&!Ye.state.error;){if(e)e=!1;else if(dr.expect.call(void 0,Je.TokenType.comma),st.eat.call(void 0,Je.TokenType.parenR))break;TI(!1)}}Gr.parseCallExpressionArguments=Tf;function MK(){return st.match.call(void 0,Je.TokenType.colon)||st.match.call(void 0,Je.TokenType.arrow)}function RK(e){Ye.isTypeScriptEnabled?da.tsStartParseAsyncArrowFromCallExpression.call(void 0):Ye.isFlowEnabled&&Is.flowStartParseAsyncArrowFromCallExpression.call(void 0),dr.expect.call(void 0,Je.TokenType.arrow),rc(e)}function Xg(){let e=Ye.state.tokens.length;_f(),Hg(e,!0)}function _f(){if(st.eat.call(void 0,Je.TokenType.modulo))return Ds(),!1;if(st.match.call(void 0,Je.TokenType.jsxText)||st.match.call(void 0,Je.TokenType.jsxEmptyText))return mI(),!1;if(st.match.call(void 0,Je.TokenType.lessThan)&&Ye.isJSXEnabled)return Ye.state.type=Je.TokenType.jsxTagStart,IK.jsxParseElement.call(void 0),st.next.call(void 0),!1;let e=Ye.state.potentialArrowAt===Ye.state.start;switch(Ye.state.type){case Je.TokenType.slash:case Je.TokenType.assign:st.retokenizeSlashAsRegex.call(void 0);case Je.TokenType._super:case Je.TokenType._this:case Je.TokenType.regexp:case Je.TokenType.num:case Je.TokenType.bigint:case Je.TokenType.decimal:case Je.TokenType.string:case Je.TokenType._null:case Je.TokenType._true:case Je.TokenType._false:return st.next.call(void 0),!1;case Je.TokenType._import:return st.next.call(void 0),st.match.call(void 0,Je.TokenType.dot)&&(Ye.state.tokens[Ye.state.tokens.length-1].type=Je.TokenType.name,st.next.call(void 0),Ds()),!1;case Je.TokenType.name:{let t=Ye.state.tokens.length,n=Ye.state.start,i=Ye.state.contextualKeyword;return Ds(),i===ks.ContextualKeyword._await?(HK(),!1):i===ks.ContextualKeyword._async&&st.match.call(void 0,Je.TokenType._function)&&!dr.canInsertSemicolon.call(void 0)?(st.next.call(void 0),Ki.parseFunction.call(void 0,n,!1),!1):e&&i===ks.ContextualKeyword._async&&!dr.canInsertSemicolon.call(void 0)&&st.match.call(void 0,Je.TokenType.name)?(Ye.state.scopeDepth++,pa.parseBindingIdentifier.call(void 0,!1),dr.expect.call(void 0,Je.TokenType.arrow),rc(t),!0):st.match.call(void 0,Je.TokenType._do)&&!dr.canInsertSemicolon.call(void 0)?(st.next.call(void 0),Ki.parseBlock.call(void 0),!1):e&&!dr.canInsertSemicolon.call(void 0)&&st.match.call(void 0,Je.TokenType.arrow)?(Ye.state.scopeDepth++,pa.markPriorBindingIdentifier.call(void 0,!1),dr.expect.call(void 0,Je.TokenType.arrow),rc(t),!0):(Ye.state.tokens[Ye.state.tokens.length-1].identifierRole=st.IdentifierRole.Access,!1)}case Je.TokenType._do:return st.next.call(void 0),Ki.parseBlock.call(void 0),!1;case Je.TokenType.parenL:return yI(e);case Je.TokenType.bracketL:return st.next.call(void 0),vI(Je.TokenType.bracketR,!0),!1;case Je.TokenType.braceL:return bI(!1,!1),!1;case Je.TokenType._function:return BK(),!1;case Je.TokenType.at:Ki.parseDecorators.call(void 0);case Je.TokenType._class:return Ki.parseClass.call(void 0,!1),!1;case Je.TokenType._new:return VK(),!1;case Je.TokenType.backQuote:return Yg(),!1;case Je.TokenType.doubleColon:return st.next.call(void 0),Xg(),!1;case Je.TokenType.hash:{let t=st.lookaheadCharCode.call(void 0);return OK.IS_IDENTIFIER_START[t]||t===lI.charCodes.backslash?Sf():st.next.call(void 0),!1}default:return dr.unexpected.call(void 0),!1}}Gr.parseExprAtom=_f;function Sf(){st.eat.call(void 0,Je.TokenType.hash),Ds()}function BK(){let e=Ye.state.start;Ds(),st.eat.call(void 0,Je.TokenType.dot)&&Ds(),Ki.parseFunction.call(void 0,e,!1)}function mI(){st.next.call(void 0)}Gr.parseLiteral=mI;function UK(){dr.expect.call(void 0,Je.TokenType.parenL),tc(),dr.expect.call(void 0,Je.TokenType.parenR)}Gr.parseParenExpression=UK;function yI(e){let t=Ye.state.snapshot(),n=Ye.state.tokens.length;dr.expect.call(void 0,Je.TokenType.parenL);let i=!0;for(;!st.match.call(void 0,Je.TokenType.parenR)&&!Ye.state.error;){if(i)i=!1;else if(dr.expect.call(void 0,Je.TokenType.comma),st.match.call(void 0,Je.TokenType.parenR))break;if(st.match.call(void 0,Je.TokenType.ellipsis)){pa.parseRest.call(void 0,!1),Jg();break}else ki(!1,!0)}return dr.expect.call(void 0,Je.TokenType.parenR),e&&$K()&&zg()?(Ye.state.restoreFromSnapshot(t),Ye.state.scopeDepth++,Ki.parseFunctionParams.call(void 0),zg(),rc(n),Ye.state.error?(Ye.state.restoreFromSnapshot(t),yI(!1),!1):!0):!1}function $K(){return st.match.call(void 0,Je.TokenType.colon)||!dr.canInsertSemicolon.call(void 0)}function zg(){return Ye.isTypeScriptEnabled?da.tsParseArrow.call(void 0):Ye.isFlowEnabled?Is.flowParseArrow.call(void 0):st.eat.call(void 0,Je.TokenType.arrow)}Gr.parseArrow=zg;function Jg(){(Ye.isTypeScriptEnabled||Ye.isFlowEnabled)&&aI.typedParseParenItem.call(void 0)}function VK(){if(dr.expect.call(void 0,Je.TokenType._new),st.eat.call(void 0,Je.TokenType.dot)){Ds();return}qK(),Ye.isFlowEnabled&&Is.flowStartParseNewArguments.call(void 0),st.eat.call(void 0,Je.TokenType.parenL)&&vI(Je.TokenType.parenR)}function qK(){Xg(),st.eat.call(void 0,Je.TokenType.questionDot)}function Yg(){for(st.nextTemplateToken.call(void 0),st.nextTemplateToken.call(void 0);!st.match.call(void 0,Je.TokenType.backQuote)&&!Ye.state.error;)dr.expect.call(void 0,Je.TokenType.dollarBraceL),tc(),st.nextTemplateToken.call(void 0),st.nextTemplateToken.call(void 0);st.next.call(void 0)}Gr.parseTemplate=Yg;function bI(e,t){let n=Ye.getNextContextId.call(void 0),i=!0;for(st.next.call(void 0),Ye.state.tokens[Ye.state.tokens.length-1].contextId=n;!st.eat.call(void 0,Je.TokenType.braceR)&&!Ye.state.error;){if(i)i=!1;else if(dr.expect.call(void 0,Je.TokenType.comma),st.eat.call(void 0,Je.TokenType.braceR))break;let o=!1;if(st.match.call(void 0,Je.TokenType.ellipsis)){let r=Ye.state.tokens.length;if(pa.parseSpread.call(void 0),e&&(Ye.state.tokens.length===r+2&&pa.markPriorBindingIdentifier.call(void 0,t),st.eat.call(void 0,Je.TokenType.braceR)))break;continue}e||(o=st.eat.call(void 0,Je.TokenType.star)),!e&&dr.isContextual.call(void 0,ks.ContextualKeyword._async)?(o&&dr.unexpected.call(void 0),Ds(),st.match.call(void 0,Je.TokenType.colon)||st.match.call(void 0,Je.TokenType.parenL)||st.match.call(void 0,Je.TokenType.braceR)||st.match.call(void 0,Je.TokenType.eq)||st.match.call(void 0,Je.TokenType.comma)||(st.match.call(void 0,Je.TokenType.star)&&(st.next.call(void 0),o=!0),xf(n))):xf(n),GK(e,t,n)}Ye.state.tokens[Ye.state.tokens.length-1].contextId=n}Gr.parseObj=bI;function WK(e){return!e&&(st.match.call(void 0,Je.TokenType.string)||st.match.call(void 0,Je.TokenType.num)||st.match.call(void 0,Je.TokenType.bracketL)||st.match.call(void 0,Je.TokenType.name)||!!(Ye.state.type&Je.TokenType.IS_KEYWORD))}function KK(e,t){let n=Ye.state.start;return st.match.call(void 0,Je.TokenType.parenL)?(e&&dr.unexpected.call(void 0),Gg(n,!1),!0):WK(e)?(xf(t),Gg(n,!1),!0):!1}function zK(e,t){if(st.eat.call(void 0,Je.TokenType.colon)){e?pa.parseMaybeDefault.call(void 0,t):ki(!1);return}let n;e?Ye.state.scopeDepth===0?n=st.IdentifierRole.ObjectShorthandTopLevelDeclaration:t?n=st.IdentifierRole.ObjectShorthandBlockScopedDeclaration:n=st.IdentifierRole.ObjectShorthandFunctionScopedDeclaration:n=st.IdentifierRole.ObjectShorthand,Ye.state.tokens[Ye.state.tokens.length-1].identifierRole=n,pa.parseMaybeDefault.call(void 0,t,!0)}function GK(e,t,n){Ye.isTypeScriptEnabled?da.tsStartParseObjPropValue.call(void 0):Ye.isFlowEnabled&&Is.flowStartParseObjPropValue.call(void 0),KK(e,n)||zK(e,t)}function xf(e){Ye.isFlowEnabled&&Is.flowParseVariance.call(void 0),st.eat.call(void 0,Je.TokenType.bracketL)?(Ye.state.tokens[Ye.state.tokens.length-1].contextId=e,ki(),dr.expect.call(void 0,Je.TokenType.bracketR),Ye.state.tokens[Ye.state.tokens.length-1].contextId=e):(st.match.call(void 0,Je.TokenType.num)||st.match.call(void 0,Je.TokenType.string)||st.match.call(void 0,Je.TokenType.bigint)||st.match.call(void 0,Je.TokenType.decimal)?_f():Sf(),Ye.state.tokens[Ye.state.tokens.length-1].identifierRole=st.IdentifierRole.ObjectKey,Ye.state.tokens[Ye.state.tokens.length-1].contextId=e)}Gr.parsePropertyName=xf;function Gg(e,t){let n=Ye.getNextContextId.call(void 0);Ye.state.scopeDepth++;let i=Ye.state.tokens.length,o=t;Ki.parseFunctionParams.call(void 0,o,n),gI(e,n);let r=Ye.state.tokens.length;Ye.state.scopes.push(new oI.Scope(i,r,!0)),Ye.state.scopeDepth--}Gr.parseMethod=Gg;function rc(e){Qg(!0);let t=Ye.state.tokens.length;Ye.state.scopes.push(new oI.Scope(e,t,!0)),Ye.state.scopeDepth--}Gr.parseArrowExpression=rc;function gI(e,t=0){Ye.isTypeScriptEnabled?da.tsParseFunctionBodyAndFinish.call(void 0,e,t):Ye.isFlowEnabled?Is.flowParseFunctionBodyAndFinish.call(void 0,t):Qg(!1,t)}Gr.parseFunctionBodyAndFinish=gI;function Qg(e,t=0){e&&!st.match.call(void 0,Je.TokenType.braceL)?ki():Ki.parseBlock.call(void 0,!0,t)}Gr.parseFunctionBody=Qg;function vI(e,t=!1){let n=!0;for(;!st.eat.call(void 0,e)&&!Ye.state.error;){if(n)n=!1;else if(dr.expect.call(void 0,Je.TokenType.comma),st.eat.call(void 0,e))break;TI(t)}}function TI(e){e&&st.match.call(void 0,Je.TokenType.comma)||(st.match.call(void 0,Je.TokenType.ellipsis)?(pa.parseSpread.call(void 0),Jg()):st.match.call(void 0,Je.TokenType.question)?st.next.call(void 0):ki(!1,!0))}function Ds(){st.next.call(void 0),Ye.state.tokens[Ye.state.tokens.length-1].type=Je.TokenType.name}Gr.parseIdentifier=Ds;function HK(){nc()}function XK(){st.next.call(void 0),!st.match.call(void 0,Je.TokenType.semi)&&!dr.canInsertSemicolon.call(void 0)&&(st.eat.call(void 0,Je.TokenType.star),ki())}function JK(){dr.expectContextual.call(void 0,ks.ContextualKeyword._module),dr.expect.call(void 0,Je.TokenType.braceL),Ki.parseBlockBody.call(void 0,Je.TokenType.braceR)}});var Xu=me(Rr=>{"use strict";Object.defineProperty(Rr,"__esModule",{value:!0});var je=En(),Ht=Pn(),Ie=sr(),Bt=pi(),kr=Wa(),fa=ec(),ht=aa();function YK(e){return(e.type===Ie.TokenType.name||!!(e.type&Ie.TokenType.IS_KEYWORD))&&e.contextualKeyword!==Ht.ContextualKeyword._from}function ds(e){let t=je.pushTypeContext.call(void 0,0);ht.expect.call(void 0,e||Ie.TokenType.colon),Zn(),je.popTypeContext.call(void 0,t)}function EI(){ht.expect.call(void 0,Ie.TokenType.modulo),ht.expectContextual.call(void 0,Ht.ContextualKeyword._checks),je.eat.call(void 0,Ie.TokenType.parenL)&&(kr.parseExpression.call(void 0),ht.expect.call(void 0,Ie.TokenType.parenR))}function t0(){let e=je.pushTypeContext.call(void 0,0);ht.expect.call(void 0,Ie.TokenType.colon),je.match.call(void 0,Ie.TokenType.modulo)?EI():(Zn(),je.match.call(void 0,Ie.TokenType.modulo)&&EI()),je.popTypeContext.call(void 0,e)}function QK(){je.next.call(void 0),r0(!0)}function ZK(){je.next.call(void 0),kr.parseIdentifier.call(void 0),je.match.call(void 0,Ie.TokenType.lessThan)&&fs(),ht.expect.call(void 0,Ie.TokenType.parenL),e0(),ht.expect.call(void 0,Ie.TokenType.parenR),t0(),ht.semicolon.call(void 0)}function Zg(){je.match.call(void 0,Ie.TokenType._class)?QK():je.match.call(void 0,Ie.TokenType._function)?ZK():je.match.call(void 0,Ie.TokenType._var)?ez():ht.eatContextual.call(void 0,Ht.ContextualKeyword._module)?je.eat.call(void 0,Ie.TokenType.dot)?nz():tz():ht.isContextual.call(void 0,Ht.ContextualKeyword._type)?iz():ht.isContextual.call(void 0,Ht.ContextualKeyword._opaque)?sz():ht.isContextual.call(void 0,Ht.ContextualKeyword._interface)?az():je.match.call(void 0,Ie.TokenType._export)?rz():ht.unexpected.call(void 0)}function ez(){je.next.call(void 0),AI(),ht.semicolon.call(void 0)}function tz(){for(je.match.call(void 0,Ie.TokenType.string)?kr.parseExprAtom.call(void 0):kr.parseIdentifier.call(void 0),ht.expect.call(void 0,Ie.TokenType.braceL);!je.match.call(void 0,Ie.TokenType.braceR)&&!Bt.state.error;)je.match.call(void 0,Ie.TokenType._import)?(je.next.call(void 0),fa.parseImport.call(void 0)):ht.unexpected.call(void 0);ht.expect.call(void 0,Ie.TokenType.braceR)}function rz(){ht.expect.call(void 0,Ie.TokenType._export),je.eat.call(void 0,Ie.TokenType._default)?je.match.call(void 0,Ie.TokenType._function)||je.match.call(void 0,Ie.TokenType._class)?Zg():(Zn(),ht.semicolon.call(void 0)):je.match.call(void 0,Ie.TokenType._var)||je.match.call(void 0,Ie.TokenType._function)||je.match.call(void 0,Ie.TokenType._class)||ht.isContextual.call(void 0,Ht.ContextualKeyword._opaque)?Zg():je.match.call(void 0,Ie.TokenType.star)||je.match.call(void 0,Ie.TokenType.braceL)||ht.isContextual.call(void 0,Ht.ContextualKeyword._interface)||ht.isContextual.call(void 0,Ht.ContextualKeyword._type)||ht.isContextual.call(void 0,Ht.ContextualKeyword._opaque)?fa.parseExport.call(void 0):ht.unexpected.call(void 0)}function nz(){ht.expectContextual.call(void 0,Ht.ContextualKeyword._exports),Ho(),ht.semicolon.call(void 0)}function iz(){je.next.call(void 0),i0()}function sz(){je.next.call(void 0),s0(!0)}function az(){je.next.call(void 0),r0()}function r0(e=!1){if(Pf(),je.match.call(void 0,Ie.TokenType.lessThan)&&fs(),je.eat.call(void 0,Ie.TokenType._extends))do wf();while(!e&&je.eat.call(void 0,Ie.TokenType.comma));if(ht.isContextual.call(void 0,Ht.ContextualKeyword._mixins)){je.next.call(void 0);do wf();while(je.eat.call(void 0,Ie.TokenType.comma))}if(ht.isContextual.call(void 0,Ht.ContextualKeyword._implements)){je.next.call(void 0);do wf();while(je.eat.call(void 0,Ie.TokenType.comma))}Cf(e,!1,e)}function wf(){_I(!1),je.match.call(void 0,Ie.TokenType.lessThan)&&Ka()}function n0(){r0()}function Pf(){kr.parseIdentifier.call(void 0)}function i0(){Pf(),je.match.call(void 0,Ie.TokenType.lessThan)&&fs(),ds(Ie.TokenType.eq),ht.semicolon.call(void 0)}function s0(e){ht.expectContextual.call(void 0,Ht.ContextualKeyword._type),Pf(),je.match.call(void 0,Ie.TokenType.lessThan)&&fs(),je.match.call(void 0,Ie.TokenType.colon)&&ds(Ie.TokenType.colon),e||ds(Ie.TokenType.eq),ht.semicolon.call(void 0)}function oz(){l0(),AI(),je.eat.call(void 0,Ie.TokenType.eq)&&Zn()}function fs(){let e=je.pushTypeContext.call(void 0,0);je.match.call(void 0,Ie.TokenType.lessThan)||je.match.call(void 0,Ie.TokenType.typeParameterStart)?je.next.call(void 0):ht.unexpected.call(void 0);do oz(),je.match.call(void 0,Ie.TokenType.greaterThan)||ht.expect.call(void 0,Ie.TokenType.comma);while(!je.match.call(void 0,Ie.TokenType.greaterThan)&&!Bt.state.error);ht.expect.call(void 0,Ie.TokenType.greaterThan),je.popTypeContext.call(void 0,e)}Rr.flowParseTypeParameterDeclaration=fs;function Ka(){let e=je.pushTypeContext.call(void 0,0);for(ht.expect.call(void 0,Ie.TokenType.lessThan);!je.match.call(void 0,Ie.TokenType.greaterThan)&&!Bt.state.error;)Zn(),je.match.call(void 0,Ie.TokenType.greaterThan)||ht.expect.call(void 0,Ie.TokenType.comma);ht.expect.call(void 0,Ie.TokenType.greaterThan),je.popTypeContext.call(void 0,e)}function lz(){if(ht.expectContextual.call(void 0,Ht.ContextualKeyword._interface),je.eat.call(void 0,Ie.TokenType._extends))do wf();while(je.eat.call(void 0,Ie.TokenType.comma));Cf(!1,!1,!1)}function a0(){je.match.call(void 0,Ie.TokenType.num)||je.match.call(void 0,Ie.TokenType.string)?kr.parseExprAtom.call(void 0):kr.parseIdentifier.call(void 0)}function uz(){je.lookaheadType.call(void 0)===Ie.TokenType.colon?(a0(),ds()):Zn(),ht.expect.call(void 0,Ie.TokenType.bracketR),ds()}function cz(){a0(),ht.expect.call(void 0,Ie.TokenType.bracketR),ht.expect.call(void 0,Ie.TokenType.bracketR),je.match.call(void 0,Ie.TokenType.lessThan)||je.match.call(void 0,Ie.TokenType.parenL)?o0():(je.eat.call(void 0,Ie.TokenType.question),ds())}function o0(){for(je.match.call(void 0,Ie.TokenType.lessThan)&&fs(),ht.expect.call(void 0,Ie.TokenType.parenL);!je.match.call(void 0,Ie.TokenType.parenR)&&!je.match.call(void 0,Ie.TokenType.ellipsis)&&!Bt.state.error;)Af(),je.match.call(void 0,Ie.TokenType.parenR)||ht.expect.call(void 0,Ie.TokenType.comma);je.eat.call(void 0,Ie.TokenType.ellipsis)&&Af(),ht.expect.call(void 0,Ie.TokenType.parenR),ds()}function pz(){o0()}function Cf(e,t,n){let i;for(t&&je.match.call(void 0,Ie.TokenType.braceBarL)?(ht.expect.call(void 0,Ie.TokenType.braceBarL),i=Ie.TokenType.braceBarR):(ht.expect.call(void 0,Ie.TokenType.braceL),i=Ie.TokenType.braceR);!je.match.call(void 0,i)&&!Bt.state.error;){if(n&&ht.isContextual.call(void 0,Ht.ContextualKeyword._proto)){let o=je.lookaheadType.call(void 0);o!==Ie.TokenType.colon&&o!==Ie.TokenType.question&&(je.next.call(void 0),e=!1)}if(e&&ht.isContextual.call(void 0,Ht.ContextualKeyword._static)){let o=je.lookaheadType.call(void 0);o!==Ie.TokenType.colon&&o!==Ie.TokenType.question&&je.next.call(void 0)}if(l0(),je.eat.call(void 0,Ie.TokenType.bracketL))je.eat.call(void 0,Ie.TokenType.bracketL)?cz():uz();else if(je.match.call(void 0,Ie.TokenType.parenL)||je.match.call(void 0,Ie.TokenType.lessThan))pz();else{if(ht.isContextual.call(void 0,Ht.ContextualKeyword._get)||ht.isContextual.call(void 0,Ht.ContextualKeyword._set)){let o=je.lookaheadType.call(void 0);(o===Ie.TokenType.name||o===Ie.TokenType.string||o===Ie.TokenType.num)&&je.next.call(void 0)}dz()}fz()}ht.expect.call(void 0,i)}function dz(){if(je.match.call(void 0,Ie.TokenType.ellipsis)){if(ht.expect.call(void 0,Ie.TokenType.ellipsis),je.eat.call(void 0,Ie.TokenType.comma)||je.eat.call(void 0,Ie.TokenType.semi),je.match.call(void 0,Ie.TokenType.braceR))return;Zn()}else a0(),je.match.call(void 0,Ie.TokenType.lessThan)||je.match.call(void 0,Ie.TokenType.parenL)?o0():(je.eat.call(void 0,Ie.TokenType.question),ds())}function fz(){!je.eat.call(void 0,Ie.TokenType.semi)&&!je.eat.call(void 0,Ie.TokenType.comma)&&!je.match.call(void 0,Ie.TokenType.braceR)&&!je.match.call(void 0,Ie.TokenType.braceBarR)&&ht.unexpected.call(void 0)}function _I(e){for(e||kr.parseIdentifier.call(void 0);je.eat.call(void 0,Ie.TokenType.dot);)kr.parseIdentifier.call(void 0)}function hz(){_I(!0),je.match.call(void 0,Ie.TokenType.lessThan)&&Ka()}function mz(){ht.expect.call(void 0,Ie.TokenType._typeof),wI()}function yz(){for(ht.expect.call(void 0,Ie.TokenType.bracketL);Bt.state.pos<Bt.input.length&&!je.match.call(void 0,Ie.TokenType.bracketR)&&(Zn(),!je.match.call(void 0,Ie.TokenType.bracketR));)ht.expect.call(void 0,Ie.TokenType.comma);ht.expect.call(void 0,Ie.TokenType.bracketR)}function Af(){let e=je.lookaheadType.call(void 0);e===Ie.TokenType.colon||e===Ie.TokenType.question?(kr.parseIdentifier.call(void 0),je.eat.call(void 0,Ie.TokenType.question),ds()):Zn()}function e0(){for(;!je.match.call(void 0,Ie.TokenType.parenR)&&!je.match.call(void 0,Ie.TokenType.ellipsis)&&!Bt.state.error;)Af(),je.match.call(void 0,Ie.TokenType.parenR)||ht.expect.call(void 0,Ie.TokenType.comma);je.eat.call(void 0,Ie.TokenType.ellipsis)&&Af()}function wI(){let e=!1,t=Bt.state.noAnonFunctionType;switch(Bt.state.type){case Ie.TokenType.name:{if(ht.isContextual.call(void 0,Ht.ContextualKeyword._interface)){lz();return}kr.parseIdentifier.call(void 0),hz();return}case Ie.TokenType.braceL:Cf(!1,!1,!1);return;case Ie.TokenType.braceBarL:Cf(!1,!0,!1);return;case Ie.TokenType.bracketL:yz();return;case Ie.TokenType.lessThan:fs(),ht.expect.call(void 0,Ie.TokenType.parenL),e0(),ht.expect.call(void 0,Ie.TokenType.parenR),ht.expect.call(void 0,Ie.TokenType.arrow),Zn();return;case Ie.TokenType.parenL:if(je.next.call(void 0),!je.match.call(void 0,Ie.TokenType.parenR)&&!je.match.call(void 0,Ie.TokenType.ellipsis))if(je.match.call(void 0,Ie.TokenType.name)){let n=je.lookaheadType.call(void 0);e=n!==Ie.TokenType.question&&n!==Ie.TokenType.colon}else e=!0;if(e)if(Bt.state.noAnonFunctionType=!1,Zn(),Bt.state.noAnonFunctionType=t,Bt.state.noAnonFunctionType||!(je.match.call(void 0,Ie.TokenType.comma)||je.match.call(void 0,Ie.TokenType.parenR)&&je.lookaheadType.call(void 0)===Ie.TokenType.arrow)){ht.expect.call(void 0,Ie.TokenType.parenR);return}else je.eat.call(void 0,Ie.TokenType.comma);e0(),ht.expect.call(void 0,Ie.TokenType.parenR),ht.expect.call(void 0,Ie.TokenType.arrow),Zn();return;case Ie.TokenType.minus:je.next.call(void 0),kr.parseLiteral.call(void 0);return;case Ie.TokenType.string:case Ie.TokenType.num:case Ie.TokenType._true:case Ie.TokenType._false:case Ie.TokenType._null:case Ie.TokenType._this:case Ie.TokenType._void:case Ie.TokenType.star:je.next.call(void 0);return;default:if(Bt.state.type===Ie.TokenType._typeof){mz();return}else if(Bt.state.type&Ie.TokenType.IS_KEYWORD){je.next.call(void 0),Bt.state.tokens[Bt.state.tokens.length-1].type=Ie.TokenType.name;return}}ht.unexpected.call(void 0)}function bz(){for(wI();!ht.canInsertSemicolon.call(void 0)&&(je.match.call(void 0,Ie.TokenType.bracketL)||je.match.call(void 0,Ie.TokenType.questionDot));)je.eat.call(void 0,Ie.TokenType.questionDot),ht.expect.call(void 0,Ie.TokenType.bracketL),je.eat.call(void 0,Ie.TokenType.bracketR)||(Zn(),ht.expect.call(void 0,Ie.TokenType.bracketR))}function CI(){je.eat.call(void 0,Ie.TokenType.question)?CI():bz()}function SI(){CI(),!Bt.state.noAnonFunctionType&&je.eat.call(void 0,Ie.TokenType.arrow)&&Zn()}function xI(){for(je.eat.call(void 0,Ie.TokenType.bitwiseAND),SI();je.eat.call(void 0,Ie.TokenType.bitwiseAND);)SI()}function gz(){for(je.eat.call(void 0,Ie.TokenType.bitwiseOR),xI();je.eat.call(void 0,Ie.TokenType.bitwiseOR);)xI()}function Zn(){gz()}function Ho(){ds()}Rr.flowParseTypeAnnotation=Ho;function AI(){kr.parseIdentifier.call(void 0),je.match.call(void 0,Ie.TokenType.colon)&&Ho()}function l0(){(je.match.call(void 0,Ie.TokenType.plus)||je.match.call(void 0,Ie.TokenType.minus))&&(je.next.call(void 0),Bt.state.tokens[Bt.state.tokens.length-1].isType=!0)}Rr.flowParseVariance=l0;function vz(e){je.match.call(void 0,Ie.TokenType.colon)&&t0(),kr.parseFunctionBody.call(void 0,!1,e)}Rr.flowParseFunctionBodyAndFinish=vz;function Tz(e,t,n){if(je.match.call(void 0,Ie.TokenType.questionDot)&&je.lookaheadType.call(void 0)===Ie.TokenType.lessThan){if(t){n.stop=!0;return}je.next.call(void 0),Ka(),ht.expect.call(void 0,Ie.TokenType.parenL),kr.parseCallExpressionArguments.call(void 0);return}else if(!t&&je.match.call(void 0,Ie.TokenType.lessThan)){let i=Bt.state.snapshot();if(Ka(),ht.expect.call(void 0,Ie.TokenType.parenL),kr.parseCallExpressionArguments.call(void 0),Bt.state.error)Bt.state.restoreFromSnapshot(i);else return}kr.baseParseSubscript.call(void 0,e,t,n)}Rr.flowParseSubscript=Tz;function Ez(){if(je.match.call(void 0,Ie.TokenType.lessThan)){let e=Bt.state.snapshot();Ka(),Bt.state.error&&Bt.state.restoreFromSnapshot(e)}}Rr.flowStartParseNewArguments=Ez;function Sz(){if(je.match.call(void 0,Ie.TokenType.name)&&Bt.state.contextualKeyword===Ht.ContextualKeyword._interface){let e=je.pushTypeContext.call(void 0,0);return je.next.call(void 0),n0(),je.popTypeContext.call(void 0,e),!0}else if(ht.isContextual.call(void 0,Ht.ContextualKeyword._enum))return PI(),!0;return!1}Rr.flowTryParseStatement=Sz;function xz(){return ht.isContextual.call(void 0,Ht.ContextualKeyword._enum)?(PI(),!0):!1}Rr.flowTryParseExportDefaultExpression=xz;function _z(e){if(e===Ht.ContextualKeyword._declare){if(je.match.call(void 0,Ie.TokenType._class)||je.match.call(void 0,Ie.TokenType.name)||je.match.call(void 0,Ie.TokenType._function)||je.match.call(void 0,Ie.TokenType._var)||je.match.call(void 0,Ie.TokenType._export)){let t=je.pushTypeContext.call(void 0,1);Zg(),je.popTypeContext.call(void 0,t)}}else if(je.match.call(void 0,Ie.TokenType.name)){if(e===Ht.ContextualKeyword._interface){let t=je.pushTypeContext.call(void 0,1);n0(),je.popTypeContext.call(void 0,t)}else if(e===Ht.ContextualKeyword._type){let t=je.pushTypeContext.call(void 0,1);i0(),je.popTypeContext.call(void 0,t)}else if(e===Ht.ContextualKeyword._opaque){let t=je.pushTypeContext.call(void 0,1);s0(!1),je.popTypeContext.call(void 0,t)}}ht.semicolon.call(void 0)}Rr.flowParseIdentifierStatement=_z;function wz(){return ht.isContextual.call(void 0,Ht.ContextualKeyword._type)||ht.isContextual.call(void 0,Ht.ContextualKeyword._interface)||ht.isContextual.call(void 0,Ht.ContextualKeyword._opaque)||ht.isContextual.call(void 0,Ht.ContextualKeyword._enum)}Rr.flowShouldParseExportDeclaration=wz;function Cz(){return je.match.call(void 0,Ie.TokenType.name)&&(Bt.state.contextualKeyword===Ht.ContextualKeyword._type||Bt.state.contextualKeyword===Ht.ContextualKeyword._interface||Bt.state.contextualKeyword===Ht.ContextualKeyword._opaque||Bt.state.contextualKeyword===Ht.ContextualKeyword._enum)}Rr.flowShouldDisallowExportDefaultSpecifier=Cz;function Az(){if(ht.isContextual.call(void 0,Ht.ContextualKeyword._type)){let e=je.pushTypeContext.call(void 0,1);je.next.call(void 0),je.match.call(void 0,Ie.TokenType.braceL)?(fa.parseExportSpecifiers.call(void 0),fa.parseExportFrom.call(void 0)):i0(),je.popTypeContext.call(void 0,e)}else if(ht.isContextual.call(void 0,Ht.ContextualKeyword._opaque)){let e=je.pushTypeContext.call(void 0,1);je.next.call(void 0),s0(!1),je.popTypeContext.call(void 0,e)}else if(ht.isContextual.call(void 0,Ht.ContextualKeyword._interface)){let e=je.pushTypeContext.call(void 0,1);je.next.call(void 0),n0(),je.popTypeContext.call(void 0,e)}else fa.parseStatement.call(void 0,!0)}Rr.flowParseExportDeclaration=Az;function Pz(){return je.match.call(void 0,Ie.TokenType.star)||ht.isContextual.call(void 0,Ht.ContextualKeyword._type)&&je.lookaheadType.call(void 0)===Ie.TokenType.star}Rr.flowShouldParseExportStar=Pz;function kz(){if(ht.eatContextual.call(void 0,Ht.ContextualKeyword._type)){let e=je.pushTypeContext.call(void 0,2);fa.baseParseExportStar.call(void 0),je.popTypeContext.call(void 0,e)}else fa.baseParseExportStar.call(void 0)}Rr.flowParseExportStar=kz;function Dz(e){if(e&&je.match.call(void 0,Ie.TokenType.lessThan)&&Ka(),ht.isContextual.call(void 0,Ht.ContextualKeyword._implements)){let t=je.pushTypeContext.call(void 0,0);je.next.call(void 0),Bt.state.tokens[Bt.state.tokens.length-1].type=Ie.TokenType._implements;do Pf(),je.match.call(void 0,Ie.TokenType.lessThan)&&Ka();while(je.eat.call(void 0,Ie.TokenType.comma));je.popTypeContext.call(void 0,t)}}Rr.flowAfterParseClassSuper=Dz;function Iz(){je.match.call(void 0,Ie.TokenType.lessThan)&&(fs(),je.match.call(void 0,Ie.TokenType.parenL)||ht.unexpected.call(void 0))}Rr.flowStartParseObjPropValue=Iz;function Oz(){let e=je.pushTypeContext.call(void 0,0);je.eat.call(void 0,Ie.TokenType.question),je.match.call(void 0,Ie.TokenType.colon)&&Ho(),je.popTypeContext.call(void 0,e)}Rr.flowParseAssignableListItemTypes=Oz;function Nz(){if(je.match.call(void 0,Ie.TokenType._typeof)||ht.isContextual.call(void 0,Ht.ContextualKeyword._type)){let e=je.lookaheadTypeAndKeyword.call(void 0);(YK(e)||e.type===Ie.TokenType.braceL||e.type===Ie.TokenType.star)&&je.next.call(void 0)}}Rr.flowStartParseImportSpecifiers=Nz;function Fz(){let e=Bt.state.contextualKeyword===Ht.ContextualKeyword._type||Bt.state.type===Ie.TokenType._typeof;e?je.next.call(void 0):kr.parseIdentifier.call(void 0),ht.isContextual.call(void 0,Ht.ContextualKeyword._as)&&!ht.isLookaheadContextual.call(void 0,Ht.ContextualKeyword._as)?(kr.parseIdentifier.call(void 0),e&&!je.match.call(void 0,Ie.TokenType.name)&&!(Bt.state.type&Ie.TokenType.IS_KEYWORD)||kr.parseIdentifier.call(void 0)):(e&&(je.match.call(void 0,Ie.TokenType.name)||Bt.state.type&Ie.TokenType.IS_KEYWORD)&&kr.parseIdentifier.call(void 0),ht.eatContextual.call(void 0,Ht.ContextualKeyword._as)&&kr.parseIdentifier.call(void 0))}Rr.flowParseImportSpecifier=Fz;function jz(){if(je.match.call(void 0,Ie.TokenType.lessThan)){let e=je.pushTypeContext.call(void 0,0);fs(),je.popTypeContext.call(void 0,e)}}Rr.flowStartParseFunctionParams=jz;function Lz(){je.match.call(void 0,Ie.TokenType.colon)&&Ho()}Rr.flowAfterParseVarHead=Lz;function Mz(){if(je.match.call(void 0,Ie.TokenType.colon)){let e=Bt.state.noAnonFunctionType;Bt.state.noAnonFunctionType=!0,Ho(),Bt.state.noAnonFunctionType=e}}Rr.flowStartParseAsyncArrowFromCallExpression=Mz;function Rz(e,t){if(je.match.call(void 0,Ie.TokenType.lessThan)){let n=Bt.state.snapshot(),i=kr.baseParseMaybeAssign.call(void 0,e,t);if(Bt.state.error)Bt.state.restoreFromSnapshot(n),Bt.state.type=Ie.TokenType.typeParameterStart;else return i;let o=je.pushTypeContext.call(void 0,0);if(fs(),je.popTypeContext.call(void 0,o),i=kr.baseParseMaybeAssign.call(void 0,e,t),i)return!0;ht.unexpected.call(void 0)}return kr.baseParseMaybeAssign.call(void 0,e,t)}Rr.flowParseMaybeAssign=Rz;function Bz(){if(je.match.call(void 0,Ie.TokenType.colon)){let e=je.pushTypeContext.call(void 0,0),t=Bt.state.snapshot(),n=Bt.state.noAnonFunctionType;Bt.state.noAnonFunctionType=!0,t0(),Bt.state.noAnonFunctionType=n,ht.canInsertSemicolon.call(void 0)&&ht.unexpected.call(void 0),je.match.call(void 0,Ie.TokenType.arrow)||ht.unexpected.call(void 0),Bt.state.error&&Bt.state.restoreFromSnapshot(t),je.popTypeContext.call(void 0,e)}return je.eat.call(void 0,Ie.TokenType.arrow)}Rr.flowParseArrow=Bz;function Uz(e,t=!1){if(Bt.state.tokens[Bt.state.tokens.length-1].contextualKeyword===Ht.ContextualKeyword._async&&je.match.call(void 0,Ie.TokenType.lessThan)){let n=Bt.state.snapshot();if($z()&&!Bt.state.error)return;Bt.state.restoreFromSnapshot(n)}kr.baseParseSubscripts.call(void 0,e,t)}Rr.flowParseSubscripts=Uz;function $z(){Bt.state.scopeDepth++;let e=Bt.state.tokens.length;return fa.parseFunctionParams.call(void 0),kr.parseArrow.call(void 0)?(kr.parseArrowExpression.call(void 0,e),!0):!1}function PI(){ht.expectContextual.call(void 0,Ht.ContextualKeyword._enum),Bt.state.tokens[Bt.state.tokens.length-1].type=Ie.TokenType._enum,kr.parseIdentifier.call(void 0),Vz()}function Vz(){ht.eatContextual.call(void 0,Ht.ContextualKeyword._of)&&je.next.call(void 0),ht.expect.call(void 0,Ie.TokenType.braceL),qz(),ht.expect.call(void 0,Ie.TokenType.braceR)}function qz(){for(;!je.match.call(void 0,Ie.TokenType.braceR)&&!Bt.state.error&&!je.eat.call(void 0,Ie.TokenType.ellipsis);)Wz(),je.match.call(void 0,Ie.TokenType.braceR)||ht.expect.call(void 0,Ie.TokenType.comma)}function Wz(){kr.parseIdentifier.call(void 0),je.eat.call(void 0,Ie.TokenType.eq)&&je.next.call(void 0)}});var ec=me(gn=>{"use strict";Object.defineProperty(gn,"__esModule",{value:!0});var Kz=h0(),Wn=Xu(),hn=$o(),Ze=En(),Qt=Pn(),ha=Wd(),ze=sr(),kI=ci(),qe=pi(),Tr=Wa(),ma=pf(),gt=aa();function zz(){if(d0(ze.TokenType.eof),qe.state.scopes.push(new ha.Scope(0,qe.state.tokens.length,!0)),qe.state.scopeDepth!==0)throw new Error(`Invalid scope depth at end of file: ${qe.state.scopeDepth}`);return new Kz.File(qe.state.tokens,qe.state.scopes)}gn.parseTopLevel=zz;function zi(e){qe.isFlowEnabled&&Wn.flowTryParseStatement.call(void 0)||(Ze.match.call(void 0,ze.TokenType.at)&&p0(),Gz(e))}gn.parseStatement=zi;function Gz(e){if(qe.isTypeScriptEnabled&&hn.tsTryParseStatementContent.call(void 0))return;let t=qe.state.type;switch(t){case ze.TokenType._break:case ze.TokenType._continue:Xz();return;case ze.TokenType._debugger:Jz();return;case ze.TokenType._do:Yz();return;case ze.TokenType._for:Qz();return;case ze.TokenType._function:if(Ze.lookaheadType.call(void 0)===ze.TokenType.dot)break;e||gt.unexpected.call(void 0),tG();return;case ze.TokenType._class:e||gt.unexpected.call(void 0),Df(!0);return;case ze.TokenType._if:rG();return;case ze.TokenType._return:nG();return;case ze.TokenType._switch:iG();return;case ze.TokenType._throw:sG();return;case ze.TokenType._try:oG();return;case ze.TokenType._let:case ze.TokenType._const:e||gt.unexpected.call(void 0);case ze.TokenType._var:kf(t!==ze.TokenType._var);return;case ze.TokenType._while:lG();return;case ze.TokenType.braceL:Jo();return;case ze.TokenType.semi:uG();return;case ze.TokenType._export:case ze.TokenType._import:{let o=Ze.lookaheadType.call(void 0);if(o===ze.TokenType.parenL||o===ze.TokenType.dot)break;Ze.next.call(void 0),t===ze.TokenType._import?VI():BI();return}case ze.TokenType.name:if(qe.state.contextualKeyword===Qt.ContextualKeyword._async){let o=qe.state.start,r=qe.state.snapshot();if(Ze.next.call(void 0),Ze.match.call(void 0,ze.TokenType._function)&&!gt.canInsertSemicolon.call(void 0)){gt.expect.call(void 0,ze.TokenType._function),ac(o,!0);return}else qe.state.restoreFromSnapshot(r)}else if(qe.state.contextualKeyword===Qt.ContextualKeyword._using&&!gt.hasFollowingLineBreak.call(void 0)&&Ze.lookaheadType.call(void 0)===ze.TokenType.name){kf(!0);return}else if(OI()){gt.expectContextual.call(void 0,Qt.ContextualKeyword._await),kf(!0);return}default:break}let n=qe.state.tokens.length;Tr.parseExpression.call(void 0);let i=null;if(qe.state.tokens.length===n+1){let o=qe.state.tokens[qe.state.tokens.length-1];o.type===ze.TokenType.name&&(i=o.contextualKeyword)}if(i==null){gt.semicolon.call(void 0);return}Ze.eat.call(void 0,ze.TokenType.colon)?cG():pG(i)}function OI(){if(!gt.isContextual.call(void 0,Qt.ContextualKeyword._await))return!1;let e=qe.state.snapshot();return Ze.next.call(void 0),!gt.isContextual.call(void 0,Qt.ContextualKeyword._using)||gt.hasPrecedingLineBreak.call(void 0)||(Ze.next.call(void 0),!Ze.match.call(void 0,ze.TokenType.name)||gt.hasPrecedingLineBreak.call(void 0))?(qe.state.restoreFromSnapshot(e),!1):(qe.state.restoreFromSnapshot(e),!0)}function p0(){for(;Ze.match.call(void 0,ze.TokenType.at);)NI()}gn.parseDecorators=p0;function NI(){if(Ze.next.call(void 0),Ze.eat.call(void 0,ze.TokenType.parenL))Tr.parseExpression.call(void 0),gt.expect.call(void 0,ze.TokenType.parenR);else{for(Tr.parseIdentifier.call(void 0);Ze.eat.call(void 0,ze.TokenType.dot);)Tr.parseIdentifier.call(void 0);Hz()}}function Hz(){qe.isTypeScriptEnabled?hn.tsParseMaybeDecoratorArguments.call(void 0):FI()}function FI(){Ze.eat.call(void 0,ze.TokenType.parenL)&&Tr.parseCallExpressionArguments.call(void 0)}gn.baseParseMaybeDecoratorArguments=FI;function Xz(){Ze.next.call(void 0),gt.isLineTerminator.call(void 0)||(Tr.parseIdentifier.call(void 0),gt.semicolon.call(void 0))}function Jz(){Ze.next.call(void 0),gt.semicolon.call(void 0)}function Yz(){Ze.next.call(void 0),zi(!1),gt.expect.call(void 0,ze.TokenType._while),Tr.parseParenExpression.call(void 0),Ze.eat.call(void 0,ze.TokenType.semi)}function Qz(){qe.state.scopeDepth++;let e=qe.state.tokens.length;eG();let t=qe.state.tokens.length;qe.state.scopes.push(new ha.Scope(e,t,!1)),qe.state.scopeDepth--}function Zz(){return!(!gt.isContextual.call(void 0,Qt.ContextualKeyword._using)||gt.isLookaheadContextual.call(void 0,Qt.ContextualKeyword._of))}function eG(){Ze.next.call(void 0);let e=!1;if(gt.isContextual.call(void 0,Qt.ContextualKeyword._await)&&(e=!0,Ze.next.call(void 0)),gt.expect.call(void 0,ze.TokenType.parenL),Ze.match.call(void 0,ze.TokenType.semi)){e&>.unexpected.call(void 0),u0();return}let t=OI();if(t||Ze.match.call(void 0,ze.TokenType._var)||Ze.match.call(void 0,ze.TokenType._let)||Ze.match.call(void 0,ze.TokenType._const)||Zz()){if(t&>.expectContextual.call(void 0,Qt.ContextualKeyword._await),Ze.next.call(void 0),jI(!0,qe.state.type!==ze.TokenType._var),Ze.match.call(void 0,ze.TokenType._in)||gt.isContextual.call(void 0,Qt.ContextualKeyword._of)){DI(e);return}u0();return}if(Tr.parseExpression.call(void 0,!0),Ze.match.call(void 0,ze.TokenType._in)||gt.isContextual.call(void 0,Qt.ContextualKeyword._of)){DI(e);return}e&>.unexpected.call(void 0),u0()}function tG(){let e=qe.state.start;Ze.next.call(void 0),ac(e,!0)}function rG(){Ze.next.call(void 0),Tr.parseParenExpression.call(void 0),zi(!1),Ze.eat.call(void 0,ze.TokenType._else)&&zi(!1)}function nG(){Ze.next.call(void 0),gt.isLineTerminator.call(void 0)||(Tr.parseExpression.call(void 0),gt.semicolon.call(void 0))}function iG(){Ze.next.call(void 0),Tr.parseParenExpression.call(void 0),qe.state.scopeDepth++;let e=qe.state.tokens.length;for(gt.expect.call(void 0,ze.TokenType.braceL);!Ze.match.call(void 0,ze.TokenType.braceR)&&!qe.state.error;)if(Ze.match.call(void 0,ze.TokenType._case)||Ze.match.call(void 0,ze.TokenType._default)){let n=Ze.match.call(void 0,ze.TokenType._case);Ze.next.call(void 0),n&&Tr.parseExpression.call(void 0),gt.expect.call(void 0,ze.TokenType.colon)}else zi(!0);Ze.next.call(void 0);let t=qe.state.tokens.length;qe.state.scopes.push(new ha.Scope(e,t,!1)),qe.state.scopeDepth--}function sG(){Ze.next.call(void 0),Tr.parseExpression.call(void 0),gt.semicolon.call(void 0)}function aG(){ma.parseBindingAtom.call(void 0,!0),qe.isTypeScriptEnabled&&hn.tsTryParseTypeAnnotation.call(void 0)}function oG(){if(Ze.next.call(void 0),Jo(),Ze.match.call(void 0,ze.TokenType._catch)){Ze.next.call(void 0);let e=null;if(Ze.match.call(void 0,ze.TokenType.parenL)&&(qe.state.scopeDepth++,e=qe.state.tokens.length,gt.expect.call(void 0,ze.TokenType.parenL),aG(),gt.expect.call(void 0,ze.TokenType.parenR)),Jo(),e!=null){let t=qe.state.tokens.length;qe.state.scopes.push(new ha.Scope(e,t,!1)),qe.state.scopeDepth--}}Ze.eat.call(void 0,ze.TokenType._finally)&&Jo()}function kf(e){Ze.next.call(void 0),jI(!1,e),gt.semicolon.call(void 0)}gn.parseVarStatement=kf;function lG(){Ze.next.call(void 0),Tr.parseParenExpression.call(void 0),zi(!1)}function uG(){Ze.next.call(void 0)}function cG(){zi(!0)}function pG(e){qe.isTypeScriptEnabled?hn.tsParseIdentifierStatement.call(void 0,e):qe.isFlowEnabled?Wn.flowParseIdentifierStatement.call(void 0,e):gt.semicolon.call(void 0)}function Jo(e=!1,t=0){let n=qe.state.tokens.length;qe.state.scopeDepth++,gt.expect.call(void 0,ze.TokenType.braceL),t&&(qe.state.tokens[qe.state.tokens.length-1].contextId=t),d0(ze.TokenType.braceR),t&&(qe.state.tokens[qe.state.tokens.length-1].contextId=t);let i=qe.state.tokens.length;qe.state.scopes.push(new ha.Scope(n,i,e)),qe.state.scopeDepth--}gn.parseBlock=Jo;function d0(e){for(;!Ze.eat.call(void 0,e)&&!qe.state.error;)zi(!0)}gn.parseBlockBody=d0;function u0(){gt.expect.call(void 0,ze.TokenType.semi),Ze.match.call(void 0,ze.TokenType.semi)||Tr.parseExpression.call(void 0),gt.expect.call(void 0,ze.TokenType.semi),Ze.match.call(void 0,ze.TokenType.parenR)||Tr.parseExpression.call(void 0),gt.expect.call(void 0,ze.TokenType.parenR),zi(!1)}function DI(e){e?gt.eatContextual.call(void 0,Qt.ContextualKeyword._of):Ze.next.call(void 0),Tr.parseExpression.call(void 0),gt.expect.call(void 0,ze.TokenType.parenR),zi(!1)}function jI(e,t){for(;;){if(dG(t),Ze.eat.call(void 0,ze.TokenType.eq)){let n=qe.state.tokens.length-1;Tr.parseMaybeAssign.call(void 0,e),qe.state.tokens[n].rhsEndIndex=qe.state.tokens.length}if(!Ze.eat.call(void 0,ze.TokenType.comma))break}}function dG(e){ma.parseBindingAtom.call(void 0,e),qe.isTypeScriptEnabled?hn.tsAfterParseVarHead.call(void 0):qe.isFlowEnabled&&Wn.flowAfterParseVarHead.call(void 0)}function ac(e,t,n=!1){Ze.match.call(void 0,ze.TokenType.star)&&Ze.next.call(void 0),t&&!n&&!Ze.match.call(void 0,ze.TokenType.name)&&!Ze.match.call(void 0,ze.TokenType._yield)&>.unexpected.call(void 0);let i=null;Ze.match.call(void 0,ze.TokenType.name)&&(t||(i=qe.state.tokens.length,qe.state.scopeDepth++),ma.parseBindingIdentifier.call(void 0,!1));let o=qe.state.tokens.length;qe.state.scopeDepth++,LI(),Tr.parseFunctionBodyAndFinish.call(void 0,e);let r=qe.state.tokens.length;qe.state.scopes.push(new ha.Scope(o,r,!0)),qe.state.scopeDepth--,i!==null&&(qe.state.scopes.push(new ha.Scope(i,r,!0)),qe.state.scopeDepth--)}gn.parseFunction=ac;function LI(e=!1,t=0){qe.isTypeScriptEnabled?hn.tsStartParseFunctionParams.call(void 0):qe.isFlowEnabled&&Wn.flowStartParseFunctionParams.call(void 0),gt.expect.call(void 0,ze.TokenType.parenL),t&&(qe.state.tokens[qe.state.tokens.length-1].contextId=t),ma.parseBindingList.call(void 0,ze.TokenType.parenR,!1,!1,e,t),t&&(qe.state.tokens[qe.state.tokens.length-1].contextId=t)}gn.parseFunctionParams=LI;function Df(e,t=!1){let n=qe.getNextContextId.call(void 0);Ze.next.call(void 0),qe.state.tokens[qe.state.tokens.length-1].contextId=n,qe.state.tokens[qe.state.tokens.length-1].isExpression=!e;let i=null;e||(i=qe.state.tokens.length,qe.state.scopeDepth++),yG(e,t),bG();let o=qe.state.tokens.length;if(fG(n),!qe.state.error&&(qe.state.tokens[o].contextId=n,qe.state.tokens[qe.state.tokens.length-1].contextId=n,i!==null)){let r=qe.state.tokens.length;qe.state.scopes.push(new ha.Scope(i,r,!1)),qe.state.scopeDepth--}}gn.parseClass=Df;function MI(){return Ze.match.call(void 0,ze.TokenType.eq)||Ze.match.call(void 0,ze.TokenType.semi)||Ze.match.call(void 0,ze.TokenType.braceR)||Ze.match.call(void 0,ze.TokenType.bang)||Ze.match.call(void 0,ze.TokenType.colon)}function RI(){return Ze.match.call(void 0,ze.TokenType.parenL)||Ze.match.call(void 0,ze.TokenType.lessThan)}function fG(e){for(gt.expect.call(void 0,ze.TokenType.braceL);!Ze.eat.call(void 0,ze.TokenType.braceR)&&!qe.state.error;){if(Ze.eat.call(void 0,ze.TokenType.semi))continue;if(Ze.match.call(void 0,ze.TokenType.at)){NI();continue}let t=qe.state.start;hG(t,e)}}function hG(e,t){qe.isTypeScriptEnabled&&hn.tsParseModifiers.call(void 0,[Qt.ContextualKeyword._declare,Qt.ContextualKeyword._public,Qt.ContextualKeyword._protected,Qt.ContextualKeyword._private,Qt.ContextualKeyword._override]);let n=!1;if(Ze.match.call(void 0,ze.TokenType.name)&&qe.state.contextualKeyword===Qt.ContextualKeyword._static){if(Tr.parseIdentifier.call(void 0),RI()){ic(e,!1);return}else if(MI()){sc();return}if(qe.state.tokens[qe.state.tokens.length-1].type=ze.TokenType._static,n=!0,Ze.match.call(void 0,ze.TokenType.braceL)){qe.state.tokens[qe.state.tokens.length-1].contextId=t,Jo();return}}mG(e,n,t)}function mG(e,t,n){if(qe.isTypeScriptEnabled&&hn.tsTryParseClassMemberWithIsStatic.call(void 0,t))return;if(Ze.eat.call(void 0,ze.TokenType.star)){Xo(n),ic(e,!1);return}Xo(n);let i=!1,o=qe.state.tokens[qe.state.tokens.length-1];o.contextualKeyword===Qt.ContextualKeyword._constructor&&(i=!0),c0(),RI()?ic(e,i):MI()?sc():o.contextualKeyword===Qt.ContextualKeyword._async&&!gt.isLineTerminator.call(void 0)?(qe.state.tokens[qe.state.tokens.length-1].type=ze.TokenType._async,Ze.match.call(void 0,ze.TokenType.star)&&Ze.next.call(void 0),Xo(n),c0(),ic(e,!1)):(o.contextualKeyword===Qt.ContextualKeyword._get||o.contextualKeyword===Qt.ContextualKeyword._set)&&!(gt.isLineTerminator.call(void 0)&&Ze.match.call(void 0,ze.TokenType.star))?(o.contextualKeyword===Qt.ContextualKeyword._get?qe.state.tokens[qe.state.tokens.length-1].type=ze.TokenType._get:qe.state.tokens[qe.state.tokens.length-1].type=ze.TokenType._set,Xo(n),ic(e,!1)):o.contextualKeyword===Qt.ContextualKeyword._accessor&&!gt.isLineTerminator.call(void 0)?(Xo(n),sc()):gt.isLineTerminator.call(void 0)?sc():gt.unexpected.call(void 0)}function ic(e,t){qe.isTypeScriptEnabled?hn.tsTryParseTypeParameters.call(void 0):qe.isFlowEnabled&&Ze.match.call(void 0,ze.TokenType.lessThan)&&Wn.flowParseTypeParameterDeclaration.call(void 0),Tr.parseMethod.call(void 0,e,t)}function Xo(e){Tr.parsePropertyName.call(void 0,e)}gn.parseClassPropertyName=Xo;function c0(){if(qe.isTypeScriptEnabled){let e=Ze.pushTypeContext.call(void 0,0);Ze.eat.call(void 0,ze.TokenType.question),Ze.popTypeContext.call(void 0,e)}}gn.parsePostMemberNameModifiers=c0;function sc(){if(qe.isTypeScriptEnabled?(Ze.eatTypeToken.call(void 0,ze.TokenType.bang),hn.tsTryParseTypeAnnotation.call(void 0)):qe.isFlowEnabled&&Ze.match.call(void 0,ze.TokenType.colon)&&Wn.flowParseTypeAnnotation.call(void 0),Ze.match.call(void 0,ze.TokenType.eq)){let e=qe.state.tokens.length;Ze.next.call(void 0),Tr.parseMaybeAssign.call(void 0),qe.state.tokens[e].rhsEndIndex=qe.state.tokens.length}gt.semicolon.call(void 0)}gn.parseClassProperty=sc;function yG(e,t=!1){qe.isTypeScriptEnabled&&(!e||t)&>.isContextual.call(void 0,Qt.ContextualKeyword._implements)||(Ze.match.call(void 0,ze.TokenType.name)&&ma.parseBindingIdentifier.call(void 0,!0),qe.isTypeScriptEnabled?hn.tsTryParseTypeParameters.call(void 0):qe.isFlowEnabled&&Ze.match.call(void 0,ze.TokenType.lessThan)&&Wn.flowParseTypeParameterDeclaration.call(void 0))}function bG(){let e=!1;Ze.eat.call(void 0,ze.TokenType._extends)?(Tr.parseExprSubscripts.call(void 0),e=!0):e=!1,qe.isTypeScriptEnabled?hn.tsAfterParseClassSuper.call(void 0,e):qe.isFlowEnabled&&Wn.flowAfterParseClassSuper.call(void 0,e)}function BI(){let e=qe.state.tokens.length-1;qe.isTypeScriptEnabled&&hn.tsTryParseExport.call(void 0)||(EG()?SG():TG()?(Tr.parseIdentifier.call(void 0),Ze.match.call(void 0,ze.TokenType.comma)&&Ze.lookaheadType.call(void 0)===ze.TokenType.star?(gt.expect.call(void 0,ze.TokenType.comma),gt.expect.call(void 0,ze.TokenType.star),gt.expectContextual.call(void 0,Qt.ContextualKeyword._as),Tr.parseIdentifier.call(void 0)):UI(),oc()):Ze.eat.call(void 0,ze.TokenType._default)?gG():_G()?vG():(f0(),oc()),qe.state.tokens[e].rhsEndIndex=qe.state.tokens.length)}gn.parseExport=BI;function gG(){if(qe.isTypeScriptEnabled&&hn.tsTryParseExportDefaultExpression.call(void 0)||qe.isFlowEnabled&&Wn.flowTryParseExportDefaultExpression.call(void 0))return;let e=qe.state.start;Ze.eat.call(void 0,ze.TokenType._function)?ac(e,!0,!0):gt.isContextual.call(void 0,Qt.ContextualKeyword._async)&&Ze.lookaheadType.call(void 0)===ze.TokenType._function?(gt.eatContextual.call(void 0,Qt.ContextualKeyword._async),Ze.eat.call(void 0,ze.TokenType._function),ac(e,!0,!0)):Ze.match.call(void 0,ze.TokenType._class)?Df(!0,!0):Ze.match.call(void 0,ze.TokenType.at)?(p0(),Df(!0,!0)):(Tr.parseMaybeAssign.call(void 0),gt.semicolon.call(void 0))}function vG(){qe.isTypeScriptEnabled?hn.tsParseExportDeclaration.call(void 0):qe.isFlowEnabled?Wn.flowParseExportDeclaration.call(void 0):zi(!0)}function TG(){if(qe.isTypeScriptEnabled&&hn.tsIsDeclarationStart.call(void 0))return!1;if(qe.isFlowEnabled&&Wn.flowShouldDisallowExportDefaultSpecifier.call(void 0))return!1;if(Ze.match.call(void 0,ze.TokenType.name))return qe.state.contextualKeyword!==Qt.ContextualKeyword._async;if(!Ze.match.call(void 0,ze.TokenType._default))return!1;let e=Ze.nextTokenStart.call(void 0),t=Ze.lookaheadTypeAndKeyword.call(void 0),n=t.type===ze.TokenType.name&&t.contextualKeyword===Qt.ContextualKeyword._from;if(t.type===ze.TokenType.comma)return!0;if(n){let i=qe.input.charCodeAt(Ze.nextTokenStartSince.call(void 0,e+4));return i===kI.charCodes.quotationMark||i===kI.charCodes.apostrophe}return!1}function UI(){Ze.eat.call(void 0,ze.TokenType.comma)&&f0()}function oc(){gt.eatContextual.call(void 0,Qt.ContextualKeyword._from)&&(Tr.parseExprAtom.call(void 0),qI()),gt.semicolon.call(void 0)}gn.parseExportFrom=oc;function EG(){return qe.isFlowEnabled?Wn.flowShouldParseExportStar.call(void 0):Ze.match.call(void 0,ze.TokenType.star)}function SG(){qe.isFlowEnabled?Wn.flowParseExportStar.call(void 0):$I()}function $I(){gt.expect.call(void 0,ze.TokenType.star),gt.isContextual.call(void 0,Qt.ContextualKeyword._as)?xG():oc()}gn.baseParseExportStar=$I;function xG(){Ze.next.call(void 0),qe.state.tokens[qe.state.tokens.length-1].type=ze.TokenType._as,Tr.parseIdentifier.call(void 0),UI(),oc()}function _G(){return qe.isTypeScriptEnabled&&hn.tsIsDeclarationStart.call(void 0)||qe.isFlowEnabled&&Wn.flowShouldParseExportDeclaration.call(void 0)||qe.state.type===ze.TokenType._var||qe.state.type===ze.TokenType._const||qe.state.type===ze.TokenType._let||qe.state.type===ze.TokenType._function||qe.state.type===ze.TokenType._class||gt.isContextual.call(void 0,Qt.ContextualKeyword._async)||Ze.match.call(void 0,ze.TokenType.at)}function f0(){let e=!0;for(gt.expect.call(void 0,ze.TokenType.braceL);!Ze.eat.call(void 0,ze.TokenType.braceR)&&!qe.state.error;){if(e)e=!1;else if(gt.expect.call(void 0,ze.TokenType.comma),Ze.eat.call(void 0,ze.TokenType.braceR))break;wG()}}gn.parseExportSpecifiers=f0;function wG(){if(qe.isTypeScriptEnabled){hn.tsParseExportSpecifier.call(void 0);return}Tr.parseIdentifier.call(void 0),qe.state.tokens[qe.state.tokens.length-1].identifierRole=Ze.IdentifierRole.ExportAccess,gt.eatContextual.call(void 0,Qt.ContextualKeyword._as)&&Tr.parseIdentifier.call(void 0)}function CG(){let e=qe.state.snapshot();return gt.expectContextual.call(void 0,Qt.ContextualKeyword._module),gt.eatContextual.call(void 0,Qt.ContextualKeyword._from)?gt.isContextual.call(void 0,Qt.ContextualKeyword._from)?(qe.state.restoreFromSnapshot(e),!0):(qe.state.restoreFromSnapshot(e),!1):Ze.match.call(void 0,ze.TokenType.comma)?(qe.state.restoreFromSnapshot(e),!1):(qe.state.restoreFromSnapshot(e),!0)}function AG(){gt.isContextual.call(void 0,Qt.ContextualKeyword._module)&&CG()&&Ze.next.call(void 0)}function VI(){if(qe.isTypeScriptEnabled&&Ze.match.call(void 0,ze.TokenType.name)&&Ze.lookaheadType.call(void 0)===ze.TokenType.eq){hn.tsParseImportEqualsDeclaration.call(void 0);return}if(qe.isTypeScriptEnabled&>.isContextual.call(void 0,Qt.ContextualKeyword._type)){let e=Ze.lookaheadTypeAndKeyword.call(void 0);if(e.type===ze.TokenType.name&&e.contextualKeyword!==Qt.ContextualKeyword._from){if(gt.expectContextual.call(void 0,Qt.ContextualKeyword._type),Ze.lookaheadType.call(void 0)===ze.TokenType.eq){hn.tsParseImportEqualsDeclaration.call(void 0);return}}else(e.type===ze.TokenType.star||e.type===ze.TokenType.braceL)&>.expectContextual.call(void 0,Qt.ContextualKeyword._type)}Ze.match.call(void 0,ze.TokenType.string)||(AG(),kG(),gt.expectContextual.call(void 0,Qt.ContextualKeyword._from)),Tr.parseExprAtom.call(void 0),qI(),gt.semicolon.call(void 0)}gn.parseImport=VI;function PG(){return Ze.match.call(void 0,ze.TokenType.name)}function II(){ma.parseImportedIdentifier.call(void 0)}function kG(){qe.isFlowEnabled&&Wn.flowStartParseImportSpecifiers.call(void 0);let e=!0;if(!(PG()&&(II(),!Ze.eat.call(void 0,ze.TokenType.comma)))){if(Ze.match.call(void 0,ze.TokenType.star)){Ze.next.call(void 0),gt.expectContextual.call(void 0,Qt.ContextualKeyword._as),II();return}for(gt.expect.call(void 0,ze.TokenType.braceL);!Ze.eat.call(void 0,ze.TokenType.braceR)&&!qe.state.error;){if(e)e=!1;else if(Ze.eat.call(void 0,ze.TokenType.colon)&>.unexpected.call(void 0,"ES2015 named imports do not destructure. Use another statement for destructuring after the import."),gt.expect.call(void 0,ze.TokenType.comma),Ze.eat.call(void 0,ze.TokenType.braceR))break;DG()}}}function DG(){if(qe.isTypeScriptEnabled){hn.tsParseImportSpecifier.call(void 0);return}if(qe.isFlowEnabled){Wn.flowParseImportSpecifier.call(void 0);return}ma.parseImportedIdentifier.call(void 0),gt.isContextual.call(void 0,Qt.ContextualKeyword._as)&&(qe.state.tokens[qe.state.tokens.length-1].identifierRole=Ze.IdentifierRole.ImportAccess,Ze.next.call(void 0),ma.parseImportedIdentifier.call(void 0))}function qI(){(Ze.match.call(void 0,ze.TokenType._with)||gt.isContextual.call(void 0,Qt.ContextualKeyword._assert)&&!gt.hasPrecedingLineBreak.call(void 0))&&(Ze.next.call(void 0),Tr.parseObj.call(void 0,!1,!1))}});var zI=me(y0=>{"use strict";Object.defineProperty(y0,"__esModule",{value:!0});var WI=En(),KI=ci(),m0=pi(),IG=ec();function OG(){return m0.state.pos===0&&m0.input.charCodeAt(0)===KI.charCodes.numberSign&&m0.input.charCodeAt(1)===KI.charCodes.exclamationMark&&WI.skipLineComment.call(void 0,2),WI.nextToken.call(void 0),IG.parseTopLevel.call(void 0)}y0.parseFile=OG});var h0=me(Of=>{"use strict";Object.defineProperty(Of,"__esModule",{value:!0});var If=pi(),NG=zI(),b0=class{constructor(t,n){this.tokens=t,this.scopes=n}};Of.File=b0;function FG(e,t,n,i){if(i&&n)throw new Error("Cannot combine flow and typescript plugins.");If.initParser.call(void 0,e,t,n,i);let o=NG.parseFile.call(void 0);if(If.state.error)throw If.augmentError.call(void 0,If.state.error);return o}Of.parse=FG});var GI=me(g0=>{"use strict";Object.defineProperty(g0,"__esModule",{value:!0});var jG=Pn();function LG(e){let t=e.currentIndex(),n=0,i=e.currentToken();do{let o=e.tokens[t];if(o.isOptionalChainStart&&n++,o.isOptionalChainEnd&&n--,n+=o.numNullishCoalesceStarts,n-=o.numNullishCoalesceEnds,o.contextualKeyword===jG.ContextualKeyword._await&&o.identifierRole==null&&o.scopeDepth===i.scopeDepth)return!0;t+=1}while(n>0&&t<e.tokens.length);return!1}g0.default=LG});var HI=me(T0=>{"use strict";Object.defineProperty(T0,"__esModule",{value:!0});function MG(e){return e&&e.__esModule?e:{default:e}}var Nf=sr(),RG=GI(),BG=MG(RG),v0=class e{__init(){this.resultCode=""}__init2(){this.resultMappings=new Array(this.tokens.length)}__init3(){this.tokenIndex=0}constructor(t,n,i,o,r){this.code=t,this.tokens=n,this.isFlowEnabled=i,this.disableESTransforms=o,this.helperManager=r,e.prototype.__init.call(this),e.prototype.__init2.call(this),e.prototype.__init3.call(this)}snapshot(){return{resultCode:this.resultCode,tokenIndex:this.tokenIndex}}restoreToSnapshot(t){this.resultCode=t.resultCode,this.tokenIndex=t.tokenIndex}dangerouslyGetAndRemoveCodeSinceSnapshot(t){let n=this.resultCode.slice(t.resultCode.length);return this.resultCode=t.resultCode,n}reset(){this.resultCode="",this.resultMappings=new Array(this.tokens.length),this.tokenIndex=0}matchesContextualAtIndex(t,n){return this.matches1AtIndex(t,Nf.TokenType.name)&&this.tokens[t].contextualKeyword===n}identifierNameAtIndex(t){return this.identifierNameForToken(this.tokens[t])}identifierNameAtRelativeIndex(t){return this.identifierNameForToken(this.tokenAtRelativeIndex(t))}identifierName(){return this.identifierNameForToken(this.currentToken())}identifierNameForToken(t){return this.code.slice(t.start,t.end)}rawCodeForToken(t){return this.code.slice(t.start,t.end)}stringValueAtIndex(t){return this.stringValueForToken(this.tokens[t])}stringValue(){return this.stringValueForToken(this.currentToken())}stringValueForToken(t){return this.code.slice(t.start+1,t.end-1)}matches1AtIndex(t,n){return this.tokens[t].type===n}matches2AtIndex(t,n,i){return this.tokens[t].type===n&&this.tokens[t+1].type===i}matches3AtIndex(t,n,i,o){return this.tokens[t].type===n&&this.tokens[t+1].type===i&&this.tokens[t+2].type===o}matches1(t){return this.tokens[this.tokenIndex].type===t}matches2(t,n){return this.tokens[this.tokenIndex].type===t&&this.tokens[this.tokenIndex+1].type===n}matches3(t,n,i){return this.tokens[this.tokenIndex].type===t&&this.tokens[this.tokenIndex+1].type===n&&this.tokens[this.tokenIndex+2].type===i}matches4(t,n,i,o){return this.tokens[this.tokenIndex].type===t&&this.tokens[this.tokenIndex+1].type===n&&this.tokens[this.tokenIndex+2].type===i&&this.tokens[this.tokenIndex+3].type===o}matches5(t,n,i,o,r){return this.tokens[this.tokenIndex].type===t&&this.tokens[this.tokenIndex+1].type===n&&this.tokens[this.tokenIndex+2].type===i&&this.tokens[this.tokenIndex+3].type===o&&this.tokens[this.tokenIndex+4].type===r}matchesContextual(t){return this.matchesContextualAtIndex(this.tokenIndex,t)}matchesContextIdAndLabel(t,n){return this.matches1(t)&&this.currentToken().contextId===n}previousWhitespaceAndComments(){let t=this.code.slice(this.tokenIndex>0?this.tokens[this.tokenIndex-1].end:0,this.tokenIndex<this.tokens.length?this.tokens[this.tokenIndex].start:this.code.length);return this.isFlowEnabled&&(t=t.replace(/@flow/g,"")),t}replaceToken(t){this.resultCode+=this.previousWhitespaceAndComments(),this.appendTokenPrefix(),this.resultMappings[this.tokenIndex]=this.resultCode.length,this.resultCode+=t,this.appendTokenSuffix(),this.tokenIndex++}replaceTokenTrimmingLeftWhitespace(t){this.resultCode+=this.previousWhitespaceAndComments().replace(/[^\r\n]/g,""),this.appendTokenPrefix(),this.resultMappings[this.tokenIndex]=this.resultCode.length,this.resultCode+=t,this.appendTokenSuffix(),this.tokenIndex++}removeInitialToken(){this.replaceToken("")}removeToken(){this.replaceTokenTrimmingLeftWhitespace("")}removeBalancedCode(){let t=0;for(;!this.isAtEnd();){if(this.matches1(Nf.TokenType.braceL))t++;else if(this.matches1(Nf.TokenType.braceR)){if(t===0)return;t--}this.removeToken()}}copyExpectedToken(t){if(this.tokens[this.tokenIndex].type!==t)throw new Error(`Expected token ${t}`);this.copyToken()}copyToken(){this.resultCode+=this.previousWhitespaceAndComments(),this.appendTokenPrefix(),this.resultMappings[this.tokenIndex]=this.resultCode.length,this.resultCode+=this.code.slice(this.tokens[this.tokenIndex].start,this.tokens[this.tokenIndex].end),this.appendTokenSuffix(),this.tokenIndex++}copyTokenWithPrefix(t){this.resultCode+=this.previousWhitespaceAndComments(),this.appendTokenPrefix(),this.resultCode+=t,this.resultMappings[this.tokenIndex]=this.resultCode.length,this.resultCode+=this.code.slice(this.tokens[this.tokenIndex].start,this.tokens[this.tokenIndex].end),this.appendTokenSuffix(),this.tokenIndex++}appendTokenPrefix(){let t=this.currentToken();if((t.numNullishCoalesceStarts||t.isOptionalChainStart)&&(t.isAsyncOperation=BG.default.call(void 0,this)),!this.disableESTransforms){if(t.numNullishCoalesceStarts)for(let n=0;n<t.numNullishCoalesceStarts;n++)t.isAsyncOperation?(this.resultCode+="await ",this.resultCode+=this.helperManager.getHelperName("asyncNullishCoalesce")):this.resultCode+=this.helperManager.getHelperName("nullishCoalesce"),this.resultCode+="(";t.isOptionalChainStart&&(t.isAsyncOperation&&(this.resultCode+="await "),this.tokenIndex>0&&this.tokenAtRelativeIndex(-1).type===Nf.TokenType._delete?t.isAsyncOperation?this.resultCode+=this.helperManager.getHelperName("asyncOptionalChainDelete"):this.resultCode+=this.helperManager.getHelperName("optionalChainDelete"):t.isAsyncOperation?this.resultCode+=this.helperManager.getHelperName("asyncOptionalChain"):this.resultCode+=this.helperManager.getHelperName("optionalChain"),this.resultCode+="([")}}appendTokenSuffix(){let t=this.currentToken();if(t.isOptionalChainEnd&&!this.disableESTransforms&&(this.resultCode+="])"),t.numNullishCoalesceEnds&&!this.disableESTransforms)for(let n=0;n<t.numNullishCoalesceEnds;n++)this.resultCode+="))"}appendCode(t){this.resultCode+=t}currentToken(){return this.tokens[this.tokenIndex]}currentTokenCode(){let t=this.currentToken();return this.code.slice(t.start,t.end)}tokenAtRelativeIndex(t){return this.tokens[this.tokenIndex+t]}currentIndex(){return this.tokenIndex}nextToken(){if(this.tokenIndex===this.tokens.length)throw new Error("Unexpectedly reached end of input.");this.tokenIndex++}previousToken(){this.tokenIndex--}finish(){if(this.tokenIndex!==this.tokens.length)throw new Error("Tried to finish processing tokens before reaching the end.");return this.resultCode+=this.previousWhitespaceAndComments(),{code:this.resultCode,mappings:this.resultMappings}}isAtEnd(){return this.tokenIndex===this.tokens.length}};T0.default=v0});var YI=me(S0=>{"use strict";Object.defineProperty(S0,"__esModule",{value:!0});var XI=Pn(),fr=sr();function UG(e,t,n,i){let o=t.snapshot(),r=$G(t),u=[],a=[],m=[],d=null,s=[],l=[],f=t.currentToken().contextId;if(f==null)throw new Error("Expected non-null class context ID on class open-brace.");for(t.nextToken();!t.matchesContextIdAndLabel(fr.TokenType.braceR,f);)if(t.matchesContextual(XI.ContextualKeyword._constructor)&&!t.currentToken().isType)({constructorInitializerStatements:u,constructorInsertPos:d}=JI(t));else if(t.matches1(fr.TokenType.semi))i||l.push({start:t.currentIndex(),end:t.currentIndex()+1}),t.nextToken();else if(t.currentToken().isType)t.nextToken();else{let p=t.currentIndex(),h=!1,y=!1,b=!1;for(;Ff(t.currentToken());)t.matches1(fr.TokenType._static)&&(h=!0),t.matches1(fr.TokenType.hash)&&(y=!0),(t.matches1(fr.TokenType._declare)||t.matches1(fr.TokenType._abstract))&&(b=!0),t.nextToken();if(h&&t.matches1(fr.TokenType.braceL)){E0(t,f);continue}if(y){E0(t,f);continue}if(t.matchesContextual(XI.ContextualKeyword._constructor)&&!t.currentToken().isType){({constructorInitializerStatements:u,constructorInsertPos:d}=JI(t));continue}let E=t.currentIndex();if(VG(t),t.matches1(fr.TokenType.lessThan)||t.matches1(fr.TokenType.parenL)){E0(t,f);continue}for(;t.currentToken().isType;)t.nextToken();if(t.matches1(fr.TokenType.eq)){let v=t.currentIndex(),S=t.currentToken().rhsEndIndex;if(S==null)throw new Error("Expected rhsEndIndex on class field assignment.");for(t.nextToken();t.currentIndex()<S;)e.processToken();let w;h?(w=n.claimFreeName("__initStatic"),m.push(w)):(w=n.claimFreeName("__init"),a.push(w)),s.push({initializerName:w,equalsIndex:v,start:E,end:t.currentIndex()})}else(!i||b)&&l.push({start:p,end:t.currentIndex()})}return t.restoreToSnapshot(o),i?{headerInfo:r,constructorInitializerStatements:u,instanceInitializerNames:[],staticInitializerNames:[],constructorInsertPos:d,fields:[],rangesToRemove:l}:{headerInfo:r,constructorInitializerStatements:u,instanceInitializerNames:a,staticInitializerNames:m,constructorInsertPos:d,fields:s,rangesToRemove:l}}S0.default=UG;function E0(e,t){for(e.nextToken();e.currentToken().contextId!==t;)e.nextToken();for(;Ff(e.tokenAtRelativeIndex(-1));)e.previousToken()}function $G(e){let t=e.currentToken(),n=t.contextId;if(n==null)throw new Error("Expected context ID on class token.");let i=t.isExpression;if(i==null)throw new Error("Expected isExpression on class token.");let o=null,r=!1;for(e.nextToken(),e.matches1(fr.TokenType.name)&&(o=e.identifierName());!e.matchesContextIdAndLabel(fr.TokenType.braceL,n);)e.matches1(fr.TokenType._extends)&&!e.currentToken().isType&&(r=!0),e.nextToken();return{isExpression:i,className:o,hasSuperclass:r}}function JI(e){let t=[];e.nextToken();let n=e.currentToken().contextId;if(n==null)throw new Error("Expected context ID on open-paren starting constructor params.");for(;!e.matchesContextIdAndLabel(fr.TokenType.parenR,n);)if(e.currentToken().contextId===n){if(e.nextToken(),Ff(e.currentToken())){for(e.nextToken();Ff(e.currentToken());)e.nextToken();let r=e.currentToken();if(r.type!==fr.TokenType.name)throw new Error("Expected identifier after access modifiers in constructor arg.");let u=e.identifierNameForToken(r);t.push(`this.${u} = ${u}`)}}else e.nextToken();for(e.nextToken();e.currentToken().isType;)e.nextToken();let i=e.currentIndex(),o=!1;for(;!e.matchesContextIdAndLabel(fr.TokenType.braceR,n);){if(!o&&e.matches2(fr.TokenType._super,fr.TokenType.parenL)){e.nextToken();let r=e.currentToken().contextId;if(r==null)throw new Error("Expected a context ID on the super call");for(;!e.matchesContextIdAndLabel(fr.TokenType.parenR,r);)e.nextToken();i=e.currentIndex(),o=!0}e.nextToken()}return e.nextToken(),{constructorInitializerStatements:t,constructorInsertPos:i}}function Ff(e){return[fr.TokenType._async,fr.TokenType._get,fr.TokenType._set,fr.TokenType.plus,fr.TokenType.minus,fr.TokenType._readonly,fr.TokenType._static,fr.TokenType._public,fr.TokenType._private,fr.TokenType._protected,fr.TokenType._override,fr.TokenType._abstract,fr.TokenType.star,fr.TokenType._declare,fr.TokenType.hash].includes(e.type)}function VG(e){if(e.matches1(fr.TokenType.bracketL)){let n=e.currentToken().contextId;if(n==null)throw new Error("Expected class context ID on computed name open bracket.");for(;!e.matchesContextIdAndLabel(fr.TokenType.bracketR,n);)e.nextToken();e.nextToken()}else e.nextToken()}});var _0=me(x0=>{"use strict";Object.defineProperty(x0,"__esModule",{value:!0});var QI=sr();function qG(e){if(e.removeInitialToken(),e.removeToken(),e.removeToken(),e.removeToken(),e.matches1(QI.TokenType.parenL))e.removeToken(),e.removeToken(),e.removeToken();else for(;e.matches1(QI.TokenType.dot);)e.removeToken(),e.removeToken()}x0.default=qG});var w0=me(jf=>{"use strict";Object.defineProperty(jf,"__esModule",{value:!0});var WG=En(),KG=sr(),zG={typeDeclarations:new Set,valueDeclarations:new Set};jf.EMPTY_DECLARATION_INFO=zG;function GG(e){let t=new Set,n=new Set;for(let i=0;i<e.tokens.length;i++){let o=e.tokens[i];o.type===KG.TokenType.name&&WG.isTopLevelDeclaration.call(void 0,o)&&(o.isType?t.add(e.identifierNameForToken(o)):n.add(e.identifierNameForToken(o)))}return{typeDeclarations:t,valueDeclarations:n}}jf.default=GG});var A0=me(C0=>{"use strict";Object.defineProperty(C0,"__esModule",{value:!0});var HG=Pn(),ZI=sr();function XG(e){let t=e.currentIndex();for(;!e.matches1AtIndex(t,ZI.TokenType.braceR);)t++;return e.matchesContextualAtIndex(t+1,HG.ContextualKeyword._from)&&e.matches1AtIndex(t+2,ZI.TokenType.string)}C0.default=XG});var k0=me(P0=>{"use strict";Object.defineProperty(P0,"__esModule",{value:!0});var JG=Pn(),Lf=sr();function YG(e){(e.matches2(Lf.TokenType._with,Lf.TokenType.braceL)||e.matches2(Lf.TokenType.name,Lf.TokenType.braceL)&&e.matchesContextual(JG.ContextualKeyword._assert))&&(e.removeToken(),e.removeToken(),e.removeBalancedCode(),e.removeToken())}P0.removeMaybeImportAttributes=YG});var I0=me(D0=>{"use strict";Object.defineProperty(D0,"__esModule",{value:!0});var e2=sr();function QG(e,t,n,i){if(!e||t)return!1;let o=n.currentToken();if(o.rhsEndIndex==null)throw new Error("Expected non-null rhsEndIndex on export token.");let r=o.rhsEndIndex-n.currentIndex();if(r!==3&&!(r===4&&n.matches1AtIndex(o.rhsEndIndex-1,e2.TokenType.semi)))return!1;let u=n.tokenAtRelativeIndex(2);if(u.type!==e2.TokenType.name)return!1;let a=n.identifierNameForToken(u);return i.typeDeclarations.has(a)&&!i.valueDeclarations.has(a)}D0.default=QG});var r2=me(N0=>{"use strict";Object.defineProperty(N0,"__esModule",{value:!0});function Yo(e){return e&&e.__esModule?e:{default:e}}var Mf=En(),za=Pn(),We=sr(),ZG=_0(),eH=Yo(ZG),t2=w0(),tH=Yo(t2),rH=Wu(),nH=Yo(rH),iH=A0(),sH=Yo(iH),Rf=k0(),aH=I0(),oH=Yo(aH),lH=Ci(),uH=Yo(lH),O0=class e extends uH.default{__init(){this.hadExport=!1}__init2(){this.hadNamedExport=!1}__init3(){this.hadDefaultExport=!1}constructor(t,n,i,o,r,u,a,m,d,s,l,f){super(),this.rootTransformer=t,this.tokens=n,this.importProcessor=i,this.nameManager=o,this.helperManager=r,this.reactHotLoaderTransformer=u,this.enableLegacyBabel5ModuleInterop=a,this.enableLegacyTypeScriptModuleInterop=m,this.isTypeScriptTransformEnabled=d,this.isFlowTransformEnabled=s,this.preserveDynamicImport=l,this.keepUnusedImports=f,e.prototype.__init.call(this),e.prototype.__init2.call(this),e.prototype.__init3.call(this),this.declarationInfo=d?tH.default.call(void 0,n):t2.EMPTY_DECLARATION_INFO}getPrefixCode(){let t="";return this.hadExport&&(t+='Object.defineProperty(exports, "__esModule", {value: true});'),t}getSuffixCode(){return this.enableLegacyBabel5ModuleInterop&&this.hadDefaultExport&&!this.hadNamedExport?`
|
|
module.exports = exports.default;
|
|
`:""}process(){return this.tokens.matches3(We.TokenType._import,We.TokenType.name,We.TokenType.eq)?this.processImportEquals():this.tokens.matches1(We.TokenType._import)?(this.processImport(),!0):this.tokens.matches2(We.TokenType._export,We.TokenType.eq)?(this.tokens.replaceToken("module.exports"),!0):this.tokens.matches1(We.TokenType._export)&&!this.tokens.currentToken().isType?(this.hadExport=!0,this.processExport()):this.tokens.matches2(We.TokenType.name,We.TokenType.postIncDec)&&this.processPostIncDec()?!0:this.tokens.matches1(We.TokenType.name)||this.tokens.matches1(We.TokenType.jsxName)?this.processIdentifier():this.tokens.matches1(We.TokenType.eq)?this.processAssignment():this.tokens.matches1(We.TokenType.assign)?this.processComplexAssignment():this.tokens.matches1(We.TokenType.preIncDec)?this.processPreIncDec():!1}processImportEquals(){let t=this.tokens.identifierNameAtIndex(this.tokens.currentIndex()+1);return this.importProcessor.shouldAutomaticallyElideImportedName(t)?eH.default.call(void 0,this.tokens):this.tokens.replaceToken("const"),!0}processImport(){if(this.tokens.matches2(We.TokenType._import,We.TokenType.parenL)){if(this.preserveDynamicImport){this.tokens.copyToken();return}let n=this.enableLegacyTypeScriptModuleInterop?"":`${this.helperManager.getHelperName("interopRequireWildcard")}(`;this.tokens.replaceToken(`Promise.resolve().then(() => ${n}require`);let i=this.tokens.currentToken().contextId;if(i==null)throw new Error("Expected context ID on dynamic import invocation.");for(this.tokens.copyToken();!this.tokens.matchesContextIdAndLabel(We.TokenType.parenR,i);)this.rootTransformer.processToken();this.tokens.replaceToken(n?")))":"))");return}if(this.removeImportAndDetectIfShouldElide())this.tokens.removeToken();else{let n=this.tokens.stringValue();this.tokens.replaceTokenTrimmingLeftWhitespace(this.importProcessor.claimImportCode(n)),this.tokens.appendCode(this.importProcessor.claimImportCode(n))}Rf.removeMaybeImportAttributes.call(void 0,this.tokens),this.tokens.matches1(We.TokenType.semi)&&this.tokens.removeToken()}removeImportAndDetectIfShouldElide(){if(this.tokens.removeInitialToken(),this.tokens.matchesContextual(za.ContextualKeyword._type)&&!this.tokens.matches1AtIndex(this.tokens.currentIndex()+1,We.TokenType.comma)&&!this.tokens.matchesContextualAtIndex(this.tokens.currentIndex()+1,za.ContextualKeyword._from))return this.removeRemainingImport(),!0;if(this.tokens.matches1(We.TokenType.name)||this.tokens.matches1(We.TokenType.star))return this.removeRemainingImport(),!1;if(this.tokens.matches1(We.TokenType.string))return!1;let t=!1,n=!1;for(;!this.tokens.matches1(We.TokenType.string);)(!t&&this.tokens.matches1(We.TokenType.braceL)||this.tokens.matches1(We.TokenType.comma))&&(this.tokens.removeToken(),this.tokens.matches1(We.TokenType.braceR)||(n=!0),(this.tokens.matches2(We.TokenType.name,We.TokenType.comma)||this.tokens.matches2(We.TokenType.name,We.TokenType.braceR)||this.tokens.matches4(We.TokenType.name,We.TokenType.name,We.TokenType.name,We.TokenType.comma)||this.tokens.matches4(We.TokenType.name,We.TokenType.name,We.TokenType.name,We.TokenType.braceR))&&(t=!0)),this.tokens.removeToken();return this.keepUnusedImports?!1:this.isTypeScriptTransformEnabled?!t:this.isFlowTransformEnabled?n&&!t:!1}removeRemainingImport(){for(;!this.tokens.matches1(We.TokenType.string);)this.tokens.removeToken()}processIdentifier(){let t=this.tokens.currentToken();if(t.shadowsGlobal)return!1;if(t.identifierRole===Mf.IdentifierRole.ObjectShorthand)return this.processObjectShorthand();if(t.identifierRole!==Mf.IdentifierRole.Access)return!1;let n=this.importProcessor.getIdentifierReplacement(this.tokens.identifierNameForToken(t));if(!n)return!1;let i=this.tokens.currentIndex()+1;for(;i<this.tokens.tokens.length&&this.tokens.tokens[i].type===We.TokenType.parenR;)i++;return this.tokens.tokens[i].type===We.TokenType.parenL?this.tokens.tokenAtRelativeIndex(1).type===We.TokenType.parenL&&this.tokens.tokenAtRelativeIndex(-1).type!==We.TokenType._new?(this.tokens.replaceToken(`${n}.call(void 0, `),this.tokens.removeToken(),this.rootTransformer.processBalancedCode(),this.tokens.copyExpectedToken(We.TokenType.parenR)):this.tokens.replaceToken(`(0, ${n})`):this.tokens.replaceToken(n),!0}processObjectShorthand(){let t=this.tokens.identifierName(),n=this.importProcessor.getIdentifierReplacement(t);return n?(this.tokens.replaceToken(`${t}: ${n}`),!0):!1}processExport(){if(this.tokens.matches2(We.TokenType._export,We.TokenType._enum)||this.tokens.matches3(We.TokenType._export,We.TokenType._const,We.TokenType._enum))return this.hadNamedExport=!0,!1;if(this.tokens.matches2(We.TokenType._export,We.TokenType._default))return this.tokens.matches3(We.TokenType._export,We.TokenType._default,We.TokenType._enum)?(this.hadDefaultExport=!0,!1):(this.processExportDefault(),!0);if(this.tokens.matches2(We.TokenType._export,We.TokenType.braceL))return this.processExportBindings(),!0;if(this.tokens.matches2(We.TokenType._export,We.TokenType.name)&&this.tokens.matchesContextualAtIndex(this.tokens.currentIndex()+1,za.ContextualKeyword._type)){if(this.tokens.removeInitialToken(),this.tokens.removeToken(),this.tokens.matches1(We.TokenType.braceL)){for(;!this.tokens.matches1(We.TokenType.braceR);)this.tokens.removeToken();this.tokens.removeToken()}else this.tokens.removeToken(),this.tokens.matches1(We.TokenType._as)&&(this.tokens.removeToken(),this.tokens.removeToken());return this.tokens.matchesContextual(za.ContextualKeyword._from)&&this.tokens.matches1AtIndex(this.tokens.currentIndex()+1,We.TokenType.string)&&(this.tokens.removeToken(),this.tokens.removeToken(),Rf.removeMaybeImportAttributes.call(void 0,this.tokens)),!0}if(this.hadNamedExport=!0,this.tokens.matches2(We.TokenType._export,We.TokenType._var)||this.tokens.matches2(We.TokenType._export,We.TokenType._let)||this.tokens.matches2(We.TokenType._export,We.TokenType._const))return this.processExportVar(),!0;if(this.tokens.matches2(We.TokenType._export,We.TokenType._function)||this.tokens.matches3(We.TokenType._export,We.TokenType.name,We.TokenType._function))return this.processExportFunction(),!0;if(this.tokens.matches2(We.TokenType._export,We.TokenType._class)||this.tokens.matches3(We.TokenType._export,We.TokenType._abstract,We.TokenType._class)||this.tokens.matches2(We.TokenType._export,We.TokenType.at))return this.processExportClass(),!0;if(this.tokens.matches2(We.TokenType._export,We.TokenType.star))return this.processExportStar(),!0;throw new Error("Unrecognized export syntax.")}processAssignment(){let t=this.tokens.currentIndex(),n=this.tokens.tokens[t-1];if(n.isType||n.type!==We.TokenType.name||n.shadowsGlobal||t>=2&&this.tokens.matches1AtIndex(t-2,We.TokenType.dot)||t>=2&&[We.TokenType._var,We.TokenType._let,We.TokenType._const].includes(this.tokens.tokens[t-2].type))return!1;let i=this.importProcessor.resolveExportBinding(this.tokens.identifierNameForToken(n));return i?(this.tokens.copyToken(),this.tokens.appendCode(` ${i} =`),!0):!1}processComplexAssignment(){let t=this.tokens.currentIndex(),n=this.tokens.tokens[t-1];if(n.type!==We.TokenType.name||n.shadowsGlobal||t>=2&&this.tokens.matches1AtIndex(t-2,We.TokenType.dot))return!1;let i=this.importProcessor.resolveExportBinding(this.tokens.identifierNameForToken(n));return i?(this.tokens.appendCode(` = ${i}`),this.tokens.copyToken(),!0):!1}processPreIncDec(){let t=this.tokens.currentIndex(),n=this.tokens.tokens[t+1];if(n.type!==We.TokenType.name||n.shadowsGlobal||t+2<this.tokens.tokens.length&&(this.tokens.matches1AtIndex(t+2,We.TokenType.dot)||this.tokens.matches1AtIndex(t+2,We.TokenType.bracketL)||this.tokens.matches1AtIndex(t+2,We.TokenType.parenL)))return!1;let i=this.tokens.identifierNameForToken(n),o=this.importProcessor.resolveExportBinding(i);return o?(this.tokens.appendCode(`${o} = `),this.tokens.copyToken(),!0):!1}processPostIncDec(){let t=this.tokens.currentIndex(),n=this.tokens.tokens[t],i=this.tokens.tokens[t+1];if(n.type!==We.TokenType.name||n.shadowsGlobal||t>=1&&this.tokens.matches1AtIndex(t-1,We.TokenType.dot))return!1;let o=this.tokens.identifierNameForToken(n),r=this.importProcessor.resolveExportBinding(o);if(!r)return!1;let u=this.tokens.rawCodeForToken(i),a=this.importProcessor.getIdentifierReplacement(o)||o;if(u==="++")this.tokens.replaceToken(`(${a} = ${r} = ${a} + 1, ${a} - 1)`);else if(u==="--")this.tokens.replaceToken(`(${a} = ${r} = ${a} - 1, ${a} + 1)`);else throw new Error(`Unexpected operator: ${u}`);return this.tokens.removeToken(),!0}processExportDefault(){let t=!0;if(this.tokens.matches4(We.TokenType._export,We.TokenType._default,We.TokenType._function,We.TokenType.name)||this.tokens.matches5(We.TokenType._export,We.TokenType._default,We.TokenType.name,We.TokenType._function,We.TokenType.name)&&this.tokens.matchesContextualAtIndex(this.tokens.currentIndex()+2,za.ContextualKeyword._async)){this.tokens.removeInitialToken(),this.tokens.removeToken();let n=this.processNamedFunction();this.tokens.appendCode(` exports.default = ${n};`)}else if(this.tokens.matches4(We.TokenType._export,We.TokenType._default,We.TokenType._class,We.TokenType.name)||this.tokens.matches5(We.TokenType._export,We.TokenType._default,We.TokenType._abstract,We.TokenType._class,We.TokenType.name)||this.tokens.matches3(We.TokenType._export,We.TokenType._default,We.TokenType.at)){this.tokens.removeInitialToken(),this.tokens.removeToken(),this.copyDecorators(),this.tokens.matches1(We.TokenType._abstract)&&this.tokens.removeToken();let n=this.rootTransformer.processNamedClass();this.tokens.appendCode(` exports.default = ${n};`)}else if(oH.default.call(void 0,this.isTypeScriptTransformEnabled,this.keepUnusedImports,this.tokens,this.declarationInfo))t=!1,this.tokens.removeInitialToken(),this.tokens.removeToken(),this.tokens.removeToken();else if(this.reactHotLoaderTransformer){let n=this.nameManager.claimFreeName("_default");this.tokens.replaceToken(`let ${n}; exports.`),this.tokens.copyToken(),this.tokens.appendCode(` = ${n} =`),this.reactHotLoaderTransformer.setExtractedDefaultExportName(n)}else this.tokens.replaceToken("exports."),this.tokens.copyToken(),this.tokens.appendCode(" =");t&&(this.hadDefaultExport=!0)}copyDecorators(){for(;this.tokens.matches1(We.TokenType.at);)if(this.tokens.copyToken(),this.tokens.matches1(We.TokenType.parenL))this.tokens.copyExpectedToken(We.TokenType.parenL),this.rootTransformer.processBalancedCode(),this.tokens.copyExpectedToken(We.TokenType.parenR);else{for(this.tokens.copyExpectedToken(We.TokenType.name);this.tokens.matches1(We.TokenType.dot);)this.tokens.copyExpectedToken(We.TokenType.dot),this.tokens.copyExpectedToken(We.TokenType.name);this.tokens.matches1(We.TokenType.parenL)&&(this.tokens.copyExpectedToken(We.TokenType.parenL),this.rootTransformer.processBalancedCode(),this.tokens.copyExpectedToken(We.TokenType.parenR))}}processExportVar(){this.isSimpleExportVar()?this.processSimpleExportVar():this.processComplexExportVar()}isSimpleExportVar(){let t=this.tokens.currentIndex();if(t++,t++,!this.tokens.matches1AtIndex(t,We.TokenType.name))return!1;for(t++;t<this.tokens.tokens.length&&this.tokens.tokens[t].isType;)t++;return!!this.tokens.matches1AtIndex(t,We.TokenType.eq)}processSimpleExportVar(){this.tokens.removeInitialToken(),this.tokens.copyToken();let t=this.tokens.identifierName();for(;!this.tokens.matches1(We.TokenType.eq);)this.rootTransformer.processToken();let n=this.tokens.currentToken().rhsEndIndex;if(n==null)throw new Error("Expected = token with an end index.");for(;this.tokens.currentIndex()<n;)this.rootTransformer.processToken();this.tokens.appendCode(`; exports.${t} = ${t}`)}processComplexExportVar(){this.tokens.removeInitialToken(),this.tokens.removeToken();let t=this.tokens.matches1(We.TokenType.braceL);t&&this.tokens.appendCode("(");let n=0;for(;;)if(this.tokens.matches1(We.TokenType.braceL)||this.tokens.matches1(We.TokenType.dollarBraceL)||this.tokens.matches1(We.TokenType.bracketL))n++,this.tokens.copyToken();else if(this.tokens.matches1(We.TokenType.braceR)||this.tokens.matches1(We.TokenType.bracketR))n--,this.tokens.copyToken();else{if(n===0&&!this.tokens.matches1(We.TokenType.name)&&!this.tokens.currentToken().isType)break;if(this.tokens.matches1(We.TokenType.eq)){let i=this.tokens.currentToken().rhsEndIndex;if(i==null)throw new Error("Expected = token with an end index.");for(;this.tokens.currentIndex()<i;)this.rootTransformer.processToken()}else{let i=this.tokens.currentToken();if(Mf.isDeclaration.call(void 0,i)){let o=this.tokens.identifierName(),r=this.importProcessor.getIdentifierReplacement(o);if(r===null)throw new Error(`Expected a replacement for ${o} in \`export var\` syntax.`);Mf.isObjectShorthandDeclaration.call(void 0,i)&&(r=`${o}: ${r}`),this.tokens.replaceToken(r)}else this.rootTransformer.processToken()}}if(t){let i=this.tokens.currentToken().rhsEndIndex;if(i==null)throw new Error("Expected = token with an end index.");for(;this.tokens.currentIndex()<i;)this.rootTransformer.processToken();this.tokens.appendCode(")")}}processExportFunction(){this.tokens.replaceToken("");let t=this.processNamedFunction();this.tokens.appendCode(` exports.${t} = ${t};`)}processNamedFunction(){if(this.tokens.matches1(We.TokenType._function))this.tokens.copyToken();else if(this.tokens.matches2(We.TokenType.name,We.TokenType._function)){if(!this.tokens.matchesContextual(za.ContextualKeyword._async))throw new Error("Expected async keyword in function export.");this.tokens.copyToken(),this.tokens.copyToken()}if(this.tokens.matches1(We.TokenType.star)&&this.tokens.copyToken(),!this.tokens.matches1(We.TokenType.name))throw new Error("Expected identifier for exported function name.");let t=this.tokens.identifierName();if(this.tokens.copyToken(),this.tokens.currentToken().isType)for(this.tokens.removeInitialToken();this.tokens.currentToken().isType;)this.tokens.removeToken();return this.tokens.copyExpectedToken(We.TokenType.parenL),this.rootTransformer.processBalancedCode(),this.tokens.copyExpectedToken(We.TokenType.parenR),this.rootTransformer.processPossibleTypeRange(),this.tokens.copyExpectedToken(We.TokenType.braceL),this.rootTransformer.processBalancedCode(),this.tokens.copyExpectedToken(We.TokenType.braceR),t}processExportClass(){this.tokens.removeInitialToken(),this.copyDecorators(),this.tokens.matches1(We.TokenType._abstract)&&this.tokens.removeToken();let t=this.rootTransformer.processNamedClass();this.tokens.appendCode(` exports.${t} = ${t};`)}processExportBindings(){this.tokens.removeInitialToken(),this.tokens.removeToken();let t=sH.default.call(void 0,this.tokens),n=[];for(;;){if(this.tokens.matches1(We.TokenType.braceR)){this.tokens.removeToken();break}let i=nH.default.call(void 0,this.tokens);for(;this.tokens.currentIndex()<i.endIndex;)this.tokens.removeToken();if(!(i.isType||!t&&this.shouldElideExportedIdentifier(i.leftName))){let r=i.rightName;r==="default"?this.hadDefaultExport=!0:this.hadNamedExport=!0;let u=i.leftName,a=this.importProcessor.getIdentifierReplacement(u);n.push(`exports.${r} = ${a||u};`)}if(this.tokens.matches1(We.TokenType.braceR)){this.tokens.removeToken();break}if(this.tokens.matches2(We.TokenType.comma,We.TokenType.braceR)){this.tokens.removeToken(),this.tokens.removeToken();break}else if(this.tokens.matches1(We.TokenType.comma))this.tokens.removeToken();else throw new Error(`Unexpected token: ${JSON.stringify(this.tokens.currentToken())}`)}if(this.tokens.matchesContextual(za.ContextualKeyword._from)){this.tokens.removeToken();let i=this.tokens.stringValue();this.tokens.replaceTokenTrimmingLeftWhitespace(this.importProcessor.claimImportCode(i)),Rf.removeMaybeImportAttributes.call(void 0,this.tokens)}else this.tokens.appendCode(n.join(" "));this.tokens.matches1(We.TokenType.semi)&&this.tokens.removeToken()}processExportStar(){for(this.tokens.removeInitialToken();!this.tokens.matches1(We.TokenType.string);)this.tokens.removeToken();let t=this.tokens.stringValue();this.tokens.replaceTokenTrimmingLeftWhitespace(this.importProcessor.claimImportCode(t)),Rf.removeMaybeImportAttributes.call(void 0,this.tokens),this.tokens.matches1(We.TokenType.semi)&&this.tokens.removeToken()}shouldElideExportedIdentifier(t){return this.isTypeScriptTransformEnabled&&!this.keepUnusedImports&&!this.declarationInfo.valueDeclarations.has(t)}};N0.default=O0});var s2=me(L0=>{"use strict";Object.defineProperty(L0,"__esModule",{value:!0});function Qo(e){return e&&e.__esModule?e:{default:e}}var Os=Pn(),Ct=sr(),cH=_0(),pH=Qo(cH),i2=w0(),dH=Qo(i2),fH=Wu(),n2=Qo(fH),hH=lg(),mH=A0(),yH=Qo(mH),F0=k0(),bH=I0(),gH=Qo(bH),vH=Ci(),TH=Qo(vH),j0=class extends TH.default{constructor(t,n,i,o,r,u,a,m){super(),this.tokens=t,this.nameManager=n,this.helperManager=i,this.reactHotLoaderTransformer=o,this.isTypeScriptTransformEnabled=r,this.isFlowTransformEnabled=u,this.keepUnusedImports=a,this.nonTypeIdentifiers=r&&!a?hH.getNonTypeIdentifiers.call(void 0,t,m):new Set,this.declarationInfo=r&&!a?dH.default.call(void 0,t):i2.EMPTY_DECLARATION_INFO,this.injectCreateRequireForImportRequire=!!m.injectCreateRequireForImportRequire}process(){if(this.tokens.matches3(Ct.TokenType._import,Ct.TokenType.name,Ct.TokenType.eq))return this.processImportEquals();if(this.tokens.matches4(Ct.TokenType._import,Ct.TokenType.name,Ct.TokenType.name,Ct.TokenType.eq)&&this.tokens.matchesContextualAtIndex(this.tokens.currentIndex()+1,Os.ContextualKeyword._type)){this.tokens.removeInitialToken();for(let t=0;t<7;t++)this.tokens.removeToken();return!0}if(this.tokens.matches2(Ct.TokenType._export,Ct.TokenType.eq))return this.tokens.replaceToken("module.exports"),!0;if(this.tokens.matches5(Ct.TokenType._export,Ct.TokenType._import,Ct.TokenType.name,Ct.TokenType.name,Ct.TokenType.eq)&&this.tokens.matchesContextualAtIndex(this.tokens.currentIndex()+2,Os.ContextualKeyword._type)){this.tokens.removeInitialToken();for(let t=0;t<8;t++)this.tokens.removeToken();return!0}if(this.tokens.matches1(Ct.TokenType._import))return this.processImport();if(this.tokens.matches2(Ct.TokenType._export,Ct.TokenType._default))return this.processExportDefault();if(this.tokens.matches2(Ct.TokenType._export,Ct.TokenType.braceL))return this.processNamedExports();if(this.tokens.matches2(Ct.TokenType._export,Ct.TokenType.name)&&this.tokens.matchesContextualAtIndex(this.tokens.currentIndex()+1,Os.ContextualKeyword._type)){if(this.tokens.removeInitialToken(),this.tokens.removeToken(),this.tokens.matches1(Ct.TokenType.braceL)){for(;!this.tokens.matches1(Ct.TokenType.braceR);)this.tokens.removeToken();this.tokens.removeToken()}else this.tokens.removeToken(),this.tokens.matches1(Ct.TokenType._as)&&(this.tokens.removeToken(),this.tokens.removeToken());return this.tokens.matchesContextual(Os.ContextualKeyword._from)&&this.tokens.matches1AtIndex(this.tokens.currentIndex()+1,Ct.TokenType.string)&&(this.tokens.removeToken(),this.tokens.removeToken(),F0.removeMaybeImportAttributes.call(void 0,this.tokens)),!0}return!1}processImportEquals(){let t=this.tokens.identifierNameAtIndex(this.tokens.currentIndex()+1);return this.shouldAutomaticallyElideImportedName(t)?pH.default.call(void 0,this.tokens):this.injectCreateRequireForImportRequire?(this.tokens.replaceToken("const"),this.tokens.copyToken(),this.tokens.copyToken(),this.tokens.replaceToken(this.helperManager.getHelperName("require"))):this.tokens.replaceToken("const"),!0}processImport(){if(this.tokens.matches2(Ct.TokenType._import,Ct.TokenType.parenL))return!1;let t=this.tokens.snapshot();if(this.removeImportTypeBindings()){for(this.tokens.restoreToSnapshot(t);!this.tokens.matches1(Ct.TokenType.string);)this.tokens.removeToken();this.tokens.removeToken(),F0.removeMaybeImportAttributes.call(void 0,this.tokens),this.tokens.matches1(Ct.TokenType.semi)&&this.tokens.removeToken()}return!0}removeImportTypeBindings(){if(this.tokens.copyExpectedToken(Ct.TokenType._import),this.tokens.matchesContextual(Os.ContextualKeyword._type)&&!this.tokens.matches1AtIndex(this.tokens.currentIndex()+1,Ct.TokenType.comma)&&!this.tokens.matchesContextualAtIndex(this.tokens.currentIndex()+1,Os.ContextualKeyword._from))return!0;if(this.tokens.matches1(Ct.TokenType.string))return this.tokens.copyToken(),!1;this.tokens.matchesContextual(Os.ContextualKeyword._module)&&this.tokens.matchesContextualAtIndex(this.tokens.currentIndex()+2,Os.ContextualKeyword._from)&&this.tokens.copyToken();let t=!1,n=!1,i=!1;if(this.tokens.matches1(Ct.TokenType.name)&&(this.shouldAutomaticallyElideImportedName(this.tokens.identifierName())?(this.tokens.removeToken(),this.tokens.matches1(Ct.TokenType.comma)&&this.tokens.removeToken()):(t=!0,this.tokens.copyToken(),this.tokens.matches1(Ct.TokenType.comma)&&(i=!0,this.tokens.removeToken()))),this.tokens.matches1(Ct.TokenType.star))this.shouldAutomaticallyElideImportedName(this.tokens.identifierNameAtRelativeIndex(2))?(this.tokens.removeToken(),this.tokens.removeToken(),this.tokens.removeToken()):(i&&this.tokens.appendCode(","),t=!0,this.tokens.copyExpectedToken(Ct.TokenType.star),this.tokens.copyExpectedToken(Ct.TokenType.name),this.tokens.copyExpectedToken(Ct.TokenType.name));else if(this.tokens.matches1(Ct.TokenType.braceL)){for(i&&this.tokens.appendCode(","),this.tokens.copyToken();!this.tokens.matches1(Ct.TokenType.braceR);){n=!0;let o=n2.default.call(void 0,this.tokens);if(o.isType||this.shouldAutomaticallyElideImportedName(o.rightName)){for(;this.tokens.currentIndex()<o.endIndex;)this.tokens.removeToken();this.tokens.matches1(Ct.TokenType.comma)&&this.tokens.removeToken()}else{for(t=!0;this.tokens.currentIndex()<o.endIndex;)this.tokens.copyToken();this.tokens.matches1(Ct.TokenType.comma)&&this.tokens.copyToken()}}this.tokens.copyExpectedToken(Ct.TokenType.braceR)}return this.keepUnusedImports?!1:this.isTypeScriptTransformEnabled?!t:this.isFlowTransformEnabled?n&&!t:!1}shouldAutomaticallyElideImportedName(t){return this.isTypeScriptTransformEnabled&&!this.keepUnusedImports&&!this.nonTypeIdentifiers.has(t)}processExportDefault(){if(gH.default.call(void 0,this.isTypeScriptTransformEnabled,this.keepUnusedImports,this.tokens,this.declarationInfo))return this.tokens.removeInitialToken(),this.tokens.removeToken(),this.tokens.removeToken(),!0;if(!(this.tokens.matches4(Ct.TokenType._export,Ct.TokenType._default,Ct.TokenType._function,Ct.TokenType.name)||this.tokens.matches5(Ct.TokenType._export,Ct.TokenType._default,Ct.TokenType.name,Ct.TokenType._function,Ct.TokenType.name)&&this.tokens.matchesContextualAtIndex(this.tokens.currentIndex()+2,Os.ContextualKeyword._async)||this.tokens.matches4(Ct.TokenType._export,Ct.TokenType._default,Ct.TokenType._class,Ct.TokenType.name)||this.tokens.matches5(Ct.TokenType._export,Ct.TokenType._default,Ct.TokenType._abstract,Ct.TokenType._class,Ct.TokenType.name))&&this.reactHotLoaderTransformer){let n=this.nameManager.claimFreeName("_default");return this.tokens.replaceToken(`let ${n}; export`),this.tokens.copyToken(),this.tokens.appendCode(` ${n} =`),this.reactHotLoaderTransformer.setExtractedDefaultExportName(n),!0}return!1}processNamedExports(){if(!this.isTypeScriptTransformEnabled)return!1;this.tokens.copyExpectedToken(Ct.TokenType._export),this.tokens.copyExpectedToken(Ct.TokenType.braceL);let t=yH.default.call(void 0,this.tokens),n=!1;for(;!this.tokens.matches1(Ct.TokenType.braceR);){let i=n2.default.call(void 0,this.tokens);if(i.isType||!t&&this.shouldElideExportedName(i.leftName)){for(;this.tokens.currentIndex()<i.endIndex;)this.tokens.removeToken();this.tokens.matches1(Ct.TokenType.comma)&&this.tokens.removeToken()}else{for(n=!0;this.tokens.currentIndex()<i.endIndex;)this.tokens.copyToken();this.tokens.matches1(Ct.TokenType.comma)&&this.tokens.copyToken()}}return this.tokens.copyExpectedToken(Ct.TokenType.braceR),!this.keepUnusedImports&&t&&!n&&(this.tokens.removeToken(),this.tokens.removeToken(),F0.removeMaybeImportAttributes.call(void 0,this.tokens)),!0}shouldElideExportedName(t){return this.isTypeScriptTransformEnabled&&!this.keepUnusedImports&&this.declarationInfo.typeDeclarations.has(t)&&!this.declarationInfo.valueDeclarations.has(t)}};L0.default=j0});var o2=me(R0=>{"use strict";Object.defineProperty(R0,"__esModule",{value:!0});function EH(e){return e&&e.__esModule?e:{default:e}}var a2=Pn(),mi=sr(),SH=Ci(),xH=EH(SH),M0=class extends xH.default{constructor(t,n,i){super(),this.rootTransformer=t,this.tokens=n,this.isImportsTransformEnabled=i}process(){return this.rootTransformer.processPossibleArrowParamEnd()||this.rootTransformer.processPossibleAsyncArrowWithTypeParams()||this.rootTransformer.processPossibleTypeRange()?!0:this.tokens.matches1(mi.TokenType._enum)?(this.processEnum(),!0):this.tokens.matches2(mi.TokenType._export,mi.TokenType._enum)?(this.processNamedExportEnum(),!0):this.tokens.matches3(mi.TokenType._export,mi.TokenType._default,mi.TokenType._enum)?(this.processDefaultExportEnum(),!0):!1}processNamedExportEnum(){if(this.isImportsTransformEnabled){this.tokens.removeInitialToken();let t=this.tokens.identifierNameAtRelativeIndex(1);this.processEnum(),this.tokens.appendCode(` exports.${t} = ${t};`)}else this.tokens.copyToken(),this.processEnum()}processDefaultExportEnum(){this.tokens.removeInitialToken(),this.tokens.removeToken();let t=this.tokens.identifierNameAtRelativeIndex(1);this.processEnum(),this.isImportsTransformEnabled?this.tokens.appendCode(` exports.default = ${t};`):this.tokens.appendCode(` export default ${t};`)}processEnum(){this.tokens.replaceToken("const"),this.tokens.copyExpectedToken(mi.TokenType.name);let t=!1;this.tokens.matchesContextual(a2.ContextualKeyword._of)&&(this.tokens.removeToken(),t=this.tokens.matchesContextual(a2.ContextualKeyword._symbol),this.tokens.removeToken());let n=this.tokens.matches3(mi.TokenType.braceL,mi.TokenType.name,mi.TokenType.eq);this.tokens.appendCode(' = require("flow-enums-runtime")');let i=!t&&!n;for(this.tokens.replaceTokenTrimmingLeftWhitespace(i?".Mirrored([":"({");!this.tokens.matches1(mi.TokenType.braceR);){if(this.tokens.matches1(mi.TokenType.ellipsis)){this.tokens.removeToken();break}this.processEnumElement(t,n),this.tokens.matches1(mi.TokenType.comma)&&this.tokens.copyToken()}this.tokens.replaceToken(i?"]);":"});")}processEnumElement(t,n){if(t){let i=this.tokens.identifierName();this.tokens.copyToken(),this.tokens.appendCode(`: Symbol("${i}")`)}else n?(this.tokens.copyToken(),this.tokens.replaceTokenTrimmingLeftWhitespace(":"),this.tokens.copyToken()):this.tokens.replaceToken(`"${this.tokens.identifierName()}"`)}};R0.default=M0});var l2=me(U0=>{"use strict";Object.defineProperty(U0,"__esModule",{value:!0});function _H(e){return e&&e.__esModule?e:{default:e}}function wH(e){let t,n=e[0],i=1;for(;i<e.length;){let o=e[i],r=e[i+1];if(i+=2,(o==="optionalAccess"||o==="optionalCall")&&n==null)return;o==="access"||o==="optionalAccess"?(t=n,n=r(n)):(o==="call"||o==="optionalCall")&&(n=r((...u)=>n.call(t,...u)),t=void 0)}return n}var Ns=sr(),CH=Ci(),AH=_H(CH),Bf="jest",PH=["mock","unmock","enableAutomock","disableAutomock"],B0=class e extends AH.default{__init(){this.hoistedFunctionNames=[]}constructor(t,n,i,o){super(),this.rootTransformer=t,this.tokens=n,this.nameManager=i,this.importProcessor=o,e.prototype.__init.call(this)}process(){return this.tokens.currentToken().scopeDepth===0&&this.tokens.matches4(Ns.TokenType.name,Ns.TokenType.dot,Ns.TokenType.name,Ns.TokenType.parenL)&&this.tokens.identifierName()===Bf?wH([this,"access",t=>t.importProcessor,"optionalAccess",t=>t.getGlobalNames,"call",t=>t(),"optionalAccess",t=>t.has,"call",t=>t(Bf)])?!1:this.extractHoistedCalls():!1}getHoistedCode(){return this.hoistedFunctionNames.length>0?this.hoistedFunctionNames.map(t=>`${t}();`).join(""):""}extractHoistedCalls(){this.tokens.removeToken();let t=!1;for(;this.tokens.matches3(Ns.TokenType.dot,Ns.TokenType.name,Ns.TokenType.parenL);){let n=this.tokens.identifierNameAtIndex(this.tokens.currentIndex()+1);if(PH.includes(n)){let o=this.nameManager.claimFreeName("__jestHoist");this.hoistedFunctionNames.push(o),this.tokens.replaceToken(`function ${o}(){${Bf}.`),this.tokens.copyToken(),this.tokens.copyToken(),this.rootTransformer.processBalancedCode(),this.tokens.copyExpectedToken(Ns.TokenType.parenR),this.tokens.appendCode(";}"),t=!1}else t?this.tokens.copyToken():this.tokens.replaceToken(`${Bf}.`),this.tokens.copyToken(),this.tokens.copyToken(),this.rootTransformer.processBalancedCode(),this.tokens.copyExpectedToken(Ns.TokenType.parenR),t=!0}return!0}};U0.default=B0});var u2=me(V0=>{"use strict";Object.defineProperty(V0,"__esModule",{value:!0});function kH(e){return e&&e.__esModule?e:{default:e}}var DH=sr(),IH=Ci(),OH=kH(IH),$0=class extends OH.default{constructor(t){super(),this.tokens=t}process(){if(this.tokens.matches1(DH.TokenType.num)){let t=this.tokens.currentTokenCode();if(t.includes("_"))return this.tokens.replaceToken(t.replace(/_/g,"")),!0}return!1}};V0.default=$0});var p2=me(W0=>{"use strict";Object.defineProperty(W0,"__esModule",{value:!0});function NH(e){return e&&e.__esModule?e:{default:e}}var c2=sr(),FH=Ci(),jH=NH(FH),q0=class extends jH.default{constructor(t,n){super(),this.tokens=t,this.nameManager=n}process(){return this.tokens.matches2(c2.TokenType._catch,c2.TokenType.braceL)?(this.tokens.copyToken(),this.tokens.appendCode(` (${this.nameManager.claimFreeName("e")})`),!0):!1}};W0.default=q0});var d2=me(z0=>{"use strict";Object.defineProperty(z0,"__esModule",{value:!0});function LH(e){return e&&e.__esModule?e:{default:e}}var Gn=sr(),MH=Ci(),RH=LH(MH),K0=class extends RH.default{constructor(t,n){super(),this.tokens=t,this.nameManager=n}process(){if(this.tokens.matches1(Gn.TokenType.nullishCoalescing)){let i=this.tokens.currentToken();return this.tokens.tokens[i.nullishStartIndex].isAsyncOperation?this.tokens.replaceTokenTrimmingLeftWhitespace(", async () => ("):this.tokens.replaceTokenTrimmingLeftWhitespace(", () => ("),!0}if(this.tokens.matches1(Gn.TokenType._delete)&&this.tokens.tokenAtRelativeIndex(1).isOptionalChainStart)return this.tokens.removeInitialToken(),!0;let n=this.tokens.currentToken().subscriptStartIndex;if(n!=null&&this.tokens.tokens[n].isOptionalChainStart&&this.tokens.tokenAtRelativeIndex(-1).type!==Gn.TokenType._super){let i=this.nameManager.claimFreeName("_"),o;if(n>0&&this.tokens.matches1AtIndex(n-1,Gn.TokenType._delete)&&this.isLastSubscriptInChain()?o=`${i} => delete ${i}`:o=`${i} => ${i}`,this.tokens.tokens[n].isAsyncOperation&&(o=`async ${o}`),this.tokens.matches2(Gn.TokenType.questionDot,Gn.TokenType.parenL)||this.tokens.matches2(Gn.TokenType.questionDot,Gn.TokenType.lessThan))this.justSkippedSuper()&&this.tokens.appendCode(".bind(this)"),this.tokens.replaceTokenTrimmingLeftWhitespace(`, 'optionalCall', ${o}`);else if(this.tokens.matches2(Gn.TokenType.questionDot,Gn.TokenType.bracketL))this.tokens.replaceTokenTrimmingLeftWhitespace(`, 'optionalAccess', ${o}`);else if(this.tokens.matches1(Gn.TokenType.questionDot))this.tokens.replaceTokenTrimmingLeftWhitespace(`, 'optionalAccess', ${o}.`);else if(this.tokens.matches1(Gn.TokenType.dot))this.tokens.replaceTokenTrimmingLeftWhitespace(`, 'access', ${o}.`);else if(this.tokens.matches1(Gn.TokenType.bracketL))this.tokens.replaceTokenTrimmingLeftWhitespace(`, 'access', ${o}[`);else if(this.tokens.matches1(Gn.TokenType.parenL))this.justSkippedSuper()&&this.tokens.appendCode(".bind(this)"),this.tokens.replaceTokenTrimmingLeftWhitespace(`, 'call', ${o}(`);else throw new Error("Unexpected subscript operator in optional chain.");return!0}return!1}isLastSubscriptInChain(){let t=0;for(let n=this.tokens.currentIndex()+1;;n++){if(n>=this.tokens.tokens.length)throw new Error("Reached the end of the code while finding the end of the access chain.");if(this.tokens.tokens[n].isOptionalChainStart?t++:this.tokens.tokens[n].isOptionalChainEnd&&t--,t<0)return!0;if(t===0&&this.tokens.tokens[n].subscriptStartIndex!=null)return!1}}justSkippedSuper(){let t=0,n=this.tokens.currentIndex()-1;for(;;){if(n<0)throw new Error("Reached the start of the code while finding the start of the access chain.");if(this.tokens.tokens[n].isOptionalChainStart?t--:this.tokens.tokens[n].isOptionalChainEnd&&t++,t<0)return!1;if(t===0&&this.tokens.tokens[n].subscriptStartIndex!=null)return this.tokens.tokens[n-1].type===Gn.TokenType._super;n--}}};z0.default=K0});var h2=me(H0=>{"use strict";Object.defineProperty(H0,"__esModule",{value:!0});function BH(e){return e&&e.__esModule?e:{default:e}}var f2=En(),Mn=sr(),UH=Ci(),$H=BH(UH),G0=class extends $H.default{constructor(t,n,i,o){super(),this.rootTransformer=t,this.tokens=n,this.importProcessor=i,this.options=o}process(){let t=this.tokens.currentIndex();if(this.tokens.identifierName()==="createReactClass"){let n=this.importProcessor&&this.importProcessor.getIdentifierReplacement("createReactClass");return n?this.tokens.replaceToken(`(0, ${n})`):this.tokens.copyToken(),this.tryProcessCreateClassCall(t),!0}if(this.tokens.matches3(Mn.TokenType.name,Mn.TokenType.dot,Mn.TokenType.name)&&this.tokens.identifierName()==="React"&&this.tokens.identifierNameAtIndex(this.tokens.currentIndex()+2)==="createClass"){let n=this.importProcessor&&this.importProcessor.getIdentifierReplacement("React")||"React";return n?(this.tokens.replaceToken(n),this.tokens.copyToken(),this.tokens.copyToken()):(this.tokens.copyToken(),this.tokens.copyToken(),this.tokens.copyToken()),this.tryProcessCreateClassCall(t),!0}return!1}tryProcessCreateClassCall(t){let n=this.findDisplayName(t);n&&this.classNeedsDisplayName()&&(this.tokens.copyExpectedToken(Mn.TokenType.parenL),this.tokens.copyExpectedToken(Mn.TokenType.braceL),this.tokens.appendCode(`displayName: '${n}',`),this.rootTransformer.processBalancedCode(),this.tokens.copyExpectedToken(Mn.TokenType.braceR),this.tokens.copyExpectedToken(Mn.TokenType.parenR))}findDisplayName(t){return t<2?null:this.tokens.matches2AtIndex(t-2,Mn.TokenType.name,Mn.TokenType.eq)?this.tokens.identifierNameAtIndex(t-2):t>=2&&this.tokens.tokens[t-2].identifierRole===f2.IdentifierRole.ObjectKey?this.tokens.identifierNameAtIndex(t-2):this.tokens.matches2AtIndex(t-2,Mn.TokenType._export,Mn.TokenType._default)?this.getDisplayNameFromFilename():null}getDisplayNameFromFilename(){let n=(this.options.filePath||"unknown").split("/"),i=n[n.length-1],o=i.lastIndexOf("."),r=o===-1?i:i.slice(0,o);return r==="index"&&n[n.length-2]?n[n.length-2]:r}classNeedsDisplayName(){let t=this.tokens.currentIndex();if(!this.tokens.matches2(Mn.TokenType.parenL,Mn.TokenType.braceL))return!1;let n=t+1,i=this.tokens.tokens[n].contextId;if(i==null)throw new Error("Expected non-null context ID on object open-brace.");for(;t<this.tokens.tokens.length;t++){let o=this.tokens.tokens[t];if(o.type===Mn.TokenType.braceR&&o.contextId===i){t++;break}if(this.tokens.identifierNameAtIndex(t)==="displayName"&&this.tokens.tokens[t].identifierRole===f2.IdentifierRole.ObjectKey&&o.contextId===i)return!1}if(t===this.tokens.tokens.length)throw new Error("Unexpected end of input when processing React class.");return this.tokens.matches1AtIndex(t,Mn.TokenType.parenR)||this.tokens.matches2AtIndex(t,Mn.TokenType.comma,Mn.TokenType.parenR)}};H0.default=G0});var y2=me(J0=>{"use strict";Object.defineProperty(J0,"__esModule",{value:!0});function VH(e){return e&&e.__esModule?e:{default:e}}var m2=En(),qH=Ci(),WH=VH(qH),X0=class e extends WH.default{__init(){this.extractedDefaultExportName=null}constructor(t,n){super(),this.tokens=t,this.filePath=n,e.prototype.__init.call(this)}setExtractedDefaultExportName(t){this.extractedDefaultExportName=t}getPrefixCode(){return`
|
|
(function () {
|
|
var enterModule = require('react-hot-loader').enterModule;
|
|
enterModule && enterModule(module);
|
|
})();`.replace(/\s+/g," ").trim()}getSuffixCode(){let t=new Set;for(let i of this.tokens.tokens)!i.isType&&m2.isTopLevelDeclaration.call(void 0,i)&&i.identifierRole!==m2.IdentifierRole.ImportDeclaration&&t.add(this.tokens.identifierNameForToken(i));let n=Array.from(t).map(i=>({variableName:i,uniqueLocalName:i}));return this.extractedDefaultExportName&&n.push({variableName:this.extractedDefaultExportName,uniqueLocalName:"default"}),`
|
|
;(function () {
|
|
var reactHotLoader = require('react-hot-loader').default;
|
|
var leaveModule = require('react-hot-loader').leaveModule;
|
|
if (!reactHotLoader) {
|
|
return;
|
|
}
|
|
${n.map(({variableName:i,uniqueLocalName:o})=>` reactHotLoader.register(${i}, "${o}", ${JSON.stringify(this.filePath||"")});`).join(`
|
|
`)}
|
|
leaveModule(module);
|
|
})();`}process(){return!1}};J0.default=X0});var g2=me(Y0=>{"use strict";Object.defineProperty(Y0,"__esModule",{value:!0});var b2=Mo(),KH=new Set(["break","case","catch","class","const","continue","debugger","default","delete","do","else","export","extends","finally","for","function","if","import","in","instanceof","new","return","super","switch","this","throw","try","typeof","var","void","while","with","yield","enum","implements","interface","let","package","private","protected","public","static","await","false","null","true"]);function zH(e){if(e.length===0||!b2.IS_IDENTIFIER_START[e.charCodeAt(0)])return!1;for(let t=1;t<e.length;t++)if(!b2.IS_IDENTIFIER_CHAR[e.charCodeAt(t)])return!1;return!KH.has(e)}Y0.default=zH});var E2=me(Z0=>{"use strict";Object.defineProperty(Z0,"__esModule",{value:!0});function T2(e){return e&&e.__esModule?e:{default:e}}var Dr=sr(),GH=g2(),v2=T2(GH),HH=Ci(),XH=T2(HH),Q0=class extends XH.default{constructor(t,n,i){super(),this.rootTransformer=t,this.tokens=n,this.isImportsTransformEnabled=i}process(){return this.rootTransformer.processPossibleArrowParamEnd()||this.rootTransformer.processPossibleAsyncArrowWithTypeParams()||this.rootTransformer.processPossibleTypeRange()?!0:this.tokens.matches1(Dr.TokenType._public)||this.tokens.matches1(Dr.TokenType._protected)||this.tokens.matches1(Dr.TokenType._private)||this.tokens.matches1(Dr.TokenType._abstract)||this.tokens.matches1(Dr.TokenType._readonly)||this.tokens.matches1(Dr.TokenType._override)||this.tokens.matches1(Dr.TokenType.nonNullAssertion)?(this.tokens.removeInitialToken(),!0):this.tokens.matches1(Dr.TokenType._enum)||this.tokens.matches2(Dr.TokenType._const,Dr.TokenType._enum)?(this.processEnum(),!0):this.tokens.matches2(Dr.TokenType._export,Dr.TokenType._enum)||this.tokens.matches3(Dr.TokenType._export,Dr.TokenType._const,Dr.TokenType._enum)?(this.processEnum(!0),!0):!1}processEnum(t=!1){for(this.tokens.removeInitialToken();this.tokens.matches1(Dr.TokenType._const)||this.tokens.matches1(Dr.TokenType._enum);)this.tokens.removeToken();let n=this.tokens.identifierName();this.tokens.removeToken(),t&&!this.isImportsTransformEnabled&&this.tokens.appendCode("export "),this.tokens.appendCode(`var ${n}; (function (${n})`),this.tokens.copyExpectedToken(Dr.TokenType.braceL),this.processEnumBody(n),this.tokens.copyExpectedToken(Dr.TokenType.braceR),t&&this.isImportsTransformEnabled?this.tokens.appendCode(`)(${n} || (exports.${n} = ${n} = {}));`):this.tokens.appendCode(`)(${n} || (${n} = {}));`)}processEnumBody(t){let n=null;for(;!this.tokens.matches1(Dr.TokenType.braceR);){let{nameStringCode:i,variableName:o}=this.extractEnumKeyInfo(this.tokens.currentToken());this.tokens.removeInitialToken(),this.tokens.matches3(Dr.TokenType.eq,Dr.TokenType.string,Dr.TokenType.comma)||this.tokens.matches3(Dr.TokenType.eq,Dr.TokenType.string,Dr.TokenType.braceR)?this.processStringLiteralEnumMember(t,i,o):this.tokens.matches1(Dr.TokenType.eq)?this.processExplicitValueEnumMember(t,i,o):this.processImplicitValueEnumMember(t,i,o,n),this.tokens.matches1(Dr.TokenType.comma)&&this.tokens.removeToken(),o!=null?n=o:n=`${t}[${i}]`}}extractEnumKeyInfo(t){if(t.type===Dr.TokenType.name){let n=this.tokens.identifierNameForToken(t);return{nameStringCode:`"${n}"`,variableName:v2.default.call(void 0,n)?n:null}}else if(t.type===Dr.TokenType.string){let n=this.tokens.stringValueForToken(t);return{nameStringCode:this.tokens.code.slice(t.start,t.end),variableName:v2.default.call(void 0,n)?n:null}}else throw new Error("Expected name or string at beginning of enum element.")}processStringLiteralEnumMember(t,n,i){i!=null?(this.tokens.appendCode(`const ${i}`),this.tokens.copyToken(),this.tokens.copyToken(),this.tokens.appendCode(`; ${t}[${n}] = ${i};`)):(this.tokens.appendCode(`${t}[${n}]`),this.tokens.copyToken(),this.tokens.copyToken(),this.tokens.appendCode(";"))}processExplicitValueEnumMember(t,n,i){let o=this.tokens.currentToken().rhsEndIndex;if(o==null)throw new Error("Expected rhsEndIndex on enum assign.");if(i!=null){for(this.tokens.appendCode(`const ${i}`),this.tokens.copyToken();this.tokens.currentIndex()<o;)this.rootTransformer.processToken();this.tokens.appendCode(`; ${t}[${t}[${n}] = ${i}] = ${n};`)}else{for(this.tokens.appendCode(`${t}[${t}[${n}]`),this.tokens.copyToken();this.tokens.currentIndex()<o;)this.rootTransformer.processToken();this.tokens.appendCode(`] = ${n};`)}}processImplicitValueEnumMember(t,n,i,o){let r=o!=null?`${o} + 1`:"0";i!=null&&(this.tokens.appendCode(`const ${i} = ${r}; `),r=i),this.tokens.appendCode(`${t}[${t}[${n}] = ${r}] = ${n};`)}};Z0.default=Q0});var S2=me(tv=>{"use strict";Object.defineProperty(tv,"__esModule",{value:!0});function Di(e){return e&&e.__esModule?e:{default:e}}var JH=Pn(),ln=sr(),YH=YI(),QH=Di(YH),ZH=r2(),eX=Di(ZH),tX=s2(),rX=Di(tX),nX=o2(),iX=Di(nX),sX=l2(),aX=Di(sX),oX=ag(),lX=Di(oX),uX=u2(),cX=Di(uX),pX=p2(),dX=Di(pX),fX=d2(),hX=Di(fX),mX=h2(),yX=Di(mX),bX=y2(),gX=Di(bX),vX=E2(),TX=Di(vX),ev=class e{__init(){this.transformers=[]}__init2(){this.generatedVariables=[]}constructor(t,n,i,o){e.prototype.__init.call(this),e.prototype.__init2.call(this),this.nameManager=t.nameManager,this.helperManager=t.helperManager;let{tokenProcessor:r,importProcessor:u}=t;this.tokens=r,this.isImportsTransformEnabled=n.includes("imports"),this.isReactHotLoaderTransformEnabled=n.includes("react-hot-loader"),this.disableESTransforms=!!o.disableESTransforms,o.disableESTransforms||(this.transformers.push(new hX.default(r,this.nameManager)),this.transformers.push(new cX.default(r)),this.transformers.push(new dX.default(r,this.nameManager))),n.includes("jsx")&&(o.jsxRuntime!=="preserve"&&this.transformers.push(new lX.default(this,r,u,this.nameManager,o)),this.transformers.push(new yX.default(this,r,u,o)));let a=null;if(n.includes("react-hot-loader")){if(!o.filePath)throw new Error("filePath is required when using the react-hot-loader transform.");a=new gX.default(r,o.filePath),this.transformers.push(a)}if(n.includes("imports")){if(u===null)throw new Error("Expected non-null importProcessor with imports transform enabled.");this.transformers.push(new eX.default(this,r,u,this.nameManager,this.helperManager,a,i,!!o.enableLegacyTypeScriptModuleInterop,n.includes("typescript"),n.includes("flow"),!!o.preserveDynamicImport,!!o.keepUnusedImports))}else this.transformers.push(new rX.default(r,this.nameManager,this.helperManager,a,n.includes("typescript"),n.includes("flow"),!!o.keepUnusedImports,o));n.includes("flow")&&this.transformers.push(new iX.default(this,r,n.includes("imports"))),n.includes("typescript")&&this.transformers.push(new TX.default(this,r,n.includes("imports"))),n.includes("jest")&&this.transformers.push(new aX.default(this,r,this.nameManager,u))}transform(){this.tokens.reset(),this.processBalancedCode();let n=this.isImportsTransformEnabled?'"use strict";':"";for(let u of this.transformers)n+=u.getPrefixCode();n+=this.helperManager.emitHelpers(),n+=this.generatedVariables.map(u=>` var ${u};`).join("");for(let u of this.transformers)n+=u.getHoistedCode();let i="";for(let u of this.transformers)i+=u.getSuffixCode();let o=this.tokens.finish(),{code:r}=o;if(r.startsWith("#!")){let u=r.indexOf(`
|
|
`);return u===-1&&(u=r.length,r+=`
|
|
`),{code:r.slice(0,u+1)+n+r.slice(u+1)+i,mappings:this.shiftMappings(o.mappings,n.length)}}else return{code:n+r+i,mappings:this.shiftMappings(o.mappings,n.length)}}processBalancedCode(){let t=0,n=0;for(;!this.tokens.isAtEnd();){if(this.tokens.matches1(ln.TokenType.braceL)||this.tokens.matches1(ln.TokenType.dollarBraceL))t++;else if(this.tokens.matches1(ln.TokenType.braceR)){if(t===0)return;t--}if(this.tokens.matches1(ln.TokenType.parenL))n++;else if(this.tokens.matches1(ln.TokenType.parenR)){if(n===0)return;n--}this.processToken()}}processToken(){if(this.tokens.matches1(ln.TokenType._class)){this.processClass();return}for(let t of this.transformers)if(t.process())return;this.tokens.copyToken()}processNamedClass(){if(!this.tokens.matches2(ln.TokenType._class,ln.TokenType.name))throw new Error("Expected identifier for exported class name.");let t=this.tokens.identifierNameAtIndex(this.tokens.currentIndex()+1);return this.processClass(),t}processClass(){let t=QH.default.call(void 0,this,this.tokens,this.nameManager,this.disableESTransforms),n=(t.headerInfo.isExpression||!t.headerInfo.className)&&t.staticInitializerNames.length+t.instanceInitializerNames.length>0,i=t.headerInfo.className;n&&(i=this.nameManager.claimFreeName("_class"),this.generatedVariables.push(i),this.tokens.appendCode(` (${i} =`));let r=this.tokens.currentToken().contextId;if(r==null)throw new Error("Expected class to have a context ID.");for(this.tokens.copyExpectedToken(ln.TokenType._class);!this.tokens.matchesContextIdAndLabel(ln.TokenType.braceL,r);)this.processToken();this.processClassBody(t,i);let u=t.staticInitializerNames.map(a=>`${i}.${a}()`);n?this.tokens.appendCode(`, ${u.map(a=>`${a}, `).join("")}${i})`):t.staticInitializerNames.length>0&&this.tokens.appendCode(` ${u.map(a=>`${a};`).join(" ")}`)}processClassBody(t,n){let{headerInfo:i,constructorInsertPos:o,constructorInitializerStatements:r,fields:u,instanceInitializerNames:a,rangesToRemove:m}=t,d=0,s=0,l=this.tokens.currentToken().contextId;if(l==null)throw new Error("Expected non-null context ID on class.");this.tokens.copyExpectedToken(ln.TokenType.braceL),this.isReactHotLoaderTransformEnabled&&this.tokens.appendCode("__reactstandin__regenerateByEval(key, code) {this[key] = eval(code);}");let f=r.length+a.length>0;if(o===null&&f){let p=this.makeConstructorInitCode(r,a,n);if(i.hasSuperclass){let h=this.nameManager.claimFreeName("args");this.tokens.appendCode(`constructor(...${h}) { super(...${h}); ${p}; }`)}else this.tokens.appendCode(`constructor() { ${p}; }`)}for(;!this.tokens.matchesContextIdAndLabel(ln.TokenType.braceR,l);)if(d<u.length&&this.tokens.currentIndex()===u[d].start){let p=!1;for(this.tokens.matches1(ln.TokenType.bracketL)?this.tokens.copyTokenWithPrefix(`${u[d].initializerName}() {this`):this.tokens.matches1(ln.TokenType.string)||this.tokens.matches1(ln.TokenType.num)?(this.tokens.copyTokenWithPrefix(`${u[d].initializerName}() {this[`),p=!0):this.tokens.copyTokenWithPrefix(`${u[d].initializerName}() {this.`);this.tokens.currentIndex()<u[d].end;)p&&this.tokens.currentIndex()===u[d].equalsIndex&&this.tokens.appendCode("]"),this.processToken();this.tokens.appendCode("}"),d++}else if(s<m.length&&this.tokens.currentIndex()>=m[s].start){for(this.tokens.currentIndex()<m[s].end&&this.tokens.removeInitialToken();this.tokens.currentIndex()<m[s].end;)this.tokens.removeToken();s++}else this.tokens.currentIndex()===o?(this.tokens.copyToken(),f&&this.tokens.appendCode(`;${this.makeConstructorInitCode(r,a,n)};`),this.processToken()):this.processToken();this.tokens.copyExpectedToken(ln.TokenType.braceR)}makeConstructorInitCode(t,n,i){return[...t,...n.map(o=>`${i}.prototype.${o}.call(this)`)].join(";")}processPossibleArrowParamEnd(){if(this.tokens.matches2(ln.TokenType.parenR,ln.TokenType.colon)&&this.tokens.tokenAtRelativeIndex(1).isType){let t=this.tokens.currentIndex()+1;for(;this.tokens.tokens[t].isType;)t++;if(this.tokens.matches1AtIndex(t,ln.TokenType.arrow)){for(this.tokens.removeInitialToken();this.tokens.currentIndex()<t;)this.tokens.removeToken();return this.tokens.replaceTokenTrimmingLeftWhitespace(") =>"),!0}}return!1}processPossibleAsyncArrowWithTypeParams(){if(!this.tokens.matchesContextual(JH.ContextualKeyword._async)&&!this.tokens.matches1(ln.TokenType._async))return!1;let t=this.tokens.tokenAtRelativeIndex(1);if(t.type!==ln.TokenType.lessThan||!t.isType)return!1;let n=this.tokens.currentIndex()+1;for(;this.tokens.tokens[n].isType;)n++;if(this.tokens.matches1AtIndex(n,ln.TokenType.parenL)){for(this.tokens.replaceToken("async ("),this.tokens.removeInitialToken();this.tokens.currentIndex()<n;)this.tokens.removeToken();return this.tokens.removeToken(),this.processBalancedCode(),this.processToken(),!0}return!1}processPossibleTypeRange(){if(this.tokens.currentToken().isType){for(this.tokens.removeInitialToken();this.tokens.currentToken().isType;)this.tokens.removeToken();return!0}return!1}shiftMappings(t,n){for(let i=0;i<t.length;i++){let o=t[i];o!==void 0&&(t[i]=o+n)}return t}};tv.default=ev});var w2=me(lc=>{"use strict";lc.__esModule=!0;lc.LinesAndColumns=void 0;var Uf=`
|
|
`,x2="\r",_2=function(){function e(t){this.string=t;for(var n=[0],i=0;i<t.length;)switch(t[i]){case Uf:i+=Uf.length,n.push(i);break;case x2:i+=x2.length,t[i]===Uf&&(i+=Uf.length),n.push(i);break;default:i++;break}this.offsets=n}return e.prototype.locationForIndex=function(t){if(t<0||t>this.string.length)return null;for(var n=0,i=this.offsets;i[n+1]<=t;)n++;var o=t-i[n];return{line:n,column:o}},e.prototype.indexForLocation=function(t){var n=t.line,i=t.column;return n<0||n>=this.offsets.length||i<0||i>this.lengthOfLine(n)?null:this.offsets[n]+i},e.prototype.lengthOfLine=function(t){var n=this.offsets[t],i=t===this.offsets.length-1?this.string.length:this.offsets[t+1];return i-n},e}();lc.LinesAndColumns=_2;lc.default=_2});var C2=me(rv=>{"use strict";Object.defineProperty(rv,"__esModule",{value:!0});function EX(e){return e&&e.__esModule?e:{default:e}}var SX=w2(),xX=EX(SX),_X=sr();function wX(e,t){if(t.length===0)return"";let n=Object.keys(t[0]).filter(f=>f!=="type"&&f!=="value"&&f!=="start"&&f!=="end"&&f!=="loc"),i=Object.keys(t[0].type).filter(f=>f!=="label"&&f!=="keyword"),o=["Location","Label","Raw",...n,...i],r=new xX.default(e),u=[o,...t.map(m)],a=o.map(()=>0);for(let f of u)for(let p=0;p<f.length;p++)a[p]=Math.max(a[p],f[p].length);return u.map(f=>f.map((p,h)=>p.padEnd(a[h])).join(" ")).join(`
|
|
`);function m(f){let p=e.slice(f.start,f.end);return[s(f.start,f.end),_X.formatTokenType.call(void 0,f.type),CX(String(p),14),...n.map(h=>d(f[h],h)),...i.map(h=>d(f.type[h],h))]}function d(f,p){return f===!0?p:f===!1||f===null?"":String(f)}function s(f,p){return`${l(f)}-${l(p)}`}function l(f){let p=r.locationForIndex(f);return p?`${p.line+1}:${p.column+1}`:"Unknown"}}rv.default=wX;function CX(e,t){return e.length>t?`${e.slice(0,t-3)}...`:e}});var A2=me(nv=>{"use strict";Object.defineProperty(nv,"__esModule",{value:!0});function AX(e){return e&&e.__esModule?e:{default:e}}var ei=sr(),PX=Wu(),kX=AX(PX);function DX(e){let t=new Set;for(let n=0;n<e.tokens.length;n++)e.matches1AtIndex(n,ei.TokenType._import)&&!e.matches3AtIndex(n,ei.TokenType._import,ei.TokenType.name,ei.TokenType.eq)&&IX(e,n,t);return t}nv.default=DX;function IX(e,t,n){t++,!e.matches1AtIndex(t,ei.TokenType.parenL)&&(e.matches1AtIndex(t,ei.TokenType.name)&&(n.add(e.identifierNameAtIndex(t)),t++,e.matches1AtIndex(t,ei.TokenType.comma)&&t++),e.matches1AtIndex(t,ei.TokenType.star)&&(t+=2,n.add(e.identifierNameAtIndex(t)),t++),e.matches1AtIndex(t,ei.TokenType.braceL)&&(t++,OX(e,t,n)))}function OX(e,t,n){for(;;){if(e.matches1AtIndex(t,ei.TokenType.braceR))return;let i=kX.default.call(void 0,e,t);if(t=i.endIndex,i.isType||n.add(i.rightName),e.matches2AtIndex(t,ei.TokenType.comma,ei.TokenType.braceR))return;if(e.matches1AtIndex(t,ei.TokenType.braceR))return;if(e.matches1AtIndex(t,ei.TokenType.comma))t++;else throw new Error(`Unexpected token: ${JSON.stringify(e.tokens[t])}`)}}});var D2=me(uc=>{"use strict";Object.defineProperty(uc,"__esModule",{value:!0});function ya(e){return e&&e.__esModule?e:{default:e}}var NX=Qk(),FX=ya(NX),jX=lD(),LX=ya(jX),MX=uD(),RX=dD(),P2=ya(RX),BX=hD(),UX=ya(BX),$X=OD(),VX=h0(),qX=HI(),WX=ya(qX),KX=S2(),zX=ya(KX),GX=C2(),HX=ya(GX),XX=A2(),JX=ya(XX);function YX(){return"3.34.0"}uc.getVersion=YX;function QX(e,t){$X.validateOptions.call(void 0,t);try{let n=k2(e,t),o=new zX.default(n,t.transforms,!!t.enableLegacyBabel5ModuleInterop,t).transform(),r={code:o.code};if(t.sourceMapOptions){if(!t.filePath)throw new Error("filePath must be specified when generating a source map.");r={...r,sourceMap:LX.default.call(void 0,o,t.filePath,t.sourceMapOptions,e,n.tokenProcessor.tokens)}}return r}catch(n){throw t.filePath&&(n.message=`Error transforming ${t.filePath}: ${n.message}`),n}}uc.transform=QX;function ZX(e,t){let n=k2(e,t).tokenProcessor.tokens;return HX.default.call(void 0,e,n)}uc.getFormattedTokens=ZX;function k2(e,t){let n=t.transforms.includes("jsx"),i=t.transforms.includes("typescript"),o=t.transforms.includes("flow"),r=t.disableESTransforms===!0,u=VX.parse.call(void 0,e,n,i,o),a=u.tokens,m=u.scopes,d=new UX.default(e,a),s=new MX.HelperManager(d),l=new WX.default(e,a,o,r,s),f=!!t.enableLegacyTypeScriptModuleInterop,p=null;return t.transforms.includes("imports")?(p=new FX.default(d,l,f,t,t.transforms.includes("typescript"),!!t.keepUnusedImports,s),p.preprocessTokens(),P2.default.call(void 0,l,m,p.getGlobalNames()),t.transforms.includes("typescript")&&!t.keepUnusedImports&&p.pruneTypeOnlyImports()):t.transforms.includes("typescript")&&!t.keepUnusedImports&&P2.default.call(void 0,l,m,JX.default.call(void 0,l)),{tokenProcessor:l,scopes:m,nameManager:d,importProcessor:p,helperManager:s}}});var I2=me(iv=>{"use strict";Object.defineProperty(iv,"__esModule",{value:!0});function eJ(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}eJ(iv,{useCustomJiti:function(){return iJ},loadConfig:function(){return aJ}});var tJ=nJ(Ek()),rJ=D2();function nJ(e){return e&&e.__esModule?e:{default:e}}var cc=null;function iJ(e){cc=e()}function sJ(){return cc??(cc=(0,tJ.default)(__filename,{interopDefault:!0,transform:e=>(0,rJ.transform)(e.source,{transforms:["typescript","imports"]})}))}function aJ(e){let t=function(){try{return e?yt(e):{}}catch{return sJ()(e)}}();var n;return(n=t.default)!==null&&n!==void 0?n:t}});var O2=me(sv=>{"use strict";Object.defineProperty(sv,"__esModule",{value:!0});Object.defineProperty(sv,"default",{enumerable:!0,get:function(){return lJ}});var oJ=I2(),lJ=oJ.loadConfig});var F2=me((wre,N2)=>{var av=O2();N2.exports=(av.__esModule?av:{default:av}).default});var j2=me(ov=>{"use strict";Object.defineProperty(ov,"__esModule",{value:!0});Object.defineProperty(ov,"default",{enumerable:!0,get:function(){return uJ}});var uJ=["preflight","container","accessibility","pointerEvents","visibility","position","inset","isolation","zIndex","order","gridColumn","gridColumnStart","gridColumnEnd","gridRow","gridRowStart","gridRowEnd","float","clear","margin","boxSizing","lineClamp","display","aspectRatio","size","height","maxHeight","minHeight","width","minWidth","maxWidth","flex","flexShrink","flexGrow","flexBasis","tableLayout","captionSide","borderCollapse","borderSpacing","transformOrigin","translate","rotate","skew","scale","transform","animation","cursor","touchAction","userSelect","resize","scrollSnapType","scrollSnapAlign","scrollSnapStop","scrollMargin","scrollPadding","listStylePosition","listStyleType","listStyleImage","appearance","columns","breakBefore","breakInside","breakAfter","gridAutoColumns","gridAutoFlow","gridAutoRows","gridTemplateColumns","gridTemplateRows","flexDirection","flexWrap","placeContent","placeItems","alignContent","alignItems","justifyContent","justifyItems","gap","space","divideWidth","divideStyle","divideColor","divideOpacity","placeSelf","alignSelf","justifySelf","overflow","overscrollBehavior","scrollBehavior","textOverflow","hyphens","whitespace","textWrap","wordBreak","borderRadius","borderWidth","borderStyle","borderColor","borderOpacity","backgroundColor","backgroundOpacity","backgroundImage","gradientColorStops","boxDecorationBreak","backgroundSize","backgroundAttachment","backgroundClip","backgroundPosition","backgroundRepeat","backgroundOrigin","fill","stroke","strokeWidth","objectFit","objectPosition","padding","textAlign","textIndent","verticalAlign","fontFamily","fontSize","fontWeight","textTransform","fontStyle","fontVariantNumeric","lineHeight","letterSpacing","textColor","textOpacity","textDecoration","textDecorationColor","textDecorationStyle","textDecorationThickness","textUnderlineOffset","fontSmoothing","placeholderColor","placeholderOpacity","caretColor","accentColor","opacity","backgroundBlendMode","mixBlendMode","boxShadow","boxShadowColor","outlineStyle","outlineWidth","outlineOffset","outlineColor","ringWidth","ringColor","ringOpacity","ringOffsetWidth","ringOffsetColor","blur","brightness","contrast","dropShadow","grayscale","hueRotate","invert","saturate","sepia","filter","backdropBlur","backdropBrightness","backdropContrast","backdropGrayscale","backdropHueRotate","backdropInvert","backdropOpacity","backdropSaturate","backdropSepia","backdropFilter","transitionProperty","transitionDelay","transitionDuration","transitionTimingFunction","willChange","content","forcedColorAdjust"]});var L2=me(lv=>{"use strict";Object.defineProperty(lv,"__esModule",{value:!0});Object.defineProperty(lv,"default",{enumerable:!0,get:function(){return cJ}});function cJ(e,t){return e===void 0?t:Array.isArray(e)?e:[...new Set(t.filter(i=>e!==!1&&e[i]!==!1).concat(Object.keys(e).filter(i=>e[i]!==!1)))]}});var M2=me(uv=>{"use strict";Object.defineProperty(uv,"__esModule",{value:!0});Object.defineProperty(uv,"default",{enumerable:!0,get:function(){return fJ}});var pJ=dJ(Ba());function dJ(e){return e&&e.__esModule?e:{default:e}}function pc({version:e,from:t,to:n}){pJ.default.warn(`${t}-color-renamed`,[`As of Tailwind CSS ${e}, \`${t}\` has been renamed to \`${n}\`.`,"Update your configuration file to silence this warning."])}var fJ={inherit:"inherit",current:"currentColor",transparent:"transparent",black:"#000",white:"#fff",slate:{50:"#f8fafc",100:"#f1f5f9",200:"#e2e8f0",300:"#cbd5e1",400:"#94a3b8",500:"#64748b",600:"#475569",700:"#334155",800:"#1e293b",900:"#0f172a",950:"#020617"},gray:{50:"#f9fafb",100:"#f3f4f6",200:"#e5e7eb",300:"#d1d5db",400:"#9ca3af",500:"#6b7280",600:"#4b5563",700:"#374151",800:"#1f2937",900:"#111827",950:"#030712"},zinc:{50:"#fafafa",100:"#f4f4f5",200:"#e4e4e7",300:"#d4d4d8",400:"#a1a1aa",500:"#71717a",600:"#52525b",700:"#3f3f46",800:"#27272a",900:"#18181b",950:"#09090b"},neutral:{50:"#fafafa",100:"#f5f5f5",200:"#e5e5e5",300:"#d4d4d4",400:"#a3a3a3",500:"#737373",600:"#525252",700:"#404040",800:"#262626",900:"#171717",950:"#0a0a0a"},stone:{50:"#fafaf9",100:"#f5f5f4",200:"#e7e5e4",300:"#d6d3d1",400:"#a8a29e",500:"#78716c",600:"#57534e",700:"#44403c",800:"#292524",900:"#1c1917",950:"#0c0a09"},red:{50:"#fef2f2",100:"#fee2e2",200:"#fecaca",300:"#fca5a5",400:"#f87171",500:"#ef4444",600:"#dc2626",700:"#b91c1c",800:"#991b1b",900:"#7f1d1d",950:"#450a0a"},orange:{50:"#fff7ed",100:"#ffedd5",200:"#fed7aa",300:"#fdba74",400:"#fb923c",500:"#f97316",600:"#ea580c",700:"#c2410c",800:"#9a3412",900:"#7c2d12",950:"#431407"},amber:{50:"#fffbeb",100:"#fef3c7",200:"#fde68a",300:"#fcd34d",400:"#fbbf24",500:"#f59e0b",600:"#d97706",700:"#b45309",800:"#92400e",900:"#78350f",950:"#451a03"},yellow:{50:"#fefce8",100:"#fef9c3",200:"#fef08a",300:"#fde047",400:"#facc15",500:"#eab308",600:"#ca8a04",700:"#a16207",800:"#854d0e",900:"#713f12",950:"#422006"},lime:{50:"#f7fee7",100:"#ecfccb",200:"#d9f99d",300:"#bef264",400:"#a3e635",500:"#84cc16",600:"#65a30d",700:"#4d7c0f",800:"#3f6212",900:"#365314",950:"#1a2e05"},green:{50:"#f0fdf4",100:"#dcfce7",200:"#bbf7d0",300:"#86efac",400:"#4ade80",500:"#22c55e",600:"#16a34a",700:"#15803d",800:"#166534",900:"#14532d",950:"#052e16"},emerald:{50:"#ecfdf5",100:"#d1fae5",200:"#a7f3d0",300:"#6ee7b7",400:"#34d399",500:"#10b981",600:"#059669",700:"#047857",800:"#065f46",900:"#064e3b",950:"#022c22"},teal:{50:"#f0fdfa",100:"#ccfbf1",200:"#99f6e4",300:"#5eead4",400:"#2dd4bf",500:"#14b8a6",600:"#0d9488",700:"#0f766e",800:"#115e59",900:"#134e4a",950:"#042f2e"},cyan:{50:"#ecfeff",100:"#cffafe",200:"#a5f3fc",300:"#67e8f9",400:"#22d3ee",500:"#06b6d4",600:"#0891b2",700:"#0e7490",800:"#155e75",900:"#164e63",950:"#083344"},sky:{50:"#f0f9ff",100:"#e0f2fe",200:"#bae6fd",300:"#7dd3fc",400:"#38bdf8",500:"#0ea5e9",600:"#0284c7",700:"#0369a1",800:"#075985",900:"#0c4a6e",950:"#082f49"},blue:{50:"#eff6ff",100:"#dbeafe",200:"#bfdbfe",300:"#93c5fd",400:"#60a5fa",500:"#3b82f6",600:"#2563eb",700:"#1d4ed8",800:"#1e40af",900:"#1e3a8a",950:"#172554"},indigo:{50:"#eef2ff",100:"#e0e7ff",200:"#c7d2fe",300:"#a5b4fc",400:"#818cf8",500:"#6366f1",600:"#4f46e5",700:"#4338ca",800:"#3730a3",900:"#312e81",950:"#1e1b4b"},violet:{50:"#f5f3ff",100:"#ede9fe",200:"#ddd6fe",300:"#c4b5fd",400:"#a78bfa",500:"#8b5cf6",600:"#7c3aed",700:"#6d28d9",800:"#5b21b6",900:"#4c1d95",950:"#2e1065"},purple:{50:"#faf5ff",100:"#f3e8ff",200:"#e9d5ff",300:"#d8b4fe",400:"#c084fc",500:"#a855f7",600:"#9333ea",700:"#7e22ce",800:"#6b21a8",900:"#581c87",950:"#3b0764"},fuchsia:{50:"#fdf4ff",100:"#fae8ff",200:"#f5d0fe",300:"#f0abfc",400:"#e879f9",500:"#d946ef",600:"#c026d3",700:"#a21caf",800:"#86198f",900:"#701a75",950:"#4a044e"},pink:{50:"#fdf2f8",100:"#fce7f3",200:"#fbcfe8",300:"#f9a8d4",400:"#f472b6",500:"#ec4899",600:"#db2777",700:"#be185d",800:"#9d174d",900:"#831843",950:"#500724"},rose:{50:"#fff1f2",100:"#ffe4e6",200:"#fecdd3",300:"#fda4af",400:"#fb7185",500:"#f43f5e",600:"#e11d48",700:"#be123c",800:"#9f1239",900:"#881337",950:"#4c0519"},get lightBlue(){return pc({version:"v2.2",from:"lightBlue",to:"sky"}),this.sky},get warmGray(){return pc({version:"v3.0",from:"warmGray",to:"stone"}),this.stone},get trueGray(){return pc({version:"v3.0",from:"trueGray",to:"neutral"}),this.neutral},get coolGray(){return pc({version:"v3.0",from:"coolGray",to:"gray"}),this.gray},get blueGray(){return pc({version:"v3.0",from:"blueGray",to:"slate"}),this.slate}}});var R2=me(cv=>{"use strict";Object.defineProperty(cv,"__esModule",{value:!0});Object.defineProperty(cv,"defaults",{enumerable:!0,get:function(){return hJ}});function hJ(e,...t){for(let o of t){for(let r in o){var n;!(e==null||(n=e.hasOwnProperty)===null||n===void 0)&&n.call(e,r)||(e[r]=o[r])}for(let r of Object.getOwnPropertySymbols(o)){var i;!(e==null||(i=e.hasOwnProperty)===null||i===void 0)&&i.call(e,r)||(e[r]=o[r])}}return e}});var U2=me(pv=>{"use strict";Object.defineProperty(pv,"__esModule",{value:!0});Object.defineProperty(pv,"normalizeConfig",{enumerable:!0,get:function(){return bJ}});var mJ=Ua(),Zo=yJ(Ba());function B2(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,n=new WeakMap;return(B2=function(i){return i?n:t})(e)}function yJ(e,t){if(!t&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var n=B2(t);if(n&&n.has(e))return n.get(e);var i={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if(r!=="default"&&Object.prototype.hasOwnProperty.call(e,r)){var u=o?Object.getOwnPropertyDescriptor(e,r):null;u&&(u.get||u.set)?Object.defineProperty(i,r,u):i[r]=e[r]}return i.default=e,n&&n.set(e,i),i}function bJ(e){if((()=>{if(e.purge||!e.content||!Array.isArray(e.content)&&!(typeof e.content=="object"&&e.content!==null))return!1;if(Array.isArray(e.content))return e.content.every(i=>typeof i=="string"?!0:!(typeof(i==null?void 0:i.raw)!="string"||i!=null&&i.extension&&typeof(i==null?void 0:i.extension)!="string"));if(typeof e.content=="object"&&e.content!==null){if(Object.keys(e.content).some(i=>!["files","relative","extract","transform"].includes(i)))return!1;if(Array.isArray(e.content.files)){if(!e.content.files.every(i=>typeof i=="string"?!0:!(typeof(i==null?void 0:i.raw)!="string"||i!=null&&i.extension&&typeof(i==null?void 0:i.extension)!="string")))return!1;if(typeof e.content.extract=="object"){for(let i of Object.values(e.content.extract))if(typeof i!="function")return!1}else if(!(e.content.extract===void 0||typeof e.content.extract=="function"))return!1;if(typeof e.content.transform=="object"){for(let i of Object.values(e.content.transform))if(typeof i!="function")return!1}else if(!(e.content.transform===void 0||typeof e.content.transform=="function"))return!1;if(typeof e.content.relative!="boolean"&&typeof e.content.relative<"u")return!1}return!0}return!1})()||Zo.default.warn("purge-deprecation",["The `purge`/`content` options have changed in Tailwind CSS v3.0.","Update your configuration file to eliminate this warning.","https://tailwindcss.com/docs/upgrade-guide#configure-content-sources"]),e.safelist=(()=>{var i;let{content:o,purge:r,safelist:u}=e;return Array.isArray(u)?u:Array.isArray(o==null?void 0:o.safelist)?o.safelist:Array.isArray(r==null?void 0:r.safelist)?r.safelist:Array.isArray(r==null||(i=r.options)===null||i===void 0?void 0:i.safelist)?r.options.safelist:[]})(),e.blocklist=(()=>{let{blocklist:i}=e;if(Array.isArray(i)){if(i.every(o=>typeof o=="string"))return i;Zo.default.warn("blocklist-invalid",["The `blocklist` option must be an array of strings.","https://tailwindcss.com/docs/content-configuration#discarding-classes"])}return[]})(),typeof e.prefix=="function")Zo.default.warn("prefix-function",["As of Tailwind CSS v3.0, `prefix` cannot be a function.","Update `prefix` in your configuration to be a string to eliminate this warning.","https://tailwindcss.com/docs/upgrade-guide#prefix-cannot-be-a-function"]),e.prefix="";else{var n;e.prefix=(n=e.prefix)!==null&&n!==void 0?n:""}e.content={relative:(()=>{let{content:i}=e;return i!=null&&i.relative?i.relative:(0,mJ.flagEnabled)(e,"relativeContentPathsByDefault")})(),files:(()=>{let{content:i,purge:o}=e;return Array.isArray(o)?o:Array.isArray(o==null?void 0:o.content)?o.content:Array.isArray(i)?i:Array.isArray(i==null?void 0:i.content)?i.content:Array.isArray(i==null?void 0:i.files)?i.files:[]})(),extract:(()=>{let i=(()=>{var u,a,m,d,s,l,f,p,h,y;return!((u=e.purge)===null||u===void 0)&&u.extract?e.purge.extract:!((a=e.content)===null||a===void 0)&&a.extract?e.content.extract:!((m=e.purge)===null||m===void 0||(d=m.extract)===null||d===void 0)&&d.DEFAULT?e.purge.extract.DEFAULT:!((s=e.content)===null||s===void 0||(l=s.extract)===null||l===void 0)&&l.DEFAULT?e.content.extract.DEFAULT:!((f=e.purge)===null||f===void 0||(p=f.options)===null||p===void 0)&&p.extractors?e.purge.options.extractors:!((h=e.content)===null||h===void 0||(y=h.options)===null||y===void 0)&&y.extractors?e.content.options.extractors:{}})(),o={},r=(()=>{var u,a,m,d;if(!((u=e.purge)===null||u===void 0||(a=u.options)===null||a===void 0)&&a.defaultExtractor)return e.purge.options.defaultExtractor;if(!((m=e.content)===null||m===void 0||(d=m.options)===null||d===void 0)&&d.defaultExtractor)return e.content.options.defaultExtractor})();if(r!==void 0&&(o.DEFAULT=r),typeof i=="function")o.DEFAULT=i;else if(Array.isArray(i))for(let{extensions:u,extractor:a}of i??[])for(let m of u)o[m]=a;else typeof i=="object"&&i!==null&&Object.assign(o,i);return o})(),transform:(()=>{let i=(()=>{var r,u,a,m,d,s;return!((r=e.purge)===null||r===void 0)&&r.transform?e.purge.transform:!((u=e.content)===null||u===void 0)&&u.transform?e.content.transform:!((a=e.purge)===null||a===void 0||(m=a.transform)===null||m===void 0)&&m.DEFAULT?e.purge.transform.DEFAULT:!((d=e.content)===null||d===void 0||(s=d.transform)===null||s===void 0)&&s.DEFAULT?e.content.transform.DEFAULT:{}})(),o={};return typeof i=="function"&&(o.DEFAULT=i),typeof i=="object"&&i!==null&&Object.assign(o,i),o})()};for(let i of e.content.files)if(typeof i=="string"&&/{([^,]*?)}/g.test(i)){Zo.default.warn("invalid-glob-braces",[`The glob pattern ${(0,Zo.dim)(i)} in your Tailwind CSS configuration is invalid.`,`Update it to ${(0,Zo.dim)(i.replace(/{([^,]*?)}/g,"$1"))} to silence this warning.`]);break}return e}});var $2=me(fv=>{"use strict";Object.defineProperty(fv,"__esModule",{value:!0});Object.defineProperty(fv,"cloneDeep",{enumerable:!0,get:function(){return dv}});function dv(e){return Array.isArray(e)?e.map(t=>dv(t)):typeof e=="object"&&e!==null?Object.fromEntries(Object.entries(e).map(([t,n])=>[t,dv(n)])):e}});var z2=me(mv=>{"use strict";Object.defineProperty(mv,"__esModule",{value:!0});Object.defineProperty(mv,"default",{enumerable:!0,get:function(){return jJ}});var gJ=rl(Id()),vJ=rl(j2()),TJ=rl(L2()),EJ=rl(M2()),W2=R2(),V2=hb(),SJ=U2(),el=rl(Io()),xJ=$2(),_J=Nd(),wJ=kd(),CJ=rl(ib());function rl(e){return e&&e.__esModule?e:{default:e}}function tl(e){return typeof e=="function"}function dc(e,...t){let n=t.pop();for(let i of t)for(let o in i){let r=n(e[o],i[o]);r===void 0?(0,el.default)(e[o])&&(0,el.default)(i[o])?e[o]=dc({},e[o],i[o],n):e[o]=i[o]:e[o]=r}return e}var hv={colors:EJ.default,negative(e){return Object.keys(e).filter(t=>e[t]!=="0").reduce((t,n)=>{let i=(0,gJ.default)(e[n]);return i!==void 0&&(t[`-${n}`]=i),t},{})},breakpoints(e){return Object.keys(e).filter(t=>typeof e[t]=="string").reduce((t,n)=>({...t,[`screen-${n}`]:e[n]}),{})}};function AJ(e,...t){return tl(e)?e(...t):e}function PJ(e){return e.reduce((t,{extend:n})=>dc(t,n,(i,o)=>i===void 0?[o]:Array.isArray(i)?[o,...i]:[o,i]),{})}function kJ(e){return{...e.reduce((t,n)=>(0,W2.defaults)(t,n),{}),extend:PJ(e)}}function q2(e,t){if(Array.isArray(e)&&(0,el.default)(e[0]))return e.concat(t);if(Array.isArray(t)&&(0,el.default)(t[0])&&(0,el.default)(e))return[e,...t];if(Array.isArray(t))return t}function DJ({extend:e,...t}){return dc(t,e,(n,i)=>!tl(n)&&!i.some(tl)?dc({},n,...i,q2):(o,r)=>dc({},...[n,...i].map(u=>AJ(u,o,r)),q2))}function*IJ(e){let t=(0,V2.toPath)(e);if(t.length===0||(yield t,Array.isArray(e)))return;let n=/^(.*?)\s*\/\s*([^/]+)$/,i=e.match(n);if(i!==null){let[,o,r]=i,u=(0,V2.toPath)(o);u.alpha=r,yield u}}function OJ(e){let t=(n,i)=>{for(let o of IJ(n)){let r=0,u=e;for(;u!=null&&r<o.length;)u=u[o[r++]],u=tl(u)&&(o.alpha===void 0||r<=o.length-1)?u(t,hv):u;if(u!==void 0){if(o.alpha!==void 0){let a=(0,_J.parseColorFormat)(u);return(0,wJ.withAlphaValue)(a,o.alpha,(0,CJ.default)(a))}return(0,el.default)(u)?(0,xJ.cloneDeep)(u):u}}return i};return Object.assign(t,{theme:t,...hv}),Object.keys(e).reduce((n,i)=>(n[i]=tl(e[i])?e[i](t,hv):e[i],n),{})}function K2(e){let t=[];return e.forEach(n=>{t=[...t,n];var i;let o=(i=n==null?void 0:n.plugins)!==null&&i!==void 0?i:[];o.length!==0&&o.forEach(r=>{r.__isOptionsFunction&&(r=r());var u;t=[...t,...K2([(u=r==null?void 0:r.config)!==null&&u!==void 0?u:{}])]})}),t}function NJ(e){return[...e].reduceRight((n,i)=>tl(i)?i({corePlugins:n}):(0,TJ.default)(i,n),vJ.default)}function FJ(e){return[...e].reduceRight((n,i)=>[...n,...i],[])}function jJ(e){let t=[...K2(e),{prefix:"",important:!1,separator:":"}];var n,i;return(0,SJ.normalizeConfig)((0,W2.defaults)({theme:OJ(DJ(kJ(t.map(o=>(n=o==null?void 0:o.theme)!==null&&n!==void 0?n:{})))),corePlugins:NJ(t.map(o=>o.corePlugins)),plugins:FJ(e.map(o=>(i=o==null?void 0:o.plugins)!==null&&i!==void 0?i:[]))},...t))}});var H2=me((Nre,G2)=>{G2.exports={content:[],presets:[],darkMode:"media",theme:{accentColor:({theme:e})=>({...e("colors"),auto:"auto"}),animation:{none:"none",spin:"spin 1s linear infinite",ping:"ping 1s cubic-bezier(0, 0, 0.2, 1) infinite",pulse:"pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite",bounce:"bounce 1s infinite"},aria:{busy:'busy="true"',checked:'checked="true"',disabled:'disabled="true"',expanded:'expanded="true"',hidden:'hidden="true"',pressed:'pressed="true"',readonly:'readonly="true"',required:'required="true"',selected:'selected="true"'},aspectRatio:{auto:"auto",square:"1 / 1",video:"16 / 9"},backdropBlur:({theme:e})=>e("blur"),backdropBrightness:({theme:e})=>e("brightness"),backdropContrast:({theme:e})=>e("contrast"),backdropGrayscale:({theme:e})=>e("grayscale"),backdropHueRotate:({theme:e})=>e("hueRotate"),backdropInvert:({theme:e})=>e("invert"),backdropOpacity:({theme:e})=>e("opacity"),backdropSaturate:({theme:e})=>e("saturate"),backdropSepia:({theme:e})=>e("sepia"),backgroundColor:({theme:e})=>e("colors"),backgroundImage:{none:"none","gradient-to-t":"linear-gradient(to top, var(--tw-gradient-stops))","gradient-to-tr":"linear-gradient(to top right, var(--tw-gradient-stops))","gradient-to-r":"linear-gradient(to right, var(--tw-gradient-stops))","gradient-to-br":"linear-gradient(to bottom right, var(--tw-gradient-stops))","gradient-to-b":"linear-gradient(to bottom, var(--tw-gradient-stops))","gradient-to-bl":"linear-gradient(to bottom left, var(--tw-gradient-stops))","gradient-to-l":"linear-gradient(to left, var(--tw-gradient-stops))","gradient-to-tl":"linear-gradient(to top left, var(--tw-gradient-stops))"},backgroundOpacity:({theme:e})=>e("opacity"),backgroundPosition:{bottom:"bottom",center:"center",left:"left","left-bottom":"left bottom","left-top":"left top",right:"right","right-bottom":"right bottom","right-top":"right top",top:"top"},backgroundSize:{auto:"auto",cover:"cover",contain:"contain"},blur:{0:"0",none:"0",sm:"4px",DEFAULT:"8px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},borderColor:({theme:e})=>({...e("colors"),DEFAULT:e("colors.gray.200","currentColor")}),borderOpacity:({theme:e})=>e("opacity"),borderRadius:{none:"0px",sm:"0.125rem",DEFAULT:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},borderSpacing:({theme:e})=>({...e("spacing")}),borderWidth:{DEFAULT:"1px",0:"0px",2:"2px",4:"4px",8:"8px"},boxShadow:{sm:"0 1px 2px 0 rgb(0 0 0 / 0.05)",DEFAULT:"0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)",md:"0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)",lg:"0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)",xl:"0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)","2xl":"0 25px 50px -12px rgb(0 0 0 / 0.25)",inner:"inset 0 2px 4px 0 rgb(0 0 0 / 0.05)",none:"none"},boxShadowColor:({theme:e})=>e("colors"),brightness:{0:"0",50:".5",75:".75",90:".9",95:".95",100:"1",105:"1.05",110:"1.1",125:"1.25",150:"1.5",200:"2"},caretColor:({theme:e})=>e("colors"),colors:({colors:e})=>({inherit:e.inherit,current:e.current,transparent:e.transparent,black:e.black,white:e.white,slate:e.slate,gray:e.gray,zinc:e.zinc,neutral:e.neutral,stone:e.stone,red:e.red,orange:e.orange,amber:e.amber,yellow:e.yellow,lime:e.lime,green:e.green,emerald:e.emerald,teal:e.teal,cyan:e.cyan,sky:e.sky,blue:e.blue,indigo:e.indigo,violet:e.violet,purple:e.purple,fuchsia:e.fuchsia,pink:e.pink,rose:e.rose}),columns:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12","3xs":"16rem","2xs":"18rem",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem"},container:{},content:{none:"none"},contrast:{0:"0",50:".5",75:".75",100:"1",125:"1.25",150:"1.5",200:"2"},cursor:{auto:"auto",default:"default",pointer:"pointer",wait:"wait",text:"text",move:"move",help:"help","not-allowed":"not-allowed",none:"none","context-menu":"context-menu",progress:"progress",cell:"cell",crosshair:"crosshair","vertical-text":"vertical-text",alias:"alias",copy:"copy","no-drop":"no-drop",grab:"grab",grabbing:"grabbing","all-scroll":"all-scroll","col-resize":"col-resize","row-resize":"row-resize","n-resize":"n-resize","e-resize":"e-resize","s-resize":"s-resize","w-resize":"w-resize","ne-resize":"ne-resize","nw-resize":"nw-resize","se-resize":"se-resize","sw-resize":"sw-resize","ew-resize":"ew-resize","ns-resize":"ns-resize","nesw-resize":"nesw-resize","nwse-resize":"nwse-resize","zoom-in":"zoom-in","zoom-out":"zoom-out"},divideColor:({theme:e})=>e("borderColor"),divideOpacity:({theme:e})=>e("borderOpacity"),divideWidth:({theme:e})=>e("borderWidth"),dropShadow:{sm:"0 1px 1px rgb(0 0 0 / 0.05)",DEFAULT:["0 1px 2px rgb(0 0 0 / 0.1)","0 1px 1px rgb(0 0 0 / 0.06)"],md:["0 4px 3px rgb(0 0 0 / 0.07)","0 2px 2px rgb(0 0 0 / 0.06)"],lg:["0 10px 8px rgb(0 0 0 / 0.04)","0 4px 3px rgb(0 0 0 / 0.1)"],xl:["0 20px 13px rgb(0 0 0 / 0.03)","0 8px 5px rgb(0 0 0 / 0.08)"],"2xl":"0 25px 25px rgb(0 0 0 / 0.15)",none:"0 0 #0000"},fill:({theme:e})=>({none:"none",...e("colors")}),flex:{1:"1 1 0%",auto:"1 1 auto",initial:"0 1 auto",none:"none"},flexBasis:({theme:e})=>({auto:"auto",...e("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%","1/12":"8.333333%","2/12":"16.666667%","3/12":"25%","4/12":"33.333333%","5/12":"41.666667%","6/12":"50%","7/12":"58.333333%","8/12":"66.666667%","9/12":"75%","10/12":"83.333333%","11/12":"91.666667%",full:"100%"}),flexGrow:{0:"0",DEFAULT:"1"},flexShrink:{0:"0",DEFAULT:"1"},fontFamily:{sans:["ui-sans-serif","system-ui","sans-serif",'"Apple Color Emoji"','"Segoe UI Emoji"','"Segoe UI Symbol"','"Noto Color Emoji"'],serif:["ui-serif","Georgia","Cambria",'"Times New Roman"',"Times","serif"],mono:["ui-monospace","SFMono-Regular","Menlo","Monaco","Consolas",'"Liberation Mono"','"Courier New"',"monospace"]},fontSize:{xs:["0.75rem",{lineHeight:"1rem"}],sm:["0.875rem",{lineHeight:"1.25rem"}],base:["1rem",{lineHeight:"1.5rem"}],lg:["1.125rem",{lineHeight:"1.75rem"}],xl:["1.25rem",{lineHeight:"1.75rem"}],"2xl":["1.5rem",{lineHeight:"2rem"}],"3xl":["1.875rem",{lineHeight:"2.25rem"}],"4xl":["2.25rem",{lineHeight:"2.5rem"}],"5xl":["3rem",{lineHeight:"1"}],"6xl":["3.75rem",{lineHeight:"1"}],"7xl":["4.5rem",{lineHeight:"1"}],"8xl":["6rem",{lineHeight:"1"}],"9xl":["8rem",{lineHeight:"1"}]},fontWeight:{thin:"100",extralight:"200",light:"300",normal:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},gap:({theme:e})=>e("spacing"),gradientColorStops:({theme:e})=>e("colors"),gradientColorStopPositions:{"0%":"0%","5%":"5%","10%":"10%","15%":"15%","20%":"20%","25%":"25%","30%":"30%","35%":"35%","40%":"40%","45%":"45%","50%":"50%","55%":"55%","60%":"60%","65%":"65%","70%":"70%","75%":"75%","80%":"80%","85%":"85%","90%":"90%","95%":"95%","100%":"100%"},grayscale:{0:"0",DEFAULT:"100%"},gridAutoColumns:{auto:"auto",min:"min-content",max:"max-content",fr:"minmax(0, 1fr)"},gridAutoRows:{auto:"auto",min:"min-content",max:"max-content",fr:"minmax(0, 1fr)"},gridColumn:{auto:"auto","span-1":"span 1 / span 1","span-2":"span 2 / span 2","span-3":"span 3 / span 3","span-4":"span 4 / span 4","span-5":"span 5 / span 5","span-6":"span 6 / span 6","span-7":"span 7 / span 7","span-8":"span 8 / span 8","span-9":"span 9 / span 9","span-10":"span 10 / span 10","span-11":"span 11 / span 11","span-12":"span 12 / span 12","span-full":"1 / -1"},gridColumnEnd:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13"},gridColumnStart:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13"},gridRow:{auto:"auto","span-1":"span 1 / span 1","span-2":"span 2 / span 2","span-3":"span 3 / span 3","span-4":"span 4 / span 4","span-5":"span 5 / span 5","span-6":"span 6 / span 6","span-7":"span 7 / span 7","span-8":"span 8 / span 8","span-9":"span 9 / span 9","span-10":"span 10 / span 10","span-11":"span 11 / span 11","span-12":"span 12 / span 12","span-full":"1 / -1"},gridRowEnd:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13"},gridRowStart:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13"},gridTemplateColumns:{none:"none",subgrid:"subgrid",1:"repeat(1, minmax(0, 1fr))",2:"repeat(2, minmax(0, 1fr))",3:"repeat(3, minmax(0, 1fr))",4:"repeat(4, minmax(0, 1fr))",5:"repeat(5, minmax(0, 1fr))",6:"repeat(6, minmax(0, 1fr))",7:"repeat(7, minmax(0, 1fr))",8:"repeat(8, minmax(0, 1fr))",9:"repeat(9, minmax(0, 1fr))",10:"repeat(10, minmax(0, 1fr))",11:"repeat(11, minmax(0, 1fr))",12:"repeat(12, minmax(0, 1fr))"},gridTemplateRows:{none:"none",subgrid:"subgrid",1:"repeat(1, minmax(0, 1fr))",2:"repeat(2, minmax(0, 1fr))",3:"repeat(3, minmax(0, 1fr))",4:"repeat(4, minmax(0, 1fr))",5:"repeat(5, minmax(0, 1fr))",6:"repeat(6, minmax(0, 1fr))",7:"repeat(7, minmax(0, 1fr))",8:"repeat(8, minmax(0, 1fr))",9:"repeat(9, minmax(0, 1fr))",10:"repeat(10, minmax(0, 1fr))",11:"repeat(11, minmax(0, 1fr))",12:"repeat(12, minmax(0, 1fr))"},height:({theme:e})=>({auto:"auto",...e("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%",full:"100%",screen:"100vh",svh:"100svh",lvh:"100lvh",dvh:"100dvh",min:"min-content",max:"max-content",fit:"fit-content"}),hueRotate:{0:"0deg",15:"15deg",30:"30deg",60:"60deg",90:"90deg",180:"180deg"},inset:({theme:e})=>({auto:"auto",...e("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%",full:"100%"}),invert:{0:"0",DEFAULT:"100%"},keyframes:{spin:{to:{transform:"rotate(360deg)"}},ping:{"75%, 100%":{transform:"scale(2)",opacity:"0"}},pulse:{"50%":{opacity:".5"}},bounce:{"0%, 100%":{transform:"translateY(-25%)",animationTimingFunction:"cubic-bezier(0.8,0,1,1)"},"50%":{transform:"none",animationTimingFunction:"cubic-bezier(0,0,0.2,1)"}}},letterSpacing:{tighter:"-0.05em",tight:"-0.025em",normal:"0em",wide:"0.025em",wider:"0.05em",widest:"0.1em"},lineHeight:{none:"1",tight:"1.25",snug:"1.375",normal:"1.5",relaxed:"1.625",loose:"2",3:".75rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem"},listStyleType:{none:"none",disc:"disc",decimal:"decimal"},listStyleImage:{none:"none"},margin:({theme:e})=>({auto:"auto",...e("spacing")}),lineClamp:{1:"1",2:"2",3:"3",4:"4",5:"5",6:"6"},maxHeight:({theme:e})=>({...e("spacing"),none:"none",full:"100%",screen:"100vh",svh:"100svh",lvh:"100lvh",dvh:"100dvh",min:"min-content",max:"max-content",fit:"fit-content"}),maxWidth:({theme:e,breakpoints:t})=>({...e("spacing"),none:"none",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem",full:"100%",min:"min-content",max:"max-content",fit:"fit-content",prose:"65ch",...t(e("screens"))}),minHeight:({theme:e})=>({...e("spacing"),full:"100%",screen:"100vh",svh:"100svh",lvh:"100lvh",dvh:"100dvh",min:"min-content",max:"max-content",fit:"fit-content"}),minWidth:({theme:e})=>({...e("spacing"),full:"100%",min:"min-content",max:"max-content",fit:"fit-content"}),objectPosition:{bottom:"bottom",center:"center",left:"left","left-bottom":"left bottom","left-top":"left top",right:"right","right-bottom":"right bottom","right-top":"right top",top:"top"},opacity:{0:"0",5:"0.05",10:"0.1",15:"0.15",20:"0.2",25:"0.25",30:"0.3",35:"0.35",40:"0.4",45:"0.45",50:"0.5",55:"0.55",60:"0.6",65:"0.65",70:"0.7",75:"0.75",80:"0.8",85:"0.85",90:"0.9",95:"0.95",100:"1"},order:{first:"-9999",last:"9999",none:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12"},outlineColor:({theme:e})=>e("colors"),outlineOffset:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},outlineWidth:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},padding:({theme:e})=>e("spacing"),placeholderColor:({theme:e})=>e("colors"),placeholderOpacity:({theme:e})=>e("opacity"),ringColor:({theme:e})=>({DEFAULT:e("colors.blue.500","#3b82f6"),...e("colors")}),ringOffsetColor:({theme:e})=>e("colors"),ringOffsetWidth:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},ringOpacity:({theme:e})=>({DEFAULT:"0.5",...e("opacity")}),ringWidth:{DEFAULT:"3px",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},rotate:{0:"0deg",1:"1deg",2:"2deg",3:"3deg",6:"6deg",12:"12deg",45:"45deg",90:"90deg",180:"180deg"},saturate:{0:"0",50:".5",100:"1",150:"1.5",200:"2"},scale:{0:"0",50:".5",75:".75",90:".9",95:".95",100:"1",105:"1.05",110:"1.1",125:"1.25",150:"1.5"},screens:{sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"},scrollMargin:({theme:e})=>({...e("spacing")}),scrollPadding:({theme:e})=>e("spacing"),sepia:{0:"0",DEFAULT:"100%"},skew:{0:"0deg",1:"1deg",2:"2deg",3:"3deg",6:"6deg",12:"12deg"},space:({theme:e})=>({...e("spacing")}),spacing:{px:"1px",0:"0px",.5:"0.125rem",1:"0.25rem",1.5:"0.375rem",2:"0.5rem",2.5:"0.625rem",3:"0.75rem",3.5:"0.875rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem",11:"2.75rem",12:"3rem",14:"3.5rem",16:"4rem",20:"5rem",24:"6rem",28:"7rem",32:"8rem",36:"9rem",40:"10rem",44:"11rem",48:"12rem",52:"13rem",56:"14rem",60:"15rem",64:"16rem",72:"18rem",80:"20rem",96:"24rem"},stroke:({theme:e})=>({none:"none",...e("colors")}),strokeWidth:{0:"0",1:"1",2:"2"},supports:{},data:{},textColor:({theme:e})=>e("colors"),textDecorationColor:({theme:e})=>e("colors"),textDecorationThickness:{auto:"auto","from-font":"from-font",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},textIndent:({theme:e})=>({...e("spacing")}),textOpacity:({theme:e})=>e("opacity"),textUnderlineOffset:{auto:"auto",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},transformOrigin:{center:"center",top:"top","top-right":"top right",right:"right","bottom-right":"bottom right",bottom:"bottom","bottom-left":"bottom left",left:"left","top-left":"top left"},transitionDelay:{0:"0s",75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms"},transitionDuration:{DEFAULT:"150ms",0:"0s",75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms"},transitionProperty:{none:"none",all:"all",DEFAULT:"color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter",colors:"color, background-color, border-color, text-decoration-color, fill, stroke",opacity:"opacity",shadow:"box-shadow",transform:"transform"},transitionTimingFunction:{DEFAULT:"cubic-bezier(0.4, 0, 0.2, 1)",linear:"linear",in:"cubic-bezier(0.4, 0, 1, 1)",out:"cubic-bezier(0, 0, 0.2, 1)","in-out":"cubic-bezier(0.4, 0, 0.2, 1)"},translate:({theme:e})=>({...e("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%",full:"100%"}),size:({theme:e})=>({auto:"auto",...e("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%","1/12":"8.333333%","2/12":"16.666667%","3/12":"25%","4/12":"33.333333%","5/12":"41.666667%","6/12":"50%","7/12":"58.333333%","8/12":"66.666667%","9/12":"75%","10/12":"83.333333%","11/12":"91.666667%",full:"100%",min:"min-content",max:"max-content",fit:"fit-content"}),width:({theme:e})=>({auto:"auto",...e("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%","1/12":"8.333333%","2/12":"16.666667%","3/12":"25%","4/12":"33.333333%","5/12":"41.666667%","6/12":"50%","7/12":"58.333333%","8/12":"66.666667%","9/12":"75%","10/12":"83.333333%","11/12":"91.666667%",full:"100%",screen:"100vw",svw:"100svw",lvw:"100lvw",dvw:"100dvw",min:"min-content",max:"max-content",fit:"fit-content"}),willChange:{auto:"auto",scroll:"scroll-position",contents:"contents",transform:"transform"},zIndex:{auto:"auto",0:"0",10:"10",20:"20",30:"30",40:"40",50:"50"}},plugins:[]}});var J2=me(yv=>{"use strict";Object.defineProperty(yv,"__esModule",{value:!0});Object.defineProperty(yv,"default",{enumerable:!0,get:function(){return X2}});var LJ=RJ(H2()),MJ=Ua();function RJ(e){return e&&e.__esModule?e:{default:e}}function X2(e){var t;let n=((t=e==null?void 0:e.presets)!==null&&t!==void 0?t:[LJ.default]).slice().reverse().flatMap(r=>X2(r instanceof Function?r():r)),i={respectDefaultRingColorOpacity:{theme:{ringColor:({theme:r})=>({DEFAULT:"#3b82f67f",...r("colors")})}},disableColorOpacityUtilitiesByDefault:{corePlugins:{backgroundOpacity:!1,borderOpacity:!1,divideOpacity:!1,placeholderOpacity:!1,ringOpacity:!1,textOpacity:!1}}},o=Object.keys(i).filter(r=>(0,MJ.flagEnabled)(e,r)).map(r=>i[r]);return[e,...o,...n]}});var Q2=me(bv=>{"use strict";Object.defineProperty(bv,"__esModule",{value:!0});Object.defineProperty(bv,"default",{enumerable:!0,get:function(){return $J}});var BJ=Y2(z2()),UJ=Y2(J2());function Y2(e){return e&&e.__esModule?e:{default:e}}function $J(...e){let[,...t]=(0,UJ.default)(e[0]);return(0,BJ.default)([...e,...t])}});var eO=me((Lre,Z2)=>{var gv=Q2();Z2.exports=(gv.__esModule?gv:{default:gv}).default});var _O=Fi(Qi()),wO=Fi(nE()),CO=Fi(lE()),Wf=Fi(bS());import*as AO from"prettier/plugins/angular";import*as PO from"prettier/plugins/babel";var aO=Fi(IS());import*as sO from"fs/promises";import{createRequire as VJ}from"module";import*as ti from"path";import{dirname as OS,resolve as NS}from"path";import{readdirSync as OM,statSync as NM}from"fs";function FS(e,t){let n=NS(".",e),i;for(NM(n).isDirectory()||(n=OS(n));;){if(i=t(n,OM(n)),i)return NS(n,i);if(n=OS(i=n),i===n)break}}var Br=Fi(Bi(),1),D_=Br.default,MQ=Br.default.stringify,RQ=Br.default.fromJSON,BQ=Br.default.plugin,UQ=Br.default.parse,$Q=Br.default.list,VQ=Br.default.document,qQ=Br.default.comment,WQ=Br.default.atRule,KQ=Br.default.rule,zQ=Br.default.decl,GQ=Br.default.root,HQ=Br.default.CssSyntaxError,XQ=Br.default.Declaration,JQ=Br.default.Container,YQ=Br.default.Processor,QQ=Br.default.Document,ZQ=Br.default.Comment,eZ=Br.default.Warning,tZ=Br.default.AtRule,rZ=Br.default.Result,nZ=Br.default.Input,iZ=Br.default.Rule,sZ=Br.default.Root,aZ=Br.default.Node;var oO=Fi(nC()),lO=Fi(Ib()),uO=Fi(Rd()),cO=Fi(F2()),pO=Fi(eO());import qJ from"prettier";function vv(e){let t=new Map;return{get(n){if(t.has(n)){let i=t.get(n);if(i.expiration>new Date)return i.value}},set(n,i){let o=new Date;o.setMilliseconds(o.getMilliseconds()+e),t.set(n,{value:i,expiration:o})}}}var dO=VJ(import.meta.url),tO=new Map,rO=new Map,nO=vv(1e4),iO=vv(1e4);async function fO(e){let t=`${e.filepath}:${e.tailwindConfig??""}:${e.tailwindEntryPoint??""}`,n=await KJ(e),i=tO.get(t);i===void 0&&(i=HJ(e,n),tO.set(t,i));let o=rO.get(t);o===void 0&&(o=XJ(e,n),rO.set(t,o));let r=`${i}:${o}`,u=nO.get(r);if(u)return u;let a=await zJ(n,i,o);return nO.set(r,a),a}async function WJ(e){let t=iO.get(e.filepath);if(t!==void 0)return t;let n=await qJ.resolveConfigFile(e.filepath);return iO.set(e.filepath,n),n}async function KJ(e){let t=await WJ(e);return e.tailwindConfig?t?ti.dirname(t):process.cwd():e.tailwindEntryPoint?t?ti.dirname(t):process.cwd():t?ti.dirname(t):e.filepath?ti.dirname(e.filepath):process.cwd()}async function zJ(e,t,n){let i=uO.createContext,o=lO.generateRules,r=pO.default,u=cO.default,a={};try{let d=dO.resolve("tailwindcss/package.json",{paths:[e]}),s=ti.dirname(d);try{let l=await GJ(e,s,n);if(l)return l}catch{}r=yt(ti.join(s,"resolveConfig")),i=yt(ti.join(s,"lib/lib/setupContextUtils")).createContext,o=yt(ti.join(s,"lib/lib/generateRules")).generateRules,u=yt(ti.join(s,"loadConfig"))}catch{}if(t){(0,aO.default)(t);let d=u(t);a=d.default??d}return a.content=["no-op"],{context:i(r(a)),generateRules:o}}async function GJ(e,t,n){let o=await import(dO.resolve("tailwindcss",{paths:[e]}));if(!o.__unstable__loadDesignSystem)return null;n=n??`${t}/theme.css`;let r=await sO.readFile(n,"utf-8"),a=await D_([(0,oO.default)()]).process(r,{from:n}),m=o.__unstable__loadDesignSystem(a.css);return{context:{getClassOrder:d=>m.getClassOrder(d)},generateRules:()=>[]}}function HJ(e,t){if(e.tailwindConfig)return ti.resolve(t,e.tailwindConfig);let n;try{n=FS(t,(i,o)=>{if(o.includes("tailwind.config.js"))return"tailwind.config.js";if(o.includes("tailwind.config.cjs"))return"tailwind.config.cjs";if(o.includes("tailwind.config.mjs"))return"tailwind.config.mjs";if(o.includes("tailwind.config.ts"))return"tailwind.config.ts"})}catch{}return n||null}function XJ(e,t){return e.tailwindEntryPoint?ti.resolve(t,e.tailwindEntryPoint):null}var JJ={tailwindConfig:{since:"0.0.0",type:"string",category:"Tailwind CSS",description:"Path to Tailwind configuration file"},tailwindEntryPoint:{since:"0.0.0",type:"string",category:"Tailwind CSS",description:"Path to the CSS entrypoint in your Tailwind project (v4+)"},tailwindAttributes:{since:"0.3.0",type:"string",array:!0,default:[{value:[]}],category:"Tailwind CSS",description:"List of attributes/props that contain sortable Tailwind classes"},tailwindFunctions:{since:"0.3.0",type:"string",array:!0,default:[{value:[]}],category:"Tailwind CSS",description:"List of functions and tagged templates that contain sortable Tailwind classes"}};function hO(e,t,n){let i=new Set(n.staticAttrs),o=new Set(n.dynamicAttrs),r=new Set(n.functions);for(let u of e.tailwindAttributes??[])t==="vue"&&u.startsWith(":")?i.add(u.slice(1)):t==="vue"&&u.startsWith("v-bind:")?i.add(u.slice(7)):t==="vue"&&u.startsWith("v-")?o.add(u):t==="angular"&&u.startsWith("[")&&u.endsWith("]")?i.add(u.slice(1,-1)):i.add(u);for(let u of i)t==="vue"?(o.add(`:${u}`),o.add(`v-bind:${u}`)):t==="angular"&&o.add(`[${u}]`);for(let u of e.tailwindFunctions??[])r.add(u);return{functions:r,staticAttrs:i,dynamicAttrs:o}}import{createRequire as YJ}from"module";import*as mO from"prettier/plugins/acorn";import*as fc from"prettier/plugins/babel";import*as yO from"prettier/plugins/flow";import*as bO from"prettier/plugins/glimmer";import*as hc from"prettier/plugins/html";import*as gO from"prettier/plugins/meriyah";import*as $f from"prettier/plugins/postcss";import*as vO from"prettier/plugins/typescript";async function nl(e){try{if(createRequire(import.meta.url).resolve(e)){let t=await import(e);return t.default??t}}catch{return{parsers:{},printers:{}}}}async function TO(){let e=await QJ(),t=await ZJ(),n=await eY(),i={...e.parsers,...t.parsers},o={...e.printers,...t.printers};function r(a){try{return YJ.resolve(a)}catch{return null}}function u(a,m,d){let s=r(m);for(let l of a.plugins)if(l.name===m||l.name===s||l.parsers&&d.parsers&&l.parsers==d.parsers)return d;return null}return{parsers:i,printers:o,originalParser(a,m){if(!m.plugins)return i[a];let d={...i[a]};for(let{name:s,mod:l}of n){let f=u(m,s,l);f&&Object.assign(d,f.parsers[a])}return d}}}async function QJ(){return{parsers:{html:hc.parsers.html,glimmer:bO.parsers.glimmer,lwc:hc.parsers.lwc,angular:hc.parsers.angular,vue:hc.parsers.vue,css:$f.parsers.css,scss:$f.parsers.scss,less:$f.parsers.less,babel:fc.parsers.babel,"babel-flow":fc.parsers["babel-flow"],flow:yO.parsers.flow,typescript:vO.parsers.typescript,"babel-ts":fc.parsers["babel-ts"],acorn:mO.parsers.acorn,meriyah:gO.parsers.meriyah,__js_expression:fc.parsers.__js_expression},printers:{}}}async function ZJ(){let[e,t,n,i,o]=await Promise.all([nl("prettier-plugin-astro"),nl("@shopify/prettier-plugin-liquid"),nl("prettier-plugin-marko"),nl("@prettier/plugin-pug"),nl("prettier-plugin-svelte")]);return{parsers:{...e.parsers,...t.parsers,...n.parsers,...i.parsers,...o.parsers},printers:{...o.printers}}}async function eY(){let e=["@ianvs/prettier-plugin-sort-imports","@trivago/prettier-plugin-sort-imports","prettier-plugin-organize-imports","prettier-plugin-css-order","prettier-plugin-import-sort","prettier-plugin-jsdoc","prettier-plugin-organize-attributes","prettier-plugin-style-order","prettier-plugin-sort-imports"];return await Promise.all(e.map(async t=>{let n=await nl(t);return{name:t,mod:n}}))}function SO(e){return(e>0n)-(e<0n)}function EO(e,t){let n=e.tailwindConfig.prefix;return typeof n=="function"?n(t):n+t}function tY(e,{env:t}){var o;let n=new Set([EO(t.context,"group"),EO(t.context,"peer")]),i=[];for(let r of e){let u=((o=t.generateRules(new Set([r]),t.context).sort(([a],[m])=>SO(m-a))[0])==null?void 0:o[0])??null;u===null&&n.has(r)&&(u=t.context.layerOrder.components),i.push([r,u])}return i}function kn(e,{env:t,ignoreFirst:n=!1,ignoreLast:i=!1}){if(typeof e!="string"||e===""||e.includes("{{"))return e;let o="",r=e.split(/([\t\r\f\n ]+)/),u=r.filter((s,l)=>l%2===0),a=r.filter((s,l)=>l%2!==0);u[u.length-1]===""&&u.pop();let m="";n&&(m=`${u.shift()??""}${a.shift()??""}`);let d="";i&&(d=`${a.pop()??""}${u.pop()??""}`),u=Tv(u,{env:t});for(let s=0;s<u.length;s++)o+=`${u[s]}${a[s]??""}`;return m+o+d}function Tv(e,{env:t}){return(t.context.getClassOrder?t.context.getClassOrder(e):tY(e,{env:t})).sort(([,i],[,o])=>i===o?0:i===null?-1:o===null?1:SO(i-o)).map(([i])=>i)}function Fs(e,t){function n(i,o,r,u,a={}){if(typeof t=="function"){if(t(i,o,r,u,a)===!1)return}else if(i.type in t&&t[i.type](i,o,r,u,a)===!1)return;let m=Object.keys(i);for(let d=0;d<m.length;d++){let s=i[m[d]];if(Array.isArray(s))for(let l=0;l<s.length;l++)s[l]!==null&&n(s[l],i,m[d],l,{...a});else typeof(s==null?void 0:s.type)=="string"&&n(s,i,m[d],d,{...a})}}n(e)}var ri=await TO();function rn(e,t,n={}){let i={staticAttrs:new Set(n.staticAttrs??[]),dynamicAttrs:new Set(n.dynamicAttrs??[]),functions:new Set(n.functions??[])};return{...ri.parsers[e],preprocess(o,r){let u=ri.originalParser(e,r);return u.preprocess?u.preprocess(o,r):o},async parse(o,r){let{context:u,generateRules:a}=await fO(r),m=ri.originalParser(e,r);m.astFormat in xO&&(r.printer=xO[m.astFormat]);let d=await m.parse(o,r),s=hO(r,e,i),l=[];return t(d,{env:{context:u,customizations:s,generateRules:a,parsers:{},options:r},changes:l}),e==="svelte"&&(d.changes=l),d}}}function rY(e,t){let n=[AO.parsers.__ng_directive,{parse:t.parsers.__js_expression}],i=[];for(let o of n)try{return o.parse(e,t.parsers,t.options)}catch(r){i.push(r)}console.warn("prettier-plugin-tailwindcss: Unable to parse angular directive"),i.forEach(o=>console.warn(o))}function nY(e,t){let n=rY(e.value,t);n&&Fs(n,{StringLiteral(i){i.value&&(e.value=e.value.slice(0,i.start+1)+kn(i.value,{env:t})+e.value.slice(i.end-1))}})}function kO(e,t){let{functions:n}=t.customizations,i=Wf.parse(`let __prettier_temp__ = ${e.value}`,{parser:PO.parsers["babel-ts"]}),o=!1;_O.visit(i,{visitLiteral(r){if(qf(r.node)&&Vf(r.node,{env:t})){o=!0;let u=r.node.extra.raw[0],a=(0,wO.default)(r.node.value,{quotes:u==="'"?"single":"double"});r.node.value=new String(u+a+u)}this.traverse(r)},visitTemplateLiteral(r){il(r.node,{env:t})&&(o=!0),this.traverse(r)},visitTaggedTemplateExpression(r){Sv(r.node,n)&&il(r.node.quasi,{env:t})&&(o=!0),this.traverse(r)}}),o&&(e.value=Wf.print(i.program.body[0].declarations[0].init).code)}function mc(e,{env:t,changes:n}){let{staticAttrs:i,dynamicAttrs:o}=t.customizations,{parser:r}=t.options;for(let u of e.attrs??[])if(i.has(u.name))u.value=kn(u.value,{env:t});else if(o.has(u.name)){if(!/[`'"]/.test(u.value))continue;r==="angular"?nY(u,t):kO(u,t)}for(let u of e.children??[])mc(u,{env:t,changes:n})}function iY(e,{env:t}){let{staticAttrs:n}=t.customizations;Fs(e,{AttrNode(i,o,r,u,a){n.has(i.name)&&i.value&&(a.sortTextNodes=!0)},TextNode(i,o,r,u,a){if(!a.sortTextNodes)return;let m=(o==null?void 0:o.type)==="ConcatStatement"?{prev:o.parts[u-1],next:o.parts[u+1]}:null;i.chars=kn(i.chars,{env:t,ignoreFirst:(m==null?void 0:m.prev)&&!/^\s/.test(i.chars),ignoreLast:(m==null?void 0:m.next)&&!/\s$/.test(i.chars)})},StringLiteral(i,o,r,u,a){if(!a.sortTextNodes)return;let m=o.type==="SubExpression"&&o.path.original==="concat";i.value=kn(i.value,{env:t,ignoreLast:m&&!/[^\S\r\n]$/.test(i.value)})}})}function sY(e,{env:t}){let{staticAttrs:n}=t.customizations;function i(m){return Array.isArray(m.name)?m.name.every(d=>d.type==="TextNode"&&n.has(d.value)):n.has(m.name)}function o(m){let d=m[0],s=m[m.length-1];return d===s&&(d==='"'||d==="'"||d==="`")}let r=[],u=[];function a(m){for(let d=0;d<m.value.length;d++){let s=m.value[d];s.type==="TextNode"?(s.value=kn(s.value,{env:t,ignoreFirst:d>0&&!/^\s/.test(s.value),ignoreLast:d<m.value.length-1&&!/\s$/.test(s.value)}),u.push({pos:s.position,value:s.value})):(s.type==="LiquidDrop"||s.type==="LiquidVariableOutput")&&typeof s.markup=="object"&&s.markup.type==="LiquidVariable"&&Fs(s.markup.expression,{String(l){let f={...l.position};o(l.source.slice(f.start,f.end))&&(f.start+=1,f.end-=1),l.value=kn(l.value,{env:t}),u.push({pos:f,value:l.value})}})}}Fs(e,{LiquidTag(m){r.push(m)},HtmlElement(m){r.push(m)},AttrSingleQuoted(m){i(m)&&(r.push(m),a(m))},AttrDoubleQuoted(m){i(m)&&(r.push(m),a(m))}}),u=u.sort((m,d)=>m.pos.start-d.pos.start||m.pos.end-d.pos.end);for(let m of u)for(let d of r)d.source=d.source.slice(0,m.pos.start)+m.value+d.source.slice(m.pos.end)}function Vf(e,{env:t}){let n=kn(e.value,{env:t}),i=n!==e.value;if(e.value=n,e.extra){let o=e.extra.raw;e.extra={...e.extra,rawValue:n,raw:o[0]+n+o.slice(-1)}}else{let o=e.raw;e.raw=o[0]+n+o.slice(-1)}return i}function qf(e){return e.type==="StringLiteral"||e.type==="Literal"&&typeof e.value=="string"}function il(e,{env:t}){let n=!1;for(let i=0;i<e.quasis.length;i++){let o=e.quasis[i],r=o.value.raw===o.value.cooked,u=o.value.raw,a=o.value.cooked;o.value.raw=kn(o.value.raw,{env:t,ignoreFirst:i>0&&!/^\s/.test(o.value.raw),ignoreLast:i<e.expressions.length&&!/\s$/.test(o.value.raw)}),o.value.cooked=r?o.value.raw:kn(o.value.cooked,{env:t,ignoreFirst:i>0&&!/^\s/.test(o.value.cooked),ignoreLast:i<e.expressions.length&&!/\s$/.test(o.value.cooked)}),(o.value.raw!==u||o.value.cooked!==a)&&(n=!0)}return n}function Sv(e,t){if(e.tag.type==="Identifier")return t.has(e.tag.name);if(e.tag.type==="MemberExpression"){let n=e.tag.object;for(;n.type==="MemberExpression";)n=n.object;if(n.type==="Identifier")return t.has(n.name)}return!1}function aY(e,t){var n;if(!((n=e.arguments)!=null&&n.length))return!1;if(e.callee.type==="Identifier")return t.has(e.callee.name);if(e.callee.type==="MemberExpression"){let i=e.callee.object;for(;i.type==="MemberExpression";)i=i.object;if(i.type==="Identifier")return t.has(i.name)}return!1}function js(e,{env:t}){let{staticAttrs:n,functions:i}=t.customizations;function o(r){Fs(r,u=>{qf(u)?Vf(u,{env:t}):u.type==="TemplateLiteral"?il(u,{env:t}):u.type==="TaggedTemplateExpression"&&Sv(u,i)&&il(u.quasi,{env:t})})}Fs(e,{JSXAttribute(r){r.value&&n.has(r.name.name)&&(qf(r.value)?Vf(r.value,{env:t}):r.value.type==="JSXExpressionContainer"&&o(r.value))},CallExpression(r){aY(r,i)&&r.arguments.forEach(u=>o(u))},TaggedTemplateExpression(r){Sv(r,i)&&il(r.quasi,{env:t})}})}function Ev(e,{env:t}){e.walk(n=>{n.type==="css-atrule"&&n.name==="apply"&&(n.params=kn(n.params,{env:t,ignoreLast:/\s+(?:!important|#{(['"]*)!important\1})\s*$/.test(n.params)}))})}function DO(e,{env:t,changes:n}){let{staticAttrs:i,dynamicAttrs:o}=t.customizations;if(e.type==="element"||e.type==="custom-element"||e.type==="component")for(let r of e.attributes??[])i.has(r.name)&&r.type==="attribute"&&r.kind==="quoted"?r.value=kn(r.value,{env:t}):o.has(r.name)&&r.type==="attribute"&&r.kind==="expression"&&typeof r.value=="string"&&kO(r,t);for(let r of e.children??[])DO(r,{env:t,changes:n})}function oY(e,{env:t}){let{staticAttrs:n}=t.customizations,i=[e];for(;i.length>0;){let o=i.pop();switch(o.type){case"File":i.push(o.program);break;case"Program":i.push(...o.body);break;case"MarkoTag":i.push(...o.attributes),i.push(o.body);break;case"MarkoTagBody":i.push(...o.body);break;case"MarkoAttribute":if(!n.has(o.name))break;switch(o.value.type){case"ArrayExpression":let r=o.value.elements;for(let u of r)u.type==="StringLiteral"&&(u.value=kn(u.value,{env:t}));break;case"StringLiteral":o.value.value=kn(o.value.value,{env:t});break}break}}}function IO(e,{env:t,changes:n}){let{staticAttrs:i}=t.customizations;for(let o of e.expressions??[])IO(o,{env:t,changes:n});Fs(e,{Attribute(o,r,u,a,m){i.has(o.name.name)&&(m.sortTextNodes=!0)},StringLiteral(o,r,u,a,m){if(!m.sortTextNodes)return;let d=r.type==="BinaryConcatExpression";o.value=kn(o.value,{env:t,ignoreFirst:d&&u==="right"&&!/^[^\S\r\n]/.test(o.value),ignoreLast:d&&u==="left"&&!/[^\S\r\n]$/.test(o.value)})}})}function lY(e,{env:t}){let{staticAttrs:n}=t.customizations;for(let u of e.tokens)u.type==="attribute"&&n.has(u.name)&&(u.val=[u.val.slice(0,1),kn(u.val.slice(1,-1),{env:t}),u.val.slice(-1)].join(""));let i=-1,o=-1,r=[];for(let u=0;u<e.tokens.length;u++)e.tokens[u].type==="class"?(i=i===-1?u:i,o=u):i!==-1&&(r.push([i,o]),i=-1,o=-1);i!==-1&&(r.push([i,o]),i=-1,o=-1);for(let[u,a]of r){let m=e.tokens.slice(u,a+1).map(s=>s.val),d=Tv(m,{env:t});for(let s=u;s<=a;s++)e.tokens[s].val=d[s-u]}}function yc(e,{env:t,changes:n}){var o;let{staticAttrs:i}=t.customizations;for(let r of e.attributes??[])if(!(!i.has(r.name)||r.type!=="Attribute"))for(let u=0;u<r.value.length;u++){let a=r.value[u];if(a.type==="Text"){let m=a.raw===a.data;a.raw=kn(a.raw,{env:t,ignoreFirst:u>0&&!/^\s/.test(a.raw),ignoreLast:u<r.value.length-1&&!/\s$/.test(a.raw)}),a.data=m?a.raw:kn(a.data,{env:t,ignoreFirst:u>0&&!/^\s/.test(a.data),ignoreLast:u<r.value.length-1&&!/\s$/.test(a.data)})}else a.type==="MustacheTag"&&Fs(a.expression,{Literal(m){qf(m)&&Vf(m,{env:t})&&n.push({text:m.raw,loc:m.loc})},TemplateLiteral(m){if(il(m,{env:t}))for(let d of m.quasis)n.push({text:d.value.raw,loc:d.loc})}})}for(let r of e.children??[])yc(r,{env:t,changes:n});if(e.type==="IfBlock")for(let r of((o=e.else)==null?void 0:o.children)??[])yc(r,{env:t,changes:n});if(e.type==="AwaitBlock"){let r=[e.pending,e.then,e.catch];for(let u of r)yc(u,{env:t,changes:n})}e.html&&yc(e.html,{env:t,changes:n})}var xO=function(){let e={};if(ri.printers["svelte-ast"]){let t=function(i,o){if(o.__mutatedOriginalText)return;o.__mutatedOriginalText=!0;let r=i.stack[0].changes;if(r!=null&&r.length){let u=(0,CO.default)(o.originalText);for(let a of r){let m=u.toIndex(a.loc.start.line,a.loc.start.column+1),d=u.toIndex(a.loc.end.line,a.loc.end.column+1);o.originalText=o.originalText.substring(0,m)+a.text+o.originalText.substring(d)}}},n=ri.printers["svelte-ast"];e["svelte-ast"]={...n,print:(i,o,r)=>(t(i,o),ri.printers["svelte-ast"].print(i,o,r)),embed:(i,o)=>(t(i,o),ri.printers["svelte-ast"].embed(i,o))}}return e}(),rne={html:rn("html",mc,{staticAttrs:["class"]}),glimmer:rn("glimmer",iY,{staticAttrs:["class"]}),lwc:rn("lwc",mc,{staticAttrs:["class"]}),angular:rn("angular",mc,{staticAttrs:["class"],dynamicAttrs:["[ngClass]"]}),vue:rn("vue",mc,{staticAttrs:["class"],dynamicAttrs:[":class","v-bind:class"]}),css:rn("css",Ev),scss:rn("scss",Ev),less:rn("less",Ev),babel:rn("babel",js,{staticAttrs:["class","className"]}),"babel-flow":rn("babel-flow",js,{staticAttrs:["class","className"]}),flow:rn("flow",js,{staticAttrs:["class","className"]}),typescript:rn("typescript",js,{staticAttrs:["class","className"]}),"babel-ts":rn("babel-ts",js,{staticAttrs:["class","className"]}),acorn:rn("acorn",js,{staticAttrs:["class","className"]}),meriyah:rn("meriyah",js,{staticAttrs:["class","className"]}),__js_expression:rn("__js_expression",js,{staticAttrs:["class","className"]}),...ri.parsers.svelte?{svelte:rn("svelte",yc,{staticAttrs:["class"]})}:{},...ri.parsers.astro?{astro:rn("astro",DO,{staticAttrs:["class","className"],dynamicAttrs:["class:list","className"]})}:{},...ri.parsers.astroExpressionParser?{astroExpressionParser:rn("astroExpressionParser",js,{staticAttrs:["class"],dynamicAttrs:["class:list"]})}:{},...ri.parsers.marko?{marko:rn("marko",oY,{staticAttrs:["class"]})}:{},...ri.parsers.melody?{melody:rn("melody",IO,{staticAttrs:["class"]})}:{},...ri.parsers.pug?{pug:rn("pug",lY,{staticAttrs:["class"]})}:{},...ri.parsers["liquid-html"]?{"liquid-html":rn("liquid-html",sY,{staticAttrs:["class"]})}:{}};export{JJ as options,rne as parsers,xO as printers};
|
|
/*! Bundled license information:
|
|
|
|
isobject/index.js:
|
|
(*!
|
|
* isobject <https://github.com/jonschlinkert/isobject>
|
|
*
|
|
* Copyright (c) 2014-2015, Jon Schlinkert.
|
|
* Licensed under the MIT License.
|
|
*)
|
|
|
|
line-column/lib/line-column.js:
|
|
(**
|
|
* line-column - Convert efficiently index to/from line-column in a string
|
|
* @module lineColumn
|
|
* @license MIT
|
|
*)
|
|
|
|
cssesc/cssesc.js:
|
|
(*! https://mths.be/cssesc v3.0.0 by @mathias *)
|
|
*/
|